[virt-tools-list] [ci at centos.org: [Libvirt-ci] Build failed in Jenkins: virt-manager-test » libvirt-fedora-23 #1440]

Daniel P. Berrange berrange at redhat.com
Tue Jul 19 16:10:29 UTC 2016


It appears that quite a few tests in virt-manager are currently
failing. I'm unclear if this is due to genuine libvirt regressions,
or the tests were relying on undefined behaviour which has now
changed in libvirt

----- Forwarded message from ci at centos.org -----

> Date: Tue, 19 Jul 2016 15:52:37 +0000 (GMT+00:00)
> From: ci at centos.org
> To: shajyan at redhat.com, libvirt-ci at redhat.com
> Subject: [Libvirt-ci] Build failed in Jenkins: virt-manager-test » libvirt-fedora-23 #1440
> 
> See <https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/1440/>
> 
> ------------------------------------------
> Started by upstream project "virt-manager-test" build number 1440
> originally caused by:
>  Started by upstream project "virt-manager-build" build number 1370
>  originally caused by:
>   Started by upstream project "libvirt-python-build" build number 1123
>   originally caused by:
>    Started by upstream project "libvirt-daemon-build" build number 1543
>    originally caused by:
>     Started by an SCM change
>     Started by an SCM change
>  Started by upstream project "virt-viewer-build" build number 1148
>  originally caused by:
>   Started by upstream project "libvirt-daemon-build" build number 1543
> [EnvInject] - Loading node environment variables.
> Building remotely on libvirt-fedora-23 (libvirt) in workspace <https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/>
> [libvirt-fedora-23] $ /bin/sh -xe /tmp/hudson515687075386881451.sh
> + ./setup.py test
> running test
> ........................................................................................................................s.................................................................................................................................................................................................................................F.F...F.........ss....s........ss....sF.s.......Fs........s..s..
> ======================================================================
> FAIL: testCLI0229virt_xml_edit_simple_metadata (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1013, in <lambda>
>     return lambda s: cmdtemplate(s, cmd)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1012, in cmdtemplate
>     _cmdobj.run(self)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 270, in run
>     tests.fail(err)
> AssertionError: ./virt-xml  --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/testdriver.xml,predictable> test-for-virtxml --edit --print-diff --define --metadata name=foo-my-new-name,uuid=12345678-12F4-1234-1234-123456789AFA,description="hey this is my
> new
> very,very=new desc\'",title="This is my,funky=new title" 
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-xml-edit-simple-metadata.xml
> +++ Generated Output
> @@ -8,7 +8,7 @@
>  +  <description>hey this is my
>  +new
>  +very,very=new desc'</description>
> -   <memory unit="KiB">409600</memory>
> +   <memory unit="KiB">4194304</memory>
>     <currentMemory unit="KiB">204800</currentMemory>
>     <blkiotune>
>  @@
> 
> 
> ======================================================================
> FAIL: testCLI0231virt_xml_edit_simple_memory (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1013, in <lambda>
>     return lambda s: cmdtemplate(s, cmd)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1012, in cmdtemplate
>     _cmdobj.run(self)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 270, in run
>     tests.fail(err)
> AssertionError: ./virt-xml  --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/testdriver.xml,predictable> test-for-virtxml --edit --print-diff --define --memory 500,maxmemory=1000,hugepages=off
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-xml-edit-simple-memory.xml
> +++ Generated Output
> @@ -1,7 +1,7 @@
>     <uuid>12345678-12f4-1234-1234-123456789012</uuid>
>     <description>Test VM for virtxml cli tests
>     </description>
> --  <memory unit="KiB">409600</memory>
> +-  <memory unit="KiB">4194304</memory>
>  -  <currentMemory unit="KiB">204800</currentMemory>
>  +  <memory unit="KiB">1024000</memory>
>  +  <currentMemory unit="KiB">512000</currentMemory>
> 
> 
> ======================================================================
> FAIL: testCLI0235virt_xml_edit_simple_blkiotune (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1013, in <lambda>
>     return lambda s: cmdtemplate(s, cmd)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1012, in cmdtemplate
>     _cmdobj.run(self)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 270, in run
>     tests.fail(err)
> AssertionError: ./virt-xml  --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/testdriver.xml,predictable> test-for-virtxml --edit --print-diff --define --blkiotune weight=500,device_path=/dev/sdf,device_weight=600
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-xml-edit-simple-blkiotune.xml
> +++ Generated Output
> @@ -1,4 +1,4 @@
> -   <memory unit="KiB">409600</memory>
> +   <memory unit="KiB">4194304</memory>
>     <currentMemory unit="KiB">204800</currentMemory>
>     <blkiotune>
>  -    <weight>100</weight>
> 
> 
> ======================================================================
> FAIL: testCLI0267virt_xml_edit_neg_num (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1013, in <lambda>
>     return lambda s: cmdtemplate(s, cmd)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1012, in cmdtemplate
>     _cmdobj.run(self)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 270, in run
>     tests.fail(err)
> AssertionError: ./virt-xml  --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/testdriver.xml,predictable> test-for-virtxml --print-diff --define --edit -1 --video qxl
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-xml-edit-neg-num.xml
> +++ Generated Output
> @@ -1,4 +1,4 @@
> -       <model type="vmvga" vram="16384" heads="1" primary="yes"/>
> +       <model type="vmvga" vram="16384" heads="1"/>
>       </video>
>       <video>
>  -      <model type="cirrus" vram="16384" heads="3"/>
> 
> 
> ======================================================================
> FAIL: testCLI0277virt_xml_edit_video_virtio (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1013, in <lambda>
>     return lambda s: cmdtemplate(s, cmd)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 1012, in cmdtemplate
>     _cmdobj.run(self)
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 270, in run
>     tests.fail(err)
> AssertionError: ./virt-xml  --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/testdriver.xml,predictable> test-for-virtxml --print-diff --define --edit --video clearxml=yes,model=virtio,accel3d=yes
> Expected command to pass, but it didn't.
> Command was: ./virt-xml  --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/testdriver.xml,predictable> test-for-virtxml --print-diff --define --edit --video clearxml=yes,model=virtio,accel3d=yes
> Error code : -1
> Output was:
> --- Original XML
> +++ Altered XML
> @@ -166,7 +166,9 @@
>      <sound model="es1370"/>
>      <sound model="ich6"/>
>      <video>
> -      <model type="vmvga" vram="16384" heads="1"/>
> +      <model type="virtio">
> +        <acceleration accel3d="yes"/>
> +      </model>
>      </video>
>      <video>
>        <model type="cirrus" vram="16384" heads="3"/>
> 
> 
> Traceback (most recent call last):
>   File "<https://ci.centos.org/job/virt-manager-test/systems=libvirt-fedora-23/ws/tests/clitest.py",> line 163, in _launch_command
>     ret = virtxml.main(conn=conn)
>   File "virt-xml", line 464, in main
>     define_changes(conn, inactive_xmlobj, devs, action, options.confirm)
>   File "virt-xml", line 266, in define_changes
>     conn.defineXML(inactive_xmlobj.get_xml_config())
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3629, in defineXML
>     if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
> libvirtError: unsupported configuration: unknown video model 'virtio'
> 
> ----------------------------------------------------------------------
> Ran 410 tests in 184.266s
> 
> FAILED (failures=5, skipped=11)
> Build step 'Execute shell' marked build as failure
> 
> _______________________________________________
> Libvirt-ci mailing list
> Libvirt-ci at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-ci
> 
----- End forwarded message -----

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list