tribuchet: building on jamie Running phase: unpackPhase unpacking source archive /nix/store/if33qb2cf9jzzbgshbkyd8m5jwfbynf9-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0 --libdir=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/lib --libexecdir=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/libexec --bindir=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/bin --sbindir=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/sbin --includedir=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/include --mandir=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/share/man --infodir=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/share/info --localedir=/nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-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: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/nix/store/7fx93fz9c809w8yjxb0934zw6xcjis58-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/9d8d0spap5fb4d4hkxliag8zlfhjcg67-protobuf-35.1/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/4lxivxcksx5xbnfx2wsgspqlrpfirn3m-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) Build targets in project: 5 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/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/bin buildtype : plain includedir : /nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/include infodir : /nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/share/info libdir : /nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/lib libexecdir : /nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/libexec localedir : /nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/share/locale mandir : /nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/share/man prefix : /nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0 sbindir : /nix/store/fvh4xg7m5k9x2ay3dlj7qwk7pvdmb36r-nix-grpc-store-asan-0.1.0/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/6ji6bq0si2j8ibdrxqgcmh1cw0wmdiyk-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase build flags: -j24 [1/13] Generating nix_remote_proto with a custom command [2/13] Compiling C++ object nix-grpc-store-loader.so.p/src_plugin-loader.cc.o [3/13] Linking target nix-grpc-store-loader.so [4/13] Compiling C++ object nix-grpc-daemon.p/meson-generated_.._nix_remote.pb.cc.o [5/13] Compiling C++ object nix-grpc-store.so.p/meson-generated_.._nix_remote.pb.cc.o [6/13] Compiling C++ object nix-grpc-store.so.p/meson-generated_.._nix_remote.grpc.pb.cc.o [7/13] Compiling C++ object nix-grpc-daemon.p/meson-generated_.._nix_remote.grpc.pb.cc.o [8/13] Compiling C++ object farm-client-test.p/tests_farm-client-test.cc.o [9/13] Linking target farm-client-test [10/13] Compiling C++ object nix-grpc-store.so.p/src_grpc-store.cc.o [11/13] Compiling C++ object nix-grpc-daemon.p/src_nix-grpc-daemon.cc.o [12/13] Linking target nix-grpc-store.so [13/13] Linking target nix-grpc-daemon Running phase: checkPhase ninja: no work to do. mesonCheckPhase flags: --timeout-multiplier=0 1/1 nix-grpc-store:farm-client FAIL 8.12s (exit status 134 or signal 6 SIGABRT) >>> 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 MALLOC_PERTURB_=66 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:44463/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:44463/api/builds/claim: Transferred a partial file ---------------------------------------- Exception occurred during processing of request from ('127.0.0.1', 60574) Traceback (most recent call last): File "/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/lib/python3.14/socketserver.py", line 697, in process_request_thread self.finish_request(request, client_address) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/lib/python3.14/socketserver.py", line 362, in finish_request self.RequestHandlerClass(request, client_address, self) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/lib/python3.14/socketserver.py", line 766, in __init__ self.handle() ~~~~~~~~~~~^^ File "/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/lib/python3.14/http/server.py", line 500, in handle self.handle_one_request() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-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/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-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:01Z level=info event=niks3_push_started pid=1337 ok: push error surfaces as exception ok: stale token surfaces as StaleClaim ts=2026-09-10T18:26:02Z level=info event=niks3_push_exited status="failed with exit code 3" ok: dead child fails the waiter ts=2026-09-10T18:26:02Z level=info event=niks3_push_started pid=1343 ok: child is respawned ok: request line carried both outputs and the claim token ts=2026-09-10T18:26:02Z level=info event=niks3_push_exited status=succeeded ================================================================= ==1295==ERROR: LeakSanitizer: detected memory leaks Direct leak of 16 byte(s) in 1 object(s) allocated from: #0 0x7ffff79e571b in operator new(unsigned long) (/nix/store/0vqb1mcas5j8dv6bhbrshinlgsg6bvgi-gcc-15.3.0-lib/lib/libasan.so.8+0x12271b) #1 0x7ffff77fff8b in nix::makeSimpleLogger(bool) (/nix/store/45a925hn4xdxb6nm3chp6c1i24nlpyg7-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0x126f8b) (BuildId: a04dcbf295c4d0a70142b03209ab06cf168276c0) #2 0x7ffff785f833 in nix::startProcess(nix::fun, nix::ProcessOptions const&) [clone .localalias] [clone .lto_priv.0] (/nix/store/45a925hn4xdxb6nm3chp6c1i24nlpyg7-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0x186833) (BuildId: a04dcbf295c4d0a70142b03209ab06cf168276c0) #3 0x5555558787ef in nixgrpc::PushProcess::ensureChild(nix::SyncBase, std::unique_lock, std::condition_variable>::WriteLock&) ../src/farm.hh:157 #4 0x555555874c37 in nixgrpc::PushProcess::pushWait(std::vector, std::allocator >, std::allocator, std::allocator > > > const&, long) ../src/farm.hh:88 #5 0x55555584f19c in operator() ../tests/farm-client-test.cc:155 #6 0x5555558501c2 in testPush ../tests/farm-client-test.cc:167 #7 0x5555558512c5 in main ../tests/farm-client-test.cc:190 #8 0x7ffff6b1d284 in __libc_start_call_main (/nix/store/n51dhmdbik1kfrsm62j5knavmigwrl1a-glibc-2.42-84/lib/libc.so.6+0x2b284) (BuildId: d59ebc50f569ea8dad667d3e465b4b73dcd8ba73) #9 0x7ffff6b1d337 in __libc_start_main@GLIBC_2.2.5 (/nix/store/n51dhmdbik1kfrsm62j5knavmigwrl1a-glibc-2.42-84/lib/libc.so.6+0x2b337) (BuildId: d59ebc50f569ea8dad667d3e465b4b73dcd8ba73) #10 0x555555846c24 in _start (/build/source/build/farm-client-test+0x2f2c24) Direct leak of 16 byte(s) in 1 object(s) allocated from: #0 0x7ffff79e571b in operator new(unsigned long) (/nix/store/0vqb1mcas5j8dv6bhbrshinlgsg6bvgi-gcc-15.3.0-lib/lib/libasan.so.8+0x12271b) #1 0x7ffff77fff8b in nix::makeSimpleLogger(bool) (/nix/store/45a925hn4xdxb6nm3chp6c1i24nlpyg7-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0x126f8b) (BuildId: a04dcbf295c4d0a70142b03209ab06cf168276c0) #2 0x7ffff785f833 in nix::startProcess(nix::fun, nix::ProcessOptions const&) [clone .localalias] [clone .lto_priv.0] (/nix/store/45a925hn4xdxb6nm3chp6c1i24nlpyg7-nix-util-2.36.0pre20260901_72385de1+1/lib/libnixutil.so.2.36.0+0x186833) (BuildId: a04dcbf295c4d0a70142b03209ab06cf168276c0) #3 0x5555558787ef in nixgrpc::PushProcess::ensureChild(nix::SyncBase, std::unique_lock, std::condition_variable>::WriteLock&) ../src/farm.hh:157 #4 0x555555873700 in nixgrpc::PushProcess::queue(std::vector, std::allocator >, std::allocator, std::allocator > > > const&) ../src/farm.hh:78 #5 0x55555584fcde in testPush ../tests/farm-client-test.cc:151 #6 0x5555558512c5 in main ../tests/farm-client-test.cc:190 #7 0x7ffff6b1d284 in __libc_start_call_main (/nix/store/n51dhmdbik1kfrsm62j5knavmigwrl1a-glibc-2.42-84/lib/libc.so.6+0x2b284) (BuildId: d59ebc50f569ea8dad667d3e465b4b73dcd8ba73) #8 0x7ffff6b1d337 in __libc_start_main@GLIBC_2.2.5 (/nix/store/n51dhmdbik1kfrsm62j5knavmigwrl1a-glibc-2.42-84/lib/libc.so.6+0x2b337) (BuildId: d59ebc50f569ea8dad667d3e465b4b73dcd8ba73) #9 0x555555846c24 in _start (/build/source/build/farm-client-test+0x2f2c24) SUMMARY: AddressSanitizer: 32 byte(s) leaked in 2 allocation(s). Aborted ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― Summary of Failures: 1/1 nix-grpc-store:farm-client FAIL 8.12s (exit status 134 or signal 6 SIGABRT) Ok: 0 Fail: 1 Full log written to /build/source/build/meson-logs/testlog.txt