Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906877 - app-office/gnucash-4.13 fails test test-engine
Summary: app-office/gnucash-4.13 fails test test-engine
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-05-21 04:16 UTC by Jonathan Lovelace
Modified: 2023-09-29 12:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
app-office:gnucash-4.13:20230521-014143.log.gz (app-office:gnucash-4.13:20230521-014143.log.gz,62.40 KB, application/gzip)
2023-05-21 04:19 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.62 KB, text/plain)
2023-05-21 04:20 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-05-21 04:16:48 UTC
=app-office/gnucash-4.13 fails its test phase for me, specifically the test "test-engine". When I run "app-office/gnucash-4.13 fails test test-engine" in the build directory, I get the following output:

-------------------------
Test project /var/tmp/portage/app-office/gnucash-4.13/work/gnucash-4.13_build
    Start 30: test-engine
1/1 Test #30: test-engine ......................Bus error***Exception:   0.01 sec
TAP version 13
# random seed: R02Sc1d8276c72a0faffe1222490dcb63bd8
1..179
# Start of engine tests
# Start of Account tests
ok 1 /engine/Account/gnc set account separator
ok 2 /engine/Account/gnc account name violations errmsg
ok 3 /engine/Account/gnc account list name violations
ok 4 /engine/Account/account create and destroy
ok 5 /engine/Account/xaccMallocAccount
ok 6 /engine/Account/gnc account create root
ok 7 /engine/Account/xaccCloneAccount
ok 8 /engine/Account/xaccFreeAccountChildren


0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.04 sec

The following tests FAILED:
         30 - test-engine (Bus error)
Errors while running CTest
-------------------------

I also see the following in dmesg:

-------------------------
[5561277.113224] traps: test-engine[6761] trap stack segment ip:7f08a2b3a8a8 sp:7fff3658be10 error:0 in libgnc-engine.so[7f08a2b1f000+104000]
[5563493.264010] traps: test-engine[6157] trap stack segment ip:7f7f12f4a8a8 sp:7ffd192e33b0 error:0 in libgnc-engine.so[7f7f12f2f000+104000]
-------------------------

My /etc/portage/env for this package includes CMAKE_YES_I_WANT_TO_SEE_THE_TEST_LOG=true, so the build log includes LastTest.log
Comment 1 Jonathan Lovelace 2023-05-21 04:19:36 UTC
Created attachment 862070 [details]
app-office:gnucash-4.13:20230521-014143.log.gz
Comment 2 Jonathan Lovelace 2023-05-21 04:20:06 UTC
Created attachment 862071 [details]
emerge-info.txt
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-21 04:27:55 UTC
Try https://github.com/Gnucash/gnucash/pull/1633?
Comment 4 Jonathan Lovelace 2023-05-21 13:29:41 UTC
(In reply to Sam James from comment #3)
> Try https://github.com/Gnucash/gnucash/pull/1633?

Same failure:
Command: "/var/tmp/portage/app-office/gnucash-4.13/work/gnucash-4.13_build/bin/test-engine"
Directory: /var/tmp/portage/app-office/gnucash-4.13/work/gnucash-4.13_build/libgnucash/engine/test
"test-engine" start time: May 21 07:35 EDT
Output:
----------------------------------------------------------
TAP version 13
# random seed: R02S3de06794dcba96bb07cd6f2b33591671
1..179
# Start of engine tests
# Start of Account tests
ok 1 /engine/Account/gnc set account separator
ok 2 /engine/Account/gnc account name violations errmsg
ok 3 /engine/Account/gnc account list name violations
ok 4 /engine/Account/account create and destroy
ok 5 /engine/Account/xaccMallocAccount
ok 6 /engine/Account/gnc account create root
ok 7 /engine/Account/xaccCloneAccount
ok 8 /engine/Account/xaccFreeAccountChildren
<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Failed.
"test-engine" end time: May 21 07:35 EDT
"test-engine" time elapsed: 00:00:00
----------------------------------------------------------

Though this time there may not have been the traps in dmesg.
Comment 5 Aaron W. Swenson gentoo-dev 2023-06-20 11:14:48 UTC
Please try with 5.1 (just pushed a little bit ago).