<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 4:43 PM, Evgheni Dereveanchin <span dir="ltr">&lt;<a href="mailto:ederevea@redhat.com" target="_blank">ederevea@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Test failed: add_secondary_storage_domains<br>
Links to suspected patches:<br>
 <a href="https://gerrit.ovirt.org/71376" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/71376</a><br>
 <a href="https://gerrit.ovirt.org/71427" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/71427</a><br>
 <a href="https://gerrit.ovirt.org/71345" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/71345</a><br>
<br>
Link to Job:<br>
 <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/5040/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/5040/</a><br>
<br>
Link to all logs:<br>
 <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/5040/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/5040/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py/</a></blockquote><div><br></div><div>I think the issue is actually:</div><pre style="color:rgb(0,0,0)">2017-01-31 05:46:51,412-05 ERROR [org.ovirt.engine.core.bll.AddVmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Command &#39;org.ovirt.engine.core.bll.AddVmTemplateCommand&#39; failed: null
2017-01-31 05:46:51,412-05 ERROR [org.ovirt.engine.core.bll.AddVmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Exception: java.lang.NullPointerException
        at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addManagedDevice(VmDeviceUtils.java:1553) [bll.jar:]
        at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addManagedDevice(VmDeviceUtils.java:1509) [bll.jar:]
        at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addCdDevice(VmDeviceUtils.java:183) [bll.jar:]
        at org.ovirt.engine.core.bll.utils.VmDeviceUtils.copyVmDevices(VmDeviceUtils.java:1390) [bll.jar:]
        at org.ovirt.engine.core.bll.utils.VmDeviceUtils.copyVmDevices(VmDeviceUtils.java:1444) [bll.jar:]
        at org.ovirt.engine.core.bll.AddVmTemplateCommand.lambda$executeCommand$1(AddVmTemplateCommand.java:356) [bll.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202) [utils.jar:]
        at org.ovirt.engine.core.bll.AddVmTemplateCommand.executeCommand(AddVmTemplateCommand.java:338) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1251) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1391) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2055) [bll.jar:] </pre><div><font color="#000000">...</font></div><div><font color="#000000"><br></font></div><div><pre style="color:rgb(0,0,0)">2017-01-31 05:46:51,430-05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler6) [17e8e3e] EVENT_ID: USER_ADD_VM_TEMPLATE_FAILURE(36), Correlation ID: 17e8e3e, Job ID: 6d664704-97ff-4ff3-8aaa-63389dc51663, Call Stack: null, Custom Event ID: -1, Message: Failed creating Template CirrOS_0.3.4_for_x86_64_glance_template.
2017-01-31 05:46:51,431-05 INFO  [org.ovirt.engine.core.bll.AddVmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Lock freed to object &#39;EngineLock:{exclusiveLocks=&#39;null&#39;, sharedLocks=&#39;[00000000-0000-0000-0000-000000000000=&lt;VM, ACTION_TYPE_FAILED_TEMPLATE_IS_BEING_CREATED&gt;]&#39;}&#39;
2017-01-31 05:46:51,435-05 DEBUG [org.ovirt.engine.core.dal.dbbroker.CustomSQLErrorCodeSQLExceptionTranslator] (DefaultQuartzScheduler6) [17e8e3e] Translating SQLException with SQL state &#39;23503&#39;, error code &#39;0&#39;, message [ERROR: insert or update on table &quot;disk_vm_element&quot; violates foreign key constraint &quot;fk_disk_vm_element_vm_static&quot;
  Detail: Key (vm_id)=(7dd54891-477c-4e64-ad47-02afc12ab32d) is not present in table &quot;vm_static&quot;.
  Where: SQL statement &quot;INSERT INTO disk_vm_element (
        disk_id,
        vm_id,
        is_boot,
        pass_discard,
        disk_interface,
        is_using_scsi_reservation)
    VALUES (
        v_disk_id,
        v_vm_id,
        v_is_boot,
        v_pass_discard,
        v_disk_interface,
        v_is_using_scsi_reservation)&quot;
PL/pgSQL function insertdiskvmelement(uuid,uuid,boolean,boolean,character varying,boolean) line 3 at SQL statement]; SQL was [{call insertdiskvmelement(?, ?, ?, ?, ?, ?)}] for task [CallableStatementCallback]
2017-01-31 05:46:51,436-05 INFO  [org.ovirt.engine.core.utils.transaction.TransactionSupport] (DefaultQuartzScheduler6) [17e8e3e] transaction rolled back</pre></div><div><span style="color:rgb(0,0,0)"></span>Y.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Error snippet from log:<br>
2017-01-31 05:54:53,862-0500 ERROR (jsonrpc/5) [storage.TaskManager.Task] (Task=&#39;ad8f48fc-de09-4c26-<wbr>b052-7a036d7651ad&#39;) Unexpected error (task:871)<br>
Traceback (most recent call last):<br>
  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/storage/task.py&quot;<wbr>, line 878, in _run<br>
    return fn(*args, **kargs)<br>
  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/logUtils.py&quot;, line 52, in wrapper<br>
    res = f(*args, **kwargs)<br>
  File &quot;/usr/share/vdsm/storage/hsm.<wbr>py&quot;, line 2215, in getAllTasksInfo<br>
    allTasksInfo = self._pool.getAllTasksInfo()<br>
  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/storage/<wbr>securable.py&quot;, line 77, in wrapper<br>
    raise SecureError(&quot;Secured object is not in safe state&quot;)<br>
SecureError: Secured object is not in safe state<br>
<br>
<br>
<br>
Regards,<br>
Evgheni Dereveanchin<br>
<br>
______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
</blockquote></div><br></div></div>