Project

General

Profile

Actions

action #110089

closed

openQA in openQA: openqa_webui failing because postgresql is not installed

Added by tinita about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2022-04-19
Due date:
2022-05-05
% Done:

0%

Estimated time:

Description

Observation

https://openqa.opensuse.org/tests/2304383#step/openqa_webui/24
https://openqa.opensuse.org/tests/2304383/logfile?filename=serial0.txt

[  123.146447] openqa-webui-daemon[3075]: Error when trying to get the database version: DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI connect('dbname=openqa','',...) failed: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
[  123.151651] openqa-webui-daemon[3075]:   Is the server running locally and accepting connections on that socket? at /usr/lib/perl5/vendor_perl/5.34.0/DBIx/Class/Storage/DBI.pm line 1639. at inline delegation in DBIx::Class::DeploymentHandler::VersionStorage::Standard for version_rs->database_version (attribute declared in /usr/lib/perl5/vendor_perl/5.34.0/DBIx/Class/DeploymentHandler/VersionStorage/Standard.pm at line 26) line 18
[  123.163510] openqa-webui-daemon[3075]: DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI connect('dbname=openqa','',...) failed: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory

In the logs I can see that openQA-local-db and openQA-worker are not installed, but in a passing test they are.

Suggestions

  • check if the zypper config changed to not install recommended packages anymore
Actions

Also available in: Atom PDF