• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dmacvicar / terraform-provider-libvirt
56%
master: 29%

Build:
Build:
LAST BUILD BRANCH: improved_network_ifaces_logs
DEFAULT BRANCH: master
Repo Added 02 Mar 2017 09:08PM UTC
Files 0
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH use-libvirt-fix-tests
branch: use-libvirt-fix-tests
CHANGE BRANCH
x
Reset
  • use-libvirt-fix-tests
  • cloud_init_user_data
  • cpu_features
  • destroy_destroyed_resource
  • disks_from_http_url
  • dmacvicar-git-commit-conventions
  • document_output_count
  • domain-filesystem
  • fix_firmware_test_suse
  • fix_hardcoded_file_pools
  • fix_hardcoded_file_pools_2
  • glide
  • if_modified_since
  • improve-test-coverage-low-hanging-fruits
  • improved_wait_for_leases
  • kernel_initrd
  • keyless-kernel-cmdlines
  • libvirt-stream-usage-ensure-cleanup
  • lowercase_private_funs
  • master
  • more-tests
  • multi_provider_2
  • multi_provider_3
  • network_improvs
  • no_qemu_agent_as_default
  • one_netdev_source_at_a_time
  • revert-354-no_qemu_agent_as_default
  • size_with_backing_volume
  • update_dependencies_1
  • update_libvirt_xml
  • upstream-docs
  • v0.1
  • v0.2
  • v0.4
  • v0.4.1
  • v0.4.2
  • v0.4.3
  • v0.4.4
  • xslt_transform

pending completion
456

push

travis-ci

flavio
Fix broken tests

The tests are failing because travis has an old version of libvirt that
is not happy about the xml we generate.

Unfortunately there's no way to get a more recent version of ubuntu on
travis (it's stuck with trusty!!) and there are not libvirt 2.0
packages for trusty.

This commit fixes the issues in the "inception" way:

  * travis provisions a ubuntu trusty VM as usual
  * the travis/host script does the following steps:
    * installs LXD
    * creates a system container based on the latest release of ubuntu
    * runs the container as privileged one
    * mount the git checkout into the container as read-only mount
      point (it easier than having a RW one)
    * runs the travis/guest script inside of the container:
      * install libvirt + go 1.8
      * run the acceptance tests, save coverage to file
  * on the travis VM:
    * pull the coverage results file from the container
    * send it to coverall

So far everything is working and is a miracle given the container,
based on a more recent version of ubuntu, is using the kernel of the
host, the old ubuntu trusty.

This is just a termporary workaround until either travis updates its
VMs to a more recent release of ubuntu or we switch the project to use
Jenkins with an openSUSE worker.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>

1613 of 2896 relevant lines covered (55.7%)

167.28 hits per line

Relevant lines Covered
Build:
Build:
2896 RELEVANT LINES 1613 COVERED LINES
167.28 HITS PER LINE
Source Files on use-libvirt-fix-tests
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
456 use-libvirt-fix-tests Fix broken tests The tests are failing because travis has an old version of libvirt that is not happy about the xml we generate. Unfortunately there's no way to get a more recent version of ubuntu on travis (it's stuck with trusty!!) and there a... push 27 Jul 2017 12:59PM UTC flavio travis-ci pending completion  
454 use-libvirt-fix-tests Sigh... typo push 27 Jul 2017 12:46PM UTC flavio travis-ci pending completion  
See All Builds (804)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc