Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Migrate auto_tests to new events API. #2119

Closed
wants to merge 1 commit into from

test: Migrate auto_tests to new events API.

d01434d
Select commit
Loading
Failed to load commit list.
Closed

test: Migrate auto_tests to new events API. #2119

test: Migrate auto_tests to new events API.
d01434d
Select commit
Loading
Failed to load commit list.
Cirrus CI / bazel-opt failed Dec 9, 2023 in 40s

Task Summary

Instruction test_all failed in 00:33

Details

✅ 00:03 clone
✅ 00:01 configure
❌ 00:33 test_all

  exec env - \
    PATH=/nix/store/rhvbjmcfnkg8i2dxpzr114cp1ws7f667-bash-5.2-p15/bin:/nix/store/ahkfdxq8mcpsb5kvdvgqr1wv8zjngbh4-coreutils-9.1/bin:/nix/store/raiz8aaqsg0cf99ai38mnxynak5f8hbj-file-5.44/bin:/nix/store/4qrbfa42xyicny7vlgbbqxz07kcsjbx2-findutils-4.9.0/bin:/nix/store/s3yl3l8na93v53k2cfsyz0jrb50bnk8n-gawk-5.2.1/bin:/nix/store/zrls4w5lxynqakh1jlrp03kg4bxzp9yi-gnugrep-3.7/bin:/nix/store/gy82r5cf12hgkmhzifsyx3fp6cnf6j2l-gnused-4.9/bin:/nix/store/czy796d2241296bdy45w87cmaiig50zr-gnutar-1.34/bin:/nix/store/hdbb5ayyrz1b5hicbsb4am8vin0xxxg6-gzip-1.12/bin:/nix/store/95cxzy2hpizr23343b8bskl4yacf4b3l-python3-3.10.11/bin:/nix/store/7sxa7xkfysx814w7nzdqid3n14rrl404-unzip-6.0/bin:/nix/store/q5z5z4n7qw0dbsqaf6iwv52h1df8jbhi-which-2.21/bin:/nix/store/nibknf22pwmpg5ldrv5lvbzz50ygr7ry-zip-3.0/bin \
    PWD=/proc/self/cwd \
  /nix/store/9k6s3zmhj2pvkg8a5s8n7d2sbpffv8hv-clang-wrapper-16.0.1/bin/cc -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections -MD -MF bazel-out/k8-opt/bin/c-toxcore/auto_tests/_objs/group_save_test/group_save_test.d '-frandom-seed=bazel-out/k8-opt/bin/c-toxcore/auto_tests/_objs/group_save_test/group_save_test.o' -DSODIUM_STATIC '-DBAZEL_CURRENT_REPOSITORY=""' -iquote . -iquote bazel-out/k8-opt/bin -iquote external/libsodium -iquote bazel-out/k8-opt/bin/external/libsodium -iquote external/pthread -iquote bazel-out/k8-opt/bin/external/pthread -iquote external/psocket -iquote bazel-out/k8-opt/bin/external/psocket -iquote external/opus -iquote bazel-out/k8-opt/bin/external/opus -iquote external/libvpx -iquote bazel-out/k8-opt/bin/external/libvpx -iquote external/rules_cc -iquote bazel-out/k8-opt/bin/external/rules_cc -iquote external/bazel_tools -iquote bazel-out/k8-opt/bin/external/bazel_tools -Ibazel-out/k8-opt/bin/external/libsodium/_virtual_includes/libsodium -isystem external/opus/celt -isystem bazel-out/k8-opt/bin/external/opus/celt -isystem external/opus/include -isystem bazel-out/k8-opt/bin/external/opus/include -isystem external/opus/silk -isystem bazel-out/k8-opt/bin/external/opus/silk -isystem external/opus/silk/float -isystem bazel-out/k8-opt/bin/external/opus/silk/float -isystem external/libvpx -isystem bazel-out/k8-opt/bin/external/libvpx -isystem third_party/libvpx -isystem bazel-out/k8-opt/bin/third_party/libvpx -fomit-frame-pointer -fasynchronous-unwind-tables -DNO_FRAME_POINTER '-fdiagnostics-color=always' -funsigned-char -Wall -Wformat -Wformat-security -Wno-missing-braces -Wthread-safety-analysis '-Wno-error=thread-safety-analysis' '-Wno-error=inconsistent-missing-override' -Wno-reserved-identifier -Wno-pointer-bool-conversion -Wno-tautological-pointer-compare -Wno-declaration-after-statement -Wno-unsafe-buffer-usage -Wno-deprecated-builtins '-std=gnu17' '-std=c17' -ftrapv -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-covered-switch-default -Wno-disabled-macro-expansion -Wno-documentation-deprecated-sync -Wno-missing-field-initializers -Wno-missing-noreturn -Wno-padded -Wno-reserved-id-macro -Wno-unused-parameter -Wno-vla -xc++ '-std=c++17' -Wno-alloca -Wno-c99-extensions -Wno-old-style-cast -Wno-unreachable-code-return -Wno-unused-macros -Wno-shadow-uncaptured-local -Wno-sign-compare -Wno-unused-but-set-variable -UNDEBUG '-DMIN_LOGGER_LEVEL=LOGGER_LEVEL_TRACE' '-DMAX_VLA_SIZE=2048' '-Wframe-larger-than=20000' '-DUSE_IPV6=0' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -Werror -c c-toxcore/auto_tests/group_save_test.c -o bazel-out/k8-opt/bin/c-toxcore/auto_tests/_objs/group_save_test/group_save_test.o)
