<div dir="ltr">Any news concerning this issue? It blocks our OST.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 7, 2017 at 6:12 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Test failed: [ <span style="color:rgb(0,0,0)">import_template_from_glance</span> <wbr>]<div><br></div><div><div>Link to suspected patches:</div><div><a href="https://gerrit.ovirt.org/#/c/80450/" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>80450/</a></div></div><div><br></div><div>Link to Job:<br></div><div><div><div><a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2397/" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/2397/</a><br></div><div><br></div><div>Link to logs:</div><div><a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2397/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/engine.log" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/2397/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py/<wbr>lago-basic-suite-master-<wbr>engine/_var_log/ovirt-engine/<wbr>engine.log</a><br></div><div><br></div><div><div>Error snippet from log:</div><div><br></div><div>&lt;error&gt;</div></div><div><pre style="color:rgb(0,0,0)">2017-09-07 08:21:48,657-04 INFO  [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Lock Acquired to object &#39;EngineLock:{exclusiveLocks=&#39;[<wbr>2c2b56b5-cac6-469d-b0e0-<wbr>9744309ca8c1=TEMPLATE, CirrOS_0.3.5_for_x86_64_<wbr>glance_template=TEMPLATE_NAME]<wbr>&#39;, sharedLocks=&#39;[]&#39;}&#39;
2017-09-07 08:21:48,675-04 INFO  [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Running command: AddVmTemplateCommand internal: true. Entities affected :  ID: d279c4e9-09e7-4dd9-9eff-<wbr>10b31ee2adfc Type: StoragePoolAction group CREATE_TEMPLATE with role type USER
2017-09-07 08:21:48,695-04 INFO  [org.ovirt.engine.core.bll.<wbr>storage.disk.<wbr>CreateAllTemplateDisksCommand] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Running command: CreateAllTemplateDisksCommand internal: true.
2017-09-07 08:21:48,722-04 INFO  [org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] transaction rolled back
2017-09-07 08:21:48,722-04 ERROR [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Command &#39;org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand&#39; failed: null
2017-09-07 08:21:48,722-04 ERROR [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Exception: java.lang.NullPointerException
        at org.ovirt.engine.core.bll.<wbr>utils.VgamemVideoSettings.<wbr>getVramMultiplier(<wbr>VgamemVideoSettings.java:63) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VgamemVideoSettings.<wbr>getQxlVideoDeviceSettings(<wbr>VgamemVideoSettings.java:40) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VideoDeviceSettings.<wbr>getVideoDeviceSettings(<wbr>VideoDeviceSettings.java:34) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VideoDeviceSettings.<wbr>getVideoDeviceSpecParams(<wbr>VideoDeviceSettings.java:49) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>getVideoDeviceSpecParams(<wbr>VmDeviceUtils.java:586) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>copyVmDevices(VmDeviceUtils.<wbr>java:1435) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>copyVmDevices(VmDeviceUtils.<wbr>java:1559) [bll.jar:]
</pre></div><div>...</div><div><pre style="color:rgb(0,0,0)">2017-09-07 08:21:48,739-04 INFO  [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Command [id=3d633182-982a-46f2-b4f1-<wbr>27c5d04397a7]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.<wbr>businessentities.VmTemplate; snapshot: 2c2b56b5-cac6-469d-b0e0-<wbr>9744309ca8c1.
2017-09-07 08:21:48,813-04 ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] EVENT_ID: USER_ADD_VM_TEMPLATE_FAILURE(<wbr>36), Failed creating Template CirrOS_0.3.5_for_x86_64_<wbr>glance_template.
2017-09-07 08:21:48,834-04 INFO  [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Lock freed to object &#39;EngineLock:{exclusiveLocks=&#39;[<wbr>2c2b56b5-cac6-469d-b0e0-<wbr>9744309ca8c1=TEMPLATE, CirrOS_0.3.5_for_x86_64_<wbr>glance_template=TEMPLATE_NAME]<wbr>&#39;, sharedLocks=&#39;[]&#39;}&#39;
2017-09-07 08:21:48,848-04 DEBUG [org.ovirt.engine.core.dal.<wbr>dbbroker.<wbr>CustomSQLErrorCodeSQLException<wbr>Translator] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] 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)=(2c2b56b5-cac6-469d-<wbr>b0e0-9744309ca8c1) 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,<wbr>boolean,boolean,character varying,boolean) line 3 at SQL statement]; SQL was [{call insertdiskvmelement(?, ?, ?, ?, ?, ?)}] for task [CallableStatementCallback]
2017-09-07 08:21:48,850-04 INFO  [org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] transaction rolled back
2017-09-07 08:21:48,877-04 INFO  [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] EVENT_ID: USER_IMPORT_IMAGE_AS_TEMPLATE_<wbr>FINISHED_SUCCESS(3,018), User admin@internal-authz successfully imported image CirrOS_0.3.5_for_x86_64_<wbr>glance_template as template CirrOS_0.3.5_for_x86_64_<wbr>glance_template to domain iscsi.
2017-09-07 08:21:48,878-04 ERROR [org.ovirt.engine.core.bll.<wbr>tasks.CommandCallbacksPoller] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Failed invoking callback end method &#39;onSucceeded&#39; for command &#39;9c1ba73a-f6bb-4291-b1f2-<wbr>d5806e38ba18&#39; with exception &#39;CallableStatementCallback; SQL [{call insertdiskvmelement(?, ?, ?, ?, ?, ?)}]; 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)=(2c2b56b5-cac6-469d-<wbr>b0e0-9744309ca8c1) 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,<wbr>boolean,boolean,character varying,boolean) line 3 at SQL statement; nested exception is org.postgresql.util.<wbr>PSQLException: 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)=(2c2b56b5-cac6-469d-<wbr>b0e0-9744309ca8c1) 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,<wbr>boolean,boolean,character varying,boolean) line 3 at SQL statement&#39;, the callback is marked for end method retries
2017-09-07 08:21:49,887-04 INFO  [org.ovirt.engine.core.bll.<wbr>SerialChildCommandsExecutionCa<wbr>llback] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-49) [74b41edb] Command &#39;AddVmTemplate&#39; id: &#39;3d633182-982a-46f2-b4f1-<wbr>27c5d04397a7&#39; execution didn&#39;t complete, not proceeding to perform the next operation
2017-09-07 08:21:49,887-04 INFO  [org.ovirt.engine.core.bll.<wbr>SerialChildCommandsExecutionCa<wbr>llback] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-49) [74b41edb] Command &#39;AddVmTemplate&#39; id: &#39;3d633182-982a-46f2-b4f1-<wbr>27c5d04397a7&#39; child commands &#39;[d168e950-e9c5-4c9b-9502-<wbr>bff613d7f14d]&#39; executions were completed, status &#39;FAILED&#39;
</pre></div><div><br></div><div>&lt;/error&gt;<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_4231657904550803511gmail_signature"><div dir="ltr"><div style="font-size:small">Regards,</div><div style="font-size:small">Evgheni Dereveanchin</div></div></div>
</font></span></div></div></div>
<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>