test: Migrate auto_tests to new events API. #2119
+59
−36
Closed
Cirrus CI / bazel-dbg
failed
Dec 9, 2023 in 2m 7s
Task Summary
Instruction test_all failed in 01:59
Details
✅ 00:03 clone
✅ 00:02 configure
❌ 01:59 test_all
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
�[1mc-toxcore/auto_tests/lossy_packet_test.c:64:5: �[0m�[0;1;31merror: �[0m�[1mno matching function for call to 'run_auto_test'�[0m
run_auto_test(nullptr, 2, test_lossy_packet, sizeof(State), &options);
�[0;1;32m ^~~~~~~~~~~~~
�[0m�[1mc-toxcore/auto_tests/auto_test_support.h:51:6: �[0m�[0;1;30mnote: �[0mcandidate function not viable: requires 6 arguments, but 5 were provided�[0m
void run_auto_test(struct Tox_Options *options, uint32_t tox_count, void test(AutoTox *autotoxes),
�[0;1;32m ^
�[0m1 error generated.
(11:58:16) �[32m[2,432 / 2,449]�[0m 79 / 83 tests, �[31m�[1m54 failed�[0m;�[0m Testing //c-toxcore/testing/fuzzing:bootstrap_fuzz_test; 9s processwrapper-sandbox ... (12 actions running)
(11:58:17) �[32m[2,446 / 2,450]�[0m 81 / 83 tests, �[31m�[1m54 failed�[0m;�[0m Action c-toxcore/testing/fuzzing/e2e_fuzz_test_corpus; 5s processwrapper-sandbox ... (3 actions running)
(11:58:18) �[32m[2,450 / 2,451]�[0m 82 / 83 tests, �[31m�[1m54 failed�[0m;�[0m Action c-toxcore/testing/fuzzing/e2e_fuzz_test_corpus; 6s processwrapper-sandbox
(11:58:21) �[32m[2,451 / 2,452]�[0m 82 / 83 tests, �[31m�[1m54 failed�[0m;�[0m [Prepa] Testing //c-toxcore/testing/fuzzing:e2e_fuzz_test
(11:58:22) �[32m[2,451 / 2,452]�[0m 82 / 83 tests, �[31m�[1m54 failed�[0m;�[0m Testing //c-toxcore/testing/fuzzing:e2e_fuzz_test; 1s processwrapper-sandbox
(11:58:26) �[32m[2,451 / 2,452]�[0m 82 / 83 tests, �[31m�[1m54 failed�[0m;�[0m Testing //c-toxcore/testing/fuzzing:e2e_fuzz_test; 5s processwrapper-sandbox
(11:58:27) �[32mINFO: �[0mElapsed time: 119.010s, Critical Path: 25.14s
(11:58:27) �[32mINFO: �[0m1576 processes: 709 internal, 867 processwrapper-sandbox.
(11:58:27) �[31m�[1mFAILED:�[0m Build did NOT complete successfully
//c-toxcore/auto_tests:TCP_test �[0m�[31m�[1mFAILED TO BUILD�[0m
//c-toxcore/auto_tests:announce_test �[0m�[31m�[1mFAILED TO BUILD�[0m
//c-toxcore/auto_tests:bootstrap_test �[0m�[31m�[1mFAILED TO BUILD�[0m
//c-toxcore/auto_tests:conference_av_test �[0m�[31m�[1mFAILED TO BUILD�[0m
//c-toxcore/auto_tests:conference_double_invite_test �[0m�[31m�[1mFAILED TO BUILD�[0m
(Skipping other failed to build tests)
//c-toxcore:license_test �[0m�[32mPASSED�[0m in 1.1s
//c-toxcore:readme_test �[0m�[32mPASSED�[0m in 0.2s
//c-toxcore:settings_test �[0m�[32mPASSED�[0m in 0.4s
//c-toxcore/testing/fuzzing:bootstrap_fuzz_test �[0m�[32mPASSED�[0m in 9.2s
//c-toxcore/testing/fuzzing:e2e_fuzz_test �[0m�[32mPASSED�[0m in 5.2s
//c-toxcore/testing/fuzzing:protodump_reduce �[0m�[32mPASSED�[0m in 0.6s
//c-toxcore/testing/fuzzing:toxsave_fuzz_test �[0m�[32mPASSED�[0m in 6.3s
//c-toxcore/toxav:ring_buffer_test �[0m�[32mPASSED�[0m in 0.3s
//c-toxcore/toxav:rtp_test �[0m�[32mPASSED�[0m in 0.7s
//c-toxcore/toxcore:DHT_fuzz_test �[0m�[32mPASSED�[0m in 0.5s
//c-toxcore/toxcore:DHT_test �[0m�[32mPASSED�[0m in 0.9s
//c-toxcore/toxcore:TCP_connection_test �[0m�[32mPASSED�[0m in 0.7s
//c-toxcore/toxcore:bin_pack_test �[0m�[32mPASSED�[0m in 0.7s
//c-toxcore/toxcore:crypto_core_test �[0m�[32mPASSED�[0m in 2.9s
//c-toxcore/toxcore:forwarding_fuzz_test �[0m�[32mPASSED�[0m in 0.1s
//c-toxcore/toxcore:friend_connection_test �[0m�[32mPASSED�[0m in 1.0s
//c-toxcore/toxcore:group_announce_fuzz_test �[0m�[32mPASSED�[0m in 1.0s
//c-toxcore/toxcore:group_announce_test �[0m�[32mPASSED�[0m in 0.9s
//c-toxcore/toxcore:group_moderation_fuzz_test �[0m�[32mPASSED�[0m in 0.8s
//c-toxcore/toxcore:group_moderation_test �[0m�[32mPASSED�[0m in 0.4s
//c-toxcore/toxcore:list_test �[0m�[32mPASSED�[0m in 0.7s
//c-toxcore/toxcore:mem_test �[0m�[32mPASSED�[0m in 0.5s
//c-toxcore/toxcore:mono_time_test �[0m�[32mPASSED�[0m in 2.7s
//c-toxcore/toxcore:network_test �[0m�[32mPASSED�[0m in 0.2s
//c-toxcore/toxcore:ping_array_test �[0m�[32mPASSED�[0m in 0.6s
//c-toxcore/toxcore:tox_events_fuzz_test �[0m�[32mPASSED�[0m in 1.7s
//c-toxcore/toxcore:tox_events_test �[0m�[32mPASSED�[0m in 0.6s
//c-toxcore/toxcore:tox_test �[0m�[32mPASSED�[0m in 0.4s
//c-toxcore/toxcore:util_test �[0m�[32mPASSED�[0m in 0.4s
Executed 29 out of 83 tests: 29 tests pass and �[0m�[31m�[1m54 fail to build�[0m.
�[0m
Loading