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

dmacvicar / terraform-provider-libvirt / 458
29%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2017 01:08PM UTC
Jobs 1
Files 22
Run time 1s
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

pending completion
458

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%)

188.4 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
libvirt/network_def.go
2
100.0
libvirt/domain_def.go
5
100.0
libvirt/utils_libvirt.go
7
100.0
libvirt/disk_def.go
51
100.0
libvirt/resource_libvirt_network.go
233
100.0
libvirt/resource_libvirt_domain.go
Jobs
ID Job ID Ran Files Coverage
1 458.1 27 Jul 2017 01:08PM UTC 0
55.7
Travis Job 458.1
Source Files on build 458
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #458
  • 991da6f9 on github
  • Prev Build on master (#421)
  • Next Build on master (#465)
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