nix-grpc-store-asan-0.1.0
checks.aarch64-linux.sanitize-smoke
· build #114
· raw
1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/rlgv99488870k3mab8mwnnzngq8bzq13-source3source root is sourceconfigurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0 --libdir=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/lib --libexecdir=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/libexec --bindir=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/bin --sbindir=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/sbin --includedir=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/include --mandir=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/man --infodir=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/info --localedir=/nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_sanitize=address\,undefined -Db_lundef=false5The Meson build system6Version: 1.10.27Source dir: /build/source8Build dir: /build/source/build9Build type: native build10WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead11Project name: nix-grpc-store12Project version: 0.1.013C++ compiler for the host machine: g++ (gcc 15.3.0 "g++ (GCC) 15.3.0")14C++ linker for the host machine: g++ ld.bfd 2.4615Host machine cpu family: aarch6416Host machine cpu: aarch6417Found pkg-config: YES (/nix/store/a55gz9mrf0z1ngdmjf83qz8ywdam95fn-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.83.019Run-time dependency protobuf found: YES 35.1.020Run-time dependency libzstd found: YES 1.5.721Run-time dependency threads found: YES22Run-time dependency libcrypto found: YES 3.6.323Run-time dependency prometheus-cpp-core found: YES 1.3.024Run-time dependency prometheus-cpp-pull found: YES 1.3.025Run-time dependency nix-store found: YES 2.36.0pre20260901_72385de1+126Run-time dependency nix-util found: YES 2.36.0pre20260901_72385de1+127Run-time dependency libcurl found: YES 8.21.028Run-time dependency nlohmann_json found: YES 3.12.029Program protoc found: YES (/nix/store/14zdwpp05sjf7813mcjjzhgl816hjbqj-protobuf-35.1/bin/protoc)30Program grpc_cpp_plugin found: YES (/nix/store/7ry0wb79xmb9yp4v3cssnawdf8gfgpxs-grpc-1.83.0/bin/grpc_cpp_plugin)31Run-time dependency dl found: YES32Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh)33Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh)34Build targets in project: 635WARNING: Project specifies no minimum version but uses features which were added in versions:36 * 1.1: {'meson.options file'}3738nix-grpc-store 0.1.03940 User defined options41 auto_features: enabled42 b_lundef : false43 b_sanitize : address,undefined44 bindir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/bin45 buildtype : plain46 includedir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/include47 infodir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/info48 libdir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/lib49 libexecdir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/libexec50 localedir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/locale51 mandir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/man52 prefix : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.053 sbindir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/sbin54 wrap_mode : nodownload5556Found ninja-1.13.2 at /nix/store/zw02qscvl0rihr803vnmgll72qsxrlhx-ninja-1.13.2/bin/ninja57mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
58build flags: -j2459[1/15] Generating nix_remote_proto with a custom command60[2/15] Compiling C++ object nix-grpc-store-loader.so.p/src_plugin-loader.cc.o61[3/15] Linking target nix-grpc-store-loader.so62[4/15] Compiling C++ object nix-grpc-daemon.p/meson-generated_.._nix_remote.pb.cc.o63[5/15] Compiling C++ object nix-grpc-store.so.p/meson-generated_.._nix_remote.pb.cc.o64[6/15] Compiling C++ object nix-grpc-daemon.p/meson-generated_.._nix_remote.grpc.pb.cc.o65[7/15] Compiling C++ object nix-grpc-store.so.p/meson-generated_.._nix_remote.grpc.pb.cc.o66[8/15] Compiling C++ object farm-client-test.p/tests_farm-client-test.cc.o67[9/15] Linking target farm-client-test68[10/15] Compiling C++ object oidc-test.p/tests_oidc-test.cc.o69[11/15] Linking target oidc-test70[12/15] Compiling C++ object nix-grpc-store.so.p/src_grpc-store.cc.o71[13/15] Linking target nix-grpc-store.so72[14/15] Compiling C++ object nix-grpc-daemon.p/src_nix-grpc-daemon.cc.o73[15/15] Linking target nix-grpc-daemon74buildPhase completed in 45 secondscheckPhase
75ninja: no work to do.76mesonCheckPhase flags: --timeout-multiplier=0771/2 nix-grpc-store:oidc OK 0.43s782/2 nix-grpc-store:farm-client FAIL 8.24s (exit status 134 or signal 6 SIGABRT)79>>> MALLOC_PERTURB_=8 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/source/tests/farm-client-test.sh ./farm-client-test /build/source/build/../tests/farm-mock.py80――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――81stderr:82ok: first claim gets build + token83ok: second claim waits84ok: waiter sees built on complete85ok: holder not lost while niks3 alive86ok: b: holder87ok: b: waiter88ok: waiter promoted when holder releases89ok: dropping a held claim releases it explicitly90ok: c: holder91ok: fail accepted with our token92ok: waiter sees failed + kind93ok: failure not remembered, next claim builds94ok: transient fail = release95ok: d: holder96error (ignored): http://127.0.0.1:44669/api/builds/claim: Transferred a partial file97ok: re-claimed after stream drop, same token98ok: re-claim carried token99ok: claim survives 503 while not yet holding100ok: Retry-After honoured101ok: exactly two attempts were shed102ok: e: holder103error (ignored): http://127.0.0.1:44669/api/builds/claim: Transferred a partial file104----------------------------------------105Exception occurred during processing of request from ('127.0.0.1', 44036)106Traceback (most recent call last):107 File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/socketserver.py", line 697, in process_request_thread108 self.finish_request(request, client_address)109 ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^110 File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/socketserver.py", line 362, in finish_request111 self.RequestHandlerClass(request, client_address, self)112 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^113 File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/socketserver.py", line 766, in __init__114 self.handle()115 ~~~~~~~~~~~^^116 File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/http/server.py", line 500, in handle117 self.handle_one_request()118 ~~~~~~~~~~~~~~~~~~~~~~~^^119 File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/http/server.py", line 488, in handle_one_request120 method()121 ~~~~~~^^122 File "/build/source/build/../tests/farm-mock.py", line 89, in do_POST123 self.claim(req)124 ~~~~~~~~~~^^^^^125 File "/build/source/build/../tests/farm-mock.py", line 139, in claim126 self.reply(503)127 ~~~~~~~~~~^^^^^128 File "/build/source/build/../tests/farm-mock.py", line 67, in reply129 self.wfile.write(data)130 ~~~~~~~~~~~~~~~~^^^^^^131 File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/socketserver.py", line 845, in write132 self._sock.sendall(b)133 ~~~~~~~~~~~~~~~~~~^^^134BrokenPipeError: [Errno 32] Broken pipe135----------------------------------------136ok: claim lost after 3 silent heartbeats137ts=2026-09-10T18:26:30Z level=info event=niks3_push_started pid=1516138ok: push error surfaces as exception139ok: stale token surfaces as StaleClaim140ts=2026-09-10T18:26:31Z level=info event=niks3_push_exited status="failed with exit code 3"141ok: dead child fails the waiter142ts=2026-09-10T18:26:31Z level=info event=niks3_push_started pid=1522143ok: child is respawned144ok: request line carried both outputs and the claim token145ts=2026-09-10T18:26:31Z level=info event=niks3_push_exited status=succeeded146147=================================================================148==1461==ERROR: LeakSanitizer: detected memory leaks149150Direct leak of 16 byte(s) in 1 object(s) allocated from:151 #0 0xfffff7995d38 in operator new(unsigned long) (/nix/store/60afk5jlqmx8xh5pr76j7j8vdrhwzrmv-gcc-15.3.0-lib/lib/libasan.so.8+0xd5d38)152 #1 0xfffff77cbd00 in nix::makeSimpleLogger(bool) [clone .localalias] [clone .lto_priv.0] (/nix/store/kkqp4hww7i6m0igxijyhcn1b38rpcj63-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0xfbd00) (BuildId: 1224b6ba3c74779bd9b657113711b380b1f98ef3)153 #2 0xfffff783f2b8 in nix::startProcess(nix::fun<void ()>, nix::ProcessOptions const&) (/nix/store/kkqp4hww7i6m0igxijyhcn1b38rpcj63-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0x16f2b8) (BuildId: 1224b6ba3c74779bd9b657113711b380b1f98ef3)154 #3 0xaaaaaadc94e0 in nixgrpc::PushProcess::ensureChild(nix::SyncBase<nixgrpc::PushProcess::State, std::mutex, std::unique_lock<std::mutex>, std::unique_lock<std::mutex>, std::condition_variable>::WriteLock&) ../src/farm.hh:157155 #4 0xaaaaaadc5850 in nixgrpc::PushProcess::pushWait(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, long) ../src/farm.hh:88156 #5 0xaaaaaad9b88c in operator() ../tests/farm-client-test.cc:155157 #6 0xaaaaaad9c928 in testPush ../tests/farm-client-test.cc:167158 #7 0xaaaaaad9d974 in main ../tests/farm-client-test.cc:190159 #8 0xfffff6ab6570 in __libc_start_call_main (/nix/store/6wjykzqf6w3kzfhjc4z7dcd84j0dzsgm-glibc-2.42-84/lib/libc.so.6+0x26570) (BuildId: 8d55bc48b40edaa25027643016bb827c0a471161)160 #9 0xfffff6ab6654 in __libc_start_main_impl (/nix/store/6wjykzqf6w3kzfhjc4z7dcd84j0dzsgm-glibc-2.42-84/lib/libc.so.6+0x26654) (BuildId: 8d55bc48b40edaa25027643016bb827c0a471161)161 #10 0xaaaaaad930ac in _start (/build/source/build/farm-client-test+0x2f30ac)162163Direct leak of 16 byte(s) in 1 object(s) allocated from:164 #0 0xfffff7995d38 in operator new(unsigned long) (/nix/store/60afk5jlqmx8xh5pr76j7j8vdrhwzrmv-gcc-15.3.0-lib/lib/libasan.so.8+0xd5d38)165 #1 0xfffff77cbd00 in nix::makeSimpleLogger(bool) [clone .localalias] [clone .lto_priv.0] (/nix/store/kkqp4hww7i6m0igxijyhcn1b38rpcj63-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0xfbd00) (BuildId: 1224b6ba3c74779bd9b657113711b380b1f98ef3)166 #2 0xfffff783f2b8 in nix::startProcess(nix::fun<void ()>, nix::ProcessOptions const&) (/nix/store/kkqp4hww7i6m0igxijyhcn1b38rpcj63-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0x16f2b8) (BuildId: 1224b6ba3c74779bd9b657113711b380b1f98ef3)167 #3 0xaaaaaadc94e0 in nixgrpc::PushProcess::ensureChild(nix::SyncBase<nixgrpc::PushProcess::State, std::mutex, std::unique_lock<std::mutex>, std::unique_lock<std::mutex>, std::condition_variable>::WriteLock&) ../src/farm.hh:157168 #4 0xaaaaaadc4164 in nixgrpc::PushProcess::queue(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) ../src/farm.hh:78169 #5 0xaaaaaad9c490 in testPush ../tests/farm-client-test.cc:151170 #6 0xaaaaaad9d974 in main ../tests/farm-client-test.cc:190171 #7 0xfffff6ab6570 in __libc_start_call_main (/nix/store/6wjykzqf6w3kzfhjc4z7dcd84j0dzsgm-glibc-2.42-84/lib/libc.so.6+0x26570) (BuildId: 8d55bc48b40edaa25027643016bb827c0a471161)172 #8 0xfffff6ab6654 in __libc_start_main_impl (/nix/store/6wjykzqf6w3kzfhjc4z7dcd84j0dzsgm-glibc-2.42-84/lib/libc.so.6+0x26654) (BuildId: 8d55bc48b40edaa25027643016bb827c0a471161)173 #9 0xaaaaaad930ac in _start (/build/source/build/farm-client-test+0x2f30ac)174175SUMMARY: AddressSanitizer: 32 byte(s) leaked in 2 allocation(s).176Aborted177――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――178179180Summary of Failures:1811822/2 nix-grpc-store:farm-client FAIL 8.24s (exit status 134 or signal 6 SIGABRT)183184Ok: 1 185Fail: 1 186187Full log written to /build/source/build/meson-logs/testlog.txt