# Configuration: 8ea42450fe5fd9f76c781de71297b9692dfb5df2d67086b2946eb3bd496b34a5
# Execution platform: @rules_nixpkgs_core//platforms:host

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
�[1mc-toxcore/auto_tests/group_save_test.c:284:5: �[0m�[0;1;31merror: �[0m�[1mno matching function for call to 'run_auto_test'�[0m
    run_auto_test(nullptr, NUM_GROUP_TOXES, group_save_test, sizeof(State), &autotest_opts);
�[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:56:42) �[32mINFO: �[0mElapsed time: 32.898s, Critical Path: 3.46s
(11:56:42) �[32mINFO: �[0m981 processes: 613 remote cache hit, 335 internal, 33 processwrapper-sandbox.
(11:56:42) �[31m�[1mFAILED:�[0m Build did NOT complete successfully
//c-toxcore:license_test                                        �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore:readme_test                                         �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore:settings_test                                       �[0m�[32m(cached) PASSED�[0m in 0.0s
//c-toxcore/testing/fuzzing:bootstrap_fuzz_test                 �[0m�[32m(cached) PASSED�[0m in 1.7s
//c-toxcore/testing/fuzzing:e2e_fuzz_test                       �[0m�[32m(cached) PASSED�[0m in 2.2s
//c-toxcore/testing/fuzzing:protodump_reduce                    �[0m�[32m(cached) PASSED�[0m in 0.3s
//c-toxcore/testing/fuzzing:toxsave_fuzz_test                   �[0m�[32m(cached) PASSED�[0m in 1.1s
//c-toxcore/toxav:ring_buffer_test                              �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore/toxav:rtp_test                                      �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore/toxcore:DHT_fuzz_test                               �[0m�[32m(cached) PASSED�[0m in 0.9s
//c-toxcore/toxcore:DHT_test                                    �[0m�[32m(cached) PASSED�[0m in 0.4s
//c-toxcore/toxcore:TCP_connection_test                         �[0m�[32m(cached) PASSED�[0m in 0.2s
//c-toxcore/toxcore:bin_pack_test                               �[0m�[32m(cached) PASSED�[0m in 0.2s
//c-toxcore/toxcore:crypto_core_test                            �[0m�[32m(cached) PASSED�[0m in 0.7s
//c-toxcore/toxcore:forwarding_fuzz_test                        �[0m�[32m(cached) PASSED�[0m in 0.3s
//c-toxcore/toxcore:friend_connection_test                      �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore/toxcore:group_announce_fuzz_test                    �[0m�[32m(cached) PASSED�[0m in 0.9s
//c-toxcore/toxcore:group_announce_test                         �[0m�[32m(cached) PASSED�[0m in 0.0s
//c-toxcore/toxcore:group_moderation_fuzz_test                  �[0m�[32m(cached) PASSED�[0m in 0.2s
//c-toxcore/toxcore:group_moderation_test                       �[0m�[32m(cached) PASSED�[0m in 0.2s
//c-toxcore/toxcore:list_test                                   �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore/toxcore:mem_test                                    �[0m�[32m(cached) PASSED�[0m in 1.2s
//c-toxcore/toxcore:mono_time_test                              �[0m�[32m(cached) PASSED�[0m in 2.4s
//c-toxcore/toxcore:network_test                                �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore/toxcore:ping_array_test                             �[0m�[32m(cached) PASSED�[0m in 0.2s
//c-toxcore/toxcore:tox_events_fuzz_test                        �[0m�[32m(cached) PASSED�[0m in 0.7s
//c-toxcore/toxcore:tox_events_test                             �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore/toxcore:tox_test                                    �[0m�[32m(cached) PASSED�[0m in 0.1s
//c-toxcore/toxcore:util_test                                   �[0m�[32m(cached) PASSED�[0m in 0.2s
//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)

Executed 0 out of 83 tests: 29 tests pass and �[0m�[31m�[1m54 fail to build�[0m.
�[0m