https://bugzilla.redhat.com/show_bug.cgi?id=2456523

Petr Pisar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|                            |NotReady



--- Comment #2 from Petr Pisar <[email protected]> ---
The %check phase fails on postgresql tests when run as root:

# Failed test 'use_it'
# at t/Drivers/PostgreSQL.t line 69.
# Caught exception in subtest: Timed out waiting for server to start
#  at
/builddir/build/BUILD/perl-DBIx-QuickDB-0.000041-build/DBIx-QuickDB-0.000041/blib/lib/DBIx/QuickDB/Driver.pm
line 322.
#      
DBIx::QuickDB::Driver::start(DBIx::QuickDB::Driver::PostgreSQL=HASH(0xaaaafc898590))
called at
/builddir/build/BUILD/perl-DBIx-QuickDB-0.000041-build/DBIx-QuickDB-0.000041/blib/lib/DBIx/QuickDB/Driver/PostgreSQL.pm
line 200
#      
DBIx::QuickDB::Driver::PostgreSQL::bootstrap(DBIx::QuickDB::Driver::PostgreSQL=HASH(0xaaaafc898590))
called at
/builddir/build/BUILD/perl-DBIx-QuickDB-0.000041-build/DBIx-QuickDB-0.000041/blib/lib/DBIx/QuickDB.pm
line 73
#       DBIx::QuickDB::build_db("DBIx::QuickDB", "db", HASH(0xaaaafc898500))
called at
/builddir/build/BUILD/perl-DBIx-QuickDB-0.000041-build/DBIx-QuickDB-0.000041/blib/lib/Test2/Tools/QuickDB.pm
line 70
#       Test2::Tools::QuickDB::get_db("db", HASH(0xaaaafc898500)) called at
t/Drivers/PostgreSQL.t line 24
#       main::__ANON__() called at /usr/share/perl5/vendor_perl/Test2/API.pm
line 718
#       eval {...} called at /usr/share/perl5/vendor_perl/Test2/API.pm line 718
#       Test2::API::run_subtest("use_it", CODE(0xaaaafc8933f8),
HASH(0xaaaafc8818f8)) called at
/usr/share/perl5/vendor_perl/Test2/Tools/Subtest.pm line 34
#       Test2::Tools::Subtest::subtest_buffered("use_it", CODE(0xaaaafc8933f8))
called at t/Drivers/PostgreSQL.t line 69
# Failed test 'cleanup'
# at t/Drivers/PostgreSQL.t line 94.
# Caught exception in subtest: Timed out waiting for server to start
#  at
/builddir/build/BUILD/perl-DBIx-QuickDB-0.000041-build/DBIx-QuickDB-0.000041/blib/lib/DBIx/QuickDB/Driver.pm
line 322.
#      
DBIx::QuickDB::Driver::start(DBIx::QuickDB::Driver::PostgreSQL=HASH(0xaaaafdbac890))
called at
/builddir/build/BUILD/perl-DBIx-QuickDB-0.000041-build/DBIx-QuickDB-0.000041/blib/lib/DBIx/QuickDB/Driver/PostgreSQL.pm
line 200
#      
DBIx::QuickDB::Driver::PostgreSQL::bootstrap(DBIx::QuickDB::Driver::PostgreSQL=HASH(0xaaaafdbac890))
called at
/builddir/build/BUILD/perl-DBIx-QuickDB-0.000041-build/DBIx-QuickDB-0.000041/blib/lib/DBIx/QuickDB.pm
line 73
#       DBIx::QuickDB::build_db("DBIx::QuickDB", HASH(0xaaaafc8985c0)) called
at
/builddir/build/BUILD/perl-DBIx-QuickDB-0.000041-build/DBIx-QuickDB-0.000041/blib/lib/Test2/Tools/QuickDB.pm
line 70
#       Test2::Tools::QuickDB::get_db(HASH(0xaaaafc8985c0)) called at
t/Drivers/PostgreSQL.t line 72
#       main::__ANON__() called at /usr/share/perl5/vendor_perl/Test2/API.pm
line 718
#       eval {...} called at /usr/share/perl5/vendor_perl/Test2/API.pm line 718
#       Test2::API::run_subtest("cleanup", CODE(0xaaaafdb4b2f0),
HASH(0xaaaafc8818f8)) called at
/usr/share/perl5/vendor_perl/Test2/Tools/Subtest.pm line 34
#       Test2::Tools::Subtest::subtest_buffered("cleanup",
CODE(0xaaaafdb4b2f0)) called at t/Drivers/PostgreSQL.t line 94
# Seeded srand with seed '20260430' from local date.
t/Drivers/PostgreSQL.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests

When running the test directly by perl as root:

# perl -Ilib t/Drivers/PostgreSQL.t
# Seeded srand with seed '20260430' from local date.
not ok 1 - use_it {
}
# Failed test 'use_it'
# at t/Drivers/PostgreSQL.t line 68.
# Caught exception in subtest: Failed to run command '/usr/bin/initdb -E UTF8
--no-locale -A trust -D /tmp/DB-QUICK-YhtgwTwg/data' (256)
# initdb: error: cannot be run as root
# initdb: hint: Please log in (using, e.g., "su") as the (unprivileged) user
that will own the server process.
#  at lib/DBIx/QuickDB.pm line 73.
not ok 2 - cleanup {
}
[...]

So it is a property of /usr/bin/initdb. I will bring this failure to
DBIx-QuickDB upstream.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2456523

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202456523%23c2

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to