[JIRA] (OVIRT-754) Guest name 'TestNode-node' is already in use.

sbonazzo (oVirt JIRA) jira at ovirt-jira.atlassian.net
Fri Oct 7 08:27:03 UTC 2016


    [ https://ovirt-jira.atlassian.net/browse/OVIRT-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21607#comment-21607 ] 

sbonazzo commented on OVIRT-754:
--------------------------------

On Fri, Oct 7, 2016 at 9:30 AM, Fabian Deutsch <fdeutsch at redhat.com> wrote:

> Feel free to review https://gerrit.ovirt.org/#/c/64511/
>
> Rebased, +1; please verify



> - fabian
>
> On Fri, Oct 7, 2016 at 9:26 AM, Sandro Bonazzola <sbonazzo at redhat.com>
> wrote:
>
>>
>> http://jenkins.ovirt.org/job/ovirt-node-ng_master_build-arti
>> facts-el7-x86_64/138/
>>
>> ======================================================================
>> ERROR: test suite for <class 'testSanity.TestNode'>
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/nose/suite.py", line 208, in run
>>     self.setUp()
>>   File "/usr/lib/python2.7/site-packages/nose/suite.py", line 291, in
>> setUp
>>     self.setupContext(ancestor)
>>   File "/usr/lib/python2.7/site-packages/nose/suite.py", line 314, in
>> setupContext
>>     try_run(context, names)
>>   File "/usr/lib/python2.7/site-packages/nose/util.py", line 469, in
>> try_run
>>     return func()
>>   File "/home/jenkins/workspace/ovirt-node-ng_master_build-artifact
>> s-el7-x86_64/ovirt-node-ng/tests/testVirt.py", line 150, in setUpClass
>>     77)
>>   File "/home/jenkins/workspace/ovirt-node-ng_master_build-artifact
>> s-el7-x86_64/ovirt-node-ng/tests/testVirt.py", line 88, in _start_vm
>>     dom = VM.create(name, img, ssh_port=ssh_port, memory_gb=memory_gb)
>>   File "/home/jenkins/workspace/ovirt-node-ng_master_build-artifact
>> s-el7-x86_64/ovirt-node-ng/tests/virt.py", line 217, in create
>>     dom = sh.virt_install(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/sh.py", line 1021, in __call__
>>     return RunningCommand(cmd, call_args, stdin, stdout, stderr)
>>   File "/usr/lib/python2.7/site-packages/sh.py", line 486, in __init__
>>     self.wait()
>>   File "/usr/lib/python2.7/site-packages/sh.py", line 500, in wait
>>     self.handle_command_exit_code(exit_code)
>>   File "/usr/lib/python2.7/site-packages/sh.py", line 516, in
>> handle_command_exit_code
>>     raise exc(self.ran, self.process.stdout, self.process.stderr)
>> ErrorReturnCode_1:
>>
>>   RAN: '/bin/virt-install --import --print-xml
>> --network=user,model=virtio --noautoconsole --memory=2048 --rng=/dev/random
>> --memballoon=virtio --cpu=host --vcpus=4 --graphics=vnc
>> --watchdog=default,action=poweroff --serial=pty
>> --disk=path=/var/tmp/TestNode-node.qcow2,bus=virtio,format=q
>> cow2,driver_type=qcow2,discard=unmap,cache=unsafe --check=all=off
>> --channel=unix,target_type=virtio,name=local.test.0 --name=TestNode-node'
>>
>>   STDOUT:
>>
>>
>>   STDERR:
>> ERROR    Guest name 'TestNode-node' is already in use.
>>
>> Seems to be a run in a not clean environment. Not sure about what caused
>> this.
>>
>>
>> --
>> Sandro Bonazzola
>> Better technology. Faster innovation. Powered by community collaboration.
>> See how it works at redhat.com
>> <https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
>>
>
>
>
> --
> Fabian Deutsch <fdeutsch at redhat.com>
> RHEV Hypervisor
> Red Hat
>



-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
<https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>

> Guest name 'TestNode-node' is already in use.
> ---------------------------------------------
>
>                 Key: OVIRT-754
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-754
>             Project: oVirt - virtualization made easy
>          Issue Type: By-EMAIL
>            Reporter: sbonazzo
>            Assignee: infra
>
> http://jenkins.ovirt.org/job/ovirt-node-ng_master_build-artifacts-el7-x86_64/138/
> ======================================================================
> ERROR: test suite for <class 'testSanity.TestNode'>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/nose/suite.py", line 208, in run
>     self.setUp()
>   File "/usr/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
>     self.setupContext(ancestor)
>   File "/usr/lib/python2.7/site-packages/nose/suite.py", line 314, in
> setupContext
>     try_run(context, names)
>   File "/usr/lib/python2.7/site-packages/nose/util.py", line 469, in try_run
>     return func()
>   File
> "/home/jenkins/workspace/ovirt-node-ng_master_build-artifacts-el7-x86_64/ovirt-node-ng/tests/testVirt.py",
> line 150, in setUpClass
>     77)
>   File
> "/home/jenkins/workspace/ovirt-node-ng_master_build-artifacts-el7-x86_64/ovirt-node-ng/tests/testVirt.py",
> line 88, in _start_vm
>     dom = VM.create(name, img, ssh_port=ssh_port, memory_gb=memory_gb)
>   File
> "/home/jenkins/workspace/ovirt-node-ng_master_build-artifacts-el7-x86_64/ovirt-node-ng/tests/virt.py",
> line 217, in create
>     dom = sh.virt_install(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/sh.py", line 1021, in __call__
>     return RunningCommand(cmd, call_args, stdin, stdout, stderr)
>   File "/usr/lib/python2.7/site-packages/sh.py", line 486, in __init__
>     self.wait()
>   File "/usr/lib/python2.7/site-packages/sh.py", line 500, in wait
>     self.handle_command_exit_code(exit_code)
>   File "/usr/lib/python2.7/site-packages/sh.py", line 516, in
> handle_command_exit_code
>     raise exc(self.ran, self.process.stdout, self.process.stderr)
> ErrorReturnCode_1:
>   RAN: '/bin/virt-install --import --print-xml --network=user,model=virtio
> --noautoconsole --memory=2048 --rng=/dev/random --memballoon=virtio
> --cpu=host --vcpus=4 --graphics=vnc --watchdog=default,action=poweroff
> --serial=pty
> --disk=path=/var/tmp/TestNode-node.qcow2,bus=virtio,format=qcow2,driver_type=qcow2,discard=unmap,cache=unsafe
> --check=all=off --channel=unix,target_type=virtio,name=local.test.0
> --name=TestNode-node'
>   STDOUT:
>   STDERR:
> ERROR    Guest name 'TestNode-node' is already in use.
> Seems to be a run in a not clean environment. Not sure about what caused
> this.
> -- 
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
> <https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>



--
This message was sent by Atlassian JIRA
(v1000.383.2#100014)



More information about the Infra mailing list