<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 5, 2017 at 3:54 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"><div dir="ltr"><div>Test failed: [ upgrade_engine ]</div><div><br></div><div>Link to suspected patches:</div><div><a href="https://gerrit.ovirt.org/#/c/78307/46/" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>78307/46/</a></div><div><br></div><div>Link to Job:</div><div><a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2301/" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/2301/</a></div><div>* this is failing since around job run 2291 but was masked by other errors</div><div><br></div><div>Link to logs:</div><div><a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2301/artifact/exported-artifacts/upgrade-from-release-suit-master-el7/test_logs/upgrade-from-release-suite-master/post-001_upgrade_engine.py/lago-upgrade-from-release-suite-master-engine/_var_log/ovirt-engine/setup/ovirt-engine-setup-20170905092844-6p7cux.log" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/2301/artifact/exported-<wbr>artifacts/upgrade-from-<wbr>release-suit-master-el7/test_<wbr>logs/upgrade-from-release-<wbr>suite-master/post-001_upgrade_<wbr>engine.py/lago-upgrade-from-<wbr>release-suite-master-engine/_<wbr>var_log/ovirt-engine/setup/<wbr>ovirt-engine-setup-<wbr>20170905092844-6p7cux.log</a></div><div><br></div><div>Error snippet from log:</div><div><br></div><div>&lt;error&gt;</div><div><br></div><div>2017-09-05 09:28:45,444-0400 DEBUG otopi.ovirt_engine_setup.<wbr>engine_common.database database.execute:229 Creating own connection</div><div>2017-09-05 09:28:45,448-0400 DEBUG otopi.ovirt_engine_setup.<wbr>engine_common.database database.execute:274 Result: [{&#39;count&#39;: 153L}]</div><div>2017-09-05 09:28:45,448-0400 DEBUG otopi.ovirt_engine_setup.<wbr>engine_common.database database.execute:224 Database: &#39;None&#39;, Statement: &#39;SHOW server_version&#39;, args: {}</div><div>2017-09-05 09:28:45,448-0400 DEBUG otopi.ovirt_engine_setup.<wbr>engine_common.database database.execute:229 Creating own connection</div><div>2017-09-05 09:28:45,452-0400 DEBUG otopi.ovirt_engine_setup.<wbr>engine_common.database database.execute:274 Result: [{&#39;server_version&#39;: &#39;9.2.18&#39;}]</div><div>2017-09-05 09:28:45,452-0400 DEBUG otopi.ovirt_engine_setup.<wbr>engine_common.database database.checkServerVersion:<wbr>449 PostgreSQL server version: 9.2.18</div><div>2017-09-05 09:28:45,453-0400 DEBUG otopi.plugins.ovirt_engine_<wbr>common.ovirt_engine.db.<wbr>connection connection._setup:146 Existing credential use failed</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/share/ovirt-engine/<wbr>setup/bin/../plugins/ovirt-<wbr>engine-common/ovirt-engine/db/<wbr>connection.py&quot;, line 141, in _setup</div><div>    ] = dbovirtutils.checkDBMSUpgrade(<wbr>)</div><div>  File &quot;/usr/share/ovirt-engine/<wbr>setup/ovirt_engine_setup/<wbr>engine_common/database.py&quot;, line 490, in checkDBMSUpgrade</div><div>    self.checkClientVersion()</div><div>  File &quot;/usr/share/ovirt-engine/<wbr>setup/ovirt_engine_setup/<wbr>engine_common/database.py&quot;, line 457, in checkClientVersion</div><div>    self.command.get(&#39;psql&#39;),</div><div>  File &quot;/usr/lib/python2.7/site-<wbr>packages/otopi/command.py&quot;, line 74, in get</div><div>    command=command</div><div>RuntimeError: Command &#39;psql&#39; is required but missing</div><div>2017-09-05 09:28:45,454-0400 DEBUG otopi.context context._executeMethod:142 method exception</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/lib/python2.7/site-<wbr>packages/otopi/context.py&quot;, line 132, in _executeMethod</div><div>    method[&#39;method&#39;]()</div><div>  File &quot;/usr/share/ovirt-engine/<wbr>setup/bin/../plugins/ovirt-<wbr>engine-common/ovirt-engine/db/<wbr>connection.py&quot;, line 162, in _setup</div><div>    raise RuntimeError(msg)</div><div>RuntimeError: Cannot connect to Engine database using existing credentials: engine@localhost:5432</div><div>2017-09-05 09:28:45,455-0400 ERROR otopi.context context._executeMethod:151 Failed to execute stage &#39;Environment setup&#39;: Cannot connect to Engine database using existing credentials: engine@localhost:5432</div><div><br></div></div></blockquote><div><br></div><div>It seams that for some strange reasons the test upgrade job is not installing <span style="color:rgb(0,0,0)">rh-postgresql95-postgresql which should be instead required as for my modification the spec file:</span></div><div><font color="#000000"><a href="https://gerrit.ovirt.org/#/c/78307/46/ovirt-engine.spec.in@274">https://gerrit.ovirt.org/#/c/78307/46/ovirt-engine.spec.in@274</a></font><br></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">Not sure if it&#39;s just a repo sync issue or something similar:</span></div><div><font color="#000000"><a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2301/artifact/exported-artifacts/upgrade-from-prevrelease-suit-master-el7/lago_logs/lago.log">http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2301/artifact/exported-artifacts/upgrade-from-prevrelease-suit-master-el7/lago_logs/lago.log</a></font><br></div><div><font color="#000000">And, by the way, the job is also testing </font><span style="color:rgb(0,0,0)">4.0.6.3 -&gt; </span><span style="color:rgb(0,0,0)">4.2.0-0.0 and not 4.1 -&gt; 4.2 as it should be (not sure why it&#39;s working).</span><font color="#000000"><br></font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Relevant log section:</font></div><div><font color="#000000"><br></font></div><div><pre style="color:rgb(0,0,0)">Resolving Dependencies
--&gt; Running transaction check
---&gt; Package ovirt-engine-dwh-setup.noarch 0:4.0.6-1.el7.centos will be updated
---&gt; Package ovirt-engine-dwh-setup.noarch 0:4.2.1-0.0.master.20170903090219.el7.centos will be an update
---&gt; Package ovirt-engine-extension-aaa-ldap-setup.noarch 0:1.2.2-1.el7 will be updated
---&gt; Package ovirt-engine-extension-aaa-ldap-setup.noarch 0:1.3.5-0.0.master.git7230cd9.el7.centos will be an update
--&gt; Processing Dependency: ovirt-engine-extension-aaa-ldap = 1.3.5-0.0.master.git7230cd9.el7.centos for package: ovirt-engine-extension-aaa-ldap-setup-1.3.5-0.0.master.git7230cd9.el7.centos.noarch
---&gt; Package ovirt-engine-setup.noarch 0:4.0.6.3-1.el7.centos will be updated
---&gt; Package ovirt-engine-setup.noarch 0:4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos will be an update
---&gt; Package ovirt-engine-setup-base.noarch 0:4.0.6.3-1.el7.centos will be updated
---&gt; Package ovirt-engine-setup-base.noarch 0:4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos will be an update
--&gt; Processing Dependency: ovirt-engine-lib &gt;= 4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos for package: ovirt-engine-setup-base-4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos.noarch
--&gt; Processing Dependency: otopi &gt;= 1.7.1 for package: ovirt-engine-setup-base-4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos.noarch
---&gt; Package ovirt-engine-setup-plugin-ovirt-engine.noarch 0:4.0.6.3-1.el7.centos will be updated
---&gt; Package ovirt-engine-setup-plugin-ovirt-engine.noarch 0:4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos will be an update
---&gt; Package ovirt-engine-setup-plugin-ovirt-engine-common.noarch 0:4.0.6.3-1.el7.centos will be updated
---&gt; Package ovirt-engine-setup-plugin-ovirt-engine-common.noarch 0:4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos will be an update
---&gt; Package ovirt-engine-setup-plugin-vmconsole-proxy-helper.noarch 0:4.0.6.3-1.el7.centos will be updated
---&gt; Package ovirt-engine-setup-plugin-vmconsole-proxy-helper.noarch 0:4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos will be an update
---&gt; Package ovirt-engine-setup-plugin-websocket-proxy.noarch 0:4.0.6.3-1.el7.centos will be updated
---&gt; Package ovirt-engine-setup-plugin-websocket-proxy.noarch 0:4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos will be an update
---&gt; Package ovirt-imageio-proxy-setup.noarch 0:0.4.0-0.201608310602.gita9b573b.el7.centos will be updated
---&gt; Package ovirt-imageio-proxy-setup.noarch 0:1.1.0-0.201708142346.git4dd31c9.el7.centos will be an update
---&gt; Package ovirt-setup-lib.noarch 0:1.0.2-1.el7.centos will be updated
---&gt; Package ovirt-setup-lib.noarch 0:1.1.5-0.0.master.20170823122959.git1480342.el7.centos will be an update
--&gt; Running transaction check
---&gt; Package otopi.noarch 0:1.5.2-1.el7.centos will be updated
--&gt; Processing Dependency: otopi = 1.5.2-1.el7.centos for package: otopi-java-1.5.2-1.el7.centos.noarch
---&gt; Package otopi.noarch 0:1.7.2-0.0.master.20170816071636.git7a3278c.el7.centos will be an update
---&gt; Package ovirt-engine-extension-aaa-ldap.noarch 0:1.2.2-1.el7 will be updated
---&gt; Package ovirt-engine-extension-aaa-ldap.noarch 0:1.3.5-0.0.master.git7230cd9.el7.centos will be an update
---&gt; Package ovirt-engine-lib.noarch 0:4.0.6.3-1.el7.centos will be updated
---&gt; Package ovirt-engine-lib.noarch 0:4.2.0-0.0.master.20170905115642.git4a0716e.el7.centos will be an update
--&gt; Running transaction check
---&gt; Package otopi-java.noarch 0:1.5.2-1.el7.centos will be updated
---&gt; Package otopi-java.noarch 0:1.7.2-0.0.master.20170816071636.git7a3278c.el7.centos will be an update
--&gt; Finished Dependency Resolution</pre></div><div><font color="#000000"><br></font></div><div><br></div><div><br></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"><div dir="ltr"><div></div><div><br></div><div>&lt;/error&gt;</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="gmail-m_8566980589798047975gmail_signature"><div dir="ltr"><div style="font-size:small">Regards,</div><div style="font-size:small">Evgheni Dereveanchin</div></div></div>
</font></span></div>
</blockquote></div><br></div></div>