Skip Menu |

This queue is for tickets about the Quiq CPAN distribution.

Report information
The Basics
Id: 129277
Status: resolved
Priority: 0/
Queue: Quiq

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.137
Fixed in: (no value)



Subject: t/bin/Quiq/Database/Connection.t fails on some systems
See subject. Excerpt of test log: ... # Failed test 'Exception: # PATH-00003: Setzen von Zugriffsrechten fehlgeschlagen # Path: # /tmp/test.db # Mode: # 384 # Stacktrace: # Quiq::Test::Class::runTests() [+1383 t/bin/Quiq/Database/Connection.t] # (eval) [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] # Quiq::Database::Connection::Test::test_new_startup() [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] # Quiq::Path::chmod() [+69 t/bin/Quiq/Database/Connection.t] # Quiq::Object::throw() [+1607 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Path.pm] # Quiq::Stacktrace::asString() [+252 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Object.pm] # ' # at t/bin/Quiq/Database/Connection.t line 1383. # Failed test 'Exception: # TEST-00002: Unbekanntes Attribut # Key: # db # Stacktrace: # Quiq::Test::Class::runTests() [+1383 t/bin/Quiq/Database/Connection.t] # (eval) [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] # Quiq::Database::Connection::Test::test_new_doublette() [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] # Quiq::Test::Class::get() [+150 t/bin/Quiq/Database/Connection.t] # Quiq::Object::throw() [+266 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] # Quiq::Stacktrace::asString() [+252 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Object.pm] # ' # at t/bin/Quiq/Database/Connection.t line 1383. ... (etc) ... I don't see the reason for this failure --- it does not seem to depend on os or perl versions; the failure may happen with perl 5.10.1 or 5.28.2, on freebsd or linux.
Subject: Re: [rt.cpan.org #129277] t/bin/Quiq/Database/Connection.t fails on some systems
Date: Mon, 22 Apr 2019 17:17:39 +0200
To: bug-Quiq [...] rt.cpan.org
From: Frank Seitz <fs [...] fseitz.de>
On 4/22/19 12:43 PM, Slaven_Rezic via RT wrote: Show quoted text
> Mon Apr 22 06:43:32 2019: Request 129277 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Quiq > Subject: t/bin/Quiq/Database/Connection.t fails on some systems > Broken in: 1.137 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=129277 > > > > See subject. Excerpt of test log: > > ... > # Failed test 'Exception: > # PATH-00003: Setzen von Zugriffsrechten fehlgeschlagen > # Path: > # /tmp/test.db > # Mode: > # 384 > # Stacktrace: > # Quiq::Test::Class::runTests() [+1383 t/bin/Quiq/Database/Connection.t] > # (eval) [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] > # Quiq::Database::Connection::Test::test_new_startup() [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] > # Quiq::Path::chmod() [+69 t/bin/Quiq/Database/Connection.t] > # Quiq::Object::throw() [+1607 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Path.pm] > # Quiq::Stacktrace::asString() [+252 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Object.pm] > # ' > # at t/bin/Quiq/Database/Connection.t line 1383. > > # Failed test 'Exception: > # TEST-00002: Unbekanntes Attribut > # Key: > # db > # Stacktrace: > # Quiq::Test::Class::runTests() [+1383 t/bin/Quiq/Database/Connection.t] > # (eval) [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] > # Quiq::Database::Connection::Test::test_new_doublette() [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] > # Quiq::Test::Class::get() [+150 t/bin/Quiq/Database/Connection.t] > # Quiq::Object::throw() [+266 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Test/Class.pm] > # Quiq::Stacktrace::asString() [+252 /home/cpansand/.cpan/build/2019042208/Quiq-1.137-0/blib/lib/Quiq/Object.pm] > # ' > # at t/bin/Quiq/Database/Connection.t line 1383. > ... (etc) ... > > I don't see the reason for this failure --- it does not seem to depend on os or perl versions; the failure may happen with perl 5.10.1 or 5.28.2, on freebsd or linux.
I have seen this problem but have no idea how to solve it. It seems to depend on the test environment. I have tried to set the file permission on the database file explicitly but this fails for some reason, too. Any hints would be greatly appreciated. Regards Frank -- Dipl.-Inform. Frank Seitz IT Consultant / {Web, Database, Linux} Developer + Admin Tel: +49-176-78243503, Hauptstr. 32-34, D-25462 Rellingen Blog: http://fseitz.de/blog
RT-Send-CC: fs [...] fseitz.de
On 2019-04-22 11:23:53, fs@fseitz.de wrote: Show quoted text
> On 4/22/19 12:43 PM, Slaven_Rezic via RT wrote:
> > Mon Apr 22 06:43:32 2019: Request 129277 was acted upon. > > Transaction: Ticket created by SREZIC > > Queue: Quiq > > Subject: t/bin/Quiq/Database/Connection.t fails on some systems > > Broken in: 1.137 > > Severity: (no value) > > Owner: Nobody > > Requestors: SREZIC@cpan.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=129277 > > > > > > > See subject. Excerpt of test log: > > > > ... > > # Failed test 'Exception: > > # PATH-00003: Setzen von Zugriffsrechten fehlgeschlagen > > # Path: > > # /tmp/test.db > > # Mode: > > # 384 > > # Stacktrace: > > # Quiq::Test::Class::runTests() [+1383 > > t/bin/Quiq/Database/Connection.t] > > # (eval) [+577 /home/cpansand/.cpan/build/2019042208/Quiq- > > 1.137-0/blib/lib/Quiq/Test/Class.pm] > > # Quiq::Database::Connection::Test::test_new_startup() [+577 > > /home/cpansand/.cpan/build/2019042208/Quiq-1.137- > > 0/blib/lib/Quiq/Test/Class.pm] > > # Quiq::Path::chmod() [+69 > > t/bin/Quiq/Database/Connection.t] > > # Quiq::Object::throw() [+1607 > > /home/cpansand/.cpan/build/2019042208/Quiq-1.137- > > 0/blib/lib/Quiq/Path.pm] > > # Quiq::Stacktrace::asString() [+252 > > /home/cpansand/.cpan/build/2019042208/Quiq-1.137- > > 0/blib/lib/Quiq/Object.pm] > > # ' > > # at t/bin/Quiq/Database/Connection.t line 1383. > > > > # Failed test 'Exception: > > # TEST-00002: Unbekanntes Attribut > > # Key: > > # db > > # Stacktrace: > > # Quiq::Test::Class::runTests() [+1383 > > t/bin/Quiq/Database/Connection.t] > > # (eval) [+577 /home/cpansand/.cpan/build/2019042208/Quiq- > > 1.137-0/blib/lib/Quiq/Test/Class.pm] > > # Quiq::Database::Connection::Test::test_new_doublette() > > [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137- > > 0/blib/lib/Quiq/Test/Class.pm] > > # Quiq::Test::Class::get() [+150 > > t/bin/Quiq/Database/Connection.t] > > # Quiq::Object::throw() [+266 > > /home/cpansand/.cpan/build/2019042208/Quiq-1.137- > > 0/blib/lib/Quiq/Test/Class.pm] > > # Quiq::Stacktrace::asString() [+252 > > /home/cpansand/.cpan/build/2019042208/Quiq-1.137- > > 0/blib/lib/Quiq/Object.pm] > > # ' > > # at t/bin/Quiq/Database/Connection.t line 1383. > > ... (etc) ... > > > > I don't see the reason for this failure --- it does not seem to > > depend on os or perl versions; the failure may happen with perl > > 5.10.1 or 5.28.2, on freebsd or linux.
> > I have seen this problem but have no idea how to solve it. It seems to > depend on the test environment. I have tried > to set the file permission on the database file explicitly but this > fails for some reason, too. > Any hints would be greatly appreciated.
The problem does not happen anymore with 1.138, it seems. Was there an intended change for fixing this problem?
Subject: Re: [rt.cpan.org #129277] t/bin/Quiq/Database/Connection.t fails on some systems
Date: Wed, 24 Apr 2019 18:09:50 +0200
To: bug-Quiq [...] rt.cpan.org
From: Frank Seitz <fs [...] fseitz.de>
On 4/24/19 1:39 PM, Slaven_Rezic via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=129277 > > > On 2019-04-22 11:23:53, fs@fseitz.de wrote:
>> On 4/22/19 12:43 PM, Slaven_Rezic via RT wrote:
>>> Mon Apr 22 06:43:32 2019: Request 129277 was acted upon. >>> Transaction: Ticket created by SREZIC >>> Queue: Quiq >>> Subject: t/bin/Quiq/Database/Connection.t fails on some systems >>> Broken in: 1.137 >>> Severity: (no value) >>> Owner: Nobody >>> Requestors: SREZIC@cpan.org >>> Status: new >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=129277 > >>> >>> >>> See subject. Excerpt of test log: >>> >>> ... >>> # Failed test 'Exception: >>> # PATH-00003: Setzen von Zugriffsrechten fehlgeschlagen >>> # Path: >>> # /tmp/test.db >>> # Mode: >>> # 384 >>> # Stacktrace: >>> # Quiq::Test::Class::runTests() [+1383 >>> t/bin/Quiq/Database/Connection.t] >>> # (eval) [+577 /home/cpansand/.cpan/build/2019042208/Quiq- >>> 1.137-0/blib/lib/Quiq/Test/Class.pm] >>> # Quiq::Database::Connection::Test::test_new_startup() [+577 >>> /home/cpansand/.cpan/build/2019042208/Quiq-1.137- >>> 0/blib/lib/Quiq/Test/Class.pm] >>> # Quiq::Path::chmod() [+69 >>> t/bin/Quiq/Database/Connection.t] >>> # Quiq::Object::throw() [+1607 >>> /home/cpansand/.cpan/build/2019042208/Quiq-1.137- >>> 0/blib/lib/Quiq/Path.pm] >>> # Quiq::Stacktrace::asString() [+252 >>> /home/cpansand/.cpan/build/2019042208/Quiq-1.137- >>> 0/blib/lib/Quiq/Object.pm] >>> # ' >>> # at t/bin/Quiq/Database/Connection.t line 1383. >>> >>> # Failed test 'Exception: >>> # TEST-00002: Unbekanntes Attribut >>> # Key: >>> # db >>> # Stacktrace: >>> # Quiq::Test::Class::runTests() [+1383 >>> t/bin/Quiq/Database/Connection.t] >>> # (eval) [+577 /home/cpansand/.cpan/build/2019042208/Quiq- >>> 1.137-0/blib/lib/Quiq/Test/Class.pm] >>> # Quiq::Database::Connection::Test::test_new_doublette() >>> [+577 /home/cpansand/.cpan/build/2019042208/Quiq-1.137- >>> 0/blib/lib/Quiq/Test/Class.pm] >>> # Quiq::Test::Class::get() [+150 >>> t/bin/Quiq/Database/Connection.t] >>> # Quiq::Object::throw() [+266 >>> /home/cpansand/.cpan/build/2019042208/Quiq-1.137- >>> 0/blib/lib/Quiq/Test/Class.pm] >>> # Quiq::Stacktrace::asString() [+252 >>> /home/cpansand/.cpan/build/2019042208/Quiq-1.137- >>> 0/blib/lib/Quiq/Object.pm] >>> # ' >>> # at t/bin/Quiq/Database/Connection.t line 1383. >>> ... (etc) ... >>> >>> I don't see the reason for this failure --- it does not seem to >>> depend on os or perl versions; the failure may happen with perl >>> 5.10.1 or 5.28.2, on freebsd or linux.
>> I have seen this problem but have no idea how to solve it. It seems to >> depend on the test environment. I have tried >> to set the file permission on the database file explicitly but this >> fails for some reason, too. >> Any hints would be greatly appreciated.
> The problem does not happen anymore with 1.138, it seems. Was there an intended change for fixing this problem?
No, not really. I removed a chmod() call that I introduced before to solve this problem that occurs on some test systems: http://www.cpantesters.org/cpan/report/9898cdfe-6516-11e9-8a03-8d604eb4010e Regards Frank -- Dipl.-Inform. Frank Seitz IT Consultant / {Web, Database, Linux} Developer + Admin Tel: +49-176-78243503, Hauptstr. 32-34, D-25462 Rellingen Blog: http://fseitz.de/blog
Problem solved.