<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 5, 2017 at 6:37 PM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></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"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Tue, Sep 5, 2017 at 3:54 PM, Evgheni Dereveanchin <span dir="ltr"><<a href="mailto:ederevea@redhat.com" target="_blank">ederevea@redhat.com</a>></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/7<wbr>8307/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/o<wbr>virt-master_change-queue-teste<wbr>r/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/o<wbr>virt-master_change-queue-teste<wbr>r/2301/artifact/exported-artif<wbr>acts/upgrade-from-release-<wbr>suit-master-el7/test_logs/<wbr>upgrade-from-release-suite-<wbr>master/post-001_upgrade_engine<wbr>.py/lago-upgrade-from-release-<wbr>suite-master-engine/_var_log/<wbr>ovirt-engine/setup/ovirt-<wbr>engine-setup-20170905092844-<wbr>6p7cux.log</a></div><div><br></div><div>Error snippet from log:</div><div><br></div><div><error></div><div><br></div><div>2017-09-05 09:28:45,444-0400 DEBUG otopi.ovirt_engine_setup.engin<wbr>e_common.database database.execute:229 Creating own connection</div><div>2017-09-05 09:28:45,448-0400 DEBUG otopi.ovirt_engine_setup.engin<wbr>e_common.database database.execute:274 Result: [{'count': 153L}]</div><div>2017-09-05 09:28:45,448-0400 DEBUG otopi.ovirt_engine_setup.engin<wbr>e_common.database database.execute:224 Database: 'None', Statement: 'SHOW server_version', args: {}</div><div>2017-09-05 09:28:45,448-0400 DEBUG otopi.ovirt_engine_setup.engin<wbr>e_common.database database.execute:229 Creating own connection</div><div>2017-09-05 09:28:45,452-0400 DEBUG otopi.ovirt_engine_setup.engin<wbr>e_common.database database.execute:274 Result: [{'server_version': '9.2.18'}]</div><div>2017-09-05 09:28:45,452-0400 DEBUG otopi.ovirt_engine_setup.engin<wbr>e_common.database database.checkServerVersion:44<wbr>9 PostgreSQL server version: 9.2.18</div><div>2017-09-05 09:28:45,453-0400 DEBUG otopi.plugins.ovirt_engine_com<wbr>mon.ovirt_engine.db.connection connection._setup:146 Existing credential use failed</div><div>Traceback (most recent call last):</div><div> File "/usr/share/ovirt-engine/setup<wbr>/bin/../plugins/ovirt-engine-<wbr>common/ovirt-engine/db/connect<wbr>ion.py", line 141, in _setup</div><div> ] = dbovirtutils.checkDBMSUpgrade(<wbr>)</div><div> File "/usr/share/ovirt-engine/setup<wbr>/ovirt_engine_setup/engine_<wbr>common/database.py", line 490, in checkDBMSUpgrade</div><div> self.checkClientVersion()</div><div> File "/usr/share/ovirt-engine/setup<wbr>/ovirt_engine_setup/engine_<wbr>common/database.py", line 457, in checkClientVersion</div><div> self.command.get('psql'),</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/otopi/command.py", line 74, in get</div><div> command=command</div><div>RuntimeError: Command 'psql' 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 "/usr/lib/python2.7/site-packa<wbr>ges/otopi/context.py", line 132, in _executeMethod</div><div> method['method']()</div><div> File "/usr/share/ovirt-engine/setup<wbr>/bin/../plugins/ovirt-engine-<wbr>common/ovirt-engine/db/connect<wbr>ion.py", 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 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432</div><div><br></div></div></blockquote><div><br></div></div></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" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>78307/46/ovirt-engine.spec.in@<wbr>274</a></font><br></div><div><span style="color:rgb(0,0,0)"><br></span></div></div></div></div></blockquote><div><br></div><div>OK, understood.</div><div>The dependency on the postgres 9.5 client from scl was just on ovirt-engine and not on <span style="color:rgb(0,0,0)">ovirt-engine-setup-plugin-ovirt-engine-common as it should be.</span></div><div><br></div><div>OST upgrade test is correctly running</div><div> <span style="color:rgb(0,0,0)">yum -y update ovirt-*setup*</span></div><div><font color="#000000">updating just engine-setup from a local repo.</font></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">While I tested it instead I was updating all the rpms from my local build without building a local repo, that's why I didn't realized it, sorry!</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><font color="#000000"><a href="https://gerrit.ovirt.org/#/c/81476/">https://gerrit.ovirt.org/#/c/81476/</a> should address it.</font><br></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 class="gmail_extra"><div class="gmail_quote"><div><span style="color:rgb(0,0,0)"></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'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" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/2301/artifact/exported-<wbr>artifacts/upgrade-from-<wbr>prevrelease-suit-master-el7/<wbr>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 -> </span><span style="color:rgb(0,0,0)">4.2.0-0.0 and not 4.1 -> 4.2 as it should be (not sure why it's working).</span><font color="#000000"><br></font></div><div><font color="#000000"><br></font></div></div></div></div></blockquote><div><br></div><div>This is still an issue, not sure why our code doesn't detect it.<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 class="gmail_extra"><div class="gmail_quote"><div><font color="#000000"></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
--> Running transaction check
---> Package ovirt-engine-dwh-setup.noarch 0:4.0.6-1.el7.centos will be updated
---> Package ovirt-engine-dwh-setup.noarch 0:4.2.1-0.0.master.<wbr>20170903090219.el7.centos will be an update
---> Package ovirt-engine-extension-aaa-<wbr>ldap-setup.noarch 0:1.2.2-1.el7 will be updated
---> Package ovirt-engine-extension-aaa-<wbr>ldap-setup.noarch 0:1.3.5-0.0.master.git7230cd9.<wbr>el7.centos will be an update
--> Processing Dependency: ovirt-engine-extension-aaa-<wbr>ldap = 1.3.5-0.0.master.git7230cd9.<wbr>el7.centos for package: ovirt-engine-extension-aaa-<wbr>ldap-setup-1.3.5-0.0.master.<wbr>git7230cd9.el7.centos.noarch
---> Package ovirt-engine-setup.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup.noarch 0:4.2.0-0.0.master.<wbr>20170905115642.git4a0716e.el7.<wbr>centos will be an update
---> Package ovirt-engine-setup-base.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-base.noarch 0:4.2.0-0.0.master.<wbr>20170905115642.git4a0716e.el7.<wbr>centos will be an update
--> Processing Dependency: ovirt-engine-lib >= 4.2.0-0.0.master.<wbr>20170905115642.git4a0716e.el7.<wbr>centos for package: ovirt-engine-setup-base-4.2.0-<wbr>0.0.master.20170905115642.<wbr>git4a0716e.el7.centos.noarch
--> Processing Dependency: otopi >= 1.7.1 for package: ovirt-engine-setup-base-4.2.0-<wbr>0.0.master.20170905115642.<wbr>git4a0716e.el7.centos.noarch
---> Package ovirt-engine-setup-plugin-<wbr>ovirt-engine.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-plugin-<wbr>ovirt-engine.noarch 0:4.2.0-0.0.master.<wbr>20170905115642.git4a0716e.el7.<wbr>centos will be an update
---> Package ovirt-engine-setup-plugin-<wbr>ovirt-engine-common.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-plugin-<wbr>ovirt-engine-common.noarch 0:4.2.0-0.0.master.<wbr>20170905115642.git4a0716e.el7.<wbr>centos will be an update
---> Package ovirt-engine-setup-plugin-<wbr>vmconsole-proxy-helper.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-plugin-<wbr>vmconsole-proxy-helper.noarch 0:4.2.0-0.0.master.<wbr>20170905115642.git4a0716e.el7.<wbr>centos will be an update
---> Package ovirt-engine-setup-plugin-<wbr>websocket-proxy.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-plugin-<wbr>websocket-proxy.noarch 0:4.2.0-0.0.master.<wbr>20170905115642.git4a0716e.el7.<wbr>centos will be an update
---> Package ovirt-imageio-proxy-setup.<wbr>noarch 0:0.4.0-0.201608310602.<wbr>gita9b573b.el7.centos will be updated
---> Package ovirt-imageio-proxy-setup.<wbr>noarch 0:1.1.0-0.201708142346.<wbr>git4dd31c9.el7.centos will be an update
---> Package ovirt-setup-lib.noarch 0:1.0.2-1.el7.centos will be updated
---> Package ovirt-setup-lib.noarch 0:1.1.5-0.0.master.<wbr>20170823122959.git1480342.el7.<wbr>centos will be an update
--> Running transaction check
---> Package otopi.noarch 0:1.5.2-1.el7.centos will be updated
--> Processing Dependency: otopi = 1.5.2-1.el7.centos for package: otopi-java-1.5.2-1.el7.centos.<wbr>noarch
---> Package otopi.noarch 0:1.7.2-0.0.master.<wbr>20170816071636.git7a3278c.el7.<wbr>centos will be an update
---> Package ovirt-engine-extension-aaa-<wbr>ldap.noarch 0:1.2.2-1.el7 will be updated
---> Package ovirt-engine-extension-aaa-<wbr>ldap.noarch 0:1.3.5-0.0.master.git7230cd9.<wbr>el7.centos will be an update
---> Package ovirt-engine-lib.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-lib.noarch 0:4.2.0-0.0.master.<wbr>20170905115642.git4a0716e.el7.<wbr>centos will be an update
--> Running transaction check
---> Package otopi-java.noarch 0:1.5.2-1.el7.centos will be updated
---> Package otopi-java.noarch 0:1.7.2-0.0.master.<wbr>20170816071636.git7a3278c.el7.<wbr>centos will be an update
--> Finished Dependency Resolution</pre></div><span class="gmail-"><div><font color="#000000"><br></font></div></span></div></div></div></blockquote><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 class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><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></error></div><span class="gmail-m_2904221147368951500gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="gmail-m_2904221147368951500gmail-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></span></div><br></div></div>
</blockquote></div><br></div></div>