Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 675002

Summary: app-text/po4a-0.54: (freebsd) Failed 1/24 test programs. 1/448 subtests failed.
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Akinori Hattori <hattya>
Status: RESOLVED OBSOLETE    
Severity: normal CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 674834    
Attachments: app-text:po4a-0.54:20190109-153758.log
e-info.txt
app-text:po4a-0.55:20190116-081016.log

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-01-09 15:47:44 UTC
Created attachment 560492 [details]
app-text:po4a-0.54:20190109-153758.log

Not really sure how to read this.  Apparently there's some invalid touch(1) usage but not sure if that's the exact/only reason tests fail.

t/05-config.t ......... 66/95 touch: out of range or illegal time specification: YYYY-MM-DDThh:mm:SS[.frac][tz]

#   Failed test 'Check that no-update actually does not update the po file runs'
#   at t/05-config.t line 180.
# cp t-05-config/test00.fr.po tmp && printf "\n#. Fake entry\nmsgid \"This entry will disappear if pofile is updated\"\nmsgstr \"\"\n" >> tmp/test00.fr.po && touch -d "2 hours ago" tmp/test00.fr.po && LC_ALL=C COLUMNS=80 perl ../po4a --no-update t-05-config/test00.conf >> tmp/test09.err 2>&1
# Looks like you planned 95 tests but ran 93.
# Looks like you failed 1 test of 93 run.
t/05-config.t ......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 3/95 subtests 
	(less 1 skipped subtest: 91 okay)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-01-09 15:49:56 UTC
Created attachment 560494 [details]
e-info.txt
Comment 2 Mike Gilbert gentoo-dev 2019-01-16 02:26:15 UTC
Can you give 0.55 a try? Maybe it was magically fixed.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-01-16 08:13:30 UTC
Created attachment 561412 [details]
app-text:po4a-0.55:20190116-081016.log

Test Summary Report
-------------------
t/05-config.t       (Wstat: 256 Tests: 93 Failed: 1)
  Failed test:  88
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 95 tests but ran 93.
t/12-msguntypot.t   (Wstat: 0 Tests: 16 Failed: 0)
  TODO passed:   5
t/19-tex.t          (Wstat: 256 Tests: 6 Failed: 1)
  Failed test:  6
  Non-zero exit status: 1
t/20-text.t         (Wstat: 0 Tests: 22 Failed: 0)
  TODO passed:   19
Files=24, Tests=421, 23 wallclock secs ( 0.13 usr  0.06 sys + 16.13 cusr  6.39 csys = 22.72 CPU)
Result: FAIL
Failed 2/24 test programs. 2/421 subtests failed.
Comment 4 Mike Gilbert gentoo-dev 2019-01-16 21:57:42 UTC
05-config.t fails because the test assumes "touch" behaves like the GNU variant, which supports more liberal values for the "-d" parameter. This seems like a fairly non-critical failure.

Still need to look at the failure in 19-tex.t.
Comment 5 Mike Gilbert gentoo-dev 2019-01-17 01:41:59 UTC
I think we need to add virtual/latex-base as a test dependency. Unfortunately, I am unable to merge this on the VM due to build failures.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-12 12:17:33 UTC
G/FBSD is dead.