tribuchet: building on eliza Running phase: unpackPhase unpacking source archive /nix/store/rlgv99488870k3mab8mwnnzngq8bzq13-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase 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=false The Meson build system Version: 1.10.2 Source dir: /build/source Build dir: /build/source/build Build type: native build WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead Project name: nix-grpc-store Project version: 0.1.0 C++ compiler for the host machine: g++ (gcc 15.3.0 "g++ (GCC) 15.3.0") C++ linker for the host machine: g++ ld.bfd 2.46 Host machine cpu family: aarch64 Host machine cpu: aarch64 Found pkg-config: YES (/nix/store/a55gz9mrf0z1ngdmjf83qz8ywdam95fn-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.83.0 Run-time dependency protobuf found: YES 35.1.0 Run-time dependency libzstd found: YES 1.5.7 Run-time dependency threads found: YES Run-time dependency libcrypto found: YES 3.6.3 Run-time dependency prometheus-cpp-core found: YES 1.3.0 Run-time dependency prometheus-cpp-pull found: YES 1.3.0 Run-time dependency nix-store found: YES 2.36.0pre20260901_72385de1+1 Run-time dependency nix-util found: YES 2.36.0pre20260901_72385de1+1 Run-time dependency libcurl found: YES 8.21.0 Run-time dependency nlohmann_json found: YES 3.12.0 Program protoc found: YES (/nix/store/14zdwpp05sjf7813mcjjzhgl816hjbqj-protobuf-35.1/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/7ry0wb79xmb9yp4v3cssnawdf8gfgpxs-grpc-1.83.0/bin/grpc_cpp_plugin) Run-time dependency dl found: YES Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh) Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh) Build targets in project: 6 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} nix-grpc-store 0.1.0 User defined options auto_features: enabled b_lundef : false b_sanitize : address,undefined bindir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/bin buildtype : plain includedir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/include infodir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/info libdir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/lib libexecdir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/libexec localedir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/locale mandir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/share/man prefix : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0 sbindir : /nix/store/l2jxsmw2hibdq9b25x8lhpwbxwn8d2d3-nix-grpc-store-asan-0.1.0/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/zw02qscvl0rihr803vnmgll72qsxrlhx-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase build flags: -j24 [1/15] Generating nix_remote_proto with a custom command [2/15] Compiling C++ object nix-grpc-store-loader.so.p/src_plugin-loader.cc.o [3/15] Linking target nix-grpc-store-loader.so [4/15] Compiling C++ object nix-grpc-daemon.p/meson-generated_.._nix_remote.pb.cc.o [5/15] Compiling C++ object nix-grpc-store.so.p/meson-generated_.._nix_remote.pb.cc.o [6/15] Compiling C++ object nix-grpc-daemon.p/meson-generated_.._nix_remote.grpc.pb.cc.o [7/15] Compiling C++ object nix-grpc-store.so.p/meson-generated_.._nix_remote.grpc.pb.cc.o [8/15] Compiling C++ object farm-client-test.p/tests_farm-client-test.cc.o [9/15] Linking target farm-client-test [10/15] Compiling C++ object oidc-test.p/tests_oidc-test.cc.o [11/15] Linking target oidc-test [12/15] Compiling C++ object nix-grpc-store.so.p/src_grpc-store.cc.o [13/15] Linking target nix-grpc-store.so [14/15] Compiling C++ object nix-grpc-daemon.p/src_nix-grpc-daemon.cc.o [15/15] Linking target nix-grpc-daemon buildPhase completed in 45 seconds Running phase: checkPhase ninja: no work to do. mesonCheckPhase flags: --timeout-multiplier=0 1/2 nix-grpc-store:oidc OK 0.43s 2/2 nix-grpc-store:farm-client FAIL 8.24s (exit status 134 or signal 6 SIGABRT) >>> 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.py ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ok: first claim gets build + token ok: second claim waits ok: waiter sees built on complete ok: holder not lost while niks3 alive ok: b: holder ok: b: waiter ok: waiter promoted when holder releases ok: dropping a held claim releases it explicitly ok: c: holder ok: fail accepted with our token ok: waiter sees failed + kind ok: failure not remembered, next claim builds ok: transient fail = release ok: d: holder error (ignored): http://127.0.0.1:44669/api/builds/claim: Transferred a partial file ok: re-claimed after stream drop, same token ok: re-claim carried token ok: claim survives 503 while not yet holding ok: Retry-After honoured ok: exactly two attempts were shed ok: e: holder error (ignored): http://127.0.0.1:44669/api/builds/claim: Transferred a partial file ---------------------------------------- Exception occurred during processing of request from ('127.0.0.1', 44036) Traceback (most recent call last): File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/socketserver.py", line 697, in process_request_thread self.finish_request(request, client_address) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/socketserver.py", line 362, in finish_request self.RequestHandlerClass(request, client_address, self) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/socketserver.py", line 766, in __init__ self.handle() ~~~~~~~~~~~^^ File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/http/server.py", line 500, in handle self.handle_one_request() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/http/server.py", line 488, in handle_one_request method() ~~~~~~^^ File "/build/source/build/../tests/farm-mock.py", line 89, in do_POST self.claim(req) ~~~~~~~~~~^^^^^ File "/build/source/build/../tests/farm-mock.py", line 139, in claim self.reply(503) ~~~~~~~~~~^^^^^ File "/build/source/build/../tests/farm-mock.py", line 67, in reply self.wfile.write(data) ~~~~~~~~~~~~~~~~^^^^^^ File "/nix/store/lfh101cfjj8p8npcari9hk0lbqi33yvh-python3-3.14.7/lib/python3.14/socketserver.py", line 845, in write self._sock.sendall(b) ~~~~~~~~~~~~~~~~~~^^^ BrokenPipeError: [Errno 32] Broken pipe ---------------------------------------- ok: claim lost after 3 silent heartbeats ts=2026-09-10T18:26:30Z level=info event=niks3_push_started pid=1516 ok: push error surfaces as exception ok: stale token surfaces as StaleClaim ts=2026-09-10T18:26:31Z level=info event=niks3_push_exited status="failed with exit code 3" ok: dead child fails the waiter ts=2026-09-10T18:26:31Z level=info event=niks3_push_started pid=1522 ok: child is respawned ok: request line carried both outputs and the claim token ts=2026-09-10T18:26:31Z level=info event=niks3_push_exited status=succeeded ================================================================= ==1461==ERROR: LeakSanitizer: detected memory leaks Direct leak of 16 byte(s) in 1 object(s) allocated from: #0 0xfffff7995d38 in operator new(unsigned long) (/nix/store/60afk5jlqmx8xh5pr76j7j8vdrhwzrmv-gcc-15.3.0-lib/lib/libasan.so.8+0xd5d38) #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) #2 0xfffff783f2b8 in nix::startProcess(nix::fun, nix::ProcessOptions const&) (/nix/store/kkqp4hww7i6m0igxijyhcn1b38rpcj63-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0x16f2b8) (BuildId: 1224b6ba3c74779bd9b657113711b380b1f98ef3) #3 0xaaaaaadc94e0 in nixgrpc::PushProcess::ensureChild(nix::SyncBase, std::unique_lock, std::condition_variable>::WriteLock&) ../src/farm.hh:157 #4 0xaaaaaadc5850 in nixgrpc::PushProcess::pushWait(std::vector, std::allocator >, std::allocator, std::allocator > > > const&, long) ../src/farm.hh:88 #5 0xaaaaaad9b88c in operator() ../tests/farm-client-test.cc:155 #6 0xaaaaaad9c928 in testPush ../tests/farm-client-test.cc:167 #7 0xaaaaaad9d974 in main ../tests/farm-client-test.cc:190 #8 0xfffff6ab6570 in __libc_start_call_main (/nix/store/6wjykzqf6w3kzfhjc4z7dcd84j0dzsgm-glibc-2.42-84/lib/libc.so.6+0x26570) (BuildId: 8d55bc48b40edaa25027643016bb827c0a471161) #9 0xfffff6ab6654 in __libc_start_main_impl (/nix/store/6wjykzqf6w3kzfhjc4z7dcd84j0dzsgm-glibc-2.42-84/lib/libc.so.6+0x26654) (BuildId: 8d55bc48b40edaa25027643016bb827c0a471161) #10 0xaaaaaad930ac in _start (/build/source/build/farm-client-test+0x2f30ac) Direct leak of 16 byte(s) in 1 object(s) allocated from: #0 0xfffff7995d38 in operator new(unsigned long) (/nix/store/60afk5jlqmx8xh5pr76j7j8vdrhwzrmv-gcc-15.3.0-lib/lib/libasan.so.8+0xd5d38) #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) #2 0xfffff783f2b8 in nix::startProcess(nix::fun, nix::ProcessOptions const&) (/nix/store/kkqp4hww7i6m0igxijyhcn1b38rpcj63-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0x16f2b8) (BuildId: 1224b6ba3c74779bd9b657113711b380b1f98ef3) #3 0xaaaaaadc94e0 in nixgrpc::PushProcess::ensureChild(nix::SyncBase, std::unique_lock, std::condition_variable>::WriteLock&) ../src/farm.hh:157 #4 0xaaaaaadc4164 in nixgrpc::PushProcess::queue(std::vector, std::allocator >, std::allocator, std::allocator > > > const&) ../src/farm.hh:78 #5 0xaaaaaad9c490 in testPush ../tests/farm-client-test.cc:151 #6 0xaaaaaad9d974 in main ../tests/farm-client-test.cc:190 #7 0xfffff6ab6570 in __libc_start_call_main (/nix/store/6wjykzqf6w3kzfhjc4z7dcd84j0dzsgm-glibc-2.42-84/lib/libc.so.6+0x26570) (BuildId: 8d55bc48b40edaa25027643016bb827c0a471161) #8 0xfffff6ab6654 in __libc_start_main_impl (/nix/store/6wjykzqf6w3kzfhjc4z7dcd84j0dzsgm-glibc-2.42-84/lib/libc.so.6+0x26654) (BuildId: 8d55bc48b40edaa25027643016bb827c0a471161) #9 0xaaaaaad930ac in _start (/build/source/build/farm-client-test+0x2f30ac) SUMMARY: AddressSanitizer: 32 byte(s) leaked in 2 allocation(s). Aborted ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― Summary of Failures: 2/2 nix-grpc-store:farm-client FAIL 8.24s (exit status 134 or signal 6 SIGABRT) Ok: 1 Fail: 1 Full log written to /build/source/build/meson-logs/testlog.txt