<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 5, 2017 at 8:11 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">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="m_-7827878541844032023gmail-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-suit<wbr>-master-el7/test_logs/upgrade-<wbr>from-release-suite-master/<wbr>post-001_upgrade_engine.py/<wbr>lago-upgrade-from-release-suit<wbr>e-master-engine/_var_log/ovirt<wbr>-engine/setup/ovirt-engine-<wbr>setup-20170905092844-6p7cux.<wbr>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-c<wbr>ommon/ovirt-engine/db/connecti<wbr>on.py", line 141, in _setup</div><div> ] = dbovirtutils.checkDBMSUpgrade(<wbr>)</div><div> File "/usr/share/ovirt-engine/setup<wbr>/ovirt_engine_setup/engine_com<wbr>mon/database.py", line 490, in checkDBMSUpgrade</div><div> self.checkClientVersion()</div><div> File "/usr/share/ovirt-engine/setup<wbr>/ovirt_engine_setup/engine_com<wbr>mon/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-c<wbr>ommon/ovirt-engine/db/connecti<wbr>on.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/7<wbr>8307/46/ovirt-engine.spec.in@2<wbr>74</a></font><br></div><div><span style="color:rgb(0,0,0)"><br></span></div></div></div></div></blockquote><div><br></div></div></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-<wbr>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/" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>81476/</a> should address it.</font><br></div><span class=""><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/o<wbr>virt-master_change-queue-teste<wbr>r/2301/artifact/exported-artif<wbr>acts/upgrade-from-prevrelease-<wbr>suit-master-el7/lago_logs/<wbr>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></span><div>This is still an issue, not sure why our code doesn't detect it.<br></div></div></div></div></blockquote><div><br></div><div>I think we are testing both: </div><div> upgrade from prev-release is testing 4.0->4.2 ( so 2 versions back )</div><div> upgrade from release is testing 4.1->4.2 ( 1 version back )</div><div><br></div><div>If we shouldn't test upgrade from 4.0->4.2, or don't support it, then we should drop this suite.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><div class="h5"><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.20170903090<wbr>219.el7.centos will be an update
---> Package ovirt-engine-extension-aaa-lda<wbr>p-setup.noarch 0:1.2.2-1.el7 will be updated
---> Package ovirt-engine-extension-aaa-lda<wbr>p-setup.noarch 0:1.3.5-0.0.master.git7230cd9.<wbr>el7.centos will be an update
--> Processing Dependency: ovirt-engine-extension-aaa-lda<wbr>p = 1.3.5-0.0.master.git7230cd9.el<wbr>7.centos for package: ovirt-engine-extension-aaa-lda<wbr>p-setup-1.3.5-0.0.master.git72<wbr>30cd9.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.20170905115<wbr>642.git4a0716e.el7.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.20170905115<wbr>642.git4a0716e.el7.centos will be an update
--> Processing Dependency: ovirt-engine-lib >= 4.2.0-0.0.master.2017090511564<wbr>2.git4a0716e.el7.centos for package: ovirt-engine-setup-base-4.2.0-<wbr>0.0.master.20170905115642.git4<wbr>a0716e.el7.centos.noarch
--> Processing Dependency: otopi >= 1.7.1 for package: ovirt-engine-setup-base-4.2.0-<wbr>0.0.master.20170905115642.git4<wbr>a0716e.el7.centos.noarch
---> Package ovirt-engine-setup-plugin-ovir<wbr>t-engine.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-plugin-ovir<wbr>t-engine.noarch 0:4.2.0-0.0.master.20170905115<wbr>642.git4a0716e.el7.centos will be an update
---> Package ovirt-engine-setup-plugin-ovir<wbr>t-engine-common.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-plugin-ovir<wbr>t-engine-common.noarch 0:4.2.0-0.0.master.20170905115<wbr>642.git4a0716e.el7.centos will be an update
---> Package ovirt-engine-setup-plugin-vmco<wbr>nsole-proxy-helper.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-plugin-vmco<wbr>nsole-proxy-helper.noarch 0:4.2.0-0.0.master.20170905115<wbr>642.git4a0716e.el7.centos will be an update
---> Package ovirt-engine-setup-plugin-webs<wbr>ocket-proxy.noarch 0:4.0.6.3-1.el7.centos will be updated
---> Package ovirt-engine-setup-plugin-webs<wbr>ocket-proxy.noarch 0:4.2.0-0.0.master.20170905115<wbr>642.git4a0716e.el7.centos will be an update
---> Package ovirt-imageio-proxy-setup.noar<wbr>ch 0:0.4.0-0.201608310602.gita9b5<wbr>73b.el7.centos will be updated
---> Package ovirt-imageio-proxy-setup.noar<wbr>ch 0:1.1.0-0.201708142346.git4dd3<wbr>1c9.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.20170823122<wbr>959.git1480342.el7.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.20170816071<wbr>636.git7a3278c.el7.centos will be an update
---> Package ovirt-engine-extension-aaa-lda<wbr>p.noarch 0:1.2.2-1.el7 will be updated
---> Package ovirt-engine-extension-aaa-lda<wbr>p.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.20170905115<wbr>642.git4a0716e.el7.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.20170816071<wbr>636.git7a3278c.el7.centos will be an update
--> Finished Dependency Resolution</pre></div><span class="m_-7827878541844032023gmail-"><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="m_-7827878541844032023gmail-"><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="m_-7827878541844032023gmail-m_2904221147368951500gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-7827878541844032023gmail-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></div></div><br></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="font-family:overpass,sans-serif;margin:0px;padding:0px;font-size:14px;text-transform:uppercase;font-weight:bold"><font color="#cc0000">Eyal edri</font></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><br></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">ASSOCIATE MANAGER</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">RHV DevOps</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">EMEA VIRTUALIZATION R&D</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><br></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat EMEA</a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" style="color:rgb(17,85,204)" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></td></tr></tbody></table></div><div>phone: +972-9-7692018<br>irc: eedri (on #tlv #rhev-dev #rhev-integ)</div></div></div></div></div></div></div></div></div>
</div></div>