GNU bug report logs - #31868
Test failure for GnuCash 3.3

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sun, 17 Jun 2018 01:49:02 UTC

Severity: normal

Merged with 32057, 33948

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31868: closed (Test failure for GnuCash 3.3)
Date: Wed, 02 Jan 2019 22:34:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 02 Jan 2019 17:33:04 -0500
with message-id <87pntepu5b.fsf <at> apteryx.i-did-not-set--mail-host-address--so-tickle-me>
and subject line Re: bug#31868: Test failure for GnuCash 3.3 (previously 3.0)
has caused the debbugs.gnu.org bug report #31868,
regarding Test failure for GnuCash 3.3
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
31868: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31868
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Tests failures for GnuCash 3.0
Date: Sat, 16 Jun 2018 21:47:49 -0400
I could reproduce the following test failures twice on my machine:

--8<---------------cut here---------------start------------->8---
102/102 Test #102: test-load-report-stylesheets-module ..........   Passed    1.58 sec

96% tests passed, 4 tests failed out of 102

Total Test time (real) =  73.37 sec

The following tests FAILED:
         22 - test-real-data (Failed)
         34 - test-qof (Child aborted)
         58 - test-gnc-timezone (Failed)
         85 - test-tokenizer (Failed)
Errors while running CTest
make[3]: *** [CMakeFiles/check.dir/build.make:60: CMakeFiles/check] Error 8
make[3]: Leaving directory '/tmp/guix-build-gnucash-3.0.drv-0/build'
make[2]: *** [CMakeFiles/Makefile2:242: CMakeFiles/check.dir/all] Error 2
make[2]: Leaving directory '/tmp/guix-build-gnucash-3.0.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:249: CMakeFiles/check.dir/rule] Error 2
make[1]: Leaving directory '/tmp/guix-build-gnucash-3.0.drv-0/build'
make: *** [Makefile:226: check] Error 2

Test suite failed, dumping logs.
Backtrace:
           4 (primitive-load "/gnu/store/lc1yxn26cdw0psp8ycmflwa76js…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure 9ed9e0 at /gnu/store/qzsljkcllc0…> …)
In /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
    369:6  0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)

/gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/gnu-build-system.scm:369:6: In procedure check:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("check") exit-status: 2 term-signal: #f stop-signal: #f] 68fd40>)'.
builder for `/gnu/store/2dzy162bvwfcxs7a05arxiqq7g6xfsjx-gnucash-3.0.drv' failed with exit code 1
guix package: error: build failed: build of `/gnu/store/2dzy162bvwfcxs7a05arxiqq7g6xfsjx-gnucash-3.0.drv' failed
--8<---------------cut here---------------end--------------->8---

Maxim


[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: Efraim Flashner <efraim <at> flashner.co.il>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 31868-done <at> debbugs.gnu.org
Subject: Re: bug#31868: Test failure for GnuCash 3.3 (previously 3.0)
Date: Wed, 02 Jan 2019 17:33:04 -0500
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Efraim Flashner <efraim <at> flashner.co.il> writes:
>
>> On Tue, Jan 01, 2019 at 03:15:09PM -0500, Maxim Cournoyer wrote:
>>> Using latest Guix, GnuCash 3.3 fails its test suite by only one test:
>>> 
>>> --8<---------------cut here---------------start------------->8---
>>> [fail] line:644, test: dual amount column, first transaction correct
>>> transaction.scm/display options
>>>  -> expected: ("01/03/18" "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
>>>  -> obtained: ("01/03/19" "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
>>>  --8<---------------cut here---------------end--------------->8---
>>> 
>>
>> Haven't looked at the test yet, is this a 'yyyy' vs 'YYYY' error in ISO8601?
>
> To me this looks like the test assumes that we’re running it in 2018,
> not $current_year.

Good flair; it turned out to be exactly this.

Fixed with commit 707efe171a4e0e542a7d969c130195fa94b5d615. Closing.

Thank you,

Maxim


This bug report was last modified 6 years and 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.