On 17 Mar 2017, at 20:49, Yaniv Kaul <ykaul@redhat.com> wrote:On Thu, Mar 16, 2017 at 8:16 PM, Michal Skrivanek <mskrivan@redhat.com> wrote:On 16 Mar 2017, at 15:18, Yaniv Kaul <ykaul@redhat.com> wrote:On Thu, Mar 16, 2017 at 10:46 AM, Nir Soffer <nsoffer@redhat.com> wrote: If found this error in system tests - looks like wrong assert - code should checkif disk is not None before checking state.I'm not sure who is the owner of this test, so posting here.Theoretically, perhaps.Practically, it worked (until yesterday?) and now I'm also seeing this failure - it's not a coincidence.However, looking at my failure[1], I'm seeing other nasty stuff, which may explain the later on failuresFor example, new NPE I have not seen in the past:2017-03-16 09:57:57,581-04 INFO [org.ovirt.engine.core.bll.AddVmTemplateCommand] (DefaultQuartzScheduler1) [5d94233] Ending command 'org.ovirt.engine.core.bll.Add VmTemplateCommand' successfully. Is this IST or which TZ?Interesting question - I guess that's why we need the offset from UTC or use UTC in the logs.Likely https://gerrit.ovirt.org/#/c/69323 merged 10:33:20 CET todayThat's the cause or the fix?oh, sorry, the cause.we were not able to find anyone to confirm and resolve it today unfortunately
Y.______________________________2017-03-16 09:57:57,591-04 INFO [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (DefaultQuartzScheduler1) [5d94233] START, SetVmStatusVDSCommand( SetVmStatusVDSCommandParameter s:{runAsync='true', vmId='00000000-0000-0000-0000- 000000000000', status='Down', exitStatus='Normal'}), log id: 30ee3299 2017-03-16 09:57:57,593-04 DEBUG [org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$ PostgresSimpleJdbcCall] (DefaultQuartzScheduler1) [5d94233] Compiled stored procedure. Call string is [{call getvmdynamicbyvmguid(?)}] 2017-03-16 09:57:57,594-04 DEBUG [org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$ PostgresSimpleJdbcCall] (DefaultQuartzScheduler1) [5d94233] SqlCall for procedure [GetVmDynamicByVmGuid] compiled 2017-03-16 09:57:57,595-04 ERROR [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (DefaultQuartzScheduler1) [5d94233] Command 'SetVmStatusVDSCommand( SetVmStatusVDSCommandParameter s:{runAsync='true', vmId='00000000-0000-0000-0000- 000000000000', status='Down', exitStatus='Normal'})' execution failed: null 2017-03-16 09:57:57,595-04 DEBUG [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (DefaultQuartzScheduler1) [5d94233] Exception: java.lang.NullPointerException at org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand.execut eVDSCommand(SetVmStatusVDSComm and.java:33) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.VDSCommandBase.executeComman d(VDSCommandBase.java:73) [vdsbroker.jar:] at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandB ase.java:33) [dal.jar:] at org.ovirt.engine.core.vdsbroker.vdsbroker.DefaultVdsCommandE xecutor.execute(DefaultVdsComm andExecutor.java:14) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.ResourceManager.runVdsComman d(ResourceManager.java:404) [vdsbroker.jar:] at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsComman d(VDSBrokerFrontendImpl.java: 33) [bll.jar:] at org.ovirt.engine.core.bll.VmHandler.unLockVm(VmHandler.java: 377) [bll.jar:] Y.# snapshots_merge: Unhandled exception in <function <lambda> at 0x276a5f0> Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 217, in assert_equals_within res = func() File "/home/jenkins/workspace/ovirt Error while running thread Traceback (most recent call last): File "/usr/lib/python2.7/site-packa-system-tests_manual/ovirt-sys tem-tests/basic-suite-master/ test-scenarios/004_basic_ sanity.py", line 466, in <lambda> api.vms.get(VM0_NAME).disks.ge t(disk_name).status.state == 'ok' AttributeError: 'NoneType' object has no attribute 'state' ges/lago/utils.py", line 57, in _ret_via_queue queue.put({'return': func()}) File "/home/jenkins/workspace/ovirt -system-tests_manual/ovirt-sys tem-tests/basic-suite-master/ test-scenarios/004_basic_ sanity.py", line 465, in snapshot_live_merge lambda: File "/usr/lib/python2.7/site-packa ges/ovirtlago/testlib.py", line 264, in assert_true_within_long assert_equals_within_long(func , True, allowed_exceptions) File "/usr/lib/python2.7/site-packa ges/ovirtlago/testlib.py", line 251, in assert_equals_within_long func, value, LONG_TIMEOUT, allowed_exceptions=allowed_exc eptions File "/usr/lib/python2.7/site-packa ges/ovirtlago/testlib.py", line 217, in assert_equals_within res = func() File "/home/jenkins/workspace/ovirt -system-tests_manual/ovirt-sys tem-tests/basic-suite-master/ test-scenarios/004_basic_ sanity.py", line 466, in <lambda> api.vms.get(VM0_NAME).disks.ge t(disk_name).status.state == 'ok' AttributeError: 'NoneType' object has no attribute 'state'
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel _________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel