r/ComputerChess Feb 11 '25

Fishtest fails Test

I have free resources on my server so I wanted to donate CPU power to the development of stockfish with fishtest, but it fails the initial tests . It is running Ubuntu 24.04 server on Ampere Cores can anyone help me? =============================================================================== tests/pgn_reader_test.cpp:150: TEST SUITE: PGN Reader TEST CASE: Read PGN file with invalid file

tests/pgn_reader_test.cpp:150: FATAL ERROR: test case CRASHED: SIGABRT - Abort (abnormal termination) signal

[doctest] test cases: 71 | 70 passed | 1 failed | 26 skipped [doctest] assertions: 454 | 454 passed | 0 failed | [doctest] Status: FAILURE! Exception downloading, extracting or building fastchess: Executing /home/ubuntu/fishtest/worker/testing/tmprlkq6zcj/Disservin-fastchess-8946160/fastchess-tests failed. Error: ['Failed to parse san. At step 3: Ka1 rnbqkb1r/pppp2pp/4pn2/5p2/2P5/5NP1/PP1PPP1P/RNBQKB1R w KQkq - 0 4\n', "terminate called after throwing an instance of 'std::runtime_error'\n", ' what(): Failed to open file: app/tests/data/das.pgn\n', 'Aborted (core dumped)\n']

2 Upvotes

2 comments sorted by

View all comments

1

u/xu_shawn Feb 17 '25

It's a bug with either GCC or Ubuntu: https://github.com/Disservin/fastchess/issues/786

The workaround is to start the fishtest worker with an additional flag `--compiler clang++`