Skip to content

Automated testing is unstable on Windows (our Kiwix-Build CI) : An exception other than CreatorStateError or AsyncError was thrown. #978

Open
@kelson42

Description

@kelson42

At least not on our Kiwix-Build CI

Here is a failed attempt:
https://github.com/kiwix/kiwix-build/actions/runs/14561143439/job/40846241561

And Here is a successful attempts (same code base, same action)
https://github.com/kiwix/kiwix-build/actions/runs/14561143439

The error is:

Resolve redirect
set index
../../source/libzim/test/error_in_creator.cpp(328): error: Failed
An exception other than CreatorStateError or AsyncError was thrown.

[  FAILED  ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/0, where GetParam() = 4-byte object <06-00 00-00> (73 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/1
Resolve redirect
set index
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/1 (72 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/2
Resolve redirect
set index
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/2 (79 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/3
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/3 (58 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/4
Resolve redirect
set index
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/4 (81 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/5
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/5 (57 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/6
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/6 (47 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/7
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/7 (44 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/8
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/8 (52 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/0
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/0 (59 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/1
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/1 (47 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/2
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/2 (63 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/3
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/3 (63 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/4
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/4 (58 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/5
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/5 (52 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/6
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/6 (56 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/7
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/7 (49 ms)
[ RUN      ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/8
[       OK ] CreatorError/FaultyDelayedItemErrorTest.faultyUnfinishedCreator/8 (62 ms)
[----------] 27 tests from CreatorError/FaultyDelayedItemErrorTest (10709 ms total)

[----------] Global test environment tear-down
[==========] 34 tests from 2 test suites ran. (11829 ms total)
[  PASSED  ] 33 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] CreatorError/FaultyDelayedItemErrorTest.faultyUnCompressedItem/0, where GetParam() = 4-byte object <06-00 00-00>

 1 FAILED TEST
stderr:
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
ERROR Detected
------------------------------------------------------------------------------


Summary of Failures:

11/34 libzim / error_in_creator    FAIL            11.85s   exit status 1

Ok:                 33  
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

From https://github.com/kiwix/kiwix-build/actions/runs/14561143439/job/40846241561#step:11:1661

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions