<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 17, 2017 at 2:59 PM, Anton Marchukov <span dir="ltr"><<a href="mailto:amarchuk@redhat.com" target="_blank">amarchuk@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">Hello All.<div><br></div><div>FYI. We started to see multiple master system tests failing in row with the following error in engine-setup logs [1]:</div><div><br></div><div><pre style="color:rgb(0,0,0)">2017-01-17 06:46:29 DEBUG otopi.ovirt_engine_setup.<wbr>engine_common.database database.getCredentials:1267 database connection failed
Traceback (most recent call last):
File "/usr/share/ovirt-engine/<wbr>setup/ovirt_engine_setup/<wbr>engine_common/database.py", line 1265, in getCredentials
] = self.isNewDatabase()
File "/usr/share/ovirt-engine/<wbr>setup/ovirt_engine_setup/<wbr>engine_common/database.py", line 370, in isNewDatabase
transaction=False,
File "/usr/share/ovirt-engine/<wbr>setup/ovirt_engine_setup/<wbr>engine_common/database.py", line 191, in execute
database=database,
File "/usr/share/ovirt-engine/<wbr>setup/ovirt_engine_setup/<wbr>engine_common/database.py", line 125, in connect
sslmode=sslmode,
File "/usr/lib64/python2.7/site-<wbr>packages/psycopg2/__init__.py"<wbr>, line 164, in connect
conn = _connect(dsn, connection_factory=connection_<wbr>factory, async=async)
OperationalError: could not connect to server: Connection refused
        Is the server running on host "localhost" (::1) and accepting
        TCP/IP connections on port 5432?
could not connect to server: Connection refused
        Is the server running on host "localhost" (127.0.0.1) and accepting
        TCP/IP connections on port 5432?
</pre></div><div>3 jobs in row [2], [3], [4] currently failed due to this, so I suspect it is regression somewhere.</div></div></blockquote><div><br></div><div>The referenced log finishes with 'Execution of setup completed successfully',<br></div><div>so it's ok.<br><br></div><div>The above error is harmless, and appears in the log for every setup that uses<br></div><div>automatic db provisioning. We might be able to get rid of it, to ease searching<br></div><div>setup logs for real errors, not sure how easy it is. Please open a bug if you want.<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><br></div><div>It started around engine patch [5]:</div><div></div><div><br>Change 69927 - Merged<br>packaging: ovirt-engine-hosts-ansible-<wbr>inventory: Init groups So that they always exist, even if empty. Change-Id: If0169b60012ab444c193853631688<wbr>32f6cd151ab</div></div></blockquote><div><br></div><div>I don't think it's related. Anton later said in private that the error was:<br><br><a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/4791/artifact/exported-artifacts/basic_suite_master.sh-el7/exported-artifacts/test_logs/basic-suite-master/post-001_initialize_engine.py/lago-basic-suite-master-engine/_var_log/ovirt-engine-dwh/ovirt-engine-dwhd.log">http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/4791/artifact/exported-artifacts/basic_suite_master.sh-el7/exported-artifacts/test_logs/basic-suite-master/post-001_initialize_engine.py/lago-basic-suite-master-engine/_var_log/ovirt-engine-dwh/ovirt-engine-dwhd.log</a><br><br></div><div>Adding Shirly.<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><table class="gmail-m_-8221322285790014577gmail-com-google-gerrit-client-change-ChangeScreen_BinderImpl_GenCss_style-infoTable" style="color:rgb(53,53,53);font-family:sans-serif"><tbody><tr><td class="gmail-m_-8221322285790014577gmail-com-google-gerrit-client-change-ChangeScreen_BinderImpl_GenCss_style-commitColumn" style="padding:0px;vertical-align:top;width:560px">Bug-Url: <a href="https://bugzilla.redhat.com/1405813" target="_blank">https://bugzilla.redhat.com/<wbr>1405813</a><br><br>however I am not sure of that is the cause or not. Will reply to this message if I get any updates.<br><br>Thanks,</td></tr></tbody></table></div><div><br></div><div>[1] <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/4789/artifact/exported-artifacts/basic_suite_master.sh-el7/exported-artifacts/test_logs/basic-suite-master/post-001_initialize_engine.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/setup/ovirt-engine-setup-20170117064623-x8tmgl.log" target="_blank">http://jenkins.ovirt.org/<wbr>job/test-repo_ovirt_<wbr>experimental_master/4789/<wbr>artifact/exported-artifacts/<wbr>basic_suite_master.sh-el7/<wbr>exported-artifacts/test_logs/<wbr>basic-suite-master/post-001_<wbr>initialize_engine.py/lago-<wbr>basic-suite-master-engine/_<wbr>var_log/ovirt-engine/setup/<wbr>ovirt-engine-setup-<wbr>20170117064623-x8tmgl.log</a></div><div>[2] <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/4789/" target="_blank">http://jenkins.ovirt.org/<wbr>job/test-repo_ovirt_<wbr>experimental_master/4789/</a></div><div>[3] <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/4790/" target="_blank">http://jenkins.ovirt.org/<wbr>job/test-repo_ovirt_<wbr>experimental_master/4790/</a></div><div>[4] <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/4791/" target="_blank">http://jenkins.ovirt.org/<wbr>job/test-repo_ovirt_<wbr>experimental_master/4791/</a></div><div>[5] <a href="https://gerrit.ovirt.org/#/c/69927/" target="_blank">https://gerrit.ovirt.org/#<wbr>/c/69927/</a></div><span class="gmail-HOEnZb"><font color="#888888"><div><br clear="all"><div><br></div>-- <br><div class="gmail-m_-8221322285790014577gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div>Anton Marchukov<br>Senior Software Engineer - <span><span><font color="#888888"><span><span><font color="#888888"><span><span><font color="#888888">RHEV CI - </font></span></span></font></span></span>Red Hat</font></span></span><br><br></div></font></span></div></div></div></div>
</div></font></span></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"><br>-- <br><div class="gmail_signature">Didi<br></div>
</div></div>