Skip Menu |

This queue is for tickets about the Prty CPAN distribution.

Report information
The Basics
Id: 127428
Status: resolved
Priority: 0/
Queue: Prty

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

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



Subject: t/bin/Prty/Html/Pygments.t fails on some systems
On some of my smoker systems the test suite fails: ... # Failed test 'Exception: # CMD-00002: Kommando endete mit Fehler # ExitCode: # 127 # Command: # (pygmentize -f html -S default -a D-U-M-M-Y) 2>/dev/null # Cwd: # /home/cpansand/.cpan/build/2018102118/Prty-1.125-1 # Stacktrace: # Prty::Test::Class::runTests() [+53 t/bin/Prty/Html/Pygments.t] # (eval) [+577 /home/cpansand/.cpan/build/2018102118/Prty-1.125-1/blib/lib/Prty/Test/Class.pm] # Prty::Html::Pygments::Test::test_unitTest() [+577 /home/cpansand/.cpan/build/2018102118/Prty-1.125-1/blib/lib/Prty/Test/Class.pm] # Prty::Html::Pygments::css() [+25 t/bin/Prty/Html/Pygments.t] # Prty::Shell::exec() [+155 /home/cpansand/.cpan/build/2018102118/Prty-1.125-1/blib/lib/Prty/Html/Pygments.pm] # Prty::Shell::checkError() [+347 /home/cpansand/.cpan/build/2018102118/Prty-1.125-1/blib/lib/Prty/Shell.pm] # Prty::Object::throw() [+527 /home/cpansand/.cpan/build/2018102118/Prty-1.125-1/blib/lib/Prty/Shell.pm] # Prty::Stacktrace::asString() [+252 /home/cpansand/.cpan/build/2018102118/Prty-1.125-1/blib/lib/Prty/Object.pm] # ' # at t/bin/Prty/Html/Pygments.t line 53. # Looks like you failed 1 test of 5. t/bin/Prty/Html/Pygments.t ...................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests (less 3 skipped subtests: 1 okay) ... I don't see a pattern on which systems it is failing (regarding perl version or OS).
On 2018-10-24 08:44:50, SREZIC wrote: Show quoted text
> On some of my smoker systems the test suite fails: > > ... > # Failed test 'Exception: > # CMD-00002: Kommando endete mit Fehler > # ExitCode: > # 127 > # Command: > # (pygmentize -f html -S default -a D-U-M-M-Y) 2>/dev/null > # Cwd: > # /home/cpansand/.cpan/build/2018102118/Prty-1.125-1 > # Stacktrace: > # Prty::Test::Class::runTests() [+53 t/bin/Prty/Html/Pygments.t] > # (eval) [+577 /home/cpansand/.cpan/build/2018102118/Prty-1.125- > 1/blib/lib/Prty/Test/Class.pm] > # Prty::Html::Pygments::Test::test_unitTest() [+577 > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > 1/blib/lib/Prty/Test/Class.pm] > # Prty::Html::Pygments::css() [+25 > t/bin/Prty/Html/Pygments.t] > # Prty::Shell::exec() [+155 > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > 1/blib/lib/Prty/Html/Pygments.pm] > # Prty::Shell::checkError() [+347 > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > 1/blib/lib/Prty/Shell.pm] > # Prty::Object::throw() [+527 > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > 1/blib/lib/Prty/Shell.pm] > # Prty::Stacktrace::asString() [+252 > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > 1/blib/lib/Prty/Object.pm] > # ' > # at t/bin/Prty/Html/Pygments.t line 53. > # Looks like you failed 1 test of 5. > t/bin/Prty/Html/Pygments.t ...................... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/5 subtests > (less 3 skipped subtests: 1 okay) > ... > > > I don't see a pattern on which systems it is failing (regarding perl > version or OS).
Maybe the test relies on the existence of the python-pygments package...
Am Mi 24. Okt 2018, 09:42:06, SREZIC schrieb: Show quoted text
> On 2018-10-24 08:44:50, SREZIC wrote:
> > On some of my smoker systems the test suite fails: > > > > ... > > # Failed test 'Exception: > > # CMD-00002: Kommando endete mit Fehler > > # ExitCode: > > # 127 > > # Command: > > # (pygmentize -f html -S default -a D-U-M-M-Y) 2>/dev/null > > # Cwd: > > # /home/cpansand/.cpan/build/2018102118/Prty-1.125-1 > > # Stacktrace: > > # Prty::Test::Class::runTests() [+53 t/bin/Prty/Html/Pygments.t] > > # (eval) [+577 /home/cpansand/.cpan/build/2018102118/Prty-1.125- > > 1/blib/lib/Prty/Test/Class.pm] > > # Prty::Html::Pygments::Test::test_unitTest() [+577 > > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > > 1/blib/lib/Prty/Test/Class.pm] > > # Prty::Html::Pygments::css() [+25 > > t/bin/Prty/Html/Pygments.t] > > # Prty::Shell::exec() [+155 > > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > > 1/blib/lib/Prty/Html/Pygments.pm] > > # Prty::Shell::checkError() [+347 > > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > > 1/blib/lib/Prty/Shell.pm] > > # Prty::Object::throw() [+527 > > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > > 1/blib/lib/Prty/Shell.pm] > > # Prty::Stacktrace::asString() [+252 > > /home/cpansand/.cpan/build/2018102118/Prty-1.125- > > 1/blib/lib/Prty/Object.pm] > > # ' > > # at t/bin/Prty/Html/Pygments.t line 53. > > # Looks like you failed 1 test of 5. > > t/bin/Prty/Html/Pygments.t ...................... > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/5 subtests > > (less 3 skipped subtests: 1 okay) > > ... > > > > > > I don't see a pattern on which systems it is failing (regarding perl > > version or OS).
> > Maybe the test relies on the existence of the python-pygments package...
Ja, völlig richtig. Habe den Test angepasst, so dass er übersprungen wird, wenn pygments nicht installiert ist. Besten Dank. Grüße Frank
Sollte in 1.126 kein Problem mehr sein