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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31868 in the body.
You can then email your comments to 31868 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#31868; Package guix. (Sun, 17 Jun 2018 01:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 17 Jun 2018 01:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Merged 31868 32057. Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Wed, 05 Sep 2018 17:43:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#31868; Package guix. (Tue, 01 Jan 2019 20:16:02 GMT) Full text and rfc822 format available.

Message #10 received at 31868 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 31868 <at> debbugs.gnu.org
Subject: bug#31868: Test failure for GnuCash 3.3 (previously 3.0)
Date: Tue, 01 Jan 2019 15:15:09 -0500
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---




Information forwarded to bug-guix <at> gnu.org:
bug#31868; Package guix. (Wed, 02 Jan 2019 07:47:01 GMT) Full text and rfc822 format available.

Message #13 received at 31868 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 31868 <at> debbugs.gnu.org
Subject: Re: bug#31868: Test failure for GnuCash 3.3 (previously 3.0)
Date: Wed, 2 Jan 2019 09:45:58 +0200
[Message part 1 (text/plain, inline)]
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?

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#31868; Package guix. (Wed, 02 Jan 2019 08:10:02 GMT) Full text and rfc822 format available.

Message #16 received at 31868 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 31868 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: bug#31868: Test failure for GnuCash 3.3 (previously 3.0)
Date: Wed, 02 Jan 2019 09:09:42 +0100
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.

-- 
Ricardo





Changed bug title to 'Test failure fro GnuCash 3.3' from 'Tests failures for GnuCash 3.0' Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 02 Jan 2019 14:40:02 GMT) Full text and rfc822 format available.

Changed bug title to 'Test failure for GnuCash 3.3' from 'Test failure fro GnuCash 3.3' Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 02 Jan 2019 14:52:02 GMT) Full text and rfc822 format available.

Merged 31868 32057 33948. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 02 Jan 2019 20:02:02 GMT) Full text and rfc822 format available.

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 02 Jan 2019 22:34:02 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Wed, 02 Jan 2019 22:34:02 GMT) Full text and rfc822 format available.

Message #27 received at 31868-done <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 02 Jan 2019 22:34:02 GMT) Full text and rfc822 format available.

Notification sent to Nils Gillmann <ng0 <at> n0.is>:
bug acknowledged by developer. (Wed, 02 Jan 2019 22:34:02 GMT) Full text and rfc822 format available.

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 02 Jan 2019 22:34:02 GMT) Full text and rfc822 format available.

Notification sent to <znavko <at> tutanota.com>:
bug acknowledged by developer. (Wed, 02 Jan 2019 22:34:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 31 Jan 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 86 days ago.

Previous Next


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