Log of Meson test suite run on 2024-09-09T20:57:30.726781 Inherited environment: SHELL=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash BOOST_INCLUDEDIR=/nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev/include _PYTHON_HOST_PLATFORM=linux-x86_64 hardeningDisable=strictoverflow doc=/nix/store/zdgzpskqgq4nimw3xrnkv13rqd8cxddp-lix-2.91.0-doc NIX_BUILD_CORES=8 configureFlags='' mesonFlags='-Dsandbox-shell=/nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox -Dgc=enabled -Dinternal-api-docs=disabled -Denable-tests=true -Denable-docs=true -Dwerror=false' PKG_CONFIG_PATH=/nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev/lib/pkgconfig:/nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev/lib/pkgconfig:/nix/store/7gdpbhhz5jy1h2b70aj0jmlzzrrc7l5b-libkrb5-1.21.3-dev/lib/pkgconfig:/nix/store/5g36ajvi9pc356czqvjxjmyc85dc0m29-nghttp2-1.61.0-dev/lib/pkgconfig:/nix/store/f61whp44qlcm9srl1hz5qgch21pysjzz-libidn2-2.3.7-dev/lib/pkgconfig:/nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev/lib/pkgconfig:/nix/store/y0n3cfimyk8cvpcrj1v29hjh33zacpqy-libpsl-0.21.5-dev/lib/pkgconfig:/nix/store/nidrphljnjdj8diaxzw77r328hm42886-libssh2-1.11.0-dev/lib/pkgconfig:/nix/store/db47qd7nbfwzdjfk8r6q5kd3g9k6b89d-zlib-1.3.1-dev/lib/pkgconfig:/nix/store/l74lmnfb989k6zwq5f6fplr9ikp1zk36-zstd-1.5.6-dev/lib/pkgconfig:/nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev/lib/pkgconfig:/nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev/lib/pkgconfig:/nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev/lib/pkgconfig:/nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev/lib/pkgconfig:/nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev/lib/pkgconfig:/nix/store/453jsyihhpzynihy3jz78pscl2yq1l16-attr-2.5.2-dev/lib/pkgconfig:/nix/store/rydglcsb3qql278hs0gmrq5h8s5n7b67-acl-2.3.2-dev/lib/pkgconfig:/nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev/lib/pkgconfig:/nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev/lib/pkgconfig:/nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev/lib/pkgconfig:/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/lib/pkgconfig:/nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev/lib/pkgconfig:/nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev/lib/pkgconfig:/nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev/lib/pkgconfig:/nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev/lib/pkgconfig:/nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3/share/pkgconfig PYTHONNOUSERSITE=1 NIX_SET_BUILD_ID=1 shell=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash depsHostHost='' dontBuild='' PYTHONHASHSEED=0 STRINGS=strings src=/nix/store/rwakndmpj9dbr1sh2271g47l7d2fl1zf-source CMAKE_INCLUDE_PATH=/nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev/include:/nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev/include:/nix/store/7gdpbhhz5jy1h2b70aj0jmlzzrrc7l5b-libkrb5-1.21.3-dev/include:/nix/store/5g36ajvi9pc356czqvjxjmyc85dc0m29-nghttp2-1.61.0-dev/include:/nix/store/f61whp44qlcm9srl1hz5qgch21pysjzz-libidn2-2.3.7-dev/include:/nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev/include:/nix/store/y0n3cfimyk8cvpcrj1v29hjh33zacpqy-libpsl-0.21.5-dev/include:/nix/store/nidrphljnjdj8diaxzw77r328hm42886-libssh2-1.11.0-dev/include:/nix/store/db47qd7nbfwzdjfk8r6q5kd3g9k6b89d-zlib-1.3.1-dev/include:/nix/store/l74lmnfb989k6zwq5f6fplr9ikp1zk36-zstd-1.5.6-dev/include:/nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev/include:/nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev/include:/nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev/include:/nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev/include:/nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev/include:/nix/store/453jsyihhpzynihy3jz78pscl2yq1l16-attr-2.5.2-dev/include:/nix/store/rydglcsb3qql278hs0gmrq5h8s5n7b67-acl-2.3.2-dev/include:/nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev/include:/nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev/include:/nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev/include:/nix/store/dl8hhc1vxfkyzy2s0f33896gd5b5fysj-toml11-3.7.1/include:/nix/store/8ajzwvr82975ljrz9qs2xmajhacylfr9-pegtl-3.2.7/include:/nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev/include:/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/include:/nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev/include:/nix/store/prrb4ks4vzpp940m2fv67m41gkr8apa9-aws-crt-cpp-0.26.8-dev/include:/nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18/include:/nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16/include:/nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12/include:/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/include:/nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18/include:/nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2/include:/nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1/include:/nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7/include:/nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4/include:/nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7/include:/nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18/include:/nix/store/6jwqydmj2r208f1rrch5ivsvplc11ki4-s2n-tls-1.4.12-dev/include:/nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318/include:/nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev/include:/nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev/include:/nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev/include:/nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3/include depsTargetTarget='' stdenv=/nix/store/dd7nxjnni7nzm0846fq5xrm89ais5lwz-stdenv-linux builder=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash preInstall='' dev=/nix/store/m2hv0gj4nskfp3y19hmn2y1fhjcn10ad-lix-2.91.0-dev PWD=/build/source/build SOURCE_DATE_EPOCH=315532800 pname=lix NIX_ENFORCE_NO_NATIVE=1 BOOST_LIBRARYDIR=/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0/lib enableParallelInstalling=1 CXX=g++ installTargets='' TEMPDIR=/build system=x86_64-linux TZ=UTC _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__linux_x86_64-linux-gnu debug=/nix/store/m58lnpg2kl82bsqndnkyb7nmr1b1hfjy-lix-2.91.0-debug enableParallelBuilding=1 doInstallCheck=1 HOME=/homeless-shelter NIX_BINTOOLS=/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41 enableParallelChecking=1 installPhase=mesonInstallPhase GZIP_NO_TIMESTAMPS=1 depsTargetTargetPropagated='' cmakeFlags='-DCMAKE_MODULE_PATH=/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/lib/cmake ' NIX_SSL_CERT_FILE=/no-cert-file.crt version=2.91.0 outputs='out dev doc debug' NIX_STORE=/nix/store TMPDIR=/build CMAKE_PREFIX_PATH=/nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev:/nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev:/nix/store/yxrq045rq65n30pf2dvh801slv30x2al-brotli-1.1.0-lib:/nix/store/h3xqjzk1fkhj1i4h6whfpvkrfhrlqwkf-brotli-1.1.0:/nix/store/7gdpbhhz5jy1h2b70aj0jmlzzrrc7l5b-libkrb5-1.21.3-dev:/nix/store/lbp0rbrmvsh6nc5r0in8nm8qzr0z0ss0-libkrb5-1.21.3:/nix/store/5g36ajvi9pc356czqvjxjmyc85dc0m29-nghttp2-1.61.0-dev:/nix/store/1fdhlc55ycpvxfv9dxdllqvc70m83g08-nghttp2-1.61.0-lib:/nix/store/cx74g5axh785mhdfalkbg02hdbq40a2x-nghttp2-1.61.0:/nix/store/f61whp44qlcm9srl1hz5qgch21pysjzz-libidn2-2.3.7-dev:/nix/store/wq8jmlhbf0pl8vcay3axy5cgsj7m8762-libidn2-2.3.7-bin:/nix/store/psfazaip7ywf3vzxfd6ngjn9zwmla7gl-libidn2-2.3.7:/nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev:/nix/store/n6njr57g8cjky3xpciy84nzlz5955q2j-openssl-3.0.14-bin:/nix/store/anqmzdm5aqw5dvqcjivhhnpbb2y99a36-openssl-3.0.14:/nix/store/y0n3cfimyk8cvpcrj1v29hjh33zacpqy-libpsl-0.21.5-dev:/nix/store/syyj75f8n8xq85z9366zhg8a7k1194sp-publicsuffix-list-0-unstable-2024-01-07:/nix/store/c9fwl83hq4646n31bn443cg2a0hiyvj5-libpsl-0.21.5-bin:/nix/store/48gx5d9nxy5r62k0ih9v3zv5n8rij09p-libpsl-0.21.5:/nix/store/nidrphljnjdj8diaxzw77r328hm42886-libssh2-1.11.0-dev:/nix/store/a693ybk9rr1h5zd610vybdhabmzky11w-libssh2-1.11.0:/nix/store/db47qd7nbfwzdjfk8r6q5kd3g9k6b89d-zlib-1.3.1-dev:/nix/store/v2ny69wp81ch6k4bxmp4lnhh77r0n4h1-zlib-1.3.1:/nix/store/l74lmnfb989k6zwq5f6fplr9ikp1zk36-zstd-1.5.6-dev:/nix/store/86z7aqqvsc0aqxhvglz67x1gh8w425nq-zstd-1.5.6-bin:/nix/store/4xr9868xjcvyqz6jjzrp5snr19afq3bf-zstd-1.5.6:/nix/store/0yliz4s415p1apm9hkwxan5zww8hgcja-curl-8.7.1-bin:/nix/store/h51pc1y5sdfcw5mqwdwivig1blj7dnb4-curl-8.7.1:/nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin:/nix/store/b5jymh5kq8l3cam1yx2qypf7cjdhgil5-bzip2-1.0.8:/nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin:/nix/store/m55z476dllpljb3ipcy87r7whjb8qiiy-xz-5.4.7:/nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev:/nix/store/9cci65a9y2nbad1dxwpzaalv8l89qzn8-editline-1.17.1:/nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev:/nix/store/945my7vwxvv99ds4p9y25l5x2ql709qq-sqlite-3.45.3-bin:/nix/store/312yk1dazwk4pwrfj88csdlk9qvsgwsn-sqlite-3.45.3:/nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev:/nix/store/453jsyihhpzynihy3jz78pscl2yq1l16-attr-2.5.2-dev:/nix/store/yh0pb33c0p7vdzyw4q60633amgcpxzi3-attr-2.5.2-bin:/nix/store/iq54s8jfc9xs69q27kgaglri0jzdmhsk-attr-2.5.2:/nix/store/rydglcsb3qql278hs0gmrq5h8s5n7b67-acl-2.3.2-dev:/nix/store/228simhn18dkib2cd7nsdbbfjqqvks69-acl-2.3.2-bin:/nix/store/74jkwi9v0rxkk7i57j4jlisa0gn2mk0r-acl-2.3.2:/nix/store/j8bbqzx0ck6zzxr3ria7klww8dfd24g7-libarchive-3.7.4-lib:/nix/store/yc7xipmlk27jryd4gs7j9wavvdc8zx6p-libarchive-3.7.4:/nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev:/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0:/nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev:/nix/store/hbjk2r7pmsvp6rlhglkyq5c52nh8mkln-lowdown-1.1.0-lib:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0:/nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev:/nix/store/g633y90m23g7lq0z8qx3qyrr1pm23fpz-libsodium-1.0.19:/nix/store/dl8hhc1vxfkyzy2s0f33896gd5b5fysj-toml11-3.7.1:/nix/store/p8f6ng67n5s5rbl9pvxaxpjmgmc144h4-lix-doc:/nix/store/8ajzwvr82975ljrz9qs2xmajhacylfr9-pegtl-3.2.7:/nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev:/nix/store/dprbpf59cps5jxxwdkwifm0fag1bz0j3-libseccomp-2.5.5-lib:/nix/store/dwrkqr6cgc5cwar1av081zvdfqq5jmfd-libseccomp-2.5.5:/nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1:/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5:/nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev:/nix/store/prrb4ks4vzpp940m2fv67m41gkr8apa9-aws-crt-cpp-0.26.8-dev:/nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18:/nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16:/nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12:/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17:/nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18:/nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2:/nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1:/nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7:/nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4:/nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7:/nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18:/nix/store/6jwqydmj2r208f1rrch5ivsvplc11ki4-s2n-tls-1.4.12-dev:/nix/store/pav2r7vvkhxq2zy4wyl0dd7bda10nscb-s2n-tls-1.4.12:/nix/store/zcpyrh50h5vkj6p7iz8wl2wp2cw9bscz-aws-crt-cpp-0.26.8:/nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318:/nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev:/nix/store/8ysnx2m1cp3bj0yslln9vy3irshg35f3-gtest-1.14.0:/nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev:/nix/store/ws8hrpdxby8d4iplc9qr19smy90gv7mr-rapidcheck-0-unstable-2023-12-14:/nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev:/nix/store/c2xb5vwgv5nis1a57djk5w4i6gy9vsnf-boehm-gc-8.2.6:/nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3 mesonCheckFlags='--suite=check --print-errorlogs' LD=ld NIX_ENFORCE_PURITY=1 READELF=readelf doCheck=1 NIX_LOG_FD=2 separateDebugInfo=1 depsBuildBuild='' disallowedReferences=/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0 PYTHONPATH=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/lib/python3.11/site-packages:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/lib/python3.11/site-packages:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/lib/python3.11/site-packages:/nix/store/5lbg56wl2j9jj42bvdj2h1aimpk7rbv8-python3.11-fb-re2-1.0.7/lib/python3.11/site-packages TERM=xterm-256color SIZE=size propagatedNativeBuildInputs='' strictDeps=1 NIX_RUSTFLAGS=' -g' AR=ar AS=as TEMP=/build NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 preConfigure='# Copy libboost_context so we don'"'"'t get all of Boost in our closure. # https://github.com/NixOS/nixpkgs/issues/45462 mkdir -p $out/lib cp -pd /nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0/lib/{libboost_context*,libboost_thread*,libboost_system*} $out/lib rm -f $out/lib/*.a chmod u+w $out/lib/*.so.* patchelf --set-rpath $out/lib:/nix/store/p44qan69linp3ii0xrviypsw2j4qdcp2-gcc-13.2.0-lib/lib $out/lib/libboost_thread.so.* # Fix up /usr/bin/env shebangs relied on by the build patchShebangs --build tests/ doc/manual/ ' SHLVL=1 NIX_BUILD_TOP=/build NM=nm NIX_CFLAGS_COMPILE=' -ggdb -Wa,--compress-debug-sections -frandom-seed=k4m31q5ral -isystem /nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev/include -isystem /nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev/include -isystem /nix/store/7gdpbhhz5jy1h2b70aj0jmlzzrrc7l5b-libkrb5-1.21.3-dev/include -isystem /nix/store/5g36ajvi9pc356czqvjxjmyc85dc0m29-nghttp2-1.61.0-dev/include -isystem /nix/store/f61whp44qlcm9srl1hz5qgch21pysjzz-libidn2-2.3.7-dev/include -isystem /nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev/include -isystem /nix/store/y0n3cfimyk8cvpcrj1v29hjh33zacpqy-libpsl-0.21.5-dev/include -isystem /nix/store/nidrphljnjdj8diaxzw77r328hm42886-libssh2-1.11.0-dev/include -isystem /nix/store/db47qd7nbfwzdjfk8r6q5kd3g9k6b89d-zlib-1.3.1-dev/include -isystem /nix/store/l74lmnfb989k6zwq5f6fplr9ikp1zk36-zstd-1.5.6-dev/include -isystem /nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev/include -isystem /nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev/include -isystem /nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev/include -isystem /nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev/include -isystem /nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev/include -isystem /nix/store/453jsyihhpzynihy3jz78pscl2yq1l16-attr-2.5.2-dev/include -isystem /nix/store/rydglcsb3qql278hs0gmrq5h8s5n7b67-acl-2.3.2-dev/include -isystem /nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev/include -isystem /nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev/include -isystem /nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev/include -isystem /nix/store/dl8hhc1vxfkyzy2s0f33896gd5b5fysj-toml11-3.7.1/include -isystem /nix/store/8ajzwvr82975ljrz9qs2xmajhacylfr9-pegtl-3.2.7/include -isystem /nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev/include -isystem /nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/include -isystem /nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev/include -isystem /nix/store/prrb4ks4vzpp940m2fv67m41gkr8apa9-aws-crt-cpp-0.26.8-dev/include -isystem /nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18/include -isystem /nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16/include -isystem /nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12/include -isystem /nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/include -isystem /nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18/include -isystem /nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2/include -isystem /nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1/include -isystem /nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7/include -isystem /nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4/include -isystem /nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7/include -isystem /nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18/include -isystem /nix/store/6jwqydmj2r208f1rrch5ivsvplc11ki4-s2n-tls-1.4.12-dev/include -isystem /nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318/include -isystem /nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev/include -isystem /nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev/include -isystem /nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev/include -isystem /nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3/include' dontUseCmakeConfigure=1 patches='' mesonBuildType=debugoptimized postInstall='mkdir -p $doc/nix-support echo "doc manual $doc/share/doc/nix/manual" >> $doc/nix-support/hydra-build-products ' buildInputs='/nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev /nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev /nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev /nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev /nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev /nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev /nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev /nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev /nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev /nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev /nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev /nix/store/dl8hhc1vxfkyzy2s0f33896gd5b5fysj-toml11-3.7.1 /nix/store/p8f6ng67n5s5rbl9pvxaxpjmgmc144h4-lix-doc /nix/store/8ajzwvr82975ljrz9qs2xmajhacylfr9-pegtl-3.2.7 /nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1 /nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5 /nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev /nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev /nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev' SSL_CERT_FILE=/no-cert-file.crt NIX_PKG_CONFIG_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 installCheckPhase='runHook preInstallCheck flagsArray=($mesonInstallCheckFlags "${mesonInstallCheckFlagsArray[@]}") meson test --no-rebuild "${flagsArray[@]}" runHook postInstallCheck ' depsBuildTarget='' OBJCOPY=objcopy DETERMINISTIC_BUILD=1 out=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0 STRIP=strip XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share TMP=/build OBJDUMP=objdump PATH=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin propagatedBuildInputs='/nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev /nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3' CC=gcc NIX_CC=/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0 depsBuildTargetPropagated='' depsBuildBuildPropagated='' NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 VERSION_SUFFIX='' CONFIG_SHELL=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash __structuredAttrs='' RANLIB=ranlib NIX_HARDENING_ENABLE='bindnow format fortify fortify3 pic relro stackprotector' OLDPWD=/build/source NIX_LDFLAGS='-rpath /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/lib --compress-debug-sections=zlib -L/nix/store/yxrq045rq65n30pf2dvh801slv30x2al-brotli-1.1.0-lib/lib -L/nix/store/lbp0rbrmvsh6nc5r0in8nm8qzr0z0ss0-libkrb5-1.21.3/lib -L/nix/store/1fdhlc55ycpvxfv9dxdllqvc70m83g08-nghttp2-1.61.0-lib/lib -L/nix/store/psfazaip7ywf3vzxfd6ngjn9zwmla7gl-libidn2-2.3.7/lib -L/nix/store/anqmzdm5aqw5dvqcjivhhnpbb2y99a36-openssl-3.0.14/lib -L/nix/store/48gx5d9nxy5r62k0ih9v3zv5n8rij09p-libpsl-0.21.5/lib -L/nix/store/a693ybk9rr1h5zd610vybdhabmzky11w-libssh2-1.11.0/lib -L/nix/store/v2ny69wp81ch6k4bxmp4lnhh77r0n4h1-zlib-1.3.1/lib -L/nix/store/4xr9868xjcvyqz6jjzrp5snr19afq3bf-zstd-1.5.6/lib -L/nix/store/h51pc1y5sdfcw5mqwdwivig1blj7dnb4-curl-8.7.1/lib -L/nix/store/b5jymh5kq8l3cam1yx2qypf7cjdhgil5-bzip2-1.0.8/lib -L/nix/store/m55z476dllpljb3ipcy87r7whjb8qiiy-xz-5.4.7/lib -L/nix/store/9cci65a9y2nbad1dxwpzaalv8l89qzn8-editline-1.17.1/lib -L/nix/store/312yk1dazwk4pwrfj88csdlk9qvsgwsn-sqlite-3.45.3/lib -L/nix/store/iq54s8jfc9xs69q27kgaglri0jzdmhsk-attr-2.5.2/lib -L/nix/store/74jkwi9v0rxkk7i57j4jlisa0gn2mk0r-acl-2.3.2/lib -L/nix/store/j8bbqzx0ck6zzxr3ria7klww8dfd24g7-libarchive-3.7.4-lib/lib -L/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0/lib -L/nix/store/hbjk2r7pmsvp6rlhglkyq5c52nh8mkln-lowdown-1.1.0-lib/lib -L/nix/store/g633y90m23g7lq0z8qx3qyrr1pm23fpz-libsodium-1.0.19/lib -L/nix/store/p8f6ng67n5s5rbl9pvxaxpjmgmc144h4-lix-doc/lib -L/nix/store/dprbpf59cps5jxxwdkwifm0fag1bz0j3-libseccomp-2.5.5-lib/lib -L/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/lib -L/nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18/lib -L/nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16/lib -L/nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12/lib -L/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/lib -L/nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18/lib -L/nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2/lib -L/nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1/lib -L/nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7/lib -L/nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4/lib -L/nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7/lib -L/nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18/lib -L/nix/store/pav2r7vvkhxq2zy4wyl0dd7bda10nscb-s2n-tls-1.4.12/lib -L/nix/store/zcpyrh50h5vkj6p7iz8wl2wp2cw9bscz-aws-crt-cpp-0.26.8/lib -L/nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318/lib -L/nix/store/8ysnx2m1cp3bj0yslln9vy3irshg35f3-gtest-1.14.0/lib -L/nix/store/ws8hrpdxby8d4iplc9qr19smy90gv7mr-rapidcheck-0-unstable-2023-12-14/lib -L/nix/store/c2xb5vwgv5nis1a57djk5w4i6gy9vsnf-boehm-gc-8.2.6/lib' nativeBuildInputs='/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9 /nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1 /nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1 /nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2 /nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0 /nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37 /nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7 /nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2 /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1 /nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3 /nix/store/xm8ib16nffv96llqxg6vd623mv6ibvqd-jq-1.7.1-dev /nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3 /nix/store/2r8hl6jaifc0n8wm1akck8zj5iv8ck79-util-linux-minimal-2.39.4-dev /nix/store/12l2v3kmacnpmx14p2345kk41fpv31rw-separate-debug-info.sh' mesonInstallCheckFlags='--suite=installcheck --print-errorlogs' CMAKE_LIBRARY_PATH=/nix/store/yxrq045rq65n30pf2dvh801slv30x2al-brotli-1.1.0-lib/lib:/nix/store/lbp0rbrmvsh6nc5r0in8nm8qzr0z0ss0-libkrb5-1.21.3/lib:/nix/store/1fdhlc55ycpvxfv9dxdllqvc70m83g08-nghttp2-1.61.0-lib/lib:/nix/store/psfazaip7ywf3vzxfd6ngjn9zwmla7gl-libidn2-2.3.7/lib:/nix/store/anqmzdm5aqw5dvqcjivhhnpbb2y99a36-openssl-3.0.14/lib:/nix/store/48gx5d9nxy5r62k0ih9v3zv5n8rij09p-libpsl-0.21.5/lib:/nix/store/a693ybk9rr1h5zd610vybdhabmzky11w-libssh2-1.11.0/lib:/nix/store/v2ny69wp81ch6k4bxmp4lnhh77r0n4h1-zlib-1.3.1/lib:/nix/store/4xr9868xjcvyqz6jjzrp5snr19afq3bf-zstd-1.5.6/lib:/nix/store/h51pc1y5sdfcw5mqwdwivig1blj7dnb4-curl-8.7.1/lib:/nix/store/b5jymh5kq8l3cam1yx2qypf7cjdhgil5-bzip2-1.0.8/lib:/nix/store/m55z476dllpljb3ipcy87r7whjb8qiiy-xz-5.4.7/lib:/nix/store/9cci65a9y2nbad1dxwpzaalv8l89qzn8-editline-1.17.1/lib:/nix/store/312yk1dazwk4pwrfj88csdlk9qvsgwsn-sqlite-3.45.3/lib:/nix/store/iq54s8jfc9xs69q27kgaglri0jzdmhsk-attr-2.5.2/lib:/nix/store/74jkwi9v0rxkk7i57j4jlisa0gn2mk0r-acl-2.3.2/lib:/nix/store/j8bbqzx0ck6zzxr3ria7klww8dfd24g7-libarchive-3.7.4-lib/lib:/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0/lib:/nix/store/hbjk2r7pmsvp6rlhglkyq5c52nh8mkln-lowdown-1.1.0-lib/lib:/nix/store/g633y90m23g7lq0z8qx3qyrr1pm23fpz-libsodium-1.0.19/lib:/nix/store/p8f6ng67n5s5rbl9pvxaxpjmgmc144h4-lix-doc/lib:/nix/store/dprbpf59cps5jxxwdkwifm0fag1bz0j3-libseccomp-2.5.5-lib/lib:/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/lib:/nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18/lib:/nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16/lib:/nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12/lib:/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/lib:/nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18/lib:/nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2/lib:/nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1/lib:/nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7/lib:/nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4/lib:/nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7/lib:/nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18/lib:/nix/store/pav2r7vvkhxq2zy4wyl0dd7bda10nscb-s2n-tls-1.4.12/lib:/nix/store/zcpyrh50h5vkj6p7iz8wl2wp2cw9bscz-aws-crt-cpp-0.26.8/lib:/nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318/lib:/nix/store/8ysnx2m1cp3bj0yslln9vy3irshg35f3-gtest-1.14.0/lib:/nix/store/ws8hrpdxby8d4iplc9qr19smy90gv7mr-rapidcheck-0-unstable-2023-12-14/lib:/nix/store/c2xb5vwgv5nis1a57djk5w4i6gy9vsnf-boehm-gc-8.2.6/lib name=lix-2.91.0 PKG_CONFIG=pkg-config depsHostHostPropagated='' _=/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin/meson LC_CTYPE=C.UTF-8 =================================== 1/161 ==================================== test: lix:installcheck / functional-test-infra start time: 20:57:30 duration: 0.22s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=160 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py test-infra.sh ----------------------------------- stdout ----------------------------------- foo [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/test-infra +(init.sh:7) test -d /build/nix-test/test-infra +(init.sh:8) chmod -R u+w /build/nix-test/test-infra +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/test-infra +(init.sh:13) mkdir /build/nix-test/test-infra +(init.sh:15) mkdir /build/nix-test/test-infra/store +(init.sh:16) mkdir /build/nix-test/test-infra/var +(init.sh:17) mkdir -p /build/nix-test/test-infra/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/test-infra/var/nix +(init.sh:19) mkdir /build/nix-test/test-infra/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/test-infra/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(test-infra.sh:6) expect 0 true +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) true +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 0 -ne 0 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:9) expect 1 false +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) false +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:12) expect 1 expect 0 false +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) expect 0 false +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) false +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 0 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:201) echo 'Expected exit code '\''0'\'' but got '\''1'\'' from command '\''false'\''' Expected exit code '0' but got '1' from command 'false' +(/build/source/build/tests/functional/common/vars-and-functions.sh:202) return 1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:25) grepQuiet YAY +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep YAY +(test-infra.sh:25) expectStderr 0 noisyTrue +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) noisyTrue +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 0 -ne 0 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(test-infra.sh:26) expectStderr 1 noisyFalse +(test-infra.sh:26) grepQuiet NAY +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) noisyFalse +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep NAY +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(test-infra.sh:34) expect 1 pipefailure +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) pipefailure +(test-infra.sh:32) true +(test-infra.sh:32) false +(test-infra.sh:32) true +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:35) unset pipefailure +(test-infra.sh:41) expect 1 pipefailure +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) pipefailure +(test-infra.sh:39) true +(test-infra.sh:39) false +(test-infra.sh:39) true +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:42) unset pipefailure +(test-infra.sh:48) expect 1 commandSubstitutionPipeFailure +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) commandSubstitutionPipeFailure ++(test-infra.sh:46) set -eu -o pipefail ++(test-infra.sh:46) false ++(test-infra.sh:46) echo 0 ++(test-infra.sh:46) true +(test-infra.sh:46) res=0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:59) expect 1 useUnbound +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) useUnbound +(test-infra.sh:55) set -eu test-infra.sh: line 57: thisVariableIsNotBound: unbound variable +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:63) true +(test-infra.sh:67) expect 1 funBang +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) funBang +(test-infra.sh:65) true +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:68) unset funBang +(test-infra.sh:73) echo foo +(test-infra.sh:73) echo bar +(test-infra.sh:73) grep -v -q foo +(test-infra.sh:74) echo foo +(test-infra.sh:74) echo bar +(test-infra.sh:74) expect 1 grepInverse foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) grepInverse foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:258) grep foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 ++(test-infra.sh:77) set -eu -o pipefail ++(test-infra.sh:77) echo foo ++(test-infra.sh:77) grepQuiet foo ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo ++(test-infra.sh:77) wc -c +(test-infra.sh:77) res=0 +(test-infra.sh:78) (( res == 0 )) +(test-infra.sh:79) unset res +(test-infra.sh:82) expect 1 grepQuietInverse foo +(test-infra.sh:82) echo foo +(test-infra.sh:82) echo bar +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) grepQuietInverse foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 ++(test-infra.sh:83) set -eu -o pipefail ++(test-infra.sh:83) expect 1 grepQuietInverse foo ++(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res ++(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift ++(/build/source/build/tests/functional/common/vars-and-functions.sh:199) grepQuietInverse foo ++(test-infra.sh:83) echo foo ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep foo ++(test-infra.sh:83) wc -c ++(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(test-infra.sh:83) res=0 +(test-infra.sh:84) (( res == 0 )) +(test-infra.sh:85) unset res ============================================================================== =================================== 2/161 ==================================== test: lix:installcheck / functional-init start time: 20:57:30 duration: 0.26s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=183 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py init.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/init +(init.sh:7) test -d /build/nix-test/init +(init.sh:8) chmod -R u+w /build/nix-test/init +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/init +(init.sh:13) mkdir /build/nix-test/init +(init.sh:15) mkdir /build/nix-test/init/store +(init.sh:16) mkdir /build/nix-test/init/var +(init.sh:17) mkdir -p /build/nix-test/init/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/init/var/nix +(init.sh:19) mkdir /build/nix-test/init/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/init/var/nix/db/db.sqlite ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/init +(init.sh:7) test -d /build/nix-test/init +(init.sh:8) chmod -R u+w /build/nix-test/init +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/init +(init.sh:13) mkdir /build/nix-test/init +(init.sh:15) mkdir /build/nix-test/init/store +(init.sh:16) mkdir /build/nix-test/init/var +(init.sh:17) mkdir -p /build/nix-test/init/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/init/var/nix +(init.sh:19) mkdir /build/nix-test/init/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/init/var/nix/db/db.sqlite ============================================================================== =================================== 3/161 ==================================== test: lix:installcheck / functional-ca-eval-store start time: 20:57:30 duration: 0.43s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=160 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/eval-store.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/eval-store +(init.sh:7) test -d /build/nix-test/ca/eval-store +(init.sh:8) chmod -R u+w /build/nix-test/ca/eval-store +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/eval-store +(init.sh:13) mkdir /build/nix-test/ca/eval-store +(init.sh:15) mkdir /build/nix-test/ca/eval-store/store +(init.sh:16) mkdir /build/nix-test/ca/eval-store/var +(init.sh:17) mkdir -p /build/nix-test/ca/eval-store/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/eval-store/var/nix +(init.sh:19) mkdir /build/nix-test/ca/eval-store/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/eval-store/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/eval-store/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(eval-store.sh:7) export NIX_TESTS_CA_BY_DEFAULT=1 +(eval-store.sh:7) NIX_TESTS_CA_BY_DEFAULT=1 +(eval-store.sh:9) cd .. +(eval-store.sh:10) source eval-store.sh ++(eval-store.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(eval-store.sh:5) needLocalStore '“--eval-store” doesn'\''t achieve much with the daemon' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] ++(eval-store.sh:7) eval_store=/build/nix-test/ca/eval-store/eval-store ++(eval-store.sh:9) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/eval-store/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/eval-store/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/eval-store/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/eval-store/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/eval-store/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/eval-store/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/eval-store/test-home/.local/state/nix/profiles ++(eval-store.sh:10) rm -rf /build/nix-test/ca/eval-store/eval-store ++(eval-store.sh:12) nix build -f dependencies.nix --eval-store /build/nix-test/ca/eval-store/eval-store -o /build/nix-test/ca/eval-store/result warning: you don't have Internet access; disabling some network-dependent features don't know how to build these paths: /build/nix-test/ca/eval-store/store/wcincpf25inpc5gic03mfblmjfbnzg94-dependencies-top.drv copying 1 paths... copying path '/build/nix-test/ca/eval-store/store/c1zy88qd5s5qnfbjmcnnagr2icc62r8n-dependencies.builder0.sh' to 'local'... copying 1 paths... copying path '/build/nix-test/ca/eval-store/store/mp4b850qzif1f3qgsdb2qrbr4f36vrin-builder-dependencies-input-0.sh' to 'local'... copying 1 paths... copying path '/build/nix-test/ca/eval-store/store/s4zaplgxf5wqlihwh4wcym18y4qh5dnn-builder-dependencies-input-1.sh' to 'local'... copying 1 paths... copying path '/build/nix-test/ca/eval-store/store/lxbv3v0jrzsyyivgc9vqka4q3i01dflb-builder-dependencies-input-2.sh' to 'local'... copying 1 paths... copying path '/build/nix-test/ca/eval-store/store/9jy91mrk8jy6h4v6p6gh9i7lkzw7x0rh-builder-fod-input.sh' to 'local'... building '/build/nix-test/ca/eval-store/store/8h90q194knbgh3pyifx6j97xxf8qq439-dependencies-input-0.drv'... building '/build/nix-test/ca/eval-store/store/6zml8a4anki3q9hgd05d3s4dbiswnic6-dependencies-input-1.drv'... copying 0 paths... building '/build/nix-test/ca/eval-store/store/j09v19yvc46xhisag4ww8fjkykrq8nl3-dependencies-input-2.drv'... building '/build/nix-test/ca/eval-store/store/xrq7l6ycnhwc3c71045jdbaqmwbbkikg-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/eval-store/store/aswjx1svgj615ly3ks82f6608wd1abx4-fod-input': Permission denied +++(eval-store.sh:12) onError +++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x eval-store.sh: test failed at: source in eval-store.sh:12 main in eval-store.sh:10 ============================================================================== =================================== 4/161 ==================================== test: lix:installcheck / functional-ca-derivation-json start time: 20:57:30 duration: 0.49s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=189 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/derivation-json.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/derivation-json +(init.sh:7) test -d /build/nix-test/ca/derivation-json +(init.sh:8) chmod -R u+w /build/nix-test/ca/derivation-json +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/derivation-json +(init.sh:13) mkdir /build/nix-test/ca/derivation-json +(init.sh:15) mkdir /build/nix-test/ca/derivation-json/store +(init.sh:16) mkdir /build/nix-test/ca/derivation-json/var +(init.sh:17) mkdir -p /build/nix-test/ca/derivation-json/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/derivation-json/var/nix +(init.sh:19) mkdir /build/nix-test/ca/derivation-json/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/derivation-json/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/derivation-json/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(derivation-json.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1 +(derivation-json.sh:3) NIX_TESTS_CA_BY_DEFAULT=1 ++(derivation-json.sh:5) nix-instantiate ../simple.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(derivation-json.sh:5) drvPath=/build/nix-test/ca/derivation-json/store/xrzzh2nvr0mf0qm3pkhsric35g0x1pcq-simple.drv +(derivation-json.sh:7) jq '.[]' +(derivation-json.sh:7) nix derivation show /build/nix-test/ca/derivation-json/store/xrzzh2nvr0mf0qm3pkhsric35g0x1pcq-simple.drv warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/ca/derivation-json/store/xrzzh2nvr0mf0qm3pkhsric35g0x1pcq-simple.drv^*' ++(derivation-json.sh:9) nix derivation add warning: you don't have Internet access; disabling some network-dependent features +(derivation-json.sh:9) drvPath2=/build/nix-test/ca/derivation-json/store/xrzzh2nvr0mf0qm3pkhsric35g0x1pcq-simple.drv +(derivation-json.sh:11) [[ /build/nix-test/ca/derivation-json/store/xrzzh2nvr0mf0qm3pkhsric35g0x1pcq-simple.drv = \/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\c\a\/\d\e\r\i\v\a\t\i\o\n\-\j\s\o\n\/\s\t\o\r\e\/\x\r\z\z\h\2\n\v\r\0\m\f\0\q\m\3\p\k\h\s\r\i\c\3\5\g\0\x\1\p\c\q\-\s\i\m\p\l\e\.\d\r\v ]] +(derivation-json.sh:14) jq '.name = "foo"' ++(derivation-json.sh:15) nix derivation add --dry-run warning: you don't have Internet access; disabling some network-dependent features +(derivation-json.sh:15) drvPath3=/build/nix-test/ca/derivation-json/store/1vwkz5fpcaqzkyx66znq0fivlf3mj4ld-foo.drv +(derivation-json.sh:17) [[ ! -e /build/nix-test/ca/derivation-json/store/1vwkz5fpcaqzkyx66znq0fivlf3mj4ld-foo.drv ]] +(derivation-json.sh:20) expectStderr 1 nix derivation add --experimental-features nix-command +(derivation-json.sh:20) grepQuiet 'experimental Lix feature '\''ca-derivations'\'' is disabled' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix derivation add --experimental-features nix-command +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'experimental Lix feature '\''ca-derivations'\'' is disabled' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ++(derivation-json.sh:23) nix derivation add warning: you don't have Internet access; disabling some network-dependent features +(derivation-json.sh:23) drvPath4=/build/nix-test/ca/derivation-json/store/1vwkz5fpcaqzkyx66znq0fivlf3mj4ld-foo.drv +(derivation-json.sh:24) [[ /build/nix-test/ca/derivation-json/store/1vwkz5fpcaqzkyx66znq0fivlf3mj4ld-foo.drv = \/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\c\a\/\d\e\r\i\v\a\t\i\o\n\-\j\s\o\n\/\s\t\o\r\e\/\1\v\w\k\z\5\f\p\c\a\q\z\k\y\x\6\6\z\n\q\0\f\i\v\l\f\3\m\j\4\l\d\-\f\o\o\.\d\r\v ]] +(derivation-json.sh:25) [[ -e /build/nix-test/ca/derivation-json/store/1vwkz5fpcaqzkyx66znq0fivlf3mj4ld-foo.drv ]] +(derivation-json.sh:28) nix derivation show /build/nix-test/ca/derivation-json/store/1vwkz5fpcaqzkyx66znq0fivlf3mj4ld-foo.drv +(derivation-json.sh:28) jq '.[]' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/ca/derivation-json/store/1vwkz5fpcaqzkyx66znq0fivlf3mj4ld-foo.drv^*' +(derivation-json.sh:29) diff /build/nix-test/ca/derivation-json/test-home/foo.json /build/nix-test/ca/derivation-json/test-home/foo-read.json ============================================================================== =================================== 5/161 ==================================== test: lix:installcheck / functional-ca-import-derivation start time: 20:57:30 duration: 0.42s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=197 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/import-derivation.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/import-derivation +(init.sh:7) test -d /build/nix-test/ca/import-derivation +(init.sh:8) chmod -R u+w /build/nix-test/ca/import-derivation +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/import-derivation +(init.sh:13) mkdir /build/nix-test/ca/import-derivation +(init.sh:15) mkdir /build/nix-test/ca/import-derivation/store +(init.sh:16) mkdir /build/nix-test/ca/import-derivation/var +(init.sh:17) mkdir -p /build/nix-test/ca/import-derivation/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/import-derivation/var/nix +(init.sh:19) mkdir /build/nix-test/ca/import-derivation/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/import-derivation/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/import-derivation/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(import-derivation.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1 +(import-derivation.sh:3) NIX_TESTS_CA_BY_DEFAULT=1 +(import-derivation.sh:5) cd .. +(import-derivation.sh:5) source import-derivation.sh ++(import-derivation.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(import-derivation.sh:3) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/import-derivation/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/import-derivation/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/import-derivation/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/import-derivation/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/import-derivation/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/import-derivation/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/import-derivation/test-home/.local/state/nix/profiles ++(import-derivation.sh:5) nix-instantiate --readonly-mode ./import-derivation.nix error: … while evaluating 'strict' to select 'drvPath' on it at /builtin/derivation.nix:1:552: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:1:208: … while evaluating derivation 'foo' whose name attribute is located at /build/source/build/tests/functional/import-derivation.nix:21:3 … while evaluating attribute 'args' of derivation 'foo' at /build/source/build/tests/functional/config.nix:23:7: 22| builder = shell; 23| args = ["-e" args.builder or (builtins.toFile "builder-${args.name}.sh" '' | ^ 24| if [ -e "$NIX_ATTRS_SH_FILE" ]; then source $NIX_ATTRS_SH_FILE; fi; … while evaluating the attribute 'builder' at /build/source/build/tests/functional/import-derivation.nix:22:3: 21| name = "foo"; 22| builder = builtins.toFile "builder.sh" | ^ 23| '' … while calling the 'toFile' builtin at /build/source/build/tests/functional/import-derivation.nix:22:13: 21| name = "foo"; 22| builder = builtins.toFile "builder.sh" | ^ 23| '' … while evaluating the second argument passed to builtins.toFile … while calling the 'toString' builtin at /build/source/build/tests/functional/import-derivation.nix:24:20: 23| '' 24| echo -n FOO${toString value} > $out | ^ 25| ''; … in the condition of the assert statement at /build/source/build/tests/functional/import-derivation.nix:15:5: 14| # Test that pathExists can check the existence of /nix/store paths 15| assert builtins.pathExists bar; | ^ 16| import bar; … while calling the 'pathExists' builtin at /build/source/build/tests/functional/import-derivation.nix:15:12: 14| # Test that pathExists can check the existence of /nix/store paths 15| assert builtins.pathExists bar; | ^ 16| import bar; … while realising the context of path '/1ffsqd2wqd4d5j0d772jwlj3zfmhpvi27g3p6z7cdch9rzjgndah' error: path '/build/nix-test/ca/import-derivation/store/dzcan2h7k0dhz1ci4zm9jvnbq9bw9gnx-bar.drv' did not exist in the store during evaluation +++(import-derivation.sh:10) nix-build ./import-derivation.nix --no-out-link building '/build/nix-test/ca/import-derivation/store/dzcan2h7k0dhz1ci4zm9jvnbq9bw9gnx-bar.drv'... this derivation will be built: /build/nix-test/ca/import-derivation/store/8s5rhdrm8cviv2nv4wg6pbmdm8slj0fr-foo.drv building '/build/nix-test/ca/import-derivation/store/8s5rhdrm8cviv2nv4wg6pbmdm8slj0fr-foo.drv'... ++(import-derivation.sh:10) outPath=/build/nix-test/ca/import-derivation/store/6f2j1rc481nphrhbfbpg167nsk9jkibg-foo +++(import-derivation.sh:12) cat /build/nix-test/ca/import-derivation/store/6f2j1rc481nphrhbfbpg167nsk9jkibg-foo ++(import-derivation.sh:12) '[' FOO579 = FOO579 ']' ============================================================================== =================================== 6/161 ==================================== test: lix:installcheck / functional-ca-gc start time: 20:57:30 duration: 0.46s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=220 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/gc.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/gc +(init.sh:7) test -d /build/nix-test/ca/gc +(init.sh:8) chmod -R u+w /build/nix-test/ca/gc +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/gc +(init.sh:13) mkdir /build/nix-test/ca/gc +(init.sh:15) mkdir /build/nix-test/ca/gc/store +(init.sh:16) mkdir /build/nix-test/ca/gc/var +(init.sh:17) mkdir -p /build/nix-test/ca/gc/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/gc/var/nix +(init.sh:19) mkdir /build/nix-test/ca/gc/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/gc/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/gc/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(gc.sh:7) export NIX_TESTS_CA_BY_DEFAULT=1 +(gc.sh:7) NIX_TESTS_CA_BY_DEFAULT=1 +(gc.sh:9) cd .. +(gc.sh:10) source gc.sh ++(gc.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(gc.sh:3) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/gc/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/gc/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/gc/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/gc/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/gc/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/gc/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/gc/test-home/.local/state/nix/profiles +++(gc.sh:5) nix-instantiate dependencies.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(gc.sh:5) drvPath=/build/nix-test/ca/gc/store/bxdh1pdjqfk1sy2iwpvkxjgrjwvxd8c1-dependencies-top.drv +++(gc.sh:6) nix-store -rvv /build/nix-test/ca/gc/store/bxdh1pdjqfk1sy2iwpvkxjgrjwvxd8c1-dependencies-top.drv these 5 derivations will be built: /build/nix-test/ca/gc/store/0q1z7bghanbkndzmb1dkhjgl4vaa087a-dependencies-input-0.drv /build/nix-test/ca/gc/store/45xqrgalhx98wz8xc779zbpa60660fdg-dependencies-input-1.drv /build/nix-test/ca/gc/store/8a80sbizzi9pja91b3bnnw6bi9hhx9z8-fod-input.drv /build/nix-test/ca/gc/store/sw1a8slafqdhhglxgqqmaj8qasc0yh66-dependencies-input-2.drv /build/nix-test/ca/gc/store/bxdh1pdjqfk1sy2iwpvkxjgrjwvxd8c1-dependencies-top.drv executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/gc/store/91d66yrwh1dvgaq59b8lxnrqv2fjfza4-builder-dependencies-input-0.sh' building '/build/nix-test/ca/gc/store/0q1z7bghanbkndzmb1dkhjgl4vaa087a-dependencies-input-0.drv'... resolved derivation: '/build/nix-test/ca/gc/store/sw1a8slafqdhhglxgqqmaj8qasc0yh66-dependencies-input-2.drv' -> '/build/nix-test/ca/gc/store/nl63bjgspkn7zv97k4ya0k9hp6adafvz-dependencies-input-2.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/gc/store/84gssbzpdxfzvxl9l73mrrr6b4pzixc6-builder-dependencies-input-1.sh' building '/build/nix-test/ca/gc/store/45xqrgalhx98wz8xc779zbpa60660fdg-dependencies-input-1.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/gc/store/92vk4via2nsdp6h21s9x28fmrkk4pdkz-builder-dependencies-input-2.sh' building '/build/nix-test/ca/gc/store/nl63bjgspkn7zv97k4ya0k9hp6adafvz-dependencies-input-2.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/gc/store/xzylimkarm2smpchwsmrjpbw5hvc606k-builder-fod-input.sh' building '/build/nix-test/ca/gc/store/8a80sbizzi9pja91b3bnnw6bi9hhx9z8-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/gc/store/25a4yiarkyxdlzaqgx0jyd899d5wr6bj-fod-input': Permission denied ++(gc.sh:6) outPath= +++(gc.sh:6) onError +++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x gc.sh: test failed at: source in gc.sh:6 main in gc.sh:10 ============================================================================== =================================== 7/161 ==================================== test: lix:installcheck / functional-ca-nix-run start time: 20:57:31 duration: 0.36s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=153 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/nix-run.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/nix-run +(init.sh:7) test -d /build/nix-test/ca/nix-run +(init.sh:8) chmod -R u+w /build/nix-test/ca/nix-run +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/nix-run +(init.sh:13) mkdir /build/nix-test/ca/nix-run +(init.sh:15) mkdir /build/nix-test/ca/nix-run/store +(init.sh:16) mkdir /build/nix-test/ca/nix-run/var +(init.sh:17) mkdir -p /build/nix-test/ca/nix-run/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/nix-run/var/nix +(init.sh:19) mkdir /build/nix-test/ca/nix-run/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/nix-run/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/nix-run/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(nix-run.sh:5) FLAKE_PATH=path:/build/source/build/tests/functional/ca +(nix-run.sh:7) nix run --no-write-lock-file path:/build/source/build/tests/functional/ca#runnable warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/source/build/tests/functional/ca' these 3 derivations will be built: /build/nix-test/ca/nix-run/store/rj95dwfb2k3nyih08lg852rp2m81536g-simple-input-addressed.drv /build/nix-test/ca/nix-run/store/s8201qs3r3d5z04imka7j7x3xgr1jp89-rootCA.drv /build/nix-test/ca/nix-run/store/jvcs546n9vn847gamqkjbgimwn1dk2vx-runnable-thing.drv building '/build/nix-test/ca/nix-run/store/rj95dwfb2k3nyih08lg852rp2m81536g-simple-input-addressed.drv'... building '/build/nix-test/ca/nix-run/store/86mdzy8gz6j4jhxj5fqjf759hr28zyjc-rootCA.drv'... building '/build/nix-test/ca/nix-run/store/knikrwf58pjvqf3qjvci5hppjfvfhx25-runnable-thing.drv'... ============================================================================== =================================== 8/161 ==================================== test: lix:installcheck / functional-ca-build start time: 20:57:30 duration: 1.37s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=80 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/build.sh ----------------------------------- stdout ----------------------------------- { "/build/nix-test/ca/build/store/m9k6kykb0xw095na590fjm1yx8mlzlma-rootCA.drv": { "args": [ "-e", "/build/nix-test/ca/build/store/5l55m4d3fbxqb27chd4sivjp4bdg4sck-builder-rootCA.sh" ], "builder": "/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash", "env": { "PATH": "/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin", "buildCommand": "echo \"building a CA derivation\"\necho \"The seed is 1\"\nmkdir -p $out\necho /build/nix-test/ca/build/store/zwm274256k8gd44l5dq44g86gvvrhviy-simple-input-addressed/hello > $out/dep\nln -s $out $out/self\n# test symlinks at root\nln -s $out $dev\nln -s $out $foo\n", "builder": "/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash", "dev": "/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz", "foo": "/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5", "name": "rootCA", "out": "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9", "outputHashAlgo": "sha256", "outputHashMode": "recursive", "outputs": "out dev foo", "system": "x86_64-linux" }, "inputDrvs": { "/build/nix-test/ca/build/store/0sv5rxj8xyxy5ckvx15n4m1kirz8dzw3-simple-input-addressed.drv": { "dynamicOutputs": {}, "outputs": [ "out" ] } }, "inputSrcs": [ "/build/nix-test/ca/build/store/5l55m4d3fbxqb27chd4sivjp4bdg4sck-builder-rootCA.sh" ], "name": "rootCA", "outputs": { "dev": { "hashAlgo": "r:sha256" }, "foo": { "hashAlgo": "r:sha256" }, "out": { "hashAlgo": "r:sha256" } }, "system": "x86_64-linux" } } clearing store... clearing store... clearing store... /build/nix-test/ca/build/store/m31fl85kvc0bn8xdi8qb9crqwwlqwmqf-rootCA /build/nix-test/ca/build/store/m31fl85kvc0bn8xdi8qb9crqwwlqwmqf-rootCA [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/build +(init.sh:7) test -d /build/nix-test/ca/build +(init.sh:8) chmod -R u+w /build/nix-test/ca/build +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/build +(init.sh:13) mkdir /build/nix-test/ca/build +(init.sh:15) mkdir /build/nix-test/ca/build/store +(init.sh:16) mkdir /build/nix-test/ca/build/var +(init.sh:17) mkdir -p /build/nix-test/ca/build/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/build/var/nix +(init.sh:19) mkdir /build/nix-test/ca/build/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/build/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/build/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 ++(build.sh:5) nix-instantiate ./content-addressed.nix -A rootCA --arg seed 1 warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(build.sh:5) drv='/build/nix-test/ca/build/store/m9k6kykb0xw095na590fjm1yx8mlzlma-rootCA.drv^out' +(build.sh:6) nix derivation show '/build/nix-test/ca/build/store/m9k6kykb0xw095na590fjm1yx8mlzlma-rootCA.drv^out' --arg seed 1 warning: you don't have Internet access; disabling some network-dependent features +(build.sh:61) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/build/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/build/test-home/.local/state/nix/profiles +(build.sh:62) testNormalization +(build.sh:56) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/build/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/build/test-home/.local/state/nix/profiles ++(build.sh:57) buildAttr rootCA 1 ++(build.sh:9) local derivationPath=rootCA ++(build.sh:10) local seedValue=1 ++(build.sh:11) shift ++(build.sh:11) shift ++(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '1' '--no-out-link') ++(build.sh:12) local args ++(build.sh:13) args+=("$@") ++(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 1 --no-out-link these 2 derivations will be built: /build/nix-test/ca/build/store/0sv5rxj8xyxy5ckvx15n4m1kirz8dzw3-simple-input-addressed.drv /build/nix-test/ca/build/store/m9k6kykb0xw095na590fjm1yx8mlzlma-rootCA.drv building '/build/nix-test/ca/build/store/0sv5rxj8xyxy5ckvx15n4m1kirz8dzw3-simple-input-addressed.drv'... ++ echo 'Building a legacy derivation' Building a legacy derivation ++ mkdir -p /build/nix-test/ca/build/store/zwm274256k8gd44l5dq44g86gvvrhviy-simple-input-addressed ++ echo 'Hello World' resolved derivation: '/build/nix-test/ca/build/store/m9k6kykb0xw095na590fjm1yx8mlzlma-rootCA.drv' -> '/build/nix-test/ca/build/store/l8hir1r4glfn2zwlfi7w85yy5f6avcdp-rootCA.drv'... building '/build/nix-test/ca/build/store/l8hir1r4glfn2zwlfi7w85yy5f6avcdp-rootCA.drv'... building a CA derivation The seed is 1 +(build.sh:57) outPath=/build/nix-test/ca/build/store/m31fl85kvc0bn8xdi8qb9crqwwlqwmqf-rootCA ++(build.sh:58) stat -c %Y /build/nix-test/ca/build/store/m31fl85kvc0bn8xdi8qb9crqwwlqwmqf-rootCA +(build.sh:58) test 1 -eq 1 +(build.sh:63) testDeterministicCA ++(build.sh:18) buildAttr rootCA 1 ++(build.sh:9) local derivationPath=rootCA ++(build.sh:10) local seedValue=1 ++(build.sh:11) shift ++(build.sh:11) shift ++(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '1' '--no-out-link') ++(build.sh:12) local args ++(build.sh:13) args+=("$@") ++(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 1 --no-out-link ++(build.sh:18) buildAttr rootCA 2 ++(build.sh:9) local derivationPath=rootCA ++(build.sh:10) local seedValue=2 ++(build.sh:11) shift ++(build.sh:11) shift ++(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '2' '--no-out-link') ++(build.sh:12) local args ++(build.sh:13) args+=("$@") ++(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 2 --no-out-link this derivation will be built: /build/nix-test/ca/build/store/h44hdj337mq1d8kd28zs4a62sggsgy7j-rootCA.drv resolved derivation: '/build/nix-test/ca/build/store/h44hdj337mq1d8kd28zs4a62sggsgy7j-rootCA.drv' -> '/build/nix-test/ca/build/store/bahpafc29rvj8y4h9rf8df75qpr17vh1-rootCA.drv'... building '/build/nix-test/ca/build/store/bahpafc29rvj8y4h9rf8df75qpr17vh1-rootCA.drv'... building a CA derivation The seed is 2 +(build.sh:18) [[ /build/nix-test/ca/build/store/m31fl85kvc0bn8xdi8qb9crqwwlqwmqf-rootCA = /build/nix-test/ca/build/store/m31fl85kvc0bn8xdi8qb9crqwwlqwmqf-rootCA ]] +(build.sh:64) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/build/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/build/test-home/.local/state/nix/profiles +(build.sh:65) testCutoff +(build.sh:35) testCutoffFor transitivelyDependentCA +(build.sh:22) local out1 out2 ++(build.sh:23) buildAttr transitivelyDependentCA 1 ++(build.sh:9) local derivationPath=transitivelyDependentCA ++(build.sh:10) local seedValue=1 ++(build.sh:11) shift ++(build.sh:11) shift ++(build.sh:12) args=('./content-addressed.nix' '-A' 'transitivelyDependentCA' '--arg' 'seed' '1' '--no-out-link') ++(build.sh:12) local args ++(build.sh:13) args+=("$@") ++(build.sh:14) nix-build ./content-addressed.nix -A transitivelyDependentCA --arg seed 1 --no-out-link these 4 derivations will be built: /build/nix-test/ca/build/store/0sv5rxj8xyxy5ckvx15n4m1kirz8dzw3-simple-input-addressed.drv /build/nix-test/ca/build/store/m9k6kykb0xw095na590fjm1yx8mlzlma-rootCA.drv /build/nix-test/ca/build/store/ij11rky69a3kjrqvz71fpvs4bqrmis0r-dependent.drv /build/nix-test/ca/build/store/mf1ha43a0c48nzfi51m6m93yr9wcwaa1-transitively-dependent.drv building '/build/nix-test/ca/build/store/0sv5rxj8xyxy5ckvx15n4m1kirz8dzw3-simple-input-addressed.drv'... ++ echo 'Building a legacy derivation' Building a legacy derivation ++ mkdir -p /build/nix-test/ca/build/store/zwm274256k8gd44l5dq44g86gvvrhviy-simple-input-addressed ++ echo 'Hello World' resolved derivation: '/build/nix-test/ca/build/store/m9k6kykb0xw095na590fjm1yx8mlzlma-rootCA.drv' -> '/build/nix-test/ca/build/store/l8hir1r4glfn2zwlfi7w85yy5f6avcdp-rootCA.drv'... building '/build/nix-test/ca/build/store/l8hir1r4glfn2zwlfi7w85yy5f6avcdp-rootCA.drv'... building a CA derivation The seed is 1 resolved derivation: '/build/nix-test/ca/build/store/ij11rky69a3kjrqvz71fpvs4bqrmis0r-dependent.drv' -> '/build/nix-test/ca/build/store/djvxgk191wv22k0b5szr523mqb6zccas-dependent.drv'... building '/build/nix-test/ca/build/store/djvxgk191wv22k0b5szr523mqb6zccas-dependent.drv'... building a dependent derivation /build/nix-test/ca/build/store/zwm274256k8gd44l5dq44g86gvvrhviy-simple-input-addressed/hello resolved derivation: '/build/nix-test/ca/build/store/mf1ha43a0c48nzfi51m6m93yr9wcwaa1-transitively-dependent.drv' -> '/build/nix-test/ca/build/store/72wnash3j4sm37ym5rr10ljgad865kvl-transitively-dependent.drv'... building '/build/nix-test/ca/build/store/72wnash3j4sm37ym5rr10ljgad865kvl-transitively-dependent.drv'... building transitively-dependent /build/nix-test/ca/build/store/m31fl85kvc0bn8xdi8qb9crqwwlqwmqf-rootCA/self/dep +(build.sh:23) out1=/build/nix-test/ca/build/store/b7k863cc52qc92c0qrfh2cy5aa487qhb-transitively-dependent +(build.sh:26) buildAttr rootCA 2 +(build.sh:9) local derivationPath=rootCA +(build.sh:10) local seedValue=2 +(build.sh:11) shift +(build.sh:11) shift +(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '2' '--no-out-link') +(build.sh:12) local args +(build.sh:13) args+=("$@") +(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 2 --no-out-link this derivation will be built: /build/nix-test/ca/build/store/h44hdj337mq1d8kd28zs4a62sggsgy7j-rootCA.drv resolved derivation: '/build/nix-test/ca/build/store/h44hdj337mq1d8kd28zs4a62sggsgy7j-rootCA.drv' -> '/build/nix-test/ca/build/store/bahpafc29rvj8y4h9rf8df75qpr17vh1-rootCA.drv'... building '/build/nix-test/ca/build/store/bahpafc29rvj8y4h9rf8df75qpr17vh1-rootCA.drv'... building a CA derivation The seed is 2 ++(build.sh:27) buildAttr transitivelyDependentCA 2 -j0 ++(build.sh:9) local derivationPath=transitivelyDependentCA ++(build.sh:10) local seedValue=2 ++(build.sh:11) shift ++(build.sh:11) shift ++(build.sh:12) args=('./content-addressed.nix' '-A' 'transitivelyDependentCA' '--arg' 'seed' '2' '--no-out-link') ++(build.sh:12) local args ++(build.sh:13) args+=("$@") ++(build.sh:14) nix-build ./content-addressed.nix -A transitivelyDependentCA --arg seed 2 --no-out-link -j0 these 2 derivations will be built: /build/nix-test/ca/build/store/7qxqimsbhf9khjr5wwsmfk0z5f4imlzc-dependent.drv /build/nix-test/ca/build/store/lpv8xlp7pwv74c6npzfwfn17lkh5qfw8-transitively-dependent.drv resolved derivation: '/build/nix-test/ca/build/store/7qxqimsbhf9khjr5wwsmfk0z5f4imlzc-dependent.drv' -> '/build/nix-test/ca/build/store/djvxgk191wv22k0b5szr523mqb6zccas-dependent.drv'... resolved derivation: '/build/nix-test/ca/build/store/lpv8xlp7pwv74c6npzfwfn17lkh5qfw8-transitively-dependent.drv' -> '/build/nix-test/ca/build/store/72wnash3j4sm37ym5rr10ljgad865kvl-transitively-dependent.drv'... +(build.sh:27) out2=/build/nix-test/ca/build/store/b7k863cc52qc92c0qrfh2cy5aa487qhb-transitively-dependent +(build.sh:28) test /build/nix-test/ca/build/store/b7k863cc52qc92c0qrfh2cy5aa487qhb-transitively-dependent == /build/nix-test/ca/build/store/b7k863cc52qc92c0qrfh2cy5aa487qhb-transitively-dependent +(build.sh:36) testCutoffFor dependentNonCA +(build.sh:22) local out1 out2 ++(build.sh:23) buildAttr dependentNonCA 1 ++(build.sh:9) local derivationPath=dependentNonCA ++(build.sh:10) local seedValue=1 ++(build.sh:11) shift ++(build.sh:11) shift ++(build.sh:12) args=('./content-addressed.nix' '-A' 'dependentNonCA' '--arg' 'seed' '1' '--no-out-link') ++(build.sh:12) local args ++(build.sh:13) args+=("$@") ++(build.sh:14) nix-build ./content-addressed.nix -A dependentNonCA --arg seed 1 --no-out-link this derivation will be built: /build/nix-test/ca/build/store/1nkskvgdkyxv7bg1gxh3idy0g33nqv0y-dependent-non-ca.drv resolved derivation: '/build/nix-test/ca/build/store/1nkskvgdkyxv7bg1gxh3idy0g33nqv0y-dependent-non-ca.drv' -> '/build/nix-test/ca/build/store/g7h71yp7n5xjxfkypxaqbn6ix26ik425-dependent-non-ca.drv'... building '/build/nix-test/ca/build/store/g7h71yp7n5xjxfkypxaqbn6ix26ik425-dependent-non-ca.drv'... Didn't cut-off building dependent-non-ca +(build.sh:23) out1=/build/nix-test/ca/build/store/jrjbcrl9grkws6fh84j71fnrnl66gazc-dependent-non-ca +(build.sh:26) buildAttr rootCA 2 +(build.sh:9) local derivationPath=rootCA +(build.sh:10) local seedValue=2 +(build.sh:11) shift +(build.sh:11) shift +(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '2' '--no-out-link') +(build.sh:12) local args +(build.sh:13) args+=("$@") +(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 2 --no-out-link ++(build.sh:27) buildAttr dependentNonCA 2 -j0 ++(build.sh:9) local derivationPath=dependentNonCA ++(build.sh:10) local seedValue=2 ++(build.sh:11) shift ++(build.sh:11) shift ++(build.sh:12) args=('./content-addressed.nix' '-A' 'dependentNonCA' '--arg' 'seed' '2' '--no-out-link') ++(build.sh:12) local args ++(build.sh:13) args+=("$@") ++(build.sh:14) nix-build ./content-addressed.nix -A dependentNonCA --arg seed 2 --no-out-link -j0 this derivation will be built: /build/nix-test/ca/build/store/kijy5agaycl3imz6lw3g9zwb0a3bk7ks-dependent-non-ca.drv resolved derivation: '/build/nix-test/ca/build/store/kijy5agaycl3imz6lw3g9zwb0a3bk7ks-dependent-non-ca.drv' -> '/build/nix-test/ca/build/store/g7h71yp7n5xjxfkypxaqbn6ix26ik425-dependent-non-ca.drv'... +(build.sh:27) out2=/build/nix-test/ca/build/store/jrjbcrl9grkws6fh84j71fnrnl66gazc-dependent-non-ca +(build.sh:28) test /build/nix-test/ca/build/store/jrjbcrl9grkws6fh84j71fnrnl66gazc-dependent-non-ca == /build/nix-test/ca/build/store/jrjbcrl9grkws6fh84j71fnrnl66gazc-dependent-non-ca +(build.sh:37) testCutoffFor dependentFixedOutput +(build.sh:22) local out1 out2 ++(build.sh:23) buildAttr dependentFixedOutput 1 ++(build.sh:9) local derivationPath=dependentFixedOutput ++(build.sh:10) local seedValue=1 ++(build.sh:11) shift ++(build.sh:11) shift ++(build.sh:12) args=('./content-addressed.nix' '-A' 'dependentFixedOutput' '--arg' 'seed' '1' '--no-out-link') ++(build.sh:12) local args ++(build.sh:13) args+=("$@") ++(build.sh:14) nix-build ./content-addressed.nix -A dependentFixedOutput --arg seed 1 --no-out-link this derivation will be built: /build/nix-test/ca/build/store/zj1h9q9bh0i3jh86sm3pfy8359ym8hbf-dependent-fixed-output.drv resolved derivation: '/build/nix-test/ca/build/store/zj1h9q9bh0i3jh86sm3pfy8359ym8hbf-dependent-fixed-output.drv' -> '/build/nix-test/ca/build/store/z48v9yc3fggz0rjy6m2sldgwwaxqic6l-dependent-fixed-output.drv'... building '/build/nix-test/ca/build/store/z48v9yc3fggz0rjy6m2sldgwwaxqic6l-dependent-fixed-output.drv'... /build/nix-test/ca/build/store/m31fl85kvc0bn8xdi8qb9crqwwlqwmqf-rootCA/self/dep error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/build/store/rds9w1xnb701h1lmzg2v984lhb9vl9l8-dependent-fixed-output': Permission denied +(build.sh:23) out1= ============================================================================== =================================== 9/161 ==================================== test: lix:installcheck / functional-ca-build-cache start time: 20:57:30 duration: 1.62s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=216 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/build-cache.sh ----------------------------------- stdout ----------------------------------- { "/build/nix-test/ca/build-cache/store/qd26lm13c4kpyafw9v1wbdx3qh3wggp7-rootCA.drv": { "args": [ "-e", "/build/nix-test/ca/build-cache/store/sacikgf163q3jada8lpf9k8g1cxr3qx0-builder-rootCA.sh" ], "builder": "/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash", "env": { "PATH": "/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin", "buildCommand": "echo \"building a CA derivation\"\necho \"The seed is 1\"\nmkdir -p $out\necho /build/nix-test/ca/build-cache/store/lwxd551g89liv69xzwkbq4jl0h0yjcfj-simple-input-addressed/hello > $out/dep\nln -s $out $out/self\n# test symlinks at root\nln -s $out $dev\nln -s $out $foo\n", "builder": "/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash", "dev": "/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz", "foo": "/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5", "name": "rootCA", "out": "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9", "outputHashAlgo": "sha256", "outputHashMode": "recursive", "outputs": "out dev foo", "system": "x86_64-linux" }, "inputDrvs": { "/build/nix-test/ca/build-cache/store/b91xwyymkzrl4x0l64gylvnqh7493fnw-simple-input-addressed.drv": { "dynamicOutputs": {}, "outputs": [ "out" ] } }, "inputSrcs": [ "/build/nix-test/ca/build-cache/store/sacikgf163q3jada8lpf9k8g1cxr3qx0-builder-rootCA.sh" ], "name": "rootCA", "outputs": { "dev": { "hashAlgo": "r:sha256" }, "foo": { "hashAlgo": "r:sha256" }, "out": { "hashAlgo": "r:sha256" } }, "system": "x86_64-linux" } } clearing store... clearing store... clearing store... clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/build-cache +(init.sh:7) test -d /build/nix-test/ca/build-cache +(init.sh:8) chmod -R u+w /build/nix-test/ca/build-cache +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/build-cache +(init.sh:13) mkdir /build/nix-test/ca/build-cache +(init.sh:15) mkdir /build/nix-test/ca/build-cache/store +(init.sh:16) mkdir /build/nix-test/ca/build-cache/var +(init.sh:17) mkdir -p /build/nix-test/ca/build-cache/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/build-cache/var/nix +(init.sh:19) mkdir /build/nix-test/ca/build-cache/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/build-cache/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/build-cache/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(build-cache.sh:6) requireDaemonNewerThan 2.18.0pre20230808 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.18.0pre20230808 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(build-cache.sh:8) nix-instantiate ./content-addressed.nix -A rootCA --arg seed 1 warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(build-cache.sh:8) drv='/build/nix-test/ca/build-cache/store/qd26lm13c4kpyafw9v1wbdx3qh3wggp7-rootCA.drv^out' +(build-cache.sh:9) nix derivation show '/build/nix-test/ca/build-cache/store/qd26lm13c4kpyafw9v1wbdx3qh3wggp7-rootCA.drv^out' --arg seed 1 warning: you don't have Internet access; disabling some network-dependent features +(build-cache.sh:50) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/build-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/build-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/build-cache/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/build-cache/test-home/.local/state/nix/profiles +(build-cache.sh:51) testRemoteCache +(build-cache.sh:42) testRemoteCacheFor rootCA +(build-cache.sh:33) local derivationPath=rootCA +(build-cache.sh:34) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/ca/build-cache/binary-cache +(build-cache.sh:35) copyAttr rootCA 1 +(build-cache.sh:21) local derivationPath=rootCA +(build-cache.sh:22) local seedValue=1 +(build-cache.sh:23) shift +(build-cache.sh:23) shift +(build-cache.sh:24) args=('-f' './content-addressed.nix' 'rootCA' '--arg' 'seed' '1') +(build-cache.sh:24) local args +(build-cache.sh:25) args+=("$@") +(build-cache.sh:29) nix copy --to file:///build/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix rootCA --arg seed 1 warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/build-cache/store/b91xwyymkzrl4x0l64gylvnqh7493fnw-simple-input-addressed.drv /build/nix-test/ca/build-cache/store/qd26lm13c4kpyafw9v1wbdx3qh3wggp7-rootCA.drv building '/build/nix-test/ca/build-cache/store/b91xwyymkzrl4x0l64gylvnqh7493fnw-simple-input-addressed.drv'... building '/build/nix-test/ca/build-cache/store/hlvghrqifrvs83pmcv17czq9hcgrcpcz-rootCA.drv'... copying 4 paths... copying path '/build/nix-test/ca/build-cache/store/lwxd551g89liv69xzwkbq4jl0h0yjcfj-simple-input-addressed' to 'file:///build/nix-test/ca/build-cache/binary-cache'... copying path '/build/nix-test/ca/build-cache/store/cxl1bzifd94wi97g4h7l2a9prh4wdv0b-rootCA' to 'file:///build/nix-test/ca/build-cache/binary-cache'... copying path '/build/nix-test/ca/build-cache/store/sm2lcbxishrivxq1jk0ppka90kdcichh-rootCA-foo' to 'file:///build/nix-test/ca/build-cache/binary-cache'... copying path '/build/nix-test/ca/build-cache/store/b6imy3b1sxhcd4psfspil99gvsv11r3b-rootCA-dev' to 'file:///build/nix-test/ca/build-cache/binary-cache'... +(build-cache.sh:36) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/build-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/build-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/build-cache/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/build-cache/test-home/.local/state/nix/profiles +(build-cache.sh:38) buildAttr rootCA 1 --option substituters file:///build/nix-test/ca/build-cache/binary-cache --no-require-sigs +(build-cache.sh:38) grepQuietInverse ' will be built:' +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep ' will be built:' +(build-cache.sh:43) testRemoteCacheFor dependentCA +(build-cache.sh:33) local derivationPath=dependentCA +(build-cache.sh:34) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/ca/build-cache/binary-cache +(build-cache.sh:35) copyAttr dependentCA 1 +(build-cache.sh:21) local derivationPath=dependentCA +(build-cache.sh:22) local seedValue=1 +(build-cache.sh:23) shift +(build-cache.sh:23) shift +(build-cache.sh:24) args=('-f' './content-addressed.nix' 'dependentCA' '--arg' 'seed' '1') +(build-cache.sh:24) local args +(build-cache.sh:25) args+=("$@") +(build-cache.sh:29) nix copy --to file:///build/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix dependentCA --arg seed 1 warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/build-cache/store/qd26lm13c4kpyafw9v1wbdx3qh3wggp7-rootCA.drv /build/nix-test/ca/build-cache/store/sv5bfvn56vda1zdvmp8kj8923sv3sqkn-dependent.drv building '/build/nix-test/ca/build-cache/store/860f4qprd95ydjl4v99wj51m7xn261bx-dependent.drv'... copying 3 paths... copying path '/build/nix-test/ca/build-cache/store/lwxd551g89liv69xzwkbq4jl0h0yjcfj-simple-input-addressed' to 'file:///build/nix-test/ca/build-cache/binary-cache'... copying path '/build/nix-test/ca/build-cache/store/cxl1bzifd94wi97g4h7l2a9prh4wdv0b-rootCA' to 'file:///build/nix-test/ca/build-cache/binary-cache'... copying path '/build/nix-test/ca/build-cache/store/hlwxwsxxljh1xcmqdf1ps2vcvinpzj6q-dependent' to 'file:///build/nix-test/ca/build-cache/binary-cache'... +(build-cache.sh:36) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/build-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/build-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/build-cache/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/build-cache/test-home/.local/state/nix/profiles +(build-cache.sh:38) buildAttr dependentCA 1 --option substituters file:///build/nix-test/ca/build-cache/binary-cache --no-require-sigs +(build-cache.sh:38) grepQuietInverse ' will be built:' +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep ' will be built:' +(build-cache.sh:44) testRemoteCacheFor dependentNonCA +(build-cache.sh:33) local derivationPath=dependentNonCA +(build-cache.sh:34) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/ca/build-cache/binary-cache +(build-cache.sh:35) copyAttr dependentNonCA 1 +(build-cache.sh:21) local derivationPath=dependentNonCA +(build-cache.sh:22) local seedValue=1 +(build-cache.sh:23) shift +(build-cache.sh:23) shift +(build-cache.sh:24) args=('-f' './content-addressed.nix' 'dependentNonCA' '--arg' 'seed' '1') +(build-cache.sh:24) local args +(build-cache.sh:25) args+=("$@") +(build-cache.sh:29) nix copy --to file:///build/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix dependentNonCA --arg seed 1 warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/build-cache/store/qd26lm13c4kpyafw9v1wbdx3qh3wggp7-rootCA.drv /build/nix-test/ca/build-cache/store/p6jpx9m935r797zijqpn9v1gw14y0sxf-dependent-non-ca.drv building '/build/nix-test/ca/build-cache/store/rxwxnp58lj7qv80czb84z94ky93hqaxf-dependent-non-ca.drv'... copying 3 paths... copying path '/build/nix-test/ca/build-cache/store/lwxd551g89liv69xzwkbq4jl0h0yjcfj-simple-input-addressed' to 'file:///build/nix-test/ca/build-cache/binary-cache'... copying path '/build/nix-test/ca/build-cache/store/cxl1bzifd94wi97g4h7l2a9prh4wdv0b-rootCA' to 'file:///build/nix-test/ca/build-cache/binary-cache'... copying path '/build/nix-test/ca/build-cache/store/lrp0gdgnnxrl8fww528cx89nrcg0a7yl-dependent-non-ca' to 'file:///build/nix-test/ca/build-cache/binary-cache'... +(build-cache.sh:36) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/build-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/build-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/build-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/build-cache/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/build-cache/test-home/.local/state/nix/profiles +(build-cache.sh:38) buildAttr dependentNonCA 1 --option substituters file:///build/nix-test/ca/build-cache/binary-cache --no-require-sigs +(build-cache.sh:38) grepQuietInverse ' will be built:' +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep ' will be built:' +(build-cache.sh:45) testRemoteCacheFor dependentFixedOutput +(build-cache.sh:33) local derivationPath=dependentFixedOutput +(build-cache.sh:34) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/ca/build-cache/binary-cache +(build-cache.sh:35) copyAttr dependentFixedOutput 1 +(build-cache.sh:21) local derivationPath=dependentFixedOutput +(build-cache.sh:22) local seedValue=1 +(build-cache.sh:23) shift +(build-cache.sh:23) shift +(build-cache.sh:24) args=('-f' './content-addressed.nix' 'dependentFixedOutput' '--arg' 'seed' '1') +(build-cache.sh:24) local args +(build-cache.sh:25) args+=("$@") +(build-cache.sh:29) nix copy --to file:///build/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix dependentFixedOutput --arg seed 1 warning: you don't have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/ca/build-cache/store/qd26lm13c4kpyafw9v1wbdx3qh3wggp7-rootCA.drv /build/nix-test/ca/build-cache/store/sv5bfvn56vda1zdvmp8kj8923sv3sqkn-dependent.drv /build/nix-test/ca/build-cache/store/4wrpsr5v0fjqkwrv002yjn1g626lcyq1-dependent-fixed-output.drv building '/build/nix-test/ca/build-cache/store/860f4qprd95ydjl4v99wj51m7xn261bx-dependent.drv'... building '/build/nix-test/ca/build-cache/store/rfkni6p794ybj3h3s36qnrbjlid4n00i-dependent-fixed-output.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/build-cache/store/rpx2gm2mww4c478kn263qqxqmm4rhfzs-dependent-fixed-output': Permission denied ============================================================================== =================================== 10/161 =================================== test: lix:installcheck / functional-ca-post-hook start time: 20:57:31 duration: 0.69s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=35 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/post-hook.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/post-hook +(init.sh:7) test -d /build/nix-test/ca/post-hook +(init.sh:8) chmod -R u+w /build/nix-test/ca/post-hook +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/post-hook +(init.sh:13) mkdir /build/nix-test/ca/post-hook +(init.sh:15) mkdir /build/nix-test/ca/post-hook/store +(init.sh:16) mkdir /build/nix-test/ca/post-hook/var +(init.sh:17) mkdir -p /build/nix-test/ca/post-hook/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/post-hook/var/nix +(init.sh:19) mkdir /build/nix-test/ca/post-hook/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/post-hook/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/post-hook/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(post-hook.sh:5) requireDaemonNewerThan 2.4pre20210626 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.4pre20210626 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(post-hook.sh:7) export NIX_TESTS_CA_BY_DEFAULT=1 +(post-hook.sh:7) NIX_TESTS_CA_BY_DEFAULT=1 +(post-hook.sh:8) cd .. +(post-hook.sh:9) source ./post-hook.sh ++(./post-hook.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(./post-hook.sh:3) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/post-hook/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/post-hook/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/post-hook/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/post-hook/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/post-hook/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/post-hook/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/post-hook/test-home/.local/state/nix/profiles ++(./post-hook.sh:5) rm -f /build/nix-test/ca/post-hook/result ++(./post-hook.sh:7) export REMOTE_STORE=file:/build/nix-test/ca/post-hook/remote_store ++(./post-hook.sh:7) REMOTE_STORE=file:/build/nix-test/ca/post-hook/remote_store ++(./post-hook.sh:8) echo 'require-sigs = false' ++(./post-hook.sh:10) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 ++(./post-hook.sh:12) isDaemonNewer 2.13 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(./post-hook.sh:13) pushToStore=/build/source/build/tests/functional/push-to-store.sh ++(./post-hook.sh:19) nix-build -o /build/nix-test/ca/post-hook/result dependencies.nix --post-build-hook /build/source/build/tests/functional/push-to-store.sh these 5 derivations will be built: /build/nix-test/ca/post-hook/store/5xn4zwcl7aidkacwh08ym8zm46c77ysm-dependencies-input-1.drv /build/nix-test/ca/post-hook/store/w1gi8ifqygrscdfcwz3rwcz0rlbpkf43-dependencies-input-0.drv /build/nix-test/ca/post-hook/store/5zj4rbsnmchdv8psdrly0j7b1sbg463l-dependencies-input-2.drv /build/nix-test/ca/post-hook/store/dhplykgiga2yrrvbs0szv80jfwlgnjla-fod-input.drv /build/nix-test/ca/post-hook/store/mz0xv90rlk70qwkcdjyc1agkbl9icsqh-dependencies-top.drv building '/build/nix-test/ca/post-hook/store/w1gi8ifqygrscdfcwz3rwcz0rlbpkf43-dependencies-input-0.drv'... post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:4) set -e post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:6) '[' -n /build/nix-test/ca/post-hook/store/qw8ni38d3i0hm49n848ir6h90l1mi91b-dependencies-input-0 ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:7) '[' -n /build/nix-test/ca/post-hook/store/w1gi8ifqygrscdfcwz3rwcz0rlbpkf43-dependencies-input-0.drv ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:9) echo Pushing /build/nix-test/ca/post-hook/store/qw8ni38d3i0hm49n848ir6h90l1mi91b-dependencies-input-0 to file:/build/nix-test/ca/post-hook/remote_store post-build-hook: Pushing /build/nix-test/ca/post-hook/store/qw8ni38d3i0hm49n848ir6h90l1mi91b-dependencies-input-0 to file:/build/nix-test/ca/post-hook/remote_store post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:10) '[' -n '' ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) printf %s '/build/nix-test/ca/post-hook/store/w1gi8ifqygrscdfcwz3rwcz0rlbpkf43-dependencies-input-0.drv^*' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) xargs nix copy --to file:/build/nix-test/ca/post-hook/remote_store --no-require-sigs post-build-hook: warning: you don't have Internet access; disabling some network-dependent features post-build-hook: copying 1 paths... post-build-hook: copying path '/build/nix-test/ca/post-hook/store/qw8ni38d3i0hm49n848ir6h90l1mi91b-dependencies-input-0' to 'file:///build/nix-test/ca/post-hook/remote_store'... resolved derivation: '/build/nix-test/ca/post-hook/store/5zj4rbsnmchdv8psdrly0j7b1sbg463l-dependencies-input-2.drv' -> '/build/nix-test/ca/post-hook/store/drck7hpvyv7nxa451qwln8q6d18cmg10-dependencies-input-2.drv'... building '/build/nix-test/ca/post-hook/store/5xn4zwcl7aidkacwh08ym8zm46c77ysm-dependencies-input-1.drv'... post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:4) set -e post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:6) '[' -n /build/nix-test/ca/post-hook/store/m48frn8ira3sfkvi9i0jny2r5qg8zwln-dependencies-input-1 ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:7) '[' -n /build/nix-test/ca/post-hook/store/5xn4zwcl7aidkacwh08ym8zm46c77ysm-dependencies-input-1.drv ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:9) echo Pushing /build/nix-test/ca/post-hook/store/m48frn8ira3sfkvi9i0jny2r5qg8zwln-dependencies-input-1 to file:/build/nix-test/ca/post-hook/remote_store post-build-hook: Pushing /build/nix-test/ca/post-hook/store/m48frn8ira3sfkvi9i0jny2r5qg8zwln-dependencies-input-1 to file:/build/nix-test/ca/post-hook/remote_store post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:10) '[' -n '' ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) printf %s '/build/nix-test/ca/post-hook/store/5xn4zwcl7aidkacwh08ym8zm46c77ysm-dependencies-input-1.drv^*' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) xargs nix copy --to file:/build/nix-test/ca/post-hook/remote_store --no-require-sigs post-build-hook: warning: you don't have Internet access; disabling some network-dependent features post-build-hook: copying 1 paths... post-build-hook: copying path '/build/nix-test/ca/post-hook/store/m48frn8ira3sfkvi9i0jny2r5qg8zwln-dependencies-input-1' to 'file:///build/nix-test/ca/post-hook/remote_store'... building '/build/nix-test/ca/post-hook/store/drck7hpvyv7nxa451qwln8q6d18cmg10-dependencies-input-2.drv'... post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:4) set -e post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:6) '[' -n /build/nix-test/ca/post-hook/store/7s68zgc6yf6zr5b478s4jw5qfsjamivr-dependencies-input-2 ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:7) '[' -n /build/nix-test/ca/post-hook/store/drck7hpvyv7nxa451qwln8q6d18cmg10-dependencies-input-2.drv ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:9) echo Pushing /build/nix-test/ca/post-hook/store/7s68zgc6yf6zr5b478s4jw5qfsjamivr-dependencies-input-2 to file:/build/nix-test/ca/post-hook/remote_store post-build-hook: Pushing /build/nix-test/ca/post-hook/store/7s68zgc6yf6zr5b478s4jw5qfsjamivr-dependencies-input-2 to file:/build/nix-test/ca/post-hook/remote_store post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:10) '[' -n '' ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) printf %s '/build/nix-test/ca/post-hook/store/drck7hpvyv7nxa451qwln8q6d18cmg10-dependencies-input-2.drv^*' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) xargs nix copy --to file:/build/nix-test/ca/post-hook/remote_store --no-require-sigs post-build-hook: warning: you don't have Internet access; disabling some network-dependent features post-build-hook: copying 1 paths... post-build-hook: copying path '/build/nix-test/ca/post-hook/store/7s68zgc6yf6zr5b478s4jw5qfsjamivr-dependencies-input-2' to 'file:///build/nix-test/ca/post-hook/remote_store'... post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:4) set -e post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:6) '[' -n /build/nix-test/ca/post-hook/store/7s68zgc6yf6zr5b478s4jw5qfsjamivr-dependencies-input-2 ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:7) '[' -n /build/nix-test/ca/post-hook/store/5zj4rbsnmchdv8psdrly0j7b1sbg463l-dependencies-input-2.drv ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:9) echo Pushing /build/nix-test/ca/post-hook/store/7s68zgc6yf6zr5b478s4jw5qfsjamivr-dependencies-input-2 to file:/build/nix-test/ca/post-hook/remote_store post-build-hook: Pushing /build/nix-test/ca/post-hook/store/7s68zgc6yf6zr5b478s4jw5qfsjamivr-dependencies-input-2 to file:/build/nix-test/ca/post-hook/remote_store post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:10) '[' -n '' ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) printf %s '/build/nix-test/ca/post-hook/store/5zj4rbsnmchdv8psdrly0j7b1sbg463l-dependencies-input-2.drv^*' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) xargs nix copy --to file:/build/nix-test/ca/post-hook/remote_store --no-require-sigs post-build-hook: warning: you don't have Internet access; disabling some network-dependent features post-build-hook: copying 0 paths... building '/build/nix-test/ca/post-hook/store/dhplykgiga2yrrvbs0szv80jfwlgnjla-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/post-hook/store/qmf6cqvg5z20l7xri1mval1m5gan5pw0-fod-input': Permission denied +++(./post-hook.sh:19) onError +++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x post-hook.sh: test failed at: source in ./post-hook.sh:19 main in post-hook.sh:9 ============================================================================== =================================== 11/161 =================================== test: lix:installcheck / functional-ca-selfref-gc start time: 20:57:32 duration: 0.41s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=226 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/selfref-gc.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/ca/selfref-gc/store/gi59gdhs63zp0fp723hgdiaml1a0570g-selfref-gc 6 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/selfref-gc +(init.sh:7) test -d /build/nix-test/ca/selfref-gc +(init.sh:8) chmod -R u+w /build/nix-test/ca/selfref-gc +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/selfref-gc +(init.sh:13) mkdir /build/nix-test/ca/selfref-gc +(init.sh:15) mkdir /build/nix-test/ca/selfref-gc/store +(init.sh:16) mkdir /build/nix-test/ca/selfref-gc/var +(init.sh:17) mkdir -p /build/nix-test/ca/selfref-gc/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/selfref-gc/var/nix +(init.sh:19) mkdir /build/nix-test/ca/selfref-gc/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/selfref-gc/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/selfref-gc/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(selfref-gc.sh:5) requireDaemonNewerThan 2.4pre20210626 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.4pre20210626 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(selfref-gc.sh:7) enableFeatures 'ca-derivations nix-command flakes' +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local 'features=ca-derivations nix-command flakes' +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations nix-command flakes/' /build/nix-test/ca/selfref-gc/etc/nix.conf +(selfref-gc.sh:9) export NIX_TESTS_CA_BY_DEFAULT=1 +(selfref-gc.sh:9) NIX_TESTS_CA_BY_DEFAULT=1 +(selfref-gc.sh:10) cd .. +(selfref-gc.sh:11) source ./selfref-gc.sh ++(./selfref-gc.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(./selfref-gc.sh:3) requireDaemonNewerThan 2.6.0pre20211215 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.6.0pre20211215 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(./selfref-gc.sh:5) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/selfref-gc/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/selfref-gc/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/selfref-gc/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/selfref-gc/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/selfref-gc/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/selfref-gc/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/selfref-gc/test-home/.local/state/nix/profiles ++(./selfref-gc.sh:7) nix-build --no-out-link -E ' with import ./config.nix; let d1 = mkDerivation { name = "selfref-gc"; outputs = [ "out" ]; buildCommand = " echo SELF_REF: $out > $out "; }; in # the only change from d1 is d1 as an (unused) build input # to get identical store path in CA. mkDerivation { name = "selfref-gc"; outputs = [ "out" ]; buildCommand = " echo UNUSED: ${d1} echo SELF_REF: $out > $out "; } ' these 2 derivations will be built: /build/nix-test/ca/selfref-gc/store/msgwkq4yxh6aiccb4ach623h6ni9iyr2-selfref-gc.drv /build/nix-test/ca/selfref-gc/store/kf27xaaspxsfq53fyq9nv8k1r62ikvpl-selfref-gc.drv building '/build/nix-test/ca/selfref-gc/store/msgwkq4yxh6aiccb4ach623h6ni9iyr2-selfref-gc.drv'... resolved derivation: '/build/nix-test/ca/selfref-gc/store/kf27xaaspxsfq53fyq9nv8k1r62ikvpl-selfref-gc.drv' -> '/build/nix-test/ca/selfref-gc/store/ayjwb2s0zibl789gblh61v5i4c1ia6m4-selfref-gc.drv'... building '/build/nix-test/ca/selfref-gc/store/ayjwb2s0zibl789gblh61v5i4c1ia6m4-selfref-gc.drv'... UNUSED: /build/nix-test/ca/selfref-gc/store/gi59gdhs63zp0fp723hgdiaml1a0570g-selfref-gc ++(./selfref-gc.sh:30) nix-collect-garbage finding garbage collector roots... removing stale link from '/build/nix-test/ca/selfref-gc/var/nix/gcroots/auto/6fd3ki3r77y4h11l39wp1pmvl5hcl0fl' to '/build/nix-build-4321-0/result' deleting garbage... deleting '/build/nix-test/ca/selfref-gc/store/kf27xaaspxsfq53fyq9nv8k1r62ikvpl-selfref-gc.drv' deleting '/build/nix-test/ca/selfref-gc/store/msgwkq4yxh6aiccb4ach623h6ni9iyr2-selfref-gc.drv' deleting '/build/nix-test/ca/selfref-gc/store/ayjwb2s0zibl789gblh61v5i4c1ia6m4-selfref-gc.drv' deleting '/build/nix-test/ca/selfref-gc/store/ca9lj9ham543mdpll8w31f8f7r56lxay-builder-selfref-gc.sh' deleting '/build/nix-test/ca/selfref-gc/store/gi59gdhs63zp0fp723hgdiaml1a0570g-selfref-gc' deleting '/build/nix-test/ca/selfref-gc/store/4wv7csxada57dcwdwk8bmlac6b6kczzj-selfref-gc' deleting unused links... note: currently hard linking saves 0.00 MiB ============================================================================== =================================== 12/161 =================================== test: lix:installcheck / functional-ca-recursive start time: 20:57:32 duration: 0.95s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=100 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/recursive.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/ca/recursive/store/b58vf6ffhigmy04jzd24yxkysffkpfqn-foobar /build/nix-test/ca/recursive/store/25bffwbizcvrwab9h33m5sp4kgf6laf3-fnord /build/nix-test/ca/recursive/store/kygkxld6yzsfg0mf97xnpvskcbd8jskl-inner1 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/recursive +(init.sh:7) test -d /build/nix-test/ca/recursive +(init.sh:8) chmod -R u+w /build/nix-test/ca/recursive +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/recursive +(init.sh:13) mkdir /build/nix-test/ca/recursive +(init.sh:15) mkdir /build/nix-test/ca/recursive/store +(init.sh:16) mkdir /build/nix-test/ca/recursive/var +(init.sh:17) mkdir -p /build/nix-test/ca/recursive/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/recursive/var/nix +(init.sh:19) mkdir /build/nix-test/ca/recursive/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/recursive/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/recursive/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(recursive.sh:5) requireDaemonNewerThan 2.4pre20210623 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.4pre20210623 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(recursive.sh:7) export NIX_TESTS_CA_BY_DEFAULT=1 +(recursive.sh:7) NIX_TESTS_CA_BY_DEFAULT=1 +(recursive.sh:8) cd .. +(recursive.sh:9) source ./recursive.sh ++(./recursive.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(./recursive.sh:3) enableFeatures recursive-nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=recursive-nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& recursive-nix/' /build/nix-test/ca/recursive/etc/nix.conf ++(./recursive.sh:4) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 ++(./recursive.sh:6) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/recursive/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/recursive/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/recursive/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/recursive/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/recursive/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/recursive/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/recursive/test-home/.local/state/nix/profiles ++(./recursive.sh:8) rm -f /build/nix-test/ca/recursive/result +++(./recursive.sh:10) nix store add-path ./recursive.sh warning: you don't have Internet access; disabling some network-dependent features ++(./recursive.sh:10) export unreachable=/build/nix-test/ca/recursive/store/ibjdbpzrlss1ldmvn3nvwndxhchr27cs-recursive.sh ++(./recursive.sh:10) unreachable=/build/nix-test/ca/recursive/store/ibjdbpzrlss1ldmvn3nvwndxhchr27cs-recursive.sh ++++(./recursive.sh:12) type -p nix +++(./recursive.sh:12) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix ++(./recursive.sh:12) NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin ++(./recursive.sh:12) nix --extra-experimental-features 'nix-command recursive-nix' build -o /build/nix-test/ca/recursive/result -L --impure --file ./recursive.nix warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/ca/recursive/store/7ws5c17fckq6k9fq2a5piacngm30wl99-recursive.drv building '/build/nix-test/ca/recursive/store/7ws5c17fckq6k9fq2a5piacngm30wl99-recursive.drv'... recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> /build/nix-test/ca/recursive/store/q00d760nd6ajbxqhxra4dbrqll3bkb6i-dummy recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> don't know how to build these paths: recursive> /build/nix-test/ca/recursive/store/ibjdbpzrlss1ldmvn3nvwndxhchr27cs-recursive.sh recursive> error: path '/build/nix-test/ca/recursive/store/ibjdbpzrlss1ldmvn3nvwndxhchr27cs-recursive.sh' does not exist in the store recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> error: cannot build '/build/nix-test/ca/recursive/store/ibjdbpzrlss1ldmvn3nvwndxhchr27cs-recursive.sh' in recursive Nix because path is unknown recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> /build/nix-test/ca/recursive/store/b58vf6ffhigmy04jzd24yxkysffkpfqn-foobar recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features building '/build/nix-test/ca/recursive/store/w3qyia12zzam4620w9alv69875hwjfsk-inner1.drv'... recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> +++(./recursive.sh:14) cat /build/nix-test/ca/recursive/result/inner1 ++(./recursive.sh:14) [[ /build/nix-test/ca/recursive/store/25bffwbizcvrwab9h33m5sp4kgf6laf3-fnord blaat =~ blaat ]] ++(./recursive.sh:17) nix path-info -r /build/nix-test/ca/recursive/result ++(./recursive.sh:17) grep foobar warning: you don't have Internet access; disabling some network-dependent features ++(./recursive.sh:18) nix path-info -r /build/nix-test/ca/recursive/result ++(./recursive.sh:18) grep fnord warning: you don't have Internet access; disabling some network-dependent features ++(./recursive.sh:19) nix path-info -r /build/nix-test/ca/recursive/result ++(./recursive.sh:19) grep inner1 warning: you don't have Internet access; disabling some network-dependent features ============================================================================== =================================== 13/161 =================================== test: lix:installcheck / functional-ca-new-build-cmd start time: 20:57:31 duration: 1.87s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=162 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/new-build-cmd.sh ----------------------------------- stdout ----------------------------------- clearing store... true true true true true [{"drvPath":"/build/nix-test/ca/new-build-cmd/store/qy2sd4c07gcjj7ngczcc9z7qlmcf9c13-multiple-outputs-e.drv","outputs":{"a_a":"/build/nix-test/ca/new-build-cmd/store/6byvyhi4hcm94n5zp1c91c99xy0k6nsv-multiple-outputs-e-a_a"}}] true true true { "offset": 0, "length": 94, "string": "/build/nix-test/ca/new-build-cmd/store/qy2sd4c07gcjj7ngczcc9z7qlmcf9c13-multiple-outputs-e.drv", "captures": [] } true true true true true true [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/new-build-cmd +(init.sh:7) test -d /build/nix-test/ca/new-build-cmd +(init.sh:8) chmod -R u+w /build/nix-test/ca/new-build-cmd +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/new-build-cmd +(init.sh:13) mkdir /build/nix-test/ca/new-build-cmd +(init.sh:15) mkdir /build/nix-test/ca/new-build-cmd/store +(init.sh:16) mkdir /build/nix-test/ca/new-build-cmd/var +(init.sh:17) mkdir -p /build/nix-test/ca/new-build-cmd/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/new-build-cmd/var/nix +(init.sh:19) mkdir /build/nix-test/ca/new-build-cmd/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/new-build-cmd/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/new-build-cmd/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(new-build-cmd.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1 +(new-build-cmd.sh:3) NIX_TESTS_CA_BY_DEFAULT=1 +(new-build-cmd.sh:4) cd .. +(new-build-cmd.sh:5) source ./build.sh ++(./build.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(./build.sh:3) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/new-build-cmd/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/new-build-cmd/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/new-build-cmd/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/new-build-cmd/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/new-build-cmd/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/new-build-cmd/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/new-build-cmd/test-home/.local/state/nix/profiles ++(./build.sh:6) nix build -f multiple-outputs.nix --json a b --no-link ++(./build.sh:6) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | (keys | length == 2) and (.first | match(".*multiple-outputs-a-first")) and (.second | match(".*multiple-outputs-a-second")))) and (.[1] | (.drvPath | match(".*multiple-outputs-b.drv")) and (.outputs | (keys | length == 1) and (.out | match(".*multiple-outputs-b")))) ' warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv /build/nix-test/ca/new-build-cmd/store/90wfi2mqmvc7gjn10s5caa5si8g52mzk-multiple-outputs-b.drv building '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv'... building '/build/nix-test/ca/new-build-cmd/store/26hhrax4la2x2hp6y0lxb8rx1il3hzs7-multiple-outputs-b.drv'... ++(./build.sh:21) nix build -f multiple-outputs.nix --json 'a^first' --no-link ++(./build.sh:21) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | keys == ["first"])) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:27) nix build -f multiple-outputs.nix --json 'a^second,first' --no-link ++(./build.sh:27) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | keys == ["first", "second"])) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:33) nix build -f multiple-outputs.nix --json 'a^*' --no-link ++(./build.sh:33) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | keys == ["first", "second"])) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:40) nix build -f multiple-outputs.nix --json e --no-link ++(./build.sh:40) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a", "b"])) ' warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/ca/new-build-cmd/store/qy2sd4c07gcjj7ngczcc9z7qlmcf9c13-multiple-outputs-e.drv building '/build/nix-test/ca/new-build-cmd/store/qy2sd4c07gcjj7ngczcc9z7qlmcf9c13-multiple-outputs-e.drv'... ++(./build.sh:47) nix build -f multiple-outputs.nix --json 'e^a_a' --no-link warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:48) nix build -f multiple-outputs.nix --json 'e^a_a' --no-link ++(./build.sh:48) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a"])) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:54) nix build -f multiple-outputs.nix --json 'e^*' --no-link ++(./build.sh:54) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a", "b", "c"])) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:62) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a"])) ' ++(./build.sh:62) nix build -f multiple-outputs.nix --json e.a_a.outPath --no-link warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:69) expectStderr 1 nix build -f multiple-outputs.nix e.a_a.drvPath ++(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res ++(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build -f multiple-outputs.nix e.a_a.drvPath ++(./build.sh:70) grepQuiet 'has a context which refers to a complete source and binary closure.' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has a context which refers to a complete source and binary closure.' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ++(./build.sh:73) expectStderr 1 nix build --expr '""' --no-link ++(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res ++(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift ++(./build.sh:74) grepQuiet 'has 0 entries in its context. It should only have exactly one entry' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build --expr '""' --no-link ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has 0 entries in its context. It should only have exactly one entry' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ++(./build.sh:77) expectStderr 1 nix build --impure --expr 'with (import ./multiple-outputs.nix).e.a_a; "${drvPath}${outPath}"' --no-link ++(./build.sh:78) grepQuiet 'has 2 entries in its context. It should only have exactly one entry' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res ++(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has 2 entries in its context. It should only have exactly one entry' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build --impure --expr 'with (import ./multiple-outputs.nix).e.a_a; "${drvPath}${outPath}"' --no-link ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ++(./build.sh:80) nix build --impure --json --expr 'builtins.unsafeDiscardOutputDependency (import ./multiple-outputs.nix).e.a_a.drvPath' --no-link ++(./build.sh:80) jq --exit-status ' (.[0] | match(".*multiple-outputs-e.drv")) ' warning: you don't have Internet access; disabling some network-dependent features +++(./build.sh:86) nix eval -f multiple-outputs.nix --raw a.drvPath warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:86) drv=/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv ++(./build.sh:87) nix build '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^not-an-output' --no-link --json warning: you don't have Internet access; disabling some network-dependent features error: derivation '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv' does not have wanted outputs 'not-an-output' ++(./build.sh:91) nix build '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^' --no-link --json warning: you don't have Internet access; disabling some network-dependent features error: invalid extended outputs specifier '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^' ++(./build.sh:95) nix build '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^*nope' --no-link --json warning: you don't have Internet access; disabling some network-dependent features error: invalid extended outputs specifier '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^*nope' ++(./build.sh:99) nix build '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^first' --no-link --json ++(./build.sh:99) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | (keys | length == 1) and (.first | match(".*multiple-outputs-a-first")) and (has("second") | not))) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:108) nix build '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^first,second' --no-link --json ++(./build.sh:108) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | (keys | length == 2) and (.first | match(".*multiple-outputs-a-first")) and (.second | match(".*multiple-outputs-a-second")))) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:117) nix build '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^*' --no-link --json ++(./build.sh:117) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | (keys | length == 2) and (.first | match(".*multiple-outputs-a-first")) and (.second | match(".*multiple-outputs-a-second")))) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:127) nix build --impure -f multiple-outputs.nix --json e --no-link ++(./build.sh:127) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a", "b"])) ' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:134) printf '' ++(./build.sh:134) nix build --no-link --stdin --json ++(./build.sh:134) jq --exit-status '. == []' warning: you don't have Internet access; disabling some network-dependent features ++(./build.sh:135) printf '%s\n' '/build/nix-test/ca/new-build-cmd/store/l6k4sxl1gi725qh8397r9drd017z1vrw-multiple-outputs-a.drv^*' ++(./build.sh:135) nix build --no-link --stdin --json ++(./build.sh:135) jq --exit-status '.[0]|has("drvPath")' warning: you don't have Internet access; disabling some network-dependent features +++(./build.sh:138) nix build -f fod-failing.nix -L ++(./build.sh:138) out='warning: you don'\''t have Internet access; disabling some network-dependent features these 4 derivations will be built: /build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv /build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv /build/nix-test/ca/new-build-cmd/store/f88l8zn3bb2dzg5vw147bgfrs6bsb7jn-x4.drv /build/nix-test/ca/new-build-cmd/store/fcgvsaaq2n0mi4ap405fka429grk69cm-x1.drv building '\''/build/nix-test/ca/new-build-cmd/store/fcgvsaaq2n0mi4ap405fka429grk69cm-x1.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/ca/new-build-cmd/store/fcgvsaaq2n0mi4ap405fka429grk69cm-x1.drv'\'': likely URL: https://meow.puppy.forge/puppy.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-a1Qvp3FOOkWpL9kFHgugU1ok5UtRPSu+NwCZKbbaEro= error: build of '\''/build/nix-test/ca/new-build-cmd/store/f88l8zn3bb2dzg5vw147bgfrs6bsb7jn-x4.drv^out'\'', '\''/build/nix-test/ca/new-build-cmd/store/fcgvsaaq2n0mi4ap405fka429grk69cm-x1.drv^out'\'', '\''/build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv^out'\'', '\''/build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv^out'\'' failed' ++(./build.sh:138) status=1 ++(./build.sh:139) test 1 = 1 +++(./build.sh:141) grep -E '^error:' +++(./build.sh:141) wc -l ++(./build.sh:141) test 2 = 2 ++(./build.sh:142) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\''' ++(./build.sh:143) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' ++(./build.sh:144) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ++(./build.sh:145) grepQuiet -E 'likely URL: https://meow.puppy.forge/puppy.tar.gz' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'likely URL: https://meow.puppy.forge/puppy.tar.gz' ++(./build.sh:146) grepQuiet -vE 'likely URL: https://kitty.forge/cat.tar.gz' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'likely URL: https://kitty.forge/cat.tar.gz' ++(./build.sh:147) grepQuiet -E 'error: build of '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'' failed' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'error: build of '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'' failed' +++(./build.sh:149) nix build -f fod-failing.nix -L x1 x2 x3 --keep-going ++(./build.sh:149) out='warning: you don'\''t have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/ca/new-build-cmd/store/fcgvsaaq2n0mi4ap405fka429grk69cm-x1.drv /build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv /build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv building '\''/build/nix-test/ca/new-build-cmd/store/fcgvsaaq2n0mi4ap405fka429grk69cm-x1.drv'\''... building '\''/build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv'\''... building '\''/build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/ca/new-build-cmd/store/fcgvsaaq2n0mi4ap405fka429grk69cm-x1.drv'\'': likely URL: https://meow.puppy.forge/puppy.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-a1Qvp3FOOkWpL9kFHgugU1ok5UtRPSu+NwCZKbbaEro= error: hash mismatch in fixed-output derivation '\''/build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv'\'': likely URL: https://kitty.forge/cat.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk= error: hash mismatch in fixed-output derivation '\''/build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv'\'': likely URL: (unknown) specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-DbCEqRfR8yZl2skxnBthgysFiZPiP6U5JQ9/Bp7IQI4= error: build of '\''/build/nix-test/ca/new-build-cmd/store/fcgvsaaq2n0mi4ap405fka429grk69cm-x1.drv^out'\'', '\''/build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv^out'\'', '\''/build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv^out'\'' failed' ++(./build.sh:149) status=1 ++(./build.sh:150) test 1 = 1 +++(./build.sh:152) grep -E '^error:' +++(./build.sh:152) wc -l ++(./build.sh:152) test 4 = 4 ++(./build.sh:153) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\''' ++(./build.sh:154) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' ++(./build.sh:155) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ++(./build.sh:156) grepQuiet -E 'likely URL: https://meow.puppy.forge/puppy.tar.gz' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'likely URL: https://meow.puppy.forge/puppy.tar.gz' ++(./build.sh:157) grepQuiet -E 'likely URL: https://kitty.forge/cat.tar.gz' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'likely URL: https://kitty.forge/cat.tar.gz' ++(./build.sh:158) grepQuiet -E 'likely URL: \(unknown\)' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'likely URL: \(unknown\)' ++(./build.sh:159) grepQuiet -E 'error: build of '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'' failed' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'error: build of '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'' failed' +++(./build.sh:161) nix build -f fod-failing.nix -L x4 ++(./build.sh:161) out='warning: you don'\''t have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv /build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv /build/nix-test/ca/new-build-cmd/store/f88l8zn3bb2dzg5vw147bgfrs6bsb7jn-x4.drv building '\''/build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv'\'': likely URL: https://kitty.forge/cat.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk= error: 1 dependencies of derivation '\''/build/nix-test/ca/new-build-cmd/store/f88l8zn3bb2dzg5vw147bgfrs6bsb7jn-x4.drv'\'' failed to build' ++(./build.sh:161) status=1 ++(./build.sh:162) test 1 = 1 +++(./build.sh:163) wc -l +++(./build.sh:163) grep -E '^error:' ++(./build.sh:163) test 2 = 2 ++(./build.sh:164) grepQuiet -E 'error: 1 dependencies of derivation '\''.*-x4\.drv'\'' failed to build' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'error: 1 dependencies of derivation '\''.*-x4\.drv'\'' failed to build' ++(./build.sh:165) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' +++(./build.sh:167) nix build -f fod-failing.nix -L x4 --keep-going ++(./build.sh:167) out='warning: you don'\''t have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv /build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv /build/nix-test/ca/new-build-cmd/store/f88l8zn3bb2dzg5vw147bgfrs6bsb7jn-x4.drv building '\''/build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/ca/new-build-cmd/store/ys0c1waqx7hyh2n9vpzhc8dqs6qjcr7g-x2.drv'\'': likely URL: https://kitty.forge/cat.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk= building '\''/build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/ca/new-build-cmd/store/v5vbnm53xp1rfdjq00v8g4y7ysxspmah-x3.drv'\'': likely URL: (unknown) specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-DbCEqRfR8yZl2skxnBthgysFiZPiP6U5JQ9/Bp7IQI4= error: 2 dependencies of derivation '\''/build/nix-test/ca/new-build-cmd/store/f88l8zn3bb2dzg5vw147bgfrs6bsb7jn-x4.drv'\'' failed to build' ++(./build.sh:167) status=1 ++(./build.sh:168) test 1 = 1 +++(./build.sh:169) grep -E '^error:' +++(./build.sh:169) wc -l ++(./build.sh:169) test 3 = 3 ++(./build.sh:170) grepQuiet -E 'error: 2 dependencies of derivation '\''.*-x4\.drv'\'' failed to build' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'error: 2 dependencies of derivation '\''.*-x4\.drv'\'' failed to build' ++(./build.sh:171) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' ++(./build.sh:172) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ============================================================================== =================================== 14/161 =================================== test: lix:installcheck / functional-ca-nix-shell start time: 20:57:31 duration: 2.02s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=77 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/nix-shell.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/ca/nix-shell/shell.drv!dev /build/nix-test/ca/nix-shell/shell!dev [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/nix-shell +(init.sh:7) test -d /build/nix-test/ca/nix-shell +(init.sh:8) chmod -R u+w /build/nix-test/ca/nix-shell +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/nix-shell +(init.sh:13) mkdir /build/nix-test/ca/nix-shell +(init.sh:15) mkdir /build/nix-test/ca/nix-shell/store +(init.sh:16) mkdir /build/nix-test/ca/nix-shell/var +(init.sh:17) mkdir -p /build/nix-test/ca/nix-shell/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/nix-shell/var/nix +(init.sh:19) mkdir /build/nix-test/ca/nix-shell/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/nix-shell/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/nix-shell/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(nix-shell.sh:5) CONTENT_ADDRESSED=true +(nix-shell.sh:6) cd .. +(nix-shell.sh:7) source ./nix-shell.sh ++(./nix-shell.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(./nix-shell.sh:3) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-shell/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-shell/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-shell/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-shell/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-shell/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-shell/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-shell/test-home/.local/state/nix/profiles ++(./nix-shell.sh:5) [[ -n true ]] ++(./nix-shell.sh:6) shellDotNix=/build/source/build/tests/functional/ca-shell.nix ++(./nix-shell.sh:11) export NIX_PATH=nixpkgs=/build/source/build/tests/functional/ca-shell.nix ++(./nix-shell.sh:11) NIX_PATH=nixpkgs=/build/source/build/tests/functional/ca-shell.nix ++(./nix-shell.sh:14) export IMPURE_VAR=foo ++(./nix-shell.sh:14) IMPURE_VAR=foo ++(./nix-shell.sh:15) export SELECTED_IMPURE_VAR=baz ++(./nix-shell.sh:15) SELECTED_IMPURE_VAR=baz +++(./nix-shell.sh:18) nix-shell --pure /build/source/build/tests/functional/ca-shell.nix -A shellDrv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"' these 2 derivations will be built: /build/nix-test/ca/nix-shell/store/qpf2ycmb1ykj2bnl1j56aw2s21yami09-stdenv.drv /build/nix-test/ca/nix-shell/store/bfv8yrvmqjdza5h8g096lp7y5d9iw30y-bash.drv building '/build/nix-test/ca/nix-shell/store/qpf2ycmb1ykj2bnl1j56aw2s21yami09-stdenv.drv'... resolved derivation: '/build/nix-test/ca/nix-shell/store/bfv8yrvmqjdza5h8g096lp7y5d9iw30y-bash.drv' -> '/build/nix-test/ca/nix-shell/store/31422p9rw4zjcw9lpc3vw23n7zhvm01k-bash.drv'... building '/build/nix-test/ca/nix-shell/store/31422p9rw4zjcw9lpc3vw23n7zhvm01k-bash.drv'... ++(./nix-shell.sh:18) output=' - foo - bar - true' ++(./nix-shell.sh:20) '[' ' - foo - bar - true' = ' - foo - bar - true' ']' +++(./nix-shell.sh:24) nix-shell --pure --keep SELECTED_IMPURE_VAR /build/source/build/tests/functional/ca-shell.nix -A shellDrv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $SELECTED_IMPURE_VAR"' ++(./nix-shell.sh:24) output=' - foo - bar - baz' ++(./nix-shell.sh:26) '[' ' - foo - bar - baz' = ' - foo - bar - baz' ']' ++++(./nix-shell.sh:30) nix-instantiate /build/source/build/tests/functional/ca-shell.nix -A shellDrv warning: you did not specify '--add-root'; the result might be removed by the garbage collector +++(./nix-shell.sh:30) nix-shell --pure '/build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv!dev' --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"' ++(./nix-shell.sh:30) [[ - foo - bar - false = \ \-\ \f\o\o\ \-\ \b\a\r\ \-\ \f\a\l\s\e ]] ++++(./nix-shell.sh:33) nix-instantiate /build/source/build/tests/functional/ca-shell.nix -A shellDrv warning: you did not specify '--add-root'; the result might be removed by the garbage collector +++(./nix-shell.sh:33) nix-shell --pure '/build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv!dev' --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"' ++(./nix-shell.sh:33) [[ - foo - bar - false = \ \-\ \f\o\o\ \-\ \b\a\r\ \-\ \f\a\l\s\e ]] ++(./nix-shell.sh:38) nix-instantiate /build/source/build/tests/functional/ca-shell.nix -A shellDrv --add-root /build/nix-test/ca/nix-shell/shell.drv +++(./nix-shell.sh:40) nix-shell --pure /build/nix-test/ca/nix-shell/shell.drv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX"' ++(./nix-shell.sh:40) [[ - foo - bar = \ \-\ \f\o\o\ \-\ \b\a\r ]] ++(./nix-shell.sh:43) nix-instantiate /build/source/build/tests/functional/ca-shell.nix -A shellDrv --add-root /build/nix-test/ca/nix-shell/shell +++(./nix-shell.sh:45) nix-shell --pure /build/nix-test/ca/nix-shell/shell --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX"' ++(./nix-shell.sh:45) [[ - foo - bar = \ \-\ \f\o\o\ \-\ \b\a\r ]] +++(./nix-shell.sh:48) NIX_PATH=nixpkgs=/build/source/build/tests/functional/ca-shell.nix +++(./nix-shell.sh:48) nix-shell --pure -p foo bar --run 'echo "$(foo) $(bar)"' these 2 derivations will be built: /build/nix-test/ca/nix-shell/store/49r5z5di87dvflfs1i80h36wsfwkpc0r-bar.drv /build/nix-test/ca/nix-shell/store/5nfj3r2vc37caw8h7lk0g82zfvrqv4zc-foo.drv resolved derivation: '/build/nix-test/ca/nix-shell/store/49r5z5di87dvflfs1i80h36wsfwkpc0r-bar.drv' -> '/build/nix-test/ca/nix-shell/store/xkiw9dknr8djn8xl7r88cqs0dy5lq0b3-bar.drv'... resolved derivation: '/build/nix-test/ca/nix-shell/store/5nfj3r2vc37caw8h7lk0g82zfvrqv4zc-foo.drv' -> '/build/nix-test/ca/nix-shell/store/133i4zg2gmhi3km2k2hpmwhz8vqj6psa-foo.drv'... building '/build/nix-test/ca/nix-shell/store/xkiw9dknr8djn8xl7r88cqs0dy5lq0b3-bar.drv'... building '/build/nix-test/ca/nix-shell/store/133i4zg2gmhi3km2k2hpmwhz8vqj6psa-foo.drv'... ++(./nix-shell.sh:48) output='foo bar' ++(./nix-shell.sh:49) '[' 'foo bar' = 'foo bar' ']' +++(./nix-shell.sh:52) NIX_PATH=nixpkgs=/build/source/build/tests/functional/ca-shell.nix +++(./nix-shell.sh:52) nix-shell --pure -p foo --argstr fooContents baz --run 'echo "$(foo)"' this derivation will be built: /build/nix-test/ca/nix-shell/store/zn2hdq9s8w82qgqi293ic22fkas5n0n5-foo.drv resolved derivation: '/build/nix-test/ca/nix-shell/store/zn2hdq9s8w82qgqi293ic22fkas5n0n5-foo.drv' -> '/build/nix-test/ca/nix-shell/store/bgf2a4my7xfyn9n1fsr3jv0d7d3b35cz-foo.drv'... building '/build/nix-test/ca/nix-shell/store/bgf2a4my7xfyn9n1fsr3jv0d7d3b35cz-foo.drv'... ++(./nix-shell.sh:52) output=baz ++(./nix-shell.sh:53) '[' baz = baz ']' +++(./nix-shell.sh:56) type -P env ++(./nix-shell.sh:56) sed -e 's|@ENV_PROG@|/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin/env|' shell.shebang.sh ++(./nix-shell.sh:57) chmod a+rx /build/nix-test/ca/nix-shell/shell.shebang.sh +++(./nix-shell.sh:59) /build/nix-test/ca/nix-shell/shell.shebang.sh abc def these 4 derivations will be built: /build/nix-test/ca/nix-shell/store/52q4mxli73r24wk7k6vdk4qg09ix451x-stdenv.drv /build/nix-test/ca/nix-shell/store/ndiswdc3j678bpni3m8a9dc290vp70i6-bar.drv /build/nix-test/ca/nix-shell/store/pkv5jxs7zg1q1rirz6m5g3ajd0204y77-foo.drv /build/nix-test/ca/nix-shell/store/zfpaa485l7xl20x3pzqpqvh16cv4fj4g-bash.drv building '/build/nix-test/ca/nix-shell/store/52q4mxli73r24wk7k6vdk4qg09ix451x-stdenv.drv'... building '/build/nix-test/ca/nix-shell/store/ndiswdc3j678bpni3m8a9dc290vp70i6-bar.drv'... building '/build/nix-test/ca/nix-shell/store/zfpaa485l7xl20x3pzqpqvh16cv4fj4g-bash.drv'... building '/build/nix-test/ca/nix-shell/store/pkv5jxs7zg1q1rirz6m5g3ajd0204y77-foo.drv'... ++(./nix-shell.sh:59) output='foo bar abc def' ++(./nix-shell.sh:60) '[' 'foo bar abc def' = 'foo bar abc def' ']' +++(./nix-shell.sh:64) type -P env ++(./nix-shell.sh:64) sed -e 's|@ENV_PROG@|/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin/env|' shell.shebang.sh ++(./nix-shell.sh:65) chmod a+rx '/build/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.sh' +++(./nix-shell.sh:67) '/build/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.sh' abc def ++(./nix-shell.sh:67) output='foo bar abc def' ++(./nix-shell.sh:68) '[' 'foo bar abc def' = 'foo bar abc def' ']' +++(./nix-shell.sh:73) type -P nix-shell ++(./nix-shell.sh:73) sed -e 's|@SHELL_PROG@|/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix-shell|' shell.shebang.rb ++(./nix-shell.sh:74) chmod a+rx /build/nix-test/ca/nix-shell/shell.shebang.rb +++(./nix-shell.sh:76) /build/nix-test/ca/nix-shell/shell.shebang.rb abc ruby this derivation will be built: /build/nix-test/ca/nix-shell/store/ksv2ky5c9iqsbcb0kwzlqj6czmr80qsg-ruby.drv building '/build/nix-test/ca/nix-shell/store/ksv2ky5c9iqsbcb0kwzlqj6czmr80qsg-ruby.drv'... ++(./nix-shell.sh:76) output='-e load(ARGV.shift) -- /build/nix-test/ca/nix-shell/shell.shebang.rb abc ruby' ++(./nix-shell.sh:77) '[' '-e load(ARGV.shift) -- /build/nix-test/ca/nix-shell/shell.shebang.rb abc ruby' = '-e load(ARGV.shift) -- /build/nix-test/ca/nix-shell/shell.shebang.rb abc ruby' ']' +++(./nix-shell.sh:81) type -P nix-shell ++(./nix-shell.sh:81) sed -e 's|@SHELL_PROG@|/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix-shell|' shell.shebang.rb ++(./nix-shell.sh:82) chmod a+rx '/build/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb' +++(./nix-shell.sh:84) '/build/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb' abc ruby ++(./nix-shell.sh:84) output='-e load(ARGV.shift) -- /build/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' ++(./nix-shell.sh:85) '[' '-e load(ARGV.shift) -- /build/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' = '-e load(ARGV.shift) -- /build/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' ']' +++(./nix-shell.sh:88) type -P env ++(./nix-shell.sh:88) sed -e 's|@ENV_PROG@|/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin/env|' shell.shebang.nix ++(./nix-shell.sh:89) chmod a+rx /build/nix-test/ca/nix-shell/shell.shebang.nix ++(./nix-shell.sh:90) /build/nix-test/ca/nix-shell/shell.shebang.nix ++(./nix-shell.sh:93) nix develop -f /build/source/build/tests/functional/ca-shell.nix shellDrv -c bash -c '[[ -n $stdenv ]]' warning: you don't have Internet access; disabling some network-dependent features building '/build/nix-test/ca/nix-shell/store/gv83czcp6wswd8k87y2r5vywf4rq5zxq-shellDrv-env.drv'... warning: cannot read flake registry '/build/nix-test/ca/nix-shell/registry.json': path does not exist error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries ++(./nix-shell.sh:96) echo foo ++(./nix-shell.sh:96) nix develop -f /build/source/build/tests/functional/ca-shell.nix shellDrv -c cat ++(./nix-shell.sh:96) grepQuiet foo ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo warning: you don't have Internet access; disabling some network-dependent features warning: cannot read flake registry '/build/nix-test/ca/nix-shell/registry.json': path does not exist error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries ++(./nix-shell.sh:99) nix develop -f /build/source/build/tests/functional/ca-shell.nix shellDrv -c echo foo ++(./nix-shell.sh:99) grepQuiet foo ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo ++(./nix-shell.sh:103) nix print-dev-env -f /build/source/build/tests/functional/ca-shell.nix shellDrv warning: you don't have Internet access; disabling some network-dependent features ++(./nix-shell.sh:104) nix print-dev-env -f /build/source/build/tests/functional/ca-shell.nix shellDrv --json warning: you don't have Internet access; disabling some network-dependent features +++(./nix-shell.sh:108) nix-instantiate /build/source/build/tests/functional/ca-shell.nix -A shellDrv.out warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(./nix-shell.sh:108) shellDrv=/build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv ++(./nix-shell.sh:110) nix develop /build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv -c bash -c '[[ -n $stdenv ]]' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv^*' warning: cannot read flake registry '/build/nix-test/ca/nix-shell/registry.json': path does not exist error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries ++(./nix-shell.sh:112) nix print-dev-env /build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv^*' ++(./nix-shell.sh:113) nix print-dev-env /build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv --json warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/ca/nix-shell/store/1p9zg556bzswawh39pqmxaf3kkwagdmz-shellDrv.drv^*' ++(./nix-shell.sh:115) diff /build/nix-test/ca/nix-shell/dev-env.sh /build/nix-test/ca/nix-shell/dev-env2.sh ++(./nix-shell.sh:116) diff /build/nix-test/ca/nix-shell/dev-env.json /build/nix-test/ca/nix-shell/dev-env2.json +++(./nix-shell.sh:119) jq -r '.variables.arr1.value[2]' /build/nix-test/ca/nix-shell/dev-env.json ++(./nix-shell.sh:119) [[ 3 4 = \3\ \4 ]] ++(./nix-shell.sh:124) set -u ++(./nix-shell.sh:128) path=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin ++(./nix-shell.sh:129) source /build/nix-test/ca/nix-shell/dev-env.sh +++(/build/nix-test/ca/nix-shell/dev-env.sh:1) unset shellHook +++(/build/nix-test/ca/nix-shell/dev-env.sh:2) PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin +++(/build/nix-test/ca/nix-shell/dev-env.sh:3) nix_saved_PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin +++(/build/nix-test/ca/nix-shell/dev-env.sh:4) XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share +++(/build/nix-test/ca/nix-shell/dev-env.sh:5) nix_saved_XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share +++(/build/nix-test/ca/nix-shell/dev-env.sh:6) ASCII_AT=@ +++(/build/nix-test/ca/nix-shell/dev-env.sh:7) export ASCII_AT +++(/build/nix-test/ca/nix-shell/dev-env.sh:8) ASCII_PERCENT=% +++(/build/nix-test/ca/nix-shell/dev-env.sh:9) export ASCII_PERCENT +++(/build/nix-test/ca/nix-shell/dev-env.sh:10) BASH=/noshell +++(/build/nix-test/ca/nix-shell/dev-env.sh:11) HOSTTYPE=x86_64 +++(/build/nix-test/ca/nix-shell/dev-env.sh:13) IFS=' ' +++(/build/nix-test/ca/nix-shell/dev-env.sh:14) IN_NIX_SHELL=impure +++(/build/nix-test/ca/nix-shell/dev-env.sh:15) export IN_NIX_SHELL +++(/build/nix-test/ca/nix-shell/dev-env.sh:16) LINENO=76 +++(/build/nix-test/ca/nix-shell/dev-env.sh:17) MACHTYPE=x86_64-pc-linux-gnu +++(/build/nix-test/ca/nix-shell/dev-env.sh:18) NIX_BUILD_CORES=8 +++(/build/nix-test/ca/nix-shell/dev-env.sh:19) export NIX_BUILD_CORES +++(/build/nix-test/ca/nix-shell/dev-env.sh:20) NIX_STORE=/build/nix-test/ca/nix-shell/store +++(/build/nix-test/ca/nix-shell/dev-env.sh:21) export NIX_STORE +++(/build/nix-test/ca/nix-shell/dev-env.sh:22) OLDPWD= +++(/build/nix-test/ca/nix-shell/dev-env.sh:23) export OLDPWD +++(/build/nix-test/ca/nix-shell/dev-env.sh:24) OPTERR=1 +++(/build/nix-test/ca/nix-shell/dev-env.sh:25) OSTYPE=linux-gnu +++(/build/nix-test/ca/nix-shell/dev-env.sh:26) PATH=/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin +++(/build/nix-test/ca/nix-shell/dev-env.sh:27) export PATH +++(/build/nix-test/ca/nix-shell/dev-env.sh:28) PS4='+ ' +++ SHELL=/noshell +++ TEST_inNixShell=false +++ export TEST_inNixShell +++ VAR_FROM_NIX=bar +++ export VAR_FROM_NIX +++ VAR_FROM_STDENV_SETUP=foo +++ export VAR_FROM_STDENV_SETUP +++ arr1=('1' '2' '3 4' '5') +++ declare -a arr1 +++ arr2=('x' ' ' 'x y') +++ declare -a arr2 +++ builder=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash +++ export builder +++ dev=/build/source/build/tests/functional/outputs/dev +++ export dev +++ dontAddDisableDepTrack=1 +++ export dontAddDisableDepTrack +++ name=shellDrv-env +++ export name +++ out=/build/source/build/tests/functional/outputs/out +++ export out +++ outputHashAlgo=sha256 +++ export outputHashAlgo +++ outputHashMode=recursive +++ export outputHashMode +++ outputs='dev out' +++ export outputs +++ stdenv=/build/nix-test/ca/nix-shell/store/a4ch1s5a10l9lar2j305hjskdld1vzgb-stdenv +++ export stdenv +++ system=x86_64-linux +++ export system +++ PATH=/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin +++ XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share ++++ mktemp -d -t nix-shell.XXXXXX +++ export NIX_BUILD_TOP=/build/nix-shell.OS7Wwn +++ NIX_BUILD_TOP=/build/nix-shell.OS7Wwn +++ export TMP=/build/nix-shell.OS7Wwn +++ TMP=/build/nix-shell.OS7Wwn +++ export TMPDIR=/build/nix-shell.OS7Wwn +++ TMPDIR=/build/nix-shell.OS7Wwn +++ export TEMP=/build/nix-shell.OS7Wwn +++ TEMP=/build/nix-shell.OS7Wwn +++ export TEMPDIR=/build/nix-shell.OS7Wwn +++ TEMPDIR=/build/nix-shell.OS7Wwn +++ eval '' ++ [[ -n /build/nix-test/ca/nix-shell/store/a4ch1s5a10l9lar2j305hjskdld1vzgb-stdenv ]] ++ [[ 3 4 = \3\ \4 ]] ++ [[ = \ ]] ++ [[ x y = \x\ \y ]] +++ fun +++ echo blabla ++ [[ blabla = blabla ]] +++ jq -r .variables.PATH.value /build/nix-test/ca/nix-shell/dev-env.json ++ [[ /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin = /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin ]] ++(./nix-shell.sh:140) path=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin ++(./nix-shell.sh:141) PATH= ++(./nix-shell.sh:142) source /build/nix-test/ca/nix-shell/dev-env.sh +++(/build/nix-test/ca/nix-shell/dev-env.sh:1) unset shellHook +++(/build/nix-test/ca/nix-shell/dev-env.sh:2) PATH= +++(/build/nix-test/ca/nix-shell/dev-env.sh:3) nix_saved_PATH= +++(/build/nix-test/ca/nix-shell/dev-env.sh:4) XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share +++(/build/nix-test/ca/nix-shell/dev-env.sh:5) nix_saved_XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share +++(/build/nix-test/ca/nix-shell/dev-env.sh:6) ASCII_AT=@ +++(/build/nix-test/ca/nix-shell/dev-env.sh:7) export ASCII_AT +++(/build/nix-test/ca/nix-shell/dev-env.sh:8) ASCII_PERCENT=% +++(/build/nix-test/ca/nix-shell/dev-env.sh:9) export ASCII_PERCENT +++(/build/nix-test/ca/nix-shell/dev-env.sh:10) BASH=/noshell +++(/build/nix-test/ca/nix-shell/dev-env.sh:11) HOSTTYPE=x86_64 +++(/build/nix-test/ca/nix-shell/dev-env.sh:13) IFS=' ' +++(/build/nix-test/ca/nix-shell/dev-env.sh:14) IN_NIX_SHELL=impure +++(/build/nix-test/ca/nix-shell/dev-env.sh:15) export IN_NIX_SHELL +++(/build/nix-test/ca/nix-shell/dev-env.sh:16) LINENO=76 +++(/build/nix-test/ca/nix-shell/dev-env.sh:17) MACHTYPE=x86_64-pc-linux-gnu +++(/build/nix-test/ca/nix-shell/dev-env.sh:18) NIX_BUILD_CORES=8 +++(/build/nix-test/ca/nix-shell/dev-env.sh:19) export NIX_BUILD_CORES +++(/build/nix-test/ca/nix-shell/dev-env.sh:20) NIX_STORE=/build/nix-test/ca/nix-shell/store +++(/build/nix-test/ca/nix-shell/dev-env.sh:21) export NIX_STORE +++(/build/nix-test/ca/nix-shell/dev-env.sh:22) OLDPWD= +++(/build/nix-test/ca/nix-shell/dev-env.sh:23) export OLDPWD +++(/build/nix-test/ca/nix-shell/dev-env.sh:24) OPTERR=1 +++(/build/nix-test/ca/nix-shell/dev-env.sh:25) OSTYPE=linux-gnu +++(/build/nix-test/ca/nix-shell/dev-env.sh:26) PATH=/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin +++(/build/nix-test/ca/nix-shell/dev-env.sh:27) export PATH +++(/build/nix-test/ca/nix-shell/dev-env.sh:28) PS4='+ ' +++ SHELL=/noshell +++ TEST_inNixShell=false +++ export TEST_inNixShell +++ VAR_FROM_NIX=bar +++ export VAR_FROM_NIX +++ VAR_FROM_STDENV_SETUP=foo +++ export VAR_FROM_STDENV_SETUP +++ arr1=('1' '2' '3 4' '5') +++ declare -a arr1 +++ arr2=('x' ' ' 'x y') +++ declare -a arr2 +++ builder=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash +++ export builder +++ dev=/build/source/build/tests/functional/outputs/dev +++ export dev +++ dontAddDisableDepTrack=1 +++ export dontAddDisableDepTrack +++ name=shellDrv-env +++ export name +++ out=/build/source/build/tests/functional/outputs/out +++ export out +++ outputHashAlgo=sha256 +++ export outputHashAlgo +++ outputHashMode=recursive +++ export outputHashMode +++ outputs='dev out' +++ export outputs +++ stdenv=/build/nix-test/ca/nix-shell/store/a4ch1s5a10l9lar2j305hjskdld1vzgb-stdenv +++ export stdenv +++ system=x86_64-linux +++ export system +++ PATH=/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin +++ XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share ++++ mktemp -d -t nix-shell.XXXXXX +++ export NIX_BUILD_TOP=/build/nix-shell.FLP24H +++ NIX_BUILD_TOP=/build/nix-shell.FLP24H +++ export TMP=/build/nix-shell.FLP24H +++ TMP=/build/nix-shell.FLP24H +++ export TMPDIR=/build/nix-shell.FLP24H +++ TMPDIR=/build/nix-shell.FLP24H +++ export TEMP=/build/nix-shell.FLP24H +++ TEMP=/build/nix-shell.FLP24H +++ export TEMPDIR=/build/nix-shell.FLP24H +++ TEMPDIR=/build/nix-shell.FLP24H +++ eval '' +++ PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin +++ jq -r .variables.PATH.value /build/nix-test/ca/nix-shell/dev-env.json ++ [[ /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin = /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin ]] ++(./nix-shell.sh:147) cat ++(./nix-shell.sh:152) nix-shell /build/nix-test/ca/nix-shell/shell-ellipsis.nix --run true ============================================================================== =================================== 15/161 =================================== test: lix:installcheck / functional-ca-substitute start time: 20:57:33 duration: 0.51s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=119 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/substitute.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/substitute +(init.sh:7) test -d /build/nix-test/ca/substitute +(init.sh:8) chmod -R u+w /build/nix-test/ca/substitute +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/substitute +(init.sh:13) mkdir /build/nix-test/ca/substitute +(init.sh:15) mkdir /build/nix-test/ca/substitute/store +(init.sh:16) mkdir /build/nix-test/ca/substitute/var +(init.sh:17) mkdir -p /build/nix-test/ca/substitute/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/substitute/var/nix +(init.sh:19) mkdir /build/nix-test/ca/substitute/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/substitute/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/substitute/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(substitute.sh:7) needLocalStore '“--no-require-sigs” can’t be used with the daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(substitute.sh:9) rm -rf /build/nix-test/ca/substitute/binary_cache +(substitute.sh:11) export REMOTE_STORE_DIR=/build/nix-test/ca/substitute/binary_cache +(substitute.sh:11) REMOTE_STORE_DIR=/build/nix-test/ca/substitute/binary_cache +(substitute.sh:12) export REMOTE_STORE=file:///build/nix-test/ca/substitute/binary_cache +(substitute.sh:12) REMOTE_STORE=file:///build/nix-test/ca/substitute/binary_cache +(substitute.sh:19) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/substitute/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/substitute/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/substitute/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/substitute/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/substitute/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/substitute/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/substitute/test-home/.local/state/nix/profiles +(substitute.sh:20) nix copy --to file:///build/nix-test/ca/substitute/binary_cache --file ./content-addressed.nix warning: you don't have Internet access; disabling some network-dependent features these 9 derivations will be built: /build/nix-test/ca/substitute/store/n683mvdi1ajz7zakkq59q3ra3ya00wps-simple-input-addressed.drv /build/nix-test/ca/substitute/store/5578hpppfpmgb6waycckw1yjbkv3si8k-rootCA.drv /build/nix-test/ca/substitute/store/0chpad4j5jm3ag6zq29cjpcc1m6lw54f-dependent.drv /build/nix-test/ca/substitute/store/0kh1favl36cgz44h7v8hk07n2q40sia6-transitively-dependent.drv /build/nix-test/ca/substitute/store/6qq97fljvw9vkjpgdw15qrmgyqxksq22-dependent-for-build-ca.drv /build/nix-test/ca/substitute/store/mvkgaiq7h064bayvpfrz2yia8fbingky-runnable-thing.drv /build/nix-test/ca/substitute/store/rvfg3km49pdcr13z0f38llkcrs5v4l9w-dependent-non-ca.drv /build/nix-test/ca/substitute/store/v1arsq76fvkzwh1vf0j69an41v962csh-dependent-fixed-output.drv /build/nix-test/ca/substitute/store/w9ycn75c48iz2lwxqjd5x2mmqbmk7cga-dependent-for-build-non-ca.drv building '/build/nix-test/ca/substitute/store/n683mvdi1ajz7zakkq59q3ra3ya00wps-simple-input-addressed.drv'... building '/build/nix-test/ca/substitute/store/937c0xfl8h3swzzhw87rya6j2bnn9jcm-rootCA.drv'... building '/build/nix-test/ca/substitute/store/864cnawl1yvhzswslqxff9kcc8vkya7c-dependent-for-build-ca.drv'... building '/build/nix-test/ca/substitute/store/mr21r4yr1i8kk1x8y6jb86jd6mv3420g-dependent-for-build-non-ca.drv'... building '/build/nix-test/ca/substitute/store/2gj5l5ljma2z2d9k2v9chmvzdspabsl7-dependent-non-ca.drv'... building '/build/nix-test/ca/substitute/store/i2j2wa3rhgxl0am6zvpy49a6b0njbxr2-dependent.drv'... building '/build/nix-test/ca/substitute/store/brn77ayqzkbxahczcznvphf31rx9xkdn-runnable-thing.drv'... building '/build/nix-test/ca/substitute/store/v5h2my1km5j26fhjcw72k221jvsx0w2a-dependent-fixed-output.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/substitute/store/8ajmq529mqp4brspxgjrzzmk2jn1l4vq-dependent-fixed-output': Permission denied ++(substitute.sh:20) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x substitute.sh: test failed at: main in substitute.sh:20 ============================================================================== =================================== 16/161 =================================== test: lix:installcheck / functional-ca-duplicate-realisation-in-closure start time: 20:57:30 duration: 2.87s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=243 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/duplicate-realisation-in-closure.sh ----------------------------------- stdout ----------------------------------- clearing store... clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/duplicate-realisation-in-closure +(init.sh:7) test -d /build/nix-test/ca/duplicate-realisation-in-closure +(init.sh:8) chmod -R u+w /build/nix-test/ca/duplicate-realisation-in-closure +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/duplicate-realisation-in-closure +(init.sh:13) mkdir /build/nix-test/ca/duplicate-realisation-in-closure +(init.sh:15) mkdir /build/nix-test/ca/duplicate-realisation-in-closure/store +(init.sh:16) mkdir /build/nix-test/ca/duplicate-realisation-in-closure/var +(init.sh:17) mkdir -p /build/nix-test/ca/duplicate-realisation-in-closure/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/duplicate-realisation-in-closure/var/nix +(init.sh:19) mkdir /build/nix-test/ca/duplicate-realisation-in-closure/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/duplicate-realisation-in-closure/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/duplicate-realisation-in-closure/etc/nix.conf ++(./common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(duplicate-realisation-in-closure.sh:3) requireDaemonNewerThan 2.4pre20210625 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.4pre20210625 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(duplicate-realisation-in-closure.sh:5) export REMOTE_STORE_DIR=/build/nix-test/ca/duplicate-realisation-in-closure/remote_store +(duplicate-realisation-in-closure.sh:5) REMOTE_STORE_DIR=/build/nix-test/ca/duplicate-realisation-in-closure/remote_store +(duplicate-realisation-in-closure.sh:6) export REMOTE_STORE=file:///build/nix-test/ca/duplicate-realisation-in-closure/remote_store +(duplicate-realisation-in-closure.sh:6) REMOTE_STORE=file:///build/nix-test/ca/duplicate-realisation-in-closure/remote_store +(duplicate-realisation-in-closure.sh:8) rm -rf /build/nix-test/ca/duplicate-realisation-in-closure/remote_store +(duplicate-realisation-in-closure.sh:9) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/duplicate-realisation-in-closure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/duplicate-realisation-in-closure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/duplicate-realisation-in-closure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/duplicate-realisation-in-closure/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/duplicate-realisation-in-closure/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/duplicate-realisation-in-closure/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/duplicate-realisation-in-closure/test-home/.local/state/nix/profiles +(duplicate-realisation-in-closure.sh:13) nix copy --to file:///build/nix-test/ca/duplicate-realisation-in-closure/remote_store -f nondeterministic.nix dep1 warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/duplicate-realisation-in-closure/store/r4xn4xyi9ip23sysi9hl62zhhci4z2n4-current-time.drv /build/nix-test/ca/duplicate-realisation-in-closure/store/mimyzp40c6ryz4fl29ya11cggqdly0f4-dep.drv building '/build/nix-test/ca/duplicate-realisation-in-closure/store/r4xn4xyi9ip23sysi9hl62zhhci4z2n4-current-time.drv'... building '/build/nix-test/ca/duplicate-realisation-in-closure/store/h7p3n1jaz91q1bzmsn0p8biafldvybf2-dep.drv'... copying 2 paths... copying path '/build/nix-test/ca/duplicate-realisation-in-closure/store/bw51az6naygj51jf7lnllampmbg9zzbg-current-time' to 'file:///build/nix-test/ca/duplicate-realisation-in-closure/remote_store'... copying path '/build/nix-test/ca/duplicate-realisation-in-closure/store/60k1dyipbn7vgx0bibqhf0h41lmvpxq2-dep' to 'file:///build/nix-test/ca/duplicate-realisation-in-closure/remote_store'... +(duplicate-realisation-in-closure.sh:14) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/duplicate-realisation-in-closure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/duplicate-realisation-in-closure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/duplicate-realisation-in-closure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/duplicate-realisation-in-closure/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/duplicate-realisation-in-closure/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/duplicate-realisation-in-closure/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/duplicate-realisation-in-closure/test-home/.local/state/nix/profiles +(duplicate-realisation-in-closure.sh:15) sleep 2 +(duplicate-realisation-in-closure.sh:20) nix build -f nondeterministic.nix dep2 --no-link warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/duplicate-realisation-in-closure/store/r4xn4xyi9ip23sysi9hl62zhhci4z2n4-current-time.drv /build/nix-test/ca/duplicate-realisation-in-closure/store/rpxf5ipq98wvvwgjrnw7d9kqwvf51x8h-dep.drv building '/build/nix-test/ca/duplicate-realisation-in-closure/store/r4xn4xyi9ip23sysi9hl62zhhci4z2n4-current-time.drv'... building '/build/nix-test/ca/duplicate-realisation-in-closure/store/sawxc834jc5m1xniapfrd9805ghdgm7c-dep.drv'... +(duplicate-realisation-in-closure.sh:26) nix build --substituters file:///build/nix-test/ca/duplicate-realisation-in-closure/remote_store -f nondeterministic.nix toplevel --no-require-sigs --no-link warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/duplicate-realisation-in-closure/store/mimyzp40c6ryz4fl29ya11cggqdly0f4-dep.drv /build/nix-test/ca/duplicate-realisation-in-closure/store/987j8cxcndkxs0n55y4zh651zzs8q7yb-toplevel.drv building '/build/nix-test/ca/duplicate-realisation-in-closure/store/qay42ivvnz1fjgqnlybknk3ndlxlg99f-dep.drv'... building '/build/nix-test/ca/duplicate-realisation-in-closure/store/la2m5835l8nnixd4n2ymaqkii8yaca7d-toplevel.drv'... ============================================================================== =================================== 17/161 =================================== test: lix:installcheck / functional-ca-why-depends start time: 20:57:33 duration: 0.59s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=117 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/why-depends.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/ca/why-depends/store/qyis61hrq65x4lkkx4hknfnnr0gyw8vv-dependencies-input-0 [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/why-depends +(init.sh:7) test -d /build/nix-test/ca/why-depends +(init.sh:8) chmod -R u+w /build/nix-test/ca/why-depends +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/why-depends +(init.sh:13) mkdir /build/nix-test/ca/why-depends +(init.sh:15) mkdir /build/nix-test/ca/why-depends/store +(init.sh:16) mkdir /build/nix-test/ca/why-depends/var +(init.sh:17) mkdir -p /build/nix-test/ca/why-depends/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/why-depends/var/nix +(init.sh:19) mkdir /build/nix-test/ca/why-depends/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/why-depends/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/why-depends/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(why-depends.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1 +(why-depends.sh:3) NIX_TESTS_CA_BY_DEFAULT=1 +(why-depends.sh:5) cd .. +(why-depends.sh:5) source why-depends.sh ++(why-depends.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(why-depends.sh:3) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/why-depends/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/why-depends/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/why-depends/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/why-depends/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/why-depends/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/why-depends/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/why-depends/test-home/.local/state/nix/profiles ++(why-depends.sh:5) cp ./dependencies.nix ./dependencies.builder0.sh ./config.nix /build/nix-test/ca/why-depends/test-home ++(why-depends.sh:7) cd /build/nix-test/ca/why-depends/test-home ++(why-depends.sh:9) nix why-depends --derivation --file ./dependencies.nix input2_drv input1_drv warning: you don't have Internet access; disabling some network-dependent features 'input2_drv' does not depend on 'input1_drv' ++(why-depends.sh:10) nix why-depends --file ./dependencies.nix input2_drv input1_drv warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/why-depends/store/039h8r7fcq578n48yl6gi21y452b0qli-dependencies-input-0.drv /build/nix-test/ca/why-depends/store/1682cd7c922qdh1na4fpvbxalgc9609s-dependencies-input-2.drv building '/build/nix-test/ca/why-depends/store/039h8r7fcq578n48yl6gi21y452b0qli-dependencies-input-0.drv'... building '/build/nix-test/ca/why-depends/store/n1hrb1xcnkf7gfbiy30ahfs4nbypbf20-dependencies-input-2.drv'... this derivation will be built: /build/nix-test/ca/why-depends/store/p7miag1k25llw77n6ax7x4hw6q1icq5a-dependencies-input-1.drv 'input2_drv' does not depend on 'input1_drv' ++(why-depends.sh:12) nix-build ./dependencies.nix -A input0_drv -o dep ++(why-depends.sh:13) nix-build ./dependencies.nix -o toplevel these 3 derivations will be built: /build/nix-test/ca/why-depends/store/ahvbqynfp8xmhd3xsc75r57kz4zi0sqb-fod-input.drv /build/nix-test/ca/why-depends/store/p7miag1k25llw77n6ax7x4hw6q1icq5a-dependencies-input-1.drv /build/nix-test/ca/why-depends/store/hmagmgv3g15njw7iw1482wp5px0xw397-dependencies-top.drv building '/build/nix-test/ca/why-depends/store/p7miag1k25llw77n6ax7x4hw6q1icq5a-dependencies-input-1.drv'... building '/build/nix-test/ca/why-depends/store/ahvbqynfp8xmhd3xsc75r57kz4zi0sqb-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/why-depends/store/cpqcbrr76dgbmfpzvk1n4las57dccdjh-fod-input': Permission denied +++(why-depends.sh:13) onError +++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x why-depends.sh: test failed at: source in why-depends.sh:13 main in why-depends.sh:5 ============================================================================== =================================== 18/161 =================================== test: lix:installcheck / functional-dyn-drv-text-hashed-output start time: 20:57:33 duration: 0.51s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=117 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py dyn-drv/text-hashed-output.sh ----------------------------------- stdout ----------------------------------- { "/build/nix-test/dyn-drv/text-hashed-output/store/y3zxr5drap2i54rmb2dwzss5xbhz09aa-hello.drv": { "args": [ "-e", "/build/nix-test/dyn-drv/text-hashed-output/store/fxd4kylixzf58rrpxls9ykl1m821d6zk-builder-hello.sh" ], "builder": "/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash", "env": { "PATH": "/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin", "buildCommand": "set -x\necho \"Building a CA derivation\"\nmkdir -p $out\necho \"Hello World\" > $out/hello\n", "builder": "/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash", "name": "hello", "out": "/build/nix-test/dyn-drv/text-hashed-output/store/icn9any47ph13csxhig29i5ywxrc7ayi-hello", "system": "x86_64-linux" }, "inputDrvs": {}, "inputSrcs": [ "/build/nix-test/dyn-drv/text-hashed-output/store/fxd4kylixzf58rrpxls9ykl1m821d6zk-builder-hello.sh" ], "name": "hello", "outputs": { "out": { "path": "/build/nix-test/dyn-drv/text-hashed-output/store/icn9any47ph13csxhig29i5ywxrc7ayi-hello" } }, "system": "x86_64-linux" } } { "/build/nix-test/dyn-drv/text-hashed-output/store/hpxjk0ss5lllvc88isg73q8xbx2ynf40-hello.drv.drv": { "args": [ "-e", "/build/nix-test/dyn-drv/text-hashed-output/store/25j04n3zapqdm4ahmyl8kra7lb54nc9d-builder-hello.drv.sh" ], "builder": "/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash", "env": { "PATH": "/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin", "buildCommand": "echo \"Copying the derivation\"\ncp /build/nix-test/dyn-drv/text-hashed-output/store/y3zxr5drap2i54rmb2dwzss5xbhz09aa-hello.drv $out\n", "builder": "/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash", "name": "hello.drv", "out": "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9", "outputHashAlgo": "sha256", "outputHashMode": "text", "system": "x86_64-linux" }, "inputDrvs": {}, "inputSrcs": [ "/build/nix-test/dyn-drv/text-hashed-output/store/25j04n3zapqdm4ahmyl8kra7lb54nc9d-builder-hello.drv.sh", "/build/nix-test/dyn-drv/text-hashed-output/store/y3zxr5drap2i54rmb2dwzss5xbhz09aa-hello.drv" ], "name": "hello.drv", "outputs": { "out": { "hashAlgo": "text:sha256" } }, "system": "x86_64-linux" } } [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/dyn-drv/text-hashed-output +(init.sh:7) test -d /build/nix-test/dyn-drv/text-hashed-output +(init.sh:8) chmod -R u+w /build/nix-test/dyn-drv/text-hashed-output +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/dyn-drv/text-hashed-output +(init.sh:13) mkdir /build/nix-test/dyn-drv/text-hashed-output +(init.sh:15) mkdir /build/nix-test/dyn-drv/text-hashed-output/store +(init.sh:16) mkdir /build/nix-test/dyn-drv/text-hashed-output/var +(init.sh:17) mkdir -p /build/nix-test/dyn-drv/text-hashed-output/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/dyn-drv/text-hashed-output/var/nix +(init.sh:19) mkdir /build/nix-test/dyn-drv/text-hashed-output/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/dyn-drv/text-hashed-output/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:4) requireDaemonNewerThan 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(common.sh:6) enableFeatures 'ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local 'features=ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /build/nix-test/dyn-drv/text-hashed-output/etc/nix.conf ++(common.sh:8) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 ++(text-hashed-output.sh:15) nix-instantiate ./text-hashed-output.nix -A hello warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(text-hashed-output.sh:15) drv=/build/nix-test/dyn-drv/text-hashed-output/store/y3zxr5drap2i54rmb2dwzss5xbhz09aa-hello.drv +(text-hashed-output.sh:16) nix show-derivation /build/nix-test/dyn-drv/text-hashed-output/store/y3zxr5drap2i54rmb2dwzss5xbhz09aa-hello.drv warning: 'show-derivation' is a deprecated alias for 'derivation show' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/dyn-drv/text-hashed-output/store/y3zxr5drap2i54rmb2dwzss5xbhz09aa-hello.drv^*' ++(text-hashed-output.sh:18) nix-instantiate ./text-hashed-output.nix -A producingDrv warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(text-hashed-output.sh:18) drvProducingDrv=/build/nix-test/dyn-drv/text-hashed-output/store/hpxjk0ss5lllvc88isg73q8xbx2ynf40-hello.drv.drv +(text-hashed-output.sh:19) nix show-derivation /build/nix-test/dyn-drv/text-hashed-output/store/hpxjk0ss5lllvc88isg73q8xbx2ynf40-hello.drv.drv warning: 'show-derivation' is a deprecated alias for 'derivation show' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/dyn-drv/text-hashed-output/store/hpxjk0ss5lllvc88isg73q8xbx2ynf40-hello.drv.drv^*' ++(text-hashed-output.sh:21) nix-build ./text-hashed-output.nix -A producingDrv --no-out-link this derivation will be built: /build/nix-test/dyn-drv/text-hashed-output/store/hpxjk0ss5lllvc88isg73q8xbx2ynf40-hello.drv.drv building '/build/nix-test/dyn-drv/text-hashed-output/store/hpxjk0ss5lllvc88isg73q8xbx2ynf40-hello.drv.drv'... Copying the derivation error: removing extended attribute 'btrfs.compression' from '/build/nix-test/dyn-drv/text-hashed-output/store/4c2asiz0cywgvzzpqdwsql571c7grlfa-hello.drv': Permission denied +(text-hashed-output.sh:21) out1= ++(text-hashed-output.sh:21) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x text-hashed-output.sh: test failed at: main in text-hashed-output.sh:21 ============================================================================== =================================== 19/161 =================================== test: lix:installcheck / functional-dyn-drv-recursive-mod-json start time: 20:57:33 duration: 0.47s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=21 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py dyn-drv/recursive-mod-json.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/dyn-drv/recursive-mod-json +(init.sh:7) test -d /build/nix-test/dyn-drv/recursive-mod-json +(init.sh:8) chmod -R u+w /build/nix-test/dyn-drv/recursive-mod-json +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/dyn-drv/recursive-mod-json +(init.sh:13) mkdir /build/nix-test/dyn-drv/recursive-mod-json +(init.sh:15) mkdir /build/nix-test/dyn-drv/recursive-mod-json/store +(init.sh:16) mkdir /build/nix-test/dyn-drv/recursive-mod-json/var +(init.sh:17) mkdir -p /build/nix-test/dyn-drv/recursive-mod-json/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/dyn-drv/recursive-mod-json/var/nix +(init.sh:19) mkdir /build/nix-test/dyn-drv/recursive-mod-json/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/dyn-drv/recursive-mod-json/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:4) requireDaemonNewerThan 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(common.sh:6) enableFeatures 'ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local 'features=ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /build/nix-test/dyn-drv/recursive-mod-json/etc/nix.conf ++(common.sh:8) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 ++(recursive-mod-json.sh:4) uname +(recursive-mod-json.sh:4) [[ Linux != Linux ]] +(recursive-mod-json.sh:6) export NIX_TESTS_CA_BY_DEFAULT=1 +(recursive-mod-json.sh:6) NIX_TESTS_CA_BY_DEFAULT=1 +(recursive-mod-json.sh:8) enableFeatures recursive-nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=recursive-nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& recursive-nix/' /build/nix-test/dyn-drv/recursive-mod-json/etc/nix.conf +(recursive-mod-json.sh:9) restartDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(recursive-mod-json.sh:11) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/dyn-drv/recursive-mod-json/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/dyn-drv/recursive-mod-json/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/dyn-drv/recursive-mod-json/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/dyn-drv/recursive-mod-json/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/dyn-drv/recursive-mod-json/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/dyn-drv/recursive-mod-json/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/dyn-drv/recursive-mod-json/test-home/.local/state/nix/profiles +(recursive-mod-json.sh:13) rm -f /build/nix-test/dyn-drv/recursive-mod-json/result +++(recursive-mod-json.sh:15) type -p nix ++(recursive-mod-json.sh:15) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix +++(recursive-mod-json.sh:15) type -p jq ++(recursive-mod-json.sh:15) dirname /nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin/jq +(recursive-mod-json.sh:15) EXTRA_PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin +(recursive-mod-json.sh:16) export EXTRA_PATH ++(recursive-mod-json.sh:19) nix-instantiate ./recursive-mod-json.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(recursive-mod-json.sh:19) metaDrv=/build/nix-test/dyn-drv/recursive-mod-json/store/y5s8d5563qqw7n1j2zjjx2xa103dzb4k-foo.drv.drv ++(recursive-mod-json.sh:22) nix-store -r /build/nix-test/dyn-drv/recursive-mod-json/store/y5s8d5563qqw7n1j2zjjx2xa103dzb4k-foo.drv.drv this derivation will be built: /build/nix-test/dyn-drv/recursive-mod-json/store/y5s8d5563qqw7n1j2zjjx2xa103dzb4k-foo.drv.drv building '/build/nix-test/dyn-drv/recursive-mod-json/store/y5s8d5563qqw7n1j2zjjx2xa103dzb4k-foo.drv.drv'... warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/dyn-drv/recursive-mod-json/store/kvilqm7db193zpj1k3f17nxw008hzdzr-hello.drv^*' warning: you don't have Internet access; disabling some network-dependent features error: removing extended attribute 'btrfs.compression' from '/build/nix-test/dyn-drv/recursive-mod-json/store/2j26m30y3rf2s0rakqy4anf8njqjlzcj-foo.drv': Permission denied +(recursive-mod-json.sh:22) drv= ++(recursive-mod-json.sh:22) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x recursive-mod-json.sh: test failed at: main in recursive-mod-json.sh:22 ============================================================================== =================================== 20/161 =================================== test: lix:installcheck / functional-dyn-drv-build-built-drv start time: 20:57:33 duration: 0.42s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=74 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py dyn-drv/build-built-drv.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/dyn-drv/build-built-drv +(init.sh:7) test -d /build/nix-test/dyn-drv/build-built-drv +(init.sh:8) chmod -R u+w /build/nix-test/dyn-drv/build-built-drv +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/dyn-drv/build-built-drv +(init.sh:13) mkdir /build/nix-test/dyn-drv/build-built-drv +(init.sh:15) mkdir /build/nix-test/dyn-drv/build-built-drv/store +(init.sh:16) mkdir /build/nix-test/dyn-drv/build-built-drv/var +(init.sh:17) mkdir -p /build/nix-test/dyn-drv/build-built-drv/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/dyn-drv/build-built-drv/var/nix +(init.sh:19) mkdir /build/nix-test/dyn-drv/build-built-drv/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/dyn-drv/build-built-drv/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:4) requireDaemonNewerThan 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(common.sh:6) enableFeatures 'ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local 'features=ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /build/nix-test/dyn-drv/build-built-drv/etc/nix.conf ++(common.sh:8) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 ++(build-built-drv.sh:15) nix build -f ./text-hashed-output.nix hello --no-link warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/dyn-drv/build-built-drv/store/68s0a4mpzv96gh12p5lm9facam9dzjds-hello.drv building '/build/nix-test/dyn-drv/build-built-drv/store/68s0a4mpzv96gh12p5lm9facam9dzjds-hello.drv'... +(build-built-drv.sh:15) out1= +(build-built-drv.sh:17) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/dyn-drv/build-built-drv/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/dyn-drv/build-built-drv/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/dyn-drv/build-built-drv/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/dyn-drv/build-built-drv/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/dyn-drv/build-built-drv/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/dyn-drv/build-built-drv/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/dyn-drv/build-built-drv/test-home/.local/state/nix/profiles ++(build-built-drv.sh:19) nix-instantiate ./text-hashed-output.nix -A producingDrv warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(build-built-drv.sh:19) drvDep=/build/nix-test/dyn-drv/build-built-drv/store/7gvq08w9mp4s5pbrcc4pwcr7jw881chw-hello.drv.drv +(build-built-drv.sh:21) expectStderr 1 nix build '/build/nix-test/dyn-drv/build-built-drv/store/7gvq08w9mp4s5pbrcc4pwcr7jw881chw-hello.drv.drv^out^out' --no-link +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build '/build/nix-test/dyn-drv/build-built-drv/store/7gvq08w9mp4s5pbrcc4pwcr7jw881chw-hello.drv.drv^out^out' --no-link +(build-built-drv.sh:21) grepQuiet 'Building dynamic derivations in one shot is not yet implemented' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'Building dynamic derivations in one shot is not yet implemented' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ============================================================================== =================================== 21/161 =================================== test: lix:installcheck / functional-dyn-drv-old-daemon-error-hack start time: 20:57:34 duration: 0.15s result: exit status 77 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=91 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py dyn-drv/old-daemon-error-hack.sh ----------------------------------- stdout ----------------------------------- [SKIP] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/dyn-drv/old-daemon-error-hack +(init.sh:7) test -d /build/nix-test/dyn-drv/old-daemon-error-hack +(init.sh:8) chmod -R u+w /build/nix-test/dyn-drv/old-daemon-error-hack +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/dyn-drv/old-daemon-error-hack +(init.sh:13) mkdir /build/nix-test/dyn-drv/old-daemon-error-hack +(init.sh:15) mkdir /build/nix-test/dyn-drv/old-daemon-error-hack/store +(init.sh:16) mkdir /build/nix-test/dyn-drv/old-daemon-error-hack/var +(init.sh:17) mkdir -p /build/nix-test/dyn-drv/old-daemon-error-hack/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/dyn-drv/old-daemon-error-hack/var/nix +(init.sh:19) mkdir /build/nix-test/dyn-drv/old-daemon-error-hack/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/dyn-drv/old-daemon-error-hack/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(../common.sh:8) [[ -n '' ]] +(old-daemon-error-hack.sh:5) isDaemonNewer 2.18.0pre20230906 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(old-daemon-error-hack.sh:5) skipTest 'Daemon is too new' +(/build/source/build/tests/functional/common/vars-and-functions.sh:159) echo 'Daemon is too new, skipping this test...' Daemon is too new, skipping this test... +(/build/source/build/tests/functional/common/vars-and-functions.sh:160) exit 99 ============================================================================== =================================== 22/161 =================================== test: lix:installcheck / functional-dyn-drv-eval-outputOf start time: 20:57:33 duration: 0.54s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=141 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py dyn-drv/eval-outputOf.sh ----------------------------------- stdout ----------------------------------- "" null null null null null [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/dyn-drv/eval-outputOf +(init.sh:7) test -d /build/nix-test/dyn-drv/eval-outputOf +(init.sh:8) chmod -R u+w /build/nix-test/dyn-drv/eval-outputOf +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/dyn-drv/eval-outputOf +(init.sh:13) mkdir /build/nix-test/dyn-drv/eval-outputOf +(init.sh:15) mkdir /build/nix-test/dyn-drv/eval-outputOf/store +(init.sh:16) mkdir /build/nix-test/dyn-drv/eval-outputOf/var +(init.sh:17) mkdir -p /build/nix-test/dyn-drv/eval-outputOf/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/dyn-drv/eval-outputOf/var/nix +(init.sh:19) mkdir /build/nix-test/dyn-drv/eval-outputOf/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/dyn-drv/eval-outputOf/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:4) requireDaemonNewerThan 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(./common.sh:6) enableFeatures 'ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local 'features=ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /build/nix-test/dyn-drv/eval-outputOf/etc/nix.conf ++(./common.sh:8) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(eval-outputOf.sh:6) nix --experimental-features nix-command eval --impure --expr 'assert ! (builtins ? outputOf); ""' warning: you don't have Internet access; disabling some network-dependent features +(eval-outputOf.sh:15) expectStderr 1 nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr 'builtins.outputOf (import ../dependencies.nix {}) "out"' +(eval-outputOf.sh:17) grepQuiet 'expected a string but found a set' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'expected a string but found a set' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr 'builtins.outputOf (import ../dependencies.nix {}) "out"' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(eval-outputOf.sh:22) expectStderr 1 nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr 'builtins.outputOf (import ../dependencies.nix {}).drvPath "out"' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(eval-outputOf.sh:24) grepQuiet 'has a context which refers to a complete source and binary closure. This is not supported at this time' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr 'builtins.outputOf (import ../dependencies.nix {}).drvPath "out"' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has a context which refers to a complete source and binary closure. This is not supported at this time' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(eval-outputOf.sh:41) testStaticHello +(eval-outputOf.sh:28) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let a = hello.outPath; b = builtins.outputOf (builtins.unsafeDiscardOutputDependency hello.drvPath) "out"; in builtins.trace a (builtins.trace b (assert a == b; null))' warning: you don't have Internet access; disabling some network-dependent features trace: /build/nix-test/dyn-drv/eval-outputOf/store/ra897vpdkwbl2cavrif4wrr5qf7fx1b0-hello trace: /build/nix-test/dyn-drv/eval-outputOf/store/ra897vpdkwbl2cavrif4wrr5qf7fx1b0-hello +(eval-outputOf.sh:44) NIX_TESTS_CA_BY_DEFAULT=1 +(eval-outputOf.sh:44) testStaticHello +(eval-outputOf.sh:28) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let a = hello.outPath; b = builtins.outputOf (builtins.unsafeDiscardOutputDependency hello.drvPath) "out"; in builtins.trace a (builtins.trace b (assert a == b; null))' warning: you don't have Internet access; disabling some network-dependent features trace: /1iihhkwlb7lxspw2p4iczbqpc07425zfyafa9w5z6czv805vqy3s trace: /1iihhkwlb7lxspw2p4iczbqpc07425zfyafa9w5z6czv805vqy3s +(eval-outputOf.sh:53) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let a = producingDrv.outPath; b = builtins.outputOf (builtins.builtins.unsafeDiscardOutputDependency producingDrv.drvPath) "out"; in builtins.trace a (builtins.trace b (assert a == b; null))' warning: you don't have Internet access; disabling some network-dependent features trace: /0k4c15la2kjhmi3c6ji02bqidm7p5c5nq7dm0qhi6kpy2qg7ny14 trace: /0k4c15la2kjhmi3c6ji02bqidm7p5c5nq7dm0qhi6kpy2qg7ny14 +(eval-outputOf.sh:77) testDynamicHello +(eval-outputOf.sh:67) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let a = builtins.outputOf producingDrv.outPath "out"; b = builtins.outputOf (builtins.outputOf (builtins.unsafeDiscardOutputDependency producingDrv.drvPath) "out") "out"; in builtins.trace a (builtins.trace b (assert a == b; null))' warning: you don't have Internet access; disabling some network-dependent features trace: /0vhl9p0hdr8kgvcb3k8kq3a2fssybz0jhsplk41hkfaidlim5f7f trace: /0vhl9p0hdr8kgvcb3k8kq3a2fssybz0jhsplk41hkfaidlim5f7f +(eval-outputOf.sh:80) NIX_TESTS_CA_BY_DEFAULT=1 +(eval-outputOf.sh:80) testDynamicHello +(eval-outputOf.sh:67) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let a = builtins.outputOf producingDrv.outPath "out"; b = builtins.outputOf (builtins.outputOf (builtins.unsafeDiscardOutputDependency producingDrv.drvPath) "out") "out"; in builtins.trace a (builtins.trace b (assert a == b; null))' warning: you don't have Internet access; disabling some network-dependent features trace: /120pbnm81d75zj6mgbnsca88ifssfz1n2xy0bky88gpsacjba2jl trace: /120pbnm81d75zj6mgbnsca88ifssfz1n2xy0bky88gpsacjba2jl ============================================================================== =================================== 23/161 =================================== test: lix:installcheck / functional-dyn-drv-dep-built-drv start time: 20:57:33 duration: 0.37s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=114 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py dyn-drv/dep-built-drv.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/dyn-drv/dep-built-drv +(init.sh:7) test -d /build/nix-test/dyn-drv/dep-built-drv +(init.sh:8) chmod -R u+w /build/nix-test/dyn-drv/dep-built-drv +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/dyn-drv/dep-built-drv +(init.sh:13) mkdir /build/nix-test/dyn-drv/dep-built-drv +(init.sh:15) mkdir /build/nix-test/dyn-drv/dep-built-drv/store +(init.sh:16) mkdir /build/nix-test/dyn-drv/dep-built-drv/var +(init.sh:17) mkdir -p /build/nix-test/dyn-drv/dep-built-drv/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/dyn-drv/dep-built-drv/var/nix +(init.sh:19) mkdir /build/nix-test/dyn-drv/dep-built-drv/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/dyn-drv/dep-built-drv/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:4) requireDaemonNewerThan 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.16.0pre20230419 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(common.sh:6) enableFeatures 'ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local 'features=ca-derivations dynamic-derivations' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /build/nix-test/dyn-drv/dep-built-drv/etc/nix.conf ++(common.sh:8) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 ++(dep-built-drv.sh:5) nix-build ./text-hashed-output.nix -A hello --no-out-link this derivation will be built: /build/nix-test/dyn-drv/dep-built-drv/store/b922i9lf6yjlm1qq73g9w976b7w6jmhq-hello.drv building '/build/nix-test/dyn-drv/dep-built-drv/store/b922i9lf6yjlm1qq73g9w976b7w6jmhq-hello.drv'... ++ echo 'Building a CA derivation' Building a CA derivation ++ mkdir -p /build/nix-test/dyn-drv/dep-built-drv/store/0cq0lzmmf8cq3gzwnxa9m9ym2p1867hr-hello ++ echo 'Hello World' +(dep-built-drv.sh:5) out1=/build/nix-test/dyn-drv/dep-built-drv/store/0cq0lzmmf8cq3gzwnxa9m9ym2p1867hr-hello +(dep-built-drv.sh:7) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/dyn-drv/dep-built-drv/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/dyn-drv/dep-built-drv/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/dyn-drv/dep-built-drv/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/dyn-drv/dep-built-drv/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/dyn-drv/dep-built-drv/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/dyn-drv/dep-built-drv/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/dyn-drv/dep-built-drv/test-home/.local/state/nix/profiles +(dep-built-drv.sh:9) expectStderr 1 nix-build ./text-hashed-output.nix -A wrapper --no-out-link +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-build ./text-hashed-output.nix -A wrapper --no-out-link +(dep-built-drv.sh:9) grepQuiet 'Building dynamic derivations in one shot is not yet implemented' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'Building dynamic derivations in one shot is not yet implemented' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ============================================================================== =================================== 24/161 =================================== test: lix:installcheck / functional-flakes-develop-r8854 start time: 20:57:34 duration: 0.47s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=55 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/develop-r8854.sh ----------------------------------- stdout ----------------------------------- clearing store... Initialized empty Git repository in /build/nix-test/flakes/develop-r8854/test-home/t/.git/ clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/develop-r8854 +(init.sh:7) test -d /build/nix-test/flakes/develop-r8854 +(init.sh:8) chmod -R u+w /build/nix-test/flakes/develop-r8854 +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/develop-r8854 +(init.sh:13) mkdir /build/nix-test/flakes/develop-r8854 +(init.sh:15) mkdir /build/nix-test/flakes/develop-r8854/store +(init.sh:16) mkdir /build/nix-test/flakes/develop-r8854/var +(init.sh:17) mkdir -p /build/nix-test/flakes/develop-r8854/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/develop-r8854/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/develop-r8854/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/develop-r8854/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(../common.sh:8) [[ -n '' ]] +(develop-r8854.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/develop-r8854/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/develop-r8854/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/develop-r8854/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/develop-r8854/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/develop-r8854/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/develop-r8854/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/develop-r8854/test-home/.local/state/nix/profiles +(develop-r8854.sh:6) rm -rf /build/nix-test/flakes/develop-r8854/test-home/.cache /build/nix-test/flakes/develop-r8854/test-home/.config /build/nix-test/flakes/develop-r8854/test-home/.local +(develop-r8854.sh:9) mkdir -p /build/nix-test/flakes/develop-r8854/test-home/t +(develop-r8854.sh:10) cp ../shell-hello.nix ../config.nix /build/nix-test/flakes/develop-r8854/test-home/t +(develop-r8854.sh:11) cat +(develop-r8854.sh:26) mkdir -p /build/nix-test/flakes/develop-r8854/test-home/nixpkgs +(develop-r8854.sh:27) cp ../config.nix ../shell.nix /build/nix-test/flakes/develop-r8854/test-home/nixpkgs +(develop-r8854.sh:28) cat +(develop-r8854.sh:36) cd /build/nix-test/flakes/develop-r8854/test-home/t +(develop-r8854.sh:38) git init . hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(develop-r8854.sh:39) echo flake.lock +(develop-r8854.sh:40) git add config.nix shell-hello.nix flake.nix .gitignore +(develop-r8854.sh:43) nix develop .#hello warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/develop-r8854/test-home/t' warning: Git tree '/build/nix-test/flakes/develop-r8854/test-home/t' is dirty fetching path input 'path:/build/nix-test/flakes/develop-r8854/test-home/nixpkgs' warning: creating lock file '/build/nix-test/flakes/develop-r8854/test-home/t/flake.lock': • Added input 'nixpkgs': 'path:/build/nix-test/flakes/develop-r8854/test-home/nixpkgs?lastModified=1725915454&narHash=sha256-cW6NRZT3KIkLf1JKYw%2BKusnJhUKAS8bD0bi0VtFkGu8%3D' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/develop-r8854/test-home/t' warning: Git tree '/build/nix-test/flakes/develop-r8854/test-home/t' is dirty building '/build/nix-test/flakes/develop-r8854/store/nnwxri3q08s7zamsrvpg44dv5ah24vd5-hello-env.drv'... these 2 derivations will be built: /build/nix-test/flakes/develop-r8854/store/ldffjs2a1qbw824vvpgd97l6g9lg8yy4-stdenv.drv /build/nix-test/flakes/develop-r8854/store/xp2bd9wx5dkzwc1k282p1jnmbc97nf62-bash.drv building '/build/nix-test/flakes/develop-r8854/store/ldffjs2a1qbw824vvpgd97l6g9lg8yy4-stdenv.drv'... building '/build/nix-test/flakes/develop-r8854/store/xp2bd9wx5dkzwc1k282p1jnmbc97nf62-bash.drv'... +(develop-r8854.sh:45) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/develop-r8854/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/develop-r8854/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/develop-r8854/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/develop-r8854/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/develop-r8854/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/develop-r8854/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/develop-r8854/test-home/.local/state/nix/profiles ============================================================================== =================================== 25/161 =================================== test: lix:installcheck / functional-flakes-develop start time: 20:57:34 duration: 0.59s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=198 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/develop.sh ----------------------------------- stdout ----------------------------------- clearing store... clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/develop +(init.sh:7) test -d /build/nix-test/flakes/develop +(init.sh:8) chmod -R u+w /build/nix-test/flakes/develop +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/develop +(init.sh:13) mkdir /build/nix-test/flakes/develop +(init.sh:15) mkdir /build/nix-test/flakes/develop/store +(init.sh:16) mkdir /build/nix-test/flakes/develop/var +(init.sh:17) mkdir -p /build/nix-test/flakes/develop/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/develop/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/develop/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/develop/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(../common.sh:8) [[ -n '' ]] +(develop.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/develop/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/develop/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/develop/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/develop/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/develop/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/develop/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/develop/test-home/.local/state/nix/profiles +(develop.sh:4) rm -rf /build/nix-test/flakes/develop/test-home/.cache /build/nix-test/flakes/develop/test-home/.config /build/nix-test/flakes/develop/test-home/.local +(develop.sh:7) cp ../shell-hello.nix ../config.nix /build/nix-test/flakes/develop/test-home/ +(develop.sh:8) cat +(develop.sh:23) mkdir -p /build/nix-test/flakes/develop/test-home/nixpkgs +(develop.sh:24) cp ../config.nix ../shell.nix /build/nix-test/flakes/develop/test-home/nixpkgs +(develop.sh:25) cat +(develop.sh:33) cd /build/nix-test/flakes/develop/test-home ++(develop.sh:40) ENVVAR=a ++(develop.sh:40) nix develop --no-write-lock-file .#hello warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/develop/test-home' fetching path input 'path:/build/nix-test/flakes/develop/test-home/nixpkgs' warning: not writing modified lock file of flake 'path:/build/nix-test/flakes/develop/test-home': • Added input 'nixpkgs': 'path:/build/nix-test/flakes/develop/test-home/nixpkgs?lastModified=1725915454&narHash=sha256-cW6NRZT3KIkLf1JKYw%2BKusnJhUKAS8bD0bi0VtFkGu8%3D' (2024-09-09) building '/build/nix-test/flakes/develop/store/dy1770dgjx49ac92fvwwk24hidi0z63i-hello-env.drv'... these 2 derivations will be built: /build/nix-test/flakes/develop/store/9g4c4a8hxr0s53gaz21z37x1wp9p3b34-stdenv.drv /build/nix-test/flakes/develop/store/plcnqil0pwziz32b6bv7c5n353yw5ah8-bash.drv building '/build/nix-test/flakes/develop/store/9g4c4a8hxr0s53gaz21z37x1wp9p3b34-stdenv.drv'... building '/build/nix-test/flakes/develop/store/plcnqil0pwziz32b6bv7c5n353yw5ah8-bash.drv'... +(develop.sh:40) [[ a = \a ]] ++(develop.sh:47) ENVVAR=a ++(develop.sh:47) nix develop --ignore-environment --no-write-lock-file .#hello warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/develop/test-home' fetching path input 'path:/build/nix-test/flakes/develop/test-home/nixpkgs' warning: not writing modified lock file of flake 'path:/build/nix-test/flakes/develop/test-home': • Added input 'nixpkgs': 'path:/build/nix-test/flakes/develop/test-home/nixpkgs?lastModified=1725915454&narHash=sha256-cW6NRZT3KIkLf1JKYw%2BKusnJhUKAS8bD0bi0VtFkGu8%3D' (2024-09-09) +(develop.sh:47) [[ -z '' ]] +(develop.sh:50) nix build --no-write-lock-file ./nixpkgs#bashInteractive --out-link ./bash-interactive warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/develop/test-home/nixpkgs' +(develop.sh:51) BASH_INTERACTIVE_EXECUTABLE=/build/nix-test/flakes/develop/test-home/bash-interactive/bin/bash ++(develop.sh:58) SHELL=custom ++(develop.sh:58) nix develop --no-write-lock-file .#hello warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/develop/test-home' fetching path input 'path:/build/nix-test/flakes/develop/test-home/nixpkgs' warning: not writing modified lock file of flake 'path:/build/nix-test/flakes/develop/test-home': • Added input 'nixpkgs': 'path:/build/nix-test/flakes/develop/test-home/nixpkgs?lastModified=1725915454&narHash=sha256-cW6NRZT3KIkLf1JKYw%2BKusnJhUKAS8bD0bi0VtFkGu8%3D' (2024-09-09) +(develop.sh:58) [[ /build/nix-test/flakes/develop/store/dxwhn3n9qq7b0234a27la2crvxsiq8pj-bash/bin/bash -ef /build/nix-test/flakes/develop/test-home/bash-interactive/bin/bash ]] ++(develop.sh:65) SHELL=custom ++(develop.sh:65) nix develop --ignore-environment --no-write-lock-file .#hello warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/develop/test-home' fetching path input 'path:/build/nix-test/flakes/develop/test-home/nixpkgs' warning: not writing modified lock file of flake 'path:/build/nix-test/flakes/develop/test-home': • Added input 'nixpkgs': 'path:/build/nix-test/flakes/develop/test-home/nixpkgs?lastModified=1725915454&narHash=sha256-cW6NRZT3KIkLf1JKYw%2BKusnJhUKAS8bD0bi0VtFkGu8%3D' (2024-09-09) +(develop.sh:65) [[ /build/nix-test/flakes/develop/store/dxwhn3n9qq7b0234a27la2crvxsiq8pj-bash/bin/bash -ef /build/nix-test/flakes/develop/test-home/bash-interactive/bin/bash ]] +(develop.sh:67) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/develop/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/develop/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/develop/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/develop/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/develop/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/develop/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/develop/test-home/.local/state/nix/profiles ============================================================================== =================================== 26/161 =================================== test: lix:installcheck / functional-flakes-run start time: 20:57:34 duration: 0.46s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=18 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/run.sh ----------------------------------- stdout ----------------------------------- clearing store... Hello World from /build/nix-test/flakes/run/store/ncvf9a0ddjr6ighasp3n6k423qg5d0iy-hello/bin/hello Hello World from /build/nix-test/flakes/run/store/ncvf9a0ddjr6ighasp3n6k423qg5d0iy-hello/bin/hello clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/run +(init.sh:7) test -d /build/nix-test/flakes/run +(init.sh:8) chmod -R u+w /build/nix-test/flakes/run +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/run +(init.sh:13) mkdir /build/nix-test/flakes/run +(init.sh:15) mkdir /build/nix-test/flakes/run/store +(init.sh:16) mkdir /build/nix-test/flakes/run/var +(init.sh:17) mkdir -p /build/nix-test/flakes/run/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/run/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/run/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/run/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(../common.sh:8) [[ -n '' ]] +(run.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/run/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/run/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/run/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/run/test-home/.local/state/nix/profiles +(run.sh:4) rm -rf /build/nix-test/flakes/run/test-home/.cache /build/nix-test/flakes/run/test-home/.config /build/nix-test/flakes/run/test-home/.local +(run.sh:5) cp ../shell-hello.nix ../config.nix /build/nix-test/flakes/run/test-home +(run.sh:6) cd /build/nix-test/flakes/run/test-home +(run.sh:8) cat +(run.sh:22) nix run --no-write-lock-file .#appAsApp warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/run/test-home' this derivation will be built: /build/nix-test/flakes/run/store/v65vi3452nz6lassrcpqpf9gimnyw453-hello.drv building '/build/nix-test/flakes/run/store/v65vi3452nz6lassrcpqpf9gimnyw453-hello.drv'... +(run.sh:23) nix run --no-write-lock-file .#pkgAsPkg warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/run/test-home' +(run.sh:25) nix run --no-write-lock-file .#pkgAsApp warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/run/test-home' error: attribute 'apps.x86_64-linux.pkgAsApp' should have type 'app' +(run.sh:26) nix run --no-write-lock-file .#appAsPkg warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/run/test-home' error: flake 'path:/build/nix-test/flakes/run/test-home' does not provide attribute 'apps.x86_64-linux.appAsPkg', 'packages.x86_64-linux.appAsPkg', 'legacyPackages.x86_64-linux.appAsPkg' or 'appAsPkg' +(run.sh:28) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/run/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/run/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/run/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/run/test-home/.local/state/nix/profiles ============================================================================== =================================== 27/161 =================================== test: lix:installcheck / functional-ca-nix-copy start time: 20:57:31 duration: 3.72s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=107 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/nix-copy.sh ----------------------------------- stdout ----------------------------------- clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/nix-copy +(init.sh:7) test -d /build/nix-test/ca/nix-copy +(init.sh:8) chmod -R u+w /build/nix-test/ca/nix-copy +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/nix-copy +(init.sh:13) mkdir /build/nix-test/ca/nix-copy +(init.sh:15) mkdir /build/nix-test/ca/nix-copy/store +(init.sh:16) mkdir /build/nix-test/ca/nix-copy/var +(init.sh:17) mkdir -p /build/nix-test/ca/nix-copy/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/nix-copy/var/nix +(init.sh:19) mkdir /build/nix-test/ca/nix-copy/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/nix-copy/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/nix-copy/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(nix-copy.sh:5) export REMOTE_STORE_DIR=/build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:5) REMOTE_STORE_DIR=/build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:6) export REMOTE_STORE=file:///build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:6) REMOTE_STORE=file:///build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(nix-copy.sh:30) testOneCopy rootCA +(nix-copy.sh:14) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:15) rm -rf /build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:17) attrPath=rootCA +(nix-copy.sh:18) nix copy --to file:///build/nix-test/ca/nix-copy/remote_store rootCA --file ./content-addressed.nix warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv /build/nix-test/ca/nix-copy/store/pkw3hbcx00hm9s4yp8wnwhlxvknnk8j0-rootCA.drv building '/build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv'... building '/build/nix-test/ca/nix-copy/store/kkk87rcmhd641sjgwcg5mxv0rf6qszm0-rootCA.drv'... copying 4 paths... copying path '/build/nix-test/ca/nix-copy/store/rqph81q4gq21yihjsfy5yjn631bzlpxc-simple-input-addressed' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/xm3srhg3h9ikwblq1g2mil30am2w77w0-rootCA' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/s5yjnvch0sx50xch2h9c45aa78wmym4h-rootCA-dev' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/wj9fb97nf461iqvsrqxsl7cbarghcyxf-rootCA-foo' to 'file:///build/nix-test/ca/nix-copy/remote_store'... +(nix-copy.sh:20) ensureCorrectlyCopied rootCA +(nix-copy.sh:9) attrPath=rootCA +(nix-copy.sh:10) nix build --store file:///build/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix rootCA warning: you don't have Internet access; disabling some network-dependent features +(nix-copy.sh:23) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:24) nix copy --from file:///build/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix rootCA --no-check-sigs warning: you don't have Internet access; disabling some network-dependent features copying 4 paths... copying path '/build/nix-test/ca/nix-copy/store/rqph81q4gq21yihjsfy5yjn631bzlpxc-simple-input-addressed' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/xm3srhg3h9ikwblq1g2mil30am2w77w0-rootCA' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/s5yjnvch0sx50xch2h9c45aa78wmym4h-rootCA-dev' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/wj9fb97nf461iqvsrqxsl7cbarghcyxf-rootCA-foo' from 'file:///build/nix-test/ca/nix-copy/remote_store'... +(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(nix-copy.sh:30) testOneCopy dependentCA +(nix-copy.sh:14) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:15) rm -rf /build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:17) attrPath=dependentCA +(nix-copy.sh:18) nix copy --to file:///build/nix-test/ca/nix-copy/remote_store dependentCA --file ./content-addressed.nix warning: you don't have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv /build/nix-test/ca/nix-copy/store/pkw3hbcx00hm9s4yp8wnwhlxvknnk8j0-rootCA.drv /build/nix-test/ca/nix-copy/store/7i70c2rd24adzlvbliim28vpngkp1x89-dependent.drv building '/build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv'... building '/build/nix-test/ca/nix-copy/store/kkk87rcmhd641sjgwcg5mxv0rf6qszm0-rootCA.drv'... building '/build/nix-test/ca/nix-copy/store/fzpiglqnqzq6hbwnhr4l9kci1d23xw9k-dependent.drv'... copying 3 paths... copying path '/build/nix-test/ca/nix-copy/store/rqph81q4gq21yihjsfy5yjn631bzlpxc-simple-input-addressed' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/xm3srhg3h9ikwblq1g2mil30am2w77w0-rootCA' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/cs23vjp9g3lsgyx0sywjp8wxpyh5rhkr-dependent' to 'file:///build/nix-test/ca/nix-copy/remote_store'... +(nix-copy.sh:20) ensureCorrectlyCopied dependentCA +(nix-copy.sh:9) attrPath=dependentCA +(nix-copy.sh:10) nix build --store file:///build/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentCA warning: you don't have Internet access; disabling some network-dependent features +(nix-copy.sh:23) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:24) nix copy --from file:///build/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentCA --no-check-sigs warning: you don't have Internet access; disabling some network-dependent features copying 3 paths... copying path '/build/nix-test/ca/nix-copy/store/rqph81q4gq21yihjsfy5yjn631bzlpxc-simple-input-addressed' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/xm3srhg3h9ikwblq1g2mil30am2w77w0-rootCA' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/cs23vjp9g3lsgyx0sywjp8wxpyh5rhkr-dependent' from 'file:///build/nix-test/ca/nix-copy/remote_store'... +(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(nix-copy.sh:30) testOneCopy transitivelyDependentCA +(nix-copy.sh:14) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:15) rm -rf /build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:17) attrPath=transitivelyDependentCA +(nix-copy.sh:18) nix copy --to file:///build/nix-test/ca/nix-copy/remote_store transitivelyDependentCA --file ./content-addressed.nix warning: you don't have Internet access; disabling some network-dependent features these 4 derivations will be built: /build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv /build/nix-test/ca/nix-copy/store/pkw3hbcx00hm9s4yp8wnwhlxvknnk8j0-rootCA.drv /build/nix-test/ca/nix-copy/store/7i70c2rd24adzlvbliim28vpngkp1x89-dependent.drv /build/nix-test/ca/nix-copy/store/r4ywc27qha444p5k4axvhnqp80657yqn-transitively-dependent.drv building '/build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv'... building '/build/nix-test/ca/nix-copy/store/kkk87rcmhd641sjgwcg5mxv0rf6qszm0-rootCA.drv'... building '/build/nix-test/ca/nix-copy/store/fzpiglqnqzq6hbwnhr4l9kci1d23xw9k-dependent.drv'... building '/build/nix-test/ca/nix-copy/store/jirszpb266g5pi391lb0r1p6affxhvcw-transitively-dependent.drv'... copying 4 paths... copying path '/build/nix-test/ca/nix-copy/store/rqph81q4gq21yihjsfy5yjn631bzlpxc-simple-input-addressed' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/xm3srhg3h9ikwblq1g2mil30am2w77w0-rootCA' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/cs23vjp9g3lsgyx0sywjp8wxpyh5rhkr-dependent' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/gmnyf7awd5hm5ksg6b0f86bmbacl5dqd-transitively-dependent' to 'file:///build/nix-test/ca/nix-copy/remote_store'... +(nix-copy.sh:20) ensureCorrectlyCopied transitivelyDependentCA +(nix-copy.sh:9) attrPath=transitivelyDependentCA +(nix-copy.sh:10) nix build --store file:///build/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix transitivelyDependentCA warning: you don't have Internet access; disabling some network-dependent features +(nix-copy.sh:23) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:24) nix copy --from file:///build/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix transitivelyDependentCA --no-check-sigs warning: you don't have Internet access; disabling some network-dependent features copying 4 paths... copying path '/build/nix-test/ca/nix-copy/store/rqph81q4gq21yihjsfy5yjn631bzlpxc-simple-input-addressed' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/xm3srhg3h9ikwblq1g2mil30am2w77w0-rootCA' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/cs23vjp9g3lsgyx0sywjp8wxpyh5rhkr-dependent' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/gmnyf7awd5hm5ksg6b0f86bmbacl5dqd-transitively-dependent' from 'file:///build/nix-test/ca/nix-copy/remote_store'... +(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(nix-copy.sh:30) testOneCopy dependentNonCA +(nix-copy.sh:14) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:15) rm -rf /build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:17) attrPath=dependentNonCA +(nix-copy.sh:18) nix copy --to file:///build/nix-test/ca/nix-copy/remote_store dependentNonCA --file ./content-addressed.nix warning: you don't have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv /build/nix-test/ca/nix-copy/store/pkw3hbcx00hm9s4yp8wnwhlxvknnk8j0-rootCA.drv /build/nix-test/ca/nix-copy/store/cqrn4lvasp80g59b71akbwiyb48x8jn4-dependent-non-ca.drv building '/build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv'... building '/build/nix-test/ca/nix-copy/store/kkk87rcmhd641sjgwcg5mxv0rf6qszm0-rootCA.drv'... building '/build/nix-test/ca/nix-copy/store/7dhcd99vil319n0iash50mj5ailfi4qf-dependent-non-ca.drv'... copying 3 paths... copying path '/build/nix-test/ca/nix-copy/store/rqph81q4gq21yihjsfy5yjn631bzlpxc-simple-input-addressed' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/xm3srhg3h9ikwblq1g2mil30am2w77w0-rootCA' to 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/asj9a5alpy3rk6hn03znfpls12llskay-dependent-non-ca' to 'file:///build/nix-test/ca/nix-copy/remote_store'... +(nix-copy.sh:20) ensureCorrectlyCopied dependentNonCA +(nix-copy.sh:9) attrPath=dependentNonCA +(nix-copy.sh:10) nix build --store file:///build/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentNonCA warning: you don't have Internet access; disabling some network-dependent features +(nix-copy.sh:23) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:24) nix copy --from file:///build/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentNonCA --no-check-sigs warning: you don't have Internet access; disabling some network-dependent features copying 3 paths... copying path '/build/nix-test/ca/nix-copy/store/rqph81q4gq21yihjsfy5yjn631bzlpxc-simple-input-addressed' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/xm3srhg3h9ikwblq1g2mil30am2w77w0-rootCA' from 'file:///build/nix-test/ca/nix-copy/remote_store'... copying path '/build/nix-test/ca/nix-copy/store/asj9a5alpy3rk6hn03znfpls12llskay-dependent-non-ca' from 'file:///build/nix-test/ca/nix-copy/remote_store'... +(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(nix-copy.sh:30) testOneCopy dependentFixedOutput +(nix-copy.sh:14) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/nix-copy/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/nix-copy/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles +(nix-copy.sh:15) rm -rf /build/nix-test/ca/nix-copy/remote_store +(nix-copy.sh:17) attrPath=dependentFixedOutput +(nix-copy.sh:18) nix copy --to file:///build/nix-test/ca/nix-copy/remote_store dependentFixedOutput --file ./content-addressed.nix warning: you don't have Internet access; disabling some network-dependent features these 4 derivations will be built: /build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv /build/nix-test/ca/nix-copy/store/pkw3hbcx00hm9s4yp8wnwhlxvknnk8j0-rootCA.drv /build/nix-test/ca/nix-copy/store/7i70c2rd24adzlvbliim28vpngkp1x89-dependent.drv /build/nix-test/ca/nix-copy/store/mckz7734mbciaa6qhs921bd2c13krw57-dependent-fixed-output.drv building '/build/nix-test/ca/nix-copy/store/v8q5vjyrk6pyjqbxkmaf2ppqwac66c5s-simple-input-addressed.drv'... building '/build/nix-test/ca/nix-copy/store/kkk87rcmhd641sjgwcg5mxv0rf6qszm0-rootCA.drv'... building '/build/nix-test/ca/nix-copy/store/fzpiglqnqzq6hbwnhr4l9kci1d23xw9k-dependent.drv'... building '/build/nix-test/ca/nix-copy/store/glym3w3lrc8wzqrnlv3s3hmw18r1ifj9-dependent-fixed-output.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/nix-copy/store/3cjla6sjb4c18np05v06hj7mqnb7v9fx-dependent-fixed-output': Permission denied ============================================================================== =================================== 28/161 =================================== test: lix:installcheck / functional-flakes-circular start time: 20:57:34 duration: 0.57s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=189 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/circular.sh ----------------------------------- stdout ----------------------------------- Initialized empty Git repository in /build/nix-test/flakes/circular/flakeA/.git/ Initialized empty Git repository in /build/nix-test/flakes/circular/flakeB/.git/ [master (root-commit) 7819e20] Foo 1 file changed, 7 insertions(+) create mode 100644 flake.nix [master 6683a15] Foo 1 file changed, 1 insertion(+), 1 deletion(-) Resolved URL: git+file:///build/nix-test/flakes/circular/flakeA Locked URL: git+file:///build/nix-test/flakes/circular/flakeA Path: /build/nix-test/flakes/circular/store/pab87gxrnbsm6ja49idb5sy4w7wy28ry-source Last modified: 1970-01-01 00:00:00 Inputs: └───b: git+file:///build/nix-test/flakes/circular/flakeB?ref=refs/heads/master&rev=6683a157ff9783798a3f7cbabf29ddc9a787fee9 Last modified: 2024-09-09 20:57:35 └───a follows input '' [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/circular +(init.sh:7) test -d /build/nix-test/flakes/circular +(init.sh:8) chmod -R u+w /build/nix-test/flakes/circular +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/circular +(init.sh:13) mkdir /build/nix-test/flakes/circular +(init.sh:15) mkdir /build/nix-test/flakes/circular/store +(init.sh:16) mkdir /build/nix-test/flakes/circular/var +(init.sh:17) mkdir -p /build/nix-test/flakes/circular/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/circular/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/circular/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/circular/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/circular/registry.json +(circular.sh:4) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(circular.sh:6) flakeA=/build/nix-test/flakes/circular/flakeA +(circular.sh:7) flakeB=/build/nix-test/flakes/circular/flakeB +(circular.sh:9) createGitRepo /build/nix-test/flakes/circular/flakeA +(./common.sh:61) local repo=/build/nix-test/flakes/circular/flakeA +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/circular/flakeA /build/nix-test/flakes/circular/flakeA.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/circular/flakeA +(./common.sh:67) git -C /build/nix-test/flakes/circular/flakeA init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/circular/flakeA config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/circular/flakeA config user.name Foobar +(circular.sh:10) createGitRepo /build/nix-test/flakes/circular/flakeB +(./common.sh:61) local repo=/build/nix-test/flakes/circular/flakeB +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/circular/flakeB /build/nix-test/flakes/circular/flakeB.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/circular/flakeB +(./common.sh:67) git -C /build/nix-test/flakes/circular/flakeB init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/circular/flakeB config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/circular/flakeB config user.name Foobar +(circular.sh:12) cat +(circular.sh:24) git -C /build/nix-test/flakes/circular/flakeA add flake.nix +(circular.sh:26) cat +(circular.sh:36) git -C /build/nix-test/flakes/circular/flakeB add flake.nix +(circular.sh:37) git -C /build/nix-test/flakes/circular/flakeB commit -a -m Foo ++(circular.sh:39) nix eval /build/nix-test/flakes/circular/flakeA#foo warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/circular/flakeA' warning: Git tree '/build/nix-test/flakes/circular/flakeA' is dirty fetching git input 'git+file:///build/nix-test/flakes/circular/flakeB' warning: creating lock file '/build/nix-test/flakes/circular/flakeA/flake.lock': • Added input 'b': 'git+file:///build/nix-test/flakes/circular/flakeB?ref=refs/heads/master&rev=7819e20f1e2e78d4e7823cede6f4f0ec09824b76' (2024-09-09) • Added input 'b/a': follows '' fetching git input 'git+file:///build/nix-test/flakes/circular/flakeA' warning: Git tree '/build/nix-test/flakes/circular/flakeA' is dirty +(circular.sh:39) [[ 1579 = 1579 ]] ++(circular.sh:40) nix eval /build/nix-test/flakes/circular/flakeA#foo warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/circular/flakeA' warning: Git tree '/build/nix-test/flakes/circular/flakeA' is dirty +(circular.sh:40) [[ 1579 = 1579 ]] +(circular.sh:42) sed -i /build/nix-test/flakes/circular/flakeB/flake.nix -e s/456/789/ +(circular.sh:43) git -C /build/nix-test/flakes/circular/flakeB commit -a -m Foo +(circular.sh:45) nix flake update b --flake /build/nix-test/flakes/circular/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/circular/flakeA' warning: Git tree '/build/nix-test/flakes/circular/flakeA' is dirty fetching git input 'git+file:///build/nix-test/flakes/circular/flakeB' warning: updating lock file '/build/nix-test/flakes/circular/flakeA/flake.lock': • Updated input 'b': 'git+file:///build/nix-test/flakes/circular/flakeB?ref=refs/heads/master&rev=7819e20f1e2e78d4e7823cede6f4f0ec09824b76' (2024-09-09) → 'git+file:///build/nix-test/flakes/circular/flakeB?ref=refs/heads/master&rev=6683a157ff9783798a3f7cbabf29ddc9a787fee9' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/circular/flakeA' warning: Git tree '/build/nix-test/flakes/circular/flakeA' is dirty ++(circular.sh:46) nix eval /build/nix-test/flakes/circular/flakeA#foo warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/circular/flakeA' warning: Git tree '/build/nix-test/flakes/circular/flakeA' is dirty +(circular.sh:46) [[ 1912 = 1912 ]] +(circular.sh:49) nix flake metadata /build/nix-test/flakes/circular/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/circular/flakeA' warning: Git tree '/build/nix-test/flakes/circular/flakeA' is dirty ============================================================================== =================================== 29/161 =================================== test: lix:installcheck / functional-flakes-inputs start time: 20:57:34 duration: 0.45s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=51 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/inputs.sh ----------------------------------- stdout ----------------------------------- Initialized empty Git repository in /build/nix-test/flakes/inputs/repo-26625/.git/ [master (root-commit) 66252af] init 5 files changed, 61 insertions(+) create mode 100644 b-low/config.nix create mode 100644 b-low/flake.nix create mode 100644 b-low/message create mode 100644 b-low/simple.builder.sh create mode 100644 b-low/simple.nix [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/inputs +(init.sh:7) test -d /build/nix-test/flakes/inputs +(init.sh:8) chmod -R u+w /build/nix-test/flakes/inputs +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/inputs +(init.sh:13) mkdir /build/nix-test/flakes/inputs +(init.sh:15) mkdir /build/nix-test/flakes/inputs/store +(init.sh:16) mkdir /build/nix-test/flakes/inputs/var +(init.sh:17) mkdir -p /build/nix-test/flakes/inputs/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/inputs/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/inputs/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/inputs/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/inputs/registry.json +(inputs.sh:3) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(inputs.sh:30) test_subdir_self_path +(inputs.sh:7) baseDir=/build/nix-test/flakes/inputs/6941 +(inputs.sh:8) flakeDir=/build/nix-test/flakes/inputs/6941/b-low +(inputs.sh:9) mkdir -p /build/nix-test/flakes/inputs/6941/b-low +(inputs.sh:10) writeSimpleFlake /build/nix-test/flakes/inputs/6941 +(./common.sh:6) local flakeDir=/build/nix-test/flakes/inputs/6941 +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/inputs/6941/ +(inputs.sh:11) writeSimpleFlake /build/nix-test/flakes/inputs/6941/b-low +(./common.sh:6) local flakeDir=/build/nix-test/flakes/inputs/6941/b-low +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/inputs/6941/b-low/ +(inputs.sh:13) echo all good +(inputs.sh:14) cat +(inputs.sh:27) nix build '/build/nix-test/flakes/inputs/6941?dir=b-low' --no-link warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/inputs/6941' this derivation will be built: /build/nix-test/flakes/inputs/store/g0h6rqj2a34mnni908rach0ysscim76h-simple.drv building '/build/nix-test/flakes/inputs/store/g0h6rqj2a34mnni908rach0ysscim76h-simple.drv'... +(inputs.sh:80) test_git_subdir_self_path +(inputs.sh:34) repoDir=/build/nix-test/flakes/inputs/repo-26625 +(inputs.sh:35) createGitRepo /build/nix-test/flakes/inputs/repo-26625 +(./common.sh:61) local repo=/build/nix-test/flakes/inputs/repo-26625 +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/inputs/repo-26625 /build/nix-test/flakes/inputs/repo-26625.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/inputs/repo-26625 +(./common.sh:67) git -C /build/nix-test/flakes/inputs/repo-26625 init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/inputs/repo-26625 config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/inputs/repo-26625 config user.name Foobar +(inputs.sh:36) flakeDir=/build/nix-test/flakes/inputs/repo-26625/b-low +(inputs.sh:37) mkdir -p /build/nix-test/flakes/inputs/repo-26625/b-low +(inputs.sh:38) writeSimpleFlake /build/nix-test/flakes/inputs/repo-26625 +(./common.sh:6) local flakeDir=/build/nix-test/flakes/inputs/repo-26625 +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/inputs/repo-26625/ +(inputs.sh:39) writeSimpleFlake /build/nix-test/flakes/inputs/repo-26625/b-low +(./common.sh:6) local flakeDir=/build/nix-test/flakes/inputs/repo-26625/b-low +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/inputs/repo-26625/b-low/ +(inputs.sh:41) echo all good +(inputs.sh:42) cat +(inputs.sh:56) cd /build/nix-test/flakes/inputs/repo-26625/b-low +(inputs.sh:57) git add . +(inputs.sh:58) git commit -m init +(inputs.sh:62) clientDir=/build/nix-test/flakes/inputs/client-23812 +(inputs.sh:63) mkdir -p /build/nix-test/flakes/inputs/client-23812 +(inputs.sh:64) cat +(inputs.sh:77) nix build /build/nix-test/flakes/inputs/client-23812 --no-link warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/inputs/client-23812' fetching git input 'git+file:///build/nix-test/flakes/inputs/repo-26625' warning: creating lock file '/build/nix-test/flakes/inputs/client-23812/flake.lock': • Added input 'inp': 'git+file:///build/nix-test/flakes/inputs/repo-26625?dir=b-low&ref=refs/heads/master&rev=66252af56fda443fb4f8bf1cf2a2bfcd73e40a17' (2024-09-09) fetching path input 'path:/build/nix-test/flakes/inputs/client-23812' ============================================================================== =================================== 30/161 =================================== test: lix:installcheck / functional-ca-repl start time: 20:57:32 duration: 3.42s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=110 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/repl.sh ----------------------------------- stdout ----------------------------------- This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH= /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH= warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'... error: builder for '/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv' failed with exit code 1; last 1 log lines: > This should fail For full logs, run 'nix log /build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'. got build log for '/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv' from 'local' This should fail warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the 'import' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '/build/source/build/tests/functional/undefined-variable.nix': … while calling the 'import' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable 'asd' at /build/nix-test/ca/repl/store/anm8gi4n6ik35zicsv8xfdbl7i1rl5s7-test-file.nix:1:1: 1| asd | ^ error: attribute 'currentSystem' missing "x86_64-linux" This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH= /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH= warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'... error: builder for '/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv' failed with exit code 1; last 1 log lines: > This should fail For full logs, run 'nix log /build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'. got build log for '/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv' from 'local' This should fail warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the 'import' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '/build/source/build/tests/functional/undefined-variable.nix': … while calling the 'import' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable 'asd' at /build/nix-test/ca/repl/store/anm8gi4n6ik35zicsv8xfdbl7i1rl5s7-test-file.nix:1:1: 1| asd | ^ error: attribute 'currentSystem' missing "x86_64-linux" [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/repl +(init.sh:7) test -d /build/nix-test/ca/repl +(init.sh:8) chmod -R u+w /build/nix-test/ca/repl +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/repl +(init.sh:13) mkdir /build/nix-test/ca/repl +(init.sh:15) mkdir /build/nix-test/ca/repl/store +(init.sh:16) mkdir /build/nix-test/ca/repl/var +(init.sh:17) mkdir -p /build/nix-test/ca/repl/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/repl/var/nix +(init.sh:19) mkdir /build/nix-test/ca/repl/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/repl/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/repl/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(repl.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1 +(repl.sh:3) NIX_TESTS_CA_BY_DEFAULT=1 +(repl.sh:5) cd .. +(repl.sh:5) source repl.sh ++(repl.sh:1) source common.sh +++(common.sh:1) set -eu -o pipefail +++(common.sh:3) [[ -z 1 ]] ++(repl.sh:3) testDir=/build/source/build/tests/functional ++(repl.sh:4) cd /build/nix-test/ca/repl ++(repl.sh:11) replCmds=' simple = 1 simple = import /build/source/build/tests/functional/simple.nix :bl simple :log simple ' ++(repl.sh:17) replFailingCmds=' failing = import /build/source/build/tests/functional/simple-failing.nix :b failing :log failing ' ++(repl.sh:21) replUndefinedVariable=' import /build/source/build/tests/functional/undefined-variable.nix ' ++(repl.sh:53) testRepl ++(repl.sh:24) nixArgs=() ++(repl.sh:24) local nixArgs ++(repl.sh:25) rm -rf repl-result-out +++(repl.sh:26) nix repl warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv'... got build log for '/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv' from 'local' ++(repl.sh:26) local 'replOutput= This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH=' ++(repl.sh:27) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH=' +++(repl.sh:29) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH=' +++(repl.sh:29) grep -o -E '/build/nix-test/ca/repl/store/\w*-simple' ++(repl.sh:29) local outPath=/build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple ++(repl.sh:30) nix path-info /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple warning: you don't have Internet access; disabling some network-dependent features +++(repl.sh:31) realpath ./repl-result-out ++(repl.sh:31) '[' /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple == /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple ']' ++(repl.sh:33) nix repl warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. got build log for '/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv' from 'local' ++(repl.sh:36) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH=' ++(repl.sh:36) grepQuiet -s PATH= ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s PATH= +++(repl.sh:37) nix repl ++(repl.sh:37) local 'replOutput=warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''... error: builder for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''. got build log for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' from '\''local'\'' This should fail' ++(repl.sh:38) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''... error: builder for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''. got build log for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' from '\''local'\'' This should fail' ++(repl.sh:39) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''... error: builder for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''. got build log for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' from '\''local'\'' This should fail' ++(repl.sh:39) grepQuiet -s 'This should fail' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s 'This should fail' +++(repl.sh:41) nix repl --show-trace ++(repl.sh:41) local 'replOutput=warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/ca/repl/store/anm8gi4n6ik35zicsv8xfdbl7i1rl5s7-test-file.nix:1:1: 1| asd | ^' ++(repl.sh:42) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/ca/repl/store/anm8gi4n6ik35zicsv8xfdbl7i1rl5s7-test-file.nix:1:1: 1| asd | ^' ++(repl.sh:43) grepQuiet -s 'while evaluating the file' ++(repl.sh:43) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/ca/repl/store/anm8gi4n6ik35zicsv8xfdbl7i1rl5s7-test-file.nix:1:1: 1| asd ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s 'while evaluating the file' | ^' ++(repl.sh:46) nix repl --option pure-eval true ++(repl.sh:47) grep 'attribute '\''currentSystem'\'' missing' ++(repl.sh:48) nix repl +++(repl.sh:49) nix-instantiate --eval -E builtins.currentSystem ++(repl.sh:49) grep '"x86_64-linux"' ++(repl.sh:55) testRepl --store '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store' ++(repl.sh:24) nixArgs=('--store' '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store') ++(repl.sh:24) local nixArgs ++(repl.sh:25) rm -rf repl-result-out +++(repl.sh:26) nix repl --store '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store' warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv'... got build log for '/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv' from 'local' ++(repl.sh:26) local 'replOutput= This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH=' ++(repl.sh:27) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH=' +++(repl.sh:29) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH=' +++(repl.sh:29) grep -o -E '/build/nix-test/ca/repl/store/\w*-simple' ++(repl.sh:29) local outPath=/build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple ++(repl.sh:30) nix path-info --store '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store' /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple warning: you don't have Internet access; disabling some network-dependent features +++(repl.sh:31) realpath ./repl-result-out ++(repl.sh:31) '[' /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple == /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple ']' ++(repl.sh:33) nix repl --store '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store' warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. got build log for '/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv' from 'local' ++(repl.sh:36) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/ca/repl/store/lkicgkak947ljx1n37n35wvkksxfvmf0-simple PATH=' ++(repl.sh:36) grepQuiet -s PATH= ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s PATH= +++(repl.sh:37) nix repl --store '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store' ++(repl.sh:37) local 'replOutput=warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''... error: builder for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''. got build log for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' from '\''local'\'' This should fail' ++(repl.sh:38) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''... error: builder for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''. got build log for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' from '\''local'\'' This should fail' ++(repl.sh:39) grepQuiet -s 'This should fail' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s 'This should fail' ++(repl.sh:39) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''... error: builder for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\''. got build log for '\''/build/nix-test/ca/repl/store/sw0di8gx1gdzqdpm68l6ss0cs66n24wf-simple-failing.drv'\'' from '\''local'\'' This should fail' +++(repl.sh:41) nix repl --show-trace --store '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store' ++(repl.sh:41) local 'replOutput=warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/ca/repl/store/anm8gi4n6ik35zicsv8xfdbl7i1rl5s7-test-file.nix:1:1: 1| asd | ^' ++(repl.sh:42) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/ca/repl/store/anm8gi4n6ik35zicsv8xfdbl7i1rl5s7-test-file.nix:1:1: 1| asd | ^' ++(repl.sh:43) grepQuiet -s 'while evaluating the file' ++(repl.sh:43) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/ca/repl/store/anm8gi4n6ik35zicsv8xfdbl7i1rl5s7-test-file.nix:1:1: 1| asd | ^' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s 'while evaluating the file' ++(repl.sh:47) grep 'attribute '\''currentSystem'\'' missing' ++(repl.sh:46) nix repl --store '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store' --option pure-eval true ++(repl.sh:48) nix repl --store '/build/nix-test/ca/repl/store?real=/build/nix-test/ca/repl/store' +++(repl.sh:49) nix-instantiate --eval -E builtins.currentSystem ++(repl.sh:49) grep '"x86_64-linux"' ++(repl.sh:105) testReplResponse ' :a { a = "1"; } :a { a = "2"; } "result: ${a}" ' 'result: 2' ++(repl.sh:93) testReplResponseGeneral --basic-regexp ' :a { a = "1"; } :a { a = "2"; } "result: ${a}" ' 'result: 2' ++(repl.sh:63) local grepMode=--basic-regexp ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= :a { a = "1"; } :a { a = "2"; } "result: ${a}" ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s 'result: 2' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse=result: 2' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINE"result: 2"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --basic-regexp -s 'result: 2' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s 'result: 2' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINE"result: 2"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:113) testReplResponseNoRegex ' "$" + "{hi}" ' '"\${hi}"' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' "$" + "{hi}" ' '"\${hi}"' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= "$" + "{hi}" ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '"\${hi}"' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse="\${hi}"' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE"\${hi}"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE"\${hi}"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s '"\${hi}"' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '"\${hi}"' ++(repl.sh:117) testReplResponse ' drvPath ' '".*-simple.drv"' /build/source/build/tests/functional/simple.nix ++(repl.sh:93) testReplResponseGeneral --basic-regexp ' drvPath ' '".*-simple.drv"' /build/source/build/tests/functional/simple.nix ++(repl.sh:63) local grepMode=--basic-regexp ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= drvPath ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '".*-simple.drv"' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse=".*-simple.drv"' ++(repl.sh:69) shift +++(repl.sh:71) nix repl /build/source/build/tests/functional/simple.nix +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINEwarning: future versions of Lix will require using `--file` to load a fileTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 17 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINEwarning: future versions of Lix will require using `--file` to load a fileTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 17 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --basic-regexp -s '".*-simple.drv"' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s '".*-simple.drv"' ++(repl.sh:122) testReplResponse ' drvPath ' '".*-simple.drv"' --file /build/source/build/tests/functional/simple.nix --experimental-features ca-derivations ++(repl.sh:93) testReplResponseGeneral --basic-regexp ' drvPath ' '".*-simple.drv"' --file /build/source/build/tests/functional/simple.nix --experimental-features ca-derivations ++(repl.sh:63) local grepMode=--basic-regexp ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= drvPath ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '".*-simple.drv"' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse=".*-simple.drv"' ++(repl.sh:69) shift +++(repl.sh:71) nix repl --file /build/source/build/tests/functional/simple.nix --experimental-features ca-derivations +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 17 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 17 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --basic-regexp -s '".*-simple.drv"' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s '".*-simple.drv"' ++(repl.sh:127) testReplResponse ' drvPath ' '".*-simple.drv"' --file /build/source/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations' ++(repl.sh:93) testReplResponseGeneral --basic-regexp ' drvPath ' '".*-simple.drv"' --file /build/source/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations' ++(repl.sh:63) local grepMode=--basic-regexp ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= drvPath ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '".*-simple.drv"' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse=".*-simple.drv"' ++(repl.sh:69) shift +++(repl.sh:71) nix repl --file /build/source/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations' +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 17 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 17 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --basic-regexp -s '".*-simple.drv"' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s '".*-simple.drv"' ++(repl.sh:130) mkdir -p flake ++(repl.sh:130) cat ++(repl.sh:142) testReplResponse ' foo + baz ' 3 ./flake ./flake#bar --experimental-features 'flakes repl-flake' ++(repl.sh:93) testReplResponseGeneral --basic-regexp ' foo + baz ' 3 ./flake ./flake#bar --experimental-features 'flakes repl-flake' ++(repl.sh:63) local grepMode=--basic-regexp ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= foo + baz ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s 3 +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local expectedResponse=3 ++(repl.sh:69) shift +++(repl.sh:71) nix repl ./flake ./flake#bar --experimental-features 'flakes repl-flake' +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINEfetching path input '\''path:/build/nix-test/ca/repl/flake'\''TEST_NEWLINEfetching path input '\''path:/build/nix-test/ca/repl/flake'\''TEST_NEWLINELoading installable '\''path:/build/nix-test/ca/repl/flake#'\''...TEST_NEWLINEAdded 3 variables.TEST_NEWLINELoading installable '\''path:/build/nix-test/ca/repl/flake#bar'\''...TEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINE3TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINEfetching path input '\''path:/build/nix-test/ca/repl/flake'\''TEST_NEWLINEfetching path input '\''path:/build/nix-test/ca/repl/flake'\''TEST_NEWLINELoading installable '\''path:/build/nix-test/ca/repl/flake#'\''...TEST_NEWLINEAdded 3 variables.TEST_NEWLINELoading installable '\''path:/build/nix-test/ca/repl/flake#bar'\''...TEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINE3TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --basic-regexp -s 3 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s 3 +++(repl.sh:156) echo changingThing +++(repl.sh:157) sleep 1 +++(repl.sh:160) nix repl ./flake --experimental-features 'flakes repl-flake' warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. fetching path input 'path:/build/nix-test/ca/repl/flake' Loading installable 'path:/build/nix-test/ca/repl/flake#'... Added 3 variables. +++(repl.sh:158) sed -i s/beforeChange/afterChange/ flake/flake.nix +++(repl.sh:159) echo :reload +++(repl.sh:160) echo changingThing fetching path input 'path:/build/nix-test/ca/repl/flake' Loading installable 'path:/build/nix-test/ca/repl/flake#'... Added 3 variables. ++(repl.sh:156) replResult='"beforeChange" "afterChange"' ++(repl.sh:157) echo '"beforeChange" "afterChange"' ++(repl.sh:157) grepQuiet -s beforeChange ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s beforeChange ++(repl.sh:158) echo '"beforeChange" "afterChange"' ++(repl.sh:158) grepQuiet -s afterChange ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s afterChange ++(repl.sh:164) testReplResponseNoRegex ' { a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' '{ a = { ... }; l = [ ... ]; n = 1234; s = "string"; x = { ... }; } ' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' { a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' '{ a = { ... }; l = [ ... ]; n = 1234; s = "string"; x = { ... }; } ' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= { a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '{ a = { ... }; l = [ ... ]; n = 1234; s = "string"; x = { ... }; } ' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse={TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}' ++(repl.sh:69) shift +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) nix repl +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s '{TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '{TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}' ++(repl.sh:177) testReplResponseNoRegex ' [ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ] ' '[ 42 1 "thingy" { ... } [ ... ] ] ' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' [ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ] ' '[ 42 1 "thingy" { ... } [ ... ] ] ' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= [ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ] ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '[ 42 1 "thingy" { ... } [ ... ] ] ' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse=[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s '[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]' ++(repl.sh:190) testReplResponseNoRegex ' let x = { y = { a = 1; }; inherit x; }; in x ' '{ x = «repeated»; y = { ... }; } ' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' let x = { y = { a = 1; }; inherit x; }; in x ' '{ x = «repeated»; y = { ... }; } ' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= let x = { y = { a = 1; }; inherit x; }; in x ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '{ x = «repeated»; y = { ... }; } ' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse={TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s '{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}' ++(repl.sh:200) testReplResponseNoRegex ' :p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' '{ a = { b = 2; }; n = 1234; s = "string"; x = { y = { z = { y = «repeated»; }; }; }; } ' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' :p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' '{ a = { b = 2; }; n = 1234; s = "string"; x = { y = { z = { y = «repeated»; }; }; }; } ' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= :p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '{ a = { b = 2; }; n = 1234; s = "string"; x = { y = { z = { y = «repeated»; }; }; }; } ' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse={TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s '{TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '{TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}' ++(repl.sh:218) testReplResponseNoRegex ' :p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ] ' '[ 42 1 "thingy" { a = 1; b = { a = 1; b = «repeated»; }; } [ 1 2 3 ] ] ' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' :p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ] ' '[ 42 1 "thingy" { a = 1; b = { a = 1; b = «repeated»; }; } [ 1 2 3 ] ] ' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= :p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ] ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '[ 42 1 "thingy" { a = 1; b = { a = 1; b = «repeated»; }; } [ 1 2 3 ] ] ' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse=[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]' ++(repl.sh:69) shift +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) nix repl +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s '[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]' ++(repl.sh:241) testReplResponseNoRegex ' :p let x = { y = { a = 1; }; inherit x; }; in x ' '{ x = «repeated»; y = { a = 1; }; } ' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' :p let x = { y = { a = 1; }; inherit x; }; in x ' '{ x = «repeated»; y = { a = 1; }; } ' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= :p let x = { y = { a = 1; }; inherit x; }; in x ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s '{ x = «repeated»; y = { a = 1; }; } ' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse={TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s '{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}' ++(repl.sh:249) echo '{ identity = a: a; }' +++(repl.sh:250) nix-store --add repl-test.nix ++(repl.sh:250) repl_test_store=/build/nix-test/ca/repl/store/g4478ac2q72f4jhn1lf9waarppxag8vv-repl-test.nix ++(repl.sh:251) EDITOR=true ++(repl.sh:251) testReplResponseNoRegex ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l /build/nix-test/ca/repl/store/g4478ac2q72f4jhn1lf9waarppxag8vv-repl-test.nix :e identity a ' 'test string that we'\''ll grep later' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l /build/nix-test/ca/repl/store/g4478ac2q72f4jhn1lf9waarppxag8vv-repl-test.nix :e identity a ' 'test string that we'\''ll grep later' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= a = '\'''\''test string that we'\''ll grep later'\'''\'' :l /build/nix-test/ca/repl/store/g4478ac2q72f4jhn1lf9waarppxag8vv-repl-test.nix :e identity a ' ++(repl.sh:64) shift +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) printf %s 'test string that we'\''ll grep later' +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse=test string that we'\''ll grep later' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINETEST_NEWLINE"test string that we'\''ll grep later"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINETEST_NEWLINE"test string that we'\''ll grep later"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s 'test string that we'\''ll grep later' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s 'test string that we'\''ll grep later' ++(repl.sh:259) ln -s /build/nix-test/ca/repl/store/g4478ac2q72f4jhn1lf9waarppxag8vv-repl-test.nix repl-test-link.nix ++(repl.sh:260) EDITOR=true ++(repl.sh:260) testReplResponseNoRegex ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test-link.nix :e identity a ' 'test string that we'\''ll grep later' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test-link.nix :e identity a ' 'test string that we'\''ll grep later' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test-link.nix :e identity a ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s 'test string that we'\''ll grep later' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local 'expectedResponse=test string that we'\''ll grep later' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINETEST_NEWLINE"test string that we'\''ll grep later"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINETEST_NEWLINE"test string that we'\''ll grep later"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s 'test string that we'\''ll grep later' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s 'test string that we'\''ll grep later' ++(repl.sh:268) EDITOR=true ++(repl.sh:268) testReplResponseNoRegex ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test.nix :e identity a ' 'undefined variable' ++(repl.sh:97) testReplResponseGeneral --fixed-strings ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test.nix :e identity a ' 'undefined variable' ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands= a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test.nix :e identity a ' ++(repl.sh:64) shift +++(repl.sh:69) printf %s 'undefined variable' +++(repl.sh:69) sed 's/TEST_NEWLINE$//' +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) local 'expectedResponse=undefined variable' ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINELoading '\''repl-test.nix'\''...TEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINEerror: undefined variable '\''a'\''TEST_NEWLINE at «string»:1:1:TEST_NEWLINE 1| aTEST_NEWLINE | ^TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINELoading '\''repl-test.nix'\''...TEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINEerror: undefined variable '\''a'\''TEST_NEWLINE at «string»:1:1:TEST_NEWLINE 1| aTEST_NEWLINE | ^TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s 'undefined variable' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s 'undefined variable' +++(repl.sh:276) nix-instantiate /build/source/build/tests/functional/simple.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(repl.sh:276) simple_path=/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv ++(repl.sh:278) testReplResponseNoRegex ':log /build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv' PATH= ++(repl.sh:97) testReplResponseGeneral --fixed-strings ':log /build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv' PATH= ++(repl.sh:63) local grepMode=--fixed-strings ++(repl.sh:63) shift ++(repl.sh:64) local 'commands=:log /build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv' ++(repl.sh:64) shift +++(repl.sh:69) printf %s PATH= +++(repl.sh:69) awk 1 ORS=TEST_NEWLINE +++(repl.sh:69) sed 's/TEST_NEWLINE$//' ++(repl.sh:69) local expectedResponse=PATH= ++(repl.sh:69) shift +++(repl.sh:71) nix repl +++(repl.sh:71) stripColors +++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINEgot build log for '\''/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv'\'' from '\''local'\''TEST_NEWLINEPATH=TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINEgot build log for '\''/build/nix-test/ca/repl/store/xq45vy1kjdgagavr7112ajswpn3wphrr-simple.drv'\'' from '\''local'\''TEST_NEWLINEPATH=TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' ++(repl.sh:72) grepQuiet --fixed-strings -s PATH= ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s PATH= ============================================================================== =================================== 31/161 =================================== test: lix:installcheck / functional-flakes-bundle start time: 20:57:35 duration: 0.58s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=110 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/bundle.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/bundle +(init.sh:7) test -d /build/nix-test/flakes/bundle +(init.sh:8) chmod -R u+w /build/nix-test/flakes/bundle +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/bundle +(init.sh:13) mkdir /build/nix-test/flakes/bundle +(init.sh:15) mkdir /build/nix-test/flakes/bundle/store +(init.sh:16) mkdir /build/nix-test/flakes/bundle/var +(init.sh:17) mkdir -p /build/nix-test/flakes/bundle/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/bundle/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/bundle/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/bundle/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) registry=/build/nix-test/flakes/bundle/registry.json +(bundle.sh:3) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/bundle/test-home +(bundle.sh:5) cd /build/nix-test/flakes/bundle/test-home +(bundle.sh:7) cat +(bundle.sh:26) nix build .# warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/bundle/test-home' this derivation will be built: /build/nix-test/flakes/bundle/store/bwkkxaiwz8bcg1cpd05pnvb4ds2nxz70-simple.drv building '/build/nix-test/flakes/bundle/store/bwkkxaiwz8bcg1cpd05pnvb4ds2nxz70-simple.drv'... +(bundle.sh:27) nix bundle --bundler .# .# warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/bundle/test-home' fetching path input 'path:/build/nix-test/flakes/bundle/test-home' +(bundle.sh:28) nix bundle --bundler .#bundlers.x86_64-linux.default .#packages.x86_64-linux.default warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/bundle/test-home' fetching path input 'path:/build/nix-test/flakes/bundle/test-home' +(bundle.sh:29) nix bundle --bundler .#bundlers.x86_64-linux.simple .#packages.x86_64-linux.default warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/bundle/test-home' fetching path input 'path:/build/nix-test/flakes/bundle/test-home' +(bundle.sh:31) nix bundle --bundler .#bundlers.x86_64-linux.default .#apps.x86_64-linux.default warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/bundle/test-home' fetching path input 'path:/build/nix-test/flakes/bundle/test-home' +(bundle.sh:32) nix bundle --bundler .#bundlers.x86_64-linux.simple .#apps.x86_64-linux.default warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/bundle/test-home' fetching path input 'path:/build/nix-test/flakes/bundle/test-home' ============================================================================== =================================== 32/161 =================================== test: lix:installcheck / functional-ca-concurrent-builds start time: 20:57:30 duration: 5.27s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=110 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/concurrent-builds.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/concurrent-builds +(init.sh:7) test -d /build/nix-test/ca/concurrent-builds +(init.sh:8) chmod -R u+w /build/nix-test/ca/concurrent-builds +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/concurrent-builds +(init.sh:13) mkdir /build/nix-test/ca/concurrent-builds +(init.sh:15) mkdir /build/nix-test/ca/concurrent-builds/store +(init.sh:16) mkdir /build/nix-test/ca/concurrent-builds/var +(init.sh:17) mkdir -p /build/nix-test/ca/concurrent-builds/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/concurrent-builds/var/nix +(init.sh:19) mkdir /build/nix-test/ca/concurrent-builds/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/concurrent-builds/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/concurrent-builds/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(concurrent-builds.sh:8) buggyNeedLocalStore 'For some reason, this deadlocks with the daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:229) needLocalStore 'For some reason, this deadlocks with the daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(concurrent-builds.sh:10) export NIX_TESTS_CA_BY_DEFAULT=1 +(concurrent-builds.sh:10) NIX_TESTS_CA_BY_DEFAULT=1 +(concurrent-builds.sh:12) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/concurrent-builds/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/concurrent-builds/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/concurrent-builds/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/concurrent-builds/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/concurrent-builds/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/concurrent-builds/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/concurrent-builds/test-home/.local/state/nix/profiles +(concurrent-builds.sh:14) for i in {0..5} +(concurrent-builds.sh:14) for i in {0..5} +(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix +(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix +(concurrent-builds.sh:14) for i in {0..5} +(concurrent-builds.sh:14) for i in {0..5} +(concurrent-builds.sh:14) for i in {0..5} +(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix +(concurrent-builds.sh:14) for i in {0..5} +(concurrent-builds.sh:18) wait +(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix +(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix +(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix warning: you don't have Internet access; disabling some network-dependent features warning: you don't have Internet access; disabling some network-dependent features warning: you don't have Internet access; disabling some network-dependent features waiting for exclusive access to the Nix store for ca drvs... warning: you don't have Internet access; disabling some network-dependent features warning: you don't have Internet access; disabling some network-dependent features waiting for the big Nix store lock... waiting for the big Nix store lock... waiting for the big Nix store lock... warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/ca/concurrent-builds/store/7axwf6n3lbrjvd7ndif8klcs0cs0vil0-simple.drv this derivation will be built: /build/nix-test/ca/concurrent-builds/store/7axwf6n3lbrjvd7ndif8klcs0cs0vil0-simple.drv this derivation will be built: /build/nix-test/ca/concurrent-builds/store/7axwf6n3lbrjvd7ndif8klcs0cs0vil0-simple.drv this derivation will be built: /build/nix-test/ca/concurrent-builds/store/7axwf6n3lbrjvd7ndif8klcs0cs0vil0-simple.drv this derivation will be built: /build/nix-test/ca/concurrent-builds/store/7axwf6n3lbrjvd7ndif8klcs0cs0vil0-simple.drv building '/build/nix-test/ca/concurrent-builds/store/7axwf6n3lbrjvd7ndif8klcs0cs0vil0-simple.drv'... ============================================================================== =================================== 33/161 =================================== test: lix:installcheck / functional-flakes-init start time: 20:57:34 duration: 1.34s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=18 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/init.sh ----------------------------------- stdout ----------------------------------- Initialized empty Git repository in /build/nix-test/flakes/init/nixpkgs/.git/ [master (root-commit) 2585af9] Initial 4 files changed, 66 insertions(+) create mode 100644 config.nix create mode 100644 flake.nix create mode 100644 simple.builder.sh create mode 100644 simple.nix Initialized empty Git repository in /build/nix-test/flakes/init/templates/.git/ [master (root-commit) dc82208] Initial 4 files changed, 28 insertions(+) create mode 100644 flake.nix create mode 100644 trivial/a create mode 100644 trivial/b create mode 100644 trivial/flake.nix git+file:///build/nix-test/flakes/init/templates?ref=refs/heads/master&rev=dc8220817c6faede98fca1208e46dca66e878fc7 └───templates ├───default: template: A trivial flake └───trivial: template: A trivial flake { "templates": { "default": { "description": "A trivial flake", "type": "template" }, "trivial": { "description": "A trivial flake", "type": "template" } } } Initialized empty Git repository in /build/nix-test/flakes/init/flake/.git/ git+file:///build/nix-test/flakes/init/flake └───packages └───x86_64-linux ├───default: package 'simple' └───hello: package 'simple' { "packages": { "x86_64-linux": { "default": { "name": "simple", "type": "derivation" }, "hello": { "name": "simple", "type": "derivation" } } } } [master (root-commit) f7ed9c8] Initial 4 files changed, 38 insertions(+) create mode 100644 a create mode 100644 b create mode 100644 flake.lock create mode 100644 flake.nix Initialized empty Git repository in /build/nix-test/flakes/init/flake/.git/ Initialized empty Git repository in /build/nix-test/flakes/init/flake/.git/ /build/nix-test/flakes/init/flake /build/source/build/tests/functional/flakes refusing to overwrite existing file '/build/nix-test/flakes/init/flake/a' /build/source/build/tests/functional/flakes [master (root-commit) 5f3eb67] Changed 2 files changed, 11 insertions(+) create mode 100644 b create mode 100644 flake.nix [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/init +(init.sh:7) test -d /build/nix-test/flakes/init +(init.sh:8) chmod -R u+w /build/nix-test/flakes/init +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/init +(init.sh:13) mkdir /build/nix-test/flakes/init +(init.sh:15) mkdir /build/nix-test/flakes/init/store +(init.sh:16) mkdir /build/nix-test/flakes/init/var +(init.sh:17) mkdir -p /build/nix-test/flakes/init/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/init/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/init/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/init/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/init/registry.json +(init.sh:3) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(init.sh:5) templatesDir=/build/nix-test/flakes/init/templates +(init.sh:6) flakeDir=/build/nix-test/flakes/init/flake +(init.sh:7) nixpkgsDir=/build/nix-test/flakes/init/nixpkgs +(init.sh:9) nix registry add --registry /build/nix-test/flakes/init/registry.json templates git+file:///build/nix-test/flakes/init/templates warning: you don't have Internet access; disabling some network-dependent features +(init.sh:10) nix registry add --registry /build/nix-test/flakes/init/registry.json nixpkgs git+file:///build/nix-test/flakes/init/nixpkgs warning: you don't have Internet access; disabling some network-dependent features +(init.sh:12) createGitRepo /build/nix-test/flakes/init/nixpkgs +(./common.sh:61) local repo=/build/nix-test/flakes/init/nixpkgs +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/init/nixpkgs /build/nix-test/flakes/init/nixpkgs.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/init/nixpkgs +(./common.sh:67) git -C /build/nix-test/flakes/init/nixpkgs init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/init/nixpkgs config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/init/nixpkgs config user.name Foobar +(init.sh:13) createSimpleGitFlake /build/nix-test/flakes/init/nixpkgs +(./common.sh:31) local flakeDir=/build/nix-test/flakes/init/nixpkgs +(./common.sh:32) writeSimpleFlake /build/nix-test/flakes/init/nixpkgs +(./common.sh:6) local flakeDir=/build/nix-test/flakes/init/nixpkgs +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/init/nixpkgs/ +(./common.sh:33) git -C /build/nix-test/flakes/init/nixpkgs add flake.nix simple.nix simple.builder.sh config.nix +(./common.sh:34) git -C /build/nix-test/flakes/init/nixpkgs commit -m Initial +(init.sh:16) createGitRepo /build/nix-test/flakes/init/templates +(./common.sh:61) local repo=/build/nix-test/flakes/init/templates +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/init/templates /build/nix-test/flakes/init/templates.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/init/templates +(./common.sh:67) git -C /build/nix-test/flakes/init/templates init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/init/templates config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/init/templates config user.name Foobar +(init.sh:18) cat +(init.sh:37) mkdir /build/nix-test/flakes/init/templates/trivial +(init.sh:39) cat +(init.sh:51) echo a +(init.sh:52) echo b +(init.sh:54) git -C /build/nix-test/flakes/init/templates add flake.nix trivial/ +(init.sh:55) git -C /build/nix-test/flakes/init/templates commit -m Initial +(init.sh:57) nix flake check templates warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/templates' evaluating flake... checking flake output 'templates'... checking template 'templates.trivial'... checking template 'templates.default'... +(init.sh:58) nix flake show templates warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/templates' evaluating ''... evaluating 'templates'... evaluating 'templates.default'... evaluating 'templates.trivial'... +(init.sh:59) nix flake show templates --json +(init.sh:59) jq warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/templates' evaluating ''... evaluating 'templates'... evaluating 'templates.default'... evaluating 'templates.trivial'... +(init.sh:61) createGitRepo /build/nix-test/flakes/init/flake +(./common.sh:61) local repo=/build/nix-test/flakes/init/flake +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/init/flake /build/nix-test/flakes/init/flake.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/init/flake +(./common.sh:67) git -C /build/nix-test/flakes/init/flake init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/init/flake config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/init/flake config user.name Foobar +(init.sh:62) cd /build/nix-test/flakes/init/flake +(init.sh:62) nix flake init warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/templates' wrote: /build/nix-test/flakes/init/flake/a wrote: /build/nix-test/flakes/init/flake/b wrote: /build/nix-test/flakes/init/flake/flake.nix Welcome to my trivial flake +(init.sh:63) cd /build/nix-test/flakes/init/flake +(init.sh:63) nix flake init warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/templates' skipping identical file: /build/nix-test/flakes/init/store/l48m74d28l0973kv0ysw0skjgk241v0q-source/trivial/a skipping identical file: /build/nix-test/flakes/init/store/l48m74d28l0973kv0ysw0skjgk241v0q-source/trivial/b skipping identical file: /build/nix-test/flakes/init/store/l48m74d28l0973kv0ysw0skjgk241v0q-source/trivial/flake.nix Welcome to my trivial flake +(init.sh:64) git -C /build/nix-test/flakes/init/flake add flake.nix +(init.sh:65) nix flake check /build/nix-test/flakes/init/flake warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/flake' warning: Git tree '/build/nix-test/flakes/init/flake' is dirty fetching git input 'git+file:///build/nix-test/flakes/init/nixpkgs' warning: creating lock file '/build/nix-test/flakes/init/flake/flake.lock': • Added input 'nixpkgs': 'git+file:///build/nix-test/flakes/init/nixpkgs?ref=refs/heads/master&rev=2585af9b52e9767318c74547dc50ea2944c82b9c' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/init/flake' warning: Git tree '/build/nix-test/flakes/init/flake' is dirty evaluating flake... checking flake output 'packages'... checking derivation packages.x86_64-linux.hello... derivation evaluated to /build/nix-test/flakes/init/store/266zhmsxfwkyh50z917wfaiad4lxgb27-simple.drv checking derivation packages.x86_64-linux.default... derivation evaluated to /build/nix-test/flakes/init/store/266zhmsxfwkyh50z917wfaiad4lxgb27-simple.drv +(init.sh:66) nix flake show /build/nix-test/flakes/init/flake warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/flake' warning: Git tree '/build/nix-test/flakes/init/flake' is dirty evaluating ''... evaluating 'packages'... evaluating 'packages.x86_64-linux'... evaluating 'packages.x86_64-linux.default'... evaluating 'packages.x86_64-linux.hello'... +(init.sh:67) nix flake show /build/nix-test/flakes/init/flake --json +(init.sh:67) jq warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/flake' warning: Git tree '/build/nix-test/flakes/init/flake' is dirty evaluating ''... evaluating 'packages'... evaluating 'packages.x86_64-linux'... evaluating 'packages.x86_64-linux.default'... evaluating 'packages.x86_64-linux.hello'... +(init.sh:68) git -C /build/nix-test/flakes/init/flake commit -a -m Initial +(init.sh:71) createGitRepo /build/nix-test/flakes/init/flake +(./common.sh:61) local repo=/build/nix-test/flakes/init/flake +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/init/flake /build/nix-test/flakes/init/flake.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/init/flake +(./common.sh:67) git -C /build/nix-test/flakes/init/flake init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/init/flake config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/init/flake config user.name Foobar +(init.sh:72) echo a +(init.sh:73) cd /build/nix-test/flakes/init/flake +(init.sh:73) nix flake init warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/templates' skipping identical file: /build/nix-test/flakes/init/store/l48m74d28l0973kv0ysw0skjgk241v0q-source/trivial/a wrote: /build/nix-test/flakes/init/flake/b wrote: /build/nix-test/flakes/init/flake/flake.nix Welcome to my trivial flake +(init.sh:76) createGitRepo /build/nix-test/flakes/init/flake +(./common.sh:61) local repo=/build/nix-test/flakes/init/flake +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/init/flake /build/nix-test/flakes/init/flake.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/init/flake +(./common.sh:67) git -C /build/nix-test/flakes/init/flake init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/init/flake config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/init/flake config user.name Foobar +(init.sh:77) echo b +(init.sh:78) pushd /build/nix-test/flakes/init/flake +(init.sh:79) grep 'refusing to overwrite existing file '\''/build/nix-test/flakes/init/flake/a'\''' +(init.sh:80) popd +(init.sh:81) git -C /build/nix-test/flakes/init/flake commit -a -m Changed +(init.sh:84) rm -rf /build/nix-test/flakes/init/flake +(init.sh:85) nix flake new -t templates#trivial /build/nix-test/flakes/init/flake warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/templates' wrote: /build/nix-test/flakes/init/flake/a wrote: /build/nix-test/flakes/init/flake/b wrote: /build/nix-test/flakes/init/flake/flake.nix Welcome to my trivial flake +(init.sh:86) nix flake new -t templates#trivial /build/nix-test/flakes/init/flake warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/init/templates' skipping identical file: /build/nix-test/flakes/init/store/l48m74d28l0973kv0ysw0skjgk241v0q-source/trivial/a skipping identical file: /build/nix-test/flakes/init/store/l48m74d28l0973kv0ysw0skjgk241v0q-source/trivial/b skipping identical file: /build/nix-test/flakes/init/store/l48m74d28l0973kv0ysw0skjgk241v0q-source/trivial/flake.nix Welcome to my trivial flake +(init.sh:87) nix flake check /build/nix-test/flakes/init/flake warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/init/flake' fetching git input 'git+file:///build/nix-test/flakes/init/nixpkgs' warning: creating lock file '/build/nix-test/flakes/init/flake/flake.lock': • Added input 'nixpkgs': 'git+file:///build/nix-test/flakes/init/nixpkgs?ref=refs/heads/master&rev=2585af9b52e9767318c74547dc50ea2944c82b9c' (2024-09-09) fetching path input 'path:/build/nix-test/flakes/init/flake' evaluating flake... checking flake output 'packages'... checking derivation packages.x86_64-linux.hello... derivation evaluated to /build/nix-test/flakes/init/store/266zhmsxfwkyh50z917wfaiad4lxgb27-simple.drv checking derivation packages.x86_64-linux.default... derivation evaluated to /build/nix-test/flakes/init/store/266zhmsxfwkyh50z917wfaiad4lxgb27-simple.drv ============================================================================== =================================== 34/161 =================================== test: lix:installcheck / functional-flakes-absolute-paths start time: 20:57:36 duration: 0.32s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=246 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/absolute-paths.sh ----------------------------------- stdout ----------------------------------- Initialized empty Git repository in /build/nix-test/flakes/absolute-paths/flake1/.git/ [master (root-commit) cbe91b7] Initial 1 file changed, 3 insertions(+) create mode 100644 flake.nix "source ./common.sh\n\nrequireGit\n\nflake1Dir=$TEST_ROOT/flake1\nflake2Dir=$TEST_ROOT/flake2\n\ncreateGitRepo $flake1Dir\ncat > $flake1Dir/flake.nix < hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/absolute-paths/flake1 config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/absolute-paths/flake1 config user.name Foobar +(absolute-paths.sh:9) cat ++(absolute-paths.sh:9) pwd +(absolute-paths.sh:14) git -C /build/nix-test/flakes/absolute-paths/flake1 add flake.nix +(absolute-paths.sh:15) git -C /build/nix-test/flakes/absolute-paths/flake1 commit -m Initial +(absolute-paths.sh:17) nix eval --impure --json /build/nix-test/flakes/absolute-paths/flake1#x warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/absolute-paths/flake1' ============================================================================== =================================== 35/161 =================================== test: lix:installcheck / functional-flakes-check start time: 20:57:35 duration: 0.57s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=243 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/check.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/check +(init.sh:7) test -d /build/nix-test/flakes/check +(init.sh:8) chmod -R u+w /build/nix-test/flakes/check +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/check +(init.sh:13) mkdir /build/nix-test/flakes/check +(init.sh:15) mkdir /build/nix-test/flakes/check/store +(init.sh:16) mkdir /build/nix-test/flakes/check/var +(init.sh:17) mkdir -p /build/nix-test/flakes/check/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/check/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/check/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/check/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) registry=/build/nix-test/flakes/check/registry.json +(check.sh:3) flakeDir=/build/nix-test/flakes/check/flake3 +(check.sh:4) mkdir -p /build/nix-test/flakes/check/flake3 +(check.sh:6) cat +(check.sh:15) nix flake check /build/nix-test/flakes/check/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/check/flake3' evaluating flake... checking flake output 'overlay'... warning: flake output attribute 'overlay' is deprecated; use 'overlays.default' instead checking overlay 'overlay'... +(check.sh:17) cat +(check.sh:26) nix flake check /build/nix-test/flakes/check/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/check/flake3' evaluating flake... checking flake output 'overlay'... warning: flake output attribute 'overlay' is deprecated; use 'overlays.default' instead checking overlay 'overlay'... error: … while checking flake output 'overlay' at /build/nix-test/flakes/check/store/83h2k1xacv146jpw47p6zsbdabff3wgd-source/flake.nix:3:5: 2| outputs = { self }: { 3| overlay = finalll: prev: { | ^ 4| }; … while checking the overlay 'overlay' at /build/nix-test/flakes/check/store/83h2k1xacv146jpw47p6zsbdabff3wgd-source/flake.nix:3:5: 2| outputs = { self }: { 3| overlay = finalll: prev: { | ^ 4| }; error: overlay does not take an argument named 'final' +(check.sh:28) cat ++(check.sh:37) nix flake check /build/nix-test/flakes/check/flake3 ++(check.sh:37) true +(check.sh:37) checkRes='warning: you don'\''t have Internet access; disabling some network-dependent features fetching path input '\''path:/build/nix-test/flakes/check/flake3'\'' evaluating flake... checking flake output '\''overlays'\''... checking overlay '\''overlays.x86_64-linux'\''... error: … while checking flake output '\''overlays'\'' at /build/nix-test/flakes/check/store/a0ww4i26m1cg7rymrf8d1k2mv5cs3mjl-source/flake.nix:3:5: 2| outputs = { self, ... }: { 3| overlays.x86_64-linux.foo = final: prev: { | ^ 4| }; … while checking the overlay '\''overlays.x86_64-linux'\'' at /build/nix-test/flakes/check/store/a0ww4i26m1cg7rymrf8d1k2mv5cs3mjl-source/flake.nix:3:5: 2| outputs = { self, ... }: { 3| overlays.x86_64-linux.foo = final: prev: { | ^ 4| }; error: overlay is not a function, but a set instead' +(check.sh:38) grepQuiet 'error: overlay is not a function, but a set instead' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'error: overlay is not a function, but a set instead' +(check.sh:38) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features fetching path input '\''path:/build/nix-test/flakes/check/flake3'\'' evaluating flake... checking flake output '\''overlays'\''... checking overlay '\''overlays.x86_64-linux'\''... error: … while checking flake output '\''overlays'\'' at /build/nix-test/flakes/check/store/a0ww4i26m1cg7rymrf8d1k2mv5cs3mjl-source/flake.nix:3:5: 2| outputs = { self, ... }: { 3| overlays.x86_64-linux.foo = final: prev: { | ^ 4| }; … while checking the overlay '\''overlays.x86_64-linux'\'' at /build/nix-test/flakes/check/store/a0ww4i26m1cg7rymrf8d1k2mv5cs3mjl-source/flake.nix:3:5: 2| outputs = { self, ... }: { 3| overlays.x86_64-linux.foo = final: prev: { | ^ 4| }; error: overlay is not a function, but a set instead' +(check.sh:40) cat +(check.sh:51) nix flake check /build/nix-test/flakes/check/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/check/flake3' evaluating flake... checking flake output 'nixosModules'... checking NixOS module 'nixosModules.foo'... +(check.sh:53) cat +(check.sh:64) nix flake check /build/nix-test/flakes/check/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/check/flake3' evaluating flake... checking flake output 'nixosModules'... checking NixOS module 'nixosModules.foo'... error: … while checking flake output 'nixosModules' at /build/nix-test/flakes/check/store/pk53264bwg5wg2y37anhg7s1r0riw37j-source/flake.nix:3:5: 2| outputs = { self }: { 3| nixosModules.foo = assert false; { | ^ 4| a.b.c = 123; … while checking the NixOS module 'nixosModules.foo' at /build/nix-test/flakes/check/store/pk53264bwg5wg2y37anhg7s1r0riw37j-source/flake.nix:3:5: 2| outputs = { self }: { 3| nixosModules.foo = assert false; { | ^ 4| a.b.c = 123; error: assertion 'false' failed at /build/nix-test/flakes/check/store/pk53264bwg5wg2y37anhg7s1r0riw37j-source/flake.nix:3:24: 2| outputs = { self }: { 3| nixosModules.foo = assert false; { | ^ 4| a.b.c = 123; +(check.sh:66) cat +(check.sh:76) nix flake check /build/nix-test/flakes/check/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/check/flake3' evaluating flake... checking flake output 'nixosModule'... warning: flake output attribute 'nixosModule' is deprecated; use 'nixosModules.default' instead checking NixOS module 'nixosModule'... +(check.sh:78) cat +(check.sh:87) nix flake check /build/nix-test/flakes/check/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/check/flake3' evaluating flake... checking flake output 'packages'... warning: The check omitted these incompatible systems: system-1, system-2 Use '--all-systems' to check all. ++(check.sh:89) nix flake check --all-systems --keep-going /build/nix-test/flakes/check/flake3 ++(check.sh:89) true +(check.sh:89) checkRes='warning: you don'\''t have Internet access; disabling some network-dependent features fetching path input '\''path:/build/nix-test/flakes/check/flake3'\'' evaluating flake... checking flake output '\''packages'\''... checking derivation packages.system-1.default... error (ignored): error: … while checking the derivation '\''packages.system-1.default'\'' at /build/nix-test/flakes/check/store/30ijglm23zrhqapfw31ry3538ccbms10-source/flake.nix:3:5: 2| outputs = { self }: { 3| packages.system-1.default = "foo"; | ^ 4| packages.system-2.default = "bar"; error: flake attribute '\''packages.system-1.default'\'' is not a derivation checking derivation packages.system-2.default... error (ignored): error: … while checking the derivation '\''packages.system-2.default'\'' at /build/nix-test/flakes/check/store/30ijglm23zrhqapfw31ry3538ccbms10-source/flake.nix:4:5: 3| packages.system-1.default = "foo"; 4| packages.system-2.default = "bar"; | ^ 5| }; error: flake attribute '\''packages.system-2.default'\'' is not a derivation error: some errors were encountered during the evaluation' +(check.sh:90) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features fetching path input '\''path:/build/nix-test/flakes/check/flake3'\'' evaluating flake... checking flake output '\''packages'\''... checking derivation packages.system-1.default... error (ignored): error: … while checking the derivation '\''packages.system-1.default'\'' at /build/nix-test/flakes/check/store/30ijglm23zrhqapfw31ry3538ccbms10-source/flake.nix:3:5: 2| outputs = { self }: { 3| packages.system-1.default = "foo"; | ^ 4| packages.system-2.default = "bar"; error: flake attribute '\''packages.system-1.default'\'' is not a derivation checking derivation packages.system-2.default... error (ignored): error: … while checking the derivation '\''packages.system-2.default'\'' at /build/nix-test/flakes/check/store/30ijglm23zrhqapfw31ry3538ccbms10-source/flake.nix:4:5: 3| packages.system-1.default = "foo"; 4| packages.system-2.default = "bar"; | ^ 5| }; error: flake attribute '\''packages.system-2.default'\'' is not a derivation error: some errors were encountered during the evaluation' +(check.sh:90) grepQuiet packages.system-1.default +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep packages.system-1.default +(check.sh:91) grepQuiet packages.system-2.default +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep packages.system-2.default +(check.sh:91) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features fetching path input '\''path:/build/nix-test/flakes/check/flake3'\'' evaluating flake... checking flake output '\''packages'\''... checking derivation packages.system-1.default... error (ignored): error: … while checking the derivation '\''packages.system-1.default'\'' at /build/nix-test/flakes/check/store/30ijglm23zrhqapfw31ry3538ccbms10-source/flake.nix:3:5: 2| outputs = { self }: { 3| packages.system-1.default = "foo"; | ^ 4| packages.system-2.default = "bar"; error: flake attribute '\''packages.system-1.default'\'' is not a derivation checking derivation packages.system-2.default... error (ignored): error: … while checking the derivation '\''packages.system-2.default'\'' at /build/nix-test/flakes/check/store/30ijglm23zrhqapfw31ry3538ccbms10-source/flake.nix:4:5: 3| packages.system-1.default = "foo"; 4| packages.system-2.default = "bar"; | ^ 5| }; error: flake attribute '\''packages.system-2.default'\'' is not a derivation error: some errors were encountered during the evaluation' ============================================================================== =================================== 36/161 =================================== test: lix:installcheck / functional-flakes-unlocked-override start time: 20:57:35 duration: 0.50s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=222 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/unlocked-override.sh ----------------------------------- stdout ----------------------------------- Initialized empty Git repository in /build/nix-test/flakes/unlocked-override/flake1/.git/ [master (root-commit) 027aad6] Initial 2 files changed, 4 insertions(+) create mode 100644 flake.nix create mode 100644 x.nix Initialized empty Git repository in /build/nix-test/flakes/unlocked-override/flake2/.git/ [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/unlocked-override +(init.sh:7) test -d /build/nix-test/flakes/unlocked-override +(init.sh:8) chmod -R u+w /build/nix-test/flakes/unlocked-override +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/unlocked-override +(init.sh:13) mkdir /build/nix-test/flakes/unlocked-override +(init.sh:15) mkdir /build/nix-test/flakes/unlocked-override/store +(init.sh:16) mkdir /build/nix-test/flakes/unlocked-override/var +(init.sh:17) mkdir -p /build/nix-test/flakes/unlocked-override/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/unlocked-override/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/unlocked-override/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/unlocked-override/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/unlocked-override/registry.json +(unlocked-override.sh:3) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(unlocked-override.sh:5) flake1Dir=/build/nix-test/flakes/unlocked-override/flake1 +(unlocked-override.sh:6) flake2Dir=/build/nix-test/flakes/unlocked-override/flake2 +(unlocked-override.sh:8) createGitRepo /build/nix-test/flakes/unlocked-override/flake1 +(./common.sh:61) local repo=/build/nix-test/flakes/unlocked-override/flake1 +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/unlocked-override/flake1 /build/nix-test/flakes/unlocked-override/flake1.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/unlocked-override/flake1 +(./common.sh:67) git -C /build/nix-test/flakes/unlocked-override/flake1 init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/unlocked-override/flake1 config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/unlocked-override/flake1 config user.name Foobar +(unlocked-override.sh:9) cat +(unlocked-override.sh:14) echo 123 +(unlocked-override.sh:15) git -C /build/nix-test/flakes/unlocked-override/flake1 add flake.nix x.nix +(unlocked-override.sh:16) git -C /build/nix-test/flakes/unlocked-override/flake1 commit -m Initial +(unlocked-override.sh:18) createGitRepo /build/nix-test/flakes/unlocked-override/flake2 +(./common.sh:61) local repo=/build/nix-test/flakes/unlocked-override/flake2 +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/unlocked-override/flake2 /build/nix-test/flakes/unlocked-override/flake2.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/unlocked-override/flake2 +(./common.sh:67) git -C /build/nix-test/flakes/unlocked-override/flake2 init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/unlocked-override/flake2 config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/unlocked-override/flake2 config user.name Foobar +(unlocked-override.sh:19) cat +(unlocked-override.sh:24) git -C /build/nix-test/flakes/unlocked-override/flake2 add flake.nix ++(unlocked-override.sh:26) nix eval --json /build/nix-test/flakes/unlocked-override/flake2#x --override-input flake1 /build/nix-test/flakes/unlocked-override/flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/unlocked-override/flake2' warning: Git tree '/build/nix-test/flakes/unlocked-override/flake2' is dirty fetching git input 'git+file:///build/nix-test/flakes/unlocked-override/flake1' warning: not writing modified lock file of flake 'git+file:///build/nix-test/flakes/unlocked-override/flake2': • Added input 'flake1': 'git+file:///build/nix-test/flakes/unlocked-override/flake1?ref=refs/heads/master&rev=027aad68ab0c7194ac3618f8488836a2670180e5' (2024-09-09) +(unlocked-override.sh:26) [[ 123 = 123 ]] +(unlocked-override.sh:28) echo 456 ++(unlocked-override.sh:30) nix eval --json /build/nix-test/flakes/unlocked-override/flake2#x --override-input flake1 /build/nix-test/flakes/unlocked-override/flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/unlocked-override/flake2' warning: Git tree '/build/nix-test/flakes/unlocked-override/flake2' is dirty fetching git input 'git+file:///build/nix-test/flakes/unlocked-override/flake1' warning: Git tree '/build/nix-test/flakes/unlocked-override/flake1' is dirty warning: not writing modified lock file of flake 'git+file:///build/nix-test/flakes/unlocked-override/flake2': • Added input 'flake1': 'git+file:///build/nix-test/flakes/unlocked-override/flake1' (2024-09-09) +(unlocked-override.sh:30) [[ 456 = 456 ]] ============================================================================== =================================== 37/161 =================================== test: lix:installcheck / functional-flakes-flake-metadata start time: 20:57:36 duration: 0.34s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/flake-metadata.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/flake-metadata +(init.sh:7) test -d /build/nix-test/flakes/flake-metadata +(init.sh:8) chmod -R u+w /build/nix-test/flakes/flake-metadata +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/flake-metadata +(init.sh:13) mkdir /build/nix-test/flakes/flake-metadata +(init.sh:15) mkdir /build/nix-test/flakes/flake-metadata/store +(init.sh:16) mkdir /build/nix-test/flakes/flake-metadata/var +(init.sh:17) mkdir -p /build/nix-test/flakes/flake-metadata/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/flake-metadata/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/flake-metadata/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/flake-metadata/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/flake-metadata/registry.json +(flake-metadata.sh:3) flakeDir=/build/nix-test/flakes/flake-metadata/flake +(flake-metadata.sh:4) mkdir -p /build/nix-test/flakes/flake-metadata/flake +(flake-metadata.sh:6) cat +(flake-metadata.sh:27) cp flake-metadata/flake.lock /build/nix-test/flakes/flake-metadata/flake +(flake-metadata.sh:28) touch -d @1000 /build/nix-test/flakes/flake-metadata/flake/flake.nix /build/nix-test/flakes/flake-metadata/flake/flake.lock /build/nix-test/flakes/flake-metadata/flake +(flake-metadata.sh:33) actualStore=/build/nix-test/flakes/flake-metadata/store +(flake-metadata.sh:34) unset NIX_STORE_DIR +(flake-metadata.sh:35) grep -v -e 'Locked URL:' -e 'Resolved URL:' +(flake-metadata.sh:35) NOCOLOR=1 +(flake-metadata.sh:35) TZ=UTC +(flake-metadata.sh:35) LC_ALL=C.UTF-8 +(flake-metadata.sh:35) nix flake metadata --store /build/nix-test/flakes/flake-metadata/store /build/nix-test/flakes/flake-metadata/flake warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/flake-metadata/flake' +(flake-metadata.sh:36) diff -u flake-metadata/metadata.out.expected /build/nix-test/flakes/flake-metadata/metadata.out.actual ============================================================================== =================================== 38/161 =================================== test: lix:installcheck / functional-flakes-follow-paths start time: 20:57:35 duration: 1.37s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=242 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/follow-paths.sh ----------------------------------- stdout ----------------------------------- Initialized empty Git repository in /build/nix-test/flakes/follow-paths/follows/flakeA/.git/ Resolved URL: git+file:///build/nix-test/flakes/follow-paths/follows/flakeA Locked URL: git+file:///build/nix-test/flakes/follow-paths/follows/flakeA Description: Flake A Path: /build/nix-test/flakes/follow-paths/store/4p9dxzrjd1nlcwm39prdsgdc7zkfbdxw-source Last modified: 1970-01-01 00:00:00 Inputs: ├───B: path:./flakeB?lastModified=1&narHash=sha256-V6QYJ6tAm6MreEV5n/UpK0jjalz4DHJ8/b%2BHxDmWVYk%3D │ Last modified: 1970-01-01 00:00:01 │ ├───C: path:./flakeC?lastModified=1&narHash=sha256-lplc6YMjfUR7GkDp4gTli/RwJ0f2CFiJGaKUfSui8wE%3D │ │ Last modified: 1970-01-01 00:00:01 │ │ ├───foobar follows input 'B/foobar' │ │ └───goodoo follows input 'B/C/foobar' │ ├───foobar follows input 'foobar' │ └───goodoo follows input 'B/C/goodoo' └───foobar: path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE?lastModified=1725915455&narHash=sha256-IO%2Bpf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk%3D Last modified: 2024-09-09 20:57:35 foobar error: relative path '../flakeB' points outside of its parent's store path '/build/nix-test/flakes/follow-paths/store/9ngi66c9b2xzcpfsvrd6wrxqf771g3yf-source' warning: input 'B' has an override for a non-existent input 'invalid' warning: input 'B' has an override for a non-existent input 'invalid2' Initialized empty Git repository in /build/nix-test/flakes/follow-paths/follows/overload/flakeA/.git/ Resolved URL: git+file:///build/nix-test/flakes/follow-paths/follows/overload/flakeA Locked URL: git+file:///build/nix-test/flakes/follow-paths/follows/overload/flakeA Description: Flake A Path: /build/nix-test/flakes/follow-paths/store/wq5x4nbyb3k5b9lkfxl868ww0d4nsb5d-source Last modified: 1970-01-01 00:00:00 Inputs: ├───B: path:./flakeB?lastModified=1&narHash=sha256-uEiIaE/Tfido7cCY856jk//YwAd3Efm03hgZ/ehjCAU%3D │ Last modified: 1970-01-01 00:00:01 │ ├───C follows input 'C' │ └───D follows input 'B/C/D' └───C: path:./flakeB/flakeC?lastModified=1&narHash=sha256-wPGooFw8SBNTDqsfaJhAKzZkJ39RCfWQHqPx4Flkxkc%3D Last modified: 1970-01-01 00:00:01 └───D: path:./flakeD?lastModified=1&narHash=sha256-m1d/J9xsj5IWV0Ixsk5hOFkGtmk/HOZVZPytZshrCqY%3D Last modified: 1970-01-01 00:00:01 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/follow-paths +(init.sh:7) test -d /build/nix-test/flakes/follow-paths +(init.sh:8) chmod -R u+w /build/nix-test/flakes/follow-paths +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/follow-paths +(init.sh:13) mkdir /build/nix-test/flakes/follow-paths +(init.sh:15) mkdir /build/nix-test/flakes/follow-paths/store +(init.sh:16) mkdir /build/nix-test/flakes/follow-paths/var +(init.sh:17) mkdir -p /build/nix-test/flakes/follow-paths/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/follow-paths/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/follow-paths/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/follow-paths/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/follow-paths/registry.json +(follow-paths.sh:3) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(follow-paths.sh:5) flakeFollowsA=/build/nix-test/flakes/follow-paths/follows/flakeA +(follow-paths.sh:6) flakeFollowsB=/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB +(follow-paths.sh:7) flakeFollowsC=/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC +(follow-paths.sh:8) flakeFollowsD=/build/nix-test/flakes/follow-paths/follows/flakeA/flakeD +(follow-paths.sh:9) flakeFollowsE=/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE +(follow-paths.sh:12) createGitRepo /build/nix-test/flakes/follow-paths/follows/flakeA +(./common.sh:61) local repo=/build/nix-test/flakes/follow-paths/follows/flakeA +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/follow-paths/follows/flakeA /build/nix-test/flakes/follow-paths/follows/flakeA.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/follow-paths/follows/flakeA +(./common.sh:67) git -C /build/nix-test/flakes/follow-paths/follows/flakeA init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/follow-paths/follows/flakeA config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/follow-paths/follows/flakeA config user.name Foobar +(follow-paths.sh:13) mkdir -p /build/nix-test/flakes/follow-paths/follows/flakeA/flakeB +(follow-paths.sh:14) mkdir -p /build/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC +(follow-paths.sh:15) mkdir -p /build/nix-test/flakes/follow-paths/follows/flakeA/flakeD +(follow-paths.sh:16) mkdir -p /build/nix-test/flakes/follow-paths/follows/flakeA/flakeE +(follow-paths.sh:18) cat +(follow-paths.sh:33) cat +(follow-paths.sh:48) cat +(follow-paths.sh:59) cat +(follow-paths.sh:67) cat +(follow-paths.sh:75) git -C /build/nix-test/flakes/follow-paths/follows/flakeA add flake.nix flakeB/flake.nix flakeB/flakeC/flake.nix flakeD/flake.nix flakeE/flake.nix +(follow-paths.sh:78) nix flake metadata /build/nix-test/flakes/follow-paths/follows/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty fetching path input 'path:./flakeB' fetching path input 'path:./flakeC' fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE' warning: creating lock file '/build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock': • Added input 'B': 'path:./flakeB?lastModified=1&narHash=sha256-V6QYJ6tAm6MreEV5n/UpK0jjalz4DHJ8/b%2BHxDmWVYk%3D' (1970-01-01) • Added input 'B/C': 'path:./flakeC?lastModified=1&narHash=sha256-lplc6YMjfUR7GkDp4gTli/RwJ0f2CFiJGaKUfSui8wE%3D' (1970-01-01) • Added input 'B/C/foobar': follows 'B/foobar' • Added input 'B/C/goodoo': follows 'B/C/foobar' • Added input 'B/foobar': follows 'foobar' • Added input 'B/goodoo': follows 'B/C/goodoo' • Added input 'foobar': 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE?lastModified=1725915455&narHash=sha256-IO%2Bpf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk%3D' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty +(follow-paths.sh:80) nix flake update --flake /build/nix-test/flakes/follow-paths/follows/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty fetching path input 'path:./flakeB' fetching path input 'path:./flakeC' fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE' +(follow-paths.sh:82) nix flake lock /build/nix-test/flakes/follow-paths/follows/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty ++(follow-paths.sh:84) cat /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:84) oldLock='{ "nodes": { "B": { "inputs": { "C": "C", "foobar": [ "foobar" ], "goodoo": [ "B", "C", "goodoo" ] }, "locked": { "lastModified": 1, "narHash": "sha256-V6QYJ6tAm6MreEV5n/UpK0jjalz4DHJ8/b+HxDmWVYk=", "path": "./flakeB", "type": "path" }, "original": { "path": "./flakeB", "type": "path" } }, "C": { "inputs": { "foobar": [ "B", "foobar" ], "goodoo": [ "B", "C", "foobar" ] }, "locked": { "lastModified": 1, "narHash": "sha256-lplc6YMjfUR7GkDp4gTli/RwJ0f2CFiJGaKUfSui8wE=", "path": "./flakeC", "type": "path" }, "original": { "path": "./flakeC", "type": "path" } }, "foobar": { "locked": { "lastModified": 1725915455, "narHash": "sha256-IO+pf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk=", "path": "/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE", "type": "path" }, "original": { "path": "/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE", "type": "path" } }, "root": { "inputs": { "B": "B", "foobar": "foobar" } } }, "root": "root", "version": 7 }' +(follow-paths.sh:88) nix flake lock /build/nix-test/flakes/follow-paths/follows/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty ++(follow-paths.sh:90) cat /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:90) newLock='{ "nodes": { "B": { "inputs": { "C": "C", "foobar": [ "foobar" ], "goodoo": [ "B", "C", "goodoo" ] }, "locked": { "lastModified": 1, "narHash": "sha256-V6QYJ6tAm6MreEV5n/UpK0jjalz4DHJ8/b+HxDmWVYk=", "path": "./flakeB", "type": "path" }, "original": { "path": "./flakeB", "type": "path" } }, "C": { "inputs": { "foobar": [ "B", "foobar" ], "goodoo": [ "B", "C", "foobar" ] }, "locked": { "lastModified": 1, "narHash": "sha256-lplc6YMjfUR7GkDp4gTli/RwJ0f2CFiJGaKUfSui8wE=", "path": "./flakeC", "type": "path" }, "original": { "path": "./flakeC", "type": "path" } }, "foobar": { "locked": { "lastModified": 1725915455, "narHash": "sha256-IO+pf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk=", "path": "/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE", "type": "path" }, "original": { "path": "/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE", "type": "path" } }, "root": { "inputs": { "B": "B", "foobar": "foobar" } } }, "root": "root", "version": 7 }' +(follow-paths.sh:92) diff /dev/fd/63 /dev/fd/62 ++(follow-paths.sh:92) echo '{ "nodes": { "B": { "inputs": { "C": "C", "foobar": [ "foobar" ], "goodoo": [ "B", "C", "goodoo" ] }, "locked": { "lastModified": 1, "narHash": "sha256-V6QYJ6tAm6MreEV5n/UpK0jjalz4DHJ8/b+HxDmWVYk=", "path": "./flakeB", "type": "path" }, "original": { "path": "./flakeB", "type": "path" } }, "C": { "inputs": { "foobar": [ "B", "foobar" ], "goodoo": [ "B", "C", "foobar" ] }, "locked": { "lastModified": 1, "narHash": "sha256-lplc6YMjfUR7GkDp4gTli/RwJ0f2CFiJGaKUfSui8wE=", "path": "./flakeC", "type": "path" }, "original": { "path": "./flakeC", "type": "path" } }, "foobar": { "locked": { "lastModified": 1725915455, "narHash": "sha256-IO+pf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk=", "path": "/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE", "type": "path" }, "original": { "path": "/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE", "type": "path" } }, "root": { "inputs": { "B": "B", "foobar": "foobar" } } }, "root": "root", "version": 7 }' ++(follow-paths.sh:92) echo '{ "nodes": { "B": { "inputs": { "C": "C", "foobar": [ "foobar" ], "goodoo": [ "B", "C", "goodoo" ] }, "locked": { "lastModified": 1, "narHash": "sha256-V6QYJ6tAm6MreEV5n/UpK0jjalz4DHJ8/b+HxDmWVYk=", "path": "./flakeB", "type": "path" }, "original": { "path": "./flakeB", "type": "path" } }, "C": { "inputs": { "foobar": [ "B", "foobar" ], "goodoo": [ "B", "C", "foobar" ] }, "locked": { "lastModified": 1, "narHash": "sha256-lplc6YMjfUR7GkDp4gTli/RwJ0f2CFiJGaKUfSui8wE=", "path": "./flakeC", "type": "path" }, "original": { "path": "./flakeC", "type": "path" } }, "foobar": { "locked": { "lastModified": 1725915455, "narHash": "sha256-IO+pf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk=", "path": "/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE", "type": "path" }, "original": { "path": "/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE", "type": "path" } }, "root": { "inputs": { "B": "B", "foobar": "foobar" } } }, "root": "root", "version": 7 }' ++(follow-paths.sh:94) jq -c .nodes.B.inputs.C /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:94) [[ "C" = \"\C\" ]] ++(follow-paths.sh:95) jq -c .nodes.B.inputs.foobar /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:95) [[ ["foobar"] = \[\"\f\o\o\b\a\r\"\] ]] ++(follow-paths.sh:96) jq -c .nodes.C.inputs.foobar /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:96) [[ ["B","foobar"] = \[\"\B\"\,\"\f\o\o\b\a\r\"\] ]] +(follow-paths.sh:100) cat +(follow-paths.sh:113) nix flake lock /build/nix-test/flakes/follow-paths/follows/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE' fetching path input 'path:./flakeD' warning: updating lock file '/build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock': • Updated input 'B/foobar': follows 'foobar' → 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeE?lastModified=1725915455&narHash=sha256-IO%2Bpf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk%3D' (2024-09-09) • Added input 'D': 'path:./flakeD?lastModified=1&narHash=sha256-m1d/J9xsj5IWV0Ixsk5hOFkGtmk/HOZVZPytZshrCqY%3D' (1970-01-01) • Removed input 'foobar' fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty ++(follow-paths.sh:115) jq -c .nodes.B.inputs.foobar /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:115) [[ "foobar" = \"\f\o\o\b\a\r\" ]] +(follow-paths.sh:116) jq -r -c '.nodes | keys | .[]' /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:116) grep '^foobar$' +(follow-paths.sh:119) cat +(follow-paths.sh:129) git -C /build/nix-test/flakes/follow-paths/follows/flakeA add flake.nix +(follow-paths.sh:131) expect 1 nix flake lock /build/nix-test/flakes/follow-paths/follows/flakeA +(follow-paths.sh:131) grep 'points outside' +(follow-paths.sh:134) cat +(follow-paths.sh:147) git -C /build/nix-test/flakes/follow-paths/follows/flakeA add flake.nix +(follow-paths.sh:149) nix flake lock /build/nix-test/flakes/follow-paths/follows/flakeA +(follow-paths.sh:149) grep 'warning: input '\''B'\'' has an override for a non-existent input '\''invalid'\''' +(follow-paths.sh:150) nix flake lock /build/nix-test/flakes/follow-paths/follows/flakeA +(follow-paths.sh:150) grep 'warning: input '\''B'\'' has an override for a non-existent input '\''invalid2'\''' +(follow-paths.sh:172) flakeFollowsOverloadA=/build/nix-test/flakes/follow-paths/follows/overload/flakeA +(follow-paths.sh:173) flakeFollowsOverloadB=/build/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB +(follow-paths.sh:174) flakeFollowsOverloadC=/build/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB/flakeC +(follow-paths.sh:175) flakeFollowsOverloadD=/build/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB/flakeC/flakeD +(follow-paths.sh:178) createGitRepo /build/nix-test/flakes/follow-paths/follows/overload/flakeA +(./common.sh:61) local repo=/build/nix-test/flakes/follow-paths/follows/overload/flakeA +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/follow-paths/follows/overload/flakeA /build/nix-test/flakes/follow-paths/follows/overload/flakeA.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/follow-paths/follows/overload/flakeA +(./common.sh:67) git -C /build/nix-test/flakes/follow-paths/follows/overload/flakeA init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/follow-paths/follows/overload/flakeA config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/follow-paths/follows/overload/flakeA config user.name Foobar +(follow-paths.sh:179) mkdir -p /build/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB +(follow-paths.sh:180) mkdir -p /build/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB/flakeC +(follow-paths.sh:181) mkdir -p /build/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB/flakeC/flakeD +(follow-paths.sh:183) cat +(follow-paths.sh:191) cat +(follow-paths.sh:199) cat +(follow-paths.sh:213) cat +(follow-paths.sh:227) git -C /build/nix-test/flakes/follow-paths/follows/overload/flakeA add flake.nix flakeB/flake.nix flakeB/flakeC/flake.nix flakeB/flakeC/flakeD/flake.nix +(follow-paths.sh:230) nix flake metadata /build/nix-test/flakes/follow-paths/follows/overload/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/overload/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/overload/flakeA' is dirty fetching path input 'path:./flakeB' fetching path input 'path:./flakeB/flakeC' fetching path input 'path:./flakeD' warning: creating lock file '/build/nix-test/flakes/follow-paths/follows/overload/flakeA/flake.lock': • Added input 'B': 'path:./flakeB?lastModified=1&narHash=sha256-uEiIaE/Tfido7cCY856jk//YwAd3Efm03hgZ/ehjCAU%3D' (1970-01-01) • Added input 'B/C': follows 'C' • Added input 'B/D': follows 'B/C/D' • Added input 'C': 'path:./flakeB/flakeC?lastModified=1&narHash=sha256-wPGooFw8SBNTDqsfaJhAKzZkJ39RCfWQHqPx4Flkxkc%3D' (1970-01-01) • Added input 'C/D': 'path:./flakeD?lastModified=1&narHash=sha256-m1d/J9xsj5IWV0Ixsk5hOFkGtmk/HOZVZPytZshrCqY%3D' (1970-01-01) fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/overload/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/overload/flakeA' is dirty +(follow-paths.sh:231) nix flake update --flake /build/nix-test/flakes/follow-paths/follows/overload/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/overload/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/overload/flakeA' is dirty fetching path input 'path:./flakeB' fetching path input 'path:./flakeB/flakeC' fetching path input 'path:./flakeD' +(follow-paths.sh:232) nix flake lock /build/nix-test/flakes/follow-paths/follows/overload/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/overload/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/overload/flakeA' is dirty +(follow-paths.sh:236) cat +(follow-paths.sh:239) cat +(follow-paths.sh:245) cat +(follow-paths.sh:251) cat +(follow-paths.sh:260) nix flake lock /build/nix-test/flakes/follow-paths/follows/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB' fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC' fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeD' warning: updating lock file '/build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock': • Updated input 'B': 'path:./flakeB?lastModified=1&narHash=sha256-V6QYJ6tAm6MreEV5n/UpK0jjalz4DHJ8/b%2BHxDmWVYk%3D' (1970-01-01) → 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB?lastModified=1725915456&narHash=sha256-s88XF9PY/ewZkYztjjJ2oaX%2B/4KWTHcRIoqxUaUbpdk%3D' (2024-09-09) • Updated input 'B/C': 'path:./flakeC?lastModified=1&narHash=sha256-lplc6YMjfUR7GkDp4gTli/RwJ0f2CFiJGaKUfSui8wE%3D' (1970-01-01) → 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC?lastModified=1725915456&narHash=sha256-v7kltKMtZI3qwEfg/qZGE48Hy4rHvC0K%2BuPyd9YyMco%3D' (2024-09-09) • Added input 'B/C/D': follows 'D' • Removed input 'B/C/foobar' • Removed input 'B/C/goodoo' • Removed input 'B/foobar' • Removed input 'B/goodoo' • Updated input 'D': 'path:./flakeD?lastModified=1&narHash=sha256-m1d/J9xsj5IWV0Ixsk5hOFkGtmk/HOZVZPytZshrCqY%3D' (1970-01-01) → 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeD?lastModified=1725915456&narHash=sha256-hTJPMh9Bwky2TlaWmLrkBHdUBmpxSCPRK%2BbmnFNpNQE%3D' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty ++(follow-paths.sh:262) jq -c .nodes.C.inputs.D /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:262) [[ ["D"] = \[\"\D\"\] ]] +(follow-paths.sh:266) cat +(follow-paths.sh:272) cat +(follow-paths.sh:280) cat +(follow-paths.sh:290) nix flake update --flake /build/nix-test/flakes/follow-paths/follows/flakeA warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB' fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC' fetching path input 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeD' warning: updating lock file '/build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock': • Updated input 'B': 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB?lastModified=1725915456&narHash=sha256-s88XF9PY/ewZkYztjjJ2oaX%2B/4KWTHcRIoqxUaUbpdk%3D' (2024-09-09) → 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB?lastModified=1725915456&narHash=sha256-KCYz0AqbmuIVwWeN19OodPz8gNDiTYP/JiF0CJwrOS8%3D' (2024-09-09) • Updated input 'B/C': 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC?lastModified=1725915456&narHash=sha256-v7kltKMtZI3qwEfg/qZGE48Hy4rHvC0K%2BuPyd9YyMco%3D' (2024-09-09) → follows 'C' • Removed input 'B/C/D' • Added input 'B/D': follows 'B/C/D' • Added input 'C': 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC?lastModified=1725915456&narHash=sha256-WqEllqdLNzEb%2B4Z6p9pE1Mi/i71aX8t17tu4z/gI3s8%3D' (2024-09-09) • Added input 'C/D': 'path:/build/nix-test/flakes/follow-paths/follows/flakeA/flakeD?lastModified=1725915456&narHash=sha256-hTJPMh9Bwky2TlaWmLrkBHdUBmpxSCPRK%2BbmnFNpNQE%3D' (2024-09-09) • Removed input 'D' fetching git input 'git+file:///build/nix-test/flakes/follow-paths/follows/flakeA' warning: Git tree '/build/nix-test/flakes/follow-paths/follows/flakeA' is dirty ++(follow-paths.sh:292) jq -c .nodes.B.inputs.D /build/nix-test/flakes/follow-paths/follows/flakeA/flake.lock +(follow-paths.sh:292) [[ ["B","C","D"] = \[\"\B\"\,\"\C\"\,\"\D\"\] ]] +(follow-paths.sh:294) cat +(follow-paths.sh:302) cat +(follow-paths.sh:309) grepQuiet 'warning: input '\''B/C'\'' has an override for a non-existent input '\''E'\''' +(follow-paths.sh:309) nix flake update --flake /build/nix-test/flakes/follow-paths/follows/flakeA +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'warning: input '\''B/C'\'' has an override for a non-existent input '\''E'\''' ============================================================================== =================================== 39/161 =================================== test: lix:installcheck / functional-ca-signatures start time: 20:57:32 duration: 4.06s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=183 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ca/signatures.sh ----------------------------------- stdout ----------------------------------- clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ca/signatures +(init.sh:7) test -d /build/nix-test/ca/signatures +(init.sh:8) chmod -R u+w /build/nix-test/ca/signatures +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ca/signatures +(init.sh:13) mkdir /build/nix-test/ca/signatures +(init.sh:15) mkdir /build/nix-test/ca/signatures/store +(init.sh:16) mkdir /build/nix-test/ca/signatures/var +(init.sh:17) mkdir -p /build/nix-test/ca/signatures/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ca/signatures/var/nix +(init.sh:19) mkdir /build/nix-test/ca/signatures/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ca/signatures/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) enableFeatures ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations ++(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/ca/signatures/etc/nix.conf ++(common.sh:5) restartDaemon ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(signatures.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:4) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/ca/signatures/binary-cache +(signatures.sh:6) nix-store --generate-binary-cache-key cache1.example.org /build/nix-test/ca/signatures/sk1 /build/nix-test/ca/signatures/pk1 ++(signatures.sh:7) cat /build/nix-test/ca/signatures/pk1 +(signatures.sh:7) pk1=cache1.example.org:Yq8FZB/77hLH63Q/Nj/+oFh7JHdXohx3okgnyS+eE2c= +(signatures.sh:9) export REMOTE_STORE_DIR=/build/nix-test/ca/signatures/remote_store +(signatures.sh:9) REMOTE_STORE_DIR=/build/nix-test/ca/signatures/remote_store +(signatures.sh:10) export REMOTE_STORE=file:///build/nix-test/ca/signatures/remote_store +(signatures.sh:10) REMOTE_STORE=file:///build/nix-test/ca/signatures/remote_store +(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(signatures.sh:35) testOneCopy rootCA +(signatures.sh:18) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:19) rm -rf /build/nix-test/ca/signatures/remote_store +(signatures.sh:21) attrPath=rootCA +(signatures.sh:22) nix copy -vvvv --to file:///build/nix-test/ca/signatures/remote_store rootCA --file ./content-addressed.nix --secret-key-files /build/nix-test/ca/signatures/sk1 --show-trace warning: you don't have Internet access; disabling some network-dependent features evaluating file '/build/source/build/tests/functional/ca/content-addressed.nix' evaluating file '/build/source/build/tests/functional/ca/config.nix' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' acquiring write lock on '/build/nix-test/ca/signatures/var/nix/temproots/4621' locking path '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock acquired on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' lock released on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock acquired on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' lock released on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' processing attribute 'buildCommand' processing attribute 'builder' processing attribute 'name' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' lock acquired on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' lock released on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' instantiated 'simple-input-addressed' -> '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'outputs' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' instantiated 'rootCA' -> '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' querying info about missing paths... starting pool of 24 threads these 2 derivations will be built: /build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv /build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: created building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: woken up querying info about missing paths... starting pool of 24 threads entered goal loop building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: init building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' lock acquired on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' removing invalid path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' starting build hook '/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix __build-remote' cannot find machines file '/build/nix-test/ca/signatures/etc/machines' got 0 remote builders hook reply is 'decline-permanently' killing process 4652 building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='set -x echo "Building a legacy derivation" mkdir -p $out echo "Hello World" > $out/hello ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='simple-input-addressed' setting builder env variable 'out'='/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 172 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 22 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: build done killing process 4702 builder process for '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock released on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: all inputs realised Rewriting the derivation rewriting /0cb4ndl4qz20krp2cii2pbjwywajclnv9qd637lbm7hz18r9frg2 as /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: created building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: init building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building a CA derivation" echo "The seed is 0" mkdir -p $out echo /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed/hello > $out/dep ln -s $out $out/self # test symlinks at root ln -s $out $dev ln -s $out $foo ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz' setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5' setting builder env variable 'name'='rootCA' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'outputs'='out dev foo' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: read 39 bytes waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: build done killing process 4719 builder process for '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' finished scanning for references for output 'dev' in temp location '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'foo' in temp location '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA' found reference to '3v5pfjnf1wp68ypdikgbr04paa90g0jb' at offset '36' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA'; cross fingers locking path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock acquired on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' referenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers locking path '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' lock acquired on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers locking path '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' lock acquired on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: done building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^dev,foo,out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^dev,foo,out' from .drv file: goal destroyed starting pool of 7 threads querying info about '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' on 'file:///build/nix-test/ca/signatures/remote_store'... reaping 3 worker threads copying 4 paths... starting pool of 7 threads copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' (296 bytes, compressed 40.5% in 61 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' (648 bytes, compressed 51.9% in 60 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' (192 bytes, compressed -2.1% in 49 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' (192 bytes, compressed -2.1% in 90 ms) to binary cache reaping 3 worker threads starting pool of 7 threads reaping 3 worker threads +(signatures.sh:25) ensureCorrectlyCopied rootCA +(signatures.sh:13) attrPath=rootCA +(signatures.sh:14) nix build --store file:///build/nix-test/ca/signatures/remote_store --file ./content-addressed.nix rootCA warning: you don't have Internet access; disabling some network-dependent features +(signatures.sh:28) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:29) nix copy --from file:///build/nix-test/ca/signatures/remote_store --file ./content-addressed.nix rootCA --trusted-public-keys cache1.example.org:Yq8FZB/77hLH63Q/Nj/+oFh7JHdXohx3okgnyS+eE2c= warning: you don't have Internet access; disabling some network-dependent features copying 4 paths... copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' from 'file:///build/nix-test/ca/signatures/remote_store'... +(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(signatures.sh:35) testOneCopy dependentCA +(signatures.sh:18) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:19) rm -rf /build/nix-test/ca/signatures/remote_store +(signatures.sh:21) attrPath=dependentCA +(signatures.sh:22) nix copy -vvvv --to file:///build/nix-test/ca/signatures/remote_store dependentCA --file ./content-addressed.nix --secret-key-files /build/nix-test/ca/signatures/sk1 --show-trace warning: you don't have Internet access; disabling some network-dependent features evaluating file '/build/source/build/tests/functional/ca/content-addressed.nix' evaluating file '/build/source/build/tests/functional/ca/config.nix' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' acquiring write lock on '/build/nix-test/ca/signatures/var/nix/temproots/5135' locking path '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' lock acquired on '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh.lock' lock released on '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock acquired on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' lock released on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock acquired on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' lock released on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' processing attribute 'buildCommand' processing attribute 'builder' processing attribute 'name' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' lock acquired on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' lock released on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' instantiated 'simple-input-addressed' -> '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'outputs' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' instantiated 'rootCA' -> '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv' lock acquired on '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv.lock' lock released on '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv.lock' instantiated 'dependent' -> '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv' querying info about missing paths... starting pool of 24 threads these 3 derivations will be built: /build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv /build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv /build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up querying info about missing paths... starting pool of 24 threads entered goal loop building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' lock acquired on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' removing invalid path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' starting build hook '/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix __build-remote' cannot find machines file '/build/nix-test/ca/signatures/etc/machines' got 0 remote builders hook reply is 'decline-permanently' killing process 5171 building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='set -x echo "Building a legacy derivation" mkdir -p $out echo "Hello World" > $out/hello ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='simple-input-addressed' setting builder env variable 'out'='/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 172 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 22 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: build done killing process 5233 builder process for '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock released on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /0cb4ndl4qz20krp2cii2pbjwywajclnv9qd637lbm7hz18r9frg2 as /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building a CA derivation" echo "The seed is 0" mkdir -p $out echo /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed/hello > $out/dep ln -s $out $out/self # test symlinks at root ln -s $out $dev ln -s $out $foo ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz' setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5' setting builder env variable 'name'='rootCA' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'outputs'='out dev foo' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: read 25 bytes waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: read 14 bytes waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: build done killing process 5243 builder process for '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' finished scanning for references for output 'dev' in temp location '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'foo' in temp location '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA' found reference to '3v5pfjnf1wp68ypdikgbr04paa90g0jb' at offset '36' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA'; cross fingers locking path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock acquired on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' referenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers locking path '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' lock acquired on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers locking path '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' lock acquired on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /1485q5xny1mwnqj0yn5gakkrj67gdnm5y65dwv81djj9vxqa7mgp as /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA locking path '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv' lock acquired on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.lock' lock released on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh', '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building a dependent derivation" mkdir -p $out cat /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA/self/dep echo /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA/self/dep > $out/dep ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='dependent' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: read 32 bytes waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: read 98 bytes waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: build done killing process 5269 builder process for '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/94imvgjpzl1rqzbl2cps7akciz3x4j16-dependent' found reference to 'yy5b88132z0zas133jfx8apn048vrrnh' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/94imvgjpzl1rqzbl2cps7akciz3x4j16-dependent'; cross fingers locking path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' lock acquired on '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' referenced input: '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock released on '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent.lock' lock released on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: goal destroyed starting pool of 7 threads querying info about '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' on 'file:///build/nix-test/ca/signatures/remote_store'... reaping 2 worker threads copying 3 paths... starting pool of 7 threads copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' (296 bytes, compressed 40.5% in 59 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' (648 bytes, compressed 51.9% in 61 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' (368 bytes, compressed 34.8% in 50 ms) to binary cache reaping 2 worker threads starting pool of 7 threads reaping 2 worker threads +(signatures.sh:25) ensureCorrectlyCopied dependentCA +(signatures.sh:13) attrPath=dependentCA +(signatures.sh:14) nix build --store file:///build/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentCA warning: you don't have Internet access; disabling some network-dependent features +(signatures.sh:28) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:29) nix copy --from file:///build/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentCA --trusted-public-keys cache1.example.org:Yq8FZB/77hLH63Q/Nj/+oFh7JHdXohx3okgnyS+eE2c= warning: you don't have Internet access; disabling some network-dependent features copying 3 paths... copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' from 'file:///build/nix-test/ca/signatures/remote_store'... +(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(signatures.sh:35) testOneCopy transitivelyDependentCA +(signatures.sh:18) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:19) rm -rf /build/nix-test/ca/signatures/remote_store +(signatures.sh:21) attrPath=transitivelyDependentCA +(signatures.sh:22) nix copy -vvvv --to file:///build/nix-test/ca/signatures/remote_store transitivelyDependentCA --file ./content-addressed.nix --secret-key-files /build/nix-test/ca/signatures/sk1 --show-trace warning: you don't have Internet access; disabling some network-dependent features evaluating file '/build/source/build/tests/functional/ca/content-addressed.nix' evaluating file '/build/source/build/tests/functional/ca/config.nix' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' acquiring write lock on '/build/nix-test/ca/signatures/var/nix/temproots/5718' locking path '/build/nix-test/ca/signatures/store/miwff8s6cvwmrhszd8dpq24slplvksdz-builder-transitively-dependent.sh' lock acquired on '/build/nix-test/ca/signatures/store/miwff8s6cvwmrhszd8dpq24slplvksdz-builder-transitively-dependent.sh.lock' lock released on '/build/nix-test/ca/signatures/store/miwff8s6cvwmrhszd8dpq24slplvksdz-builder-transitively-dependent.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' lock acquired on '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh.lock' lock released on '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock acquired on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' lock released on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock acquired on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' lock released on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' processing attribute 'buildCommand' processing attribute 'builder' processing attribute 'name' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' lock acquired on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' lock released on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' instantiated 'simple-input-addressed' -> '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'outputs' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' instantiated 'rootCA' -> '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv' lock acquired on '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv.lock' lock released on '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv.lock' instantiated 'dependent' -> '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv' lock acquired on '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv.lock' lock released on '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv.lock' instantiated 'transitively-dependent' -> '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv' querying info about missing paths... starting pool of 24 threads these 4 derivations will be built: /build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv /build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv /build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv /build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: woken up querying info about missing paths... starting pool of 24 threads entered goal loop building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' lock acquired on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' removing invalid path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' starting build hook '/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix __build-remote' cannot find machines file '/build/nix-test/ca/signatures/etc/machines' got 0 remote builders hook reply is 'decline-permanently' killing process 5750 building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='set -x echo "Building a legacy derivation" mkdir -p $out echo "Hello World" > $out/hello ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='simple-input-addressed' setting builder env variable 'out'='/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 172 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 22 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: build done killing process 5809 builder process for '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock released on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /0cb4ndl4qz20krp2cii2pbjwywajclnv9qd637lbm7hz18r9frg2 as /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building a CA derivation" echo "The seed is 0" mkdir -p $out echo /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed/hello > $out/dep ln -s $out $out/self # test symlinks at root ln -s $out $dev ln -s $out $foo ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz' setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5' setting builder env variable 'name'='rootCA' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'outputs'='out dev foo' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: read 39 bytes waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: build done killing process 5820 builder process for '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' finished scanning for references for output 'dev' in temp location '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'foo' in temp location '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA' found reference to '3v5pfjnf1wp68ypdikgbr04paa90g0jb' at offset '36' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA'; cross fingers locking path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock acquired on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' referenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers locking path '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' lock acquired on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers locking path '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' lock acquired on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /1485q5xny1mwnqj0yn5gakkrj67gdnm5y65dwv81djj9vxqa7mgp as /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA locking path '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv' lock acquired on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.lock' lock released on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh', '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building a dependent derivation" mkdir -p $out cat /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA/self/dep echo /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA/self/dep > $out/dep ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='dependent' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: read 32 bytes waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: read 98 bytes waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: build done killing process 5838 builder process for '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/94imvgjpzl1rqzbl2cps7akciz3x4j16-dependent' found reference to 'yy5b88132z0zas133jfx8apn048vrrnh' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/94imvgjpzl1rqzbl2cps7akciz3x4j16-dependent'; cross fingers locking path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' lock acquired on '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' referenced input: '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock released on '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent.lock' lock released on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /04awkrdjjn8wchi7ff635gpaw2zrjs04j6jgy2nq5z07hb443qb7 as /build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent locking path '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv' lock acquired on '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv.lock' lock released on '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv.lock' building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent', '/build/nix-test/ca/signatures/store/miwff8s6cvwmrhszd8dpq24slplvksdz-builder-transitively-dependent.sh', '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv.out.lock' building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/miwff8s6cvwmrhszd8dpq24slplvksdz-builder-transitively-dependent.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building transitively-dependent" cat /build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent/dep echo /build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent > $out ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='transitively-dependent' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: read 32 bytes waiting for children building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: read 85 bytes waiting for children building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: build done killing process 5867 builder process for '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/857fv5c6qazncpyh78svxl8hrgv15g06-transitively-dependent' found reference to 'mf1ah65hqfvxb27l9rl162fzkfhqvk6n' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/857fv5c6qazncpyh78svxl8hrgv15g06-transitively-dependent'; cross fingers locking path '/build/nix-test/ca/signatures/store/w7z6k96z40k527yqbfbz8a4yksd2lvgi-transitively-dependent' lock acquired on '/build/nix-test/ca/signatures/store/w7z6k96z40k527yqbfbz8a4yksd2lvgi-transitively-dependent.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' referenced input: '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' unreferenced input: '/build/nix-test/ca/signatures/store/miwff8s6cvwmrhszd8dpq24slplvksdz-builder-transitively-dependent.sh' unreferenced input: '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock released on '/build/nix-test/ca/signatures/store/w7z6k96z40k527yqbfbz8a4yksd2lvgi-transitively-dependent.lock' lock released on '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv.out.lock' building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/hs4ncmwwz0p1s6angnjgq1rbawfraynd-transitively-dependent.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/r16n9ncg4ssafqswykgw39x56f6d98ac-transitively-dependent.drv^out' from .drv file: goal destroyed starting pool of 7 threads querying info about '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/w7z6k96z40k527yqbfbz8a4yksd2lvgi-transitively-dependent' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' on 'file:///build/nix-test/ca/signatures/remote_store'... reaping 3 worker threads copying 4 paths... starting pool of 7 threads copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' (296 bytes, compressed 40.5% in 65 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' (648 bytes, compressed 51.9% in 61 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' (368 bytes, compressed 34.8% in 50 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/w7z6k96z40k527yqbfbz8a4yksd2lvgi-transitively-dependent' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/w7z6k96z40k527yqbfbz8a4yksd2lvgi-transitively-dependent' (192 bytes, compressed -2.1% in 46 ms) to binary cache reaping 3 worker threads starting pool of 7 threads reaping 3 worker threads +(signatures.sh:25) ensureCorrectlyCopied transitivelyDependentCA +(signatures.sh:13) attrPath=transitivelyDependentCA +(signatures.sh:14) nix build --store file:///build/nix-test/ca/signatures/remote_store --file ./content-addressed.nix transitivelyDependentCA warning: you don't have Internet access; disabling some network-dependent features +(signatures.sh:28) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:29) nix copy --from file:///build/nix-test/ca/signatures/remote_store --file ./content-addressed.nix transitivelyDependentCA --trusted-public-keys cache1.example.org:Yq8FZB/77hLH63Q/Nj/+oFh7JHdXohx3okgnyS+eE2c= warning: you don't have Internet access; disabling some network-dependent features copying 4 paths... copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/w7z6k96z40k527yqbfbz8a4yksd2lvgi-transitively-dependent' from 'file:///build/nix-test/ca/signatures/remote_store'... +(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(signatures.sh:35) testOneCopy dependentNonCA +(signatures.sh:18) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:19) rm -rf /build/nix-test/ca/signatures/remote_store +(signatures.sh:21) attrPath=dependentNonCA +(signatures.sh:22) nix copy -vvvv --to file:///build/nix-test/ca/signatures/remote_store dependentNonCA --file ./content-addressed.nix --secret-key-files /build/nix-test/ca/signatures/sk1 --show-trace warning: you don't have Internet access; disabling some network-dependent features evaluating file '/build/source/build/tests/functional/ca/content-addressed.nix' evaluating file '/build/source/build/tests/functional/ca/config.nix' processing attribute 'PATH' processing attribute 'args' acquiring write lock on '/build/nix-test/ca/signatures/var/nix/temproots/6572' locking path '/build/nix-test/ca/signatures/store/pn3r4x0zx72xjivxwp42hx0rf02ixlpz-builder-dependent-non-ca.sh' lock acquired on '/build/nix-test/ca/signatures/store/pn3r4x0zx72xjivxwp42hx0rf02ixlpz-builder-dependent-non-ca.sh.lock' lock released on '/build/nix-test/ca/signatures/store/pn3r4x0zx72xjivxwp42hx0rf02ixlpz-builder-dependent-non-ca.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock acquired on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' lock released on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock acquired on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' lock released on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' processing attribute 'buildCommand' processing attribute 'builder' processing attribute 'name' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' lock acquired on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' lock released on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' instantiated 'simple-input-addressed' -> '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'outputs' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' instantiated 'rootCA' -> '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv' lock acquired on '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv.lock' lock released on '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv.lock' instantiated 'dependent-non-ca' -> '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv' querying info about missing paths... starting pool of 24 threads these 3 derivations will be built: /build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv /build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv /build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: woken up querying info about missing paths... starting pool of 24 threads entered goal loop building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' lock acquired on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' removing invalid path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' starting build hook '/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix __build-remote' cannot find machines file '/build/nix-test/ca/signatures/etc/machines' got 0 remote builders hook reply is 'decline-permanently' killing process 6596 building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='set -x echo "Building a legacy derivation" mkdir -p $out echo "Hello World" > $out/hello ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='simple-input-addressed' setting builder env variable 'out'='/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 172 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 22 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: build done killing process 6640 builder process for '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock released on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /0cb4ndl4qz20krp2cii2pbjwywajclnv9qd637lbm7hz18r9frg2 as /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building a CA derivation" echo "The seed is 0" mkdir -p $out echo /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed/hello > $out/dep ln -s $out $out/self # test symlinks at root ln -s $out $dev ln -s $out $foo ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz' setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5' setting builder env variable 'name'='rootCA' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'outputs'='out dev foo' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: read 39 bytes waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: build done killing process 6656 builder process for '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' finished scanning for references for output 'dev' in temp location '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'foo' in temp location '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA' found reference to '3v5pfjnf1wp68ypdikgbr04paa90g0jb' at offset '36' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA'; cross fingers locking path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock acquired on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' referenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers locking path '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' lock acquired on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers locking path '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' lock acquired on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /1485q5xny1mwnqj0yn5gakkrj67gdnm5y65dwv81djj9vxqa7mgp as /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA locking path '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv' lock acquired on '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv.lock' lock released on '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv.lock' building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/pn3r4x0zx72xjivxwp42hx0rf02ixlpz-builder-dependent-non-ca.sh', '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca' lock acquired on '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca.lock' removing invalid path '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca' building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/pn3r4x0zx72xjivxwp42hx0rf02ixlpz-builder-dependent-non-ca.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "Didn't cut-off" echo "building dependent-non-ca" mkdir -p $out echo /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA/non-ca-hello > $out/dep ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='dependent-non-ca' setting builder env variable 'out'='/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: read 41 bytes waiting for children building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: build done killing process 6685 builder process for '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca' found reference to 'yy5b88132z0zas133jfx8apn048vrrnh' at offset '36' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/pn3r4x0zx72xjivxwp42hx0rf02ixlpz-builder-dependent-non-ca.sh' referenced input: '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock released on '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca.lock' building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/0jspws8gdxzc0si994x7xz6inkl5qmgj-dependent-non-ca.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/awpbizz6ifp3i3fvzp7g95hrmdma7xi0-dependent-non-ca.drv^out' from .drv file: goal destroyed starting pool of 7 threads querying info about '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' on 'file:///build/nix-test/ca/signatures/remote_store'... querying info about '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' on 'file:///build/nix-test/ca/signatures/remote_store'... reaping 2 worker threads copying 3 paths... starting pool of 7 threads copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' (296 bytes, compressed 40.5% in 67 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' (648 bytes, compressed 51.9% in 69 ms) to binary cache copying path '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca' to 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca' (376 bytes, compressed 35.1% in 52 ms) to binary cache reaping 2 worker threads starting pool of 7 threads reaping 2 worker threads +(signatures.sh:25) ensureCorrectlyCopied dependentNonCA +(signatures.sh:13) attrPath=dependentNonCA +(signatures.sh:14) nix build --store file:///build/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentNonCA warning: you don't have Internet access; disabling some network-dependent features +(signatures.sh:28) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:29) nix copy --from file:///build/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentNonCA --trusted-public-keys cache1.example.org:Yq8FZB/77hLH63Q/Nj/+oFh7JHdXohx3okgnyS+eE2c= warning: you don't have Internet access; disabling some network-dependent features copying 3 paths... copying path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' from 'file:///build/nix-test/ca/signatures/remote_store'... copying path '/build/nix-test/ca/signatures/store/lslhi5jqj8rf7f9zzqssg5jbwsyh1dd2-dependent-non-ca' from 'file:///build/nix-test/ca/signatures/remote_store'... +(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput +(signatures.sh:35) testOneCopy dependentFixedOutput +(signatures.sh:18) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/ca/signatures/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/ca/signatures/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/ca/signatures/test-home/.local/state/nix/profiles +(signatures.sh:19) rm -rf /build/nix-test/ca/signatures/remote_store +(signatures.sh:21) attrPath=dependentFixedOutput +(signatures.sh:22) nix copy -vvvv --to file:///build/nix-test/ca/signatures/remote_store dependentFixedOutput --file ./content-addressed.nix --secret-key-files /build/nix-test/ca/signatures/sk1 --show-trace warning: you don't have Internet access; disabling some network-dependent features evaluating file '/build/source/build/tests/functional/ca/content-addressed.nix' evaluating file '/build/source/build/tests/functional/ca/config.nix' processing attribute 'PATH' processing attribute 'args' acquiring write lock on '/build/nix-test/ca/signatures/var/nix/temproots/7262' locking path '/build/nix-test/ca/signatures/store/m2ijjhnyx7yzbic0f2qmbqxvvbqmy9qx-builder-dependent-fixed-output.sh' lock acquired on '/build/nix-test/ca/signatures/store/m2ijjhnyx7yzbic0f2qmbqxvvbqmy9qx-builder-dependent-fixed-output.sh.lock' lock released on '/build/nix-test/ca/signatures/store/m2ijjhnyx7yzbic0f2qmbqxvvbqmy9qx-builder-dependent-fixed-output.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' lock acquired on '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh.lock' lock released on '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute '__contentAddressed' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock acquired on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' lock released on '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh.lock' processing attribute 'buildCommand' processing attribute 'PATH' processing attribute 'args' locking path '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock acquired on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' lock released on '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh.lock' processing attribute 'buildCommand' processing attribute 'builder' processing attribute 'name' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' lock acquired on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' lock released on '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv.lock' instantiated 'simple-input-addressed' -> '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'outputs' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv.lock' instantiated 'rootCA' -> '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv' lock acquired on '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv.lock' lock released on '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv.lock' instantiated 'dependent' -> '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv' processing attribute 'builder' processing attribute 'name' processing attribute 'outputHash' processing attribute 'outputHashMode' processing attribute 'system' locking path '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv' lock acquired on '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv.lock' lock released on '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv.lock' instantiated 'dependent-fixed-output' -> '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv' querying info about missing paths... starting pool of 24 threads these 4 derivations will be built: /build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv /build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv /build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv /build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: woken up querying info about missing paths... starting pool of 24 threads entered goal loop building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' lock acquired on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' removing invalid path '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' starting build hook '/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix __build-remote' cannot find machines file '/build/nix-test/ca/signatures/etc/machines' got 0 remote builders hook reply is 'decline-permanently' killing process 7299 building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='set -x echo "Building a legacy derivation" mkdir -p $out echo "Hello World" > $out/hello ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='simple-input-addressed' setting builder env variable 'out'='/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 172 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: read 22 bytes waiting for children building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: build done killing process 7391 builder process for '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/q2dbcd645chr6xfrmnjsh79kbvgiqab2-builder-simple-input-addressed.sh' lock released on '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed.lock' building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/xm349fmv3cszvbbkcidpdldwyzixj327-simple-input-addressed.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /0cb4ndl4qz20krp2cii2pbjwywajclnv9qd637lbm7hz18r9frg2 as /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' locking path '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building a CA derivation" echo "The seed is 0" mkdir -p $out echo /build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed/hello > $out/dep ln -s $out $out/self # test symlinks at root ln -s $out $dev ln -s $out $foo ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz' setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5' setting builder env variable 'name'='rootCA' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'outputs'='out dev foo' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: read 25 bytes waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: read 14 bytes waiting for children building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: build done killing process 7411 builder process for '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv' finished scanning for references for output 'dev' in temp location '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'foo' in temp location '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA' found reference to '3v5pfjnf1wp68ypdikgbr04paa90g0jb' at offset '36' found reference to '540rrxqh58mjjpis9wszakmj5037fs8c' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/540rrxqh58mjjpis9wszakmj5037fs8c-rootCA'; cross fingers locking path '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock acquired on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' referenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/3gp181dxyfll5lgcv70pkbnkadg2a25n-rootCA-dev'; cross fingers locking path '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev' lock acquired on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/h0bir6jf34mi20jn22wz3q3vnp8crp3p-rootCA-dev.lock' rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers rewriting hashes in '/build/nix-test/ca/signatures/store/nfvqsgmwrrr6w6xlqdh1gmvkhq6qgf37-rootCA-foo'; cross fingers locking path '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo' lock acquired on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/fximhqa8fppzk5d0qj4kcz8ddh5id063-builder-rootCA.sh' lock released on '/build/nix-test/ca/signatures/store/j51npvhx39immcqblm3wmvpgky0ifxvs-rootCA-foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.dev.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.foo.lock' lock released on '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv.out.lock' building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/53rl48jfag6c87nnl4w3ckr9h05cqvri-rootCA.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/nsyfxb035g94n63qx6z3nvcqhnix96z3-rootCA.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /1485q5xny1mwnqj0yn5gakkrj67gdnm5y65dwv81djj9vxqa7mgp as /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA locking path '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv' lock acquired on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.lock' lock released on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh', '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out' lock acquired on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='echo "building a dependent derivation" mkdir -p $out cat /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA/self/dep echo /build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA/self/dep > $out/dep ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='dependent' setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: read 32 bytes waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: read 98 bytes waiting for children building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: build done killing process 7434 builder process for '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/94imvgjpzl1rqzbl2cps7akciz3x4j16-dependent' found reference to 'yy5b88132z0zas133jfx8apn048vrrnh' at offset '36' rewriting hashes in '/build/nix-test/ca/signatures/store/94imvgjpzl1rqzbl2cps7akciz3x4j16-dependent'; cross fingers locking path '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent' lock acquired on '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent.lock' unreferenced input: '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed' unreferenced input: '/build/nix-test/ca/signatures/store/lh64rn6a5y2cyyxwj87aphc8b2w184xj-builder-dependent.sh' referenced input: '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' lock released on '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent.lock' lock released on '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv.out.lock' building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: resolved derivation finished building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: done building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: waitee 'building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file' done; 0 left building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/yk47b05rc5s2il1ic9clg6fi400583gv-dependent.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/1j98rf4lfvfyz6qby80rklx7fywpbx2r-dependent.drv^out' from .drv file: goal destroyed building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: all inputs realised Rewriting the derivation rewriting /04awkrdjjn8wchi7ff635gpaw2zrjs04j6jgy2nq5z07hb443qb7 as /build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent locking path '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv' lock acquired on '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv.lock' lock released on '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv.lock' building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: created building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: init building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: loading derivation building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: have derivation building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/ca/signatures/store/3v5pfjnf1wp68ypdikgbr04paa90g0jb-simple-input-addressed', '/build/nix-test/ca/signatures/store/m2ijjhnyx7yzbic0f2qmbqxvvbqmy9qx-builder-dependent-fixed-output.sh', '/build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent', '/build/nix-test/ca/signatures/store/yy5b88132z0zas133jfx8apn048vrrnh-rootCA' building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: trying to build locking path '/build/nix-test/ca/signatures/store/7wmcfzm724iqahcmc97mh3j6dfmn26lc-dependent-fixed-output' lock acquired on '/build/nix-test/ca/signatures/store/7wmcfzm724iqahcmc97mh3j6dfmn26lc-dependent-fixed-output.lock' removing invalid path '/build/nix-test/ca/signatures/store/7wmcfzm724iqahcmc97mh3j6dfmn26lc-dependent-fixed-output' building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/ca/signatures/store/m2ijjhnyx7yzbic0f2qmbqxvvbqmy9qx-builder-dependent-fixed-output.sh' setting builder env variable 'PATH'='/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin' setting builder env variable 'buildCommand'='cat /build/nix-test/ca/signatures/store/mf1ah65hqfvxb27l9rl162fzkfhqvk6n-dependent/dep echo foo > $out ' setting builder env variable 'builder'='/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' setting builder env variable 'name'='dependent-fixed-output' setting builder env variable 'out'='/build/nix-test/ca/signatures/store/7wmcfzm724iqahcmc97mh3j6dfmn26lc-dependent-fixed-output' setting builder env variable 'outputHash'='sha512-7aJcmSuEuYP5tGKcmGY8bRr/lrCjJlOxP2mIUjO/vMQeg6gx/65IbzRWES8EKiPDOs9z+wF30lEfcwxM/cT4pw==' setting builder env variable 'outputHashMode'='recursive' setting builder env variable 'system'='x86_64-linux' building '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv'... waiting for children building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: read 85 bytes waiting for children building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: got EOF building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: woken up building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: build done killing process 7453 builder process for '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/ca/signatures/store/7wmcfzm724iqahcmc97mh3j6dfmn26lc-dependent-fixed-output' building of '/build/nix-test/ca/signatures/store/xw4fqf1w4ym9ycxjdd6npjslzhkn825a-dependent-fixed-output.drv^out' from .drv file: goal destroyed lock released on '/build/nix-test/ca/signatures/store/7wmcfzm724iqahcmc97mh3j6dfmn26lc-dependent-fixed-output.lock' building of '/build/nix-test/ca/signatures/store/vzndsfws9vvdvmkh377ypp6j9qkrkggd-dependent-fixed-output.drv^out' from .drv file: goal destroyed error: removing extended attribute 'btrfs.compression' from '/build/nix-test/ca/signatures/store/7wmcfzm724iqahcmc97mh3j6dfmn26lc-dependent-fixed-output': Permission denied ============================================================================== =================================== 40/161 =================================== test: lix:installcheck / functional-gc start time: 20:57:36 duration: 0.44s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=171 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py gc.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/gc +(init.sh:7) test -d /build/nix-test/gc +(init.sh:8) chmod -R u+w /build/nix-test/gc +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/gc +(init.sh:13) mkdir /build/nix-test/gc +(init.sh:15) mkdir /build/nix-test/gc/store +(init.sh:16) mkdir /build/nix-test/gc/var +(init.sh:17) mkdir -p /build/nix-test/gc/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/gc/var/nix +(init.sh:19) mkdir /build/nix-test/gc/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/gc/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(gc.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/gc/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/gc/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/gc/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/gc/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/gc/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/gc/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/gc/test-home/.local/state/nix/profiles ++(gc.sh:5) nix-instantiate dependencies.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(gc.sh:5) drvPath=/build/nix-test/gc/store/mgdx198jm2p28q4xdvcd1i04vx01q809-dependencies-top.drv ++(gc.sh:6) nix-store -rvv /build/nix-test/gc/store/mgdx198jm2p28q4xdvcd1i04vx01q809-dependencies-top.drv these 5 derivations will be built: /build/nix-test/gc/store/fg90krdbawb8j7vi0nl38xgkas00d016-dependencies-input-0.drv /build/nix-test/gc/store/jzhzq3k788w63xs6ai485rys3dg5vc3n-dependencies-input-2.drv /build/nix-test/gc/store/p2cs72r10sl8ncixivd3mj6m1jy62a6q-fod-input.drv /build/nix-test/gc/store/wz19dd99n34d8bjy9p9vxlsr4cimc2xx-dependencies-input-1.drv /build/nix-test/gc/store/mgdx198jm2p28q4xdvcd1i04vx01q809-dependencies-top.drv executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc/store/431505s21nyx2hrya8i8kkgg704q2wq2-builder-dependencies-input-0.sh' building '/build/nix-test/gc/store/fg90krdbawb8j7vi0nl38xgkas00d016-dependencies-input-0.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc/store/3bhisj86clbbbh7zzwzg5d96g13jxgfy-builder-dependencies-input-1.sh' building '/build/nix-test/gc/store/wz19dd99n34d8bjy9p9vxlsr4cimc2xx-dependencies-input-1.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc/store/wzl53yk2a1is0xba9jibdb6mjhdbmixn-builder-dependencies-input-2.sh' building '/build/nix-test/gc/store/jzhzq3k788w63xs6ai485rys3dg5vc3n-dependencies-input-2.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc/store/9gnhfss1knic6c98yrahkpkq27zv83qb-builder-fod-input.sh' building '/build/nix-test/gc/store/p2cs72r10sl8ncixivd3mj6m1jy62a6q-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/gc/store/7qws4lxdni2dbl91km6sxh8pi2n4js14-fod-input': Permission denied +(gc.sh:6) outPath= ++(gc.sh:6) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x gc.sh: test failed at: main in gc.sh:6 ============================================================================== =================================== 41/161 =================================== test: lix:installcheck / functional-flakes-flake-in-submodule start time: 20:57:36 duration: 0.85s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=218 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/flake-in-submodule.sh ----------------------------------- stdout ----------------------------------- clearing store... Initialized empty Git repository in /build/nix-test/flakes/flake-in-submodule/submodule/.git/ [master (root-commit) 7ed2bbb] Initial 2 files changed, 7 insertions(+) create mode 100644 flake.nix create mode 100644 sub.nix Initialized empty Git repository in /build/nix-test/flakes/flake-in-submodule/rootRepo/.git/ [master (root-commit) ece0007] Add root.nix 3 files changed, 5 insertions(+) create mode 100644 .gitmodules create mode 100644 root.nix create mode 160000 submodule [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/flake-in-submodule +(init.sh:7) test -d /build/nix-test/flakes/flake-in-submodule +(init.sh:8) chmod -R u+w /build/nix-test/flakes/flake-in-submodule +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/flake-in-submodule +(init.sh:13) mkdir /build/nix-test/flakes/flake-in-submodule +(init.sh:15) mkdir /build/nix-test/flakes/flake-in-submodule/store +(init.sh:16) mkdir /build/nix-test/flakes/flake-in-submodule/var +(init.sh:17) mkdir -p /build/nix-test/flakes/flake-in-submodule/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/flake-in-submodule/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/flake-in-submodule/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/flake-in-submodule/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) registry=/build/nix-test/flakes/flake-in-submodule/registry.json +(flake-in-submodule.sh:14) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(flake-in-submodule.sh:16) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/flake-in-submodule/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/flake-in-submodule/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/flake-in-submodule/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/flake-in-submodule/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/flake-in-submodule/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/flake-in-submodule/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/flake-in-submodule/test-home/.local/state/nix/profiles +(flake-in-submodule.sh:20) export XDG_CONFIG_HOME=/build/nix-test/flakes/flake-in-submodule/test-home/.config +(flake-in-submodule.sh:20) XDG_CONFIG_HOME=/build/nix-test/flakes/flake-in-submodule/test-home/.config +(flake-in-submodule.sh:21) git config --global protocol.file.allow always +(flake-in-submodule.sh:24) rootRepo=/build/nix-test/flakes/flake-in-submodule/rootRepo +(flake-in-submodule.sh:25) subRepo=/build/nix-test/flakes/flake-in-submodule/submodule +(flake-in-submodule.sh:28) createGitRepo /build/nix-test/flakes/flake-in-submodule/submodule +(common.sh:61) local repo=/build/nix-test/flakes/flake-in-submodule/submodule +(common.sh:62) local extraArgs= +(common.sh:64) rm -rf /build/nix-test/flakes/flake-in-submodule/submodule /build/nix-test/flakes/flake-in-submodule/submodule.tmp +(common.sh:65) mkdir -p /build/nix-test/flakes/flake-in-submodule/submodule +(common.sh:67) git -C /build/nix-test/flakes/flake-in-submodule/submodule init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(common.sh:68) git -C /build/nix-test/flakes/flake-in-submodule/submodule config user.email foobar@example.com +(common.sh:69) git -C /build/nix-test/flakes/flake-in-submodule/submodule config user.name Foobar +(flake-in-submodule.sh:29) cat +(flake-in-submodule.sh:37) echo '"expression in submodule"' +(flake-in-submodule.sh:38) git -C /build/nix-test/flakes/flake-in-submodule/submodule add flake.nix sub.nix +(flake-in-submodule.sh:39) git -C /build/nix-test/flakes/flake-in-submodule/submodule commit -m Initial +(flake-in-submodule.sh:41) createGitRepo /build/nix-test/flakes/flake-in-submodule/rootRepo +(common.sh:61) local repo=/build/nix-test/flakes/flake-in-submodule/rootRepo +(common.sh:62) local extraArgs= +(common.sh:64) rm -rf /build/nix-test/flakes/flake-in-submodule/rootRepo /build/nix-test/flakes/flake-in-submodule/rootRepo.tmp +(common.sh:65) mkdir -p /build/nix-test/flakes/flake-in-submodule/rootRepo +(common.sh:67) git -C /build/nix-test/flakes/flake-in-submodule/rootRepo init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(common.sh:68) git -C /build/nix-test/flakes/flake-in-submodule/rootRepo config user.email foobar@example.com +(common.sh:69) git -C /build/nix-test/flakes/flake-in-submodule/rootRepo config user.name Foobar +(flake-in-submodule.sh:43) git -C /build/nix-test/flakes/flake-in-submodule/rootRepo submodule init +(flake-in-submodule.sh:44) git -C /build/nix-test/flakes/flake-in-submodule/rootRepo submodule add /build/nix-test/flakes/flake-in-submodule/submodule submodule Cloning into '/build/nix-test/flakes/flake-in-submodule/rootRepo/submodule'... done. +(flake-in-submodule.sh:45) echo '"expression in root repo"' +(flake-in-submodule.sh:46) git -C /build/nix-test/flakes/flake-in-submodule/rootRepo add root.nix +(flake-in-submodule.sh:47) git -C /build/nix-test/flakes/flake-in-submodule/rootRepo commit -m 'Add root.nix' ++(flake-in-submodule.sh:50) nix eval --json 'git+file:///build/nix-test/flakes/flake-in-submodule/rootRepo?submodules=1&dir=submodule#sub' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flake-in-submodule/rootRepo' +(flake-in-submodule.sh:50) [[ "expression in submodule" = \"\e\x\p\r\e\s\s\i\o\n\ \i\n\ \s\u\b\m\o\d\u\l\e\" ]] ++(flake-in-submodule.sh:52) nix eval --json 'git+file:///build/nix-test/flakes/flake-in-submodule/rootRepo?submodules=1&dir=submodule#root' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flake-in-submodule/rootRepo' +(flake-in-submodule.sh:52) [[ "expression in root repo" = \"\e\x\p\r\e\s\s\i\o\n\ \i\n\ \r\o\o\t\ \r\e\p\o\" ]] ============================================================================== =================================== 42/161 =================================== test: lix:installcheck / functional-flakes-build-paths start time: 20:57:36 duration: 1.06s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=214 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/build-paths.sh ----------------------------------- stdout ----------------------------------- ["/build/nix-test/flakes/build-paths/store/wc1csb6if75wyyhwc0jxjsg44n0dvfxw-source"] ["/build/nix-test/flakes/build-paths/store/pzr599dzlq2qhj32zg88vpr74r2rg4dl-source"] ["/build/nix-test/flakes/build-paths/store/sabavqim1yiaz62grwgc1kiqcmwgmd0k-source"] ["/build/nix-test/flakes/build-paths/store/sabavqim1yiaz62grwgc1kiqcmwgmd0k-source"] ["/build/nix-test/flakes/build-paths/store/wc1csb6if75wyyhwc0jxjsg44n0dvfxw-source"] ["/build/nix-test/flakes/build-paths/store/wv9n0pr4vf3irrw7gmjhg28r7fp87p6i-common.sh"] ["/build/nix-test/flakes/build-paths/store/2dqa8gz1hxh5d22n8bfa7f4cr7gcq4d7-simple.drv"] [{"drvPath":"/build/nix-test/flakes/build-paths/store/2dqa8gz1hxh5d22n8bfa7f4cr7gcq4d7-simple.drv","outputs":{"out":"/build/nix-test/flakes/build-paths/store/s97d5bd94mk77ssy3w8248vjf61m208c-simple"},"startTime":1725915457,"stopTime":1725915457}] [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/build-paths +(init.sh:7) test -d /build/nix-test/flakes/build-paths +(init.sh:8) chmod -R u+w /build/nix-test/flakes/build-paths +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/build-paths +(init.sh:13) mkdir /build/nix-test/flakes/build-paths +(init.sh:15) mkdir /build/nix-test/flakes/build-paths/store +(init.sh:16) mkdir /build/nix-test/flakes/build-paths/var +(init.sh:17) mkdir -p /build/nix-test/flakes/build-paths/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/build-paths/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/build-paths/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/build-paths/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/build-paths/registry.json +(build-paths.sh:3) flake1Dir=/build/nix-test/flakes/build-paths/flake1 +(build-paths.sh:4) flake2Dir=/build/nix-test/flakes/build-paths/flake2 +(build-paths.sh:6) mkdir -p /build/nix-test/flakes/build-paths/flake1 /build/nix-test/flakes/build-paths/flake2 +(build-paths.sh:8) writeSimpleFlake /build/nix-test/flakes/build-paths/flake2 +(./common.sh:6) local flakeDir=/build/nix-test/flakes/build-paths/flake2 +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/build-paths/flake2/ +(build-paths.sh:9) tar cfz /build/nix-test/flakes/build-paths/flake.tar.gz -C /build/nix-test/flakes/build-paths flake2 ++(build-paths.sh:10) nix hash path /build/nix-test/flakes/build-paths/flake2 warning: you don't have Internet access; disabling some network-dependent features +(build-paths.sh:10) hash=sha256-2/88cbHpT0rv2dcYfqHVafXBy6OQVLvTrNdJRZ+C4Es= ++(build-paths.sh:12) nix store add-path ./common.sh warning: you don't have Internet access; disabling some network-dependent features +(build-paths.sh:12) dep=/build/nix-test/flakes/build-paths/store/wv9n0pr4vf3irrw7gmjhg28r7fp87p6i-common.sh +(build-paths.sh:14) cat +(build-paths.sh:63) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/build-paths/flake1/ +(build-paths.sh:65) echo bar +(build-paths.sh:67) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a1 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' fetching tarball input 'file:///build/nix-test/flakes/build-paths/flake.tar.gz' warning: creating lock file '/build/nix-test/flakes/build-paths/flake1/flake.lock': • Added input 'flake2': 'file:///build/nix-test/flakes/build-paths/flake.tar.gz?narHash=sha256-2/88cbHpT0rv2dcYfqHVafXBy6OQVLvTrNdJRZ%2BC4Es%3D' (2024-09-09) fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' +(build-paths.sh:68) [[ -e /build/nix-test/flakes/build-paths/result/simple.nix ]] +(build-paths.sh:70) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a2 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' ++(build-paths.sh:71) cat /build/nix-test/flakes/build-paths/result +(build-paths.sh:71) [[ bar = bar ]] +(build-paths.sh:73) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a3 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' +(build-paths.sh:75) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a4 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' +(build-paths.sh:77) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a6 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' +(build-paths.sh:78) [[ -e /build/nix-test/flakes/build-paths/result/simple.nix ]] +(build-paths.sh:80) nix build --impure --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a8 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' +(build-paths.sh:81) diff common.sh /build/nix-test/flakes/build-paths/result +(build-paths.sh:83) expectStderr 1 nix build --impure --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a9 +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build --impure --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a9 +(build-paths.sh:84) grepQuiet 'has 0 entries in its context. It should only have exactly one entry' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has 0 entries in its context. It should only have exactly one entry' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(build-paths.sh:86) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a10 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' ++(build-paths.sh:87) readlink -e /build/nix-test/flakes/build-paths/result +(build-paths.sh:87) [[ /build/nix-test/flakes/build-paths/store/2dqa8gz1hxh5d22n8bfa7f4cr7gcq4d7-simple.drv = *simple.drv ]] +(build-paths.sh:89) expectStderr 1 nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a11 +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a11 +(build-paths.sh:90) grepQuiet 'has a context which refers to a complete source and binary closure' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has a context which refers to a complete source and binary closure' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(build-paths.sh:92) nix build --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a12 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/build-paths/flake1' this derivation will be built: /build/nix-test/flakes/build-paths/store/2dqa8gz1hxh5d22n8bfa7f4cr7gcq4d7-simple.drv building '/build/nix-test/flakes/build-paths/store/2dqa8gz1hxh5d22n8bfa7f4cr7gcq4d7-simple.drv'... +(build-paths.sh:93) [[ -e /build/nix-test/flakes/build-paths/result/hello ]] +(build-paths.sh:96) grepQuiet 'has 2 entries in its context. It should only have exactly one entry' +(build-paths.sh:95) expectStderr 1 nix build --impure --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a13 +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has 2 entries in its context. It should only have exactly one entry' +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build --impure --json --out-link /build/nix-test/flakes/build-paths/result /build/nix-test/flakes/build-paths/flake1#a13 +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ============================================================================== =================================== 43/161 =================================== test: lix:installcheck / functional-flakes-subdir-flake start time: 20:57:36 duration: 0.50s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=81 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/subdir-flake.sh ----------------------------------- stdout ----------------------------------- clearing store... Initialized empty Git repository in /build/nix-test/flakes/subdir-flake/test-home/flake-container/.git/ [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/subdir-flake +(init.sh:7) test -d /build/nix-test/flakes/subdir-flake +(init.sh:8) chmod -R u+w /build/nix-test/flakes/subdir-flake +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/subdir-flake +(init.sh:13) mkdir /build/nix-test/flakes/subdir-flake +(init.sh:15) mkdir /build/nix-test/flakes/subdir-flake/store +(init.sh:16) mkdir /build/nix-test/flakes/subdir-flake/var +(init.sh:17) mkdir -p /build/nix-test/flakes/subdir-flake/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/subdir-flake/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/subdir-flake/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/subdir-flake/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) registry=/build/nix-test/flakes/subdir-flake/registry.json +(subdir-flake.sh:2) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(subdir-flake.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/subdir-flake/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/subdir-flake/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/subdir-flake/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/subdir-flake/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/subdir-flake/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/subdir-flake/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/subdir-flake/test-home/.local/state/nix/profiles +(subdir-flake.sh:5) container=/build/nix-test/flakes/subdir-flake/test-home/flake-container +(subdir-flake.sh:6) flake_dir=/build/nix-test/flakes/subdir-flake/test-home/flake-container/flake-dir +(subdir-flake.sh:8) createGitRepo /build/nix-test/flakes/subdir-flake/test-home/flake-container +(common.sh:61) local repo=/build/nix-test/flakes/subdir-flake/test-home/flake-container +(common.sh:62) local extraArgs= +(common.sh:64) rm -rf /build/nix-test/flakes/subdir-flake/test-home/flake-container /build/nix-test/flakes/subdir-flake/test-home/flake-container.tmp +(common.sh:65) mkdir -p /build/nix-test/flakes/subdir-flake/test-home/flake-container +(common.sh:67) git -C /build/nix-test/flakes/subdir-flake/test-home/flake-container init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(common.sh:68) git -C /build/nix-test/flakes/subdir-flake/test-home/flake-container config user.email foobar@example.com +(common.sh:69) git -C /build/nix-test/flakes/subdir-flake/test-home/flake-container config user.name Foobar +(subdir-flake.sh:9) mkdir -p /build/nix-test/flakes/subdir-flake/test-home/flake-container/flake-dir +(subdir-flake.sh:10) writeSimpleFlake /build/nix-test/flakes/subdir-flake/test-home/flake-container/flake-dir +(common.sh:6) local flakeDir=/build/nix-test/flakes/subdir-flake/test-home/flake-container/flake-dir +(common.sh:7) cat +(common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/subdir-flake/test-home/flake-container/flake-dir/ +(subdir-flake.sh:11) git -C /build/nix-test/flakes/subdir-flake/test-home/flake-container add flake-dir +(subdir-flake.sh:13) pushd /build/nix-test/flakes/subdir-flake/test-home/flake-container/flake-dir ++(subdir-flake.sh:14) nix flake info --json warning: you don't have Internet access; disabling some network-dependent features warning: 'nix flake info' is a deprecated alias for 'nix flake metadata' fetching git input 'git+file:///build/nix-test/flakes/subdir-flake/test-home/flake-container' warning: Git tree '/build/nix-test/flakes/subdir-flake/test-home/flake-container' is dirty +(subdir-flake.sh:14) info='{"description":"Bla bla","lastModified":0,"locked":{"dir":"flake-dir","lastModified":0,"narHash":"sha256-HwrN7JUYK0BvSeJiZswdCt6O/F6nHOMmwAWBidt9kM4=","type":"git","url":"file:///build/nix-test/flakes/subdir-flake/test-home/flake-container"},"locks":{"nodes":{"root":{}},"root":"root","version":7},"original":{"dir":"flake-dir","type":"git","url":"file:///build/nix-test/flakes/subdir-flake/test-home/flake-container"},"originalUrl":"git+file:///build/nix-test/flakes/subdir-flake/test-home/flake-container?dir=flake-dir","path":"/build/nix-test/flakes/subdir-flake/store/czgyi6shw5nzgq3p1vy1084z7bviv42r-source","resolved":{"dir":"flake-dir","type":"git","url":"file:///build/nix-test/flakes/subdir-flake/test-home/flake-container"},"resolvedUrl":"git+file:///build/nix-test/flakes/subdir-flake/test-home/flake-container?dir=flake-dir","url":"git+file:///build/nix-test/flakes/subdir-flake/test-home/flake-container?dir=flake-dir"}' ++(subdir-flake.sh:15) jq -r .resolvedUrl +(subdir-flake.sh:15) [[ git+file:///build/nix-test/flakes/subdir-flake/test-home/flake-container?dir=flake-dir == git+file://*/flake-container?dir=flake-dir ]] ++(subdir-flake.sh:16) jq -r .url +(subdir-flake.sh:16) [[ git+file:///build/nix-test/flakes/subdir-flake/test-home/flake-container?dir=flake-dir == git+file://*/flake-container?dir=flake-dir ]] +(subdir-flake.sh:19) nix build path:/build/nix-test/flakes/subdir-flake/test-home/flake-container/flake-dir#foo -L warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/subdir-flake/test-home/flake-container/flake-dir' this derivation will be built: /build/nix-test/flakes/subdir-flake/store/pb4f2l7f1dkcc894g22nzyv9xicww4sj-simple.drv building '/build/nix-test/flakes/subdir-flake/store/pb4f2l7f1dkcc894g22nzyv9xicww4sj-simple.drv'... simple> PATH= +(subdir-flake.sh:20) popd ============================================================================== =================================== 44/161 =================================== test: lix:installcheck / functional-flakes-flake-registry start time: 20:57:36 duration: 1.00s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=253 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/flake-registry.sh ----------------------------------- stdout ----------------------------------- global flake:nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable global flake:home-manager github:nix-community/home-manager global flake:nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable global flake:home-manager github:nix-community/home-manager global flake:nixpkgs github:NixOS/nixpkgs global flake:private-flake github:fancy-enterprise/private-flake warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `http://127.0.0.1:43899/flake-registry.json' [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/flake-registry +(init.sh:7) test -d /build/nix-test/flakes/flake-registry +(init.sh:8) chmod -R u+w /build/nix-test/flakes/flake-registry +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/flake-registry +(init.sh:13) mkdir /build/nix-test/flakes/flake-registry +(init.sh:15) mkdir /build/nix-test/flakes/flake-registry/store +(init.sh:16) mkdir /build/nix-test/flakes/flake-registry/var +(init.sh:17) mkdir -p /build/nix-test/flakes/flake-registry/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/flake-registry/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/flake-registry/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/flake-registry/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/flake-registry/registry.json +(flake-registry.sh:4) sed -i /flake-registry/d /build/nix-test/flakes/flake-registry/etc/nix.conf ++(flake-registry.sh:7) wc -l ++(flake-registry.sh:7) nix registry list warning: you don't have Internet access; disabling some network-dependent features +(flake-registry.sh:7) [[ 37 == 37 ]] +(flake-registry.sh:9) nix registry list +(flake-registry.sh:9) grep '^global flake:nixpkgs' warning: you don't have Internet access; disabling some network-dependent features +(flake-registry.sh:10) nix registry list +(flake-registry.sh:10) grep '^global flake:home-manager' warning: you don't have Internet access; disabling some network-dependent features +(flake-registry.sh:14) echo 'flake-registry = vendored' ++(flake-registry.sh:15) nix registry list ++(flake-registry.sh:15) wc -l warning: you don't have Internet access; disabling some network-dependent features +(flake-registry.sh:15) [[ 37 == 37 ]] +(flake-registry.sh:17) nix registry list +(flake-registry.sh:17) grep '^global flake:nixpkgs' warning: you don't have Internet access; disabling some network-dependent features +(flake-registry.sh:18) nix registry list +(flake-registry.sh:18) grep '^global flake:home-manager' warning: you don't have Internet access; disabling some network-dependent features +(flake-registry.sh:22) set -m +(flake-registry.sh:27) grep -qP 'port \d+' server.out +(flake-registry.sh:24) python3 -u -m http.server 0 --bind 127.0.0.1 +(flake-registry.sh:28) echo 'waiting for python http' waiting for python http +(flake-registry.sh:29) sleep 0.2 +(flake-registry.sh:27) grep -qP 'port \d+' server.out ++(flake-registry.sh:32) awk 'match($0,/port ([[:digit:]]+)/, ary) { print ary[1] }' server.out +(flake-registry.sh:32) port=43899 +(flake-registry.sh:34) sed -i /flake-registry/d /build/nix-test/flakes/flake-registry/etc/nix.conf +(flake-registry.sh:35) echo 'flake-registry = http://127.0.0.1:43899/flake-registry.json' +(flake-registry.sh:36) cat ++(flake-registry.sh:66) nix registry list ++(flake-registry.sh:66) wc -l warning: you don't have Internet access; disabling some network-dependent features warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `http://127.0.0.1:43899/flake-registry.json' 127.0.0.1 - - [09/Sep/2024 20:57:37] "GET /flake-registry.json HTTP/1.1" 200 - +(flake-registry.sh:66) [[ 2 == 2 ]] +(flake-registry.sh:67) grep '^global flake:nixpkgs' +(flake-registry.sh:67) nix registry list warning: you don't have Internet access; disabling some network-dependent features warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `http://127.0.0.1:43899/flake-registry.json' +(flake-registry.sh:68) grep '^global flake:private-flake' +(flake-registry.sh:68) nix registry list warning: you don't have Internet access; disabling some network-dependent features warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `http://127.0.0.1:43899/flake-registry.json' +(flake-registry.sh:71) grep 'config option flake-registry referring to a URL is deprecated and will be removed' +(flake-registry.sh:71) nix registry list +(flake-registry.sh:73) kill %python ============================================================================== =================================== 45/161 =================================== test: lix:installcheck / functional-legacy-ssh-store start time: 20:57:37 duration: 0.34s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=91 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py legacy-ssh-store.sh ----------------------------------- stdout ----------------------------------- true [INFO] You are unknown trust by store uri: ssh://localhost [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/legacy-ssh-store +(init.sh:7) test -d /build/nix-test/legacy-ssh-store +(init.sh:8) chmod -R u+w /build/nix-test/legacy-ssh-store +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/legacy-ssh-store +(init.sh:13) mkdir /build/nix-test/legacy-ssh-store +(init.sh:15) mkdir /build/nix-test/legacy-ssh-store/store +(init.sh:16) mkdir /build/nix-test/legacy-ssh-store/var +(init.sh:17) mkdir -p /build/nix-test/legacy-ssh-store/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/legacy-ssh-store/var/nix +(init.sh:19) mkdir /build/nix-test/legacy-ssh-store/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/legacy-ssh-store/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(legacy-ssh-store.sh:3) store_uri='ssh://localhost?remote-store=/build/nix-test/legacy-ssh-store/other-store' +(legacy-ssh-store.sh:6) jq -e 'has("trusted") | not' +(legacy-ssh-store.sh:6) nix --store 'ssh://localhost?remote-store=/build/nix-test/legacy-ssh-store/other-store' store ping --json warning: you don't have Internet access; disabling some network-dependent features +(legacy-ssh-store.sh:9) grep 'You are unknown trust' ============================================================================== =================================== 46/161 =================================== test: lix:installcheck / functional-lang-test-infra start time: 20:57:37 duration: 0.22s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=217 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py lang-test-infra.sh ----------------------------------- stdout ----------------------------------- --- lang/empty.exp 1970-01-01 00:00:01.000000000 +0000 +++ /build/nix-test/lang-test-infra/got 2024-09-09 20:57:37.676606873 +0000 @@ -0,0 +1 @@ +Hi! FAIL: evaluation result of test not as expected --- /build/nix-test/lang-test-infra/expected 2024-09-09 20:57:37.680606885 +0000 +++ /build/nix-test/lang-test-infra/got 2024-09-09 20:57:37.680606885 +0000 @@ -1 +1 @@ -Bye! +Hi! FAIL: evaluation result of test not as expected --- /build/nix-test/lang-test-infra/expected 2024-09-09 20:57:37.689606914 +0000 +++ /build/nix-test/lang-test-infra/got 2024-09-09 20:57:37.689606914 +0000 @@ -1 +1 @@ -Bye! +Hi! FAIL: evaluation result of test not as expected --- /build/nix-test/lang-test-infra/expected 2024-09-09 20:57:37.703606958 +0000 +++ /build/nix-test/lang-test-infra/got 2024-09-09 20:57:37.703606958 +0000 @@ -1 +0,0 @@ -Bye! FAIL: evaluation result of test not as expected [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/lang-test-infra +(init.sh:7) test -d /build/nix-test/lang-test-infra +(init.sh:8) chmod -R u+w /build/nix-test/lang-test-infra +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/lang-test-infra +(init.sh:13) mkdir /build/nix-test/lang-test-infra +(init.sh:15) mkdir /build/nix-test/lang-test-infra/store +(init.sh:16) mkdir /build/nix-test/lang-test-infra/var +(init.sh:17) mkdir -p /build/nix-test/lang-test-infra/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/lang-test-infra/var/nix +(init.sh:19) mkdir /build/nix-test/lang-test-infra/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/lang-test-infra/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(lang-test-infra.sh:4) source lang/framework.sh +(lang-test-infra.sh:7) unset _NIX_TEST_ACCEPT +(lang-test-infra.sh:10) badDiff=0 +(lang-test-infra.sh:13) echo 'Hi!' +(lang-test-infra.sh:14) cp /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang-test-infra.sh:16) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/expected +(lang/framework.sh:13) local -r expectedOrEmpty=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:19) diff --color=always --unified /build/nix-test/lang-test-infra/expected /build/nix-test/lang-test-infra/got +(lang/framework.sh:25) test -n '' +(lang-test-infra.sh:17) (( 0 == 0 )) +(lang-test-infra.sh:21) echo -n +(lang-test-infra.sh:23) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/does-not-exist +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/does-not-exist +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/does-not-exist +(lang/framework.sh:15) local -r expectedOrEmpty=lang/empty.exp +(lang/framework.sh:19) diff --color=always --unified lang/empty.exp /build/nix-test/lang-test-infra/got +(lang/framework.sh:25) test -n '' +(lang-test-infra.sh:24) (( 0 == 0 )) +(lang-test-infra.sh:28) echo 'Hi!' +(lang-test-infra.sh:30) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/does-not-exist +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/does-not-exist +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/does-not-exist +(lang/framework.sh:15) local -r expectedOrEmpty=lang/empty.exp +(lang/framework.sh:19) diff --color=always --unified lang/empty.exp /build/nix-test/lang-test-infra/got +(lang/framework.sh:20) echo 'FAIL: evaluation result of test not as expected' +(lang/framework.sh:21) badDiff=1 +(lang/framework.sh:25) test -n '' +(lang-test-infra.sh:31) (( 1 == 1 )) +(lang-test-infra.sh:35) echo 'Hi!' +(lang-test-infra.sh:36) echo 'Bye!' +(lang-test-infra.sh:38) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/expected +(lang/framework.sh:13) local -r expectedOrEmpty=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:19) diff --color=always --unified /build/nix-test/lang-test-infra/expected /build/nix-test/lang-test-infra/got +(lang/framework.sh:20) echo 'FAIL: evaluation result of test not as expected' +(lang/framework.sh:21) badDiff=1 +(lang/framework.sh:25) test -n '' +(lang-test-infra.sh:39) (( 1 == 1 )) ++(lang-test-infra.sh:41) echo 'Bye!' +(lang-test-infra.sh:41) [[ Bye! == Bye! ]] +(lang-test-infra.sh:44) echo 'Hi!' +(lang-test-infra.sh:45) cp /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang-test-infra.sh:47) _NIX_TEST_ACCEPT=1 +(lang-test-infra.sh:47) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/expected +(lang/framework.sh:13) local -r expectedOrEmpty=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:19) diff --color=always --unified /build/nix-test/lang-test-infra/expected /build/nix-test/lang-test-infra/got +(lang/framework.sh:25) test -n 1 +(lang/framework.sh:26) cp /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:29) test -s /build/nix-test/lang-test-infra/expected +(lang-test-infra.sh:48) (( 0 == 0 )) +(lang-test-infra.sh:52) echo 'Hi!' +(lang-test-infra.sh:53) echo 'Bye!' +(lang-test-infra.sh:55) _NIX_TEST_ACCEPT=1 +(lang-test-infra.sh:55) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/expected +(lang/framework.sh:13) local -r expectedOrEmpty=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:19) diff --color=always --unified /build/nix-test/lang-test-infra/expected /build/nix-test/lang-test-infra/got +(lang/framework.sh:20) echo 'FAIL: evaluation result of test not as expected' +(lang/framework.sh:21) badDiff=1 +(lang/framework.sh:25) test -n 1 +(lang/framework.sh:26) cp /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:29) test -s /build/nix-test/lang-test-infra/expected +(lang-test-infra.sh:56) (( 1 == 1 )) ++(lang-test-infra.sh:58) echo 'Hi!' +(lang-test-infra.sh:58) [[ Hi! == Hi! ]] +(lang-test-infra.sh:61) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/expected +(lang/framework.sh:13) local -r expectedOrEmpty=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:19) diff --color=always --unified /build/nix-test/lang-test-infra/expected /build/nix-test/lang-test-infra/got +(lang/framework.sh:25) test -n '' +(lang-test-infra.sh:62) (( 0 == 0 )) +(lang-test-infra.sh:66) echo -n +(lang-test-infra.sh:68) _NIX_TEST_ACCEPT=1 +(lang-test-infra.sh:68) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/does-not-exists +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/does-not-exists +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/does-not-exists +(lang/framework.sh:15) local -r expectedOrEmpty=lang/empty.exp +(lang/framework.sh:19) diff --color=always --unified lang/empty.exp /build/nix-test/lang-test-infra/got +(lang/framework.sh:25) test -n 1 +(lang/framework.sh:26) cp /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/does-not-exists +(lang/framework.sh:29) test -s /build/nix-test/lang-test-infra/does-not-exists +(lang/framework.sh:30) rm /build/nix-test/lang-test-infra/does-not-exists +(lang-test-infra.sh:69) (( 0 == 0 )) +(lang-test-infra.sh:71) [[ ! -f /build/nix-test/lang-test-infra/does-not-exist ]] +(lang-test-infra.sh:74) echo -n +(lang-test-infra.sh:75) echo 'Bye!' +(lang-test-infra.sh:76) badDiff=0 +(lang-test-infra.sh:78) _NIX_TEST_ACCEPT=1 +(lang-test-infra.sh:78) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/expected +(lang/framework.sh:13) local -r expectedOrEmpty=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:19) diff --color=always --unified /build/nix-test/lang-test-infra/expected /build/nix-test/lang-test-infra/got +(lang/framework.sh:20) echo 'FAIL: evaluation result of test not as expected' +(lang/framework.sh:21) badDiff=1 +(lang/framework.sh:25) test -n 1 +(lang/framework.sh:26) cp /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:29) test -s /build/nix-test/lang-test-infra/expected +(lang/framework.sh:30) rm /build/nix-test/lang-test-infra/expected +(lang-test-infra.sh:79) (( 1 == 1 )) +(lang-test-infra.sh:81) [[ ! -f /build/nix-test/lang-test-infra/expected ]] +(lang-test-infra.sh:84) diffAndAcceptInner test /build/nix-test/lang-test-infra/got /build/nix-test/lang-test-infra/expected +(lang/framework.sh:7) local -r testName=test +(lang/framework.sh:8) local -r got=/build/nix-test/lang-test-infra/got +(lang/framework.sh:9) local -r expected=/build/nix-test/lang-test-infra/expected +(lang/framework.sh:12) test -e /build/nix-test/lang-test-infra/expected +(lang/framework.sh:15) local -r expectedOrEmpty=lang/empty.exp +(lang/framework.sh:19) diff --color=always --unified lang/empty.exp /build/nix-test/lang-test-infra/got +(lang/framework.sh:25) test -n '' +(lang-test-infra.sh:85) (( 0 == 0 )) ============================================================================== =================================== 47/161 =================================== test: lix:installcheck / functional-remote-store start time: 20:57:37 duration: 0.89s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=210 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py remote-store.sh ----------------------------------- stdout ----------------------------------- clearing store... 1 1 [INFO] You are trusted by store uri: daemon [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/remote-store +(init.sh:7) test -d /build/nix-test/remote-store +(init.sh:8) chmod -R u+w /build/nix-test/remote-store +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/remote-store +(init.sh:13) mkdir /build/nix-test/remote-store +(init.sh:15) mkdir /build/nix-test/remote-store/store +(init.sh:16) mkdir /build/nix-test/remote-store/var +(init.sh:17) mkdir -p /build/nix-test/remote-store/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/remote-store/var/nix +(init.sh:19) mkdir /build/nix-test/remote-store/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/remote-store/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(remote-store.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/remote-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/remote-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/remote-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/remote-store/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/remote-store/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/remote-store/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/remote-store/test-home/.local/state/nix/profiles +(remote-store.sh:6) nix --store 'ssh-ng://localhost?remote-store=/build/nix-test/remote-store/other-store' doctor warning: you don't have Internet access; disabling some network-dependent features Running checks against store uri: ssh-ng://localhost [PASS] Client protocol matches store protocol. [INFO] You are trusted by store uri: ssh-ng://localhost +(remote-store.sh:9) nix --store 'ssh-ng://localhost?remote-store=/build/nix-test/remote-store/other-store' store ping --json +(remote-store.sh:9) jq -e .trusted warning: you don't have Internet access; disabling some network-dependent features +(remote-store.sh:11) startDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:91) [[ '' != '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:95) rm -f /build/nix-test/remote-store/dSocket +(/build/source/build/tests/functional/common/vars-and-functions.sh:97) _NIX_TEST_DAEMON_PID=8002 +(/build/source/build/tests/functional/common/vars-and-functions.sh:98) export _NIX_TEST_DAEMON_PID +(/build/source/build/tests/functional/common/vars-and-functions.sh:99) (( i = 0 )) +(/build/source/build/tests/functional/common/vars-and-functions.sh:99) (( i < 300 )) +(/build/source/build/tests/functional/common/vars-and-functions.sh:100) [[ -S /build/nix-test/remote-store/dSocket ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:104) sleep 0.1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:96) PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin +(/build/source/build/tests/functional/common/vars-and-functions.sh:96) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features +(/build/source/build/tests/functional/common/vars-and-functions.sh:99) (( i++ )) +(/build/source/build/tests/functional/common/vars-and-functions.sh:99) (( i < 300 )) +(/build/source/build/tests/functional/common/vars-and-functions.sh:100) [[ -S /build/nix-test/remote-store/dSocket ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:101) DAEMON_STARTED=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:102) break +(/build/source/build/tests/functional/common/vars-and-functions.sh:106) [[ -z x ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:109) trap killDaemon EXIT +(/build/source/build/tests/functional/common/vars-and-functions.sh:111) NIX_REMOTE_OLD= +(/build/source/build/tests/functional/common/vars-and-functions.sh:112) export NIX_REMOTE=daemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:112) NIX_REMOTE=daemon +(remote-store.sh:13) isDaemonNewer 2.15pre0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(remote-store.sh:15) nix store ping --json +(remote-store.sh:15) jq -e .trusted warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 8108, user nixbld (trusted) +(remote-store.sh:17) grep 'You are trusted by' accepted connection from pid 8169, user nixbld (trusted) ++(remote-store.sh:20) nix eval --impure --raw --file ./ifd.nix warning: you don't have Internet access; disabling some network-dependent features accepted connection from pid 8194, user nixbld (trusted) building '/build/nix-test/remote-store/store/j0kyyaqjmcik570bqav8pnvmqpm45blb-dependencies-input-0.drv'... building '/build/nix-test/remote-store/store/r9qsl73qdazqdasjrc51gmqn906yxxm8-dependencies-input-1.drv'... building '/build/nix-test/remote-store/store/vp4j4wmvx8s9rjgfdm1ka9vmr2xdsy92-dependencies-input-2.drv'... building '/build/nix-test/remote-store/store/l20n5blcymxs362xhzbj8mm6ph10cxns-fod-input.drv'... error: … while evaluating the file '/build/source/build/tests/functional/ifd.nix': … while calling the 'import' builtin at /build/source/build/tests/functional/ifd.nix:2:1: 1| with import ./config.nix; 2| import ( | ^ 3| mkDerivation { … while realising the context of path '/build/nix-test/remote-store/store/xgyxsnxpacyjzal2h1an4dfr3yswy48f-foo' error: removing extended attribute 'btrfs.compression' from '/build/nix-test/remote-store/store/18j7pc6fzxcld25mdbr95kp37vj2kilh-fod-input': Permission denied +(remote-store.sh:20) [[ '' = hi ]] ++(remote-store.sh:20) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x remote-store.sh: test failed at: main in remote-store.sh:20 ============================================================================== =================================== 48/161 =================================== test: lix:installcheck / functional-nix-collect-garbage-d start time: 20:57:36 duration: 1.51s result: exit status 0 command: MALLOC_PERTURB_=8 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix-collect-garbage-d.sh ----------------------------------- stdout ----------------------------------- clearing store... 8 store paths deleted, 0.00 MiB freed 8 store paths deleted, 0.00 MiB freed 8 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix-collect-garbage-d +(init.sh:7) test -d /build/nix-test/nix-collect-garbage-d +(init.sh:8) chmod -R u+w /build/nix-test/nix-collect-garbage-d +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix-collect-garbage-d +(init.sh:13) mkdir /build/nix-test/nix-collect-garbage-d +(init.sh:15) mkdir /build/nix-test/nix-collect-garbage-d/store +(init.sh:16) mkdir /build/nix-test/nix-collect-garbage-d/var +(init.sh:17) mkdir -p /build/nix-test/nix-collect-garbage-d/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix-collect-garbage-d/var/nix +(init.sh:19) mkdir /build/nix-test/nix-collect-garbage-d/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix-collect-garbage-d/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix-collect-garbage-d.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/nix-collect-garbage-d/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/nix-collect-garbage-d/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/nix-collect-garbage-d/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/nix-collect-garbage-d/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/nix-collect-garbage-d/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles +(nix-collect-garbage-d.sh:24) testCollectGarbageD +(nix-collect-garbage-d.sh:11) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles +(nix-collect-garbage-d.sh:14) nix-env -f ./user-envs.nix -i foo-1.0 installing 'foo-1.0' this derivation will be built: /build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv building '/build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv'... building '/build/nix-test/nix-collect-garbage-d/store/yrxv267shh52vybbyr259khypirwn3iz-user-environment.drv'... +(nix-collect-garbage-d.sh:15) nix-env -f ./user-envs.nix -i foo-2.0pre1 replacing old 'foo-1.0' installing 'foo-2.0pre1' this derivation will be built: /build/nix-test/nix-collect-garbage-d/store/pfbvnlffvkxkpyz8p9jgrl323vwxmm9i-foo-2.0pre1.drv building '/build/nix-test/nix-collect-garbage-d/store/pfbvnlffvkxkpyz8p9jgrl323vwxmm9i-foo-2.0pre1.drv'... building '/build/nix-test/nix-collect-garbage-d/store/87729y8mcxwpwwzi663j177c7s66yffr-user-environment.drv'... ++(nix-collect-garbage-d.sh:16) nix-env --list-generations ++(nix-collect-garbage-d.sh:16) wc -l +(nix-collect-garbage-d.sh:16) [[ 2 -eq 2 ]] +(nix-collect-garbage-d.sh:20) nix-collect-garbage -d removing old generations of profile /build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles/profile removing profile version 1 finding garbage collector roots... removing stale link from '/build/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/isyzaa951qyg5qgag78w41jlwpj82n92' to '/build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles/profile-1-link' deleting garbage... deleting '/build/nix-test/nix-collect-garbage-d/store/pfbvnlffvkxkpyz8p9jgrl323vwxmm9i-foo-2.0pre1.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/ak6jmsc4b723awkryh5a7jjrdy1bkyfw-user-envs.builder.sh' deleting '/build/nix-test/nix-collect-garbage-d/store/yrxv267shh52vybbyr259khypirwn3iz-user-environment.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/s3yn5rxfp6xq2r2x6rcafbinvvpypy02-user-environment' deleting '/build/nix-test/nix-collect-garbage-d/store/pp0xjajys7z7lkfd8d98j62ky0va9183-env-manifest.nix' deleting '/build/nix-test/nix-collect-garbage-d/store/96fp0ggm3f6wx7lj2y10kxs4nrph59yz-foo-1.0' deleting '/build/nix-test/nix-collect-garbage-d/store/87729y8mcxwpwwzi663j177c7s66yffr-user-environment.drv' deleting unused links... note: currently hard linking saves 0.00 MiB ++(nix-collect-garbage-d.sh:21) nix-env --list-generations ++(nix-collect-garbage-d.sh:21) wc -l +(nix-collect-garbage-d.sh:21) [[ 1 -eq 1 ]] +(nix-collect-garbage-d.sh:27) rm /build/nix-test/nix-collect-garbage-d/test-home/.nix-profile +(nix-collect-garbage-d.sh:28) ln -s /build/nix-test/nix-collect-garbage-d/blah /build/nix-test/nix-collect-garbage-d/test-home/.nix-profile +(nix-collect-garbage-d.sh:29) testCollectGarbageD +(nix-collect-garbage-d.sh:11) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles +(nix-collect-garbage-d.sh:14) nix-env -f ./user-envs.nix -i foo-1.0 installing 'foo-1.0' this derivation will be built: /build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv building '/build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv'... building '/build/nix-test/nix-collect-garbage-d/store/yrxv267shh52vybbyr259khypirwn3iz-user-environment.drv'... +(nix-collect-garbage-d.sh:15) nix-env -f ./user-envs.nix -i foo-2.0pre1 replacing old 'foo-1.0' installing 'foo-2.0pre1' ++(nix-collect-garbage-d.sh:16) nix-env --list-generations ++(nix-collect-garbage-d.sh:16) wc -l +(nix-collect-garbage-d.sh:16) [[ 2 -eq 2 ]] +(nix-collect-garbage-d.sh:20) nix-collect-garbage -d removing old generations of profile /build/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/w20wm5ina8rwjg4ps0aq8kjhq10bcn28 removing old generations of profile /build/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/mafzzb037dsdpn7cyhza8s1llvp5d8r7 removing old generations of profile /build/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/smyvl472w043ss3wqpmnpkrfxgl2m094 removing old generations of profile /build/nix-test/nix-collect-garbage-d/blah removing profile version 1 finding garbage collector roots... removing stale link from '/build/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/w20wm5ina8rwjg4ps0aq8kjhq10bcn28' to '/build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles/profile-2-link' removing stale link from '/build/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/mafzzb037dsdpn7cyhza8s1llvp5d8r7' to '/build/nix-test/nix-collect-garbage-d/blah-1-link' deleting garbage... deleting '/build/nix-test/nix-collect-garbage-d/store/pfbvnlffvkxkpyz8p9jgrl323vwxmm9i-foo-2.0pre1.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/ak6jmsc4b723awkryh5a7jjrdy1bkyfw-user-envs.builder.sh' deleting '/build/nix-test/nix-collect-garbage-d/store/yrxv267shh52vybbyr259khypirwn3iz-user-environment.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/s3yn5rxfp6xq2r2x6rcafbinvvpypy02-user-environment' deleting '/build/nix-test/nix-collect-garbage-d/store/pp0xjajys7z7lkfd8d98j62ky0va9183-env-manifest.nix' deleting '/build/nix-test/nix-collect-garbage-d/store/96fp0ggm3f6wx7lj2y10kxs4nrph59yz-foo-1.0' deleting '/build/nix-test/nix-collect-garbage-d/store/87729y8mcxwpwwzi663j177c7s66yffr-user-environment.drv' deleting unused links... note: currently hard linking saves 0.00 MiB ++(nix-collect-garbage-d.sh:21) nix-env --list-generations ++(nix-collect-garbage-d.sh:21) wc -l +(nix-collect-garbage-d.sh:21) [[ 1 -eq 1 ]] +(nix-collect-garbage-d.sh:39) rm /build/nix-test/nix-collect-garbage-d/test-home/.nix-profile +(nix-collect-garbage-d.sh:40) testCollectGarbageD --profile /build/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me +(nix-collect-garbage-d.sh:11) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles +(nix-collect-garbage-d.sh:14) nix-env -f ./user-envs.nix -i foo-1.0 --profile /build/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me installing 'foo-1.0' this derivation will be built: /build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv building '/build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv'... building '/build/nix-test/nix-collect-garbage-d/store/yrxv267shh52vybbyr259khypirwn3iz-user-environment.drv'... +(nix-collect-garbage-d.sh:15) nix-env -f ./user-envs.nix -i foo-2.0pre1 --profile /build/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me replacing old 'foo-1.0' installing 'foo-2.0pre1' ++(nix-collect-garbage-d.sh:16) nix-env --list-generations --profile /build/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me ++(nix-collect-garbage-d.sh:16) wc -l +(nix-collect-garbage-d.sh:16) [[ 2 -eq 2 ]] +(nix-collect-garbage-d.sh:20) nix-collect-garbage -d removing old generations of profile /build/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me removing profile version 1 finding garbage collector roots... removing stale link from '/build/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/izpfqg40rr3sf413zzcc2spf64l8aidc' to '/build/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me-1-link' deleting garbage... deleting '/build/nix-test/nix-collect-garbage-d/store/pfbvnlffvkxkpyz8p9jgrl323vwxmm9i-foo-2.0pre1.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/8v7midf9sz0l5nrgrv45d35m21vc3mr1-foo-1.0.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/ak6jmsc4b723awkryh5a7jjrdy1bkyfw-user-envs.builder.sh' deleting '/build/nix-test/nix-collect-garbage-d/store/yrxv267shh52vybbyr259khypirwn3iz-user-environment.drv' deleting '/build/nix-test/nix-collect-garbage-d/store/s3yn5rxfp6xq2r2x6rcafbinvvpypy02-user-environment' deleting '/build/nix-test/nix-collect-garbage-d/store/pp0xjajys7z7lkfd8d98j62ky0va9183-env-manifest.nix' deleting '/build/nix-test/nix-collect-garbage-d/store/96fp0ggm3f6wx7lj2y10kxs4nrph59yz-foo-1.0' deleting '/build/nix-test/nix-collect-garbage-d/store/87729y8mcxwpwwzi663j177c7s66yffr-user-environment.drv' deleting unused links... note: currently hard linking saves 0.00 MiB ++(nix-collect-garbage-d.sh:21) nix-env --list-generations --profile /build/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me ++(nix-collect-garbage-d.sh:21) wc -l +(nix-collect-garbage-d.sh:21) [[ 1 -eq 1 ]] ============================================================================== =================================== 49/161 =================================== test: lix:installcheck / functional-experimental-features start time: 20:57:37 duration: 1.13s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=147 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py experimental-features.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/experimental-features +(init.sh:7) test -d /build/nix-test/experimental-features +(init.sh:8) chmod -R u+w /build/nix-test/experimental-features +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/experimental-features +(init.sh:13) mkdir /build/nix-test/experimental-features +(init.sh:15) mkdir /build/nix-test/experimental-features/store +(init.sh:16) mkdir /build/nix-test/experimental-features/var +(init.sh:17) mkdir -p /build/nix-test/experimental-features/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/experimental-features/var/nix +(init.sh:19) mkdir /build/nix-test/experimental-features/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/experimental-features/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(experimental-features.sh:34) NIX_CONFIG=' experimental-features = nix-command accept-flake-config = true ' +(experimental-features.sh:34) nix config show accept-flake-config +(experimental-features.sh:35) grepQuiet ask /build/nix-test/experimental-features/stdout +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep ask /build/nix-test/experimental-features/stdout +(experimental-features.sh:36) grepQuiet 'Ignoring setting '\''accept-flake-config'\'' because experimental feature '\''flakes'\'' is not enabled' /build/nix-test/experimental-features/stderr +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'Ignoring setting '\''accept-flake-config'\'' because experimental feature '\''flakes'\'' is not enabled' /build/nix-test/experimental-features/stderr +(experimental-features.sh:42) NIX_CONFIG=' accept-flake-config = true experimental-features = nix-command ' +(experimental-features.sh:42) nix config show accept-flake-config +(experimental-features.sh:43) grepQuiet ask /build/nix-test/experimental-features/stdout +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep ask /build/nix-test/experimental-features/stdout +(experimental-features.sh:44) grepQuiet 'Ignoring setting '\''accept-flake-config'\'' because experimental feature '\''flakes'\'' is not enabled' /build/nix-test/experimental-features/stderr +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'Ignoring setting '\''accept-flake-config'\'' because experimental feature '\''flakes'\'' is not enabled' /build/nix-test/experimental-features/stderr +(experimental-features.sh:50) NIX_CONFIG=' experimental-features = nix-command flakes accept-flake-config = true ' +(experimental-features.sh:50) nix config show accept-flake-config +(experimental-features.sh:51) grepQuiet true /build/nix-test/experimental-features/stdout +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep true /build/nix-test/experimental-features/stdout +(experimental-features.sh:52) grepQuietInverse 'Ignoring setting '\''accept-flake-config'\''' /build/nix-test/experimental-features/stderr +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep 'Ignoring setting '\''accept-flake-config'\''' /build/nix-test/experimental-features/stderr +(experimental-features.sh:58) NIX_CONFIG=' accept-flake-config = true experimental-features = nix-command flakes ' +(experimental-features.sh:58) nix config show accept-flake-config +(experimental-features.sh:59) grepQuiet true /build/nix-test/experimental-features/stdout +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep true /build/nix-test/experimental-features/stdout +(experimental-features.sh:60) grepQuietInverse 'Ignoring setting '\''accept-flake-config'\''' /build/nix-test/experimental-features/stderr +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep 'Ignoring setting '\''accept-flake-config'\''' /build/nix-test/experimental-features/stderr +(experimental-features.sh:71) exit_code_both_ways show-config --flake-registry https://no +(experimental-features.sh:63) expect 1 nix --experimental-features nix-command show-config --flake-registry https://no +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix --experimental-features nix-command show-config --flake-registry https://no warning: 'show-config' is a deprecated alias for 'config show' warning: Ignoring setting 'flake-registry' because experimental feature 'flakes' is not enabled error: experimental Lix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(experimental-features.sh:64) nix --experimental-features 'nix-command flakes' show-config --flake-registry https://no warning: 'show-config' is a deprecated alias for 'config show' warning: you don't have Internet access; disabling some network-dependent features +(experimental-features.sh:67) expect 1 nix show-config --flake-registry https://no --experimental-features nix-command +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix show-config --flake-registry https://no --experimental-features nix-command warning: 'show-config' is a deprecated alias for 'config show' error: experimental Lix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(experimental-features.sh:68) nix show-config --flake-registry https://no --experimental-features 'nix-command flakes' warning: 'show-config' is a deprecated alias for 'config show' warning: you don't have Internet access; disabling some network-dependent features +(experimental-features.sh:74) nix --experimental-features '' --help +(experimental-features.sh:75) nix --experimental-features '' doctor --help +(experimental-features.sh:76) nix --experimental-features '' repl --help +(experimental-features.sh:77) nix --experimental-features '' upgrade-nix --help +(experimental-features.sh:83) for arg in '--print-build-logs' '--offline' '--refresh' +(experimental-features.sh:84) nix --experimental-features nix-command --print-build-logs --help +(experimental-features.sh:85) expect 1 nix --experimental-features '' --print-build-logs --help +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix --experimental-features '' --print-build-logs --help error: experimental Lix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(experimental-features.sh:83) for arg in '--print-build-logs' '--offline' '--refresh' +(experimental-features.sh:84) nix --experimental-features nix-command --offline --help +(experimental-features.sh:85) expect 1 nix --experimental-features '' --offline --help +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix --experimental-features '' --offline --help error: experimental Lix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(experimental-features.sh:83) for arg in '--print-build-logs' '--offline' '--refresh' +(experimental-features.sh:84) nix --experimental-features nix-command --refresh --help +(experimental-features.sh:85) expect 1 nix --experimental-features '' --refresh --help +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix --experimental-features '' --refresh --help error: experimental Lix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 ============================================================================== =================================== 50/161 =================================== test: lix:installcheck / functional-user-envs-migration start time: 20:57:38 duration: 0.20s result: exit status 77 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=192 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py user-envs-migration.sh ----------------------------------- stdout ----------------------------------- [SKIP] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/user-envs-migration +(init.sh:7) test -d /build/nix-test/user-envs-migration +(init.sh:8) chmod -R u+w /build/nix-test/user-envs-migration +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/user-envs-migration +(init.sh:13) mkdir /build/nix-test/user-envs-migration +(init.sh:15) mkdir /build/nix-test/user-envs-migration/store +(init.sh:16) mkdir /build/nix-test/user-envs-migration/var +(init.sh:17) mkdir -p /build/nix-test/user-envs-migration/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/user-envs-migration/var/nix +(init.sh:19) mkdir /build/nix-test/user-envs-migration/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/user-envs-migration/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(user-envs-migration.sh:6) isDaemonNewer 2.4pre20211005 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(user-envs-migration.sh:7) skipTest 'Daemon is too new' +(/build/source/build/tests/functional/common/vars-and-functions.sh:159) echo 'Daemon is too new, skipping this test...' Daemon is too new, skipping this test... +(/build/source/build/tests/functional/common/vars-and-functions.sh:160) exit 99 ============================================================================== =================================== 51/161 =================================== test: lix:installcheck / functional-nix-collect-garbage-dry-run start time: 20:57:37 duration: 1.86s result: exit status 0 command: MALLOC_PERTURB_=85 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix-collect-garbage-dry-run.sh ----------------------------------- stdout ----------------------------------- clearing store... 7 store paths deleted, 0.00 MiB freed 7 store paths deleted, 0.00 MiB freed 7 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix-collect-garbage-dry-run +(init.sh:7) test -d /build/nix-test/nix-collect-garbage-dry-run +(init.sh:8) chmod -R u+w /build/nix-test/nix-collect-garbage-dry-run +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix-collect-garbage-dry-run +(init.sh:13) mkdir /build/nix-test/nix-collect-garbage-dry-run +(init.sh:15) mkdir /build/nix-test/nix-collect-garbage-dry-run/store +(init.sh:16) mkdir /build/nix-test/nix-collect-garbage-dry-run/var +(init.sh:17) mkdir -p /build/nix-test/nix-collect-garbage-dry-run/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix-collect-garbage-dry-run/var/nix +(init.sh:19) mkdir /build/nix-test/nix-collect-garbage-dry-run/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix-collect-garbage-dry-run/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix-collect-garbage-dry-run.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/nix-collect-garbage-dry-run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/nix-collect-garbage-dry-run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/nix-collect-garbage-dry-run/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/nix-collect-garbage-dry-run/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/nix-collect-garbage-dry-run/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles +(nix-collect-garbage-dry-run.sh:24) testCollectGarbageDryRun +(nix-collect-garbage-dry-run.sh:9) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles +(nix-collect-garbage-dry-run.sh:12) nix-env -f ./user-envs.nix -i foo-1.0 installing 'foo-1.0' this derivation will be built: /build/nix-test/nix-collect-garbage-dry-run/store/29wn1cyd6fya19qzdp31allyy2r0nvp3-foo-1.0.drv building '/build/nix-test/nix-collect-garbage-dry-run/store/29wn1cyd6fya19qzdp31allyy2r0nvp3-foo-1.0.drv'... building '/build/nix-test/nix-collect-garbage-dry-run/store/dwkxncbwmix4pqa6pin218mb2bz0kzgs-user-environment.drv'... +(nix-collect-garbage-dry-run.sh:13) nix-env -f ./user-envs.nix -e foo-1.0 uninstalling 'foo-1.0' building '/build/nix-test/nix-collect-garbage-dry-run/store/4zc3xn4ihpfxq5q4klbqr86ckr5hsjyv-user-environment.drv'... +(nix-collect-garbage-dry-run.sh:16) nix-env --delete-generations old removing profile version 1 ++(nix-collect-garbage-dry-run.sh:17) nix-store --gc --print-dead ++(nix-collect-garbage-dry-run.sh:17) wc -l finding garbage collector roots... removing stale link from '/build/nix-test/nix-collect-garbage-dry-run/var/nix/gcroots/auto/69yh1ijhxlzcp4lvddr5s7hp1sl85qgf' to '/build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles/profile-1-link' determining live/dead paths... +(nix-collect-garbage-dry-run.sh:17) [[ 7 -eq 7 ]] +(nix-collect-garbage-dry-run.sh:19) nix-collect-garbage --dry-run finding garbage collector roots... determining live/dead paths... /build/nix-test/nix-collect-garbage-dry-run/store/29wn1cyd6fya19qzdp31allyy2r0nvp3-foo-1.0.drv /build/nix-test/nix-collect-garbage-dry-run/store/4zc3xn4ihpfxq5q4klbqr86ckr5hsjyv-user-environment.drv /build/nix-test/nix-collect-garbage-dry-run/store/dwkxncbwmix4pqa6pin218mb2bz0kzgs-user-environment.drv /build/nix-test/nix-collect-garbage-dry-run/store/i9ajnqbbn43d1jnrc9wcp8ar2fj5f7xn-env-manifest.nix /build/nix-test/nix-collect-garbage-dry-run/store/ncv1p652y0q2mqgy2wv4bavvyhs3pa6z-user-envs.builder.sh /build/nix-test/nix-collect-garbage-dry-run/store/vw2wizjk50b7nl9a32daq3hbqkml71vk-user-environment /build/nix-test/nix-collect-garbage-dry-run/store/wyfk0f0f9xvc460y2n09w7rsy6lzzf81-foo-1.0 ++(nix-collect-garbage-dry-run.sh:20) nix-store --gc --print-dead ++(nix-collect-garbage-dry-run.sh:20) wc -l finding garbage collector roots... determining live/dead paths... +(nix-collect-garbage-dry-run.sh:20) [[ 7 -eq 7 ]] +(nix-collect-garbage-dry-run.sh:27) rm /build/nix-test/nix-collect-garbage-dry-run/test-home/.nix-profile +(nix-collect-garbage-dry-run.sh:28) ln -s /build/nix-test/nix-collect-garbage-dry-run/blah /build/nix-test/nix-collect-garbage-dry-run/test-home/.nix-profile +(nix-collect-garbage-dry-run.sh:29) testCollectGarbageDryRun +(nix-collect-garbage-dry-run.sh:9) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles +(nix-collect-garbage-dry-run.sh:12) nix-env -f ./user-envs.nix -i foo-1.0 installing 'foo-1.0' +(nix-collect-garbage-dry-run.sh:13) nix-env -f ./user-envs.nix -e foo-1.0 uninstalling 'foo-1.0' +(nix-collect-garbage-dry-run.sh:16) nix-env --delete-generations old removing profile version 1 ++(nix-collect-garbage-dry-run.sh:17) nix-store --gc --print-dead ++(nix-collect-garbage-dry-run.sh:17) wc -l finding garbage collector roots... removing stale link from '/build/nix-test/nix-collect-garbage-dry-run/var/nix/gcroots/auto/8q3q6806l96g3pz9ixdlnfvr05q9k6ac' to '/build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles/profile-2-link' removing stale link from '/build/nix-test/nix-collect-garbage-dry-run/var/nix/gcroots/auto/3xk319917nkrv2x71qnpqkxd6icvbgvw' to '/build/nix-test/nix-collect-garbage-dry-run/blah-1-link' determining live/dead paths... +(nix-collect-garbage-dry-run.sh:17) [[ 7 -eq 7 ]] +(nix-collect-garbage-dry-run.sh:19) nix-collect-garbage --dry-run finding garbage collector roots... determining live/dead paths... /build/nix-test/nix-collect-garbage-dry-run/store/29wn1cyd6fya19qzdp31allyy2r0nvp3-foo-1.0.drv /build/nix-test/nix-collect-garbage-dry-run/store/4zc3xn4ihpfxq5q4klbqr86ckr5hsjyv-user-environment.drv /build/nix-test/nix-collect-garbage-dry-run/store/dwkxncbwmix4pqa6pin218mb2bz0kzgs-user-environment.drv /build/nix-test/nix-collect-garbage-dry-run/store/i9ajnqbbn43d1jnrc9wcp8ar2fj5f7xn-env-manifest.nix /build/nix-test/nix-collect-garbage-dry-run/store/ncv1p652y0q2mqgy2wv4bavvyhs3pa6z-user-envs.builder.sh /build/nix-test/nix-collect-garbage-dry-run/store/vw2wizjk50b7nl9a32daq3hbqkml71vk-user-environment /build/nix-test/nix-collect-garbage-dry-run/store/wyfk0f0f9xvc460y2n09w7rsy6lzzf81-foo-1.0 ++(nix-collect-garbage-dry-run.sh:20) wc -l ++(nix-collect-garbage-dry-run.sh:20) nix-store --gc --print-dead finding garbage collector roots... determining live/dead paths... +(nix-collect-garbage-dry-run.sh:20) [[ 7 -eq 7 ]] +(nix-collect-garbage-dry-run.sh:39) rm /build/nix-test/nix-collect-garbage-dry-run/test-home/.nix-profile +(nix-collect-garbage-dry-run.sh:40) testCollectGarbageDryRun --profile /build/nix-test/nix-collect-garbage-dry-run/var/nix/profiles/per-user/me +(nix-collect-garbage-dry-run.sh:9) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles +(nix-collect-garbage-dry-run.sh:12) nix-env -f ./user-envs.nix -i foo-1.0 installing 'foo-1.0' +(nix-collect-garbage-dry-run.sh:13) nix-env -f ./user-envs.nix -e foo-1.0 uninstalling 'foo-1.0' +(nix-collect-garbage-dry-run.sh:16) nix-env --delete-generations old removing profile version 1 ++(nix-collect-garbage-dry-run.sh:17) nix-store --gc --print-dead ++(nix-collect-garbage-dry-run.sh:17) wc -l finding garbage collector roots... removing stale link from '/build/nix-test/nix-collect-garbage-dry-run/var/nix/gcroots/auto/69yh1ijhxlzcp4lvddr5s7hp1sl85qgf' to '/build/nix-test/nix-collect-garbage-dry-run/test-home/.local/state/nix/profiles/profile-1-link' determining live/dead paths... +(nix-collect-garbage-dry-run.sh:17) [[ 7 -eq 7 ]] +(nix-collect-garbage-dry-run.sh:19) nix-collect-garbage --dry-run finding garbage collector roots... determining live/dead paths... /build/nix-test/nix-collect-garbage-dry-run/store/29wn1cyd6fya19qzdp31allyy2r0nvp3-foo-1.0.drv /build/nix-test/nix-collect-garbage-dry-run/store/4zc3xn4ihpfxq5q4klbqr86ckr5hsjyv-user-environment.drv /build/nix-test/nix-collect-garbage-dry-run/store/dwkxncbwmix4pqa6pin218mb2bz0kzgs-user-environment.drv /build/nix-test/nix-collect-garbage-dry-run/store/i9ajnqbbn43d1jnrc9wcp8ar2fj5f7xn-env-manifest.nix /build/nix-test/nix-collect-garbage-dry-run/store/ncv1p652y0q2mqgy2wv4bavvyhs3pa6z-user-envs.builder.sh /build/nix-test/nix-collect-garbage-dry-run/store/vw2wizjk50b7nl9a32daq3hbqkml71vk-user-environment /build/nix-test/nix-collect-garbage-dry-run/store/wyfk0f0f9xvc460y2n09w7rsy6lzzf81-foo-1.0 ++(nix-collect-garbage-dry-run.sh:20) nix-store --gc --print-dead ++(nix-collect-garbage-dry-run.sh:20) wc -l finding garbage collector roots... determining live/dead paths... +(nix-collect-garbage-dry-run.sh:20) [[ 7 -eq 7 ]] ============================================================================== =================================== 52/161 =================================== test: lix:installcheck / functional-binary-cache start time: 20:57:38 duration: 1.05s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=207 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py binary-cache.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/binary-cache/store/gr95gwfc0kcm2lc8ckf2fk9sap2bb64q-dependencies-top.drv clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/binary-cache +(init.sh:7) test -d /build/nix-test/binary-cache +(init.sh:8) chmod -R u+w /build/nix-test/binary-cache +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/binary-cache +(init.sh:13) mkdir /build/nix-test/binary-cache +(init.sh:15) mkdir /build/nix-test/binary-cache/store +(init.sh:16) mkdir /build/nix-test/binary-cache/var +(init.sh:17) mkdir -p /build/nix-test/binary-cache/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/binary-cache/var/nix +(init.sh:19) mkdir /build/nix-test/binary-cache/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/binary-cache/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(binary-cache.sh:3) needLocalStore ''\''--no-require-sigs'\'' can’t be used with the daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(binary-cache.sh:6) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/binary-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/binary-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/binary-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/binary-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/binary-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/binary-cache/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/binary-cache/test-home/.local/state/nix/profiles +(binary-cache.sh:7) clearCacheCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/build/nix-test/binary-cache/test-home/.cache/nix/binary-cache*' +(binary-cache.sh:8) nix-instantiate --store file:///build/nix-test/binary-cache/binary-cache dependencies.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(binary-cache.sh:11) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/binary-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/binary-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/binary-cache/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/binary-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/binary-cache/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/binary-cache/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/binary-cache/test-home/.local/state/nix/profiles +(binary-cache.sh:12) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/binary-cache/binary-cache ++(binary-cache.sh:13) nix-build dependencies.nix --no-out-link these 5 derivations will be built: /build/nix-test/binary-cache/store/21lilmyr61n5rw835h6nj8n4gvq6q1nd-dependencies-input-0.drv /build/nix-test/binary-cache/store/464d4zh9bp55pabsk2v5g8lqqd7psljr-fod-input.drv /build/nix-test/binary-cache/store/6v6kiqk78wav2hhv6vflgycgpiq3rnxh-dependencies-input-1.drv /build/nix-test/binary-cache/store/jmqi3vgvdcafhsl1smaar135ih1186cb-dependencies-input-2.drv /build/nix-test/binary-cache/store/gr95gwfc0kcm2lc8ckf2fk9sap2bb64q-dependencies-top.drv building '/build/nix-test/binary-cache/store/21lilmyr61n5rw835h6nj8n4gvq6q1nd-dependencies-input-0.drv'... building '/build/nix-test/binary-cache/store/6v6kiqk78wav2hhv6vflgycgpiq3rnxh-dependencies-input-1.drv'... building '/build/nix-test/binary-cache/store/jmqi3vgvdcafhsl1smaar135ih1186cb-dependencies-input-2.drv'... building '/build/nix-test/binary-cache/store/464d4zh9bp55pabsk2v5g8lqqd7psljr-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/binary-cache/store/qp71mfg3d9cfl8szc53z7r204spc90xd-fod-input': Permission denied +(binary-cache.sh:13) outPath= ++(binary-cache.sh:13) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x binary-cache.sh: test failed at: main in binary-cache.sh:13 ============================================================================== =================================== 53/161 =================================== test: lix:installcheck / functional-nix-build start time: 20:57:39 duration: 0.37s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=115 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix-build.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix-build +(init.sh:7) test -d /build/nix-test/nix-build +(init.sh:8) chmod -R u+w /build/nix-test/nix-build +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix-build +(init.sh:13) mkdir /build/nix-test/nix-build +(init.sh:15) mkdir /build/nix-test/nix-build/store +(init.sh:16) mkdir /build/nix-test/nix-build/var +(init.sh:17) mkdir -p /build/nix-test/nix-build/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix-build/var/nix +(init.sh:19) mkdir /build/nix-test/nix-build/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix-build/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix-build.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/nix-build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/nix-build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/nix-build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/nix-build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/nix-build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-build/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-build/test-home/.local/state/nix/profiles ++(nix-build.sh:5) nix-build dependencies.nix -o /build/nix-test/nix-build/result these 5 derivations will be built: /build/nix-test/nix-build/store/fn9r6ih9aby2g0d8qq8xiwwkqyqw96rs-dependencies-input-0.drv /build/nix-test/nix-build/store/flwr0fh0xajfdhy7qkbiagrk7qx3bbqj-dependencies-input-2.drv /build/nix-test/nix-build/store/l5ss63r2k13aijn6kn1frz2wvsh0xjn8-fod-input.drv /build/nix-test/nix-build/store/q0l8pfywdpzy8ngp2hb3npyd82inb0m1-dependencies-input-1.drv /build/nix-test/nix-build/store/r0v8bpnxi4j24lp90sr6qyb18lp9fmn7-dependencies-top.drv building '/build/nix-test/nix-build/store/fn9r6ih9aby2g0d8qq8xiwwkqyqw96rs-dependencies-input-0.drv'... building '/build/nix-test/nix-build/store/q0l8pfywdpzy8ngp2hb3npyd82inb0m1-dependencies-input-1.drv'... building '/build/nix-test/nix-build/store/flwr0fh0xajfdhy7qkbiagrk7qx3bbqj-dependencies-input-2.drv'... building '/build/nix-test/nix-build/store/l5ss63r2k13aijn6kn1frz2wvsh0xjn8-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/nix-build/store/2rxlpkdd3v69zq8v0gpwhnaw10nchr8c-fod-input': Permission denied +(nix-build.sh:5) outPath= ++(nix-build.sh:5) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x nix-build.sh: test failed at: main in nix-build.sh:5 ============================================================================== =================================== 54/161 =================================== test: lix:installcheck / functional-multiple-outputs start time: 20:57:39 duration: 1.98s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=248 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py multiple-outputs.sh ----------------------------------- stdout ----------------------------------- clearing store... evaluating c... building b... output path is /build/nix-test/multiple-outputs/store/vh462gig2h8xn96glkcsf4vf70gjl6v0-multiple-outputs-b /build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first /build/nix-test/multiple-outputs/store/9nbvnkxzqpkzv1jkgx5884rkqagfr0b1-multiple-outputs-a-second 1 store paths deleted, 0.00 MiB freed /build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first /build/nix-test/multiple-outputs/store/9nbvnkxzqpkzv1jkgx5884rkqagfr0b1-multiple-outputs-a-second building a.first... /build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first building cyclic... collecting garbage... 20 store paths deleted, 0.01 MiB freed error: store path 'da2pbhjgc89zlkbzgmkxxv9clqg73wp6-invalid-output-name-1-out/' contains illegal character '/' error: store path '5l8401qmrzk2zgcwpfzrysb1y3ybb478-invalid-output-name-2-foo$' contains illegal character '$' [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/multiple-outputs +(init.sh:7) test -d /build/nix-test/multiple-outputs +(init.sh:8) chmod -R u+w /build/nix-test/multiple-outputs +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/multiple-outputs +(init.sh:13) mkdir /build/nix-test/multiple-outputs +(init.sh:15) mkdir /build/nix-test/multiple-outputs/store +(init.sh:16) mkdir /build/nix-test/multiple-outputs/var +(init.sh:17) mkdir -p /build/nix-test/multiple-outputs/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/multiple-outputs/var/nix +(init.sh:19) mkdir /build/nix-test/multiple-outputs/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/multiple-outputs/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(multiple-outputs.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/multiple-outputs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/multiple-outputs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/multiple-outputs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/multiple-outputs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/multiple-outputs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/multiple-outputs/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/multiple-outputs/test-home/.local/state/nix/profiles +(multiple-outputs.sh:5) rm -f '/build/nix-test/multiple-outputs/result*' ++(multiple-outputs.sh:8) nix-instantiate multiple-outputs.nix --eval -A nameCheck.out.outPath +(multiple-outputs.sh:8) outPath='"/build/nix-test/multiple-outputs/store/19wfqdcjzz3xhyzbird23pp6v3yvy5yi-multiple-outputs-a"' ++(multiple-outputs.sh:9) echo '"/build/nix-test/multiple-outputs/store/19wfqdcjzz3xhyzbird23pp6v3yvy5yi-multiple-outputs-a"' ++(multiple-outputs.sh:9) sed -E 's_^".*/[^-/]*-([^/]*)"$_\1_' +(multiple-outputs.sh:9) '[' multiple-outputs-a = multiple-outputs-a ']' ++(multiple-outputs.sh:10) nix-instantiate multiple-outputs.nix --eval -A nameCheck.dev.outPath +(multiple-outputs.sh:10) outPath='"/build/nix-test/multiple-outputs/store/d2d9f1jwgm96kv8187v3mcwisqm443ab-multiple-outputs-a-dev"' ++(multiple-outputs.sh:11) sed -E 's_^".*/[^-/]*-([^/]*)"$_\1_' ++(multiple-outputs.sh:11) echo '"/build/nix-test/multiple-outputs/store/d2d9f1jwgm96kv8187v3mcwisqm443ab-multiple-outputs-a-dev"' +(multiple-outputs.sh:11) '[' multiple-outputs-a-dev = multiple-outputs-a-dev ']' +(multiple-outputs.sh:15) echo 'evaluating c...' ++(multiple-outputs.sh:20) nix-instantiate multiple-outputs.nix -A c warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(multiple-outputs.sh:20) drvPath=/build/nix-test/multiple-outputs/store/a79y32d99q14zk4kkxdrpggknf44197x-multiple-outputs-c.drv +(multiple-outputs.sh:22) grepQuiet 'multiple-outputs-a.drv",\["first","second"\]' /build/nix-test/multiple-outputs/store/a79y32d99q14zk4kkxdrpggknf44197x-multiple-outputs-c.drv +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'multiple-outputs-a.drv",\["first","second"\]' /build/nix-test/multiple-outputs/store/a79y32d99q14zk4kkxdrpggknf44197x-multiple-outputs-c.drv +(multiple-outputs.sh:23) grepQuiet 'multiple-outputs-b.drv",\["out"\]' /build/nix-test/multiple-outputs/store/a79y32d99q14zk4kkxdrpggknf44197x-multiple-outputs-c.drv +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'multiple-outputs-b.drv",\["out"\]' /build/nix-test/multiple-outputs/store/a79y32d99q14zk4kkxdrpggknf44197x-multiple-outputs-c.drv ++(multiple-outputs.sh:26) nix-build multiple-outputs.nix -A d --no-out-link this derivation will be built: /build/nix-test/multiple-outputs/store/5iykvbb9y99f5ipaq9bw708lrzqvjf01-multiple-outputs-d.drv building '/build/nix-test/multiple-outputs/store/5iykvbb9y99f5ipaq9bw708lrzqvjf01-multiple-outputs-d.drv'... +(multiple-outputs.sh:26) outPath=/build/nix-test/multiple-outputs/store/b29ndwrjpsdmq95q76i87layhfrya2pr-multiple-outputs-d ++(multiple-outputs.sh:27) cat /build/nix-test/multiple-outputs/store/b29ndwrjpsdmq95q76i87layhfrya2pr-multiple-outputs-d/drv +(multiple-outputs.sh:27) drvPath=/build/nix-test/multiple-outputs/store/jchkigripls3j030lzc6342vgd0iy2qp-multiple-outputs-b.drv ++(multiple-outputs.sh:28) nix-store -q /build/nix-test/multiple-outputs/store/jchkigripls3j030lzc6342vgd0iy2qp-multiple-outputs-b.drv +(multiple-outputs.sh:28) outPath=/build/nix-test/multiple-outputs/store/vh462gig2h8xn96glkcsf4vf70gjl6v0-multiple-outputs-b +(multiple-outputs.sh:29) '[' -e /build/nix-test/multiple-outputs/store/vh462gig2h8xn96glkcsf4vf70gjl6v0-multiple-outputs-b ']' +(multiple-outputs.sh:33) echo 'building b...' ++(multiple-outputs.sh:34) nix-build multiple-outputs.nix -A b --no-out-link these 2 derivations will be built: /build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv /build/nix-test/multiple-outputs/store/jchkigripls3j030lzc6342vgd0iy2qp-multiple-outputs-b.drv building '/build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv'... building '/build/nix-test/multiple-outputs/store/jchkigripls3j030lzc6342vgd0iy2qp-multiple-outputs-b.drv'... +(multiple-outputs.sh:34) outPath=/build/nix-test/multiple-outputs/store/vh462gig2h8xn96glkcsf4vf70gjl6v0-multiple-outputs-b +(multiple-outputs.sh:35) echo 'output path is /build/nix-test/multiple-outputs/store/vh462gig2h8xn96glkcsf4vf70gjl6v0-multiple-outputs-b' ++(multiple-outputs.sh:36) cat /build/nix-test/multiple-outputs/store/vh462gig2h8xn96glkcsf4vf70gjl6v0-multiple-outputs-b/file +(multiple-outputs.sh:36) '[' success = success ']' ++(multiple-outputs.sh:39) nix-build multiple-outputs.nix -A a -o /build/nix-test/multiple-outputs/result +(multiple-outputs.sh:39) outPath1=/build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first +(multiple-outputs.sh:40) '[' -e /build/nix-test/multiple-outputs/result-first ']' +(multiple-outputs.sh:41) '[' -e /build/nix-test/multiple-outputs/result-second ']' +(multiple-outputs.sh:42) nix-build multiple-outputs.nix -A a.all -o /build/nix-test/multiple-outputs/result ++(multiple-outputs.sh:43) cat /build/nix-test/multiple-outputs/result-first/file +(multiple-outputs.sh:43) '[' first = first ']' ++(multiple-outputs.sh:44) cat /build/nix-test/multiple-outputs/result-second/file +(multiple-outputs.sh:44) '[' second = second ']' ++(multiple-outputs.sh:45) cat /build/nix-test/multiple-outputs/result-second/link/file +(multiple-outputs.sh:45) '[' first = first ']' ++(multiple-outputs.sh:46) nix-store -q --hash /build/nix-test/multiple-outputs/result-second +(multiple-outputs.sh:46) hash1=sha256:05mzvq057w4lwgvzyppry3vhw9l7ygrkzzhzjwf0qkmmymyfz2pq +++(multiple-outputs.sh:48) nix-instantiate multiple-outputs.nix -A a warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(multiple-outputs.sh:48) nix-build '/build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv!first' --no-out-link +(multiple-outputs.sh:48) outPath2=/build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first +(multiple-outputs.sh:49) [[ /build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first = /build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first ]] +++(multiple-outputs.sh:51) nix-instantiate multiple-outputs.nix -A a.first warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(multiple-outputs.sh:51) nix-build '/build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv!first' --no-out-link +(multiple-outputs.sh:51) outPath2=/build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first +(multiple-outputs.sh:52) [[ /build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first = /build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first ]] +++(multiple-outputs.sh:54) nix-instantiate multiple-outputs.nix -A a.second warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(multiple-outputs.sh:54) nix-build '/build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv!second' --no-out-link +(multiple-outputs.sh:54) outPath2=/build/nix-test/multiple-outputs/store/9nbvnkxzqpkzv1jkgx5884rkqagfr0b1-multiple-outputs-a-second ++(multiple-outputs.sh:55) cat /build/nix-test/multiple-outputs/store/9nbvnkxzqpkzv1jkgx5884rkqagfr0b1-multiple-outputs-a-second/file +(multiple-outputs.sh:55) [[ second = second ]] +++(multiple-outputs.sh:57) nix-instantiate multiple-outputs.nix -A a.all ++(multiple-outputs.sh:57) wc -l warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(multiple-outputs.sh:57) nix-build '/build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv!first' '/build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv!second' --no-out-link +(multiple-outputs.sh:57) [[ 2 -eq 2 ]] +(multiple-outputs.sh:61) env -u NIX_REMOTE nix store delete /build/nix-test/multiple-outputs/result-second --ignore-liveness warning: you don't have Internet access; disabling some network-dependent features finding garbage collector roots... deleting '/build/nix-test/multiple-outputs/store/9nbvnkxzqpkzv1jkgx5884rkqagfr0b1-multiple-outputs-a-second' deleting unused links... note: currently hard linking saves 0.00 MiB +(multiple-outputs.sh:62) nix-build multiple-outputs.nix -A a.all -o /build/nix-test/multiple-outputs/result this derivation will be built: /build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv building '/build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv'... ++(multiple-outputs.sh:63) cat /build/nix-test/multiple-outputs/result-second/file +(multiple-outputs.sh:63) '[' second = second ']' ++(multiple-outputs.sh:64) cat /build/nix-test/multiple-outputs/result-second/link/file +(multiple-outputs.sh:64) '[' first = first ']' ++(multiple-outputs.sh:65) nix-store -q --hash /build/nix-test/multiple-outputs/result-second +(multiple-outputs.sh:65) hash2=sha256:05mzvq057w4lwgvzyppry3vhw9l7ygrkzzhzjwf0qkmmymyfz2pq +(multiple-outputs.sh:66) '[' sha256:05mzvq057w4lwgvzyppry3vhw9l7ygrkzzhzjwf0qkmmymyfz2pq = sha256:05mzvq057w4lwgvzyppry3vhw9l7ygrkzzhzjwf0qkmmymyfz2pq ']' +(multiple-outputs.sh:69) echo 'building a.first...' +(multiple-outputs.sh:70) nix-build multiple-outputs.nix -A a.first --no-out-link +(multiple-outputs.sh:73) echo 'building cyclic...' +(multiple-outputs.sh:74) nix-build multiple-outputs.nix -A cyclic --no-out-link this derivation will be built: /build/nix-test/multiple-outputs/store/3zgcx76c3c2pa3p8h5ziwiv9r4zg5mm6-cyclic-outputs.drv building '/build/nix-test/multiple-outputs/store/3zgcx76c3c2pa3p8h5ziwiv9r4zg5mm6-cyclic-outputs.drv'... error: cycle detected in build of '/build/nix-test/multiple-outputs/store/3zgcx76c3c2pa3p8h5ziwiv9r4zg5mm6-cyclic-outputs.drv' in the references of output 'a' from output 'b' +(multiple-outputs.sh:80) echo 'collecting garbage...' +(multiple-outputs.sh:81) rm /build/nix-test/multiple-outputs/result-first /build/nix-test/multiple-outputs/result-second +(multiple-outputs.sh:82) nix-store --gc --keep-derivations --keep-outputs finding garbage collector roots... removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/hd0g8vw2lb19qvmcw7q3vf05sdd64kkl' to '/build/nix-build-9097-0/result' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/kdnp7k56ykzgdf17lrsc9fmyzlg1ix3y' to '/build/nix-build-9184-0/result' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/nrf4wh248989ivnv2diwsr7zqnxpilia' to '/build/nix-build-9350-0/result-first' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/8q9k5if1j7d44jraq3fnv3d41wa9mavb' to '/build/nix-build-9405-0/result-first' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/2g338ac9sn7mq2r5zw8gv5ly16xpb1vl' to '/build/nix-build-9462-0/result-second' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/0i80m9hybqqvvvxrij7hpymk9aywkplx' to '/build/nix-build-9507-0/result-first' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/dw5a8qxpfi96qqglj63kpbj1qqhv5z60' to '/build/nix-build-9507-0/result-second' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/6qg5c0bpga959923551bvwgdgl22633n' to '/build/nix-test/multiple-outputs/result-first' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/3s5g4bfl9hdd8i186g9npkyg67amjsgs' to '/build/nix-test/multiple-outputs/result-second' removing stale link from '/build/nix-test/multiple-outputs/var/nix/gcroots/auto/f6yh9b7qfb9hss4j9kn4nvrdzr8ykhmc' to '/build/nix-build-9697-0/result-first' deleting garbage... deleting '/build/nix-test/multiple-outputs/store/a79y32d99q14zk4kkxdrpggknf44197x-multiple-outputs-c.drv' deleting '/build/nix-test/multiple-outputs/store/kn48vnb777dpc6r7717xxlg18561vk02-builder.sh' deleting '/build/nix-test/multiple-outputs/store/vh462gig2h8xn96glkcsf4vf70gjl6v0-multiple-outputs-b' deleting '/build/nix-test/multiple-outputs/store/b29ndwrjpsdmq95q76i87layhfrya2pr-multiple-outputs-d' deleting '/build/nix-test/multiple-outputs/store/9nbvnkxzqpkzv1jkgx5884rkqagfr0b1-multiple-outputs-a-second' deleting '/build/nix-test/multiple-outputs/store/jjnlhpc9nzswj1h4s03fjrbasfrcx4i3-multiple-outputs-a-first' deleting '/build/nix-test/multiple-outputs/store/5iykvbb9y99f5ipaq9bw708lrzqvjf01-multiple-outputs-d.drv' deleting '/build/nix-test/multiple-outputs/store/jchkigripls3j030lzc6342vgd0iy2qp-multiple-outputs-b.drv' deleting '/build/nix-test/multiple-outputs/store/057s2sw0b0p4l2dhz1faf4mmaq87pgmp-multiple-outputs-a.drv' deleting '/build/nix-test/multiple-outputs/store/kdxvmik4a4m8n9fig8hci6xpdfs4kmvn-builder.sh' deleting '/build/nix-test/multiple-outputs/store/7xfkzgcm847axq1a073vfagh64yzqqs6-builder.sh' deleting '/build/nix-test/multiple-outputs/store/0il5bhjdqnnq6vp4kw9wd2b4aarizybw-builder.sh' deleting '/build/nix-test/multiple-outputs/store/3zgcx76c3c2pa3p8h5ziwiv9r4zg5mm6-cyclic-outputs.drv' deleting '/build/nix-test/multiple-outputs/store/n98rdpfdrzvy6lwid6f4db9fzdp0208b-builder.sh' deleting '/build/nix-test/multiple-outputs/store/27zhdg5y81rphwp98rb4m7jqdawsixgx-cyclic-outputs-b.lock' deleting '/build/nix-test/multiple-outputs/store/fhxvnrcbm7s78xj0fpl4ph83fjbydwiw-cyclic-outputs-c.lock' deleting '/build/nix-test/multiple-outputs/store/j7y5jhg64fgviwn2ilpmf55gnd1lg85m-cyclic-outputs-a.lock' deleting '/build/nix-test/multiple-outputs/store/j7y5jhg64fgviwn2ilpmf55gnd1lg85m-cyclic-outputs-a' deleting '/build/nix-test/multiple-outputs/store/27zhdg5y81rphwp98rb4m7jqdawsixgx-cyclic-outputs-b' deleting '/build/nix-test/multiple-outputs/store/fhxvnrcbm7s78xj0fpl4ph83fjbydwiw-cyclic-outputs-c' deleting unused links... note: currently hard linking saves 0.00 MiB +(multiple-outputs.sh:83) nix-store --gc --print-roots +(multiple-outputs.sh:84) rm -rf /build/nix-test/multiple-outputs/store/.links +(multiple-outputs.sh:85) rmdir /build/nix-test/multiple-outputs/store +(multiple-outputs.sh:87) grep 'contains illegal character' +(multiple-outputs.sh:87) expect 1 nix build -f multiple-outputs.nix invalid-output-name-1 +(multiple-outputs.sh:88) expect 1 nix build -f multiple-outputs.nix invalid-output-name-2 +(multiple-outputs.sh:88) grep 'contains illegal character' ============================================================================== =================================== 55/161 =================================== test: lix:installcheck / functional-repair start time: 20:57:41 duration: 0.43s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=189 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py repair.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/repair +(init.sh:7) test -d /build/nix-test/repair +(init.sh:8) chmod -R u+w /build/nix-test/repair +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/repair +(init.sh:13) mkdir /build/nix-test/repair +(init.sh:15) mkdir /build/nix-test/repair/store +(init.sh:16) mkdir /build/nix-test/repair/var +(init.sh:17) mkdir -p /build/nix-test/repair/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/repair/var/nix +(init.sh:19) mkdir /build/nix-test/repair/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/repair/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(repair.sh:3) needLocalStore '--repair needs a local store' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(repair.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/repair/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/repair/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/repair/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/repair/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/repair/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/repair/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/repair/test-home/.local/state/nix/profiles ++(repair.sh:7) nix-build dependencies.nix -o /build/nix-test/repair/result these 5 derivations will be built: /build/nix-test/repair/store/xcxm00m51cgsa34kk9gfza3wq62k0yr2-dependencies-input-0.drv /build/nix-test/repair/store/735svpcrjfkmhr5pik69hm9fl90z465c-dependencies-input-2.drv /build/nix-test/repair/store/9allarfqr29aqvp7nwa92lgx3933rswl-fod-input.drv /build/nix-test/repair/store/qfinx3kldv6qa22kj0vpch6wny4gb948-dependencies-input-1.drv /build/nix-test/repair/store/6lnk5x6j6w44avv3r5jp84mrlbr5yizw-dependencies-top.drv building '/build/nix-test/repair/store/xcxm00m51cgsa34kk9gfza3wq62k0yr2-dependencies-input-0.drv'... building '/build/nix-test/repair/store/qfinx3kldv6qa22kj0vpch6wny4gb948-dependencies-input-1.drv'... building '/build/nix-test/repair/store/735svpcrjfkmhr5pik69hm9fl90z465c-dependencies-input-2.drv'... building '/build/nix-test/repair/store/9allarfqr29aqvp7nwa92lgx3933rswl-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/repair/store/dprnfrcrxnfcs95mfr1gv1vpw4g0ai1n-fod-input': Permission denied +(repair.sh:7) path= ++(repair.sh:7) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x repair.sh: test failed at: main in repair.sh:7 ============================================================================== =================================== 56/161 =================================== test: lix:installcheck / functional-gc-concurrent start time: 20:57:40 duration: 1.16s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=2 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py gc-concurrent.sh ----------------------------------- stdout ----------------------------------- clearing store... Build started 3 store paths deleted, 0.00 MiB freed waiting for pid 9832 to finish... /build/nix-test/gc-concurrent/store/qvahyf01qc7p5mzq49vlfbyxfpmq1wqs-gc-concurrent FOOBAR BAR /build/nix-test/gc-concurrent/store/brrkiksd4vqlfa2vv0hxnhgw7ab8g7w2-gc-concurrent2 FOOBARxyzzy 13 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/gc-concurrent +(init.sh:7) test -d /build/nix-test/gc-concurrent +(init.sh:8) chmod -R u+w /build/nix-test/gc-concurrent +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/gc-concurrent +(init.sh:13) mkdir /build/nix-test/gc-concurrent +(init.sh:15) mkdir /build/nix-test/gc-concurrent/store +(init.sh:16) mkdir /build/nix-test/gc-concurrent/var +(init.sh:17) mkdir -p /build/nix-test/gc-concurrent/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/gc-concurrent/var/nix +(init.sh:19) mkdir /build/nix-test/gc-concurrent/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/gc-concurrent/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(gc-concurrent.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/gc-concurrent/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/gc-concurrent/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/gc-concurrent/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/gc-concurrent/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/gc-concurrent/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/gc-concurrent/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/gc-concurrent/test-home/.local/state/nix/profiles +(gc-concurrent.sh:5) lockFifo1=/build/nix-test/gc-concurrent/test1.fifo +(gc-concurrent.sh:6) mkfifo /build/nix-test/gc-concurrent/test1.fifo ++(gc-concurrent.sh:8) nix-instantiate gc-concurrent.nix -A test1 --argstr lockFifo /build/nix-test/gc-concurrent/test1.fifo warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(gc-concurrent.sh:8) drvPath1=/build/nix-test/gc-concurrent/store/ypjhrlwnmblfxya5z987x0j3n5kx4z8g-gc-concurrent.drv ++(gc-concurrent.sh:9) nix-store -q /build/nix-test/gc-concurrent/store/ypjhrlwnmblfxya5z987x0j3n5kx4z8g-gc-concurrent.drv +(gc-concurrent.sh:9) outPath1=/build/nix-test/gc-concurrent/store/qvahyf01qc7p5mzq49vlfbyxfpmq1wqs-gc-concurrent ++(gc-concurrent.sh:11) nix-instantiate gc-concurrent.nix -A test2 warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(gc-concurrent.sh:11) drvPath2=/build/nix-test/gc-concurrent/store/b042z4mqfkhfz9q0r3i4gfi9z1ljfd2l-gc-concurrent2.drv ++(gc-concurrent.sh:12) nix-store -q /build/nix-test/gc-concurrent/store/b042z4mqfkhfz9q0r3i4gfi9z1ljfd2l-gc-concurrent2.drv +(gc-concurrent.sh:12) outPath2=/build/nix-test/gc-concurrent/store/brrkiksd4vqlfa2vv0hxnhgw7ab8g7w2-gc-concurrent2 ++(gc-concurrent.sh:14) nix-instantiate simple.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(gc-concurrent.sh:14) drvPath3=/build/nix-test/gc-concurrent/store/avmclr2d37y08yafzr9cmj16kpgbidjy-simple.drv ++(gc-concurrent.sh:15) nix-store -r /build/nix-test/gc-concurrent/store/avmclr2d37y08yafzr9cmj16kpgbidjy-simple.drv this derivation will be built: /build/nix-test/gc-concurrent/store/avmclr2d37y08yafzr9cmj16kpgbidjy-simple.drv building '/build/nix-test/gc-concurrent/store/avmclr2d37y08yafzr9cmj16kpgbidjy-simple.drv'... PATH= warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(gc-concurrent.sh:15) outPath3=/build/nix-test/gc-concurrent/store/cbdlak4yifnzyyy8nsg677siczq5w29k-simple +(gc-concurrent.sh:17) test -e /build/nix-test/gc-concurrent/store/cbdlak4yifnzyyy8nsg677siczq5w29k-simple.lock +(gc-concurrent.sh:18) touch /build/nix-test/gc-concurrent/store/cbdlak4yifnzyyy8nsg677siczq5w29k-simple.lock +(gc-concurrent.sh:20) rm -f '/build/nix-test/gc-concurrent/var/nix/gcroots/foo*' +(gc-concurrent.sh:21) ln -s /build/nix-test/gc-concurrent/store/b042z4mqfkhfz9q0r3i4gfi9z1ljfd2l-gc-concurrent2.drv /build/nix-test/gc-concurrent/var/nix/gcroots/foo +(gc-concurrent.sh:22) ln -s /build/nix-test/gc-concurrent/store/cbdlak4yifnzyyy8nsg677siczq5w29k-simple /build/nix-test/gc-concurrent/var/nix/gcroots/foo2 +(gc-concurrent.sh:26) pid1=9832 +(gc-concurrent.sh:29) cat /build/nix-test/gc-concurrent/test1.fifo +(gc-concurrent.sh:25) nix-store -rvv /build/nix-test/gc-concurrent/store/ypjhrlwnmblfxya5z987x0j3n5kx4z8g-gc-concurrent.drv these 3 derivations will be built: /build/nix-test/gc-concurrent/store/54dnzjcayi6bq02zlcc1mgzls0zmjflv-dependencies-input-1.drv /build/nix-test/gc-concurrent/store/jgis25zmhx2vxxvfh95i76l1drqqp1fl-dependencies-input-2.drv /build/nix-test/gc-concurrent/store/ypjhrlwnmblfxya5z987x0j3n5kx4z8g-gc-concurrent.drv executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc-concurrent/store/swpd76cfljz3krnxj3510wjpmhjzf9y0-builder-dependencies-input-1.sh' building '/build/nix-test/gc-concurrent/store/54dnzjcayi6bq02zlcc1mgzls0zmjflv-dependencies-input-1.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc-concurrent/store/dpa7m0n6pl3fs7cyni4rdilcihlz96s1-builder-dependencies-input-2.sh' building '/build/nix-test/gc-concurrent/store/jgis25zmhx2vxxvfh95i76l1drqqp1fl-dependencies-input-2.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc-concurrent/store/yvi49zg43wr3cpy6kk5j0ma1ps1b2g5i-gc-concurrent.builder.sh' building '/build/nix-test/gc-concurrent/store/ypjhrlwnmblfxya5z987x0j3n5kx4z8g-gc-concurrent.drv'... +(gc-concurrent.sh:32) nix-collect-garbage finding garbage collector roots... deleting garbage... deleting '/build/nix-test/gc-concurrent/store/avmclr2d37y08yafzr9cmj16kpgbidjy-simple.drv' deleting '/build/nix-test/gc-concurrent/store/a4b69fyk0pjgf7ahgz6b1k2yq4spifqq-simple.builder.sh' deleting '/build/nix-test/gc-concurrent/store/cbdlak4yifnzyyy8nsg677siczq5w29k-simple.lock' deleting unused links... note: currently hard linking saves 0.00 MiB +(gc-concurrent.sh:35) echo '' +(gc-concurrent.sh:36) echo waiting for pid 9832 to finish... +(gc-concurrent.sh:37) wait 9832 warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(gc-concurrent.sh:42) cat /build/nix-test/gc-concurrent/store/qvahyf01qc7p5mzq49vlfbyxfpmq1wqs-gc-concurrent/foobar +(gc-concurrent.sh:43) cat /build/nix-test/gc-concurrent/store/qvahyf01qc7p5mzq49vlfbyxfpmq1wqs-gc-concurrent/input-2/bar +(gc-concurrent.sh:47) nix-store -rvv /build/nix-test/gc-concurrent/store/b042z4mqfkhfz9q0r3i4gfi9z1ljfd2l-gc-concurrent2.drv this derivation will be built: /build/nix-test/gc-concurrent/store/b042z4mqfkhfz9q0r3i4gfi9z1ljfd2l-gc-concurrent2.drv executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc-concurrent/store/4bzlgkg2317n0nr9yd0bzjl6jk3yzjfg-gc-concurrent2.builder.sh' building '/build/nix-test/gc-concurrent/store/b042z4mqfkhfz9q0r3i4gfi9z1ljfd2l-gc-concurrent2.drv'... warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(gc-concurrent.sh:48) cat /build/nix-test/gc-concurrent/store/brrkiksd4vqlfa2vv0hxnhgw7ab8g7w2-gc-concurrent2/foobar +(gc-concurrent.sh:50) rm -f /build/nix-test/gc-concurrent/var/nix/gcroots/foo /build/nix-test/gc-concurrent/var/nix/gcroots/foo2 +(gc-concurrent.sh:54) test -e /build/nix-test/gc-concurrent/store/cbdlak4yifnzyyy8nsg677siczq5w29k-simple.lock +(gc-concurrent.sh:57) nix-collect-garbage finding garbage collector roots... deleting garbage... deleting '/build/nix-test/gc-concurrent/store/ypjhrlwnmblfxya5z987x0j3n5kx4z8g-gc-concurrent.drv' deleting '/build/nix-test/gc-concurrent/store/yvi49zg43wr3cpy6kk5j0ma1ps1b2g5i-gc-concurrent.builder.sh' deleting '/build/nix-test/gc-concurrent/store/b042z4mqfkhfz9q0r3i4gfi9z1ljfd2l-gc-concurrent2.drv' deleting '/build/nix-test/gc-concurrent/store/54dnzjcayi6bq02zlcc1mgzls0zmjflv-dependencies-input-1.drv' deleting '/build/nix-test/gc-concurrent/store/swpd76cfljz3krnxj3510wjpmhjzf9y0-builder-dependencies-input-1.sh' deleting '/build/nix-test/gc-concurrent/store/jgis25zmhx2vxxvfh95i76l1drqqp1fl-dependencies-input-2.drv' deleting '/build/nix-test/gc-concurrent/store/dpa7m0n6pl3fs7cyni4rdilcihlz96s1-builder-dependencies-input-2.sh' deleting '/build/nix-test/gc-concurrent/store/4bzlgkg2317n0nr9yd0bzjl6jk3yzjfg-gc-concurrent2.builder.sh' deleting '/build/nix-test/gc-concurrent/store/cbdlak4yifnzyyy8nsg677siczq5w29k-simple' deleting '/build/nix-test/gc-concurrent/store/bvs89ald32s7dvlzzjj000fz1am8z7v4-dependencies-input-1' deleting '/build/nix-test/gc-concurrent/store/qvahyf01qc7p5mzq49vlfbyxfpmq1wqs-gc-concurrent' deleting '/build/nix-test/gc-concurrent/store/cb0r37cc2igmgqifkpwnj7p1kgqpzyaa-dependencies-input-2' deleting '/build/nix-test/gc-concurrent/store/brrkiksd4vqlfa2vv0hxnhgw7ab8g7w2-gc-concurrent2' deleting unused links... note: currently hard linking saves 0.00 MiB +(gc-concurrent.sh:58) test -e /build/nix-test/gc-concurrent/store/qvahyf01qc7p5mzq49vlfbyxfpmq1wqs-gc-concurrent +(gc-concurrent.sh:59) test -e /build/nix-test/gc-concurrent/store/brrkiksd4vqlfa2vv0hxnhgw7ab8g7w2-gc-concurrent2 ============================================================================== =================================== 57/161 =================================== test: lix:installcheck / functional-export-graph start time: 20:57:41 duration: 0.38s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=98 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py export-graph.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/export-graph +(init.sh:7) test -d /build/nix-test/export-graph +(init.sh:8) chmod -R u+w /build/nix-test/export-graph +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/export-graph +(init.sh:13) mkdir /build/nix-test/export-graph +(init.sh:15) mkdir /build/nix-test/export-graph/store +(init.sh:16) mkdir /build/nix-test/export-graph/var +(init.sh:17) mkdir -p /build/nix-test/export-graph/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/export-graph/var/nix +(init.sh:19) mkdir /build/nix-test/export-graph/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/export-graph/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(export-graph.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/export-graph/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/export-graph/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/export-graph/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/export-graph/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/export-graph/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/export-graph/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/export-graph/test-home/.local/state/nix/profiles +(export-graph.sh:4) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/export-graph/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/export-graph/test-home/.local/state/nix/profiles ++(export-graph.sh:12) nix-build ./export-graph.nix -A 'foo."bar.runtimeGraph"' -o /build/nix-test/export-graph/result these 6 derivations will be built: /build/nix-test/export-graph/store/840xawlfc0l1vxaignjl72zf0v2ckfzv-dependencies-input-1.drv /build/nix-test/export-graph/store/dm76606l4m83hdv1bhf4202kmykb40is-fod-input.drv /build/nix-test/export-graph/store/z75wbk237g4j1wfvxds8zhw23sbfr1dz-dependencies-input-0.drv /build/nix-test/export-graph/store/zvisdcfz9jfvr48br0jzm1pkr13d8chs-dependencies-input-2.drv /build/nix-test/export-graph/store/nakfmswci9nyc78lmv21r4zgb1kkfbgc-dependencies-top.drv /build/nix-test/export-graph/store/djq8zvl0ih1r94czh7q6z6jp2ilr56w2-dependencies.drv building '/build/nix-test/export-graph/store/z75wbk237g4j1wfvxds8zhw23sbfr1dz-dependencies-input-0.drv'... building '/build/nix-test/export-graph/store/840xawlfc0l1vxaignjl72zf0v2ckfzv-dependencies-input-1.drv'... building '/build/nix-test/export-graph/store/zvisdcfz9jfvr48br0jzm1pkr13d8chs-dependencies-input-2.drv'... building '/build/nix-test/export-graph/store/dm76606l4m83hdv1bhf4202kmykb40is-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/export-graph/store/aaz50m0rv3blf192grp4yq5kh7y8fmfz-fod-input': Permission denied +(export-graph.sh:12) outPath= ++(export-graph.sh:12) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x export-graph.sh: test failed at: main in export-graph.sh:12 ============================================================================== =================================== 58/161 =================================== test: lix:installcheck / functional-fixed start time: 20:57:41 duration: 0.57s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=220 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fixed.sh ----------------------------------- stdout ----------------------------------- clearing store... testing bad... [{"ca":"fixed:md5:2qk15sxzzjlnpjk9brn7j8ppcd","deriver":"/build/nix-test/fixed/store/hz3kp73g46x8i8mlg3a70ir9n870mw26-fixed.drv","narHash":"sha256-O10uvOJfh8DTewsEX93TDfkI6iCt6ohRNx8wITd0Lq8=","narSize":128,"path":"/build/nix-test/fixed/store/v6d8icrsrj54v5302iyl4lm0rnyd6rsv-fixed","references":[],"registrationTime":1725915461,"ultimate":true,"valid":true}] testing good... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fixed +(init.sh:7) test -d /build/nix-test/fixed +(init.sh:8) chmod -R u+w /build/nix-test/fixed +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fixed +(init.sh:13) mkdir /build/nix-test/fixed +(init.sh:15) mkdir /build/nix-test/fixed/store +(init.sh:16) mkdir /build/nix-test/fixed/var +(init.sh:17) mkdir -p /build/nix-test/fixed/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fixed/var/nix +(init.sh:19) mkdir /build/nix-test/fixed/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fixed/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fixed.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fixed/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fixed/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fixed/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fixed/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fixed/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fixed/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fixed/test-home/.local/state/nix/profiles +++(fixed.sh:5) nix-instantiate fixed.nix -A good.0 warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(fixed.sh:5) nix-store -q /build/nix-test/fixed/store/g823p09rq0920sz1lynlmp6v7955yy9s-fixed.drv +(fixed.sh:5) path=/build/nix-test/fixed/store/v6d8icrsrj54v5302iyl4lm0rnyd6rsv-fixed +(fixed.sh:7) echo 'testing bad...' +(fixed.sh:8) nix-build fixed.nix -A bad --no-out-link this derivation will be built: /build/nix-test/fixed/store/hz3kp73g46x8i8mlg3a70ir9n870mw26-fixed.drv building '/build/nix-test/fixed/store/hz3kp73g46x8i8mlg3a70ir9n870mw26-fixed.drv'... error: hash mismatch in fixed-output derivation '/build/nix-test/fixed/store/hz3kp73g46x8i8mlg3a70ir9n870mw26-fixed.drv': likely URL: (unknown) specified: md5-Dd2L5LF5pSmvpfL/rkuYWA== got: md5-jd2L5LF5pSmvpfL/rkuYWA== +(fixed.sh:12) [[ -e /build/nix-test/fixed/store/v6d8icrsrj54v5302iyl4lm0rnyd6rsv-fixed ]] +(fixed.sh:13) nix path-info --json /build/nix-test/fixed/store/v6d8icrsrj54v5302iyl4lm0rnyd6rsv-fixed +(fixed.sh:13) grep fixed:md5:2qk15sxzzjlnpjk9brn7j8ppcd warning: you don't have Internet access; disabling some network-dependent features +(fixed.sh:15) echo 'testing good...' +(fixed.sh:16) nix-build fixed.nix -A good --no-out-link these 3 derivations will be built: /build/nix-test/fixed/store/8z2x6290ncfz9r5mnjc4dqq4ry9vn4zn-fixed.drv /build/nix-test/fixed/store/wxr9cmxz38vy7v3gjq7d1fk4m6v7iw4w-fixed.drv /build/nix-test/fixed/store/z7z7vw86a91gbjkbb43jyyjmnz27nz02-fixed.drv building '/build/nix-test/fixed/store/8z2x6290ncfz9r5mnjc4dqq4ry9vn4zn-fixed.drv'... dummy: error: removing extended attribute 'btrfs.compression' from '/build/nix-test/fixed/store/92hikm5kzsvfk8vdqmxi7rwwlyd7adrk-fixed/foo': Permission denied ++(fixed.sh:16) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x fixed.sh: test failed at: main in fixed.sh:16 ============================================================================== =================================== 59/161 =================================== test: lix:installcheck / functional-user-envs start time: 20:57:38 duration: 5.16s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=214 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py user-envs.sh ----------------------------------- stdout ----------------------------------- clearing store... true true true foo-1.0 = /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 1 2024-09-09 20:57:39 2 2024-09-09 20:57:39 3 2024-09-09 20:57:39 4 2024-09-09 20:57:40 5 2024-09-09 20:57:40 (current) 6 2024-09-09 20:57:40 7 2024-09-09 20:57:40 1 2024-09-09 20:57:39 2 2024-09-09 20:57:39 3 2024-09-09 20:57:39 4 2024-09-09 20:57:40 5 2024-09-09 20:57:40 6 2024-09-09 20:57:40 7 2024-09-09 20:57:40 8 2024-09-09 20:57:41 (current) /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 /build/nix-test/user-envs/store/l6l65c5lljlx7h1333dhr4jhwrl61xxx-user-environment 29 store paths deleted, 0.01 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/user-envs +(init.sh:7) test -d /build/nix-test/user-envs +(init.sh:8) chmod -R u+w /build/nix-test/user-envs +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/user-envs +(init.sh:13) mkdir /build/nix-test/user-envs +(init.sh:15) mkdir /build/nix-test/user-envs/store +(init.sh:16) mkdir /build/nix-test/user-envs/var +(init.sh:17) mkdir -p /build/nix-test/user-envs/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/user-envs/var/nix +(init.sh:19) mkdir /build/nix-test/user-envs/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/user-envs/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(user-envs.sh:3) '[' -z '' ']' +(user-envs.sh:4) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/user-envs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/user-envs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/user-envs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/user-envs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/user-envs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/user-envs/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/user-envs/test-home/.local/state/nix/profiles +(user-envs.sh:7) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/user-envs/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/user-envs/test-home/.local/state/nix/profiles ++(user-envs.sh:10) nix-env -p /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test -q '*' ++(user-envs.sh:10) wc -l +(user-envs.sh:10) test 0 -eq 0 +(user-envs.sh:12) nix-env --switch-profile /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test ++(user-envs.sh:15) nix-env -f ./user-envs.nix -qa '*' ++(user-envs.sh:15) wc -l +(user-envs.sh:15) test 6 -eq 6 ++(user-envs.sh:16) nix-env -f ./user-envs.nix -qa --out-path --no-name '*' ++(user-envs.sh:16) grep foo-1.0 +(user-envs.sh:16) outPath10=/build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 ++(user-envs.sh:17) nix-env -f ./user-envs.nix -qa --drv-path --no-name '*' ++(user-envs.sh:17) grep foo-1.0 +(user-envs.sh:17) drvPath10=/build/nix-test/user-envs/store/0askgxjd42ypg9wp2xn7w10g9hv4piw9-foo-1.0.drv +(user-envs.sh:18) '[' -n /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 -a -n /build/nix-test/user-envs/store/0askgxjd42ypg9wp2xn7w10g9hv4piw9-foo-1.0.drv ']' +(user-envs.sh:21) nix-env -f ./user-envs.nix -qa --json +(user-envs.sh:21) jq -e '.[] | select(.name == "bar-0.1") | [ .outputName == "out", .outputs.out == null ] | all' +(user-envs.sh:25) nix-env -f ./user-envs.nix -qa --json --out-path +(user-envs.sh:25) jq -e '.[] | select(.name == "bar-0.1") | [ .outputName == "out", (.outputs.out | test("/build/nix-test/user-envs/store.*-0\\.1")) ] | all' +(user-envs.sh:29) nix-env -f ./user-envs.nix -qa --json --drv-path +(user-envs.sh:29) jq -e '.[] | select(.name == "bar-0.1") | (.drvPath | test("/build/nix-test/user-envs/store.*-0\\.1\\.drv"))' +(user-envs.sh:32) nix-env -f ./user-envs.nix -qa '*' --description +(user-envs.sh:32) grepQuiet silly +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep silly +(user-envs.sh:33) rm -rf /build/nix-test/user-envs/test-home/.nix-defexpr ++(user-envs.sh:34) pwd +(user-envs.sh:34) ln -s /build/source/build/tests/functional/user-envs.nix /build/nix-test/user-envs/test-home/.nix-defexpr +(user-envs.sh:35) nix-env -qa '*' --description +(user-envs.sh:35) grepQuiet silly +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep silly +(user-envs.sh:38) grepQuiet x86_64-linux +(user-envs.sh:38) nix-env -qa '*' --system +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep x86_64-linux +(user-envs.sh:41) nix-env -i foo-1.0 installing 'foo-1.0' this derivation will be built: /build/nix-test/user-envs/store/0askgxjd42ypg9wp2xn7w10g9hv4piw9-foo-1.0.drv building '/build/nix-test/user-envs/store/0askgxjd42ypg9wp2xn7w10g9hv4piw9-foo-1.0.drv'... building '/build/nix-test/user-envs/store/hjijj447kn08zw6sph2365wsn3yk4ff7-user-environment.drv'... ++(user-envs.sh:45) nix-env -q '*' ++(user-envs.sh:45) wc -l +(user-envs.sh:45) test 1 -eq 1 +(user-envs.sh:46) nix-env -q '*' +(user-envs.sh:46) grepQuiet foo-1.0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo-1.0 ++(user-envs.sh:47) /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test/bin/foo +(user-envs.sh:47) test foo-1.0 = foo-1.0 +(user-envs.sh:50) nix-env -qc '*' +(user-envs.sh:50) grepQuiet '< 2.0' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep '< 2.0' +(user-envs.sh:51) nix-env -qac '*' +(user-envs.sh:51) grepQuiet '> 1.0' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep '> 1.0' ++(user-envs.sh:54) nix-env -qab ++(user-envs.sh:54) wc -l +(user-envs.sh:54) '[' 1 -eq 1 ']' +(user-envs.sh:57) nix-env -qas +(user-envs.sh:57) grepQuiet 'IP- foo-1.0' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'IP- foo-1.0' +(user-envs.sh:58) nix-env -qas +(user-envs.sh:58) grepQuiet -- '--- bar-0.1' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -- '--- bar-0.1' +(user-envs.sh:61) nix-env --set-flag active false foo setting flag on 'foo-1.0' building '/build/nix-test/user-envs/store/mha6jlbjkn5q1x2c9cbvzsgdj0lq8kd2-user-environment.drv'... +(user-envs.sh:62) '[' -e /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test/bin/foo ']' +(user-envs.sh:65) nix-env --set-flag active true foo setting flag on 'foo-1.0' building '/build/nix-test/user-envs/store/2a3ilzm1lmyvhzk4h2dm56d0h7ajljd9-user-environment.drv'... +(user-envs.sh:66) '[' -e /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test/bin/foo ']' ++(user-envs.sh:69) nix-env -q --out-path --no-name '*' ++(user-envs.sh:69) grep foo-1.0 +(user-envs.sh:69) outPath10_=/build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 +(user-envs.sh:70) echo 'foo-1.0 = /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0' +(user-envs.sh:71) '[' /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 = /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 ']' +(user-envs.sh:74) nix-env -i foo-2.0pre1 replacing old 'foo-1.0' installing 'foo-2.0pre1' this derivation will be built: /build/nix-test/user-envs/store/8c04xhm3rj523grhiiz5qbd80n4vspyc-foo-2.0pre1.drv building '/build/nix-test/user-envs/store/8c04xhm3rj523grhiiz5qbd80n4vspyc-foo-2.0pre1.drv'... building '/build/nix-test/user-envs/store/15qi1y6id3krsw1vhviklhy4rq5zd165-user-environment.drv'... ++(user-envs.sh:77) nix-env -q '*' ++(user-envs.sh:77) wc -l +(user-envs.sh:77) test 1 -eq 1 +(user-envs.sh:78) nix-env -q '*' +(user-envs.sh:78) grepQuiet foo-2.0pre1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo-2.0pre1 ++(user-envs.sh:79) /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test/bin/foo +(user-envs.sh:79) test foo-2.0pre1 = foo-2.0pre1 +(user-envs.sh:82) NIX_PATH=nixpkgs=./user-envs.nix: +(user-envs.sh:82) nix-env -f '' -u foo upgrading 'foo-2.0pre1' to 'foo-2.0' this derivation will be built: /build/nix-test/user-envs/store/d74vwxqvic4fv7l2nlxix1gqhsrmbrwf-foo-2.0.drv building '/build/nix-test/user-envs/store/d74vwxqvic4fv7l2nlxix1gqhsrmbrwf-foo-2.0.drv'... building '/build/nix-test/user-envs/store/l3pxkrnpl5gf3x548brp1r0isnkfv5y2-user-environment.drv'... ++(user-envs.sh:85) nix-env -q '*' ++(user-envs.sh:85) wc -l +(user-envs.sh:85) test 1 -eq 1 +(user-envs.sh:86) nix-env -q '*' +(user-envs.sh:86) grepQuiet foo-2.0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo-2.0 ++(user-envs.sh:87) /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test/bin/foo +(user-envs.sh:87) test foo-2.0 = foo-2.0 ++(user-envs.sh:90) nix-env -q --out-path --no-name '*' ++(user-envs.sh:90) grep foo-2.0 +(user-envs.sh:90) outPath20=/build/nix-test/user-envs/store/k8fqaz2ihkccxv25kn3p6j16h214ri6b-foo-2.0 +(user-envs.sh:91) test -n /build/nix-test/user-envs/store/k8fqaz2ihkccxv25kn3p6j16h214ri6b-foo-2.0 +(user-envs.sh:94) nix-env -i bar-0.1 installing 'bar-0.1' this derivation will be built: /build/nix-test/user-envs/store/xnz074xr287l1bn1igdjp5h84xl0xj0v-bar-0.1.drv building '/build/nix-test/user-envs/store/xnz074xr287l1bn1igdjp5h84xl0xj0v-bar-0.1.drv'... building '/build/nix-test/user-envs/store/khc1gg9r01f9w3k0rzsisig55b47vshq-user-environment.drv'... +(user-envs.sh:95) nix-env -e foo uninstalling 'foo-2.0' building '/build/nix-test/user-envs/store/w1v0crn6xnj7g0a5b3js11yy4cvh1fzq-user-environment.drv'... +(user-envs.sh:98) nix-env -q '*' +(user-envs.sh:98) grepQuiet foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo +(user-envs.sh:99) nix-env -q '*' +(user-envs.sh:99) grepQuiet bar +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep bar ++(user-envs.sh:102) nix-store -q --resolve /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test +(user-envs.sh:102) oldGen=/build/nix-test/user-envs/store/zj78i4wvzwzbvjbw1k9hgxbqybhsdqz2-user-environment +(user-envs.sh:103) nix-env --rollback switching profile from version 7 to 6 ++(user-envs.sh:104) nix-store -q --resolve /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test +(user-envs.sh:104) '[' /build/nix-test/user-envs/store/y48q62fd6wb4vkhdg0x3rh61i8bfyfwp-user-environment '!=' /build/nix-test/user-envs/store/zj78i4wvzwzbvjbw1k9hgxbqybhsdqz2-user-environment ']' +(user-envs.sh:105) nix-env -q '*' +(user-envs.sh:105) grepQuiet foo-2.0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo-2.0 +(user-envs.sh:106) grepQuiet bar +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep bar +(user-envs.sh:106) nix-env -q '*' +(user-envs.sh:109) nix-env --rollback switching profile from version 6 to 5 +(user-envs.sh:110) nix-env -q '*' +(user-envs.sh:110) grepQuiet foo-2.0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo-2.0 +(user-envs.sh:111) nix-env -q '*' +(user-envs.sh:111) grepQuiet bar +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep bar +(user-envs.sh:114) nix-env --list-generations ++(user-envs.sh:115) nix-env --list-generations ++(user-envs.sh:115) wc -l +(user-envs.sh:115) test 7 -eq 7 +(user-envs.sh:120) nix-env -i foo replacing old 'foo-2.0' installing 'foo-2.0' +(user-envs.sh:121) nix-env -i foo replacing old 'foo-2.0' installing 'foo-2.0' +(user-envs.sh:124) nix-env --list-generations ++(user-envs.sh:125) nix-env --list-generations ++(user-envs.sh:125) wc -l +(user-envs.sh:125) test 8 -eq 8 +(user-envs.sh:128) nix-env --switch-generation 7 switching profile from version 8 to 7 ++(user-envs.sh:129) nix-store -q --resolve /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test +(user-envs.sh:129) '[' /build/nix-test/user-envs/store/zj78i4wvzwzbvjbw1k9hgxbqybhsdqz2-user-environment = /build/nix-test/user-envs/store/zj78i4wvzwzbvjbw1k9hgxbqybhsdqz2-user-environment ']' +(user-envs.sh:132) nix-env -i /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 installing 'foo-1.0' building '/build/nix-test/user-envs/store/d2wbmc700nyyiqsr24ywvasqfvwkd9xf-user-environment.drv'... +(user-envs.sh:133) nix-env -q '*' +(user-envs.sh:133) grepQuiet foo-1.0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo-1.0 +(user-envs.sh:134) nix-store -qR /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test +(user-envs.sh:134) grep /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 +(user-envs.sh:135) nix-store -q --referrers-closure /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test ++(user-envs.sh:135) nix-store -q --resolve /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test +(user-envs.sh:135) grep /build/nix-test/user-envs/store/l6l65c5lljlx7h1333dhr4jhwrl61xxx-user-environment ++(user-envs.sh:136) nix-store -q --deriver /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 +(user-envs.sh:136) '[' /build/nix-test/user-envs/store/0askgxjd42ypg9wp2xn7w10g9hv4piw9-foo-1.0.drv = /build/nix-test/user-envs/store/0askgxjd42ypg9wp2xn7w10g9hv4piw9-foo-1.0.drv ']' +(user-envs.sh:139) ln -sfn /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0/bin/foo /build/nix-test/user-envs/symlink +(user-envs.sh:140) nix-env -e /build/nix-test/user-envs/symlink uninstalling 'foo-1.0' +(user-envs.sh:141) nix-env -q '*' +(user-envs.sh:141) grepQuiet foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo +(user-envs.sh:142) nix-store -qR /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test +(user-envs.sh:142) grepInverse /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:258) grep /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 +(user-envs.sh:145) nix-env -i /build/nix-test/user-envs/symlink installing 'foo-1.0' +(user-envs.sh:146) nix-env -q '*' +(user-envs.sh:146) grepQuiet foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo +(user-envs.sh:149) nix-env --delete-generations old removing profile version 1 removing profile version 2 removing profile version 3 removing profile version 4 removing profile version 5 removing profile version 6 removing profile version 7 removing profile version 8 removing profile version 9 removing profile version 10 +(user-envs.sh:153) nix-collect-garbage finding garbage collector roots... removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/ki3pznzmjq4c563bgq7mdn1idvp8zkbi' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-1-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/9wylkr61gcbjzix93p866j94in9gpfg8' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-2-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/bwfvsw6v3jgpd5c8r0hc81f8vb621k6v' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-3-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/rq38gid7xchnn74pl25gvqkg4x5dljw2' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-4-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/s0hd3ss28b35ia60jqjs9sjmshwf6s6m' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-5-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/g97skd67qyrmjf8dwhbhjx892py755g3' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-6-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/2afwksm6l6rfhacz70phbzmlnwlrql8v' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-7-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/v7mk6dpfngcw871pfx5w72n55lsjkgjz' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-8-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/34l07lpvabcn18p0l7g82ws5wj25isq3' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-9-link' removing stale link from '/build/nix-test/user-envs/var/nix/gcroots/auto/yzfcsv5s0y9xmapdjlis5xldh81aczgn' to '/build/nix-test/user-envs/test-home/.local/state/nix/profiles/test-10-link' deleting garbage... deleting '/build/nix-test/user-envs/store/xnz074xr287l1bn1igdjp5h84xl0xj0v-bar-0.1.drv' deleting '/build/nix-test/user-envs/store/d74vwxqvic4fv7l2nlxix1gqhsrmbrwf-foo-2.0.drv' deleting '/build/nix-test/user-envs/store/8c04xhm3rj523grhiiz5qbd80n4vspyc-foo-2.0pre1.drv' deleting '/build/nix-test/user-envs/store/0askgxjd42ypg9wp2xn7w10g9hv4piw9-foo-1.0.drv' deleting '/build/nix-test/user-envs/store/gya8y4g011qizxwlcfh4k273kc6xjqn0-user-envs.builder.sh' deleting '/build/nix-test/user-envs/store/izmm762ajj611z1scrz1dzrcl9j58vbx-user-environment' deleting '/build/nix-test/user-envs/store/hjijj447kn08zw6sph2365wsn3yk4ff7-user-environment.drv' deleting '/build/nix-test/user-envs/store/4qdzsk29xlgb9filjz0ckr5rn1g7cfn9-env-manifest.nix' deleting '/build/nix-test/user-envs/store/mha6jlbjkn5q1x2c9cbvzsgdj0lq8kd2-user-environment.drv' deleting '/build/nix-test/user-envs/store/39c6mg31rfhqvwhh0lhm4k403g0lk17r-user-environment' deleting '/build/nix-test/user-envs/store/6bizxw5xajlyhb7lc4vl2wg8yqlskrsg-env-manifest.nix' deleting '/build/nix-test/user-envs/store/lpzs2rs5h7qni7rmc4fai9dadavh1y52-user-environment' deleting '/build/nix-test/user-envs/store/2a3ilzm1lmyvhzk4h2dm56d0h7ajljd9-user-environment.drv' deleting '/build/nix-test/user-envs/store/1mlkr695i50m3jnmdi0gk8i79c3qir91-env-manifest.nix' deleting '/build/nix-test/user-envs/store/cidv64b1i91m84qfz7x2j4sv0njy9ag1-user-environment' deleting '/build/nix-test/user-envs/store/15qi1y6id3krsw1vhviklhy4rq5zd165-user-environment.drv' deleting '/build/nix-test/user-envs/store/rq3bvikdr7wqgfxcn8i3hp1j2p7l1qcv-env-manifest.nix' deleting '/build/nix-test/user-envs/store/jmyrb8dfyjw9qpdhkparh1qrsxyk7r47-foo-2.0pre1' deleting '/build/nix-test/user-envs/store/y48q62fd6wb4vkhdg0x3rh61i8bfyfwp-user-environment' deleting '/build/nix-test/user-envs/store/l3pxkrnpl5gf3x548brp1r0isnkfv5y2-user-environment.drv' deleting '/build/nix-test/user-envs/store/khc1gg9r01f9w3k0rzsisig55b47vshq-user-environment.drv' deleting '/build/nix-test/user-envs/store/3wzysy4i1zqfx2mn9nlmpv6b2nzmf9s4-env-manifest.nix' deleting '/build/nix-test/user-envs/store/1rzjjdiqbfixwifmgdvja3fcqa00vipv-user-environment' deleting '/build/nix-test/user-envs/store/b4iharadlvzgq6xm8c65gpmywh8a37fl-env-manifest.nix' deleting '/build/nix-test/user-envs/store/k8fqaz2ihkccxv25kn3p6j16h214ri6b-foo-2.0' deleting '/build/nix-test/user-envs/store/zj78i4wvzwzbvjbw1k9hgxbqybhsdqz2-user-environment' deleting '/build/nix-test/user-envs/store/w1v0crn6xnj7g0a5b3js11yy4cvh1fzq-user-environment.drv' deleting '/build/nix-test/user-envs/store/p2fmy7in3kjkgbylbvnhicc5y61vy098-env-manifest.nix' deleting '/build/nix-test/user-envs/store/d2wbmc700nyyiqsr24ywvasqfvwkd9xf-user-environment.drv' deleting unused links... note: currently hard linking saves 0.00 MiB +(user-envs.sh:154) test -e /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 +(user-envs.sh:155) '[' -e /build/nix-test/user-envs/store/k8fqaz2ihkccxv25kn3p6j16h214ri6b-foo-2.0 ']' +(user-envs.sh:158) nix-env -e '*' uninstalling 'foo-1.0' uninstalling 'bar-0.1' building '/build/nix-test/user-envs/store/lng35w3fgg21y0k0544ws5rb02viqph7-user-environment.drv'... ++(user-envs.sh:159) nix-env -q '*' ++(user-envs.sh:159) wc -l +(user-envs.sh:159) test 0 -eq 0 +(user-envs.sh:162) nix-env -i foo installing 'foo-2.0' this derivation will be built: /build/nix-test/user-envs/store/d74vwxqvic4fv7l2nlxix1gqhsrmbrwf-foo-2.0.drv building '/build/nix-test/user-envs/store/d74vwxqvic4fv7l2nlxix1gqhsrmbrwf-foo-2.0.drv'... building '/build/nix-test/user-envs/store/l3pxkrnpl5gf3x548brp1r0isnkfv5y2-user-environment.drv'... ++(user-envs.sh:163) nix-env -q '*' ++(user-envs.sh:163) grep foo- ++(user-envs.sh:163) wc -l +(user-envs.sh:163) test 1 -eq 1 +(user-envs.sh:164) nix-env -q '*' +(user-envs.sh:164) grepQuiet foo-2.0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo-2.0 +(user-envs.sh:168) nix-env -e '*' uninstalling 'foo-2.0' +(user-envs.sh:169) nix-env -i foo-1.0 foo-2.0 installing 'foo-1.0' installing 'foo-2.0' building '/build/nix-test/user-envs/store/pjgal05g3vjscviz4r0j9dii3ag735ij-user-environment.drv'... error: Unable to build profile. There is a conflict for the following files: /build/nix-test/user-envs/store/k8fqaz2ihkccxv25kn3p6j16h214ri6b-foo-2.0/bin/foo /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0/bin/foo error: builder for '/build/nix-test/user-envs/store/pjgal05g3vjscviz4r0j9dii3ag735ij-user-environment.drv' failed with exit code 1 +(user-envs.sh:172) nix-env -e '*' warning: selector '*' matched no installed derivations +(user-envs.sh:173) nix-env -i '*' installing 'bar-0.1.1' installing 'foo-2.0' this derivation will be built: /build/nix-test/user-envs/store/0jz5h5ry1lk6kfr76086jclw0gpnx16l-bar-0.1.1.drv building '/build/nix-test/user-envs/store/0jz5h5ry1lk6kfr76086jclw0gpnx16l-bar-0.1.1.drv'... building '/build/nix-test/user-envs/store/kd3gkdvqba2g34fzaav4v0v9f593c08d-user-environment.drv'... ++(user-envs.sh:174) nix-env -q '*' ++(user-envs.sh:174) wc -l +(user-envs.sh:174) test 2 -eq 2 +(user-envs.sh:175) nix-env -q '*' +(user-envs.sh:175) grepQuiet foo-2.0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo-2.0 +(user-envs.sh:176) grepQuiet bar-0.1.1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep bar-0.1.1 +(user-envs.sh:176) nix-env -q '*' +(user-envs.sh:181) nix-env -e '*' uninstalling 'bar-0.1.1' uninstalling 'foo-2.0' +(user-envs.sh:182) nix-env -i foo-0.1 foo-1.0 installing 'foo-0.1' installing 'foo-1.0' this derivation will be built: /build/nix-test/user-envs/store/pwd1hig7p3ci0jf2ppn645n3k7jwihbb-foo-0.1.drv building '/build/nix-test/user-envs/store/pwd1hig7p3ci0jf2ppn645n3k7jwihbb-foo-0.1.drv'... building '/build/nix-test/user-envs/store/4445v0ynsgzphj3kjrxxbax6ql2dixvq-user-environment.drv'... ++(user-envs.sh:183) /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test/bin/foo +(user-envs.sh:183) '[' foo-1.0 = foo-1.0 ']' +(user-envs.sh:184) nix-env --set-flag priority 1 foo-0.1 setting flag on 'foo-0.1' building '/build/nix-test/user-envs/store/10ncm6zzhlkhhdkyaglgj8cx2ihjm32r-user-environment.drv'... ++(user-envs.sh:185) /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test/bin/foo +(user-envs.sh:185) '[' foo-0.1 = foo-0.1 ']' +(user-envs.sh:188) nix-env --set /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 ++(user-envs.sh:189) nix-store -q --resolve /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test +(user-envs.sh:189) '[' /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 = /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 ']' +(user-envs.sh:190) nix-env --set /build/nix-test/user-envs/store/0askgxjd42ypg9wp2xn7w10g9hv4piw9-foo-1.0.drv ++(user-envs.sh:191) nix-store -q --resolve /build/nix-test/user-envs/test-home/.local/state/nix/profiles/test +(user-envs.sh:191) '[' /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 = /build/nix-test/user-envs/store/y560p7wg0kp4kvh8izq7zcsi6csnyygm-foo-1.0 ']' ============================================================================== =================================== 60/161 =================================== test: lix:installcheck / functional-fetchGitRefs start time: 20:57:42 duration: 3.11s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=139 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchGitRefs.sh ----------------------------------- stdout ----------------------------------- clearing store... Initialized empty Git repository in /build/nix-test/fetchGitRefs/git/.git/ [master (root-commit) 743dcb1] Bla1 1 file changed, 1 insertion(+) create mode 100644 hello [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchGitRefs +(init.sh:7) test -d /build/nix-test/fetchGitRefs +(init.sh:8) chmod -R u+w /build/nix-test/fetchGitRefs +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchGitRefs +(init.sh:13) mkdir /build/nix-test/fetchGitRefs +(init.sh:15) mkdir /build/nix-test/fetchGitRefs/store +(init.sh:16) mkdir /build/nix-test/fetchGitRefs/var +(init.sh:17) mkdir -p /build/nix-test/fetchGitRefs/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchGitRefs/var/nix +(init.sh:19) mkdir /build/nix-test/fetchGitRefs/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchGitRefs/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fetchGitRefs.sh:3) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(fetchGitRefs.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fetchGitRefs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fetchGitRefs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fetchGitRefs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fetchGitRefs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fetchGitRefs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fetchGitRefs/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fetchGitRefs/test-home/.local/state/nix/profiles +(fetchGitRefs.sh:7) repo=/build/nix-test/fetchGitRefs/git +(fetchGitRefs.sh:9) rm -rf /build/nix-test/fetchGitRefs/git /build/nix-test/fetchGitRefs/git-tmp /build/nix-test/fetchGitRefs/test-home/.cache/nix +(fetchGitRefs.sh:11) git init /build/nix-test/fetchGitRefs/git hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(fetchGitRefs.sh:12) git -C /build/nix-test/fetchGitRefs/git config user.email foobar@example.com +(fetchGitRefs.sh:13) git -C /build/nix-test/fetchGitRefs/git config user.name Foobar +(fetchGitRefs.sh:15) echo utrecht +(fetchGitRefs.sh:16) git -C /build/nix-test/fetchGitRefs/git add hello +(fetchGitRefs.sh:17) git -C /build/nix-test/fetchGitRefs/git commit -m Bla1 ++(fetchGitRefs.sh:19) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = "master"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:19) path=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:60) valid_ref foox +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref foox$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch foox +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch foox master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foox'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D foox +(fetchGitRefs.sh:61) valid_ref 1337 +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref 1337$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch 1337 +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch 1337 master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''1337'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D 1337 +(fetchGitRefs.sh:62) valid_ref foo.baz +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref foo.baz$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch foo.baz +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch foo.baz master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo.baz'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D foo.baz +(fetchGitRefs.sh:63) valid_ref foo/bar/baz +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref foo/bar/baz$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch foo/bar/baz +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch foo/bar/baz master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo/bar/baz'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D foo/bar/baz +(fetchGitRefs.sh:64) valid_ref foo./bar +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref foo./bar$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch foo./bar +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch foo./bar master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo./bar'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D foo./bar +(fetchGitRefs.sh:65) valid_ref heads/foo@bar +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref heads/foo@bar$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch heads/foo@bar +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch heads/foo@bar master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo@bar'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D heads/foo@bar ++(fetchGitRefs.sh:66) printf 'heads/fu\303\237' +(fetchGitRefs.sh:66) valid_ref heads/fuß +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref heads/fu\303\237$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch heads/fuß +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch heads/fuß master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/fuß'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D heads/fuß +(fetchGitRefs.sh:67) valid_ref foo-bar-baz +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref foo-bar-baz$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch foo-bar-baz +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch foo-bar-baz master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo-bar-baz'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D foo-bar-baz +(fetchGitRefs.sh:68) valid_ref '$1' +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref $1$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch '$1' +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch '$1' master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''$1'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D '$1' +(fetchGitRefs.sh:69) valid_ref foo.locke +(fetchGitRefs.sh:39) set +x >>>>>>>>>> valid_ref foo.locke$ <<<<<<<<<< +(fetchGitRefs.sh:40) git check-ref-format --branch foo.locke +(fetchGitRefs.sh:41) git -C /build/nix-test/fetchGitRefs/git branch foo.locke master ++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo.locke'\'''\''; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitRefs/git' +(fetchGitRefs.sh:42) path1=/build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source +(fetchGitRefs.sh:43) [[ /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source = /build/nix-test/fetchGitRefs/store/45k2sl7h8v2vq290ja5s22qcjm6ypvwb-source ]] +(fetchGitRefs.sh:44) git -C /build/nix-test/fetchGitRefs/git branch -D foo.locke +(fetchGitRefs.sh:71) invalid_ref refs///heads/foo +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref refs///heads/foo$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' refs///heads/foo = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch refs///heads/foo +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''refs///heads/foo'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:72) invalid_ref heads/foo/ +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/foo/$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' heads/foo/ = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch heads/foo/ +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo/'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:73) invalid_ref ///heads/foo +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref ///heads/foo$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' ///heads/foo = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch ///heads/foo +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''///heads/foo'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:74) invalid_ref .foo +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref .foo$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' .foo = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch .foo +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''.foo'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:75) invalid_ref ./foo +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref ./foo$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' ./foo = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch ./foo +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''./foo'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:76) invalid_ref ./foo/bar +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref ./foo/bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' ./foo/bar = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch ./foo/bar +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''./foo/bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:77) invalid_ref foo/./bar +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo/./bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' foo/./bar = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch foo/./bar +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo/./bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:78) invalid_ref foo/bar/. +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo/bar/.$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' foo/bar/. = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch foo/bar/. +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo/bar/.'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:79) invalid_ref 'foo bar' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo <<<<<<<<<< >>>>>>>>>> invalid_ref bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'foo bar' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'foo bar' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:80) invalid_ref 'foo?bar' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo?bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'foo?bar' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'foo?bar' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo?bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:81) invalid_ref 'foo^bar' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo^bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'foo^bar' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'foo^bar' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo^bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:82) invalid_ref foo~bar +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo~bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' foo~bar = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch foo~bar +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo~bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:83) invalid_ref foo:bar +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo:bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' foo:bar = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch foo:bar +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo:bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:84) invalid_ref 'foo[bar' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo[bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'foo[bar' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'foo[bar' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo[bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:85) invalid_ref foo/bar/. +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo/bar/.$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' foo/bar/. = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch foo/bar/. +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo/bar/.'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:86) invalid_ref .refs/foo +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref .refs/foo$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' .refs/foo = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch .refs/foo +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''.refs/foo'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:87) invalid_ref refs/heads/foo. +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref refs/heads/foo.$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' refs/heads/foo. = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch refs/heads/foo. +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''refs/heads/foo.'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:88) invalid_ref heads/foo..bar +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/foo..bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' heads/foo..bar = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch heads/foo..bar +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo..bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:89) invalid_ref 'heads/foo?bar' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/foo?bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'heads/foo?bar' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/foo?bar' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo?bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:90) invalid_ref heads/foo.lock +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/foo.lock$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' heads/foo.lock = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch heads/foo.lock +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo.lock'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:91) invalid_ref heads///foo.lock +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads///foo.lock$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' heads///foo.lock = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch heads///foo.lock +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads///foo.lock'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:92) invalid_ref foo.lock/bar +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo.lock/bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' foo.lock/bar = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch foo.lock/bar +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo.lock/bar'\'''\''; }).outPath' +(fetchGitRefs.sh:93) invalid_ref foo.lock///bar +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo.lock///bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' foo.lock///bar = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch foo.lock///bar +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo.lock///bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:94) invalid_ref 'heads/v@{ation' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/v@{ation$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'heads/v@{ation' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/v@{ation' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/v@{ation'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:95) invalid_ref 'heads/foo\.ar' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/foo\\.ar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'heads/foo\.ar' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/foo\.ar' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo\.ar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:96) invalid_ref 'heads/foo\bar' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/foo\\bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'heads/foo\bar' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/foo\bar' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo\bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' ++(fetchGitRefs.sh:97) printf 'heads/foo\t' +(fetchGitRefs.sh:97) invalid_ref 'heads/foo ' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/foo\t$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'heads/foo ' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/foo ' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo '\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' ++(fetchGitRefs.sh:98) printf 'heads/foo\177' +(fetchGitRefs.sh:98) invalid_ref $'heads/foo\177' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref heads/foo\177$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' $'heads/foo\177' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch $'heads/foo\177' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:99) invalid_ref @ +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref @$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' @ = @ ']' +(fetchGitRefs.sh:52) git check-ref-format --allow-onelevel @ +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''@'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:101) invalid_ref 'foo/*' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo/*$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'foo/*' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'foo/*' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo/*'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:102) invalid_ref '*/foo' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref */foo$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' '*/foo' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch '*/foo' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''*/foo'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:103) invalid_ref 'foo/*/bar' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo/*/bar$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'foo/*/bar' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'foo/*/bar' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo/*/bar'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:104) invalid_ref '*' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref *$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' '*' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch '*' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''*'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:105) invalid_ref 'foo/*/*' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref foo/*/*$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' 'foo/*/*' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch 'foo/*/*' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''foo/*/*'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:106) invalid_ref '*/foo/*' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref */foo/*$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' '*/foo/*' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch '*/foo/*' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''*/foo/*'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:107) invalid_ref /foo +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref /foo$ <<<<<<<<<< +(fetchGitRefs.sh:51) '[' /foo = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch /foo +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\''/foo'\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' +(fetchGitRefs.sh:108) invalid_ref '' +(fetchGitRefs.sh:48) set +x >>>>>>>>>> invalid_ref  <<<<<<<<<< +(fetchGitRefs.sh:51) '[' '' = @ ']' +(fetchGitRefs.sh:54) git check-ref-format --branch '' +(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitRefs/git; ref = '\'''\'''\'''\''; }).outPath' +(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name' ============================================================================== =================================== 61/161 =================================== test: lix:installcheck / functional-flakes-flakes start time: 20:57:34 duration: 11.43s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=193 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/flakes.sh ----------------------------------- stdout ----------------------------------- clearing store... Initialized empty Git repository in /build/nix-test/flakes/flakes/flake1/.git/ Initialized empty Git repository in /build/nix-test/flakes/flakes/flake2/.git/ Initialized empty Git repository in /build/nix-test/flakes/flakes/flake3/.git/ Initialized empty Git repository in /build/nix-test/flakes/flakes/flake7/.git/ Initialized empty Git repository in /build/nix-test/flakes/flakes/nonFlake/.git/ [master (root-commit) 128b191] Initial 4 files changed, 66 insertions(+) create mode 100644 config.nix create mode 100644 flake.nix create mode 100644 simple.builder.sh create mode 100644 simple.nix [main (root-commit) c4fc28a] Initial 1 file changed, 7 insertions(+) create mode 100644 flake.nix [master (root-commit) 978c6a2] Initial 2 files changed, 12 insertions(+) create mode 100644 default.nix create mode 100644 flake.nix [master (root-commit) 2d177c6] Initial 1 file changed, 1 insertion(+) create mode 100644 README.md global flake:flake1 git+file:///build/nix-test/flakes/flakes/flake1 global flake:flake2 git+file:///build/nix-test/flakes/flakes/flake2 global flake:flake3 git+file:///build/nix-test/flakes/flakes/flake3 global flake:flake4 flake:flake3 global flake:nixpkgs flake:flake1 Resolved URL: git+file:///build/nix-test/flakes/flakes/flake1 Locked URL: git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=128b1913e019a8bef4df36de68cee5a66de61084 Description: Bla bla Path: /build/nix-test/flakes/flakes/store/pil56inhk0g3hfncsszayxvw71an0q33-source Revision: 128b1913e019a8bef4df36de68cee5a66de61084 Revisions: 1 Last modified: 2024-09-09 20:57:34 [master 1bb1305] Foo 2 files changed, 2 insertions(+) create mode 100644 foo /build/nix-test/flakes/flakes/store/knrk8h3pj5550sl8g0y4iiyxz6dnbq71-simple { _type = "flake"; inputs = { flake1 = { _type = "flake"; inputs = { }; lastModified = 1725915455; lastModifiedDate = "20240909205735"; legacyPackages = { x86_64-linux = { hello = «derivation /build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv»; }; }; narHash = "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU="; outPath = "/build/nix-test/flakes/flakes/store/j3imz6k3j6hzn0fqpb7nafjnikljmz5d-source"; outputs = { legacyPackages = «repeated»; packages = { someOtherSystem = { default = «derivation /build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv»; foo = «derivation /build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv»; }; x86_64-linux = { default = «derivation /build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv»; foo = «derivation /build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv»; }; }; }; packages = «repeated»; rev = "1bb1305b1b347da4bd2dc8b70c67384b46009656"; revCount = 2; shortRev = "1bb1305"; sourceInfo = { lastModified = 1725915455; lastModifiedDate = "20240909205735"; narHash = "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU="; outPath = "/build/nix-test/flakes/flakes/store/j3imz6k3j6hzn0fqpb7nafjnikljmz5d-source"; rev = "1bb1305b1b347da4bd2dc8b70c67384b46009656"; revCount = 2; shortRev = "1bb1305"; submodules = false; }; submodules = false; }; }; lastModified = 1725915454; lastModifiedDate = "20240909205734"; narHash = "sha256-JoDzkRqjKMutnp4eHU6VKq20Rr6P5NzriTxoxMWmUbQ="; outPath = "/build/nix-test/flakes/flakes/store/960lw7zkw5kgnfxz7gzgyzry827nj7zl-source"; outputs = { packages = { x86_64-linux = { bar = «derivation /build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv»; }; }; }; packages = «repeated»; sourceInfo = { lastModified = 1725915454; lastModifiedDate = "20240909205734"; narHash = "sha256-JoDzkRqjKMutnp4eHU6VKq20Rr6P5NzriTxoxMWmUbQ="; outPath = "/build/nix-test/flakes/flakes/store/960lw7zkw5kgnfxz7gzgyzry827nj7zl-source"; }; } error: flake 'git+file:///build/nix-test/flakes/flakes/flake2' requires lock file changes but they're not allowed due to '--no-update-lock-file' error: flake 'git+file:///build/nix-test/flakes/flakes/flake2' requires lock file changes but they're not allowed due to '--no-update-lock-file' [master aebfe13] Update flake.nix 2 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 flake.lock [master 31a2eed] Add lockfile 1 file changed, 17 insertions(+), 1 deletion(-) 13 store paths deleted, 0.07 MiB freed 1 store paths deleted, 0.00 MiB freed 4 store paths deleted, 0.00 MiB freed [master b22f821] Add nonFlakeInputs 2 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 config.nix clearing store... [removeXyzzy 951b563] Remove packages.xyzzy 2 files changed, 9 insertions(+), 73 deletions(-) [master (root-commit) a17e067] Initial 1 file changed, 5 insertions(+) create mode 100644 flake.nix error: NAR hash mismatch in input 'file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-qQ2Zz4DNHViCUrp6gTS7EE4%2BRMqFQtUfWF2UNUtJKS0%3D' (/build/nix-test/flakes/flakes/store/cdlh94d7xb59p2wslx6xd0sk676vw7y8-source), expected 'sha256-qQ2Zz4DNHViCUrp6gTS7EE4+RMqFQtUfWF2UNUtJKS0=', got 'sha256-eqlJkSZ8HnFP9ZsS6IqGobtQw1erDXJ0S4FPLvXA13o=' HEAD is now at 6caf7bc flake.lock: Update { "description": "Fnord", "lastModified": 1725915459, "locked": { "lastModified": 1725915459, "narHash": "sha256-UeOqFAlrtkQXrcgK68RMFaOLU2kCzuWg3EasWGbGHEo=", "ref": "refs/heads/master", "rev": "6caf7bc8eb8ccc3679b9a99e7b6c12a596977aee", "revCount": 5, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake3" }, "locks": { "nodes": { "flake1": { "locked": { "lastModified": 1725915455, "narHash": "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU=", "ref": "refs/heads/master", "rev": "1bb1305b1b347da4bd2dc8b70c67384b46009656", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "original": { "id": "flake1", "type": "indirect" } }, "flake1_2": { "locked": { "lastModified": 1725915455, "narHash": "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU=", "ref": "refs/heads/master", "rev": "1bb1305b1b347da4bd2dc8b70c67384b46009656", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "original": { "id": "flake1", "type": "indirect" } }, "flake2": { "inputs": { "flake1": "flake1_2" }, "locked": { "lastModified": 1725915457, "narHash": "sha256-UwkI+qd2+jmSgJpyRJAkcSqZEnobBaMaV5QC/628Rnk=", "ref": "refs/heads/main", "rev": "4f29e15f59a28b847303a1ee2357f2e30c8b0c9c", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake2" }, "original": { "id": "flake2", "type": "indirect" } }, "nonFlake": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-Nh+ycbbQcbtbiaVaI6hqQ3e2W2kIlPbjti+3JMo4338=", "ref": "refs/heads/master", "rev": "2d177c63363979b8489c9669e9b3b18fb95b94ad", "revCount": 1, "type": "git", "url": "file:///build/nix-test/flakes/flakes/nonFlake" }, "original": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/nonFlake" } }, "nonFlakeFile": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=", "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" }, "original": { "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" } }, "nonFlakeFile2": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=", "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" }, "original": { "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" } }, "root": { "inputs": { "flake1": "flake1", "flake2": "flake2", "nonFlake": "nonFlake", "nonFlakeFile": "nonFlakeFile", "nonFlakeFile2": "nonFlakeFile2" } } }, "root": "root", "version": 7 }, "original": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake3" }, "originalUrl": "git+file:///build/nix-test/flakes/flakes/flake3", "path": "/build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source", "resolved": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake3" }, "resolvedUrl": "git+file:///build/nix-test/flakes/flakes/flake3", "revCount": 5, "revision": "6caf7bc8eb8ccc3679b9a99e7b6c12a596977aee", "url": "git+file:///build/nix-test/flakes/flakes/flake3?ref=refs/heads/master&rev=6caf7bc8eb8ccc3679b9a99e7b6c12a596977aee" } 1 store paths deleted, 0.00 MiB freed /build/nix-test/flakes/flakes/flake2/flake.lock /build/nix-test/flakes/flakes/flake2-overridden.lock differ: char 83, line 5 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' error: … while updating the lock file of flake 'git+file:///build/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=4f29e15f59a28b847303a1ee2357f2e30c8b0c9c' error: reference lock file was provided, but the `allow-dirty` setting is set to false [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/flakes +(init.sh:7) test -d /build/nix-test/flakes/flakes +(init.sh:8) chmod -R u+w /build/nix-test/flakes/flakes +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/flakes +(init.sh:13) mkdir /build/nix-test/flakes/flakes +(init.sh:15) mkdir /build/nix-test/flakes/flakes/store +(init.sh:16) mkdir /build/nix-test/flakes/flakes/var +(init.sh:17) mkdir -p /build/nix-test/flakes/flakes/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/flakes/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/flakes/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/flakes/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/flakes/registry.json +(flakes.sh:3) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(flakes.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/flakes/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/flakes/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/flakes/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/flakes/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/flakes/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/flakes/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/flakes/test-home/.local/state/nix/profiles +(flakes.sh:6) rm -rf /build/nix-test/flakes/flakes/test-home/.cache /build/nix-test/flakes/flakes/test-home/.config +(flakes.sh:8) flake1Dir=/build/nix-test/flakes/flakes/flake1 +(flakes.sh:9) flake2Dir=/build/nix-test/flakes/flakes/flake2 +(flakes.sh:10) flake3Dir=/build/nix-test/flakes/flakes/flake3 +(flakes.sh:11) flake5Dir=/build/nix-test/flakes/flakes/flake5 +(flakes.sh:12) flake7Dir=/build/nix-test/flakes/flakes/flake7 +(flakes.sh:13) nonFlakeDir=/build/nix-test/flakes/flakes/nonFlake +(flakes.sh:14) badFlakeDir=/build/nix-test/flakes/flakes/badFlake +(flakes.sh:15) flakeGitBare=/build/nix-test/flakes/flakes/flakeGitBare +(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir +(flakes.sh:19) extraArgs= +(flakes.sh:20) [[ /build/nix-test/flakes/flakes/flake1 == /build/nix-test/flakes/flakes/flake2 ]] +(flakes.sh:24) createGitRepo /build/nix-test/flakes/flakes/flake1 '' +(./common.sh:61) local repo=/build/nix-test/flakes/flakes/flake1 +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/flakes/flake1 /build/nix-test/flakes/flakes/flake1.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/flakes/flake1 +(./common.sh:67) git -C /build/nix-test/flakes/flakes/flake1 init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/flakes/flake1 config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/flakes/flake1 config user.name Foobar +(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir +(flakes.sh:19) extraArgs= +(flakes.sh:20) [[ /build/nix-test/flakes/flakes/flake2 == /build/nix-test/flakes/flakes/flake2 ]] +(flakes.sh:21) extraArgs=--initial-branch=main +(flakes.sh:24) createGitRepo /build/nix-test/flakes/flakes/flake2 --initial-branch=main +(./common.sh:61) local repo=/build/nix-test/flakes/flakes/flake2 +(./common.sh:62) local extraArgs=--initial-branch=main +(./common.sh:64) rm -rf /build/nix-test/flakes/flakes/flake2 /build/nix-test/flakes/flakes/flake2.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/flakes/flake2 +(./common.sh:67) git -C /build/nix-test/flakes/flakes/flake2 init --initial-branch=main +(./common.sh:68) git -C /build/nix-test/flakes/flakes/flake2 config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/flakes/flake2 config user.name Foobar +(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir +(flakes.sh:19) extraArgs= +(flakes.sh:20) [[ /build/nix-test/flakes/flakes/flake3 == /build/nix-test/flakes/flakes/flake2 ]] +(flakes.sh:24) createGitRepo /build/nix-test/flakes/flakes/flake3 '' +(./common.sh:61) local repo=/build/nix-test/flakes/flakes/flake3 +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/flakes/flake3 /build/nix-test/flakes/flakes/flake3.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/flakes/flake3 +(./common.sh:67) git -C /build/nix-test/flakes/flakes/flake3 init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/flakes/flake3 config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/flakes/flake3 config user.name Foobar +(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir +(flakes.sh:19) extraArgs= +(flakes.sh:20) [[ /build/nix-test/flakes/flakes/flake7 == /build/nix-test/flakes/flakes/flake2 ]] +(flakes.sh:24) createGitRepo /build/nix-test/flakes/flakes/flake7 '' +(./common.sh:61) local repo=/build/nix-test/flakes/flakes/flake7 +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/flakes/flake7 /build/nix-test/flakes/flakes/flake7.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/flakes/flake7 +(./common.sh:67) git -C /build/nix-test/flakes/flakes/flake7 init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/flakes/flake7 config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/flakes/flake7 config user.name Foobar +(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir +(flakes.sh:19) extraArgs= +(flakes.sh:20) [[ /build/nix-test/flakes/flakes/nonFlake == /build/nix-test/flakes/flakes/flake2 ]] +(flakes.sh:24) createGitRepo /build/nix-test/flakes/flakes/nonFlake '' +(./common.sh:61) local repo=/build/nix-test/flakes/flakes/nonFlake +(./common.sh:62) local extraArgs= +(./common.sh:64) rm -rf /build/nix-test/flakes/flakes/nonFlake /build/nix-test/flakes/flakes/nonFlake.tmp +(./common.sh:65) mkdir -p /build/nix-test/flakes/flakes/nonFlake +(./common.sh:67) git -C /build/nix-test/flakes/flakes/nonFlake init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(./common.sh:68) git -C /build/nix-test/flakes/flakes/nonFlake config user.email foobar@example.com +(./common.sh:69) git -C /build/nix-test/flakes/flakes/nonFlake config user.name Foobar +(flakes.sh:27) createSimpleGitFlake /build/nix-test/flakes/flakes/flake1 +(./common.sh:31) local flakeDir=/build/nix-test/flakes/flakes/flake1 +(./common.sh:32) writeSimpleFlake /build/nix-test/flakes/flakes/flake1 +(./common.sh:6) local flakeDir=/build/nix-test/flakes/flakes/flake1 +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/flakes/flake1/ +(./common.sh:33) git -C /build/nix-test/flakes/flakes/flake1 add flake.nix simple.nix simple.builder.sh config.nix +(./common.sh:34) git -C /build/nix-test/flakes/flakes/flake1 commit -m Initial +(flakes.sh:29) cat +(flakes.sh:39) git -C /build/nix-test/flakes/flakes/flake2 add flake.nix +(flakes.sh:40) git -C /build/nix-test/flakes/flakes/flake2 commit -m Initial +(flakes.sh:42) cat +(flakes.sh:56) cat +(flakes.sh:60) git -C /build/nix-test/flakes/flakes/flake3 add flake.nix default.nix +(flakes.sh:61) git -C /build/nix-test/flakes/flakes/flake3 commit -m Initial +(flakes.sh:63) cat +(flakes.sh:67) git -C /build/nix-test/flakes/flakes/nonFlake add README.md +(flakes.sh:68) git -C /build/nix-test/flakes/flakes/nonFlake commit -m Initial +(flakes.sh:71) nix registry add --registry /build/nix-test/flakes/flakes/registry.json flake1 git+file:///build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:72) nix registry add --registry /build/nix-test/flakes/flakes/registry.json flake2 git+file:///build/nix-test/flakes/flakes/flake2 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:73) nix registry add --registry /build/nix-test/flakes/flakes/registry.json flake3 git+file:///build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:74) nix registry add --registry /build/nix-test/flakes/flakes/registry.json flake4 flake3 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:75) nix registry add --registry /build/nix-test/flakes/flakes/registry.json nixpkgs flake1 warning: you don't have Internet access; disabling some network-dependent features ++(flakes.sh:78) nix registry list ++(flakes.sh:78) wc -l warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:78) [[ 5 == 5 ]] +(flakes.sh:79) nix registry list +(flakes.sh:79) grep '^global' warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:80) nix registry list +(flakes.sh:80) grepInverse '^user' +(/build/source/build/tests/functional/common/vars-and-functions.sh:258) grep '^user' warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:83) expectStderr 1 nix eval flake1#ERROR +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(flakes.sh:83) grepQuiet 'error:.*does not provide attribute.*or '\''ERROR'\''$' +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix eval flake1#ERROR +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'error:.*does not provide attribute.*or '\''ERROR'\''$' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(flakes.sh:84) expectStderr 1 nix eval flake1#.ERROR +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(flakes.sh:84) grepQuiet 'error:.*does not provide attribute '\''ERROR'\''$' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix eval flake1#.ERROR +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'error:.*does not provide attribute '\''ERROR'\''$' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(flakes.sh:87) nix flake metadata flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:88) nix flake metadata flake1 +(flakes.sh:88) grepQuiet 'Locked URL:.*flake1.*' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'Locked URL:.*flake1.*' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:91) cd /build/nix-test/flakes/flakes/flake1 +(flakes.sh:91) grepQuiet 'URL:.*flake1.*' +(flakes.sh:91) nix flake metadata +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL:.*flake1.*' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:92) cd /build/nix-test/flakes/flakes/flake1 +(flakes.sh:92) nix flake metadata . +(flakes.sh:92) grepQuiet 'URL:.*flake1.*' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL:.*flake1.*' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:93) nix flake metadata /build/nix-test/flakes/flakes/flake1 +(flakes.sh:93) grepQuiet 'URL:.*flake1.*' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL:.*flake1.*' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' ++(flakes.sh:96) nix flake metadata flake1 --json ++(flakes.sh:96) jq . warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:96) json='{ "description": "Bla bla", "lastModified": 1725915454, "locked": { "lastModified": 1725915454, "narHash": "sha256-2/88cbHpT0rv2dcYfqHVafXBy6OQVLvTrNdJRZ+C4Es=", "ref": "refs/heads/master", "rev": "128b1913e019a8bef4df36de68cee5a66de61084", "revCount": 1, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "locks": { "nodes": { "root": {} }, "root": "root", "version": 7 }, "original": { "id": "flake1", "type": "indirect" }, "originalUrl": "flake:flake1", "path": "/build/nix-test/flakes/flakes/store/pil56inhk0g3hfncsszayxvw71an0q33-source", "resolved": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "resolvedUrl": "git+file:///build/nix-test/flakes/flakes/flake1", "revCount": 1, "revision": "128b1913e019a8bef4df36de68cee5a66de61084", "url": "git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=128b1913e019a8bef4df36de68cee5a66de61084" }' ++(flakes.sh:97) echo '{ "description": "Bla bla", "lastModified": 1725915454, "locked": { "lastModified": 1725915454, "narHash": "sha256-2/88cbHpT0rv2dcYfqHVafXBy6OQVLvTrNdJRZ+C4Es=", "ref": "refs/heads/master", "rev": "128b1913e019a8bef4df36de68cee5a66de61084", "revCount": 1, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "locks": { "nodes": { "root": {} }, "root": "root", "version": 7 }, "original": { "id": "flake1", "type": "indirect" }, "originalUrl": "flake:flake1", "path": "/build/nix-test/flakes/flakes/store/pil56inhk0g3hfncsszayxvw71an0q33-source", "resolved": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "resolvedUrl": "git+file:///build/nix-test/flakes/flakes/flake1", "revCount": 1, "revision": "128b1913e019a8bef4df36de68cee5a66de61084", "url": "git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=128b1913e019a8bef4df36de68cee5a66de61084" }' ++(flakes.sh:97) jq -r .description +(flakes.sh:97) [[ Bla bla = \B\l\a\ \b\l\a ]] ++(flakes.sh:98) jq -r .path ++(flakes.sh:98) echo '{ "description": "Bla bla", "lastModified": 1725915454, "locked": { "lastModified": 1725915454, "narHash": "sha256-2/88cbHpT0rv2dcYfqHVafXBy6OQVLvTrNdJRZ+C4Es=", "ref": "refs/heads/master", "rev": "128b1913e019a8bef4df36de68cee5a66de61084", "revCount": 1, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "locks": { "nodes": { "root": {} }, "root": "root", "version": 7 }, "original": { "id": "flake1", "type": "indirect" }, "originalUrl": "flake:flake1", "path": "/build/nix-test/flakes/flakes/store/pil56inhk0g3hfncsszayxvw71an0q33-source", "resolved": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "resolvedUrl": "git+file:///build/nix-test/flakes/flakes/flake1", "revCount": 1, "revision": "128b1913e019a8bef4df36de68cee5a66de61084", "url": "git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=128b1913e019a8bef4df36de68cee5a66de61084" }' +(flakes.sh:98) [[ -d /build/nix-test/flakes/flakes/store/pil56inhk0g3hfncsszayxvw71an0q33-source ]] ++(flakes.sh:99) echo '{ "description": "Bla bla", "lastModified": 1725915454, "locked": { "lastModified": 1725915454, "narHash": "sha256-2/88cbHpT0rv2dcYfqHVafXBy6OQVLvTrNdJRZ+C4Es=", "ref": "refs/heads/master", "rev": "128b1913e019a8bef4df36de68cee5a66de61084", "revCount": 1, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "locks": { "nodes": { "root": {} }, "root": "root", "version": 7 }, "original": { "id": "flake1", "type": "indirect" }, "originalUrl": "flake:flake1", "path": "/build/nix-test/flakes/flakes/store/pil56inhk0g3hfncsszayxvw71an0q33-source", "resolved": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "resolvedUrl": "git+file:///build/nix-test/flakes/flakes/flake1", "revCount": 1, "revision": "128b1913e019a8bef4df36de68cee5a66de61084", "url": "git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=128b1913e019a8bef4df36de68cee5a66de61084" }' ++(flakes.sh:99) jq -r .lastModified ++(flakes.sh:99) git -C /build/nix-test/flakes/flakes/flake1 log -n1 --format=%ct +(flakes.sh:99) [[ 1725915454 = 1725915454 ]] ++(flakes.sh:100) echo '{ "description": "Bla bla", "lastModified": 1725915454, "locked": { "lastModified": 1725915454, "narHash": "sha256-2/88cbHpT0rv2dcYfqHVafXBy6OQVLvTrNdJRZ+C4Es=", "ref": "refs/heads/master", "rev": "128b1913e019a8bef4df36de68cee5a66de61084", "revCount": 1, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "locks": { "nodes": { "root": {} }, "root": "root", "version": 7 }, "original": { "id": "flake1", "type": "indirect" }, "originalUrl": "flake:flake1", "path": "/build/nix-test/flakes/flakes/store/pil56inhk0g3hfncsszayxvw71an0q33-source", "resolved": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "resolvedUrl": "git+file:///build/nix-test/flakes/flakes/flake1", "revCount": 1, "revision": "128b1913e019a8bef4df36de68cee5a66de61084", "url": "git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=128b1913e019a8bef4df36de68cee5a66de61084" }' ++(flakes.sh:100) jq -r .revision +(flakes.sh:100) hash1=128b1913e019a8bef4df36de68cee5a66de61084 +(flakes.sh:102) echo foo +(flakes.sh:103) git -C /build/nix-test/flakes/flakes/flake1 add /build/nix-test/flakes/flakes/flake1/foo ++(flakes.sh:104) nix flake metadata flake1 --json --refresh ++(flakes.sh:104) jq -r .dirtyRevision warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: Git tree '/build/nix-test/flakes/flakes/flake1' is dirty +(flakes.sh:104) [[ 128b1913e019a8bef4df36de68cee5a66de61084-dirty == \1\2\8\b\1\9\1\3\e\0\1\9\a\8\b\e\f\4\d\f\3\6\d\e\6\8\c\e\e\5\a\6\6\d\e\6\1\0\8\4\-\d\i\r\t\y ]] +(flakes.sh:106) echo -n '# foo' ++(flakes.sh:107) git -C /build/nix-test/flakes/flakes/flake1 rev-parse HEAD +(flakes.sh:107) flake1OriginalCommit=128b1913e019a8bef4df36de68cee5a66de61084 +(flakes.sh:108) git -C /build/nix-test/flakes/flakes/flake1 commit -a -m Foo ++(flakes.sh:109) git -C /build/nix-test/flakes/flakes/flake1 rev-parse HEAD +(flakes.sh:109) flake1NewCommit=1bb1305b1b347da4bd2dc8b70c67384b46009656 ++(flakes.sh:110) nix flake metadata flake1 --json --refresh ++(flakes.sh:110) jq -r .revision warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:110) hash2=1bb1305b1b347da4bd2dc8b70c67384b46009656 ++(flakes.sh:111) nix flake metadata flake1 --json --refresh ++(flakes.sh:111) jq -r .dirtyRevision warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:111) [[ null == \n\u\l\l ]] +(flakes.sh:112) [[ 128b1913e019a8bef4df36de68cee5a66de61084 != 1bb1305b1b347da4bd2dc8b70c67384b46009656 ]] +(flakes.sh:115) nix build -o /build/nix-test/flakes/flakes/result flake1#foo warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' this derivation will be built: /build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv building '/build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv'... +(flakes.sh:116) [[ -e /build/nix-test/flakes/flakes/result/hello ]] +(flakes.sh:119) nix build -o /build/nix-test/flakes/flakes/result flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:120) [[ -e /build/nix-test/flakes/flakes/result/hello ]] +(flakes.sh:122) nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:123) nix build -o /build/nix-test/flakes/flakes/result git+file:///build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:126) nix build -o /build/nix-test/flakes/flakes/flake1/result git+file:///build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:127) nix path-info /build/nix-test/flakes/flakes/flake1/result warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:131) nix build -o /build/nix-test/flakes/flakes/result --expr '(builtins.getFlake "/build/nix-test/flakes/flakes/flake1").packages.x86_64-linux.default' warning: you don't have Internet access; disabling some network-dependent features error: … while evaluating '((builtins).getFlake "/build/nix-test/flakes/flakes/flake1")' to select 'packages.x86_64-linux.default' on it at «string»:1:1: 1| (builtins.getFlake "/build/nix-test/flakes/flakes/flake1").packages.x86_64-linux.default | ^ … while calling the 'getFlake' builtin at «string»:1:2: 1| (builtins.getFlake "/build/nix-test/flakes/flakes/flake1").packages.x86_64-linux.default | ^ error: cannot call 'getFlake' on unlocked flake reference '/build/nix-test/flakes/flakes/flake1', at «none»:0 (use --impure to override) +(flakes.sh:132) nix build -o /build/nix-test/flakes/flakes/result --expr '(builtins.getFlake "/build/nix-test/flakes/flakes/flake1").packages.x86_64-linux.default' --impure warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/flakes/flake1' +(flakes.sh:135) nix build -o /build/nix-test/flakes/flakes/result --expr '(builtins.getFlake "git+file:///build/nix-test/flakes/flakes/flake1?rev=1bb1305b1b347da4bd2dc8b70c67384b46009656").packages.x86_64-linux.default' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:138) nix build -o /build/nix-test/flakes/flakes/result flake2#bar --no-registries warning: '--no-registries' is deprecated; use '--no-use-registries' warning: you don't have Internet access; disabling some network-dependent features error: 'flake:flake2' is an indirect flake reference, but registry lookups are not allowed +(flakes.sh:139) nix build -o /build/nix-test/flakes/flakes/result flake2#bar --no-use-registries warning: you don't have Internet access; disabling some network-dependent features error: 'flake:flake2' is an indirect flake reference, but registry lookups are not allowed +(flakes.sh:140) nix eval --expr 'builtins.getFlake "/build/nix-test/flakes/flakes/flake2"' warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'getFlake' builtin at «string»:1:1: 1| builtins.getFlake "/build/nix-test/flakes/flakes/flake2" | ^ error: cannot call 'getFlake' on unlocked flake reference '/build/nix-test/flakes/flakes/flake2', at «none»:0 (use --impure to override) +(flakes.sh:143) nix build -o /build/nix-test/flakes/flakes/result flake2#bar --impure warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' error: … while updating the lock file of flake 'git+file:///build/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=c4fc28acfee8004851dc4ecdc4f617e073c3a7b2' error: cannot write modified lock file of flake 'flake:flake2' (use '--no-write-lock-file' to ignore) +(flakes.sh:144) nix build -o /build/nix-test/flakes/flakes/result flake2#bar --impure --no-write-lock-file warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: not writing modified lock file of flake 'flake:flake2': • Added input 'flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) +(flakes.sh:145) nix eval --expr 'builtins.getFlake "/build/nix-test/flakes/flakes/flake2"' --impure warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: not writing modified lock file of flake 'path:/build/nix-test/flakes/flakes/flake2': • Added input 'flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) +(flakes.sh:148) expect 1 nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake2#bar --no-update-lock-file +(flakes.sh:148) grep 'requires lock file changes' +(flakes.sh:151) nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake2#bar --no-write-lock-file warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: not writing modified lock file of flake 'git+file:///build/nix-test/flakes/flakes/flake2': • Added input 'flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) +(flakes.sh:152) grep 'requires lock file changes' +(flakes.sh:152) expect 1 nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake2#bar --no-update-lock-file +(flakes.sh:153) nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake2#bar --commit-lock-file warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: creating lock file '/build/nix-test/flakes/flakes/flake2/flake.lock': • Added input 'flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' warning: committed new revision '4f29e15f59a28b847303a1ee2357f2e30c8b0c9c' +(flakes.sh:154) [[ -e /build/nix-test/flakes/flakes/flake2/flake.lock ]] ++(flakes.sh:155) git -C /build/nix-test/flakes/flakes/flake2 diff main +(flakes.sh:155) [[ -z '' ]] +(flakes.sh:158) nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake2#bar warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' ++(flakes.sh:159) git -C /build/nix-test/flakes/flakes/flake2 diff main +(flakes.sh:159) [[ -z '' ]] +(flakes.sh:162) nix build -o /build/nix-test/flakes/flakes/result --flake-registry file:///no-registry.json /build/nix-test/flakes/flakes/flake2#bar --refresh warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:163) nix build -o /build/nix-test/flakes/flakes/result --no-registries /build/nix-test/flakes/flakes/flake2#bar --refresh warning: '--no-registries' is deprecated; use '--no-use-registries' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:164) nix build -o /build/nix-test/flakes/flakes/result --no-use-registries /build/nix-test/flakes/flakes/flake2#bar --refresh warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:167) nix flake lock /build/nix-test/flakes/flakes/flake2 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' ++(flakes.sh:168) git -C /build/nix-test/flakes/flakes/flake2 diff main +(flakes.sh:168) [[ -z '' ]] +(flakes.sh:171) nix build -o /build/nix-test/flakes/flakes/result flake2#bar warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:174) nix build -o /build/nix-test/flakes/flakes/result --no-registries git+file:///build/nix-test/flakes/flakes/flake2#bar --refresh warning: '--no-registries' is deprecated; use '--no-use-registries' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:175) nix build -o /build/nix-test/flakes/flakes/result --no-use-registries git+file:///build/nix-test/flakes/flakes/flake2#bar --refresh warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:178) nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake3#xyzzy warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' warning: creating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Added input 'flake2': 'git+file:///build/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=4f29e15f59a28b847303a1ee2357f2e30c8b0c9c' (2024-09-09) • Added input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty +(flakes.sh:179) git -C /build/nix-test/flakes/flakes/flake3 add flake.lock +(flakes.sh:182) rm /build/nix-test/flakes/flakes/flake3/flake.nix +(flakes.sh:184) cat +(flakes.sh:195) git -C /build/nix-test/flakes/flakes/flake3 add flake.nix +(flakes.sh:196) git -C /build/nix-test/flakes/flakes/flake3 commit -m 'Update flake.nix' +(flakes.sh:199) nix build -o /build/nix-test/flakes/flakes/result '/build/nix-test/flakes/flakes/flake3#sth sth' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Added input 'flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty +(flakes.sh:200) nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake3#sth%20sth warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:203) git -C /build/nix-test/flakes/flakes/flake3 diff master +(flakes.sh:203) [[ -n diff --git a/flake.lock b/flake.lock index a4395fa..18c6476 100644 --- a/flake.lock +++ b/flake.lock @@ -15,9 +15,24 @@ "type": "indirect" } }, + "flake1_2": { + "locked": { + "lastModified": 1725915455, + "narHash": "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU=", + "ref": "refs/heads/master", + "rev": "1bb1305b1b347da4bd2dc8b70c67384b46009656", + "revCount": 2, + "type": "git", + "url": "file:///build/nix-test/flakes/flakes/flake1" + }, + "original": { + "id": "flake1", + "type": "indirect" + } + }, "flake2": { "inputs": { - "flake1": "flake1" + "flake1": "flake1_2" }, "locked": { "lastModified": 1725915457, @@ -35,6 +50,7 @@ }, "root": { "inputs": { + "flake1": "flake1", "flake2": "flake2" } } ]] +(flakes.sh:205) git -C /build/nix-test/flakes/flakes/flake3 add flake.lock +(flakes.sh:207) git -C /build/nix-test/flakes/flakes/flake3 commit -m 'Add lockfile' +(flakes.sh:210) nix registry list --flake-registry file:///build/nix-test/flakes/flakes/registry.json +(flakes.sh:210) grepQuiet flake3 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep flake3 warning: you don't have Internet access; disabling some network-dependent features warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `file:///build/nix-test/flakes/flakes/registry.json' +(flakes.sh:211) mv /build/nix-test/flakes/flakes/registry.json /build/nix-test/flakes/flakes/registry.json.tmp +(flakes.sh:212) nix store gc warning: you don't have Internet access; disabling some network-dependent features finding garbage collector roots... deleting garbage... deleting '/build/nix-test/flakes/flakes/store/pil56inhk0g3hfncsszayxvw71an0q33-source' deleting '/build/nix-test/flakes/flakes/store/ccv6glxqhqh5c04shk6cyr7d9dnwm80g-source' deleting '/build/nix-test/flakes/flakes/store/j3imz6k3j6hzn0fqpb7nafjnikljmz5d-source' deleting '/build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv' deleting '/build/nix-test/flakes/flakes/store/rg21hjylwqjn2m3azqr98qpq92pj995f-simple.builder.sh' deleting '/build/nix-test/flakes/flakes/store/w8v1gb4qx9b5w1g5ifb328cpsbbn2125-source' deleting '/build/nix-test/flakes/flakes/store/qhlxwyf2x6df8ff6iq05sabcf30aqf4q-source' deleting '/build/nix-test/flakes/flakes/store/960lw7zkw5kgnfxz7gzgyzry827nj7zl-source' deleting '/build/nix-test/flakes/flakes/store/xbfdwns666b6bi9glrik3ssv05al0wb4-source' deleting '/build/nix-test/flakes/flakes/store/k7gvc2qcjq9pb6zk1j8pi12s10bicx3y-source' deleting '/build/nix-test/flakes/flakes/store/78appgpldrmzbdpd5gdrc384gnv9vdc7-source' deleting '/build/nix-test/flakes/flakes/store/06hjrsdgb37rrbz4ha3jlz6k7va2db2f-source' deleting '/build/nix-test/flakes/flakes/store/mz3xs1damscpf40125xb5mpymynsqhly-source' deleting unused links... note: currently hard linking saves 0.00 MiB +(flakes.sh:213) nix registry list --flake-registry file:///build/nix-test/flakes/flakes/registry.json --refresh +(flakes.sh:213) grepQuiet flake3 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep flake3 warning: you don't have Internet access; disabling some network-dependent features warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `file:///build/nix-test/flakes/flakes/registry.json' warning: error: unable to download 'file:///build/nix-test/flakes/flakes/registry.json': Couldn't read a file:// file (37); using cached version +(flakes.sh:214) mv /build/nix-test/flakes/flakes/registry.json.tmp /build/nix-test/flakes/flakes/registry.json +(flakes.sh:218) rm -rf /build/nix-test/flakes/flakes/test-home/.cache +(flakes.sh:219) nix store gc warning: you don't have Internet access; disabling some network-dependent features finding garbage collector roots... removing stale link from '/build/nix-test/flakes/flakes/var/nix/gcroots/auto/yvcj8aav12i280s3yv13q3a4hlsdz6wf' to '/build/nix-test/flakes/flakes/test-home/.cache/nix/flake-registry.json' deleting garbage... deleting '/build/nix-test/flakes/flakes/store/l4b98qnsjmsffb4cg00rafrllw88dysf-flake-registry.json' deleting unused links... note: currently hard linking saves 0.00 MiB +(flakes.sh:220) _NIX_FORCE_HTTP=1 +(flakes.sh:220) nix build -o /build/nix-test/flakes/flakes/result git+file:///build/nix-test/flakes/flakes/flake2#bar warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:221) mv /build/nix-test/flakes/flakes/flake1 /build/nix-test/flakes/flakes/flake1.tmp +(flakes.sh:222) mv /build/nix-test/flakes/flakes/flake2 /build/nix-test/flakes/flakes/flake2.tmp +(flakes.sh:223) nix store gc warning: you don't have Internet access; disabling some network-dependent features finding garbage collector roots... removing stale link from '/build/nix-test/flakes/flakes/var/nix/gcroots/auto/dnra228wjr39yfjb5gqj5rjw2is5dmi6' to '/build/nix-test/flakes/flakes/flake1/result' deleting garbage... deleting '/build/nix-test/flakes/flakes/store/xbfdwns666b6bi9glrik3ssv05al0wb4-source' deleting '/build/nix-test/flakes/flakes/store/j3imz6k3j6hzn0fqpb7nafjnikljmz5d-source' deleting '/build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv' deleting '/build/nix-test/flakes/flakes/store/rg21hjylwqjn2m3azqr98qpq92pj995f-simple.builder.sh' deleting unused links... note: currently hard linking saves 0.00 MiB +(flakes.sh:224) _NIX_FORCE_HTTP=1 +(flakes.sh:224) nix build -o /build/nix-test/flakes/flakes/result git+file:///build/nix-test/flakes/flakes/flake2#bar warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' +(flakes.sh:225) _NIX_FORCE_HTTP=1 +(flakes.sh:225) nix build -o /build/nix-test/flakes/flakes/result git+file:///build/nix-test/flakes/flakes/flake2#bar --refresh warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fatal: '/build/nix-test/flakes/flakes/flake2' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. warning: could not get HEAD ref for repository 'file:///build/nix-test/flakes/flakes/flake2'; using expired cached ref 'refs/heads/main' fatal: '/build/nix-test/flakes/flakes/flake2' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. warning: could not update local clone of Git repository 'file:///build/nix-test/flakes/flakes/flake2'; continuing with the most recent version +(flakes.sh:226) mv /build/nix-test/flakes/flakes/flake1.tmp /build/nix-test/flakes/flakes/flake1 +(flakes.sh:227) mv /build/nix-test/flakes/flakes/flake2.tmp /build/nix-test/flakes/flakes/flake2 +(flakes.sh:230) rm /build/nix-test/flakes/flakes/flake3/flake.nix +(flakes.sh:232) cat +(flakes.sh:273) cp ../config.nix /build/nix-test/flakes/flakes/flake3 +(flakes.sh:275) git -C /build/nix-test/flakes/flakes/flake3 add flake.nix config.nix +(flakes.sh:276) git -C /build/nix-test/flakes/flakes/flake3 commit -m 'Add nonFlakeInputs' +(flakes.sh:280) nix build -o /build/nix-test/flakes/flakes/result /build/nix-test/flakes/flakes/flake3#sth --commit-lock-file warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/nonFlake' fetching path input 'path:/build/nix-test/flakes/flakes/nonFlake/README.md' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Added input 'nonFlake': 'git+file:///build/nix-test/flakes/flakes/nonFlake?ref=refs/heads/master&rev=2d177c63363979b8489c9669e9b3b18fb95b94ad' (2024-09-09) • Added input 'nonFlakeFile': 'path:/build/nix-test/flakes/flakes/nonFlake/README.md?lastModified=1725915454&narHash=sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o%3D' (2024-09-09) • Added input 'nonFlakeFile2': 'path:/build/nix-test/flakes/flakes/nonFlake/README.md?lastModified=1725915454&narHash=sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o%3D' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: committed new revision '6caf7bc8eb8ccc3679b9a99e7b6c12a596977aee' ++(flakes.sh:293) git -C /build/nix-test/flakes/flakes/flake3 show -s --format=format:%B +(flakes.sh:293) [[ flake.lock: Update Flake lock file updates: • Added input 'nonFlake': 'git+file:///build/nix-test/flakes/flakes/nonFlake?ref=refs/heads/master&rev=2d177c63363979b8489c9669e9b3b18fb95b94ad' (2024-09-09) • Added input 'nonFlakeFile': 'path:/build/nix-test/flakes/flakes/nonFlake/README.md?lastModified=1725915454&narHash=sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o%3D' (2024-09-09) • Added input 'nonFlakeFile2': 'path:/build/nix-test/flakes/flakes/nonFlake/README.md?lastModified=1725915454&narHash=sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o%3D' (2024-09-09) = \f\l\a\k\e\.\l\o\c\k\:\ \U\p\d\a\t\e\ \ \F\l\a\k\e\ \l\o\c\k\ \f\i\l\e\ \u\p\d\a\t\e\s\:\ \ ?\ \A\d\d\e\d\ \i\n\p\u\t\ \'\n\o\n\F\l\a\k\e\'\:\ \ \ \ \ \'\g\i\t\+\f\i\l\e\:\/\/*\/\f\l\a\k\e\s\/\f\l\a\k\e\s\/\n\o\n\F\l\a\k\e\?\r\e\f\=\r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r\&\r\e\v\=*\'\ *\ ?\ \A\d\d\e\d\ \i\n\p\u\t\ \'\n\o\n\F\l\a\k\e\F\i\l\e\'\:\ \ \ \ \ \'\p\a\t\h\:*\/\f\l\a\k\e\s\/\f\l\a\k\e\s\/\n\o\n\F\l\a\k\e\/\R\E\A\D\M\E\.\m\d\?\l\a\s\t\M\o\d\i\f\i\e\d\=*\&\n\a\r\H\a\s\h\=\s\h\a\2\5\6\-\c\P\h\6\h\p\4\8\I\O\d\R\x\V\V\3\x\G\d\0\P\D\g\S\x\g\z\j\5\N\/\2\c\K\0\r\M\P\N\a\R\4\o\%\3\D\'\ *\ ?\ \A\d\d\e\d\ \i\n\p\u\t\ \'\n\o\n\F\l\a\k\e\F\i\l\e\2\'\:\ \ \ \ \ \'\p\a\t\h\:*\/\f\l\a\k\e\s\/\f\l\a\k\e\s\/\n\o\n\F\l\a\k\e\/\R\E\A\D\M\E\.\m\d\?\l\a\s\t\M\o\d\i\f\i\e\d\=*\&\n\a\r\H\a\s\h\=\s\h\a\2\5\6\-\c\P\h\6\h\p\4\8\I\O\d\R\x\V\V\3\x\G\d\0\P\D\g\S\x\g\z\j\5\N\/\2\c\K\0\r\M\P\N\a\R\4\o\%\3\D\'\ * ]] +(flakes.sh:295) nix build -o /build/nix-test/flakes/flakes/result flake3#fnord warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' this derivation will be built: /build/nix-test/flakes/flakes/store/g1a9zwgalj2xjw5mz9f64y3vhanl2s31-fnord.drv building '/build/nix-test/flakes/flakes/store/g1a9zwgalj2xjw5mz9f64y3vhanl2s31-fnord.drv'... ++(flakes.sh:296) cat /build/nix-test/flakes/flakes/result +(flakes.sh:296) [[ FNORD = FNORD ]] +(flakes.sh:300) rm -rf /build/nix-test/flakes/flakes/test-home/.cache +(flakes.sh:301) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/flakes/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/flakes/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/flakes/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/flakes/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/flakes/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/flakes/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/flakes/test-home/.local/state/nix/profiles +(flakes.sh:302) mv /build/nix-test/flakes/flakes/flake2 /build/nix-test/flakes/flakes/flake2.tmp +(flakes.sh:303) mv /build/nix-test/flakes/flakes/nonFlake /build/nix-test/flakes/flakes/nonFlake.tmp +(flakes.sh:304) nix build -o /build/nix-test/flakes/flakes/result flake3#sth warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' this derivation will be built: /build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv building '/build/nix-test/flakes/flakes/store/76kyazny2m1gmafgc8z6lmrgxzh2yrm1-simple.drv'... +(flakes.sh:305) nix build -o /build/nix-test/flakes/flakes/result flake3#xyzzy warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fatal: '/build/nix-test/flakes/flakes/flake2' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: … while evaluating 'inputs.flake2' to select 'packages' on it at /build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source/flake.nix:22:35: 21| outputs = inputs: rec { 22| packages.x86_64-linux.xyzzy = inputs.flake2.packages.x86_64-linux.bar; | ^ 23| packages.x86_64-linux.sth = inputs.flake1.packages.x86_64-linux.foo; … from call site at /build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source/flake.nix:22:35: 21| outputs = inputs: rec { 22| packages.x86_64-linux.xyzzy = inputs.flake2.packages.x86_64-linux.bar; | ^ 23| packages.x86_64-linux.sth = inputs.flake1.packages.x86_64-linux.foo; … while calling anonymous lambda at «string»:24:46: 23| 24| inputs = builtins.mapAttrs (inputName: inputSpec: allNodes.${resolveInput inputSpec}) ( | ^ 25| node.inputs or { } … from call site at «string»:24:57: 23| 24| inputs = builtins.mapAttrs (inputName: inputSpec: allNodes.${resolveInput inputSpec}) ( | ^ 25| node.inputs or { } … while calling anonymous lambda at «string»:9:10: 8| allNodes = builtins.mapAttrs ( 9| key: node: | ^ 10| let … in the condition of the assert statement at «string»:67:7: 66| if node.flake or true then 67| assert builtins.isFunction flake.outputs; | ^ 68| result … while calling the 'isFunction' builtin at «string»:67:14: 66| if node.flake or true then 67| assert builtins.isFunction flake.outputs; | ^ 68| result … while evaluating 'flake' to select 'outputs' on it at «string»:67:34: 66| if node.flake or true then 67| assert builtins.isFunction flake.outputs; | ^ 68| result … while calling the 'import' builtin at «string»:22:15: 21| 22| flake = import (outPath + "/flake.nix"); | ^ 23| … while calling the 'fetchTree' builtin at «string»:16:11: 15| else 16| fetchTree (node.info or { } // removeAttrs node.locked [ "dir" ]); | ^ 17| … while fetching the input 'git+file:///build/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=4f29e15f59a28b847303a1ee2357f2e30c8b0c9c' error: program 'git' failed with exit code 128 +(flakes.sh:306) nix build -o /build/nix-test/flakes/flakes/result flake3#fnord warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/nonFlake' fatal: '/build/nix-test/flakes/flakes/nonFlake' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: … while evaluating 'strict' to select 'drvPath' on it at /builtin/derivation.nix:1:552: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:1:208: … while evaluating derivation 'fnord' whose name attribute is located at /build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source/flake.nix:28:9 … while evaluating attribute 'buildCommand' of derivation 'fnord' at /build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source/flake.nix:31:9: 30| dummy2 = builtins.readFile (builtins.path { name = "source"; path = inputs.flake1; filter = path: type: baseNameOf path == "simple.nix"; } + "/simple.nix"); 31| buildCommand = '' | ^ 32| cat ${inputs.nonFlake}/README.md > $out … from call site at /build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source/flake.nix:32:17: 31| buildCommand = '' 32| cat ${inputs.nonFlake}/README.md > $out | ^ 33| [[ $(cat ${inputs.nonFlake}/README.md) = $(cat ${inputs.nonFlakeFile}) ]] … while calling anonymous lambda at «string»:24:46: 23| 24| inputs = builtins.mapAttrs (inputName: inputSpec: allNodes.${resolveInput inputSpec}) ( | ^ 25| node.inputs or { } … from call site at «string»:24:57: 23| 24| inputs = builtins.mapAttrs (inputName: inputSpec: allNodes.${resolveInput inputSpec}) ( | ^ 25| node.inputs or { } … while calling anonymous lambda at «string»:9:10: 8| allNodes = builtins.mapAttrs ( 9| key: node: | ^ 10| let … while calling the 'fetchTree' builtin at «string»:16:11: 15| else 16| fetchTree (node.info or { } // removeAttrs node.locked [ "dir" ]); | ^ 17| … while fetching the input 'git+file:///build/nix-test/flakes/flakes/nonFlake?ref=refs/heads/master&rev=2d177c63363979b8489c9669e9b3b18fb95b94ad' error: program 'git' failed with exit code 128 +(flakes.sh:307) mv /build/nix-test/flakes/flakes/flake2.tmp /build/nix-test/flakes/flakes/flake2 +(flakes.sh:308) mv /build/nix-test/flakes/flakes/nonFlake.tmp /build/nix-test/flakes/flakes/nonFlake +(flakes.sh:309) nix build -o /build/nix-test/flakes/flakes/result flake3#xyzzy flake3#fnord warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/nonFlake' fetching path input 'path:/build/nix-test/flakes/flakes/nonFlake/README.md' this derivation will be built: /build/nix-test/flakes/flakes/store/g1a9zwgalj2xjw5mz9f64y3vhanl2s31-fnord.drv building '/build/nix-test/flakes/flakes/store/g1a9zwgalj2xjw5mz9f64y3vhanl2s31-fnord.drv'... +(flakes.sh:312) nix build -o /build/nix-test/flakes/flakes/result flake4#xyzzy warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' +(flakes.sh:315) nix flake lock /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' ++(flakes.sh:316) git -C /build/nix-test/flakes/flakes/flake3 diff master +(flakes.sh:316) [[ -z '' ]] +(flakes.sh:318) nix flake update --flake /build/nix-test/flakes/flakes/flake3 --override-flake flake2 nixpkgs warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' fetching git input 'git+file:///build/nix-test/flakes/flakes/nonFlake' fetching path input 'path:/build/nix-test/flakes/flakes/nonFlake/README.md' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake2': 'git+file:///build/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=4f29e15f59a28b847303a1ee2357f2e30c8b0c9c' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) • Removed input 'flake2/flake1' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:319) git -C /build/nix-test/flakes/flakes/flake3 diff master +(flakes.sh:319) [[ ! -z diff --git a/flake.lock b/flake.lock index e074884..c7d28d2 100644 --- a/flake.lock +++ b/flake.lock @@ -15,7 +15,7 @@ "type": "indirect" } }, - "flake1_2": { + "flake2": { "locked": { "lastModified": 1725915455, "narHash": "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU=", @@ -25,24 +25,6 @@ "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, - "original": { - "id": "flake1", - "type": "indirect" - } - }, - "flake2": { - "inputs": { - "flake1": "flake1_2" - }, - "locked": { - "lastModified": 1725915457, - "narHash": "sha256-UwkI+qd2+jmSgJpyRJAkcSqZEnobBaMaV5QC/628Rnk=", - "ref": "refs/heads/main", - "rev": "4f29e15f59a28b847303a1ee2357f2e30c8b0c9c", - "revCount": 2, - "type": "git", - "url": "file:///build/nix-test/flakes/flakes/flake2" - }, "original": { "id": "flake2", "type": "indirect" ]] +(flakes.sh:322) git -C /build/nix-test/flakes/flakes/flake3 checkout -b removeXyzzy Switched to a new branch 'removeXyzzy' +(flakes.sh:323) rm /build/nix-test/flakes/flakes/flake3/flake.nix +(flakes.sh:325) cat +(flakes.sh:350) nix flake lock /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching path input 'path:/build/nix-test/flakes/flakes/nonFlake' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'nonFlake': 'git+file:///build/nix-test/flakes/flakes/nonFlake?ref=refs/heads/master&rev=2d177c63363979b8489c9669e9b3b18fb95b94ad' (2024-09-09) → 'path:/build/nix-test/flakes/flakes/nonFlake?lastModified=1725915454&narHash=sha256-xHKg6KnohldL6sCanN3%2BL6CKIKQRKIAVCACgeHiHyjo%3D' (2024-09-09) • Removed input 'nonFlakeFile' • Removed input 'nonFlakeFile2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty +(flakes.sh:351) git -C /build/nix-test/flakes/flakes/flake3 add flake.nix flake.lock +(flakes.sh:352) git -C /build/nix-test/flakes/flakes/flake3 commit -m 'Remove packages.xyzzy' +(flakes.sh:353) git -C /build/nix-test/flakes/flakes/flake3 checkout master Switched to branch 'master' +(flakes.sh:356) nix build -o /build/nix-test/flakes/flakes/result flake4/removeXyzzy#xyzzy warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' error: flake 'flake:flake4/removeXyzzy' does not provide attribute 'packages.x86_64-linux.xyzzy', 'legacyPackages.x86_64-linux.xyzzy' or 'xyzzy' +(flakes.sh:357) nix build -o /build/nix-test/flakes/flakes/result flake4/removeXyzzy#sth warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' +(flakes.sh:360) nix registry add flake1 flake3 warning: you don't have Internet access; disabling some network-dependent features ++(flakes.sh:361) nix registry list ++(flakes.sh:361) wc -l warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:361) [[ 6 == 6 ]] +(flakes.sh:362) nix registry pin flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' ++(flakes.sh:363) wc -l ++(flakes.sh:363) nix registry list warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:363) [[ 6 == 6 ]] +(flakes.sh:364) nix registry pin flake1 flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' ++(flakes.sh:365) nix registry list ++(flakes.sh:365) wc -l warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:365) [[ 6 == 6 ]] +(flakes.sh:366) nix registry remove flake1 warning: you don't have Internet access; disabling some network-dependent features ++(flakes.sh:367) nix registry list ++(flakes.sh:367) wc -l warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:367) [[ 5 == 5 ]] +(flakes.sh:371) nix registry add nixpkgz github:NixOS/nixpkgz warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:372) nix registry remove nixpkgz warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:373) nix registry add nixpkgz/branch github:NixOS/nixpkgz warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:374) nix registry remove nixpkgz/branch warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:375) nix registry add nixpkgz/branch/1db42b7fe3878f3f5f7a4f2dc210772fd080e205 github:NixOS/nixpkgz warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:376) nix registry remove nixpkgz/branch/1db42b7fe3878f3f5f7a4f2dc210772fd080e205 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:377) nix registry add flake:nixpkgz github:NixOS/nixpkgz warning: you don't have Internet access; disabling some network-dependent features error: 'from-url' argument must be a shorthand like 'nixpkgs' or 'nixpkgs/nixos-20.03' Try 'nix --help' for more information. +(flakes.sh:378) nix registry add github:NixOS/nixpkgz github:NixOS/nixpkgz warning: you don't have Internet access; disabling some network-dependent features error: 'from-url' argument must be a shorthand like 'nixpkgs' or 'nixpkgs/nixos-20.03' Try 'nix --help' for more information. +(flakes.sh:381) nix registry add user-flake1 git+file:///build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:382) nix registry add user-flake2 git+file:///build/nix-test/flakes/flakes/flake2 warning: you don't have Internet access; disabling some network-dependent features ++(flakes.sh:383) nix --flake-registry '' registry list ++(flakes.sh:383) wc -l warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:383) [[ 2 == 2 ]] +(flakes.sh:384) nix --flake-registry '' registry list +(flakes.sh:384) grepQuietInverse '^global' +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep '^global' warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:385) nix --flake-registry '' registry list +(flakes.sh:385) grepQuiet '^user' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep '^user' warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:386) nix registry remove user-flake1 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:387) nix registry remove user-flake2 warning: you don't have Internet access; disabling some network-dependent features ++(flakes.sh:388) nix registry list ++(flakes.sh:388) wc -l warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:388) [[ 5 == 5 ]] +(flakes.sh:391) rm -rf /build/nix-test/flakes/flakes/flake1-v2 +(flakes.sh:392) nix flake clone flake1 --dest /build/nix-test/flakes/flakes/flake1-v2 warning: you don't have Internet access; disabling some network-dependent features Cloning into '/build/nix-test/flakes/flakes/flake1-v2'... done. +(flakes.sh:393) '[' -e /build/nix-test/flakes/flakes/flake1-v2/flake.nix ']' +(flakes.sh:396) cat +(flakes.sh:409) nix flake lock /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Added input 'bar': follows 'foo' • Removed input 'flake1' • Removed input 'flake2' • Removed input 'flake2/flake1' • Added input 'foo': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) • Removed input 'nonFlake' • Removed input 'nonFlakeFile' • Removed input 'nonFlakeFile2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:410) jq -c .nodes.root.inputs.bar /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:410) [[ ["foo"] = \[\"\f\o\o\"\] ]] +(flakes.sh:412) cat +(flakes.sh:421) nix flake lock /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'bar': follows 'foo' → follows 'flake2/flake1' • Added input 'flake2': 'git+file:///build/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=4f29e15f59a28b847303a1ee2357f2e30c8b0c9c' (2024-09-09) • Added input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) • Removed input 'foo' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:422) jq -c .nodes.root.inputs.bar /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:422) [[ ["flake2","flake1"] = \[\"\f\l\a\k\e\2\"\,\"\f\l\a\k\e\1\"\] ]] +(flakes.sh:424) cat +(flakes.sh:433) nix flake lock /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'bar': follows 'flake2/flake1' → follows 'flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:434) jq -c .nodes.root.inputs.bar /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:434) [[ ["flake2"] = \[\"\f\l\a\k\e\2\"\] ]] +(flakes.sh:437) writeTrivialFlake /build/nix-test/flakes/flakes/flake7 +(./common.sh:50) local flakeDir=/build/nix-test/flakes/flakes/flake7 +(./common.sh:51) cat +(flakes.sh:438) git -C /build/nix-test/flakes/flakes/flake7 add flake.nix +(flakes.sh:439) git -C /build/nix-test/flakes/flakes/flake7 commit -m Initial +(flakes.sh:441) cat +(flakes.sh:453) nix flake lock /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching git input 'git+file:///build/nix-test/flakes/flakes/flake7' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Removed input 'bar' • Updated input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake7?ref=refs/heads/master&rev=a17e0673340090b9f696f3df33bd70034e65ce00' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:454) jq .nodes.flake1.locked.url /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:454) [[ "file:///build/nix-test/flakes/flakes/flake7" =~ flake7 ]] +(flakes.sh:456) cat +(flakes.sh:466) nix flake update --flake /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake7' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake7?ref=refs/heads/master&rev=a17e0673340090b9f696f3df33bd70034e65ce00' (2024-09-09) → follows 'foo' • Added input 'foo': 'git+file:///build/nix-test/flakes/flakes/flake7?ref=refs/heads/master&rev=a17e0673340090b9f696f3df33bd70034e65ce00' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:467) jq -c .nodes.flake2.inputs.flake1 /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:467) [[ ["foo"] =~ \["foo"] ]] ++(flakes.sh:468) jq .nodes.foo.locked.url /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:468) [[ "file:///build/nix-test/flakes/flakes/flake7" =~ flake7 ]] +(flakes.sh:471) rm -rf /build/nix-test/flakes/flakes/flakeGitBare +(flakes.sh:472) git clone --bare /build/nix-test/flakes/flakes/flake1 /build/nix-test/flakes/flakes/flakeGitBare Cloning into bare repository '/build/nix-test/flakes/flakes/flakeGitBare'... done. +(flakes.sh:473) nix build -o /build/nix-test/flakes/flakes/result git+file:///build/nix-test/flakes/flakes/flakeGitBare warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flakeGitBare' +(flakes.sh:476) mkdir -p /build/nix-test/flakes/flakes/flake5 +(flakes.sh:477) writeDependentFlake /build/nix-test/flakes/flakes/flake5 +(./common.sh:38) local flakeDir=/build/nix-test/flakes/flakes/flake5 +(./common.sh:39) cat +(flakes.sh:478) nix flake lock path:///build/nix-test/flakes/flakes/flake5 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/flakes/flake5' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: creating lock file '/build/nix-test/flakes/flakes/flake5/flake.lock': • Added input 'flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) fetching path input 'path:/build/nix-test/flakes/flakes/flake5' +(flakes.sh:481) tar cfz /build/nix-test/flakes/flakes/flake.tar.gz -C /build/nix-test/flakes/flakes flake5 +(flakes.sh:483) nix build -o /build/nix-test/flakes/flakes/result file:///build/nix-test/flakes/flakes/flake.tar.gz warning: you don't have Internet access; disabling some network-dependent features fetching tarball input 'file:///build/nix-test/flakes/flakes/flake.tar.gz' ++(flakes.sh:486) nix flake metadata --json file:///build/nix-test/flakes/flakes/flake.tar.gz ++(flakes.sh:486) jq -r .url warning: you don't have Internet access; disabling some network-dependent features fetching tarball input 'file:///build/nix-test/flakes/flakes/flake.tar.gz' +(flakes.sh:486) url='file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-eqlJkSZ8HnFP9ZsS6IqGobtQw1erDXJ0S4FPLvXA13o%3D' +(flakes.sh:487) [[ file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-eqlJkSZ8HnFP9ZsS6IqGobtQw1erDXJ0S4FPLvXA13o%3D =~ sha256- ]] +(flakes.sh:489) nix build -o /build/nix-test/flakes/flakes/result 'file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-eqlJkSZ8HnFP9ZsS6IqGobtQw1erDXJ0S4FPLvXA13o%3D' warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:492) expectStderr 102 nix build -o /build/nix-test/flakes/flakes/result 'file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-qQ2Zz4DNHViCUrp6gTS7EE4+RMqFQtUfWF2UNUtJKS0=' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=102 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build -o /build/nix-test/flakes/flakes/result 'file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-qQ2Zz4DNHViCUrp6gTS7EE4+RMqFQtUfWF2UNUtJKS0=' +(flakes.sh:492) grep 'NAR hash mismatch' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=102 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 102 -ne 102 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(flakes.sh:495) git -C /build/nix-test/flakes/flakes/flake3 reset --hard +(flakes.sh:496) nix flake lock /build/nix-test/flakes/flakes/flake3 --override-input flake2/flake1 file:///build/nix-test/flakes/flakes/flake.tar.gz -vvvvv warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' resolved HEAD ref 'refs/heads/master' for repo '/build/nix-test/flakes/flakes/flake3' using revision 6caf7bc8eb8ccc3679b9a99e7b6c12a596977aee of repo '/build/nix-test/flakes/flakes/flake3' acquiring write lock on '/build/nix-test/flakes/flakes/var/nix/temproots/11092' using cache entry '{"name":"source","rev":"6caf7bc8eb8ccc3679b9a99e7b6c12a596977aee","type":"git"}' -> '{"lastModified":1725915459,"rev":"6caf7bc8eb8ccc3679b9a99e7b6c12a596977aee","revCount":5}', '/build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source' got tree '/build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source' from 'git+file:///build/nix-test/flakes/flakes/flake3?ref=refs/heads/master&rev=6caf7bc8eb8ccc3679b9a99e7b6c12a596977aee' checking access to '/build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source/flake.nix' evaluating file '/build/nix-test/flakes/flakes/store/hfhb5j532gnhbggs0qrmzrg4qvmarphy-source/flake.nix' old lock file: { "nodes": { "flake1": { "locked": { "lastModified": 1725915455, "narHash": "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU=", "ref": "refs/heads/master", "rev": "1bb1305b1b347da4bd2dc8b70c67384b46009656", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "original": { "id": "flake1", "type": "indirect" } }, "flake1_2": { "locked": { "lastModified": 1725915455, "narHash": "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU=", "ref": "refs/heads/master", "rev": "1bb1305b1b347da4bd2dc8b70c67384b46009656", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "original": { "id": "flake1", "type": "indirect" } }, "flake2": { "inputs": { "flake1": "flake1_2" }, "locked": { "lastModified": 1725915457, "narHash": "sha256-UwkI+qd2+jmSgJpyRJAkcSqZEnobBaMaV5QC/628Rnk=", "ref": "refs/heads/main", "rev": "4f29e15f59a28b847303a1ee2357f2e30c8b0c9c", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake2" }, "original": { "id": "flake2", "type": "indirect" } }, "nonFlake": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-Nh+ycbbQcbtbiaVaI6hqQ3e2W2kIlPbjti+3JMo4338=", "ref": "refs/heads/master", "rev": "2d177c63363979b8489c9669e9b3b18fb95b94ad", "revCount": 1, "type": "git", "url": "file:///build/nix-test/flakes/flakes/nonFlake" }, "original": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/nonFlake" } }, "nonFlakeFile": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=", "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" }, "original": { "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" } }, "nonFlakeFile2": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=", "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" }, "original": { "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" } }, "root": { "inputs": { "flake1": "flake1", "flake2": "flake2", "nonFlake": "nonFlake", "nonFlakeFile": "nonFlakeFile", "nonFlakeFile2": "nonFlakeFile2" } } }, "root": "root", "version": 7 } computing lock file node '' computing input 'flake1' keeping existing input 'flake1' computing lock file node 'flake1' computing input 'flake2' keeping existing input 'flake2' computing lock file node 'flake2' computing input 'flake2/flake1' creating new input 'flake2/flake1' fetching tarball input 'file:///build/nix-test/flakes/flakes/flake.tar.gz' using cache entry '{"name":"source","type":"tarball","url":"file:///build/nix-test/flakes/flakes/flake.tar.gz"}' -> '{"etag":"","lastModified":1725915463}', '/build/nix-test/flakes/flakes/store/cdlh94d7xb59p2wslx6xd0sk676vw7y8-source' using cache entry '{"name":"source","type":"file","url":"file:///build/nix-test/flakes/flakes/flake.tar.gz"}' -> '{"etag":"","url":"file:///build/nix-test/flakes/flakes/flake.tar.gz"}', '/build/nix-test/flakes/flakes/store/88gspqfgzsrg2dyyky40akdc69i7c3fs-source' downloading 'file:///build/nix-test/flakes/flakes/flake.tar.gz'... download thread waiting for 10000 ms starting download of file:///build/nix-test/flakes/flakes/flake.tar.gz curl: Couldn't find host in the /build/nix-test/flakes/flakes/etc/netrc file; using defaults got header for 'file:///build/nix-test/flakes/flakes/flake.tar.gz': Content-Length: 567 got header for 'file:///build/nix-test/flakes/flakes/flake.tar.gz': Accept-ranges: bytes got header for 'file:///build/nix-test/flakes/flakes/flake.tar.gz': Last-Modified: Mon, 09 Sep 2024 20:57:43 GMT curl: Closing connection finished download of 'file:///build/nix-test/flakes/flakes/flake.tar.gz'; curl status = 0, HTTP status = 0, body = 567 bytes download thread waiting for 10000 ms got tree '/build/nix-test/flakes/flakes/store/cdlh94d7xb59p2wslx6xd0sk676vw7y8-source' from 'file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-eqlJkSZ8HnFP9ZsS6IqGobtQw1erDXJ0S4FPLvXA13o%3D' checking access to '/build/nix-test/flakes/flakes/store/cdlh94d7xb59p2wslx6xd0sk676vw7y8-source/flake.nix' evaluating file '/build/nix-test/flakes/flakes/store/cdlh94d7xb59p2wslx6xd0sk676vw7y8-source/flake.nix' computing lock file node 'flake2/flake1' computing input 'flake2/flake1/flake1' creating new input 'flake2/flake1/flake1' looked up 'flake:flake1' -> 'git+file:///build/nix-test/flakes/flakes/flake1' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' resolved HEAD ref 'refs/heads/master' for repo '/build/nix-test/flakes/flakes/flake1' using revision 1bb1305b1b347da4bd2dc8b70c67384b46009656 of repo '/build/nix-test/flakes/flakes/flake1' using cache entry '{"name":"source","rev":"1bb1305b1b347da4bd2dc8b70c67384b46009656","type":"git"}' -> '{"lastModified":1725915455,"rev":"1bb1305b1b347da4bd2dc8b70c67384b46009656","revCount":2}', '/build/nix-test/flakes/flakes/store/j3imz6k3j6hzn0fqpb7nafjnikljmz5d-source' got tree '/build/nix-test/flakes/flakes/store/j3imz6k3j6hzn0fqpb7nafjnikljmz5d-source' from 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' checking access to '/build/nix-test/flakes/flakes/store/j3imz6k3j6hzn0fqpb7nafjnikljmz5d-source/flake.nix' evaluating file '/build/nix-test/flakes/flakes/store/j3imz6k3j6hzn0fqpb7nafjnikljmz5d-source/flake.nix' computing lock file node 'flake2/flake1/flake1' computing input 'nonFlake' keeping existing input 'nonFlake' computing lock file node 'nonFlake' computing input 'nonFlakeFile' keeping existing input 'nonFlakeFile' computing lock file node 'nonFlakeFile' computing input 'nonFlakeFile2' keeping existing input 'nonFlakeFile2' computing lock file node 'nonFlakeFile2' new lock file: { "nodes": { "flake1": { "locked": { "lastModified": 1725915455, "narHash": "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU=", "ref": "refs/heads/master", "rev": "1bb1305b1b347da4bd2dc8b70c67384b46009656", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "original": { "id": "flake1", "type": "indirect" } }, "flake1_2": { "inputs": { "flake1": "flake1_3" }, "locked": { "lastModified": 1725915463, "narHash": "sha256-eqlJkSZ8HnFP9ZsS6IqGobtQw1erDXJ0S4FPLvXA13o=", "type": "tarball", "url": "file:///build/nix-test/flakes/flakes/flake.tar.gz" }, "original": { "id": "flake1", "type": "indirect" } }, "flake1_3": { "locked": { "lastModified": 1725915455, "narHash": "sha256-NYw3rX2HHil4nSy8dJPp4IGWqBXumi7sm4dq4Hny0zU=", "ref": "refs/heads/master", "rev": "1bb1305b1b347da4bd2dc8b70c67384b46009656", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake1" }, "original": { "id": "flake1", "type": "indirect" } }, "flake2": { "inputs": { "flake1": "flake1_2" }, "locked": { "lastModified": 1725915457, "narHash": "sha256-UwkI+qd2+jmSgJpyRJAkcSqZEnobBaMaV5QC/628Rnk=", "ref": "refs/heads/main", "rev": "4f29e15f59a28b847303a1ee2357f2e30c8b0c9c", "revCount": 2, "type": "git", "url": "file:///build/nix-test/flakes/flakes/flake2" }, "original": { "id": "flake2", "type": "indirect" } }, "nonFlake": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-Nh+ycbbQcbtbiaVaI6hqQ3e2W2kIlPbjti+3JMo4338=", "ref": "refs/heads/master", "rev": "2d177c63363979b8489c9669e9b3b18fb95b94ad", "revCount": 1, "type": "git", "url": "file:///build/nix-test/flakes/flakes/nonFlake" }, "original": { "type": "git", "url": "file:///build/nix-test/flakes/flakes/nonFlake" } }, "nonFlakeFile": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=", "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" }, "original": { "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" } }, "nonFlakeFile2": { "flake": false, "locked": { "lastModified": 1725915454, "narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=", "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" }, "original": { "path": "/build/nix-test/flakes/flakes/nonFlake/README.md", "type": "path" } }, "root": { "inputs": { "flake1": "flake1", "flake2": "flake2", "nonFlake": "nonFlake", "nonFlakeFile": "nonFlakeFile", "nonFlakeFile2": "nonFlakeFile2" } } }, "root": "root", "version": 7 } warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) → 'file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-eqlJkSZ8HnFP9ZsS6IqGobtQw1erDXJ0S4FPLvXA13o%3D' (2024-09-09) • Added input 'flake2/flake1/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty locking path '/build/nix-test/flakes/flakes/store/66w83dbxmqdqncfy0c3ks9rn0l1vp9dm-source' lock acquired on '/build/nix-test/flakes/flakes/store/66w83dbxmqdqncfy0c3ks9rn0l1vp9dm-source.lock' lock released on '/build/nix-test/flakes/flakes/store/66w83dbxmqdqncfy0c3ks9rn0l1vp9dm-source.lock' got tree '/build/nix-test/flakes/flakes/store/66w83dbxmqdqncfy0c3ks9rn0l1vp9dm-source' from 'git+file:///build/nix-test/flakes/flakes/flake3' checking access to '/build/nix-test/flakes/flakes/store/66w83dbxmqdqncfy0c3ks9rn0l1vp9dm-source/flake.nix' evaluating file '/build/nix-test/flakes/flakes/store/66w83dbxmqdqncfy0c3ks9rn0l1vp9dm-source/flake.nix' download thread shutting down ++(flakes.sh:497) jq .nodes.flake1_2.locked.url /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:497) [[ "file:///build/nix-test/flakes/flakes/flake.tar.gz" =~ flake.tar.gz ]] +(flakes.sh:499) nix flake lock /build/nix-test/flakes/flakes/flake3 --override-input flake2/flake1 flake1 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake2/flake1': 'file:///build/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-eqlJkSZ8HnFP9ZsS6IqGobtQw1erDXJ0S4FPLvXA13o%3D' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) • Removed input 'flake2/flake1/flake1' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' ++(flakes.sh:500) jq -r .nodes.flake1_2.locked.rev /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:500) [[ 1bb1305b1b347da4bd2dc8b70c67384b46009656 =~ 1bb1305b1b347da4bd2dc8b70c67384b46009656 ]] +(flakes.sh:502) nix flake lock /build/nix-test/flakes/flakes/flake3 --override-input flake2/flake1 flake1/master/128b1913e019a8bef4df36de68cee5a66de61084 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake1?ref=master&rev=128b1913e019a8bef4df36de68cee5a66de61084' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:503) jq -r .nodes.flake1_2.locked.rev /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:503) [[ 128b1913e019a8bef4df36de68cee5a66de61084 =~ 128b1913e019a8bef4df36de68cee5a66de61084 ]] +(flakes.sh:505) nix flake lock /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:506) jq -r .nodes.flake1_2.locked.rev /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:506) [[ 128b1913e019a8bef4df36de68cee5a66de61084 = 128b1913e019a8bef4df36de68cee5a66de61084 ]] +(flakes.sh:509) nix flake update flake2/flake1 --flake /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=master&rev=128b1913e019a8bef4df36de68cee5a66de61084' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' ++(flakes.sh:510) jq -r .nodes.flake1_2.locked.rev /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:510) [[ 1bb1305b1b347da4bd2dc8b70c67384b46009656 =~ 1bb1305b1b347da4bd2dc8b70c67384b46009656 ]] +(flakes.sh:513) nix flake lock /build/nix-test/flakes/flakes/flake3 --override-input flake1 flake1/master/128b1913e019a8bef4df36de68cee5a66de61084 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake1?ref=master&rev=128b1913e019a8bef4df36de68cee5a66de61084' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty +(flakes.sh:514) nix flake lock /build/nix-test/flakes/flakes/flake3 --override-input flake2/flake1 flake1/master/128b1913e019a8bef4df36de68cee5a66de61084 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake1?ref=master&rev=128b1913e019a8bef4df36de68cee5a66de61084' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty ++(flakes.sh:515) jq -r .nodes.flake1.locked.rev /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:515) [[ 128b1913e019a8bef4df36de68cee5a66de61084 =~ 128b1913e019a8bef4df36de68cee5a66de61084 ]] ++(flakes.sh:516) jq -r .nodes.flake1_2.locked.rev /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:516) [[ 128b1913e019a8bef4df36de68cee5a66de61084 =~ 128b1913e019a8bef4df36de68cee5a66de61084 ]] +(flakes.sh:518) nix flake update flake1 flake2/flake1 --flake /build/nix-test/flakes/flakes/flake3 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' warning: Git tree '/build/nix-test/flakes/flakes/flake3' is dirty fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' warning: updating lock file '/build/nix-test/flakes/flakes/flake3/flake.lock': • Updated input 'flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=master&rev=128b1913e019a8bef4df36de68cee5a66de61084' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) • Updated input 'flake2/flake1': 'git+file:///build/nix-test/flakes/flakes/flake1?ref=master&rev=128b1913e019a8bef4df36de68cee5a66de61084' (2024-09-09) → 'git+file:///build/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=1bb1305b1b347da4bd2dc8b70c67384b46009656' (2024-09-09) fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' ++(flakes.sh:519) jq -r .nodes.flake1.locked.rev /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:519) [[ 1bb1305b1b347da4bd2dc8b70c67384b46009656 =~ 1bb1305b1b347da4bd2dc8b70c67384b46009656 ]] ++(flakes.sh:520) jq -r .nodes.flake1_2.locked.rev /build/nix-test/flakes/flakes/flake3/flake.lock +(flakes.sh:520) [[ 1bb1305b1b347da4bd2dc8b70c67384b46009656 =~ 1bb1305b1b347da4bd2dc8b70c67384b46009656 ]] +(flakes.sh:523) nix flake metadata /build/nix-test/flakes/flakes/flake3 --json +(flakes.sh:523) jq . warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' +(flakes.sh:526) rm -rf /build/nix-test/flakes/flakes/badFlake +(flakes.sh:527) mkdir /build/nix-test/flakes/flakes/badFlake +(flakes.sh:528) echo INVALID ++(flakes.sh:529) nix store add-path /build/nix-test/flakes/flakes/badFlake warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:529) nix store delete /build/nix-test/flakes/flakes/store/h98dp4akxz8206xqx3fcyh4bgrw23xil-badFlake warning: you don't have Internet access; disabling some network-dependent features finding garbage collector roots... deleting '/build/nix-test/flakes/flakes/store/h98dp4akxz8206xqx3fcyh4bgrw23xil-badFlake' deleting unused links... note: currently hard linking saves 0.00 MiB +++(flakes.sh:531) nix store add-path /build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features ++(flakes.sh:531) nix path-info /build/nix-test/flakes/flakes/store/lh8rr0abv6xh5y3x1axj6z70g53diq11-flake1 warning: you don't have Internet access; disabling some network-dependent features +(flakes.sh:531) [[ /build/nix-test/flakes/flakes/store/lh8rr0abv6xh5y3x1axj6z70g53diq11-flake1 =~ flake1 ]] +++(flakes.sh:532) nix store add-path /build/nix-test/flakes/flakes/flake1 warning: you don't have Internet access; disabling some network-dependent features ++(flakes.sh:532) nix path-info path:/build/nix-test/flakes/flakes/store/lh8rr0abv6xh5y3x1axj6z70g53diq11-flake1 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/flakes/store/lh8rr0abv6xh5y3x1axj6z70g53diq11-flake1' +(flakes.sh:532) [[ /build/nix-test/flakes/flakes/store/knrk8h3pj5550sl8g0y4iiyxz6dnbq71-simple =~ simple ]] ++(flakes.sh:535) nix-instantiate --eval flake:flake3 -A x fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' +(flakes.sh:535) [[ 123 = 123 ]] ++(flakes.sh:536) nix-instantiate --eval flake:git+file:///build/nix-test/flakes/flakes/flake3 -A x fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' +(flakes.sh:536) [[ 123 = 123 ]] ++(flakes.sh:537) nix-instantiate -I flake3=flake:flake3 --eval '' -A x fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' +(flakes.sh:537) [[ 123 = 123 ]] ++(flakes.sh:538) NIX_PATH=flake3=flake:flake3 ++(flakes.sh:538) nix-instantiate --eval '' -A x fetching git input 'git+file:///build/nix-test/flakes/flakes/flake3' +(flakes.sh:538) [[ 123 = 123 ]] +(flakes.sh:541) nix flake lock /build/nix-test/flakes/flakes/flake2 --output-lock-file /build/nix-test/flakes/flakes/flake2.lock warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:542) cmp /build/nix-test/flakes/flakes/flake2/flake.lock /build/nix-test/flakes/flakes/flake2.lock +(flakes.sh:544) nix flake lock /build/nix-test/flakes/flakes/flake2 --output-lock-file /build/nix-test/flakes/flakes/flake2-overridden.lock --override-input flake1 'git+file:///build/nix-test/flakes/flakes/flake1?rev=128b1913e019a8bef4df36de68cee5a66de61084' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake1' fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:545) expectStderr 1 cmp /build/nix-test/flakes/flakes/flake2/flake.lock /build/nix-test/flakes/flakes/flake2-overridden.lock +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) cmp /build/nix-test/flakes/flakes/flake2/flake.lock /build/nix-test/flakes/flakes/flake2-overridden.lock +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(flakes.sh:546) nix flake metadata /build/nix-test/flakes/flakes/flake2 --reference-lock-file /build/nix-test/flakes/flakes/flake2-overridden.lock +(flakes.sh:546) grepQuiet 128b1913e019a8bef4df36de68cee5a66de61084 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 128b1913e019a8bef4df36de68cee5a66de61084 warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/flakes/flakes/flake2' +(flakes.sh:549) expectStderr 1 nix flake metadata /build/nix-test/flakes/flakes/flake2 --no-allow-dirty --reference-lock-file /build/nix-test/flakes/flakes/flake2-overridden.lock +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix flake metadata /build/nix-test/flakes/flakes/flake2 --no-allow-dirty --reference-lock-file /build/nix-test/flakes/flakes/flake2-overridden.lock +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ============================================================================== =================================== 62/161 =================================== test: lix:installcheck / functional-tarball start time: 20:57:45 duration: 0.45s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=83 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py tarball.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/tarball +(init.sh:7) test -d /build/nix-test/tarball +(init.sh:8) chmod -R u+w /build/nix-test/tarball +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/tarball +(init.sh:13) mkdir /build/nix-test/tarball +(init.sh:15) mkdir /build/nix-test/tarball/store +(init.sh:16) mkdir /build/nix-test/tarball/var +(init.sh:17) mkdir -p /build/nix-test/tarball/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/tarball/var/nix +(init.sh:19) mkdir /build/nix-test/tarball/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/tarball/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(tarball.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/tarball/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/tarball/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/tarball/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/tarball/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/tarball/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/tarball/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/tarball/test-home/.local/state/nix/profiles +(tarball.sh:5) rm -rf /build/nix-test/tarball/test-home +(tarball.sh:7) tarroot=/build/nix-test/tarball/tarball +(tarball.sh:8) rm -rf /build/nix-test/tarball/tarball +(tarball.sh:9) mkdir -p /build/nix-test/tarball/tarball +(tarball.sh:10) cp dependencies.nix /build/nix-test/tarball/tarball/default.nix +(tarball.sh:11) cp config.nix dependencies.builder0.sh /build/nix-test/tarball/tarball/ +(tarball.sh:12) touch -d @1000000000 /build/nix-test/tarball/tarball /build/nix-test/tarball/tarball/config.nix /build/nix-test/tarball/tarball/default.nix /build/nix-test/tarball/tarball/dependencies.builder0.sh ++(tarball.sh:14) nix hash path /build/nix-test/tarball/tarball warning: you don't have Internet access; disabling some network-dependent features +(tarball.sh:14) hash=sha256-BRXws3Aq3OTPqn0y3Lyr7U90YjsgYYNFbEl5c+NUy7A= +(tarball.sh:57) test_tarball '' cat +(tarball.sh:17) local ext= +(tarball.sh:18) local compressor=cat +(tarball.sh:20) tarball=/build/nix-test/tarball/tarball.tar +(tarball.sh:21) cat +(tarball.sh:21) cd /build/nix-test/tarball +(tarball.sh:21) GNUTAR_REPRODUCIBLE= +(tarball.sh:21) tar --mtime=/build/nix-test/tarball/tarball/default.nix --owner=0 --group=0 --numeric-owner --sort=name -c -f - tarball +(tarball.sh:23) nix-env -f file:///build/nix-test/tarball/tarball.tar -qa --out-path +(tarball.sh:23) grepQuiet dependencies +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep dependencies +(tarball.sh:25) nix-build -o /build/nix-test/tarball/result file:///build/nix-test/tarball/tarball.tar these 5 derivations will be built: /build/nix-test/tarball/store/7zlzkgrlxm9pj06qia3av60wcmg2ry3y-dependencies-input-0.drv /build/nix-test/tarball/store/j508kvnfm6q9sxwgsnfrx23xl5vgh876-fod-input.drv /build/nix-test/tarball/store/vq8rgdw0r0plpiijf6f5pc0pk9l1x55h-dependencies-input-1.drv /build/nix-test/tarball/store/yqdk08xn9m4jvjckij35pp44q3d6b3hg-dependencies-input-2.drv /build/nix-test/tarball/store/y9hphz8b7j7xdbzzcr452329li889pin-dependencies-top.drv building '/build/nix-test/tarball/store/7zlzkgrlxm9pj06qia3av60wcmg2ry3y-dependencies-input-0.drv'... building '/build/nix-test/tarball/store/vq8rgdw0r0plpiijf6f5pc0pk9l1x55h-dependencies-input-1.drv'... building '/build/nix-test/tarball/store/yqdk08xn9m4jvjckij35pp44q3d6b3hg-dependencies-input-2.drv'... building '/build/nix-test/tarball/store/j508kvnfm6q9sxwgsnfrx23xl5vgh876-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/tarball/store/66hw20niwagp2p01lq3q3379msn5zi1s-fod-input': Permission denied ============================================================================== =================================== 63/161 =================================== test: lix:installcheck / functional-gc-runtime start time: 20:57:43 duration: 2.85s result: exit status 0 command: MALLOC_PERTURB_=201 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py gc-runtime.sh ----------------------------------- stdout ----------------------------------- /build/nix-test/gc-runtime/store/xskvf5cp1sn3pk1yyazsakkq4yw41fkk-gc-runtime-program /build/nix-test/gc-runtime/store/kq2w1jbl2ys01nahjj8czryrsl7a0g2v-gc-runtime-environ /build/nix-test/gc-runtime/store/9bqdvylq4wpd21sms85iq0kf32ixd9vd-gc-runtime-open backgrounding program... PID=11575 10 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/gc-runtime +(init.sh:7) test -d /build/nix-test/gc-runtime +(init.sh:8) chmod -R u+w /build/nix-test/gc-runtime +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/gc-runtime +(init.sh:13) mkdir /build/nix-test/gc-runtime +(init.sh:15) mkdir /build/nix-test/gc-runtime/store +(init.sh:16) mkdir /build/nix-test/gc-runtime/var +(init.sh:17) mkdir -p /build/nix-test/gc-runtime/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/gc-runtime/var/nix +(init.sh:19) mkdir /build/nix-test/gc-runtime/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/gc-runtime/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(gc-runtime.sh:3) set -m +(gc-runtime.sh:5) profiles=/build/nix-test/gc-runtime/var/nix/profiles +(gc-runtime.sh:6) rm -rf /build/nix-test/gc-runtime/var/nix/profiles +(gc-runtime.sh:8) nix-env -p /build/nix-test/gc-runtime/var/nix/profiles/test -f ./gc-runtime.nix -i gc-runtime-program gc-runtime-environ gc-runtime-open installing 'gc-runtime-program' installing 'gc-runtime-environ' installing 'gc-runtime-open' these 3 derivations will be built: /build/nix-test/gc-runtime/store/m4cff5250w8slhm2mnsxfjakv1g8hayd-gc-runtime-environ.drv /build/nix-test/gc-runtime/store/qzmjjmf82f9rqz0r0kspfvpw7zli3j1z-gc-runtime-program.drv /build/nix-test/gc-runtime/store/swdlmyy26mzyg4pacx6ki9za2qm40vm7-gc-runtime-open.drv building '/build/nix-test/gc-runtime/store/m4cff5250w8slhm2mnsxfjakv1g8hayd-gc-runtime-environ.drv'... building '/build/nix-test/gc-runtime/store/swdlmyy26mzyg4pacx6ki9za2qm40vm7-gc-runtime-open.drv'... building '/build/nix-test/gc-runtime/store/qzmjjmf82f9rqz0r0kspfvpw7zli3j1z-gc-runtime-program.drv'... building '/build/nix-test/gc-runtime/store/hsj7ayz1vzilpvflic5mnwy3xhf30n2g-user-environment.drv'... ++(gc-runtime.sh:10) nix-env -p /build/nix-test/gc-runtime/var/nix/profiles/test -q --no-name --out-path gc-runtime-program +(gc-runtime.sh:10) programPath=/build/nix-test/gc-runtime/store/xskvf5cp1sn3pk1yyazsakkq4yw41fkk-gc-runtime-program ++(gc-runtime.sh:11) nix-env -p /build/nix-test/gc-runtime/var/nix/profiles/test -q --no-name --out-path gc-runtime-environ +(gc-runtime.sh:11) environPath=/build/nix-test/gc-runtime/store/kq2w1jbl2ys01nahjj8czryrsl7a0g2v-gc-runtime-environ ++(gc-runtime.sh:12) nix-env -p /build/nix-test/gc-runtime/var/nix/profiles/test -q --no-name --out-path gc-runtime-open +(gc-runtime.sh:12) openPath=/build/nix-test/gc-runtime/store/9bqdvylq4wpd21sms85iq0kf32ixd9vd-gc-runtime-open +(gc-runtime.sh:13) echo /build/nix-test/gc-runtime/store/xskvf5cp1sn3pk1yyazsakkq4yw41fkk-gc-runtime-program /build/nix-test/gc-runtime/store/kq2w1jbl2ys01nahjj8czryrsl7a0g2v-gc-runtime-environ /build/nix-test/gc-runtime/store/9bqdvylq4wpd21sms85iq0kf32ixd9vd-gc-runtime-open +(gc-runtime.sh:15) echo 'backgrounding program...' +(gc-runtime.sh:16) export environPath +(gc-runtime.sh:18) sleep 2 +(gc-runtime.sh:17) /build/nix-test/gc-runtime/var/nix/profiles/test/program /build/nix-test/gc-runtime/store/9bqdvylq4wpd21sms85iq0kf32ixd9vd-gc-runtime-open/open +(gc-runtime.sh:19) child=11575 +(gc-runtime.sh:20) echo PID=11575 +(gc-runtime.sh:22) nix-env -p /build/nix-test/gc-runtime/var/nix/profiles/test -e gc-runtime-program gc-runtime-environ gc-runtime-open uninstalling 'gc-runtime-program' uninstalling 'gc-runtime-environ' uninstalling 'gc-runtime-open' building '/build/nix-test/gc-runtime/store/69cpywy259j3pmx5dq8asky7q7xhj9qw-user-environment.drv'... +(gc-runtime.sh:23) nix-env -p /build/nix-test/gc-runtime/var/nix/profiles/test --delete-generations old removing profile version 1 +(gc-runtime.sh:25) nix-store --gc finding garbage collector roots... removing stale link from '/build/nix-test/gc-runtime/var/nix/gcroots/auto/y5w9dr8dqy5apwjbm0fr7qpibixjh0y8' to '/build/nix-test/gc-runtime/var/nix/profiles/test-1-link' deleting garbage... deleting '/build/nix-test/gc-runtime/store/qzmjjmf82f9rqz0r0kspfvpw7zli3j1z-gc-runtime-program.drv' deleting '/build/nix-test/gc-runtime/store/s5vvfvqqrzngw1b9mxjdpq3b4fzkdkfa-builder.sh' deleting '/build/nix-test/gc-runtime/store/m4cff5250w8slhm2mnsxfjakv1g8hayd-gc-runtime-environ.drv' deleting '/build/nix-test/gc-runtime/store/8ig81r571csklvvh6n239xkji51jdxsj-builder-gc-runtime-environ.sh' deleting '/build/nix-test/gc-runtime/store/swdlmyy26mzyg4pacx6ki9za2qm40vm7-gc-runtime-open.drv' deleting '/build/nix-test/gc-runtime/store/rqh14cnmd171anw84hmyyxzr63cd9l2l-builder-gc-runtime-open.sh' deleting '/build/nix-test/gc-runtime/store/lyiinm6wvnziarp1qpiymk28zqif453b-user-environment' deleting '/build/nix-test/gc-runtime/store/hsj7ayz1vzilpvflic5mnwy3xhf30n2g-user-environment.drv' deleting '/build/nix-test/gc-runtime/store/bnjlkx7g8gy66wwpq20kwlmymnsabx3n-env-manifest.nix' deleting '/build/nix-test/gc-runtime/store/69cpywy259j3pmx5dq8asky7q7xhj9qw-user-environment.drv' deleting unused links... note: currently hard linking saves 0.00 MiB +(gc-runtime.sh:27) kill -- -11575 +(gc-runtime.sh:29) test -e /build/nix-test/gc-runtime/store/xskvf5cp1sn3pk1yyazsakkq4yw41fkk-gc-runtime-program +(gc-runtime.sh:34) test -e /build/nix-test/gc-runtime/store/kq2w1jbl2ys01nahjj8czryrsl7a0g2v-gc-runtime-environ +(gc-runtime.sh:39) test -e /build/nix-test/gc-runtime/store/9bqdvylq4wpd21sms85iq0kf32ixd9vd-gc-runtime-open +(gc-runtime.sh:44) exit 0 ============================================================================== =================================== 64/161 =================================== test: lix:installcheck / functional-fetchurl start time: 20:57:46 duration: 0.31s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=42 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchurl.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchurl +(init.sh:7) test -d /build/nix-test/fetchurl +(init.sh:8) chmod -R u+w /build/nix-test/fetchurl +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchurl +(init.sh:13) mkdir /build/nix-test/fetchurl +(init.sh:15) mkdir /build/nix-test/fetchurl/store +(init.sh:16) mkdir /build/nix-test/fetchurl/var +(init.sh:17) mkdir -p /build/nix-test/fetchurl/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchurl/var/nix +(init.sh:19) mkdir /build/nix-test/fetchurl/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchurl/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fetchurl.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fetchurl/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fetchurl/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fetchurl/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fetchurl/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fetchurl/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fetchurl/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fetchurl/test-home/.local/state/nix/profiles ++(fetchurl.sh:6) nix-hash --flat --type sha256 ./fetchurl.sh +(fetchurl.sh:6) hash=5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464 +++(fetchurl.sh:8) pwd ++(fetchurl.sh:8) nix-build -vvvvv --expr 'import ' --argstr url file:///build/source/build/tests/functional/fetchurl.sh --argstr sha256 5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464 --no-out-link processing attribute 'builder' processing attribute 'executable' processing attribute 'impureEnvVars' processing attribute 'name' processing attribute 'outputHash' processing attribute 'outputHashAlgo' processing attribute 'outputHashMode' processing attribute 'preferLocalBuild' processing attribute 'system' processing attribute 'unpack' processing attribute 'url' processing attribute 'urls' acquiring write lock on '/build/nix-test/fetchurl/var/nix/temproots/12789' locking path '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv' lock acquired on '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv.lock' lock released on '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv.lock' instantiated 'fetchurl.sh' -> '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv' querying info about missing paths... starting pool of 24 threads this derivation will be built: /build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: created building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: woken up querying info about missing paths... starting pool of 24 threads entered goal loop building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: init building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: loading derivation building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: have derivation substitution of '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh': created substitution of '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh': woken up substitution of '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh': init substitution of '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh': trying next substituter path '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh' is required, but there is no substituter that can build it substitution of '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh': done building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: waitee 'substitution of '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh'' done; 0 left building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: woken up substitution of '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh': goal destroyed building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: all inputs realised added input paths building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: woken up building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: trying to build locking path '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh' lock acquired on '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh.lock' removing invalid path '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh' building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: woken up executing builder 'builtin:fetchurl' using builder args '' setting builder env variable 'builder'='builtin:fetchurl' setting builder env variable 'executable'='' setting builder env variable 'impureEnvVars'='http_proxy https_proxy ftp_proxy all_proxy no_proxy' setting builder env variable 'name'='fetchurl.sh' setting builder env variable 'out'='/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh' setting builder env variable 'outputHash'='5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464' setting builder env variable 'outputHashAlgo'='sha256' setting builder env variable 'outputHashMode'='flat' setting builder env variable 'preferLocalBuild'='1' setting builder env variable 'system'='builtin' setting builder env variable 'unpack'='' setting builder env variable 'url'='file:///build/source/build/tests/functional/fetchurl.sh' setting builder env variable 'urls'='file:///build/source/build/tests/functional/fetchurl.sh' building '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv'... waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: read 832 bytes downloading 'file:///build/source/build/tests/functional/fetchurl.sh'... download thread waiting for 10000 ms starting download of file:///build/source/build/tests/functional/fetchurl.sh curl: Couldn't find host in the /build/nix-test/fetchurl/etc/netrc file; using defaults got header for 'file:///build/source/build/tests/functional/fetchurl.sh': Content-Length: 2648 waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: read 135 bytes got header for 'file:///build/source/build/tests/functional/fetchurl.sh': Accept-ranges: bytes waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: read 159 bytes got header for 'file:///build/source/build/tests/functional/fetchurl.sh': Last-Modified: Thu, 01 Jan 1970 00:00:01 GMT waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: read 162 bytes waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: read 243 bytes waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: read 318 bytes curl: Closing connection finished download of 'file:///build/source/build/tests/functional/fetchurl.sh'; curl status = 0, HTTP status = 0, body = 2648 bytes waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: read 120 bytes download thread waiting for 10000 ms waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: read 70 bytes download thread shutting down waiting for children building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: got EOF building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: woken up building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: build done killing process 12819 builder process for '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv' finished scanning for references for output 'out' in temp location '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh' lock released on '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh.lock' building of '/build/nix-test/fetchurl/store/hjd01yjc8282ygjqgnmgaqqbvs76qgh9-fetchurl.sh.drv^out' from .drv file: goal destroyed error: removing extended attribute 'btrfs.compression' from '/build/nix-test/fetchurl/store/7qrj8nggbn5nxlkcn0vdbnhdiiwhzflb-fetchurl.sh': Permission denied +(fetchurl.sh:8) outPath= ++(fetchurl.sh:8) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x fetchurl.sh: test failed at: main in fetchurl.sh:8 ============================================================================== =================================== 65/161 =================================== test: lix:installcheck / functional-fetchPath start time: 20:57:46 duration: 0.19s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=48 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchPath.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchPath +(init.sh:7) test -d /build/nix-test/fetchPath +(init.sh:8) chmod -R u+w /build/nix-test/fetchPath +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchPath +(init.sh:13) mkdir /build/nix-test/fetchPath +(init.sh:15) mkdir /build/nix-test/fetchPath/store +(init.sh:16) mkdir /build/nix-test/fetchPath/var +(init.sh:17) mkdir -p /build/nix-test/fetchPath/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchPath/var/nix +(init.sh:19) mkdir /build/nix-test/fetchPath/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchPath/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fetchPath.sh:3) touch /build/nix-test/fetchPath/foo -t 202211111111 ++(fetchPath.sh:6) nix eval --impure --raw --expr '(builtins.fetchTree "path:///build/nix-test/fetchPath/foo").lastModifiedDate' warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/fetchPath/foo' +(fetchPath.sh:6) [[ 20221111111100 =~ 2022111.* ]] ============================================================================== =================================== 66/161 =================================== test: lix:installcheck / functional-fetchers start time: 20:57:45 duration: 1.70s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=226 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchers.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchers +(init.sh:7) test -d /build/nix-test/fetchers +(init.sh:8) chmod -R u+w /build/nix-test/fetchers +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchers +(init.sh:13) mkdir /build/nix-test/fetchers +(init.sh:15) mkdir /build/nix-test/fetchers/store +(init.sh:16) mkdir /build/nix-test/fetchers/var +(init.sh:17) mkdir -p /build/nix-test/fetchers/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchers/var/nix +(init.sh:19) mkdir /build/nix-test/fetchers/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchers/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fetchers.sh:3) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(fetchers.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fetchers/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fetchers/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fetchers/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fetchers/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fetchers/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fetchers/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fetchers/test-home/.local/state/nix/profiles +(fetchers.sh:17) for provider in github gitlab sourcehut +(fetchers.sh:20) testFetchTreeError '{ type = "github"; owner = "foo"; repo = "bar"; ref = ","; }' 'URL '\''github:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:8) rawFetchTreeArg='{ type = "github"; owner = "foo"; repo = "bar"; ref = ","; }' +(fetchers.sh:9) messageSubstring='URL '\''github:foo/bar'\'' contains an invalid branch/tag name' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; ref = ","; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { owner = "foo"; ref = ","; repo = "bar"; type = "github"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; ref = ","; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; ref = ","; }).outPath | ^ error: URL '\''github:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''github:foo/bar'\'' contains an invalid branch/tag name' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''github:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:24) testFetchTreeError '"github://host/foo/bar/,"' 'URL '\''github:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:8) rawFetchTreeArg='"github://host/foo/bar/,"' +(fetchers.sh:9) messageSubstring='URL '\''github:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "github://host/foo/bar/,").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "github://host/foo/bar/,")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "github://host/foo/bar/,").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "github://host/foo/bar/,").outPath | ^ error: in URL '\''github:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''github:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''github:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:28) testFetchTreeError '"github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc"' 'URL '\''github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:8) rawFetchTreeArg='"github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc"' +(fetchers.sh:9) messageSubstring='URL '\''github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath | ^ error: URL '\''github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''github://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:32) testFetchTreeError '"github://host/foo/bar/ref?ref=ref2"' 'URL '\''github://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:8) rawFetchTreeArg='"github://host/foo/bar/ref?ref=ref2"' +(fetchers.sh:9) messageSubstring='URL '\''github://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "github://host/foo/bar/ref?ref=ref2").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "github://host/foo/bar/ref?ref=ref2")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "github://host/foo/bar/ref?ref=ref2").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "github://host/foo/bar/ref?ref=ref2").outPath | ^ error: URL '\''github://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''github://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''github://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:37) testFetchTreeError '{ type = "github"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }' 'URL '\''github:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:8) rawFetchTreeArg='{ type = "github"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }' +(fetchers.sh:9) messageSubstring='URL '\''github:foo/bar'\'' contains an invalid instance host' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { host = "git_hub.com"; owner = "foo"; repo = "bar"; type = "github"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath | ^ error: URL '\''github:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''github:foo/bar'\'' contains an invalid instance host' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''github:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:41) testFetchTreeError '"github://host/foo/bar/ref?host=git_hub.com"' 'URL '\''github:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:8) rawFetchTreeArg='"github://host/foo/bar/ref?host=git_hub.com"' +(fetchers.sh:9) messageSubstring='URL '\''github:foo/bar'\'' contains an invalid instance host' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "github://host/foo/bar/ref?host=git_hub.com").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "github://host/foo/bar/ref?host=git_hub.com")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "github://host/foo/bar/ref?host=git_hub.com").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "github://host/foo/bar/ref?host=git_hub.com").outPath | ^ error: URL '\''github:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''github:foo/bar'\'' contains an invalid instance host' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''github:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:46) testFetchTreeError '{ type = "github"; owner = "foo"; repo = "bar"; wrong = true; }' 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:8) rawFetchTreeArg='{ type = "github"; owner = "foo"; repo = "bar"; wrong = true; }' +(fetchers.sh:9) messageSubstring='unsupported input attribute '\''wrong'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; wrong = true; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { owner = "foo"; repo = "bar"; type = "github"; wrong = true; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; wrong = true; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "github"; owner = "foo"; repo = "bar"; wrong = true; }).outPath | ^ error: unsupported input attribute '\''wrong'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported input attribute '\''wrong'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:50) testFetchTreeError '"github://host/foo/bar/ref?wrong=1"' 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:8) rawFetchTreeArg='"github://host/foo/bar/ref?wrong=1"' +(fetchers.sh:9) messageSubstring='unsupported input attribute '\''wrong'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "github://host/foo/bar/ref?wrong=1").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "github://host/foo/bar/ref?wrong=1")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "github://host/foo/bar/ref?wrong=1").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "github://host/foo/bar/ref?wrong=1").outPath | ^ error: unsupported input attribute '\''wrong'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported input attribute '\''wrong'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:17) for provider in github gitlab sourcehut +(fetchers.sh:20) testFetchTreeError '{ type = "gitlab"; owner = "foo"; repo = "bar"; ref = ","; }' 'URL '\''gitlab:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:8) rawFetchTreeArg='{ type = "gitlab"; owner = "foo"; repo = "bar"; ref = ","; }' +(fetchers.sh:9) messageSubstring='URL '\''gitlab:foo/bar'\'' contains an invalid branch/tag name' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; ref = ","; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { owner = "foo"; ref = ","; repo = "bar"; type = "gitlab"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; ref = ","; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; ref = ","; }).outPath | ^ error: URL '\''gitlab:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''gitlab:foo/bar'\'' contains an invalid branch/tag name' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''gitlab:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:24) testFetchTreeError '"gitlab://host/foo/bar/,"' 'URL '\''gitlab:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:8) rawFetchTreeArg='"gitlab://host/foo/bar/,"' +(fetchers.sh:9) messageSubstring='URL '\''gitlab:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "gitlab://host/foo/bar/,").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "gitlab://host/foo/bar/,")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "gitlab://host/foo/bar/,").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "gitlab://host/foo/bar/,").outPath | ^ error: in URL '\''gitlab:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''gitlab:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''gitlab:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:28) testFetchTreeError '"gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc"' 'URL '\''gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:8) rawFetchTreeArg='"gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc"' +(fetchers.sh:9) messageSubstring='URL '\''gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath | ^ error: URL '\''gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''gitlab://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:32) testFetchTreeError '"gitlab://host/foo/bar/ref?ref=ref2"' 'URL '\''gitlab://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:8) rawFetchTreeArg='"gitlab://host/foo/bar/ref?ref=ref2"' +(fetchers.sh:9) messageSubstring='URL '\''gitlab://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "gitlab://host/foo/bar/ref?ref=ref2").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "gitlab://host/foo/bar/ref?ref=ref2")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "gitlab://host/foo/bar/ref?ref=ref2").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "gitlab://host/foo/bar/ref?ref=ref2").outPath | ^ error: URL '\''gitlab://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''gitlab://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''gitlab://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:37) testFetchTreeError '{ type = "gitlab"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }' 'URL '\''gitlab:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:8) rawFetchTreeArg='{ type = "gitlab"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }' +(fetchers.sh:9) messageSubstring='URL '\''gitlab:foo/bar'\'' contains an invalid instance host' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { host = "git_hub.com"; owner = "foo"; repo = "bar"; type = "gitlab"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath | ^ error: URL '\''gitlab:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''gitlab:foo/bar'\'' contains an invalid instance host' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''gitlab:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:41) testFetchTreeError '"gitlab://host/foo/bar/ref?host=git_hub.com"' 'URL '\''gitlab:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:8) rawFetchTreeArg='"gitlab://host/foo/bar/ref?host=git_hub.com"' +(fetchers.sh:9) messageSubstring='URL '\''gitlab:foo/bar'\'' contains an invalid instance host' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "gitlab://host/foo/bar/ref?host=git_hub.com").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "gitlab://host/foo/bar/ref?host=git_hub.com")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "gitlab://host/foo/bar/ref?host=git_hub.com").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "gitlab://host/foo/bar/ref?host=git_hub.com").outPath | ^ error: URL '\''gitlab:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''gitlab:foo/bar'\'' contains an invalid instance host' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''gitlab:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:46) testFetchTreeError '{ type = "gitlab"; owner = "foo"; repo = "bar"; wrong = true; }' 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:8) rawFetchTreeArg='{ type = "gitlab"; owner = "foo"; repo = "bar"; wrong = true; }' +(fetchers.sh:9) messageSubstring='unsupported input attribute '\''wrong'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; wrong = true; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { owner = "foo"; repo = "bar"; type = "gitlab"; wrong = true; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; wrong = true; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "gitlab"; owner = "foo"; repo = "bar"; wrong = true; }).outPath | ^ error: unsupported input attribute '\''wrong'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported input attribute '\''wrong'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:50) testFetchTreeError '"gitlab://host/foo/bar/ref?wrong=1"' 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:8) rawFetchTreeArg='"gitlab://host/foo/bar/ref?wrong=1"' +(fetchers.sh:9) messageSubstring='unsupported input attribute '\''wrong'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "gitlab://host/foo/bar/ref?wrong=1").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "gitlab://host/foo/bar/ref?wrong=1")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "gitlab://host/foo/bar/ref?wrong=1").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "gitlab://host/foo/bar/ref?wrong=1").outPath | ^ error: unsupported input attribute '\''wrong'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported input attribute '\''wrong'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:17) for provider in github gitlab sourcehut +(fetchers.sh:20) testFetchTreeError '{ type = "sourcehut"; owner = "foo"; repo = "bar"; ref = ","; }' 'URL '\''sourcehut:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:8) rawFetchTreeArg='{ type = "sourcehut"; owner = "foo"; repo = "bar"; ref = ","; }' +(fetchers.sh:9) messageSubstring='URL '\''sourcehut:foo/bar'\'' contains an invalid branch/tag name' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; ref = ","; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { owner = "foo"; ref = ","; repo = "bar"; type = "sourcehut"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; ref = ","; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; ref = ","; }).outPath | ^ error: URL '\''sourcehut:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''sourcehut:foo/bar'\'' contains an invalid branch/tag name' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''sourcehut:foo/bar'\'' contains an invalid branch/tag name' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:24) testFetchTreeError '"sourcehut://host/foo/bar/,"' 'URL '\''sourcehut:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:8) rawFetchTreeArg='"sourcehut://host/foo/bar/,"' +(fetchers.sh:9) messageSubstring='URL '\''sourcehut:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "sourcehut://host/foo/bar/,").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "sourcehut://host/foo/bar/,")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "sourcehut://host/foo/bar/,").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "sourcehut://host/foo/bar/,").outPath | ^ error: in URL '\''sourcehut:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''sourcehut:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''sourcehut:foo/bar'\'', '\'','\'' is not a commit hash or a branch/tag name' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:28) testFetchTreeError '"sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc"' 'URL '\''sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:8) rawFetchTreeArg='"sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc"' +(fetchers.sh:9) messageSubstring='URL '\''sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc").outPath | ^ error: URL '\''sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''sourcehut://host/foo/bar/f16d8f43dd0998cdb315a2cccf2e4d10027e7ca4?rev=abc'\'' already contains a ref or rev' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:32) testFetchTreeError '"sourcehut://host/foo/bar/ref?ref=ref2"' 'URL '\''sourcehut://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:8) rawFetchTreeArg='"sourcehut://host/foo/bar/ref?ref=ref2"' +(fetchers.sh:9) messageSubstring='URL '\''sourcehut://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "sourcehut://host/foo/bar/ref?ref=ref2").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "sourcehut://host/foo/bar/ref?ref=ref2")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "sourcehut://host/foo/bar/ref?ref=ref2").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "sourcehut://host/foo/bar/ref?ref=ref2").outPath | ^ error: URL '\''sourcehut://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''sourcehut://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''sourcehut://host/foo/bar/ref?ref=ref2'\'' already contains a ref or rev' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:37) testFetchTreeError '{ type = "sourcehut"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }' 'URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:8) rawFetchTreeArg='{ type = "sourcehut"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }' +(fetchers.sh:9) messageSubstring='URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { host = "git_hub.com"; owner = "foo"; repo = "bar"; type = "sourcehut"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; host = "git_hub.com"; }).outPath | ^ error: URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:41) testFetchTreeError '"sourcehut://host/foo/bar/ref?host=git_hub.com"' 'URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:8) rawFetchTreeArg='"sourcehut://host/foo/bar/ref?host=git_hub.com"' +(fetchers.sh:9) messageSubstring='URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "sourcehut://host/foo/bar/ref?host=git_hub.com").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "sourcehut://host/foo/bar/ref?host=git_hub.com")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "sourcehut://host/foo/bar/ref?host=git_hub.com").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "sourcehut://host/foo/bar/ref?host=git_hub.com").outPath | ^ error: URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''sourcehut:foo/bar'\'' contains an invalid instance host' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:46) testFetchTreeError '{ type = "sourcehut"; owner = "foo"; repo = "bar"; wrong = true; }' 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:8) rawFetchTreeArg='{ type = "sourcehut"; owner = "foo"; repo = "bar"; wrong = true; }' +(fetchers.sh:9) messageSubstring='unsupported input attribute '\''wrong'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; wrong = true; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { owner = "foo"; repo = "bar"; type = "sourcehut"; wrong = true; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; wrong = true; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "sourcehut"; owner = "foo"; repo = "bar"; wrong = true; }).outPath | ^ error: unsupported input attribute '\''wrong'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported input attribute '\''wrong'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:50) testFetchTreeError '"sourcehut://host/foo/bar/ref?wrong=1"' 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:8) rawFetchTreeArg='"sourcehut://host/foo/bar/ref?wrong=1"' +(fetchers.sh:9) messageSubstring='unsupported input attribute '\''wrong'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "sourcehut://host/foo/bar/ref?wrong=1").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "sourcehut://host/foo/bar/ref?wrong=1")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "sourcehut://host/foo/bar/ref?wrong=1").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "sourcehut://host/foo/bar/ref?wrong=1").outPath | ^ error: unsupported input attribute '\''wrong'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported input attribute '\''wrong'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported input attribute '\''wrong'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:56) testFetchTreeError '"https://host/foo?wrong=1"' 'unsupported tarball input attribute '\''wrong'\''. If you wanted to fetch a tarball with a query parameter, please use '\''{ type = "tarball"; url = "..."; }' +(fetchers.sh:8) rawFetchTreeArg='"https://host/foo?wrong=1"' +(fetchers.sh:9) messageSubstring='unsupported tarball input attribute '\''wrong'\''. If you wanted to fetch a tarball with a query parameter, please use '\''{ type = "tarball"; url = "..."; }' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "https://host/foo?wrong=1").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "https://host/foo?wrong=1")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "https://host/foo?wrong=1").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "https://host/foo?wrong=1").outPath | ^ error: unsupported tarball input attribute '\''wrong'\''. If you wanted to fetch a tarball with a query parameter, please use '\''{ type = "tarball"; url = "..."; }'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported tarball input attribute '\''wrong'\''. If you wanted to fetch a tarball with a query parameter, please use '\''{ type = "tarball"; url = "..."; }' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported tarball input attribute '\''wrong'\''. If you wanted to fetch a tarball with a query parameter, please use '\''{ type = "tarball"; url = "..."; }' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:61) testFetchTreeError '"git+https://github.com/owner/repo?invalid=1"' 'unsupported Git input attribute '\''invalid'\''' +(fetchers.sh:8) rawFetchTreeArg='"git+https://github.com/owner/repo?invalid=1"' +(fetchers.sh:9) messageSubstring='unsupported Git input attribute '\''invalid'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "git+https://github.com/owner/repo?invalid=1").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "git+https://github.com/owner/repo?invalid=1")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "git+https://github.com/owner/repo?invalid=1").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "git+https://github.com/owner/repo?invalid=1").outPath | ^ error: unsupported Git input attribute '\''invalid'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported Git input attribute '\''invalid'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported Git input attribute '\''invalid'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:65) testFetchTreeError '"git+https://github.com/owner/repo?url=foo"' 'URL '\''git+https://github.com/owner/repo?url=foo'\'' must not override url via query param!' +(fetchers.sh:8) rawFetchTreeArg='"git+https://github.com/owner/repo?url=foo"' +(fetchers.sh:9) messageSubstring='URL '\''git+https://github.com/owner/repo?url=foo'\'' must not override url via query param!' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "git+https://github.com/owner/repo?url=foo").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "git+https://github.com/owner/repo?url=foo")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "git+https://github.com/owner/repo?url=foo").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "git+https://github.com/owner/repo?url=foo").outPath | ^ error: URL '\''git+https://github.com/owner/repo?url=foo'\'' must not override url via query param!' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'URL '\''git+https://github.com/owner/repo?url=foo'\'' must not override url via query param!' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'URL '\''git+https://github.com/owner/repo?url=foo'\'' must not override url via query param!' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:69) testFetchTreeError '"git+https://github.com/owner/repo?ref=foo.lock"' 'invalid Git branch/tag name '\''foo.lock'\''' +(fetchers.sh:8) rawFetchTreeArg='"git+https://github.com/owner/repo?ref=foo.lock"' +(fetchers.sh:9) messageSubstring='invalid Git branch/tag name '\''foo.lock'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "git+https://github.com/owner/repo?ref=foo.lock").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "git+https://github.com/owner/repo?ref=foo.lock")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "git+https://github.com/owner/repo?ref=foo.lock").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "git+https://github.com/owner/repo?ref=foo.lock").outPath | ^ error: invalid Git branch/tag name '\''foo.lock'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'invalid Git branch/tag name '\''foo.lock'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'invalid Git branch/tag name '\''foo.lock'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:73) testFetchTreeError '{ type = "git"; url ="https://github.com/owner/repo"; ref = "foo.lock"; }' 'invalid Git branch/tag name '\''foo.lock'\''' +(fetchers.sh:8) rawFetchTreeArg='{ type = "git"; url ="https://github.com/owner/repo"; ref = "foo.lock"; }' +(fetchers.sh:9) messageSubstring='invalid Git branch/tag name '\''foo.lock'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "git"; url ="https://github.com/owner/repo"; ref = "foo.lock"; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { ref = "foo.lock"; type = "git"; url = "https://github.com/owner/repo"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "git"; url ="https://github.com/owner/repo"; ref = "foo.lock"; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "git"; url ="https://github.com/owner/repo"; ref = "foo.lock"; }).outPath | ^ error: invalid Git branch/tag name '\''foo.lock'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'invalid Git branch/tag name '\''foo.lock'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'invalid Git branch/tag name '\''foo.lock'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:78) testFetchTreeError '"hg+https://forge.tld/owner/repo?invalid=1"' 'unsupported Mercurial input attribute '\''invalid'\''' +(fetchers.sh:8) rawFetchTreeArg='"hg+https://forge.tld/owner/repo?invalid=1"' +(fetchers.sh:9) messageSubstring='unsupported Mercurial input attribute '\''invalid'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "hg+https://forge.tld/owner/repo?invalid=1").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "hg+https://forge.tld/owner/repo?invalid=1")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "hg+https://forge.tld/owner/repo?invalid=1").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "hg+https://forge.tld/owner/repo?invalid=1").outPath | ^ error: unsupported Mercurial input attribute '\''invalid'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported Mercurial input attribute '\''invalid'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported Mercurial input attribute '\''invalid'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:82) testFetchTreeError '{ type = "hg"; url = "https://forge.tld/owner/repo"; invalid = 1; }' 'unsupported Mercurial input attribute '\''invalid'\''' +(fetchers.sh:8) rawFetchTreeArg='{ type = "hg"; url = "https://forge.tld/owner/repo"; invalid = 1; }' +(fetchers.sh:9) messageSubstring='unsupported Mercurial input attribute '\''invalid'\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "hg"; url = "https://forge.tld/owner/repo"; invalid = 1; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { invalid = 1; type = "hg"; url = "https://forge.tld/owner/repo"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "hg"; url = "https://forge.tld/owner/repo"; invalid = 1; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "hg"; url = "https://forge.tld/owner/repo"; invalid = 1; }).outPath | ^ error: unsupported Mercurial input attribute '\''invalid'\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'unsupported Mercurial input attribute '\''invalid'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unsupported Mercurial input attribute '\''invalid'\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:86) testFetchTreeError '"hg+https://forge.tld/owner/repo?ref=,"' 'invalid Mercurial branch/tag name '\'','\''' +(fetchers.sh:8) rawFetchTreeArg='"hg+https://forge.tld/owner/repo?ref=,"' +(fetchers.sh:9) messageSubstring='invalid Mercurial branch/tag name '\'','\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree "hg+https://forge.tld/owner/repo?ref=,").outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree "hg+https://forge.tld/owner/repo?ref=,")'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree "hg+https://forge.tld/owner/repo?ref=,").outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree "hg+https://forge.tld/owner/repo?ref=,").outPath | ^ error: invalid Mercurial branch/tag name '\'','\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'invalid Mercurial branch/tag name '\'','\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'invalid Mercurial branch/tag name '\'','\''' +(fetchers.sh:13) test 1 -ne 0 +(fetchers.sh:90) testFetchTreeError '{ type = "hg"; url = "https://forge.tld/owner/repo"; ref = ","; }' 'invalid Mercurial branch/tag name '\'','\''' +(fetchers.sh:8) rawFetchTreeArg='{ type = "hg"; url = "https://forge.tld/owner/repo"; ref = ","; }' +(fetchers.sh:9) messageSubstring='invalid Mercurial branch/tag name '\'','\''' ++(fetchers.sh:11) nix eval --impure --raw --expr '(builtins.fetchTree { type = "hg"; url = "https://forge.tld/owner/repo"; ref = ","; }).outPath' +(fetchers.sh:11) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while evaluating '\''((builtins).fetchTree { ref = ","; type = "hg"; url = "https://forge.tld/owner/repo"; })'\'' to select '\''outPath'\'' on it at «string»:1:1: 1| (builtins.fetchTree { type = "hg"; url = "https://forge.tld/owner/repo"; ref = ","; }).outPath | ^ … while calling the '\''fetchTree'\'' builtin at «string»:1:2: 1| (builtins.fetchTree { type = "hg"; url = "https://forge.tld/owner/repo"; ref = ","; }).outPath | ^ error: invalid Mercurial branch/tag name '\'','\''' +(fetchers.sh:11) status=1 +(fetchers.sh:12) grepQuiet 'invalid Mercurial branch/tag name '\'','\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'invalid Mercurial branch/tag name '\'','\''' +(fetchers.sh:13) test 1 -ne 0 ============================================================================== =================================== 67/161 =================================== test: lix:installcheck / functional-fetchTree-file start time: 20:57:46 duration: 0.44s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=51 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchTree-file.sh ----------------------------------- stdout ----------------------------------- clearing store... { narHash = "sha256-QvtAMbUl/uvi+LCObmqOhvNOapHdA2raiI4xG5zI5pA="; outPath = "/build/nix-test/fetchTree-file/store/30vmrp2pys7c08mzxq2fklv1pm7d5n36-source"; } /build/nix-test/fetchTree-file/testFlake /build/nix-test/fetchTree-file true /build/nix-test/fetchTree-file [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchTree-file +(init.sh:7) test -d /build/nix-test/fetchTree-file +(init.sh:8) chmod -R u+w /build/nix-test/fetchTree-file +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchTree-file +(init.sh:13) mkdir /build/nix-test/fetchTree-file +(init.sh:15) mkdir /build/nix-test/fetchTree-file/store +(init.sh:16) mkdir /build/nix-test/fetchTree-file/var +(init.sh:17) mkdir -p /build/nix-test/fetchTree-file/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchTree-file/var/nix +(init.sh:19) mkdir /build/nix-test/fetchTree-file/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchTree-file/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fetchTree-file.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fetchTree-file/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fetchTree-file/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fetchTree-file/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fetchTree-file/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fetchTree-file/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fetchTree-file/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fetchTree-file/test-home/.local/state/nix/profiles +(fetchTree-file.sh:5) cd /build/nix-test/fetchTree-file +(fetchTree-file.sh:116) test_fetch_file +(fetchTree-file.sh:8) echo foo ++(fetchTree-file.sh:10) nix hash path test_input warning: you don't have Internet access; disabling some network-dependent features +(fetchTree-file.sh:10) input_hash=sha256-QvtAMbUl/uvi+LCObmqOhvNOapHdA2raiI4xG5zI5pA= +(fetchTree-file.sh:12) nix eval --impure --file - warning: you don't have Internet access; disabling some network-dependent features fetching file input 'file:///build/nix-test/fetchTree-file/test_input' +(fetchTree-file.sh:117) test_file_flake_input +(fetchTree-file.sh:24) rm -fr /build/nix-test/fetchTree-file/testFlake +(fetchTree-file.sh:25) mkdir /build/nix-test/fetchTree-file/testFlake +(fetchTree-file.sh:26) pushd testFlake +(fetchTree-file.sh:28) mkdir inputs +(fetchTree-file.sh:29) echo foo +(fetchTree-file.sh:30) echo '{ outputs = { self }: { }; }' +(fetchTree-file.sh:31) tar cfa test_input.tar.gz inputs +(fetchTree-file.sh:32) cp test_input.tar.gz test_input_no_ext ++(fetchTree-file.sh:33) nix hash path test_input.tar.gz warning: you don't have Internet access; disabling some network-dependent features +(fetchTree-file.sh:33) input_tarball_hash=sha256-xTC+esXLA5BvLoqUAbqq9KvtAOAaSjUv2oPsy2P3iio= ++(fetchTree-file.sh:34) nix hash path inputs warning: you don't have Internet access; disabling some network-dependent features +(fetchTree-file.sh:34) input_directory_hash=sha256-jxhFTljWE9IX8TdOKNYbAYxYf97PVdTzus7Mwu11OQg= +(fetchTree-file.sh:36) cat +(fetchTree-file.sh:61) nix flake update warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/fetchTree-file/testFlake' fetching tarball input 'file:///build/nix-test/fetchTree-file/testFlake/test_input_no_ext' fetching file input 'file:///build/nix-test/fetchTree-file/testFlake/test_input_no_ext' fetching tarball input 'file:///build/nix-test/fetchTree-file/testFlake/test_input.tar.gz' fetching file input 'file:///build/nix-test/fetchTree-file/testFlake/test_input.tar.gz' warning: creating lock file '/build/nix-test/fetchTree-file/testFlake/flake.lock': • Added input 'flake_no_ext': 'file:///build/nix-test/fetchTree-file/testFlake/test_input_no_ext?narHash=sha256-jxhFTljWE9IX8TdOKNYbAYxYf97PVdTzus7Mwu11OQg%3D' (2024-09-09) • Added input 'no_ext_default_no_unpack': 'file:///build/nix-test/fetchTree-file/testFlake/test_input_no_ext?narHash=sha256-xTC%2BesXLA5BvLoqUAbqq9KvtAOAaSjUv2oPsy2P3iio%3D' • Added input 'no_ext_explicit_unpack': 'file:///build/nix-test/fetchTree-file/testFlake/test_input_no_ext?narHash=sha256-jxhFTljWE9IX8TdOKNYbAYxYf97PVdTzus7Mwu11OQg%3D' (2024-09-09) • Added input 'tarball_default_unpack': 'file:///build/nix-test/fetchTree-file/testFlake/test_input.tar.gz?narHash=sha256-jxhFTljWE9IX8TdOKNYbAYxYf97PVdTzus7Mwu11OQg%3D' (2024-09-09) • Added input 'tarball_explicit_no_unpack': 'file:///build/nix-test/fetchTree-file/testFlake/test_input.tar.gz?narHash=sha256-xTC%2BesXLA5BvLoqUAbqq9KvtAOAaSjUv2oPsy2P3iio%3D' fetching path input 'path:/build/nix-test/fetchTree-file/testFlake' +(fetchTree-file.sh:62) nix eval --file - warning: you don't have Internet access; disabling some network-dependent features ++(fetchTree-file.sh:90) nix flake metadata --json file:///build/nix-test/fetchTree-file/testFlake/test_input_no_ext ++(fetchTree-file.sh:90) jq -r .resolved.type warning: you don't have Internet access; disabling some network-dependent features fetching tarball input 'file:///build/nix-test/fetchTree-file/testFlake/test_input_no_ext' +(fetchTree-file.sh:90) [[ tarball = tarball ]] +(fetchTree-file.sh:92) popd +(fetchTree-file.sh:94) [[ -z '' ]] +(fetchTree-file.sh:94) return 0 ============================================================================== =================================== 68/161 =================================== test: lix:installcheck / functional-lang start time: 20:57:37 duration: 10.43s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=162 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py lang.sh ----------------------------------- stdout ----------------------------------- 123 parsing lang/parse-fail-dup-attrs-1.nix (should fail) parsing lang/parse-fail-dup-attrs-2.nix (should fail) parsing lang/parse-fail-dup-attrs-3.nix (should fail) parsing lang/parse-fail-dup-attrs-4.nix (should fail) parsing lang/parse-fail-dup-attrs-7.nix (should fail) parsing lang/parse-fail-dup-formals.nix (should fail) parsing lang/parse-fail-eof-in-string.nix (should fail) parsing lang/parse-fail-eof-pos.nix (should fail) parsing lang/parse-fail-eol-1.nix (should fail) parsing lang/parse-fail-eol-2.nix (should fail) parsing lang/parse-fail-eol-3.nix (should fail) parsing lang/parse-fail-mixed-nested-attrs1.nix (should fail) parsing lang/parse-fail-mixed-nested-attrs2.nix (should fail) parsing lang/parse-fail-path-slash.nix (should fail) parsing lang/parse-fail-patterns-1.nix (should fail) parsing lang/parse-fail-regression-20060610.nix (should fail) parsing lang/parse-fail-set.nix (should fail) parsing lang/parse-fail-undef-var-2.nix (should fail) parsing lang/parse-fail-undef-var.nix (should fail) parsing lang/parse-fail-utf8.nix (should fail) parsing lang/parse-okay-1.nix (should succeed) ({ x, y, z }: ((x + y) + z)) parsing lang/parse-okay-crlf.nix (should succeed) rec { foo = "multi\nline\n string\n test\r"; x = y; y = 123; z = 456; } parsing lang/parse-okay-dup-attrs-5.nix (should succeed) { services = { ssh = { enable = true; port = 23; }; }; } parsing lang/parse-okay-dup-attrs-6.nix (should succeed) { services = { ssh = { enable = true; port = 23; }; }; } parsing lang/parse-okay-inherits.nix (should succeed) (let b = 2; c = { }; in { inherit b; inherit (c) d e; a = 1; f = 3; }) parsing lang/parse-okay-mixed-nested-attrs-1.nix (should succeed) { x = { q = 3; y = 3; z = 3; }; } parsing lang/parse-okay-mixed-nested-attrs-2.nix (should succeed) { x = { q = 3; y = 3; z = 3; }; } parsing lang/parse-okay-mixed-nested-attrs-3.nix (should succeed) { services = { httpd = { enable = true; }; ssh = { enable = true; port = 123; }; }; } parsing lang/parse-okay-regression-20041027.nix (should succeed) ({ fetchurl, stdenv }: ((stdenv).mkDerivation { name = "libXi-6.0.1"; src = (fetchurl { md5 = "7e935a42428d63a387b3c048be0f2756"; url = "http://freedesktop.org/~xlibs/release/libXi-6.0.1.tar.bz2"; }); })) parsing lang/parse-okay-regression-751.nix (should succeed) (let const = (a: "const"); in ((const { x = "q"; }))) parsing lang/parse-okay-subversion.nix (should succeed) ({ db4 ? null, expat, fetchurl, httpServer ? false, httpd ? null, j2sdk ? null, javaSwigBindings ? false, javahlBindings ? false, localServer ? false, openssl ? null, pythonBindings ? false, sslSupport ? false, stdenv, swig ? null }: assert (expat != null); assert (localServer -> (db4 != null)); assert (httpServer -> ((httpd != null) && ((httpd).expat == expat))); assert (sslSupport -> ((openssl != null) && (httpServer -> ((httpd).openssl == openssl)))); assert (pythonBindings -> ((swig != null) && (swig).pythonSupport)); assert (javaSwigBindings -> ((swig != null) && (swig).javaSupport)); assert (javahlBindings -> (j2sdk != null)); ((stdenv).mkDerivation { inherit expat httpServer javaSwigBindings javahlBindings localServer pythonBindings sslSupport; builder = /foo/bar; db4 = (if localServer then db4 else null); httpd = (if httpServer then httpd else null); j2sdk = (if javaSwigBindings then (swig).j2sdk else (if javahlBindings then j2sdk else null)); name = "subversion-1.1.1"; openssl = (if sslSupport then openssl else null); patches = (if javahlBindings then [ (/javahl.patch) ] else [ ]); python = (if pythonBindings then (swig).python else null); src = (fetchurl { md5 = "a180c3fe91680389c210c99def54d9e0"; url = "http://subversion.tigris.org/tarballs/subversion-1.1.1.tar.bz2"; }); swig = (if (pythonBindings || javaSwigBindings) then swig else null); })) parsing lang/parse-okay-url.nix (should succeed) [ ("x:x") ("https://svn.cs.uu.nl:12443/repos/trace/trunk") ("http://www2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2") ("http://losser.st-lab.cs.uu.nl/~armijn/.nix/gcc-3.3.4-static-nix.tar.gz") ("http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/7.0r25/install_flash_player_7_linux.tar.gz") ("https://ftp5.gwdg.de/pub/linux/archlinux/extra/os/x86_64/unzip-6.0-14-x86_64.pkg.tar.zst") ("ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz") ] evaluating lang/eval-fail-abort.nix (should fail) evaluating lang/eval-fail-addDrvOutputDependencies-empty-context.nix (should fail) evaluating lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix (should fail) evaluating lang/eval-fail-addDrvOutputDependencies-wrong-element-kind.nix (should fail) evaluating lang/eval-fail-assert.nix (should fail) evaluating lang/eval-fail-attr-name-type.nix (should fail) evaluating lang/eval-fail-bad-string-interpolation-1.nix (should fail) evaluating lang/eval-fail-bad-string-interpolation-2.nix (should fail) evaluating lang/eval-fail-bad-string-interpolation-3.nix (should fail) evaluating lang/eval-fail-bad-string-interpolation-4.nix (should fail) evaluating lang/eval-fail-blackhole.nix (should fail) evaluating lang/eval-fail-call-primop.nix (should fail) evaluating lang/eval-fail-deepseq.nix (should fail) evaluating lang/eval-fail-dup-dynamic-attrs.nix (should fail) evaluating lang/eval-fail-dupAttr-deep.nix (should fail) evaluating lang/eval-fail-dupAttr-inherit.nix (should fail) evaluating lang/eval-fail-dupAttr.nix (should fail) evaluating lang/eval-fail-duplicate-traces.nix (should fail) evaluating lang/eval-fail-fetchTree-negative.nix (should fail) evaluating lang/eval-fail-flake-ref-to-string-negative-integer.nix (should fail) evaluating lang/eval-fail-foldlStrict-strict-op-application.nix (should fail) evaluating lang/eval-fail-fromJSON-overflowing.nix (should fail) evaluating lang/eval-fail-fromTOML-timestamps.nix (should fail) evaluating lang/eval-fail-hashfile-missing.nix (should fail) evaluating lang/eval-fail-infinite-recursion-lambda.nix (should fail) evaluating lang/eval-fail-list.nix (should fail) evaluating lang/eval-fail-missing-arg.nix (should fail) evaluating lang/eval-fail-mutual-recursion.nix (should fail) evaluating lang/eval-fail-nonexist-path.nix (should fail) evaluating lang/eval-fail-not-throws.nix (should fail) evaluating lang/eval-fail-overflowing-add.nix (should fail) evaluating lang/eval-fail-overflowing-div.nix (should fail) evaluating lang/eval-fail-overflowing-mul.nix (should fail) evaluating lang/eval-fail-overflowing-sub.nix (should fail) evaluating lang/eval-fail-print-limit-list.nix (should fail) evaluating lang/eval-fail-print-limit-set.nix (should fail) evaluating lang/eval-fail-recursion.nix (should fail) evaluating lang/eval-fail-remove.nix (should fail) evaluating lang/eval-fail-scope-5.nix (should fail) evaluating lang/eval-fail-select-err.nix (should fail) evaluating lang/eval-fail-seq.nix (should fail) evaluating lang/eval-fail-set-override.nix (should fail) evaluating lang/eval-fail-substring.nix (should fail) evaluating lang/eval-fail-to-path.nix (should fail) evaluating lang/eval-fail-toJSON.nix (should fail) evaluating lang/eval-fail-undeclared-arg.nix (should fail) evaluating lang/eval-fail-using-set-as-attr-name.nix (should fail) evaluating lang/eval-okay-any-all.nix (should succeed) evaluating lang/eval-okay-arithmetic.nix (should succeed) evaluating lang/eval-okay-attrnames.nix (should succeed) evaluating lang/eval-okay-attrs.nix (should succeed) evaluating lang/eval-okay-attrs2.nix (should succeed) evaluating lang/eval-okay-attrs3.nix (should succeed) evaluating lang/eval-okay-attrs4.nix (should succeed) evaluating lang/eval-okay-attrs5.nix (should succeed) evaluating lang/eval-okay-attrs6.nix (should succeed) evaluating lang/eval-okay-autoargs.nix (should succeed) evaluating lang/eval-okay-backslash-newline-1.nix (should succeed) evaluating lang/eval-okay-backslash-newline-2.nix (should succeed) evaluating lang/eval-okay-builtins-add.nix (should succeed) evaluating lang/eval-okay-builtins.nix (should succeed) evaluating lang/eval-okay-callable-attrs.nix (should succeed) evaluating lang/eval-okay-catattrs.nix (should succeed) evaluating lang/eval-okay-closure.nix (should succeed) evaluating lang/eval-okay-comments.nix (should succeed) evaluating lang/eval-okay-concat.nix (should succeed) evaluating lang/eval-okay-concatmap.nix (should succeed) evaluating lang/eval-okay-concatstringssep.nix (should succeed) evaluating lang/eval-okay-context-introspection.nix (should succeed) evaluating lang/eval-okay-context.nix (should succeed) evaluating lang/eval-okay-curpos.nix (should succeed) evaluating lang/eval-okay-deepseq.nix (should succeed) evaluating lang/eval-okay-delayed-with-inherit.nix (should succeed) evaluating lang/eval-okay-delayed-with.nix (should succeed) evaluating lang/eval-okay-derivation-legacy.nix (should succeed) evaluating lang/eval-okay-dynamic-attrs-2.nix (should succeed) evaluating lang/eval-okay-dynamic-attrs-bare.nix (should succeed) evaluating lang/eval-okay-dynamic-attrs.nix (should succeed) evaluating lang/eval-okay-elem.nix (should succeed) evaluating lang/eval-okay-empty-args.nix (should succeed) evaluating lang/eval-okay-eq-derivations.nix (should succeed) evaluating lang/eval-okay-eq.nix (should succeed) evaluating lang/eval-okay-filter.nix (should succeed) evaluating lang/eval-okay-flake-ref-to-string.nix (should succeed) evaluating lang/eval-okay-flatten.nix (should succeed) evaluating lang/eval-okay-float.nix (should succeed) evaluating lang/eval-okay-floor-ceil.nix (should succeed) evaluating lang/eval-okay-foldlStrict-lazy-elements.nix (should succeed) evaluating lang/eval-okay-foldlStrict-lazy-initial-accumulator.nix (should succeed) evaluating lang/eval-okay-foldlStrict.nix (should succeed) evaluating lang/eval-okay-fromTOML-timestamps.nix (should succeed) evaluating lang/eval-okay-fromTOML.nix (should succeed) evaluating lang/eval-okay-fromjson-escapes.nix (should succeed) evaluating lang/eval-okay-fromjson.nix (should succeed) evaluating lang/eval-okay-functionargs.nix (should succeed) evaluating lang/eval-okay-getattrpos-functionargs.nix (should succeed) evaluating lang/eval-okay-getattrpos-undefined.nix (should succeed) evaluating lang/eval-okay-getattrpos.nix (should succeed) evaluating lang/eval-okay-getenv.nix (should succeed) evaluating lang/eval-okay-groupBy.nix (should succeed) evaluating lang/eval-okay-hashfile.nix (should succeed) evaluating lang/eval-okay-hashstring.nix (should succeed) evaluating lang/eval-okay-if.nix (should succeed) evaluating lang/eval-okay-import.nix (should succeed) evaluating lang/eval-okay-ind-string.nix (should succeed) evaluating lang/eval-okay-inherit-attr-pos.nix (should succeed) evaluating lang/eval-okay-inherit-from.nix (should succeed) evaluating lang/eval-okay-intersectAttrs.nix (should succeed) evaluating lang/eval-okay-let.nix (should succeed) evaluating lang/eval-okay-list.nix (should succeed) evaluating lang/eval-okay-listtoattrs.nix (should succeed) evaluating lang/eval-okay-logic.nix (should succeed) evaluating lang/eval-okay-map.nix (should succeed) evaluating lang/eval-okay-mapattrs.nix (should succeed) evaluating lang/eval-okay-merge-dynamic-attrs.nix (should succeed) evaluating lang/eval-okay-nested-with.nix (should succeed) evaluating lang/eval-okay-new-let.nix (should succeed) evaluating lang/eval-okay-null-dynamic-attrs.nix (should succeed) evaluating lang/eval-okay-overrides.nix (should succeed) evaluating lang/eval-okay-parse-flake-ref.nix (should succeed) evaluating lang/eval-okay-partition.nix (should succeed) evaluating lang/eval-okay-path-string-interpolation.nix (should succeed) evaluating lang/eval-okay-path.nix (should succeed) evaluating lang/eval-okay-pathexists.nix (should succeed) evaluating lang/eval-okay-patterns.nix (should succeed) evaluating lang/eval-okay-print.nix (should succeed) evaluating lang/eval-okay-readDir.nix (should succeed) evaluating lang/eval-okay-readFileType.nix (should succeed) evaluating lang/eval-okay-readfile.nix (should succeed) evaluating lang/eval-okay-redefine-builtin.nix (should succeed) evaluating lang/eval-okay-regex-match.nix (should succeed) evaluating lang/eval-okay-regex-split.nix (should succeed) evaluating lang/eval-okay-regression-20220122.nix (should succeed) evaluating lang/eval-okay-regression-20220125.nix (should succeed) evaluating lang/eval-okay-remove.nix (should succeed) evaluating lang/eval-okay-repeated-empty-attrs.nix (should succeed) evaluating lang/eval-okay-repeated-empty-list.nix (should succeed) evaluating lang/eval-okay-replacestrings.nix (should succeed) evaluating lang/eval-okay-scope-1.nix (should succeed) evaluating lang/eval-okay-scope-2.nix (should succeed) evaluating lang/eval-okay-scope-3.nix (should succeed) evaluating lang/eval-okay-scope-4.nix (should succeed) evaluating lang/eval-okay-scope-6.nix (should succeed) evaluating lang/eval-okay-scope-7.nix (should succeed) evaluating lang/eval-okay-search-path.nix (should succeed) evaluating lang/eval-okay-seq.nix (should succeed) evaluating lang/eval-okay-sort.nix (should succeed) evaluating lang/eval-okay-splitversion.nix (should succeed) evaluating lang/eval-okay-string.nix (should succeed) evaluating lang/eval-okay-strings-as-attrs-names.nix (should succeed) evaluating lang/eval-okay-substring-context.nix (should succeed) evaluating lang/eval-okay-substring.nix (should succeed) evaluating lang/eval-okay-symlink-resolution.nix (should succeed) evaluating lang/eval-okay-tail-call-1.nix (should succeed) evaluating lang/eval-okay-tojson.nix (should succeed) evaluating lang/eval-okay-toxml.nix (should succeed) evaluating lang/eval-okay-toxml2.nix (should succeed) evaluating lang/eval-okay-tryeval.nix (should succeed) evaluating lang/eval-okay-types.nix (should succeed) evaluating lang/eval-okay-unsafeGetAttrPos.nix (should succeed) evaluating lang/eval-okay-versions.nix (should succeed) evaluating lang/eval-okay-with.nix (should succeed) evaluating lang/eval-okay-xml.nix (should succeed) evaluating lang/eval-okay-zipAttrsWith.nix (should succeed) [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/lang +(init.sh:7) test -d /build/nix-test/lang +(init.sh:8) chmod -R u+w /build/nix-test/lang +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/lang +(init.sh:13) mkdir /build/nix-test/lang +(init.sh:15) mkdir /build/nix-test/lang/store +(init.sh:16) mkdir /build/nix-test/lang/var +(init.sh:17) mkdir -p /build/nix-test/lang/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/lang/var/nix +(init.sh:19) mkdir /build/nix-test/lang/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/lang/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(lang.sh:5) set -o pipefail +(lang.sh:7) source lang/framework.sh +(lang.sh:17) export TEST_VAR=foo +(lang.sh:17) TEST_VAR=foo +(lang.sh:18) export NIX_REMOTE=dummy:// +(lang.sh:18) NIX_REMOTE=dummy:// +(lang.sh:19) export NIX_STORE_DIR=/nix/store +(lang.sh:19) NIX_STORE_DIR=/nix/store +(lang.sh:21) nix-instantiate --eval -E 'builtins.trace "Hello" 123' +(lang.sh:21) grepQuiet Hello +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep Hello +(lang.sh:22) nix-instantiate --eval -E 'builtins.trace "Hello" 123' +(lang.sh:22) grepQuiet 123 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 123 +(lang.sh:23) nix-instantiate --eval -E 'builtins.addErrorContext "Hello" 123' +(lang.sh:24) nix-instantiate --trace-verbose --eval -E 'builtins.traceVerbose "Hello" 123' +(lang.sh:24) grepQuiet Hello +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep Hello +(lang.sh:25) nix-instantiate --eval -E 'builtins.traceVerbose "Hello" 123' +(lang.sh:25) grepQuietInverse Hello +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep Hello +(lang.sh:26) nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello" 123' +(lang.sh:26) grepQuietInverse Hello +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep Hello +(lang.sh:27) expectStderr 1 nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello" (throw "Foo")' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(lang.sh:27) grepQuiet Hello +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello" (throw "Foo")' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep Hello +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(lang.sh:28) expectStderr 1 nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello %" (throw "Foo")' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello %" (throw "Foo")' +(lang.sh:28) grepQuiet 'Hello %' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'Hello %' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(lang.sh:30) nix-instantiate --eval -E 'let x = builtins.trace { x = x; } true; in x' +(lang.sh:31) grepQuiet -E 'trace: { x = «potential infinite recursion»; }' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'trace: { x = «potential infinite recursion»; }' +(lang.sh:33) nix-instantiate --eval -E 'let x = { repeating = x; tracing = builtins.trace x true; }; in x.tracing' +(lang.sh:34) grepQuiet -F 'trace: { repeating = «repeated»; tracing = «potential infinite recursion»; }' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -F 'trace: { repeating = «repeated»; tracing = «potential infinite recursion»; }' +(lang.sh:36) set +x ============================================================================== =================================== 69/161 =================================== test: lix:installcheck / functional-referrers start time: 20:57:47 duration: 0.65s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=255 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py referrers.sh ----------------------------------- stdout ----------------------------------- clearing store... making registration... registering... collecting garbage... 500 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/referrers +(init.sh:7) test -d /build/nix-test/referrers +(init.sh:8) chmod -R u+w /build/nix-test/referrers +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/referrers +(init.sh:13) mkdir /build/nix-test/referrers +(init.sh:15) mkdir /build/nix-test/referrers/store +(init.sh:16) mkdir /build/nix-test/referrers/var +(init.sh:17) mkdir -p /build/nix-test/referrers/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/referrers/var/nix +(init.sh:19) mkdir /build/nix-test/referrers/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/referrers/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(referrers.sh:3) needLocalStore 'uses some low-level store manipulations that aren’t available through the daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(referrers.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/referrers/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/referrers/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/referrers/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/referrers/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/referrers/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/referrers/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/referrers/test-home/.local/state/nix/profiles +(referrers.sh:7) max=500 +(referrers.sh:9) reference=/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla +(referrers.sh:10) touch /build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla +(referrers.sh:11) echo /build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla +(referrers.sh:11) echo +(referrers.sh:11) echo 0 +(referrers.sh:11) nix-store --register-validity +(referrers.sh:13) echo 'making registration...' +(referrers.sh:15) set +x +(referrers.sh:27) echo registering... +(referrers.sh:29) nix-store --register-validity +(referrers.sh:31) echo 'collecting garbage...' +(referrers.sh:32) ln -sfn /build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla /build/nix-test/referrers/var/nix/gcroots/ref +(referrers.sh:33) nix-store --gc finding garbage collector roots... deleting garbage... deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-0' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-1' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-2' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-3' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-4' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-5' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-6' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-7' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-8' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-9' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-11' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-12' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-13' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-14' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-15' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-16' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-17' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-18' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-19' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-20' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-21' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-22' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-23' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-24' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-25' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-26' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-27' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-28' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-29' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-30' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-31' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-32' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-33' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-34' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-35' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-36' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-37' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-38' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-39' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-40' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-41' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-42' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-43' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-44' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-45' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-46' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-47' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-48' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-49' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-50' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-51' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-52' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-53' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-54' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-55' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-56' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-57' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-58' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-59' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-60' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-61' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-62' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-63' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-64' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-65' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-66' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-67' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-68' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-69' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-70' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-71' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-72' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-73' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-74' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-75' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-76' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-77' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-78' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-79' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-80' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-81' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-82' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-83' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-84' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-85' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-86' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-87' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-88' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-89' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-90' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-91' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-92' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-93' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-94' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-95' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-96' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-97' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-98' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-99' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-100' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-101' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-102' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-103' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-104' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-105' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-106' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-107' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-108' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-109' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-110' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-111' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-112' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-113' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-114' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-115' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-116' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-117' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-118' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-119' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-120' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-121' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-122' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-123' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-124' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-125' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-126' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-127' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-128' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-129' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-130' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-131' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-132' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-133' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-134' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-135' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-136' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-137' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-138' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-139' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-140' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-141' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-142' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-143' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-144' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-145' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-146' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-147' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-148' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-149' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-150' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-151' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-152' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-153' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-154' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-155' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-156' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-157' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-158' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-159' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-160' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-161' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-162' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-163' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-164' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-165' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-166' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-167' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-168' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-169' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-170' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-171' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-172' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-173' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-174' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-175' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-176' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-177' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-178' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-179' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-180' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-181' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-182' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-183' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-184' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-185' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-186' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-187' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-188' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-189' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-190' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-191' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-192' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-193' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-194' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-195' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-196' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-197' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-198' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-199' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-200' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-201' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-202' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-203' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-204' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-205' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-206' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-207' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-208' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-209' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-210' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-211' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-212' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-213' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-214' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-215' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-216' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-217' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-218' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-219' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-220' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-221' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-222' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-223' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-224' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-225' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-226' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-227' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-228' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-229' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-230' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-231' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-232' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-233' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-234' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-235' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-236' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-237' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-238' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-239' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-240' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-241' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-242' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-243' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-244' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-245' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-246' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-247' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-248' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-249' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-250' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-251' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-252' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-253' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-254' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-255' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-256' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-257' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-258' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-259' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-260' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-261' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-262' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-263' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-264' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-265' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-266' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-267' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-268' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-269' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-270' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-271' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-272' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-273' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-274' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-275' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-276' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-277' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-278' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-279' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-280' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-281' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-282' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-283' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-284' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-285' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-286' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-287' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-288' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-289' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-290' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-291' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-292' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-293' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-294' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-295' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-296' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-297' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-298' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-299' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-300' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-301' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-302' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-303' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-304' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-305' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-306' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-307' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-308' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-309' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-310' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-311' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-312' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-313' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-314' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-315' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-316' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-317' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-318' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-319' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-320' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-321' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-322' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-323' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-324' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-325' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-326' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-327' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-328' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-329' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-330' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-331' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-332' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-333' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-334' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-335' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-336' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-337' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-338' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-339' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-340' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-341' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-342' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-343' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-344' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-345' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-346' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-347' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-348' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-349' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-350' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-351' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-352' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-353' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-354' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-355' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-356' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-357' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-358' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-359' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-360' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-361' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-362' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-363' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-364' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-365' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-366' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-367' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-368' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-369' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-370' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-371' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-372' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-373' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-374' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-375' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-376' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-377' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-378' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-379' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-380' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-381' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-382' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-383' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-384' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-385' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-386' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-387' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-388' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-389' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-390' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-391' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-392' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-393' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-394' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-395' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-396' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-397' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-398' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-399' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-400' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-401' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-402' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-403' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-404' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-405' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-406' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-407' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-408' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-409' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-410' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-411' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-412' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-413' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-414' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-415' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-416' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-417' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-418' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-419' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-420' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-421' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-422' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-423' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-424' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-425' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-426' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-427' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-428' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-429' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-430' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-431' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-432' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-433' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-434' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-435' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-436' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-437' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-438' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-439' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-440' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-441' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-442' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-443' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-444' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-445' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-446' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-447' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-448' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-449' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-450' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-451' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-452' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-453' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-454' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-455' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-456' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-457' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-458' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-459' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-460' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-461' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-462' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-463' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-464' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-465' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-466' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-467' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-468' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-469' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-470' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-471' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-472' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-473' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-474' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-475' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-476' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-477' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-478' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-479' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-480' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-481' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-482' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-483' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-484' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-485' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-486' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-487' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-488' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-489' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-490' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-491' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-492' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-493' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-494' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-495' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-496' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-497' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-498' deleting '/build/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-499' deleting unused links... note: currently hard linking saves 0.00 MiB ++(referrers.sh:35) type -p sqlite3 ++(referrers.sh:35) sqlite3 /build/nix-test/referrers/var/nix/db/db.sqlite 'select count(*) from Refs' referrers.sh: line 35: sqlite3: command not found +(referrers.sh:35) '[' -n '' -a '' -ne 0 ']' referrers.sh: line 35: [: : integer expression expected ============================================================================== =================================== 70/161 =================================== test: lix:installcheck / functional-simple start time: 20:57:47 duration: 1.04s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=35 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py simple.sh ----------------------------------- stdout ----------------------------------- derivation is /build/nix-test/simple/store/mdzm0imga3yw0i3asnjsdsszg3xjswhz-simple.drv output path is /build/nix-test/simple/store/zh6ilifiycwflm3wdxycs6hvkg0pdddc-simple 1 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/simple +(init.sh:7) test -d /build/nix-test/simple +(init.sh:8) chmod -R u+w /build/nix-test/simple +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/simple +(init.sh:13) mkdir /build/nix-test/simple +(init.sh:15) mkdir /build/nix-test/simple/store +(init.sh:16) mkdir /build/nix-test/simple/var +(init.sh:17) mkdir -p /build/nix-test/simple/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/simple/var/nix +(init.sh:19) mkdir /build/nix-test/simple/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/simple/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(simple.sh:3) nix-instantiate simple.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(simple.sh:3) drvPath=/build/nix-test/simple/store/mdzm0imga3yw0i3asnjsdsszg3xjswhz-simple.drv ++(simple.sh:5) nix-store -q --binding system /build/nix-test/simple/store/mdzm0imga3yw0i3asnjsdsszg3xjswhz-simple.drv +(simple.sh:5) test x86_64-linux = x86_64-linux +(simple.sh:7) echo 'derivation is /build/nix-test/simple/store/mdzm0imga3yw0i3asnjsdsszg3xjswhz-simple.drv' ++(simple.sh:9) nix-store -rvv /build/nix-test/simple/store/mdzm0imga3yw0i3asnjsdsszg3xjswhz-simple.drv this derivation will be built: /build/nix-test/simple/store/mdzm0imga3yw0i3asnjsdsszg3xjswhz-simple.drv executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/simple/store/556sww5a042i0n86c4y7g9z59hd4dqhb-simple.builder.sh' building '/build/nix-test/simple/store/mdzm0imga3yw0i3asnjsdsszg3xjswhz-simple.drv'... PATH= warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(simple.sh:9) outPath=/build/nix-test/simple/store/zh6ilifiycwflm3wdxycs6hvkg0pdddc-simple +(simple.sh:11) echo 'output path is /build/nix-test/simple/store/zh6ilifiycwflm3wdxycs6hvkg0pdddc-simple' +(simple.sh:13) '[' -w /build/nix-test/simple/store/zh6ilifiycwflm3wdxycs6hvkg0pdddc-simple ']' ++(simple.sh:15) cat /build/nix-test/simple/store/zh6ilifiycwflm3wdxycs6hvkg0pdddc-simple/hello +(simple.sh:15) text='Hello World!' +(simple.sh:16) test 'Hello World!' '!=' 'Hello World!' +(simple.sh:20) nix-store --delete /build/nix-test/simple/store/zh6ilifiycwflm3wdxycs6hvkg0pdddc-simple finding garbage collector roots... deleting '/build/nix-test/simple/store/zh6ilifiycwflm3wdxycs6hvkg0pdddc-simple' deleting unused links... note: currently hard linking saves 0.00 MiB +(simple.sh:21) '[' -e /build/nix-test/simple/store/zh6ilifiycwflm3wdxycs6hvkg0pdddc-simple/hello ']' ++(simple.sh:23) NIX_REMOTE='local?store=/foo&real=/build/nix-test/simple/real-store' ++(simple.sh:23) nix-instantiate --readonly-mode hash-check.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(simple.sh:23) outPath=/foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv +(simple.sh:24) test /foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv '!=' /foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv ++(simple.sh:29) NIX_REMOTE='local?store=/foo&real=/build/nix-test/simple/real-store' ++(simple.sh:29) nix-instantiate --readonly-mode big-derivation-attr.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(simple.sh:29) outPath=/foo/xxiwa5zlaajv6xdjynf9yym9g319d6mn-big-derivation-attr.drv +(simple.sh:30) test /foo/xxiwa5zlaajv6xdjynf9yym9g319d6mn-big-derivation-attr.drv '!=' /foo/xxiwa5zlaajv6xdjynf9yym9g319d6mn-big-derivation-attr.drv ============================================================================== =================================== 71/161 =================================== test: lix:installcheck / functional-optimise-store start time: 20:57:47 duration: 0.71s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=215 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py optimise-store.sh ----------------------------------- stdout ----------------------------------- clearing store... 7 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/optimise-store +(init.sh:7) test -d /build/nix-test/optimise-store +(init.sh:8) chmod -R u+w /build/nix-test/optimise-store +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/optimise-store +(init.sh:13) mkdir /build/nix-test/optimise-store +(init.sh:15) mkdir /build/nix-test/optimise-store/store +(init.sh:16) mkdir /build/nix-test/optimise-store/var +(init.sh:17) mkdir -p /build/nix-test/optimise-store/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/optimise-store/var/nix +(init.sh:19) mkdir /build/nix-test/optimise-store/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/optimise-store/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(optimise-store.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/optimise-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/optimise-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/optimise-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/optimise-store/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/optimise-store/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/optimise-store/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/optimise-store/test-home/.local/state/nix/profiles ++(optimise-store.sh:5) echo 'with import ./config.nix; mkDerivation { name = "foo1"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }' ++(optimise-store.sh:5) nix-build - --no-out-link --auto-optimise-store this derivation will be built: /build/nix-test/optimise-store/store/b8skvdkr9gsq37lbp558xlkakj4dz2k6-foo1.drv building '/build/nix-test/optimise-store/store/b8skvdkr9gsq37lbp558xlkakj4dz2k6-foo1.drv'... +(optimise-store.sh:5) outPath1=/build/nix-test/optimise-store/store/8kzvbd17h9d0jwkwwpiwa775820spy82-foo1 ++(optimise-store.sh:6) echo 'with import ./config.nix; mkDerivation { name = "foo2"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }' ++(optimise-store.sh:6) nix-build - --no-out-link --auto-optimise-store this derivation will be built: /build/nix-test/optimise-store/store/2sxfaj6hs9bvdrzazq5936282qhic58b-foo2.drv building '/build/nix-test/optimise-store/store/2sxfaj6hs9bvdrzazq5936282qhic58b-foo2.drv'... +(optimise-store.sh:6) outPath2=/build/nix-test/optimise-store/store/h09vknh7vxa95vymr877sqlsrzr8dh6n-foo2 ++(optimise-store.sh:8) stat --format=%i /build/nix-test/optimise-store/store/8kzvbd17h9d0jwkwwpiwa775820spy82-foo1/foo +(optimise-store.sh:8) inode1=593053 ++(optimise-store.sh:9) stat --format=%i /build/nix-test/optimise-store/store/h09vknh7vxa95vymr877sqlsrzr8dh6n-foo2/foo +(optimise-store.sh:9) inode2=593053 +(optimise-store.sh:10) '[' 593053 '!=' 593053 ']' ++(optimise-store.sh:15) stat --format=%h /build/nix-test/optimise-store/store/8kzvbd17h9d0jwkwwpiwa775820spy82-foo1/foo +(optimise-store.sh:15) nlink=3 +(optimise-store.sh:16) '[' 3 '!=' 3 ']' ++(optimise-store.sh:21) echo 'with import ./config.nix; mkDerivation { name = "foo3"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }' ++(optimise-store.sh:21) nix-build - --no-out-link this derivation will be built: /build/nix-test/optimise-store/store/hbw147irr6x5ghfd6hmp6vz0mkzrkgnp-foo3.drv building '/build/nix-test/optimise-store/store/hbw147irr6x5ghfd6hmp6vz0mkzrkgnp-foo3.drv'... +(optimise-store.sh:21) outPath3=/build/nix-test/optimise-store/store/sfkbamf3p55khzl1bmnjw5c87yc00hh6-foo3 ++(optimise-store.sh:23) stat --format=%i /build/nix-test/optimise-store/store/sfkbamf3p55khzl1bmnjw5c87yc00hh6-foo3/foo +(optimise-store.sh:23) inode3=593108 +(optimise-store.sh:24) '[' 593053 = 593108 ']' +(optimise-store.sh:30) NIX_REMOTE= +(optimise-store.sh:30) nix-store --optimise 0.00 MiB freed by hard-linking 1 files ++(optimise-store.sh:32) stat --format=%i /build/nix-test/optimise-store/store/8kzvbd17h9d0jwkwwpiwa775820spy82-foo1/foo +(optimise-store.sh:32) inode1=593053 ++(optimise-store.sh:33) stat --format=%i /build/nix-test/optimise-store/store/sfkbamf3p55khzl1bmnjw5c87yc00hh6-foo3/foo +(optimise-store.sh:33) inode3=593053 +(optimise-store.sh:34) '[' 593053 '!=' 593053 ']' +(optimise-store.sh:39) nix-store --gc finding garbage collector roots... removing stale link from '/build/nix-test/optimise-store/var/nix/gcroots/auto/bk56h6s0jswv9hbgk3nx7si8v5w5zxrc' to '/build/nix-build-13434-0/result' removing stale link from '/build/nix-test/optimise-store/var/nix/gcroots/auto/xbipv867snhrhhvrkvy6kvqrndmgibkc' to '/build/nix-build-13468-0/result' removing stale link from '/build/nix-test/optimise-store/var/nix/gcroots/auto/gfv8i4scsyhw6ccym0wg2r15xlj266j4' to '/build/nix-build-13494-0/result' deleting garbage... deleting '/build/nix-test/optimise-store/store/hbw147irr6x5ghfd6hmp6vz0mkzrkgnp-foo3.drv' deleting '/build/nix-test/optimise-store/store/b8skvdkr9gsq37lbp558xlkakj4dz2k6-foo1.drv' deleting '/build/nix-test/optimise-store/store/2sxfaj6hs9bvdrzazq5936282qhic58b-foo2.drv' deleting '/build/nix-test/optimise-store/store/82acpckzc2ll34i6k1x1gvg31nfra54l-builder' deleting '/build/nix-test/optimise-store/store/8kzvbd17h9d0jwkwwpiwa775820spy82-foo1' deleting '/build/nix-test/optimise-store/store/h09vknh7vxa95vymr877sqlsrzr8dh6n-foo2' deleting '/build/nix-test/optimise-store/store/sfkbamf3p55khzl1bmnjw5c87yc00hh6-foo3' deleting unused links... note: currently hard linking saves 0.00 MiB ++(optimise-store.sh:41) ls /build/nix-test/optimise-store/store/.links +(optimise-store.sh:41) '[' -n '' ']' ============================================================================== =================================== 72/161 =================================== test: lix:installcheck / functional-timeout start time: 20:57:41 duration: 6.79s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=205 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py timeout.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/timeout +(init.sh:7) test -d /build/nix-test/timeout +(init.sh:8) chmod -R u+w /build/nix-test/timeout +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/timeout +(init.sh:13) mkdir /build/nix-test/timeout +(init.sh:15) mkdir /build/nix-test/timeout/store +(init.sh:16) mkdir /build/nix-test/timeout/var +(init.sh:17) mkdir -p /build/nix-test/timeout/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/timeout/var/nix +(init.sh:19) mkdir /build/nix-test/timeout/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/timeout/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(timeout.sh:6) needLocalStore 'see #4813' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] ++(timeout.sh:8) nix-build -Q timeout.nix -A infiniteLoop --timeout 2 +(timeout.sh:8) messages='this derivation will be built: /build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv building '\''/build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv'\''... error: building of '\''/build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv^out'\'' from .drv file timed out after 2 seconds' +(timeout.sh:8) status=101 +(timeout.sh:10) '[' 101 -ne 101 ']' +(timeout.sh:15) echo 'this derivation will be built: /build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv building '\''/build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv'\''... error: building of '\''/build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv^out'\'' from .drv file timed out after 2 seconds' +(timeout.sh:15) grepQuietInverse 'timed out' +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep 'timed out' +(timeout.sh:21) nix-build -Q timeout.nix -A infiniteLoop --max-build-log-size 100 this derivation will be built: /build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv building '/build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv'... error: building of '/build/nix-test/timeout/store/2l39kjn0z8fhqy1xm0fq6a7iz66b69z7-timeout.drv^out' from .drv file killed after writing more than 100 bytes of log output +(timeout.sh:26) nix-build timeout.nix -A silent --max-silent-time 2 this derivation will be built: /build/nix-test/timeout/store/w8n22cas5x36q5y11zcamqmzhc6s20kv-silent.drv building '/build/nix-test/timeout/store/w8n22cas5x36q5y11zcamqmzhc6s20kv-silent.drv'... error: building of '/build/nix-test/timeout/store/w8n22cas5x36q5y11zcamqmzhc6s20kv-silent.drv^out' from .drv file timed out after 2 seconds of silence +(timeout.sh:31) nix-build timeout.nix -A closeLog this derivation will be built: /build/nix-test/timeout/store/w5zpihh9a5yb5lznwv75hgb72xnyawh3-silent.drv building '/build/nix-test/timeout/store/w5zpihh9a5yb5lznwv75hgb72xnyawh3-silent.drv'... error: builder for '/build/nix-test/timeout/store/w5zpihh9a5yb5lznwv75hgb72xnyawh3-silent.drv' failed due to signal 9 (Killed) +(timeout.sh:36) nix build -f timeout.nix silent --max-silent-time 2 warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/timeout/store/w8n22cas5x36q5y11zcamqmzhc6s20kv-silent.drv building '/build/nix-test/timeout/store/w8n22cas5x36q5y11zcamqmzhc6s20kv-silent.drv'... error: building of '/build/nix-test/timeout/store/w8n22cas5x36q5y11zcamqmzhc6s20kv-silent.drv^out' from .drv file timed out after 2 seconds of silence ============================================================================== =================================== 73/161 =================================== test: lix:installcheck / functional-signing start time: 20:57:48 duration: 0.43s result: exit status 1 command: MALLOC_PERTURB_=251 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py signing.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/signing +(init.sh:7) test -d /build/nix-test/signing +(init.sh:8) chmod -R u+w /build/nix-test/signing +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/signing +(init.sh:13) mkdir /build/nix-test/signing +(init.sh:15) mkdir /build/nix-test/signing/store +(init.sh:16) mkdir /build/nix-test/signing/var +(init.sh:17) mkdir -p /build/nix-test/signing/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/signing/var/nix +(init.sh:19) mkdir /build/nix-test/signing/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/signing/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(signing.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/signing/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/signing/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/signing/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/signing/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/signing/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/signing/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/signing/test-home/.local/state/nix/profiles +(signing.sh:4) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/signing/binary-cache +(signing.sh:6) nix-store --generate-binary-cache-key cache1.example.org /build/nix-test/signing/sk1 /build/nix-test/signing/pk1 ++(signing.sh:7) cat /build/nix-test/signing/pk1 +(signing.sh:7) pk1=cache1.example.org:SN0eOF0Vztn9zdmz2bKTHcOnU3/bR6XMwbuGqvH1ls4= +(signing.sh:8) nix-store --generate-binary-cache-key cache2.example.org /build/nix-test/signing/sk2 /build/nix-test/signing/pk2 ++(signing.sh:9) cat /build/nix-test/signing/pk2 +(signing.sh:9) pk2=cache2.example.org:R9TPq0Ax/G15B/Sver3bt9WH9J4eaHp752TNcBYU1EU= ++(signing.sh:12) nix-build dependencies.nix --no-out-link --secret-key-files '/build/nix-test/signing/sk1 /build/nix-test/signing/sk2' these 5 derivations will be built: /build/nix-test/signing/store/m9sblvfgraynjwrnmiz0fim73pmm19kq-dependencies-input-0.drv /build/nix-test/signing/store/6ifdw1bicigj3nym9na7kfmmyw238w6v-dependencies-input-2.drv /build/nix-test/signing/store/rqb1yz66qkczgy7i3lpvvf9q19x6hifj-fod-input.drv /build/nix-test/signing/store/yg0c3fp9bphdb0613pwqk7ls7rrlgv4p-dependencies-input-1.drv /build/nix-test/signing/store/l4zjxh0l5hqy4yf6jrkrp3590jg8f64b-dependencies-top.drv building '/build/nix-test/signing/store/m9sblvfgraynjwrnmiz0fim73pmm19kq-dependencies-input-0.drv'... building '/build/nix-test/signing/store/yg0c3fp9bphdb0613pwqk7ls7rrlgv4p-dependencies-input-1.drv'... building '/build/nix-test/signing/store/6ifdw1bicigj3nym9na7kfmmyw238w6v-dependencies-input-2.drv'... building '/build/nix-test/signing/store/rqb1yz66qkczgy7i3lpvvf9q19x6hifj-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/signing/store/1nq5h2a2b073lcqzwp3l9l39hxzs2l4n-fod-input': Permission denied +(signing.sh:12) outPath= ++(signing.sh:12) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x signing.sh: test failed at: main in signing.sh:12 ============================================================================== =================================== 74/161 =================================== test: lix:installcheck / functional-substitute-with-invalid-ca start time: 20:57:48 duration: 0.67s result: exit status 0 command: MALLOC_PERTURB_=201 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py substitute-with-invalid-ca.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/substitute-with-invalid-ca +(init.sh:7) test -d /build/nix-test/substitute-with-invalid-ca +(init.sh:8) chmod -R u+w /build/nix-test/substitute-with-invalid-ca +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/substitute-with-invalid-ca +(init.sh:13) mkdir /build/nix-test/substitute-with-invalid-ca +(init.sh:15) mkdir /build/nix-test/substitute-with-invalid-ca/store +(init.sh:16) mkdir /build/nix-test/substitute-with-invalid-ca/var +(init.sh:17) mkdir -p /build/nix-test/substitute-with-invalid-ca/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/substitute-with-invalid-ca/var/nix +(init.sh:19) mkdir /build/nix-test/substitute-with-invalid-ca/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/substitute-with-invalid-ca/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(substitute-with-invalid-ca.sh:3) BINARY_CACHE=file:///build/nix-test/substitute-with-invalid-ca/binary-cache +(substitute-with-invalid-ca.sh:12) cat +(substitute-with-invalid-ca.sh:16) cat ++(substitute-with-invalid-ca.sh:20) nix-store --add /build/nix-test/substitute-with-invalid-ca/test-home/good.txt +(substitute-with-invalid-ca.sh:20) good=/build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt ++(substitute-with-invalid-ca.sh:21) nix-store --add /build/nix-test/substitute-with-invalid-ca/test-home/bad.txt +(substitute-with-invalid-ca.sh:21) bad=/build/nix-test/substitute-with-invalid-ca/store/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8-bad.txt +(substitute-with-invalid-ca.sh:22) nix copy --to file:///build/nix-test/substitute-with-invalid-ca/binary-cache /build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt warning: you don't have Internet access; disabling some network-dependent features copying 1 paths... copying path '/build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt' to 'file:///build/nix-test/substitute-with-invalid-ca/binary-cache'... +(substitute-with-invalid-ca.sh:23) nix copy --to file:///build/nix-test/substitute-with-invalid-ca/binary-cache /build/nix-test/substitute-with-invalid-ca/store/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8-bad.txt warning: you don't have Internet access; disabling some network-dependent features copying 1 paths... copying path '/build/nix-test/substitute-with-invalid-ca/store/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8-bad.txt' to 'file:///build/nix-test/substitute-with-invalid-ca/binary-cache'... +(substitute-with-invalid-ca.sh:24) nix-collect-garbage ++(substitute-with-invalid-ca.sh:27) getRemoteNarInfo /build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt +++(substitute-with-invalid-ca.sh:9) getHash /build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt +++(substitute-with-invalid-ca.sh:6) basename /build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt +++(substitute-with-invalid-ca.sh:6) cut -d - -f 1 ++(substitute-with-invalid-ca.sh:9) echo /build/nix-test/substitute-with-invalid-ca/binary-cache/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz.narinfo +(substitute-with-invalid-ca.sh:27) goodPathNarInfo=/build/nix-test/substitute-with-invalid-ca/binary-cache/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz.narinfo ++(substitute-with-invalid-ca.sh:28) getRemoteNarInfo /build/nix-test/substitute-with-invalid-ca/store/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8-bad.txt +++(substitute-with-invalid-ca.sh:9) getHash /build/nix-test/substitute-with-invalid-ca/store/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8-bad.txt +++(substitute-with-invalid-ca.sh:6) basename /build/nix-test/substitute-with-invalid-ca/store/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8-bad.txt +++(substitute-with-invalid-ca.sh:6) cut -d - -f 1 ++(substitute-with-invalid-ca.sh:9) echo /build/nix-test/substitute-with-invalid-ca/binary-cache/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8.narinfo +(substitute-with-invalid-ca.sh:28) badPathNarInfo=/build/nix-test/substitute-with-invalid-ca/binary-cache/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8.narinfo +(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize +(substitute-with-invalid-ca.sh:30) sed -i '/^URL/d' /build/nix-test/substitute-with-invalid-ca/binary-cache/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz.narinfo +(substitute-with-invalid-ca.sh:31) grep -E '^URL' /build/nix-test/substitute-with-invalid-ca/binary-cache/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8.narinfo +(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize +(substitute-with-invalid-ca.sh:30) sed -i '/^FileHash/d' /build/nix-test/substitute-with-invalid-ca/binary-cache/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz.narinfo +(substitute-with-invalid-ca.sh:31) grep -E '^FileHash' /build/nix-test/substitute-with-invalid-ca/binary-cache/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8.narinfo +(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize +(substitute-with-invalid-ca.sh:30) sed -i '/^FileSize/d' /build/nix-test/substitute-with-invalid-ca/binary-cache/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz.narinfo +(substitute-with-invalid-ca.sh:31) grep -E '^FileSize' /build/nix-test/substitute-with-invalid-ca/binary-cache/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8.narinfo +(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize +(substitute-with-invalid-ca.sh:30) sed -i '/^NarHash/d' /build/nix-test/substitute-with-invalid-ca/binary-cache/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz.narinfo +(substitute-with-invalid-ca.sh:31) grep -E '^NarHash' /build/nix-test/substitute-with-invalid-ca/binary-cache/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8.narinfo +(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize +(substitute-with-invalid-ca.sh:30) sed -i '/^NarSize/d' /build/nix-test/substitute-with-invalid-ca/binary-cache/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz.narinfo +(substitute-with-invalid-ca.sh:31) grep -E '^NarSize' /build/nix-test/substitute-with-invalid-ca/binary-cache/kdjinsl1xcskhgrfz1v1nnp6c1fm5wc8.narinfo +(substitute-with-invalid-ca.sh:36) nix copy --from file:///build/nix-test/substitute-with-invalid-ca/binary-cache /build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt warning: you don't have Internet access; disabling some network-dependent features copying 1 paths... copying path '/build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt' from 'file:///build/nix-test/substitute-with-invalid-ca/binary-cache'... error: ca hash mismatch importing path '/build/nix-test/substitute-with-invalid-ca/store/g4qrv9j2mdjz4x5yw0lvljrhg4x6axyz-good.txt'; specified: sha256:0zzcrgjj4gxc3kv5nkdc1jc6wlz1ssc7s851nnsnr5k5sbczyfax got: sha256:093aqsrdadjdwhzr8gwaygrn6gj7a21ba9vwzz6j5f6y9wwc8s6j ============================================================================== =================================== 75/161 =================================== test: lix:installcheck / functional-check start time: 20:57:48 duration: 0.38s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=73 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py check.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/check +(init.sh:7) test -d /build/nix-test/check +(init.sh:8) chmod -R u+w /build/nix-test/check +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/check +(init.sh:13) mkdir /build/nix-test/check +(init.sh:15) mkdir /build/nix-test/check/store +(init.sh:16) mkdir /build/nix-test/check/var +(init.sh:17) mkdir -p /build/nix-test/check/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/check/var/nix +(init.sh:19) mkdir /build/nix-test/check/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/check/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(check.sh:4) buggyNeedLocalStore 'see #4813' +(/build/source/build/tests/functional/common/vars-and-functions.sh:229) needLocalStore 'see #4813' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] ++(check.sh:14) date +%s%N +(check.sh:14) checkBuildId=1725915468843336603 +(check.sh:16) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/check/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/check/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/check/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/check/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/check/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/check/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/check/test-home/.local/state/nix/profiles +(check.sh:18) nix-build dependencies.nix --no-out-link these 5 derivations will be built: /build/nix-test/check/store/cpdv85vaqn6dk2vi9aiqid0cbh178xsa-dependencies-input-0.drv /build/nix-test/check/store/12k5yycs8229zv958b5ip7z31zj765x1-dependencies-input-2.drv /build/nix-test/check/store/b7a1d6j2d6lykmc4f3p0gchny3q80r7z-fod-input.drv /build/nix-test/check/store/s59m1zfj9lk30w1vxqk616n67npai5iy-dependencies-input-1.drv /build/nix-test/check/store/3f1d7nsmagv5af29xmggsy090y7qybil-dependencies-top.drv building '/build/nix-test/check/store/cpdv85vaqn6dk2vi9aiqid0cbh178xsa-dependencies-input-0.drv'... building '/build/nix-test/check/store/s59m1zfj9lk30w1vxqk616n67npai5iy-dependencies-input-1.drv'... building '/build/nix-test/check/store/12k5yycs8229zv958b5ip7z31zj765x1-dependencies-input-2.drv'... building '/build/nix-test/check/store/b7a1d6j2d6lykmc4f3p0gchny3q80r7z-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/check/store/0lddq1kz5pa3r5f57wcsjig85fzx3n7s-fod-input': Permission denied ++(check.sh:18) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x check.sh: test failed at: main in check.sh:18 ============================================================================== =================================== 76/161 =================================== test: lix:installcheck / functional-fetchGit start time: 20:57:45 duration: 3.73s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=123 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchGit.sh ----------------------------------- stdout ----------------------------------- clearing store... Initialized empty Git repository in /build/nix-test/fetchGit/git/.git/ [master (root-commit) 540067d] Bla1 2 files changed, 1 insertion(+) create mode 100644 .gitignore create mode 100644 hello [master 4fb608b] Bla2 1 file changed, 1 insertion(+), 1 deletion(-) HEAD is now at 4fb608b Bla2 [devtest 1289789] Test2 1 file changed, 1 insertion(+) create mode 100644 differentbranch rm 'hello' [master 94255c6] Bla3 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 dir1/foo delete mode 100644 hello [master ff04561] Bla4 1 file changed, 1 insertion(+) create mode 100644 hello [dev 4109e20] Bla5 1 file changed, 1 insertion(+), 1 deletion(-) Initialized empty Git repository in /build/nix-test/fetchGit/minimal/.git/ Initialized empty Git repository in /build/nix-test/fetchGit/git/.git/ Initialized empty Git repository in /build/nix-test/fetchGit/a b/.git/ [master (root-commit) a31a180] Bla1 2 files changed, 1 insertion(+) create mode 100644 .gitignore create mode 100644 hello [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchGit +(init.sh:7) test -d /build/nix-test/fetchGit +(init.sh:8) chmod -R u+w /build/nix-test/fetchGit +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchGit +(init.sh:13) mkdir /build/nix-test/fetchGit +(init.sh:15) mkdir /build/nix-test/fetchGit/store +(init.sh:16) mkdir /build/nix-test/fetchGit/var +(init.sh:17) mkdir -p /build/nix-test/fetchGit/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchGit/var/nix +(init.sh:19) mkdir /build/nix-test/fetchGit/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchGit/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fetchGit.sh:3) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(fetchGit.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fetchGit/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fetchGit/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fetchGit/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fetchGit/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fetchGit/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fetchGit/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fetchGit/test-home/.local/state/nix/profiles +(fetchGit.sh:9) repo=/build/nix-test/fetchGit/./git +(fetchGit.sh:11) export _NIX_FORCE_HTTP=1 +(fetchGit.sh:11) _NIX_FORCE_HTTP=1 +(fetchGit.sh:13) rm -rf /build/nix-test/fetchGit/./git /build/nix-test/fetchGit/./git-tmp /build/nix-test/fetchGit/test-home/.cache/nix /build/nix-test/fetchGit/worktree /build/nix-test/fetchGit/shallow /build/nix-test/fetchGit/minimal +(fetchGit.sh:15) git init /build/nix-test/fetchGit/./git hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(fetchGit.sh:16) git -C /build/nix-test/fetchGit/./git config user.email foobar@example.com +(fetchGit.sh:17) git -C /build/nix-test/fetchGit/./git config user.name Foobar +(fetchGit.sh:19) echo utrecht +(fetchGit.sh:20) touch /build/nix-test/fetchGit/./git/.gitignore +(fetchGit.sh:21) git -C /build/nix-test/fetchGit/./git add hello .gitignore +(fetchGit.sh:22) git -C /build/nix-test/fetchGit/./git commit -m Bla1 ++(fetchGit.sh:23) git -C /build/nix-test/fetchGit/./git rev-parse HEAD +(fetchGit.sh:23) rev1=540067d2f02bc0fd5f0ec8844be31b73495ba9e5 +(fetchGit.sh:24) git -C /build/nix-test/fetchGit/./git tag -a tag1 -m tag1 +(fetchGit.sh:26) echo world +(fetchGit.sh:27) git -C /build/nix-test/fetchGit/./git commit -m Bla2 -a +(fetchGit.sh:28) git -C /build/nix-test/fetchGit/./git worktree add /build/nix-test/fetchGit/worktree Preparing worktree (new branch 'worktree') +(fetchGit.sh:29) echo hello ++(fetchGit.sh:30) git -C /build/nix-test/fetchGit/./git rev-parse HEAD +(fetchGit.sh:30) rev2=4fb608bdb601cda72f30444b45dadf0f711c6ef6 +(fetchGit.sh:31) git -C /build/nix-test/fetchGit/./git tag -a tag2 -m tag2 +(fetchGit.sh:34) unset _NIX_FORCE_HTTP ++(fetchGit.sh:35) nix eval --impure --raw --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/worktree).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/worktree' warning: Git tree '/build/nix-test/fetchGit/worktree' is dirty +(fetchGit.sh:35) path0=/build/nix-test/fetchGit/store/1znaip1d20fycdm81yj5864p0dgrz3a0-source ++(fetchGit.sh:36) nix eval --impure --raw --expr '(builtins.fetchTree { type = "git"; url = file:///build/nix-test/fetchGit/worktree; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/worktree' warning: Git tree '/build/nix-test/fetchGit/worktree' is dirty +(fetchGit.sh:36) path0_=/build/nix-test/fetchGit/store/1znaip1d20fycdm81yj5864p0dgrz3a0-source +(fetchGit.sh:37) [[ /build/nix-test/fetchGit/store/1znaip1d20fycdm81yj5864p0dgrz3a0-source = /build/nix-test/fetchGit/store/1znaip1d20fycdm81yj5864p0dgrz3a0-source ]] +(fetchGit.sh:38) export _NIX_FORCE_HTTP=1 +(fetchGit.sh:38) _NIX_FORCE_HTTP=1 ++(fetchGit.sh:39) tail -n 1 /build/nix-test/fetchGit/store/1znaip1d20fycdm81yj5864p0dgrz3a0-source/hello +(fetchGit.sh:39) [[ hello = \h\e\l\l\o ]] ++(fetchGit.sh:42) nix eval --impure --raw --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:42) path=/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source ++(fetchGit.sh:43) cat /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source/hello +(fetchGit.sh:43) [[ world = world ]] +(fetchGit.sh:46) git -C /build/nix-test/fetchGit/./git checkout -b devtest Switched to a new branch 'devtest' +(fetchGit.sh:47) echo 'different file' +(fetchGit.sh:48) git -C /build/nix-test/fetchGit/./git add differentbranch +(fetchGit.sh:49) git -C /build/nix-test/fetchGit/./git commit -m Test2 +(fetchGit.sh:50) git -C /build/nix-test/fetchGit/./git checkout master Switched to branch 'master' ++(fetchGit.sh:51) git -C /build/nix-test/fetchGit/./git rev-parse devtest +(fetchGit.sh:51) devrev=128978971f5437649a9e447c1b88023e326c7658 ++(fetchGit.sh:52) nix eval --impure --raw --expr 'builtins.fetchGit { url = file:///build/nix-test/fetchGit/./git; rev = "128978971f5437649a9e447c1b88023e326c7658"; }' +(fetchGit.sh:52) out='warning: you don'\''t have Internet access; disabling some network-dependent features fetching git input '\''git+file:///build/nix-test/fetchGit/./git'\'' error: … while calling the '\''fetchGit'\'' builtin at «string»:1:1: 1| builtins.fetchGit { url = file:///build/nix-test/fetchGit/./git; rev = "128978971f5437649a9e447c1b88023e326c7658"; } | ^ … while fetching the input '\''git+file:///build/nix-test/fetchGit/./git?rev=128978971f5437649a9e447c1b88023e326c7658'\'' error: Cannot find Git revision '\''128978971f5437649a9e447c1b88023e326c7658'\'' in ref '\''refs/heads/master'\'' of repository '\''file:///build/nix-test/fetchGit/./git'\''! Please make sure that the rev exists on the ref you'\''ve specified or add allRefs = true; to fetchGit.' +(fetchGit.sh:52) status=1 +(fetchGit.sh:53) [[ 1 == 1 ]] +(fetchGit.sh:54) [[ warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' error: … while calling the 'fetchGit' builtin at «string»:1:1: 1| builtins.fetchGit { url = file:///build/nix-test/fetchGit/./git; rev = "128978971f5437649a9e447c1b88023e326c7658"; } | ^ … while fetching the input 'git+file:///build/nix-test/fetchGit/./git?rev=128978971f5437649a9e447c1b88023e326c7658' error: Cannot find Git revision '128978971f5437649a9e447c1b88023e326c7658' in ref 'refs/heads/master' of repository 'file:///build/nix-test/fetchGit/./git'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit. =~ Cannot find Git revision ]] ++(fetchGit.sh:56) nix eval --raw --expr 'builtins.readFile (builtins.fetchGit { url = file:///build/nix-test/fetchGit/./git; rev = "128978971f5437649a9e447c1b88023e326c7658"; allRefs = true; } + "/differentbranch")' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:56) [[ different file = \d\i\f\f\e\r\e\n\t\ \f\i\l\e ]] ++(fetchGit.sh:59) nix eval --impure --raw --expr 'builtins.readFile (fetchGit file:///build/nix-test/fetchGit/./git + "/hello")' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:59) [[ world = world ]] +(fetchGit.sh:60) nix eval --raw --expr 'builtins.readFile (fetchGit file:///build/nix-test/fetchGit/./git + "/hello")' warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'readFile' builtin at «string»:1:1: 1| builtins.readFile (fetchGit file:///build/nix-test/fetchGit/./git + "/hello") | ^ … while calling the 'fetchGit' builtin at «string»:1:20: 1| builtins.readFile (fetchGit file:///build/nix-test/fetchGit/./git + "/hello") | ^ error: in pure evaluation mode, 'fetchTree' requires a locked input ++(fetchGit.sh:63) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGit/./git; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:63) path2=/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source +(fetchGit.sh:64) [[ /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source = /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source ]] ++(fetchGit.sh:67) nix eval --raw --expr 'builtins.readFile (fetchGit { url = file:///build/nix-test/fetchGit/./git; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; } + "/hello")' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:67) [[ world = world ]] +(fetchGit.sh:70) mv /build/nix-test/fetchGit/./git /build/nix-test/fetchGit/./git-tmp ++(fetchGit.sh:71) nix eval --impure --raw --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:71) path2=/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source +(fetchGit.sh:72) [[ /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source = /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source ]] ++(fetchGit.sh:74) nix eval --impure --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/./git).revCount' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:74) [[ 2 = 2 ]] ++(fetchGit.sh:75) nix eval --impure --raw --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/./git).rev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:75) [[ 4fb608bdb601cda72f30444b45dadf0f711c6ef6 = 4fb608bdb601cda72f30444b45dadf0f711c6ef6 ]] ++(fetchGit.sh:76) nix eval --impure --raw --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/./git).shortRev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:76) [[ 4fb608b = 4fb608b ]] ++(fetchGit.sh:79) nix eval --refresh --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGit/./git; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:79) path2=/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source +(fetchGit.sh:80) [[ /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source = /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source ]] ++(fetchGit.sh:82) nix eval --refresh --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGit/./git; rev = "540067d2f02bc0fd5f0ec8844be31b73495ba9e5"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' fatal: '/build/nix-test/fetchGit/./git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. warning: could not get HEAD ref for repository 'file:///build/nix-test/fetchGit/./git'; using expired cached ref 'refs/heads/master' +(fetchGit.sh:82) path2=/build/nix-test/fetchGit/store/lzll24n38zvzzg0zzxk6h6nwvqmd1598-source ++(fetchGit.sh:83) cat /build/nix-test/fetchGit/store/lzll24n38zvzzg0zzxk6h6nwvqmd1598-source/hello +(fetchGit.sh:83) [[ utrecht = utrecht ]] +(fetchGit.sh:85) mv /build/nix-test/fetchGit/./git-tmp /build/nix-test/fetchGit/./git ++(fetchGit.sh:88) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:88) path2=/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source +(fetchGit.sh:89) [[ /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source = /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source ]] +(fetchGit.sh:92) mkdir /build/nix-test/fetchGit/./git/dir1 /build/nix-test/fetchGit/./git/dir2 +(fetchGit.sh:93) echo foo +(fetchGit.sh:94) echo bar +(fetchGit.sh:95) echo bar +(fetchGit.sh:96) git -C /build/nix-test/fetchGit/./git add dir1/foo +(fetchGit.sh:97) git -C /build/nix-test/fetchGit/./git rm hello +(fetchGit.sh:99) unset _NIX_FORCE_HTTP ++(fetchGit.sh:100) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' warning: Git tree '/build/nix-test/fetchGit/git' is dirty +(fetchGit.sh:100) path2=/build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source +(fetchGit.sh:101) '[' '!' -e /build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source/hello ']' +(fetchGit.sh:102) '[' '!' -e /build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source/bar ']' +(fetchGit.sh:103) '[' '!' -e /build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source/dir2/bar ']' +(fetchGit.sh:104) '[' '!' -e /build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source/.git ']' ++(fetchGit.sh:105) cat /build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source/dir1/foo +(fetchGit.sh:105) [[ foo = foo ]] ++(fetchGit.sh:107) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).rev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' warning: Git tree '/build/nix-test/fetchGit/git' is dirty +(fetchGit.sh:107) [[ 0000000000000000000000000000000000000000 = 0000000000000000000000000000000000000000 ]] ++(fetchGit.sh:108) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).dirtyRev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' warning: Git tree '/build/nix-test/fetchGit/git' is dirty +(fetchGit.sh:108) [[ 4fb608bdb601cda72f30444b45dadf0f711c6ef6-dirty = \4\f\b\6\0\8\b\d\b\6\0\1\c\d\a\7\2\f\3\0\4\4\4\b\4\5\d\a\d\f\0\f\7\1\1\c\6\e\f\6\-\d\i\r\t\y ]] ++(fetchGit.sh:109) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).dirtyShortRev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' warning: Git tree '/build/nix-test/fetchGit/git' is dirty +(fetchGit.sh:109) [[ 4fb608b-dirty = \4\f\b\6\0\8\b\-\d\i\r\t\y ]] ++(fetchGit.sh:112) nix eval --impure --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/./git; ref = "master"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:112) path3=/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source +(fetchGit.sh:113) [[ /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source = /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source ]] ++(fetchGit.sh:115) nix eval --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/./git; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:115) path3=/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source +(fetchGit.sh:116) [[ /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source = /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source ]] +(fetchGit.sh:119) git -C /build/nix-test/fetchGit/./git commit -m Bla3 -a ++(fetchGit.sh:121) nix eval --impure --refresh --raw --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:121) path4=/build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source +(fetchGit.sh:122) [[ /build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source = /build/nix-test/fetchGit/store/l6xib900ghlsy5f9cyvhwpl3c2a6n7s6-source ]] ++(fetchGit.sh:124) nix eval --impure --expr 'builtins.hasAttr "rev" (builtins.fetchGit /build/nix-test/fetchGit/./git)' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:124) [[ true == \t\r\u\e ]] ++(fetchGit.sh:125) nix eval --impure --expr 'builtins.hasAttr "dirtyRev" (builtins.fetchGit /build/nix-test/fetchGit/./git)' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:125) [[ false == \f\a\l\s\e ]] ++(fetchGit.sh:126) nix eval --impure --expr 'builtins.hasAttr "dirtyShortRev" (builtins.fetchGit /build/nix-test/fetchGit/./git)' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:126) [[ false == \f\a\l\s\e ]] +(fetchGit.sh:128) status=0 +(fetchGit.sh:129) nix eval --impure --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/./git; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; narHash = "sha256-B5yIPHhEm0eysJKEsO7nqxprh9vcblFxpJG11gXJus1="; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' error: … while evaluating '((builtins).fetchGit { narHash = "sha256-B5yIPHhEm0eysJKEsO7nqxprh9vcblFxpJG11gXJus1="; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; url = /build/nix-test/fetchGit/git; })' to select 'outPath' on it at «string»:1:1: 1| (builtins.fetchGit { url = /build/nix-test/fetchGit/./git; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; narHash = "sha256-B5yIPHhEm0eysJKEsO7nqxprh9vcblFxpJG11gXJus1="; }).outPath | ^ … while calling the 'fetchGit' builtin at «string»:1:2: 1| (builtins.fetchGit { url = /build/nix-test/fetchGit/./git; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; narHash = "sha256-B5yIPHhEm0eysJKEsO7nqxprh9vcblFxpJG11gXJus1="; }).outPath | ^ error: NAR hash mismatch in input 'git+file:///build/nix-test/fetchGit/git?rev=4fb608bdb601cda72f30444b45dadf0f711c6ef6' (/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source), expected 'sha256-B5yIPHhEm0eysJKEsO7nqxprh9vcblFxpJG11gXJus0=', got 'sha256-Hr8g6AqANb3xqX28eu1XnjK/3ab8Gv6TJSnkb1LezG8=' +(fetchGit.sh:129) status=102 +(fetchGit.sh:130) [[ 102 = \1\0\2 ]] ++(fetchGit.sh:132) nix eval --impure --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/./git; rev = "4fb608bdb601cda72f30444b45dadf0f711c6ef6"; narHash = "sha256-Hr8g6AqANb3xqX28eu1XnjK/3ab8Gv6TJSnkb1LezG9="; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:132) path5=/build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source +(fetchGit.sh:133) [[ /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source = /build/nix-test/fetchGit/store/z85bxx3vax3yh6bbcjcjf4mmgh0k0631-source ]] +(fetchGit.sh:136) echo delft +(fetchGit.sh:137) git -C /build/nix-test/fetchGit/./git add hello +(fetchGit.sh:138) git -C /build/nix-test/fetchGit/./git commit -m Bla4 ++(fetchGit.sh:139) git -C /build/nix-test/fetchGit/./git rev-parse HEAD +(fetchGit.sh:139) rev3=ff045615fa1752561c83402b7d2e600d4ef78b09 +(fetchGit.sh:140) nix eval --tarball-ttl 3600 --expr 'builtins.fetchGit { url = /build/nix-test/fetchGit/./git; rev = "ff045615fa1752561c83402b7d2e600d4ef78b09"; }' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' ++(fetchGit.sh:143) nix eval --impure --raw --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:143) path=/build/nix-test/fetchGit/store/cvacsbz9rs2bw4jiy7236v5lr16h40q7-source +(fetchGit.sh:146) git -C /build/nix-test/fetchGit/./git checkout 4fb608bdb601cda72f30444b45dadf0f711c6ef6 -b dev Switched to a new branch 'dev' +(fetchGit.sh:147) echo dev ++(fetchGit.sh:150) nix eval --impure --raw --expr '(builtins.fetchGit file:///build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' warning: Git tree '/build/nix-test/fetchGit/./git' is dirty +(fetchGit.sh:150) path2=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ++(fetchGit.sh:151) cat /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source/hello +(fetchGit.sh:151) '[' dev = dev ']' ++(fetchGit.sh:154) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' warning: Git tree '/build/nix-test/fetchGit/git' is dirty +(fetchGit.sh:154) path3=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ++(fetchGit.sh:156) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).rev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' warning: Git tree '/build/nix-test/fetchGit/git' is dirty +(fetchGit.sh:156) [[ 0000000000000000000000000000000000000000 = 0000000000000000000000000000000000000000 ]] ++(fetchGit.sh:157) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).shortRev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' warning: Git tree '/build/nix-test/fetchGit/git' is dirty +(fetchGit.sh:157) [[ 0000000 = 0000000 ]] +(fetchGit.sh:160) echo world ++(fetchGit.sh:161) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).rev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:161) [[ 4fb608bdb601cda72f30444b45dadf0f711c6ef6 = 4fb608bdb601cda72f30444b45dadf0f711c6ef6 ]] +(fetchGit.sh:164) echo dev +(fetchGit.sh:165) git -C /build/nix-test/fetchGit/./git commit -m Bla5 -a ++(fetchGit.sh:166) nix eval --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:166) path4=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ++(fetchGit.sh:167) cat /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source/hello +(fetchGit.sh:167) [[ dev = dev ]] +(fetchGit.sh:168) [[ /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source = /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ]] +(fetchGit.sh:172) export _NIX_FORCE_HTTP=1 +(fetchGit.sh:172) _NIX_FORCE_HTTP=1 ++(fetchGit.sh:173) nix eval --tarball-ttl 0 --impure --raw --expr '(builtins.fetchGit /build/nix-test/fetchGit/./git).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:173) path4=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ++(fetchGit.sh:174) cat /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source/hello +(fetchGit.sh:174) [[ dev = dev ]] +(fetchGit.sh:175) [[ /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source = /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ]] +(fetchGit.sh:176) unset _NIX_FORCE_HTTP ++(fetchGit.sh:179) nix eval --impure --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/./git; ref = "dev"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:179) path5=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source +(fetchGit.sh:180) [[ /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source = /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ]] +(fetchGit.sh:184) rm -rf /build/nix-test/fetchGit/test-home/.cache/nix ++(fetchGit.sh:187) command -v nix +(fetchGit.sh:187) NIX=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix +(fetchGit.sh:188) PATH= +(fetchGit.sh:188) /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix eval --impure --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/./git; ref = "dev"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' error: executing 'git': No such file or directory error: … while evaluating '((builtins).fetchGit { ref = "dev"; url = /build/nix-test/fetchGit/git; })' to select 'outPath' on it at «string»:1:1: 1| (builtins.fetchGit { url = /build/nix-test/fetchGit/./git; ref = "dev"; }).outPath | ^ … while calling the 'fetchGit' builtin at «string»:1:2: 1| (builtins.fetchGit { url = /build/nix-test/fetchGit/./git; ref = "dev"; }).outPath | ^ … while fetching the input 'git+file:///build/nix-test/fetchGit/git?ref=dev' error: program 'git' failed with exit code 1 ++(fetchGit.sh:191) nix eval --impure --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/./git; ref = "dev"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/git' +(fetchGit.sh:191) path5=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source +(fetchGit.sh:192) [[ /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source = /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ]] +(fetchGit.sh:196) mkdir /build/nix-test/fetchGit/minimal +(fetchGit.sh:197) git -C /build/nix-test/fetchGit/minimal init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(fetchGit.sh:198) git -C /build/nix-test/fetchGit/minimal fetch /build/nix-test/fetchGit/./git 4fb608bdb601cda72f30444b45dadf0f711c6ef6 From /build/nix-test/fetchGit/./git * branch 4fb608bdb601cda72f30444b45dadf0f711c6ef6 -> FETCH_HEAD +(fetchGit.sh:199) git -C /build/nix-test/fetchGit/minimal checkout 4fb608bdb601cda72f30444b45dadf0f711c6ef6 Note: switching to '4fb608bdb601cda72f30444b45dadf0f711c6ef6'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 4fb608b Bla2 ++(fetchGit.sh:200) nix eval --impure --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/minimal; }).rev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/minimal' +(fetchGit.sh:200) [[ 4fb608bdb601cda72f30444b45dadf0f711c6ef6 = 4fb608bdb601cda72f30444b45dadf0f711c6ef6 ]] +(fetchGit.sh:204) git clone --depth 1 file:///build/nix-test/fetchGit/./git /build/nix-test/fetchGit/shallow Cloning into '/build/nix-test/fetchGit/shallow'... +(fetchGit.sh:205) nix eval --impure --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGit/shallow; ref = "dev"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/shallow' error: … while evaluating '((builtins).fetchGit { ref = "dev"; url = /build/nix-test/fetchGit/shallow; })' to select 'outPath' on it at «string»:1:1: 1| (builtins.fetchGit { url = /build/nix-test/fetchGit/shallow; ref = "dev"; }).outPath | ^ … while calling the 'fetchGit' builtin at «string»:1:2: 1| (builtins.fetchGit { url = /build/nix-test/fetchGit/shallow; ref = "dev"; }).outPath | ^ … while fetching the input 'git+file:///build/nix-test/fetchGit/shallow?ref=dev' error: '/build/nix-test/fetchGit/shallow' is a shallow Git repository, but shallow repositories are only allowed when `shallow = true;` is specified. ++(fetchGit.sh:208) nix eval --impure --raw --expr '(builtins.fetchTree { type = "git"; url = "file:///build/nix-test/fetchGit/shallow"; ref = "dev"; shallow = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/shallow' +(fetchGit.sh:208) path6=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source +(fetchGit.sh:209) [[ /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source = /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ]] ++(fetchGit.sh:210) nix eval --impure --expr '(builtins.fetchTree { type = "git"; url = "file:///build/nix-test/fetchGit/shallow"; ref = "dev"; shallow = true; }).revCount or 123' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/shallow' +(fetchGit.sh:210) [[ 123 == 123 ]] ++(fetchGit.sh:213) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/fetchGit/./git"; ref = "HEAD"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:213) path7=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ++(fetchGit.sh:214) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/fetchGit/./git"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:214) path8=/build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source +(fetchGit.sh:215) [[ /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source = /build/nix-test/fetchGit/store/q3sx8pfaddy46f6ss4491kgnim30bwy5-source ]] ++(fetchGit.sh:218) git -C /build/nix-test/fetchGit/./git rev-parse HEAD +(fetchGit.sh:218) rev4=4109e200dcdb8e445ee8c1c05210f7b9904aac28 ++(fetchGit.sh:219) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/fetchGit/./git"; ref = "HEAD"; }).rev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:219) rev4_nix=4109e200dcdb8e445ee8c1c05210f7b9904aac28 +(fetchGit.sh:220) [[ 4109e200dcdb8e445ee8c1c05210f7b9904aac28 = 4109e200dcdb8e445ee8c1c05210f7b9904aac28 ]] ++(fetchGit.sh:223) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/fetchGit/./git"; ref = "HEAD"; name = "foo"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:223) path9=/build/nix-test/fetchGit/store/f5pi67szh8z8vaf45mr880ibcwvcxzf7-foo +(fetchGit.sh:224) [[ /build/nix-test/fetchGit/store/f5pi67szh8z8vaf45mr880ibcwvcxzf7-foo =~ -foo$ ]] +(fetchGit.sh:227) export _NIX_FORCE_HTTP=1 +(fetchGit.sh:227) _NIX_FORCE_HTTP=1 ++(fetchGit.sh:228) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/fetchGit/./git"; ref = "refs/tags/tag1"; }).rev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:228) rev_tag1_nix=c16c943138db5ea7f15e856bb8651798076868bc ++(fetchGit.sh:229) git -C /build/nix-test/fetchGit/./git rev-parse refs/tags/tag1 +(fetchGit.sh:229) rev_tag1=c16c943138db5ea7f15e856bb8651798076868bc +(fetchGit.sh:230) [[ c16c943138db5ea7f15e856bb8651798076868bc = c16c943138db5ea7f15e856bb8651798076868bc ]] ++(fetchGit.sh:231) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///build/nix-test/fetchGit/./git"; ref = "refs/tags/tag2"; }).rev' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' +(fetchGit.sh:231) rev_tag2_nix=271c30e58681a53eaff3ea8b9e1e63b2645f845f ++(fetchGit.sh:232) git -C /build/nix-test/fetchGit/./git rev-parse refs/tags/tag2 +(fetchGit.sh:232) rev_tag2=271c30e58681a53eaff3ea8b9e1e63b2645f845f +(fetchGit.sh:233) [[ 271c30e58681a53eaff3ea8b9e1e63b2645f845f = 271c30e58681a53eaff3ea8b9e1e63b2645f845f ]] +(fetchGit.sh:234) unset _NIX_FORCE_HTTP +(fetchGit.sh:237) rm -rf /build/nix-test/fetchGit/./git/.git +(fetchGit.sh:238) nix eval --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/fetchGit/./git").outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' fatal: '/build/nix-test/fetchGit/./git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: … while evaluating '((builtins).fetchGit "file:///build/nix-test/fetchGit/./git")' to select 'outPath' on it at «string»:1:1: 1| (builtins.fetchGit "file:///build/nix-test/fetchGit/./git").outPath | ^ … while calling the 'fetchGit' builtin at «string»:1:2: 1| (builtins.fetchGit "file:///build/nix-test/fetchGit/./git").outPath | ^ … while fetching the input 'git+file:///build/nix-test/fetchGit/./git' error: program 'git' failed with exit code 128 +(fetchGit.sh:241) git init /build/nix-test/fetchGit/./git hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m ++(fetchGit.sh:242) nix eval --impure --raw --expr '(builtins.fetchGit "file:///build/nix-test/fetchGit/./git").outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/./git' warning: Git tree '/build/nix-test/fetchGit/./git' is dirty +(fetchGit.sh:242) path10=/build/nix-test/fetchGit/store/4bj453p63wmd9lcyk0ag0dym3gwbw06k-source +(fetchGit.sh:246) repo='/build/nix-test/fetchGit/a b' +(fetchGit.sh:247) git init '/build/nix-test/fetchGit/a b' hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(fetchGit.sh:248) git -C '/build/nix-test/fetchGit/a b' config user.email foobar@example.com +(fetchGit.sh:249) git -C '/build/nix-test/fetchGit/a b' config user.name Foobar +(fetchGit.sh:251) echo utrecht +(fetchGit.sh:252) touch '/build/nix-test/fetchGit/a b/.gitignore' +(fetchGit.sh:253) git -C '/build/nix-test/fetchGit/a b' add hello .gitignore +(fetchGit.sh:254) git -C '/build/nix-test/fetchGit/a b' commit -m Bla1 +(fetchGit.sh:255) cd '/build/nix-test/fetchGit/a b' ++(fetchGit.sh:256) nix eval --impure --raw --expr '(builtins.fetchGit ./.).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGit/a%20b' +(fetchGit.sh:256) path11=/build/nix-test/fetchGit/store/lzll24n38zvzzg0zzxk6h6nwvqmd1598-source ============================================================================== =================================== 77/161 =================================== test: lix:installcheck / functional-check-refs start time: 20:57:49 duration: 0.35s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=64 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py check-refs.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/check-refs +(init.sh:7) test -d /build/nix-test/check-refs +(init.sh:8) chmod -R u+w /build/nix-test/check-refs +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/check-refs +(init.sh:13) mkdir /build/nix-test/check-refs +(init.sh:15) mkdir /build/nix-test/check-refs/store +(init.sh:16) mkdir /build/nix-test/check-refs/var +(init.sh:17) mkdir -p /build/nix-test/check-refs/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/check-refs/var/nix +(init.sh:19) mkdir /build/nix-test/check-refs/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/check-refs/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(check-refs.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/check-refs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/check-refs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/check-refs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/check-refs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/check-refs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/check-refs/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/check-refs/test-home/.local/state/nix/profiles +(check-refs.sh:5) RESULT=/build/nix-test/check-refs/result ++(check-refs.sh:7) nix-build -o /build/nix-test/check-refs/result check-refs.nix -A dep these 5 derivations will be built: /build/nix-test/check-refs/store/8zckgcfcngd8b3yik4np9arv3nbw46wp-dependencies-input-1.drv /build/nix-test/check-refs/store/xarakkdkf2md67bk18aaqf61mig2jmdw-dependencies-input-0.drv /build/nix-test/check-refs/store/ihin58yfr9c6n2cqayas3qy6mqhlii5h-dependencies-input-2.drv /build/nix-test/check-refs/store/qbp4fjnbn5ld1w38g6jmmkxfa6dvgsfz-fod-input.drv /build/nix-test/check-refs/store/ds901pbmyfqsa2k2sl1yw2rih1iskpbz-dependencies-top.drv building '/build/nix-test/check-refs/store/xarakkdkf2md67bk18aaqf61mig2jmdw-dependencies-input-0.drv'... building '/build/nix-test/check-refs/store/8zckgcfcngd8b3yik4np9arv3nbw46wp-dependencies-input-1.drv'... building '/build/nix-test/check-refs/store/ihin58yfr9c6n2cqayas3qy6mqhlii5h-dependencies-input-2.drv'... building '/build/nix-test/check-refs/store/qbp4fjnbn5ld1w38g6jmmkxfa6dvgsfz-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/check-refs/store/rpg0kbcn7v26y99m76w3y5662a5zh717-fod-input': Permission denied +(check-refs.sh:7) dep= ++(check-refs.sh:7) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x check-refs.sh: test failed at: main in check-refs.sh:7 ============================================================================== =================================== 78/161 =================================== test: lix:installcheck / functional-gc-auto start time: 20:57:38 duration: 11.63s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=186 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py gc-auto.sh ----------------------------------- stdout ----------------------------------- clearing store... -r--r--r-- 1 nixbld nixbld 2293 Jan 1 1970 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 8 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/gc-auto +(init.sh:7) test -d /build/nix-test/gc-auto +(init.sh:8) chmod -R u+w /build/nix-test/gc-auto +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/gc-auto +(init.sh:13) mkdir /build/nix-test/gc-auto +(init.sh:15) mkdir /build/nix-test/gc-auto/store +(init.sh:16) mkdir /build/nix-test/gc-auto/var +(init.sh:17) mkdir -p /build/nix-test/gc-auto/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/gc-auto/var/nix +(init.sh:19) mkdir /build/nix-test/gc-auto/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/gc-auto/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(gc-auto.sh:3) needLocalStore '“min-free” and “max-free” are daemon options' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(gc-auto.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/gc-auto/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/gc-auto/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/gc-auto/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/gc-auto/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/gc-auto/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/gc-auto/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/gc-auto/test-home/.local/state/nix/profiles ++(gc-auto.sh:7) nix store add-path --name garbage1 ./nar-access.sh warning: you don't have Internet access; disabling some network-dependent features +(gc-auto.sh:7) garbage1=/build/nix-test/gc-auto/store/lf5k4ckhj5wkz8mffsi1h8nw3cjvppfv-garbage1 ++(gc-auto.sh:8) nix store add-path --name garbage2 ./nar-access.sh warning: you don't have Internet access; disabling some network-dependent features +(gc-auto.sh:8) garbage2=/build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 ++(gc-auto.sh:9) nix store add-path --name garbage3 ./nar-access.sh warning: you don't have Internet access; disabling some network-dependent features +(gc-auto.sh:9) garbage3=/build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 +(gc-auto.sh:11) ls -l /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 +(gc-auto.sh:12) POSIXLY_CORRECT=1 +(gc-auto.sh:12) du /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 +(gc-auto.sh:14) fake_free=/build/nix-test/gc-auto/fake-free +(gc-auto.sh:15) export _NIX_TEST_FREE_SPACE_FILE=/build/nix-test/gc-auto/fake-free +(gc-auto.sh:15) _NIX_TEST_FREE_SPACE_FILE=/build/nix-test/gc-auto/fake-free +(gc-auto.sh:16) echo 1100 +(gc-auto.sh:18) fifoLock=/build/nix-test/gc-auto/fifoLock +(gc-auto.sh:19) mkfifo /build/nix-test/gc-auto/fifoLock ++(gc-auto.sh:47) cat +(gc-auto.sh:47) expr='with import ./config.nix; mkDerivation { name = "gc-A"; buildCommand = '\'''\'' set -x [[ $(ls $NIX_STORE/*-garbage? | wc -l) = 3 ]] mkdir $out echo foo > $out/bar # Pretend that we run out of space echo 100 > /build/nix-test/gc-auto/fake-free.tmp1 mv /build/nix-test/gc-auto/fake-free.tmp1 /build/nix-test/gc-auto/fake-free # Wait for the GC to run for i in {1..20}; do echo '\'''\''${i}... if [[ $(ls $NIX_STORE/*-garbage? | wc -l) = 1 ]]; then exit 0 fi sleep 1 done exit 1 '\'''\''; }' ++(gc-auto.sh:62) cat +(gc-auto.sh:62) expr2='with import ./config.nix; mkDerivation { name = "gc-B"; buildCommand = '\'''\'' set -x mkdir $out echo foo > $out/bar # Wait for the first build to finish cat "/build/nix-test/gc-auto/fifoLock" '\'''\''; }' +(gc-auto.sh:66) pid1=8559 +(gc-auto.sh:70) pid2=8560 +(gc-auto.sh:75) wait 8559 +(gc-auto.sh:64) nix build --impure -v -o /build/nix-test/gc-auto/result-A -L --expr 'with import ./config.nix; mkDerivation { name = "gc-A"; buildCommand = '\'''\'' set -x [[ $(ls $NIX_STORE/*-garbage? | wc -l) = 3 ]] mkdir $out echo foo > $out/bar # Pretend that we run out of space echo 100 > /build/nix-test/gc-auto/fake-free.tmp1 mv /build/nix-test/gc-auto/fake-free.tmp1 /build/nix-test/gc-auto/fake-free # Wait for the GC to run for i in {1..20}; do echo '\'''\''${i}... if [[ $(ls $NIX_STORE/*-garbage? | wc -l) = 1 ]]; then exit 0 fi sleep 1 done exit 1 '\'''\''; }' --min-free 1000 --max-free 2000 --min-free-check-interval 1 +(gc-auto.sh:68) nix build --impure -v -o /build/nix-test/gc-auto/result-B -L --expr 'with import ./config.nix; mkDerivation { name = "gc-B"; buildCommand = '\'''\'' set -x mkdir $out echo foo > $out/bar # Wait for the first build to finish cat "/build/nix-test/gc-auto/fifoLock" '\'''\''; }' --min-free 1000 --max-free 2000 --min-free-check-interval 1 warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/gc-auto/store/02p8ms1jj38s8bxp8sv9sa4h7j664cfs-gc-A.drv warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/gc-auto/store/nv2wlbr8smfvxqq2sx719gbynp3jgcmg-gc-B.drv building '/build/nix-test/gc-auto/store/02p8ms1jj38s8bxp8sv9sa4h7j664cfs-gc-A.drv'... gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/lf5k4ckhj5wkz8mffsi1h8nw3cjvppfv-garbage1 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> +++ wc -l gc-A> ++ [[ 3 = 3 ]] gc-A> ++ mkdir /build/nix-test/gc-auto/store/5nnr6cwcskrkwq38sdmxj1vqh38b4zr2-gc-A gc-A> ++ echo foo gc-A> ++ echo 100 gc-A> ++ mv /build/nix-test/gc-auto/fake-free.tmp1 /build/nix-test/gc-auto/fake-free gc-A> ++ for i in {1..20} gc-A> ++ echo 1... gc-A> 1... gc-A> +++ wc -l gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/lf5k4ckhj5wkz8mffsi1h8nw3cjvppfv-garbage1 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> ++ [[ 3 = 1 ]] gc-A> ++ sleep 1 building '/build/nix-test/gc-auto/store/nv2wlbr8smfvxqq2sx719gbynp3jgcmg-gc-B.drv'... gc-B> ++ mkdir /build/nix-test/gc-auto/store/bi76dqqg51c7i0p8zj3yvsq7kryn8ail-gc-B gc-B> ++ echo foo gc-B> ++ cat /build/nix-test/gc-auto/fifoLock gc-A> ++ for i in {1..20} gc-A> ++ echo 2... gc-A> 2... running auto-GC to free 1900 bytes finding garbage collector roots... gc-A> +++ wc -l gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/lf5k4ckhj5wkz8mffsi1h8nw3cjvppfv-garbage1 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> ++ [[ 3 = 1 ]] gc-A> ++ sleep 1 deleting garbage... deleting '/build/nix-test/gc-auto/store/lf5k4ckhj5wkz8mffsi1h8nw3cjvppfv-garbage1' deleted more than 1900 bytes; stopping deleting unused links... note: currently hard linking saves 0.00 MiB gc-A> ++ for i in {1..20} gc-A> ++ echo 3... gc-A> 3... gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> +++ wc -l gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 gc-A> ++ for i in {1..20} gc-A> ++ echo 4... gc-A> 4... gc-A> +++ wc -l gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 gc-A> ++ for i in {1..20} gc-A> ++ echo 5... gc-A> 5... gc-A> +++ wc -l gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 gc-A> ++ for i in {1..20} gc-A> ++ echo 6... gc-A> 6... gc-A> +++ wc -l gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 gc-A> ++ for i in {1..20} gc-A> ++ echo 7... gc-A> 7... gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> +++ wc -l gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 gc-A> ++ for i in {1..20} gc-A> ++ echo 8... gc-A> 8... gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> +++ wc -l gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 gc-A> ++ for i in {1..20} gc-A> ++ echo 9... gc-A> 9... gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> +++ wc -l gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 gc-A> ++ for i in {1..20} gc-A> ++ echo 10... gc-A> 10... gc-A> +++ wc -l gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 running auto-GC to free 1900 bytes finding garbage collector roots... gc-A> ++ for i in {1..20} gc-A> ++ echo 11... gc-A> 11... gc-A> +++ wc -l gc-A> +++ ls /build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2 /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> ++ [[ 2 = 1 ]] gc-A> ++ sleep 1 deleting garbage... deleting '/build/nix-test/gc-auto/store/8qw73i50r6krxzwb9k78p46x6m0c93fs-garbage2' deleted more than 1900 bytes; stopping deleting unused links... note: currently hard linking saves 0.00 MiB gc-A> ++ for i in {1..20} gc-A> ++ echo 12... gc-A> 12... gc-A> +++ ls /build/nix-test/gc-auto/store/zxw3wqan3cg8aps569fp0s2badxwza9g-garbage3 gc-A> +++ wc -l gc-A> ++ [[ 1 = 1 ]] gc-A> ++ exit 0 +(gc-auto.sh:76) echo unlock +(gc-auto.sh:77) exit 0 +(gc-auto.sh:78) wait 8560 gc-B> unlock ++(gc-auto.sh:80) cat /build/nix-test/gc-auto/result-A/bar +(gc-auto.sh:80) [[ foo = foo ]] ++(gc-auto.sh:81) cat /build/nix-test/gc-auto/result-B/bar +(gc-auto.sh:81) [[ foo = foo ]] ============================================================================== =================================== 79/161 =================================== test: lix:installcheck / functional-flakes-mercurial start time: 20:57:34 duration: 15.34s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=212 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/mercurial.sh ----------------------------------- stdout ----------------------------------- null 123 123 null 3f4265d092dca1180f9022232dd773d5079abd74 {"locked":{"narHash":"sha256-1Sm3iVsIRfHz1sU5mt82DVUQDj3cbALVFv4TidhNCAg=","ref":"default","rev":"3f4265d092dca1180f9022232dd773d5079abd74","revCount":1,"type":"hg","url":"file:///build/nix-test/flakes/mercurial/flake-hg2"},"locks":{"nodes":{"flake1":{"locked":{"narHash":"sha256-2/88cbHpT0rv2dcYfqHVafXBy6OQVLvTrNdJRZ+C4Es=","ref":"default","rev":"66fecdb89eb6bdb313ed675d4bd618086a58ea76","revCount":0,"type":"hg","url":"file:///build/nix-test/flakes/mercurial/flake-hg1"},"original":{"id":"flake1","type":"indirect"}},"root":{"inputs":{"flake1":"flake1"}}},"root":"root","version":7},"original":{"type":"hg","url":"file:///build/nix-test/flakes/mercurial/flake-hg2"},"originalUrl":"hg+file:///build/nix-test/flakes/mercurial/flake-hg2","path":"/build/nix-test/flakes/mercurial/store/igrz0m2bkh9lnvq3a27c6wj3wq420vd4-source","resolved":{"type":"hg","url":"file:///build/nix-test/flakes/mercurial/flake-hg2"},"resolvedUrl":"hg+file:///build/nix-test/flakes/mercurial/flake-hg2","revCount":1,"revision":"3f4265d092dca1180f9022232dd773d5079abd74","url":"hg+file:///build/nix-test/flakes/mercurial/flake-hg2?ref=default&rev=3f4265d092dca1180f9022232dd773d5079abd74"} [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/mercurial +(init.sh:7) test -d /build/nix-test/flakes/mercurial +(init.sh:8) chmod -R u+w /build/nix-test/flakes/mercurial +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/mercurial +(init.sh:13) mkdir /build/nix-test/flakes/mercurial +(init.sh:15) mkdir /build/nix-test/flakes/mercurial/store +(init.sh:16) mkdir /build/nix-test/flakes/mercurial/var +(init.sh:17) mkdir -p /build/nix-test/flakes/mercurial/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/mercurial/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/mercurial/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/mercurial/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/mercurial/registry.json ++(mercurial.sh:3) type -p hg +(mercurial.sh:3) [[ -n /nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin/hg ]] +(mercurial.sh:5) flake1Dir=/build/nix-test/flakes/mercurial/flake-hg1 +(mercurial.sh:6) mkdir -p /build/nix-test/flakes/mercurial/flake-hg1 +(mercurial.sh:7) writeSimpleFlake /build/nix-test/flakes/mercurial/flake-hg1 +(./common.sh:6) local flakeDir=/build/nix-test/flakes/mercurial/flake-hg1 +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/mercurial/flake-hg1/ +(mercurial.sh:8) hg init /build/nix-test/flakes/mercurial/flake-hg1 +(mercurial.sh:10) nix registry add --registry /build/nix-test/flakes/mercurial/registry.json flake1 hg+file:///build/nix-test/flakes/mercurial/flake-hg1 warning: you don't have Internet access; disabling some network-dependent features +(mercurial.sh:12) flake2Dir=/build/nix-test/flakes/mercurial/flake-hg2 +(mercurial.sh:13) mkdir -p /build/nix-test/flakes/mercurial/flake-hg2 +(mercurial.sh:14) writeDependentFlake /build/nix-test/flakes/mercurial/flake-hg2 +(./common.sh:38) local flakeDir=/build/nix-test/flakes/mercurial/flake-hg2 +(./common.sh:39) cat +(mercurial.sh:15) hg init /build/nix-test/flakes/mercurial/flake-hg2 +(mercurial.sh:17) hg add /build/nix-test/flakes/mercurial/flake-hg1/config.nix /build/nix-test/flakes/mercurial/flake-hg1/flake.nix /build/nix-test/flakes/mercurial/flake-hg1/simple.builder.sh /build/nix-test/flakes/mercurial/flake-hg1/simple.nix +(mercurial.sh:18) hg commit --config ui.username=foobar@example.org /build/nix-test/flakes/mercurial/flake-hg1 -m 'Initial commit' +(mercurial.sh:20) hg add /build/nix-test/flakes/mercurial/flake-hg2/flake.nix +(mercurial.sh:21) hg commit --config ui.username=foobar@example.org /build/nix-test/flakes/mercurial/flake-hg2 -m 'Initial commit' +(mercurial.sh:23) nix build -o /build/nix-test/flakes/mercurial/result hg+file:///build/nix-test/flakes/mercurial/flake-hg2 warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg1' warning: creating lock file '/build/nix-test/flakes/mercurial/flake-hg2/flake.lock': • Added input 'flake1': 'hg+file:///build/nix-test/flakes/mercurial/flake-hg1?ref=default&rev=66fecdb89eb6bdb313ed675d4bd618086a58ea76' fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' warning: Mercurial tree '/build/nix-test/flakes/mercurial/flake-hg2' is unclean this derivation will be built: /build/nix-test/flakes/mercurial/store/q9d8jfz0nfjhlji76dcbyfnhc6wrffjn-simple.drv building '/build/nix-test/flakes/mercurial/store/q9d8jfz0nfjhlji76dcbyfnhc6wrffjn-simple.drv'... +(mercurial.sh:24) [[ -e /build/nix-test/flakes/mercurial/result/hello ]] +(mercurial.sh:26) nix flake metadata --json hg+file:///build/nix-test/flakes/mercurial/flake-hg2 +(mercurial.sh:26) jq -e -r .revision warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' warning: Mercurial tree '/build/nix-test/flakes/mercurial/flake-hg2' is unclean +(mercurial.sh:28) nix eval hg+file:///build/nix-test/flakes/mercurial/flake-hg2#expr warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' warning: Mercurial tree '/build/nix-test/flakes/mercurial/flake-hg2' is unclean +(mercurial.sh:30) nix eval hg+file:///build/nix-test/flakes/mercurial/flake-hg2#expr warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' warning: Mercurial tree '/build/nix-test/flakes/mercurial/flake-hg2' is unclean +(mercurial.sh:32) nix eval hg+file:///build/nix-test/flakes/mercurial/flake-hg2#expr --no-allow-dirty warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' error: … while fetching the input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' error: Mercurial tree '/build/nix-test/flakes/mercurial/flake-hg2' is unclean +(mercurial.sh:34) nix flake metadata --json hg+file:///build/nix-test/flakes/mercurial/flake-hg2 +(mercurial.sh:34) jq -e -r .revision warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' warning: Mercurial tree '/build/nix-test/flakes/mercurial/flake-hg2' is unclean +(mercurial.sh:36) hg commit --config ui.username=foobar@example.org /build/nix-test/flakes/mercurial/flake-hg2 -m 'Add lock file' +(mercurial.sh:38) nix flake metadata --json hg+file:///build/nix-test/flakes/mercurial/flake-hg2 --refresh +(mercurial.sh:38) jq -e -r .revision warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' +(mercurial.sh:39) nix flake metadata --json hg+file:///build/nix-test/flakes/mercurial/flake-hg2 warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' ++(mercurial.sh:40) nix flake metadata --json hg+file:///build/nix-test/flakes/mercurial/flake-hg2 ++(mercurial.sh:40) jq -e -r .revCount warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' +(mercurial.sh:40) [[ 1 = 1 ]] +(mercurial.sh:42) nix build -o /build/nix-test/flakes/mercurial/result hg+file:///build/nix-test/flakes/mercurial/flake-hg2 --no-registries --no-allow-dirty warning: '--no-registries' is deprecated; use '--no-use-registries' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' +(mercurial.sh:43) nix build -o /build/nix-test/flakes/mercurial/result hg+file:///build/nix-test/flakes/mercurial/flake-hg2 --no-use-registries --no-allow-dirty warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/flakes/mercurial/flake-hg2' ============================================================================== =================================== 80/161 =================================== test: lix:installcheck / functional-secure-drv-outputs start time: 20:57:49 duration: 0.75s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=49 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py secure-drv-outputs.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/secure-drv-outputs +(init.sh:7) test -d /build/nix-test/secure-drv-outputs +(init.sh:8) chmod -R u+w /build/nix-test/secure-drv-outputs +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/secure-drv-outputs +(init.sh:13) mkdir /build/nix-test/secure-drv-outputs +(init.sh:15) mkdir /build/nix-test/secure-drv-outputs/store +(init.sh:16) mkdir /build/nix-test/secure-drv-outputs/var +(init.sh:17) mkdir -p /build/nix-test/secure-drv-outputs/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/secure-drv-outputs/var/nix +(init.sh:19) mkdir /build/nix-test/secure-drv-outputs/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/secure-drv-outputs/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(secure-drv-outputs.sh:7) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/secure-drv-outputs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/secure-drv-outputs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/secure-drv-outputs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/secure-drv-outputs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/secure-drv-outputs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/secure-drv-outputs/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/secure-drv-outputs/test-home/.local/state/nix/profiles +(secure-drv-outputs.sh:9) startDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:91) [[ '' != '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:95) rm -f /build/nix-test/secure-drv-outputs/dSocket +(/build/source/build/tests/functional/common/vars-and-functions.sh:97) _NIX_TEST_DAEMON_PID=14356 +(/build/source/build/tests/functional/common/vars-and-functions.sh:98) export _NIX_TEST_DAEMON_PID +(/build/source/build/tests/functional/common/vars-and-functions.sh:99) (( i = 0 )) +(/build/source/build/tests/functional/common/vars-and-functions.sh:99) (( i < 300 )) +(/build/source/build/tests/functional/common/vars-and-functions.sh:100) [[ -S /build/nix-test/secure-drv-outputs/dSocket ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:104) sleep 0.1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:96) PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin +(/build/source/build/tests/functional/common/vars-and-functions.sh:96) nix --extra-experimental-features nix-command daemon warning: you don't have Internet access; disabling some network-dependent features +(/build/source/build/tests/functional/common/vars-and-functions.sh:99) (( i++ )) +(/build/source/build/tests/functional/common/vars-and-functions.sh:99) (( i < 300 )) +(/build/source/build/tests/functional/common/vars-and-functions.sh:100) [[ -S /build/nix-test/secure-drv-outputs/dSocket ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:101) DAEMON_STARTED=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:102) break +(/build/source/build/tests/functional/common/vars-and-functions.sh:106) [[ -z x ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:109) trap killDaemon EXIT +(/build/source/build/tests/functional/common/vars-and-functions.sh:111) NIX_REMOTE_OLD= +(/build/source/build/tests/functional/common/vars-and-functions.sh:112) export NIX_REMOTE=daemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:112) NIX_REMOTE=daemon +++(secure-drv-outputs.sh:12) nix-instantiate ./secure-drv-outputs.nix -A good accepted connection from pid 14391, user nixbld (trusted) warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(secure-drv-outputs.sh:12) nix-store -q /build/nix-test/secure-drv-outputs/store/kqv31g4m8k0agz0bryl19gynar4nkxsy-good.drv accepted connection from pid 14390, user nixbld (trusted) +(secure-drv-outputs.sh:12) goodOut=/build/nix-test/secure-drv-outputs/store/za6srpjnrj7ngwc5jyiyvl4srsw08f10-good ++(secure-drv-outputs.sh:15) nix-instantiate ./secure-drv-outputs.nix -A bad accepted connection from pid 14452, user nixbld (trusted) warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(secure-drv-outputs.sh:15) badDrv=/build/nix-test/secure-drv-outputs/store/f7kmxhm1gfjjzzl8l8wzpi0pk4xnbvd9-good.drv ++(secure-drv-outputs.sh:16) nix-store -q /build/nix-test/secure-drv-outputs/store/f7kmxhm1gfjjzzl8l8wzpi0pk4xnbvd9-good.drv accepted connection from pid 14480, user nixbld (trusted) +(secure-drv-outputs.sh:16) badOut=/build/nix-test/secure-drv-outputs/store/27ap572n0i8xpx56wr67iqb14817k6qw-good +(secure-drv-outputs.sh:20) rm -f /build/nix-test/secure-drv-outputs/bad.drv +(secure-drv-outputs.sh:21) sed -e 's|/build/nix-test/secure-drv-outputs/store/27ap572n0i8xpx56wr67iqb14817k6qw-good|/build/nix-test/secure-drv-outputs/store/za6srpjnrj7ngwc5jyiyvl4srsw08f10-good|g' ++(secure-drv-outputs.sh:25) nix-store --add /build/nix-test/secure-drv-outputs/bad.drv accepted connection from pid 14513, user nixbld (trusted) error: derivation '/build/nix-test/secure-drv-outputs/store/7fn3fby7fd3rvzwwizgdfjh7kikc6kr1-bad.drv' has incorrect output '/build/nix-test/secure-drv-outputs/store/za6srpjnrj7ngwc5jyiyvl4srsw08f10-good', should be '/build/nix-test/secure-drv-outputs/store/afv8cjx0jvah9r9w6l9s9ggn5sshr0h8-bad' +(secure-drv-outputs.sh:25) badDrv2= ++(secure-drv-outputs.sh:30) nix-build ./secure-drv-outputs.nix -A good --no-out-link accepted connection from pid 14544, user nixbld (trusted) this derivation will be built: /build/nix-test/secure-drv-outputs/store/kqv31g4m8k0agz0bryl19gynar4nkxsy-good.drv building '/build/nix-test/secure-drv-outputs/store/kqv31g4m8k0agz0bryl19gynar4nkxsy-good.drv'... +(secure-drv-outputs.sh:30) goodOut2=/build/nix-test/secure-drv-outputs/store/za6srpjnrj7ngwc5jyiyvl4srsw08f10-good +(secure-drv-outputs.sh:31) test /build/nix-test/secure-drv-outputs/store/za6srpjnrj7ngwc5jyiyvl4srsw08f10-good = /build/nix-test/secure-drv-outputs/store/za6srpjnrj7ngwc5jyiyvl4srsw08f10-good +(secure-drv-outputs.sh:33) test -e /build/nix-test/secure-drv-outputs/store/za6srpjnrj7ngwc5jyiyvl4srsw08f10-good/good +(secure-drv-outputs.sh:1) killDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:117) [[ 14356 == '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:120) kill 14356 +(/build/source/build/tests/functional/common/vars-and-functions.sh:121) for i in {0..100} +(/build/source/build/tests/functional/common/vars-and-functions.sh:122) kill -0 14356 +(/build/source/build/tests/functional/common/vars-and-functions.sh:123) sleep 0.1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:121) for i in {0..100} +(/build/source/build/tests/functional/common/vars-and-functions.sh:122) kill -0 14356 +(/build/source/build/tests/functional/common/vars-and-functions.sh:122) break +(/build/source/build/tests/functional/common/vars-and-functions.sh:125) kill -9 14356 +(/build/source/build/tests/functional/common/vars-and-functions.sh:125) true +(/build/source/build/tests/functional/common/vars-and-functions.sh:126) wait 14356 +(/build/source/build/tests/functional/common/vars-and-functions.sh:127) rm -f /build/nix-test/secure-drv-outputs/dSocket +(/build/source/build/tests/functional/common/vars-and-functions.sh:129) unset _NIX_TEST_DAEMON_PID +(/build/source/build/tests/functional/common/vars-and-functions.sh:131) NIX_REMOTE= +(/build/source/build/tests/functional/common/vars-and-functions.sh:132) trap '' EXIT ============================================================================== =================================== 81/161 =================================== test: lix:installcheck / functional-nix-shell start time: 20:57:48 duration: 1.88s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=52 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix-shell.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/nix-shell/shell.drv!dev /build/nix-test/nix-shell/shell!dev [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix-shell +(init.sh:7) test -d /build/nix-test/nix-shell +(init.sh:8) chmod -R u+w /build/nix-test/nix-shell +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix-shell +(init.sh:13) mkdir /build/nix-test/nix-shell +(init.sh:15) mkdir /build/nix-test/nix-shell/store +(init.sh:16) mkdir /build/nix-test/nix-shell/var +(init.sh:17) mkdir -p /build/nix-test/nix-shell/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix-shell/var/nix +(init.sh:19) mkdir /build/nix-test/nix-shell/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix-shell/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix-shell.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/nix-shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/nix-shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/nix-shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/nix-shell/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/nix-shell/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-shell/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-shell/test-home/.local/state/nix/profiles +(nix-shell.sh:5) [[ -n '' ]] +(nix-shell.sh:8) shellDotNix=/build/source/build/tests/functional/shell.nix +(nix-shell.sh:11) export NIX_PATH=nixpkgs=/build/source/build/tests/functional/shell.nix +(nix-shell.sh:11) NIX_PATH=nixpkgs=/build/source/build/tests/functional/shell.nix +(nix-shell.sh:14) export IMPURE_VAR=foo +(nix-shell.sh:14) IMPURE_VAR=foo +(nix-shell.sh:15) export SELECTED_IMPURE_VAR=baz +(nix-shell.sh:15) SELECTED_IMPURE_VAR=baz ++(nix-shell.sh:18) nix-shell --pure /build/source/build/tests/functional/shell.nix -A shellDrv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"' these 2 derivations will be built: /build/nix-test/nix-shell/store/48gb7h8xchpms876y7zlmbl5mzsvzng8-stdenv.drv /build/nix-test/nix-shell/store/nnkc34lqcbsz6k6b3f670vdw19h2s566-bash.drv building '/build/nix-test/nix-shell/store/48gb7h8xchpms876y7zlmbl5mzsvzng8-stdenv.drv'... building '/build/nix-test/nix-shell/store/nnkc34lqcbsz6k6b3f670vdw19h2s566-bash.drv'... +(nix-shell.sh:18) output=' - foo - bar - true' +(nix-shell.sh:20) '[' ' - foo - bar - true' = ' - foo - bar - true' ']' ++(nix-shell.sh:24) nix-shell --pure --keep SELECTED_IMPURE_VAR /build/source/build/tests/functional/shell.nix -A shellDrv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $SELECTED_IMPURE_VAR"' +(nix-shell.sh:24) output=' - foo - bar - baz' +(nix-shell.sh:26) '[' ' - foo - bar - baz' = ' - foo - bar - baz' ']' +++(nix-shell.sh:30) nix-instantiate /build/source/build/tests/functional/shell.nix -A shellDrv warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(nix-shell.sh:30) nix-shell --pure '/build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv!dev' --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"' +(nix-shell.sh:30) [[ - foo - bar - false = \ \-\ \f\o\o\ \-\ \b\a\r\ \-\ \f\a\l\s\e ]] +++(nix-shell.sh:33) nix-instantiate /build/source/build/tests/functional/shell.nix -A shellDrv warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(nix-shell.sh:33) nix-shell --pure '/build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv!dev' --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"' +(nix-shell.sh:33) [[ - foo - bar - false = \ \-\ \f\o\o\ \-\ \b\a\r\ \-\ \f\a\l\s\e ]] +(nix-shell.sh:38) nix-instantiate /build/source/build/tests/functional/shell.nix -A shellDrv --add-root /build/nix-test/nix-shell/shell.drv ++(nix-shell.sh:40) nix-shell --pure /build/nix-test/nix-shell/shell.drv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX"' +(nix-shell.sh:40) [[ - foo - bar = \ \-\ \f\o\o\ \-\ \b\a\r ]] +(nix-shell.sh:43) nix-instantiate /build/source/build/tests/functional/shell.nix -A shellDrv --add-root /build/nix-test/nix-shell/shell ++(nix-shell.sh:45) nix-shell --pure /build/nix-test/nix-shell/shell --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX"' +(nix-shell.sh:45) [[ - foo - bar = \ \-\ \f\o\o\ \-\ \b\a\r ]] ++(nix-shell.sh:48) NIX_PATH=nixpkgs=/build/source/build/tests/functional/shell.nix ++(nix-shell.sh:48) nix-shell --pure -p foo bar --run 'echo "$(foo) $(bar)"' these 2 derivations will be built: /build/nix-test/nix-shell/store/gngpvqmk3b3j6lk7v5mhy17ig1wqww47-foo.drv /build/nix-test/nix-shell/store/kgm4w61vc3xkan9s2n0qaq4zsff6mjzg-bar.drv building '/build/nix-test/nix-shell/store/kgm4w61vc3xkan9s2n0qaq4zsff6mjzg-bar.drv'... building '/build/nix-test/nix-shell/store/gngpvqmk3b3j6lk7v5mhy17ig1wqww47-foo.drv'... +(nix-shell.sh:48) output='foo bar' +(nix-shell.sh:49) '[' 'foo bar' = 'foo bar' ']' ++(nix-shell.sh:52) NIX_PATH=nixpkgs=/build/source/build/tests/functional/shell.nix ++(nix-shell.sh:52) nix-shell --pure -p foo --argstr fooContents baz --run 'echo "$(foo)"' this derivation will be built: /build/nix-test/nix-shell/store/xm6bbqrrnh2vknrh2mvap0hainaiirnj-foo.drv building '/build/nix-test/nix-shell/store/xm6bbqrrnh2vknrh2mvap0hainaiirnj-foo.drv'... +(nix-shell.sh:52) output=baz +(nix-shell.sh:53) '[' baz = baz ']' ++(nix-shell.sh:56) type -P env +(nix-shell.sh:56) sed -e 's|@ENV_PROG@|/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin/env|' shell.shebang.sh +(nix-shell.sh:57) chmod a+rx /build/nix-test/nix-shell/shell.shebang.sh ++(nix-shell.sh:59) /build/nix-test/nix-shell/shell.shebang.sh abc def +(nix-shell.sh:59) output='foo bar abc def' +(nix-shell.sh:60) '[' 'foo bar abc def' = 'foo bar abc def' ']' ++(nix-shell.sh:64) type -P env +(nix-shell.sh:64) sed -e 's|@ENV_PROG@|/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin/env|' shell.shebang.sh +(nix-shell.sh:65) chmod a+rx '/build/nix-test/nix-shell/spaced \'\''"shell.shebang.sh' ++(nix-shell.sh:67) '/build/nix-test/nix-shell/spaced \'\''"shell.shebang.sh' abc def +(nix-shell.sh:67) output='foo bar abc def' +(nix-shell.sh:68) '[' 'foo bar abc def' = 'foo bar abc def' ']' ++(nix-shell.sh:73) type -P nix-shell +(nix-shell.sh:73) sed -e 's|@SHELL_PROG@|/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix-shell|' shell.shebang.rb +(nix-shell.sh:74) chmod a+rx /build/nix-test/nix-shell/shell.shebang.rb ++(nix-shell.sh:76) /build/nix-test/nix-shell/shell.shebang.rb abc ruby this derivation will be built: /build/nix-test/nix-shell/store/s9ms21r65vnhvlh1xzf10hbizsks5x7y-ruby.drv building '/build/nix-test/nix-shell/store/s9ms21r65vnhvlh1xzf10hbizsks5x7y-ruby.drv'... +(nix-shell.sh:76) output='-e load(ARGV.shift) -- /build/nix-test/nix-shell/shell.shebang.rb abc ruby' +(nix-shell.sh:77) '[' '-e load(ARGV.shift) -- /build/nix-test/nix-shell/shell.shebang.rb abc ruby' = '-e load(ARGV.shift) -- /build/nix-test/nix-shell/shell.shebang.rb abc ruby' ']' ++(nix-shell.sh:81) type -P nix-shell +(nix-shell.sh:81) sed -e 's|@SHELL_PROG@|/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix-shell|' shell.shebang.rb +(nix-shell.sh:82) chmod a+rx '/build/nix-test/nix-shell/spaced \'\''"shell.shebang.rb' ++(nix-shell.sh:84) '/build/nix-test/nix-shell/spaced \'\''"shell.shebang.rb' abc ruby +(nix-shell.sh:84) output='-e load(ARGV.shift) -- /build/nix-test/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' +(nix-shell.sh:85) '[' '-e load(ARGV.shift) -- /build/nix-test/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' = '-e load(ARGV.shift) -- /build/nix-test/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' ']' ++(nix-shell.sh:88) type -P env +(nix-shell.sh:88) sed -e 's|@ENV_PROG@|/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin/env|' shell.shebang.nix +(nix-shell.sh:89) chmod a+rx /build/nix-test/nix-shell/shell.shebang.nix +(nix-shell.sh:90) /build/nix-test/nix-shell/shell.shebang.nix +(nix-shell.sh:93) nix develop -f /build/source/build/tests/functional/shell.nix shellDrv -c bash -c '[[ -n $stdenv ]]' warning: you don't have Internet access; disabling some network-dependent features building '/build/nix-test/nix-shell/store/5zmwh74zi00iccrm3x5nlfvjrcrz1wz0-shellDrv-env.drv'... warning: cannot read flake registry '/build/nix-test/nix-shell/registry.json': path does not exist error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries +(nix-shell.sh:96) echo foo +(nix-shell.sh:96) nix develop -f /build/source/build/tests/functional/shell.nix shellDrv -c cat +(nix-shell.sh:96) grepQuiet foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo warning: you don't have Internet access; disabling some network-dependent features warning: cannot read flake registry '/build/nix-test/nix-shell/registry.json': path does not exist error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries +(nix-shell.sh:99) grepQuiet foo +(nix-shell.sh:99) nix develop -f /build/source/build/tests/functional/shell.nix shellDrv -c echo foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo +(nix-shell.sh:103) nix print-dev-env -f /build/source/build/tests/functional/shell.nix shellDrv warning: you don't have Internet access; disabling some network-dependent features +(nix-shell.sh:104) nix print-dev-env -f /build/source/build/tests/functional/shell.nix shellDrv --json warning: you don't have Internet access; disabling some network-dependent features ++(nix-shell.sh:108) nix-instantiate /build/source/build/tests/functional/shell.nix -A shellDrv.out warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(nix-shell.sh:108) shellDrv=/build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv +(nix-shell.sh:110) nix develop /build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv -c bash -c '[[ -n $stdenv ]]' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv^*' warning: cannot read flake registry '/build/nix-test/nix-shell/registry.json': path does not exist error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries +(nix-shell.sh:112) nix print-dev-env /build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv^*' +(nix-shell.sh:113) nix print-dev-env /build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv --json warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/nix-shell/store/kckbpzhm5ql9gr4648bnk8fz84xxln0a-shellDrv.drv^*' +(nix-shell.sh:115) diff /build/nix-test/nix-shell/dev-env.sh /build/nix-test/nix-shell/dev-env2.sh +(nix-shell.sh:116) diff /build/nix-test/nix-shell/dev-env.json /build/nix-test/nix-shell/dev-env2.json ++(nix-shell.sh:119) jq -r '.variables.arr1.value[2]' /build/nix-test/nix-shell/dev-env.json +(nix-shell.sh:119) [[ 3 4 = \3\ \4 ]] +(nix-shell.sh:124) set -u +(nix-shell.sh:128) path=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin +(nix-shell.sh:129) source /build/nix-test/nix-shell/dev-env.sh ++(/build/nix-test/nix-shell/dev-env.sh:1) unset shellHook ++(/build/nix-test/nix-shell/dev-env.sh:2) PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin ++(/build/nix-test/nix-shell/dev-env.sh:3) nix_saved_PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin ++(/build/nix-test/nix-shell/dev-env.sh:4) XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share ++(/build/nix-test/nix-shell/dev-env.sh:5) nix_saved_XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share ++(/build/nix-test/nix-shell/dev-env.sh:6) ASCII_AT=@ ++(/build/nix-test/nix-shell/dev-env.sh:7) export ASCII_AT ++(/build/nix-test/nix-shell/dev-env.sh:8) ASCII_PERCENT=% ++(/build/nix-test/nix-shell/dev-env.sh:9) export ASCII_PERCENT ++(/build/nix-test/nix-shell/dev-env.sh:10) BASH=/noshell ++(/build/nix-test/nix-shell/dev-env.sh:11) HOSTTYPE=x86_64 ++(/build/nix-test/nix-shell/dev-env.sh:13) IFS=' ' ++(/build/nix-test/nix-shell/dev-env.sh:14) IN_NIX_SHELL=impure ++(/build/nix-test/nix-shell/dev-env.sh:15) export IN_NIX_SHELL ++(/build/nix-test/nix-shell/dev-env.sh:16) LINENO=76 ++(/build/nix-test/nix-shell/dev-env.sh:17) MACHTYPE=x86_64-pc-linux-gnu ++(/build/nix-test/nix-shell/dev-env.sh:18) NIX_BUILD_CORES=8 ++(/build/nix-test/nix-shell/dev-env.sh:19) export NIX_BUILD_CORES ++(/build/nix-test/nix-shell/dev-env.sh:20) NIX_STORE=/build/nix-test/nix-shell/store ++(/build/nix-test/nix-shell/dev-env.sh:21) export NIX_STORE ++(/build/nix-test/nix-shell/dev-env.sh:22) OLDPWD= ++(/build/nix-test/nix-shell/dev-env.sh:23) export OLDPWD ++(/build/nix-test/nix-shell/dev-env.sh:24) OPTERR=1 ++(/build/nix-test/nix-shell/dev-env.sh:25) OSTYPE=linux-gnu ++(/build/nix-test/nix-shell/dev-env.sh:26) PATH=/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin ++(/build/nix-test/nix-shell/dev-env.sh:27) export PATH ++(/build/nix-test/nix-shell/dev-env.sh:28) PS4='+ ' ++ SHELL=/noshell ++ TEST_inNixShell=false ++ export TEST_inNixShell ++ VAR_FROM_NIX=bar ++ export VAR_FROM_NIX ++ VAR_FROM_STDENV_SETUP=foo ++ export VAR_FROM_STDENV_SETUP ++ arr1=('1' '2' '3 4' '5') ++ declare -a arr1 ++ arr2=('x' ' ' 'x y') ++ declare -a arr2 ++ builder=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash ++ export builder ++ dev=/build/source/build/tests/functional/outputs/dev ++ export dev ++ dontAddDisableDepTrack=1 ++ export dontAddDisableDepTrack ++ name=shellDrv-env ++ export name ++ out=/build/source/build/tests/functional/outputs/out ++ export out ++ outputs='dev out' ++ export outputs ++ stdenv=/build/nix-test/nix-shell/store/m954l6mgx73kmwrxb0drpr5n3qp1fm49-stdenv ++ export stdenv ++ system=x86_64-linux ++ export system ++ PATH=/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin ++ XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share +++ mktemp -d -t nix-shell.XXXXXX ++ export NIX_BUILD_TOP=/build/nix-shell.NMoXeU ++ NIX_BUILD_TOP=/build/nix-shell.NMoXeU ++ export TMP=/build/nix-shell.NMoXeU ++ TMP=/build/nix-shell.NMoXeU ++ export TMPDIR=/build/nix-shell.NMoXeU ++ TMPDIR=/build/nix-shell.NMoXeU ++ export TEMP=/build/nix-shell.NMoXeU ++ TEMP=/build/nix-shell.NMoXeU ++ export TEMPDIR=/build/nix-shell.NMoXeU ++ TEMPDIR=/build/nix-shell.NMoXeU ++ eval '' + [[ -n /build/nix-test/nix-shell/store/m954l6mgx73kmwrxb0drpr5n3qp1fm49-stdenv ]] + [[ 3 4 = \3\ \4 ]] + [[ = \ ]] + [[ x y = \x\ \y ]] ++ fun ++ echo blabla + [[ blabla = blabla ]] ++ jq -r .variables.PATH.value /build/nix-test/nix-shell/dev-env.json + [[ /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin = /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin ]] +(nix-shell.sh:140) path=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin +(nix-shell.sh:141) PATH= +(nix-shell.sh:142) source /build/nix-test/nix-shell/dev-env.sh ++(/build/nix-test/nix-shell/dev-env.sh:1) unset shellHook ++(/build/nix-test/nix-shell/dev-env.sh:2) PATH= ++(/build/nix-test/nix-shell/dev-env.sh:3) nix_saved_PATH= ++(/build/nix-test/nix-shell/dev-env.sh:4) XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share ++(/build/nix-test/nix-shell/dev-env.sh:5) nix_saved_XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share ++(/build/nix-test/nix-shell/dev-env.sh:6) ASCII_AT=@ ++(/build/nix-test/nix-shell/dev-env.sh:7) export ASCII_AT ++(/build/nix-test/nix-shell/dev-env.sh:8) ASCII_PERCENT=% ++(/build/nix-test/nix-shell/dev-env.sh:9) export ASCII_PERCENT ++(/build/nix-test/nix-shell/dev-env.sh:10) BASH=/noshell ++(/build/nix-test/nix-shell/dev-env.sh:11) HOSTTYPE=x86_64 ++(/build/nix-test/nix-shell/dev-env.sh:13) IFS=' ' ++(/build/nix-test/nix-shell/dev-env.sh:14) IN_NIX_SHELL=impure ++(/build/nix-test/nix-shell/dev-env.sh:15) export IN_NIX_SHELL ++(/build/nix-test/nix-shell/dev-env.sh:16) LINENO=76 ++(/build/nix-test/nix-shell/dev-env.sh:17) MACHTYPE=x86_64-pc-linux-gnu ++(/build/nix-test/nix-shell/dev-env.sh:18) NIX_BUILD_CORES=8 ++(/build/nix-test/nix-shell/dev-env.sh:19) export NIX_BUILD_CORES ++(/build/nix-test/nix-shell/dev-env.sh:20) NIX_STORE=/build/nix-test/nix-shell/store ++(/build/nix-test/nix-shell/dev-env.sh:21) export NIX_STORE ++(/build/nix-test/nix-shell/dev-env.sh:22) OLDPWD= ++(/build/nix-test/nix-shell/dev-env.sh:23) export OLDPWD ++(/build/nix-test/nix-shell/dev-env.sh:24) OPTERR=1 ++(/build/nix-test/nix-shell/dev-env.sh:25) OSTYPE=linux-gnu ++(/build/nix-test/nix-shell/dev-env.sh:26) PATH=/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin ++(/build/nix-test/nix-shell/dev-env.sh:27) export PATH ++(/build/nix-test/nix-shell/dev-env.sh:28) PS4='+ ' ++ SHELL=/noshell ++ TEST_inNixShell=false ++ export TEST_inNixShell ++ VAR_FROM_NIX=bar ++ export VAR_FROM_NIX ++ VAR_FROM_STDENV_SETUP=foo ++ export VAR_FROM_STDENV_SETUP ++ arr1=('1' '2' '3 4' '5') ++ declare -a arr1 ++ arr2=('x' ' ' 'x y') ++ declare -a arr2 ++ builder=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash ++ export builder ++ dev=/build/source/build/tests/functional/outputs/dev ++ export dev ++ dontAddDisableDepTrack=1 ++ export dontAddDisableDepTrack ++ name=shellDrv-env ++ export name ++ out=/build/source/build/tests/functional/outputs/out ++ export out ++ outputs='dev out' ++ export outputs ++ stdenv=/build/nix-test/nix-shell/store/m954l6mgx73kmwrxb0drpr5n3qp1fm49-stdenv ++ export stdenv ++ system=x86_64-linux ++ export system ++ PATH=/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin ++ XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share +++ mktemp -d -t nix-shell.XXXXXX ++ export NIX_BUILD_TOP=/build/nix-shell.tpRBYn ++ NIX_BUILD_TOP=/build/nix-shell.tpRBYn ++ export TMP=/build/nix-shell.tpRBYn ++ TMP=/build/nix-shell.tpRBYn ++ export TMPDIR=/build/nix-shell.tpRBYn ++ TMPDIR=/build/nix-shell.tpRBYn ++ export TEMP=/build/nix-shell.tpRBYn ++ TEMP=/build/nix-shell.tpRBYn ++ export TEMPDIR=/build/nix-shell.tpRBYn ++ TEMPDIR=/build/nix-shell.tpRBYn ++ eval '' ++ PATH=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin ++ jq -r .variables.PATH.value /build/nix-test/nix-shell/dev-env.json + [[ /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin = /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin ]] +(nix-shell.sh:147) cat +(nix-shell.sh:152) nix-shell /build/nix-test/nix-shell/shell-ellipsis.nix --run true ============================================================================== =================================== 82/161 =================================== test: lix:installcheck / functional-restricted start time: 20:57:49 duration: 1.34s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=164 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py restricted.sh ----------------------------------- stdout ----------------------------------- clearing store... 3 /build/nix-test/restricted/store/y4qh8dfmayb8c17ibifsah4b8010gycw-simple.drv /build/nix-test/restricted/store/y4qh8dfmayb8c17ibifsah4b8010gycw-simple.drv "with import ./config.nix;\n\nmkDerivation {\n name = \"simple\";\n builder = ./simple.builder.sh;\n PATH = \"\";\n goodPath = path;\n}\n" { "unpack-channel.nix" = "regular"; } /build/source/build/tests/functional /build/nix-test/restricted/store/s8qp1lv25xp4mji1y64q295zmcvp746q-restricted.sh3 error: access to absolute path '/build/source/build/tests/functional/restricted-innocent' is forbidden in pure eval mode (use '--impure' to override) [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/restricted +(init.sh:7) test -d /build/nix-test/restricted +(init.sh:8) chmod -R u+w /build/nix-test/restricted +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/restricted +(init.sh:13) mkdir /build/nix-test/restricted +(init.sh:15) mkdir /build/nix-test/restricted/store +(init.sh:16) mkdir /build/nix-test/restricted/var +(init.sh:17) mkdir -p /build/nix-test/restricted/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/restricted/var/nix +(init.sh:19) mkdir /build/nix-test/restricted/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/restricted/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(restricted.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/restricted/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/restricted/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/restricted/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/restricted/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/restricted/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/restricted/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/restricted/test-home/.local/state/nix/profiles +(restricted.sh:5) nix-instantiate --restrict-eval --eval -E '1 + 2' +(restricted.sh:6) nix-instantiate --eval --restrict-eval ./restricted.nix error: access to absolute path '/build/source/build/tests/functional/restricted.nix' is forbidden in restricted mode +(restricted.sh:7) nix-instantiate --eval --restrict-eval /dev/fd/63 ++(restricted.sh:7) echo '1 + 2' error: access to absolute path '/dev/fd/63' is forbidden in restricted mode +(restricted.sh:8) nix-instantiate --restrict-eval ./simple.nix -I src=. warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(restricted.sh:9) nix-instantiate --restrict-eval ./simple.nix -I src1=simple.nix -I src2=config.nix -I src3=./simple.builder.sh warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(restricted.sh:11) nix-instantiate --restrict-eval --eval -E 'builtins.readFile ./simple.nix' error: … while calling the 'readFile' builtin at «string»:1:1: 1| builtins.readFile ./simple.nix | ^ … while realising the context of path '/build/source/build/tests/functional/simple.nix' error: access to absolute path '/build/source/build/tests/functional/simple.nix' is forbidden in restricted mode +(restricted.sh:12) nix-instantiate --restrict-eval --eval -E 'builtins.readFile ./simple.nix' -I src=../.. +(restricted.sh:14) nix-instantiate --restrict-eval --eval -E 'builtins.readDir ../../src/nix-channel' error: … while calling the 'readDir' builtin at «string»:1:1: 1| builtins.readDir ../../src/nix-channel | ^ … while realising the context of path '/build/source/build/src/nix-channel' error: access to absolute path '/build/source/build/src/nix-channel' is forbidden in restricted mode +(restricted.sh:15) nix-instantiate --restrict-eval --eval -E 'builtins.readDir ../../src/nix-channel' -I src=../../src +(restricted.sh:17) nix-instantiate --restrict-eval --eval -E 'let __nixPath = [ { prefix = "foo"; path = ./.; } ]; in ' error: … while calling the 'findFile' builtin at «string»:1:58: 1| let __nixPath = [ { prefix = "foo"; path = ./.; } ]; in | ^ error: access to absolute path '/build/source/build/tests/functional' is forbidden in restricted mode +(restricted.sh:18) nix-instantiate --restrict-eval --eval -E 'let __nixPath = [ { prefix = "foo"; path = ./.; } ]; in ' -I src=. +++(restricted.sh:20) pwd +++(restricted.sh:20) pwd ++(restricted.sh:20) nix eval --raw --expr 'builtins.fetchurl file:///build/source/build/tests/functional/restricted.sh' --impure --restrict-eval --allowed-uris file:///build/source/build/tests/functional warning: you don't have Internet access; disabling some network-dependent features +(restricted.sh:20) p=/build/nix-test/restricted/store/s8qp1lv25xp4mji1y64q295zmcvp746q-restricted.sh +(restricted.sh:21) cmp /build/nix-test/restricted/store/s8qp1lv25xp4mji1y64q295zmcvp746q-restricted.sh restricted.sh ++(restricted.sh:23) pwd +(restricted.sh:23) nix eval --raw --expr 'builtins.fetchurl file:///build/source/build/tests/functional/restricted.sh' --impure --restrict-eval warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'fetchurl' builtin at «string»:1:1: 1| builtins.fetchurl file:///build/source/build/tests/functional/restricted.sh | ^ error: access to absolute path '/build/source/build/tests/functional/restricted.sh' is forbidden in restricted mode ++(restricted.sh:25) pwd ++(restricted.sh:25) pwd +(restricted.sh:25) nix eval --raw --expr 'builtins.fetchurl file:///build/source/build/tests/functional/restricted.sh' --impure --restrict-eval --allowed-uris file:///build/source/build/tests/functional/restricted.sh/ warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'fetchurl' builtin at «string»:1:1: 1| builtins.fetchurl file:///build/source/build/tests/functional/restricted.sh | ^ error: access to absolute path '/build/source/build/tests/functional/restricted.sh' is forbidden in restricted mode ++(restricted.sh:27) pwd ++(restricted.sh:27) pwd +(restricted.sh:27) nix eval --raw --expr 'builtins.fetchurl file:///build/source/build/tests/functional/restricted.sh' --impure --restrict-eval --allowed-uris file:///build/source/build/tests/functional/restricted.sh warning: you don't have Internet access; disabling some network-dependent features +(restricted.sh:29) nix eval --raw --expr 'builtins.fetchurl https://github.com/NixOS/patchelf/archive/master.tar.gz' --impure --restrict-eval warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'fetchurl' builtin at «string»:1:1: 1| builtins.fetchurl https://github.com/NixOS/patchelf/archive/master.tar.gz | ^ error: access to URI 'https://github.com/NixOS/patchelf/archive/master.tar.gz' is forbidden in restricted mode +(restricted.sh:30) nix eval --raw --expr 'builtins.fetchTarball https://github.com/NixOS/patchelf/archive/master.tar.gz' --impure --restrict-eval warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'fetchTarball' builtin at «string»:1:1: 1| builtins.fetchTarball https://github.com/NixOS/patchelf/archive/master.tar.gz | ^ error: access to URI 'https://github.com/NixOS/patchelf/archive/master.tar.gz' is forbidden in restricted mode +(restricted.sh:31) nix eval --raw --expr 'fetchGit git://github.com/NixOS/patchelf.git' --impure --restrict-eval warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'fetchGit' builtin at «string»:1:1: 1| fetchGit git://github.com/NixOS/patchelf.git | ^ error: access to URI 'git://github.com/NixOS/patchelf.git' is forbidden in restricted mode ++(restricted.sh:33) pwd +(restricted.sh:33) ln -sfn /build/source/build/tests/functional/restricted.nix /build/nix-test/restricted/restricted.nix ++(restricted.sh:34) nix-instantiate --eval /build/nix-test/restricted/restricted.nix +(restricted.sh:34) [[ 3 == 3 ]] +(restricted.sh:35) nix-instantiate --eval --restrict-eval /build/nix-test/restricted/restricted.nix error: access to absolute path '/build/nix-test/restricted/restricted.nix' is forbidden in restricted mode +(restricted.sh:36) nix-instantiate --eval --restrict-eval /build/nix-test/restricted/restricted.nix -I /build/nix-test/restricted error: access to canonical path '/build/source/build/tests/functional/restricted.nix' is forbidden in restricted mode +(restricted.sh:37) nix-instantiate --eval --restrict-eval /build/nix-test/restricted/restricted.nix -I . error: access to absolute path '/build/nix-test/restricted/restricted.nix' is forbidden in restricted mode +(restricted.sh:38) nix-instantiate --eval --restrict-eval /build/nix-test/restricted/restricted.nix -I /build/nix-test/restricted -I . ++(restricted.sh:40) nix eval --raw --impure --restrict-eval -I . --expr 'builtins.readFile "${import ./simple.nix}/hello"' warning: you don't have Internet access; disabling some network-dependent features building '/build/nix-test/restricted/store/y4qh8dfmayb8c17ibifsah4b8010gycw-simple.drv'... +(restricted.sh:40) [[ Hello World! == \H\e\l\l\o\ \W\o\r\l\d\! ]] ++(restricted.sh:43) pwd +(restricted.sh:43) traverseDir=/build/source/build/tests/functional/restricted-traverse-me ++(restricted.sh:44) pwd ++(restricted.sh:44) pwd +(restricted.sh:44) ln -sfn /build/source/build/tests/functional/restricted-secret /build/source/build/tests/functional/restricted-innocent +(restricted.sh:45) mkdir -p /build/source/build/tests/functional/restricted-traverse-me ++(restricted.sh:46) echo /build/source/build/tests/functional/restricted-traverse-me ++(restricted.sh:46) sed -e 's,[^/]\+,..,g' +(restricted.sh:46) goUp=../../../../../../.. +++(restricted.sh:49) pwd ++(restricted.sh:49) nix eval --raw --restrict-eval -I /build/source/build/tests/functional/restricted-traverse-me --expr 'builtins.readFile "/build/source/build/tests/functional/restricted-traverse-me/../../../../../../../build/source/build/tests/functional/restricted-innocent"' ++(restricted.sh:49) : +(restricted.sh:49) output='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while calling the '\''readFile'\'' builtin at «string»:1:1: 1| builtins.readFile "/build/source/build/tests/functional/restricted-traverse-me/../../../../../../../build/source/build/tests/functional/restricted-innocent" | ^ … while realising the context of path '\''/build/source/build/tests/functional/restricted-innocent'\'' error: access to absolute path '\''/build/source/build/tests/functional/restricted-innocent'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)' +(restricted.sh:50) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features error: … while calling the '\''readFile'\'' builtin at «string»:1:1: 1| builtins.readFile "/build/source/build/tests/functional/restricted-traverse-me/../../../../../../../build/source/build/tests/functional/restricted-innocent" | ^ … while realising the context of path '\''/build/source/build/tests/functional/restricted-innocent'\'' error: access to absolute path '\''/build/source/build/tests/functional/restricted-innocent'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)' +(restricted.sh:50) grep 'is forbidden' +(restricted.sh:51) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features error: … while calling the '\''readFile'\'' builtin at «string»:1:1: 1| builtins.readFile "/build/source/build/tests/functional/restricted-traverse-me/../../../../../../../build/source/build/tests/functional/restricted-innocent" | ^ … while realising the context of path '\''/build/source/build/tests/functional/restricted-innocent'\'' error: access to absolute path '\''/build/source/build/tests/functional/restricted-innocent'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)' +(restricted.sh:51) grepInverse -F restricted-secret +(/build/source/build/tests/functional/common/vars-and-functions.sh:258) grep -F restricted-secret +(restricted.sh:53) expectStderr 1 nix-instantiate --restrict-eval true ./dependencies.nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --restrict-eval true ./dependencies.nix +(restricted.sh:53) grepQuiet 'forbidden in restricted mode' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'forbidden in restricted mode' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ============================================================================== =================================== 83/161 =================================== test: lix:installcheck / functional-readfile-context start time: 20:57:50 duration: 0.52s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=94 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py readfile-context.sh ----------------------------------- stdout ----------------------------------- clearing store... 7 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/readfile-context +(init.sh:7) test -d /build/nix-test/readfile-context +(init.sh:8) chmod -R u+w /build/nix-test/readfile-context +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/readfile-context +(init.sh:13) mkdir /build/nix-test/readfile-context +(init.sh:15) mkdir /build/nix-test/readfile-context/store +(init.sh:16) mkdir /build/nix-test/readfile-context/var +(init.sh:17) mkdir -p /build/nix-test/readfile-context/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/readfile-context/var/nix +(init.sh:19) mkdir /build/nix-test/readfile-context/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/readfile-context/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(readfile-context.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/readfile-context/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/readfile-context/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/readfile-context/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/readfile-context/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/readfile-context/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/readfile-context/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/readfile-context/test-home/.local/state/nix/profiles ++(readfile-context.sh:5) nix-build --no-out-link readfile-context.nix building '/build/nix-test/readfile-context/store/s6k0zvaphmxzps0ijp4j53sx5krnr3hj-simple.drv'... PATH= building '/build/nix-test/readfile-context/store/v611636ary1wx827b4v7ndzjwmbb1rr3-dependent.drv'... this derivation will be built: /build/nix-test/readfile-context/store/dwrfxspv6jfq2pbind9hsj3s2xhx82p0-hello.drv building '/build/nix-test/readfile-context/store/dwrfxspv6jfq2pbind9hsj3s2xhx82p0-hello.drv'... +(readfile-context.sh:5) outPath=/build/nix-test/readfile-context/store/kni0n9dbgcnvx2lwi0p8ixj9lqvh03p5-hello +(readfile-context.sh:8) ln -s /build/nix-test/readfile-context/store/kni0n9dbgcnvx2lwi0p8ixj9lqvh03p5-hello /build/nix-test/readfile-context/var/nix/gcroots/foo +++(readfile-context.sh:11) cat /build/nix-test/readfile-context/store/kni0n9dbgcnvx2lwi0p8ixj9lqvh03p5-hello ++(readfile-context.sh:11) cat /build/nix-test/readfile-context/store/vjb22c9allzj6z9c9bjvh489v0jf06bs-simple/hello +(readfile-context.sh:11) '[' 'Hello World!' = 'Hello World!' ']' +(readfile-context.sh:13) nix-collect-garbage finding garbage collector roots... removing stale link from '/build/nix-test/readfile-context/var/nix/gcroots/auto/mqr116x0fgb234q39bh4gfm2vswbl3ia' to '/build/nix-build-15209-0/result' deleting garbage... deleting '/build/nix-test/readfile-context/store/v611636ary1wx827b4v7ndzjwmbb1rr3-dependent.drv' deleting '/build/nix-test/readfile-context/store/l655sklzag7n1s2fv718s0vh5hqmirf0-builder-dependent.sh' deleting '/build/nix-test/readfile-context/store/s6k0zvaphmxzps0ijp4j53sx5krnr3hj-simple.drv' deleting '/build/nix-test/readfile-context/store/096g47791z8pr5r7h069y8xh4fcpqxsr-simple.builder.sh' deleting '/build/nix-test/readfile-context/store/aq3pdq2r0n428714hv62k6a6q3jr2r9h-dependent' deleting '/build/nix-test/readfile-context/store/dwrfxspv6jfq2pbind9hsj3s2xhx82p0-hello.drv' deleting '/build/nix-test/readfile-context/store/hwrclsv3wxpxjpqbyx4x2q5cy0dkwfpi-builder-hello.sh' deleting unused links... note: currently hard linking saves 0.00 MiB +++(readfile-context.sh:16) cat /build/nix-test/readfile-context/store/kni0n9dbgcnvx2lwi0p8ixj9lqvh03p5-hello ++(readfile-context.sh:16) cat /build/nix-test/readfile-context/store/vjb22c9allzj6z9c9bjvh489v0jf06bs-simple/hello +(readfile-context.sh:16) '[' 'Hello World!' = 'Hello World!' ']' ============================================================================== =================================== 84/161 =================================== test: lix:installcheck / functional-hash start time: 20:57:48 duration: 2.82s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=246 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py hash.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/hash +(init.sh:7) test -d /build/nix-test/hash +(init.sh:8) chmod -R u+w /build/nix-test/hash +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/hash +(init.sh:13) mkdir /build/nix-test/hash +(init.sh:15) mkdir /build/nix-test/hash/store +(init.sh:16) mkdir /build/nix-test/hash/var +(init.sh:17) mkdir -p /build/nix-test/hash/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/hash/var/nix +(init.sh:19) mkdir /build/nix-test/hash/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/hash/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(hash.sh:17) FORMAT_FLAG=--base16 +(hash.sh:18) try md5 '' d41d8cd98f00b204e9800998ecf8427e +(hash.sh:4) printf %s '' ++(hash.sh:5) nix-hash --flat --base16 --type md5 /build/nix-test/hash/vector +(hash.sh:5) hash=d41d8cd98f00b204e9800998ecf8427e +(hash.sh:6) (( )) +(hash.sh:6) test d41d8cd98f00b204e9800998ecf8427e '!=' d41d8cd98f00b204e9800998ecf8427e ++(hash.sh:10) nix hash file --base16 --type md5 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=d41d8cd98f00b204e9800998ecf8427e +(hash.sh:11) (( )) +(hash.sh:11) test d41d8cd98f00b204e9800998ecf8427e '!=' d41d8cd98f00b204e9800998ecf8427e +(hash.sh:19) try md5 a 0cc175b9c0f1b6a831c399e269772661 +(hash.sh:4) printf %s a ++(hash.sh:5) nix-hash --flat --base16 --type md5 /build/nix-test/hash/vector +(hash.sh:5) hash=0cc175b9c0f1b6a831c399e269772661 +(hash.sh:6) (( )) +(hash.sh:6) test 0cc175b9c0f1b6a831c399e269772661 '!=' 0cc175b9c0f1b6a831c399e269772661 ++(hash.sh:10) nix hash file --base16 --type md5 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=0cc175b9c0f1b6a831c399e269772661 +(hash.sh:11) (( )) +(hash.sh:11) test 0cc175b9c0f1b6a831c399e269772661 '!=' 0cc175b9c0f1b6a831c399e269772661 +(hash.sh:20) try md5 abc 900150983cd24fb0d6963f7d28e17f72 +(hash.sh:4) printf %s abc ++(hash.sh:5) nix-hash --flat --base16 --type md5 /build/nix-test/hash/vector +(hash.sh:5) hash=900150983cd24fb0d6963f7d28e17f72 +(hash.sh:6) (( )) +(hash.sh:6) test 900150983cd24fb0d6963f7d28e17f72 '!=' 900150983cd24fb0d6963f7d28e17f72 ++(hash.sh:10) nix hash file --base16 --type md5 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=900150983cd24fb0d6963f7d28e17f72 +(hash.sh:11) (( )) +(hash.sh:11) test 900150983cd24fb0d6963f7d28e17f72 '!=' 900150983cd24fb0d6963f7d28e17f72 +(hash.sh:21) try md5 'message digest' f96b697d7cb7938d525a2f31aaf161d0 +(hash.sh:4) printf %s 'message digest' ++(hash.sh:5) nix-hash --flat --base16 --type md5 /build/nix-test/hash/vector +(hash.sh:5) hash=f96b697d7cb7938d525a2f31aaf161d0 +(hash.sh:6) (( )) +(hash.sh:6) test f96b697d7cb7938d525a2f31aaf161d0 '!=' f96b697d7cb7938d525a2f31aaf161d0 ++(hash.sh:10) nix hash file --base16 --type md5 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=f96b697d7cb7938d525a2f31aaf161d0 +(hash.sh:11) (( )) +(hash.sh:11) test f96b697d7cb7938d525a2f31aaf161d0 '!=' f96b697d7cb7938d525a2f31aaf161d0 +(hash.sh:22) try md5 abcdefghijklmnopqrstuvwxyz c3fcd3d76192e4007dfb496cca67e13b +(hash.sh:4) printf %s abcdefghijklmnopqrstuvwxyz ++(hash.sh:5) nix-hash --flat --base16 --type md5 /build/nix-test/hash/vector +(hash.sh:5) hash=c3fcd3d76192e4007dfb496cca67e13b +(hash.sh:6) (( )) +(hash.sh:6) test c3fcd3d76192e4007dfb496cca67e13b '!=' c3fcd3d76192e4007dfb496cca67e13b ++(hash.sh:10) nix hash file --base16 --type md5 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=c3fcd3d76192e4007dfb496cca67e13b +(hash.sh:11) (( )) +(hash.sh:11) test c3fcd3d76192e4007dfb496cca67e13b '!=' c3fcd3d76192e4007dfb496cca67e13b +(hash.sh:23) try md5 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 d174ab98d277d9f5a5611c2c9f419d9f +(hash.sh:4) printf %s ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ++(hash.sh:5) nix-hash --flat --base16 --type md5 /build/nix-test/hash/vector +(hash.sh:5) hash=d174ab98d277d9f5a5611c2c9f419d9f +(hash.sh:6) (( )) +(hash.sh:6) test d174ab98d277d9f5a5611c2c9f419d9f '!=' d174ab98d277d9f5a5611c2c9f419d9f ++(hash.sh:10) nix hash file --base16 --type md5 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=d174ab98d277d9f5a5611c2c9f419d9f +(hash.sh:11) (( )) +(hash.sh:11) test d174ab98d277d9f5a5611c2c9f419d9f '!=' d174ab98d277d9f5a5611c2c9f419d9f +(hash.sh:24) try md5 12345678901234567890123456789012345678901234567890123456789012345678901234567890 57edf4a22be3c955ac49da2e2107b67a +(hash.sh:4) printf %s 12345678901234567890123456789012345678901234567890123456789012345678901234567890 ++(hash.sh:5) nix-hash --flat --base16 --type md5 /build/nix-test/hash/vector +(hash.sh:5) hash=57edf4a22be3c955ac49da2e2107b67a +(hash.sh:6) (( )) +(hash.sh:6) test 57edf4a22be3c955ac49da2e2107b67a '!=' 57edf4a22be3c955ac49da2e2107b67a ++(hash.sh:10) nix hash file --base16 --type md5 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=57edf4a22be3c955ac49da2e2107b67a +(hash.sh:11) (( )) +(hash.sh:11) test 57edf4a22be3c955ac49da2e2107b67a '!=' 57edf4a22be3c955ac49da2e2107b67a +(hash.sh:26) try sha1 '' da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash.sh:4) printf %s '' ++(hash.sh:5) nix-hash --flat --base16 --type sha1 /build/nix-test/hash/vector +(hash.sh:5) hash=da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash.sh:6) (( )) +(hash.sh:6) test da39a3ee5e6b4b0d3255bfef95601890afd80709 '!=' da39a3ee5e6b4b0d3255bfef95601890afd80709 ++(hash.sh:10) nix hash file --base16 --type sha1 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash.sh:11) (( )) +(hash.sh:11) test da39a3ee5e6b4b0d3255bfef95601890afd80709 '!=' da39a3ee5e6b4b0d3255bfef95601890afd80709 +(hash.sh:27) try sha1 abc a9993e364706816aba3e25717850c26c9cd0d89d +(hash.sh:4) printf %s abc ++(hash.sh:5) nix-hash --flat --base16 --type sha1 /build/nix-test/hash/vector +(hash.sh:5) hash=a9993e364706816aba3e25717850c26c9cd0d89d +(hash.sh:6) (( )) +(hash.sh:6) test a9993e364706816aba3e25717850c26c9cd0d89d '!=' a9993e364706816aba3e25717850c26c9cd0d89d ++(hash.sh:10) nix hash file --base16 --type sha1 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=a9993e364706816aba3e25717850c26c9cd0d89d +(hash.sh:11) (( )) +(hash.sh:11) test a9993e364706816aba3e25717850c26c9cd0d89d '!=' a9993e364706816aba3e25717850c26c9cd0d89d +(hash.sh:28) try sha1 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq ++(hash.sh:5) nix-hash --flat --base16 --type sha1 /build/nix-test/hash/vector +(hash.sh:5) hash=84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash.sh:6) (( )) +(hash.sh:6) test 84983e441c3bd26ebaae4aa1f95129e5e54670f1 '!=' 84983e441c3bd26ebaae4aa1f95129e5e54670f1 ++(hash.sh:10) nix hash file --base16 --type sha1 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash.sh:11) (( )) +(hash.sh:11) test 84983e441c3bd26ebaae4aa1f95129e5e54670f1 '!=' 84983e441c3bd26ebaae4aa1f95129e5e54670f1 +(hash.sh:30) try sha256 '' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash.sh:4) printf %s '' ++(hash.sh:5) nix-hash --flat --base16 --type sha256 /build/nix-test/hash/vector +(hash.sh:5) hash=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash.sh:6) (( )) +(hash.sh:6) test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 '!=' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ++(hash.sh:10) nix hash file --base16 --type sha256 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash.sh:11) (( )) +(hash.sh:11) test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 '!=' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +(hash.sh:31) try sha256 abc ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:4) printf %s abc ++(hash.sh:5) nix-hash --flat --base16 --type sha256 /build/nix-test/hash/vector +(hash.sh:5) hash=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:6) (( )) +(hash.sh:6) test ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad '!=' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ++(hash.sh:10) nix hash file --base16 --type sha256 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:11) (( )) +(hash.sh:11) test ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad '!=' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:32) try sha256 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq ++(hash.sh:5) nix-hash --flat --base16 --type sha256 /build/nix-test/hash/vector +(hash.sh:5) hash=248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash.sh:6) (( )) +(hash.sh:6) test 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 '!=' 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 ++(hash.sh:10) nix hash file --base16 --type sha256 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash.sh:11) (( )) +(hash.sh:11) test 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 '!=' 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +(hash.sh:34) try sha512 '' cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +(hash.sh:4) printf %s '' ++(hash.sh:5) nix-hash --flat --base16 --type sha512 /build/nix-test/hash/vector +(hash.sh:5) hash=cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +(hash.sh:6) (( )) +(hash.sh:6) test cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e '!=' cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e ++(hash.sh:10) nix hash file --base16 --type sha512 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +(hash.sh:11) (( )) +(hash.sh:11) test cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e '!=' cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +(hash.sh:35) try sha512 abc ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f +(hash.sh:4) printf %s abc ++(hash.sh:5) nix-hash --flat --base16 --type sha512 /build/nix-test/hash/vector +(hash.sh:5) hash=ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f +(hash.sh:6) (( )) +(hash.sh:6) test ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f '!=' ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f ++(hash.sh:10) nix hash file --base16 --type sha512 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f +(hash.sh:11) (( )) +(hash.sh:11) test ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f '!=' ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f +(hash.sh:36) try sha512 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq ++(hash.sh:5) nix-hash --flat --base16 --type sha512 /build/nix-test/hash/vector +(hash.sh:5) hash=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:6) (( )) +(hash.sh:6) test 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 '!=' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 ++(hash.sh:10) nix hash file --base16 --type sha512 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:11) (( )) +(hash.sh:11) test 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 '!=' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:37) unset FORMAT_FLAG +(hash.sh:39) FORMAT_FLAG=--base32 +(hash.sh:40) try sha256 abc 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s +(hash.sh:4) printf %s abc ++(hash.sh:5) nix-hash --flat --base32 --type sha256 /build/nix-test/hash/vector +(hash.sh:5) hash=1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s +(hash.sh:6) (( )) +(hash.sh:6) test 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s '!=' 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s ++(hash.sh:10) nix hash file --base32 --type sha256 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s +(hash.sh:11) (( )) +(hash.sh:11) test 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s '!=' 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s +(hash.sh:41) unset FORMAT_FLAG +(hash.sh:43) FORMAT_FLAG=--sri +(hash.sh:44) try sha512 '' sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== +(hash.sh:4) printf %s '' ++(hash.sh:5) nix-hash --flat --sri --type sha512 /build/nix-test/hash/vector +(hash.sh:5) hash=sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== +(hash.sh:6) (( )) +(hash.sh:6) test sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== '!=' sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== ++(hash.sh:10) nix hash file --sri --type sha512 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== +(hash.sh:11) (( )) +(hash.sh:11) test sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== '!=' sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== +(hash.sh:45) try sha512 abc sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== +(hash.sh:4) printf %s abc ++(hash.sh:5) nix-hash --flat --sri --type sha512 /build/nix-test/hash/vector +(hash.sh:5) hash=sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== +(hash.sh:6) (( )) +(hash.sh:6) test sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== '!=' sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== ++(hash.sh:10) nix hash file --sri --type sha512 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== +(hash.sh:11) (( )) +(hash.sh:11) test sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== '!=' sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== +(hash.sh:46) try sha512 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== +(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq ++(hash.sh:5) nix-hash --flat --sri --type sha512 /build/nix-test/hash/vector +(hash.sh:5) hash=sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== +(hash.sh:6) (( )) +(hash.sh:6) test sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== '!=' sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ++(hash.sh:10) nix hash file --sri --type sha512 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== +(hash.sh:11) (( )) +(hash.sh:11) test sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== '!=' sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== +(hash.sh:47) try sha256 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= +(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq ++(hash.sh:5) nix-hash --flat --sri --type sha256 /build/nix-test/hash/vector +(hash.sh:5) hash=sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= +(hash.sh:6) (( )) +(hash.sh:6) test sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= '!=' sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= ++(hash.sh:10) nix hash file --sri --type sha256 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= +(hash.sh:11) (( )) +(hash.sh:11) test sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= '!=' sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= +(hash.sh:48) unset FORMAT_FLAG +(hash.sh:51) NO_TEST_NIX_COMMAND=1 +(hash.sh:51) try sha512 abc ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f +(hash.sh:4) printf %s abc ++(hash.sh:5) nix-hash --flat --type sha512 /build/nix-test/hash/vector +(hash.sh:5) hash=ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f +(hash.sh:6) (( )) +(hash.sh:6) test ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f '!=' ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f ++(hash.sh:10) nix hash file --type sha512 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== +(hash.sh:11) (( 1 )) +(hash.sh:54) NO_TEST_CLASSIC=1 +(hash.sh:54) try sha512 abc sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== +(hash.sh:4) printf %s abc ++(hash.sh:5) nix-hash --flat --type sha512 /build/nix-test/hash/vector +(hash.sh:5) hash=ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f +(hash.sh:6) (( 1 )) ++(hash.sh:10) nix hash file --type sha512 /build/nix-test/hash/vector warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:10) hash=sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== +(hash.sh:11) (( )) +(hash.sh:11) test sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== '!=' sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== +(hash.sh:64) rm -rf /build/nix-test/hash/hash-path +(hash.sh:65) mkdir /build/nix-test/hash/hash-path +(hash.sh:66) echo 'Hello World' +(hash.sh:68) try2 md5 ea9b55537dd4c7e104515b2ccfaf4100 ++(hash.sh:57) nix-hash --type md5 /build/nix-test/hash/hash-path +(hash.sh:57) hash=ea9b55537dd4c7e104515b2ccfaf4100 +(hash.sh:58) test ea9b55537dd4c7e104515b2ccfaf4100 '!=' ea9b55537dd4c7e104515b2ccfaf4100 +(hash.sh:71) chmod +x /build/nix-test/hash/hash-path/hello +(hash.sh:72) try2 md5 20f3ffe011d4cfa7d72bfabef7882836 ++(hash.sh:57) nix-hash --type md5 /build/nix-test/hash/hash-path +(hash.sh:57) hash=20f3ffe011d4cfa7d72bfabef7882836 +(hash.sh:58) test 20f3ffe011d4cfa7d72bfabef7882836 '!=' 20f3ffe011d4cfa7d72bfabef7882836 +(hash.sh:75) touch -r . /build/nix-test/hash/hash-path/hello +(hash.sh:76) chmod 744 /build/nix-test/hash/hash-path/hello +(hash.sh:77) try2 md5 20f3ffe011d4cfa7d72bfabef7882836 ++(hash.sh:57) nix-hash --type md5 /build/nix-test/hash/hash-path +(hash.sh:57) hash=20f3ffe011d4cfa7d72bfabef7882836 +(hash.sh:58) test 20f3ffe011d4cfa7d72bfabef7882836 '!=' 20f3ffe011d4cfa7d72bfabef7882836 +(hash.sh:80) rm /build/nix-test/hash/hash-path/hello +(hash.sh:81) ln -s x /build/nix-test/hash/hash-path/hello +(hash.sh:82) try2 md5 f78b733a68f5edbdf9413899339eaa4a ++(hash.sh:57) nix-hash --type md5 /build/nix-test/hash/hash-path +(hash.sh:57) hash=f78b733a68f5edbdf9413899339eaa4a +(hash.sh:58) test f78b733a68f5edbdf9413899339eaa4a '!=' f78b733a68f5edbdf9413899339eaa4a +(hash.sh:105) try3 sha1 800d59cfcd3c05e900cb4e214be48f6b886a08df vw46m23bizj4n8afrc0fj19wrp7mj3c0 gA1Zz808BekAy04hS+SPa4hqCN8= ++(hash.sh:86) nix-hash --type sha1 --to-base64 800d59cfcd3c05e900cb4e214be48f6b886a08df +(hash.sh:86) h64=gA1Zz808BekAy04hS+SPa4hqCN8= +(hash.sh:87) '[' gA1Zz808BekAy04hS+SPa4hqCN8= = gA1Zz808BekAy04hS+SPa4hqCN8= ']' ++(hash.sh:88) nix hash to-base64 --type sha1 800d59cfcd3c05e900cb4e214be48f6b886a08df warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:88) h64=gA1Zz808BekAy04hS+SPa4hqCN8= +(hash.sh:89) '[' gA1Zz808BekAy04hS+SPa4hqCN8= = gA1Zz808BekAy04hS+SPa4hqCN8= ']' ++(hash.sh:90) nix-hash --type sha1 --to-sri 800d59cfcd3c05e900cb4e214be48f6b886a08df +(hash.sh:90) sri=sha1-gA1Zz808BekAy04hS+SPa4hqCN8= +(hash.sh:91) '[' sha1-gA1Zz808BekAy04hS+SPa4hqCN8= = sha1-gA1Zz808BekAy04hS+SPa4hqCN8= ']' ++(hash.sh:92) nix hash to-sri --type sha1 800d59cfcd3c05e900cb4e214be48f6b886a08df warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:92) sri=sha1-gA1Zz808BekAy04hS+SPa4hqCN8= +(hash.sh:93) '[' sha1-gA1Zz808BekAy04hS+SPa4hqCN8= = sha1-gA1Zz808BekAy04hS+SPa4hqCN8= ']' ++(hash.sh:94) nix-hash --type sha1 --to-base32 800d59cfcd3c05e900cb4e214be48f6b886a08df +(hash.sh:94) h32=vw46m23bizj4n8afrc0fj19wrp7mj3c0 +(hash.sh:95) '[' vw46m23bizj4n8afrc0fj19wrp7mj3c0 = vw46m23bizj4n8afrc0fj19wrp7mj3c0 ']' ++(hash.sh:96) nix hash to-base32 --type sha1 800d59cfcd3c05e900cb4e214be48f6b886a08df warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:96) h32=vw46m23bizj4n8afrc0fj19wrp7mj3c0 +(hash.sh:97) '[' vw46m23bizj4n8afrc0fj19wrp7mj3c0 = vw46m23bizj4n8afrc0fj19wrp7mj3c0 ']' ++(hash.sh:98) nix-hash --type sha1 --to-base16 vw46m23bizj4n8afrc0fj19wrp7mj3c0 +(hash.sh:98) h16=800d59cfcd3c05e900cb4e214be48f6b886a08df +(hash.sh:99) '[' 800d59cfcd3c05e900cb4e214be48f6b886a08df = 800d59cfcd3c05e900cb4e214be48f6b886a08df ']' ++(hash.sh:100) nix hash to-base16 --type sha1 gA1Zz808BekAy04hS+SPa4hqCN8= warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:100) h16=800d59cfcd3c05e900cb4e214be48f6b886a08df +(hash.sh:101) '[' 800d59cfcd3c05e900cb4e214be48f6b886a08df = 800d59cfcd3c05e900cb4e214be48f6b886a08df ']' ++(hash.sh:102) nix hash to-base16 sha1-gA1Zz808BekAy04hS+SPa4hqCN8= warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:102) h16=800d59cfcd3c05e900cb4e214be48f6b886a08df +(hash.sh:103) '[' 800d59cfcd3c05e900cb4e214be48f6b886a08df = 800d59cfcd3c05e900cb4e214be48f6b886a08df ']' +(hash.sh:106) try3 sha256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ++(hash.sh:86) nix-hash --type sha256 --to-base64 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:86) h64=ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= +(hash.sh:87) '[' ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= = ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ']' ++(hash.sh:88) nix hash to-base64 --type sha256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:88) h64=ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= +(hash.sh:89) '[' ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= = ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ']' ++(hash.sh:90) nix-hash --type sha256 --to-sri ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:90) sri=sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= +(hash.sh:91) '[' sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= = sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ']' ++(hash.sh:92) nix hash to-sri --type sha256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:92) sri=sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= +(hash.sh:93) '[' sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= = sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ']' ++(hash.sh:94) nix-hash --type sha256 --to-base32 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:94) h32=1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s +(hash.sh:95) '[' 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s = 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s ']' ++(hash.sh:96) nix hash to-base32 --type sha256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:96) h32=1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s +(hash.sh:97) '[' 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s = 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s ']' ++(hash.sh:98) nix-hash --type sha256 --to-base16 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s +(hash.sh:98) h16=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:99) '[' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ']' ++(hash.sh:100) nix hash to-base16 --type sha256 ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:100) h16=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:101) '[' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ']' ++(hash.sh:102) nix hash to-base16 sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:102) h16=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +(hash.sh:103) '[' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ']' +(hash.sh:107) try3 sha512 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ++(hash.sh:86) nix-hash --type sha512 --to-base64 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:86) h64=IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== +(hash.sh:87) '[' IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== = IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ']' ++(hash.sh:88) nix hash to-base64 --type sha512 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:88) h64=IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== +(hash.sh:89) '[' IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== = IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ']' ++(hash.sh:90) nix-hash --type sha512 --to-sri 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:90) sri=sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== +(hash.sh:91) '[' sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== = sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ']' ++(hash.sh:92) nix hash to-sri --type sha512 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:92) sri=sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== +(hash.sh:93) '[' sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== = sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ']' ++(hash.sh:94) nix-hash --type sha512 --to-base32 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:94) h32=12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 +(hash.sh:95) '[' 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 = 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 ']' ++(hash.sh:96) nix hash to-base32 --type sha512 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:96) h32=12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 +(hash.sh:97) '[' 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 = 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 ']' ++(hash.sh:98) nix-hash --type sha512 --to-base16 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 +(hash.sh:98) h16=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:99) '[' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 = 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 ']' ++(hash.sh:100) nix hash to-base16 --type sha512 IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:100) h16=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:101) '[' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 = 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 ']' ++(hash.sh:102) nix hash to-base16 sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== warning: you don't have Internet access; disabling some network-dependent features +(hash.sh:102) h16=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +(hash.sh:103) '[' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 = 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 ']' ============================================================================== =================================== 85/161 =================================== test: lix:installcheck / functional-flakes-search-root start time: 20:57:50 duration: 1.08s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=33 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/search-root.sh ----------------------------------- stdout ----------------------------------- clearing store... ~/subdir ~ ~ ~/subdir ~ Initialized empty Git repository in /build/nix-test/flakes/search-root/test-home/subdir/.git/ ~ [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/search-root +(init.sh:7) test -d /build/nix-test/flakes/search-root +(init.sh:8) chmod -R u+w /build/nix-test/flakes/search-root +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/search-root +(init.sh:13) mkdir /build/nix-test/flakes/search-root +(init.sh:15) mkdir /build/nix-test/flakes/search-root/store +(init.sh:16) mkdir /build/nix-test/flakes/search-root/var +(init.sh:17) mkdir -p /build/nix-test/flakes/search-root/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/search-root/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/search-root/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/search-root/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) registry=/build/nix-test/flakes/search-root/registry.json +(search-root.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/search-root/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/search-root/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/search-root/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/search-root/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/search-root/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/search-root/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/search-root/test-home/.local/state/nix/profiles +(search-root.sh:5) writeSimpleFlake /build/nix-test/flakes/search-root/test-home +(common.sh:6) local flakeDir=/build/nix-test/flakes/search-root/test-home +(common.sh:7) cat +(common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/search-root/test-home/ +(search-root.sh:6) cd /build/nix-test/flakes/search-root/test-home +(search-root.sh:7) mkdir -p foo/subdir +(search-root.sh:9) echo '{ outputs = _: {}; }' +(search-root.sh:10) cat +(search-root.sh:21) mkdir subdir +(search-root.sh:22) pushd subdir +(search-root.sh:24) success=("" . .# .#test ../subdir ../subdir#test "$PWD") +(search-root.sh:25) failure=("path:$PWD") +(search-root.sh:27) for i in "${success[@]}" +(search-root.sh:28) nix build warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up fetching path input 'path:/build/nix-test/flakes/search-root/test-home' fetching path input 'path:/build/nix-test/flakes/search-root/test-home/foo' warning: creating lock file '/build/nix-test/flakes/search-root/test-home/flake.lock': • Added input 'foo': 'path:/build/nix-test/flakes/search-root/test-home/foo?lastModified=1725915470&narHash=sha256-/i7P3mVhc49nAmAG35Hz96bsWzKMzIN2TRYGf7hCLsc%3D' (2024-09-09) fetching path input 'path:/build/nix-test/flakes/search-root/test-home' this derivation will be built: /build/nix-test/flakes/search-root/store/87ny32bxm99qany5wymrr05qzzfxbgs4-simple.drv building '/build/nix-test/flakes/search-root/store/87ny32bxm99qany5wymrr05qzzfxbgs4-simple.drv'... +(search-root.sh:27) for i in "${success[@]}" +(search-root.sh:28) nix build . warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up fetching path input 'path:/build/nix-test/flakes/search-root/test-home' +(search-root.sh:27) for i in "${success[@]}" +(search-root.sh:28) nix build .# warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up fetching path input 'path:/build/nix-test/flakes/search-root/test-home' +(search-root.sh:27) for i in "${success[@]}" +(search-root.sh:28) nix build .#test warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up fetching path input 'path:/build/nix-test/flakes/search-root/test-home' +(search-root.sh:27) for i in "${success[@]}" +(search-root.sh:28) nix build ../subdir warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up fetching path input 'path:/build/nix-test/flakes/search-root/test-home' +(search-root.sh:27) for i in "${success[@]}" +(search-root.sh:28) nix build ../subdir#test warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up fetching path input 'path:/build/nix-test/flakes/search-root/test-home' +(search-root.sh:27) for i in "${success[@]}" +(search-root.sh:28) nix build /build/nix-test/flakes/search-root/test-home/subdir warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up fetching path input 'path:/build/nix-test/flakes/search-root/test-home' +(search-root.sh:31) for i in "${failure[@]}" +(search-root.sh:32) nix build path:/build/nix-test/flakes/search-root/test-home/subdir warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/search-root/test-home/subdir' error: source tree referenced by 'path:/build/nix-test/flakes/search-root/test-home/subdir?lastModified=1725915470&narHash=sha256-tu0%2BnydGIGMenaDDLuUA/mNtC9HJ6N93VEkL4aRvb/s%3D' does not contain a '/flake.nix' file +(search-root.sh:35) popd +(search-root.sh:37) nix build --override-input foo . warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/search-root/test-home' fetching path input 'path:/build/nix-test/flakes/search-root/test-home/foo' warning: not writing modified lock file of flake 'path:/build/nix-test/flakes/search-root/test-home': • Updated input 'foo': 'path:/build/nix-test/flakes/search-root/test-home/foo?lastModified=1725915470&narHash=sha256-/i7P3mVhc49nAmAG35Hz96bsWzKMzIN2TRYGf7hCLsc%3D' (2024-09-09) → 'path:/build/nix-test/flakes/search-root/test-home?lastModified=1725915470&narHash=sha256-NrwFBCuNnn3E2BBNZEUEYI1R5inE%2BLy2QZlp/7EuxBI%3D' (2024-09-09) • Added input 'foo/foo': 'path:/build/nix-test/flakes/search-root/test-home/foo?lastModified=1725915470&narHash=sha256-/i7P3mVhc49nAmAG35Hz96bsWzKMzIN2TRYGf7hCLsc%3D' (2024-09-09) +(search-root.sh:39) sed s,/build/nix-test/flakes/search-root/test-home/foo,/build/nix-test/flakes/search-root/test-home/foo/subdir,g -i flake.nix +(search-root.sh:40) nix build warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/search-root/test-home' fetching path input 'path:/build/nix-test/flakes/search-root/test-home/foo/subdir' error: … while updating the lock file of flake 'path:/build/nix-test/flakes/search-root/test-home?lastModified=1725915470&narHash=sha256-lNNmaJlG%2BHRVlleIPKIW4Q0K6DeizydR4gfCcJdi/Ds%3D' … while updating the flake input 'foo' error: source tree referenced by 'path:/build/nix-test/flakes/search-root/test-home/foo/subdir?lastModified=1725915470&narHash=sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo%3D' does not contain a '/flake.nix' file ++(search-root.sh:42) type -p git +(search-root.sh:42) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(search-root.sh:43) pushd subdir +(search-root.sh:44) git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(search-root.sh:45) for i in "${success[@]}" "${failure[@]}" +(search-root.sh:46) nix build warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up error: path '/build/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file) +(search-root.sh:45) for i in "${success[@]}" "${failure[@]}" +(search-root.sh:46) nix build . warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up error: path '/build/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file) +(search-root.sh:45) for i in "${success[@]}" "${failure[@]}" +(search-root.sh:46) nix build .# warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up error: path '/build/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file) +(search-root.sh:45) for i in "${success[@]}" "${failure[@]}" +(search-root.sh:46) nix build .#test warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up error: path '/build/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file) +(search-root.sh:45) for i in "${success[@]}" "${failure[@]}" +(search-root.sh:46) nix build ../subdir warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up error: path '/build/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file) +(search-root.sh:45) for i in "${success[@]}" "${failure[@]}" +(search-root.sh:46) nix build ../subdir#test warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up error: path '/build/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file) +(search-root.sh:45) for i in "${success[@]}" "${failure[@]}" +(search-root.sh:46) nix build /build/nix-test/flakes/search-root/test-home/subdir warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up error: path '/build/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file) +(search-root.sh:45) for i in "${success[@]}" "${failure[@]}" +(search-root.sh:46) nix build path:/build/nix-test/flakes/search-root/test-home/subdir warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/search-root/test-home/subdir' error: source tree referenced by 'path:/build/nix-test/flakes/search-root/test-home/subdir?lastModified=1725915470&narHash=sha256-NLPvfOzN4jq/CIZTZBYXU/SyEP4rVkr9ZE4EigCCHS8%3D' does not contain a '/flake.nix' file +(search-root.sh:48) rm -rf .git +(search-root.sh:49) popd ============================================================================== =================================== 86/161 =================================== test: lix:installcheck / functional-build-remote-input-addressed start time: 20:57:49 duration: 2.30s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=54 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-remote-input-addressed.sh ----------------------------------- stdout ----------------------------------- FOO BAR BAZ hi-input1 hi-input3 FOO BAR BAZ hi-input1 hi-input3 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-remote-input-addressed +(init.sh:7) test -d /build/nix-test/build-remote-input-addressed +(init.sh:8) chmod -R u+w /build/nix-test/build-remote-input-addressed +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-remote-input-addressed +(init.sh:13) mkdir /build/nix-test/build-remote-input-addressed +(init.sh:15) mkdir /build/nix-test/build-remote-input-addressed/store +(init.sh:16) mkdir /build/nix-test/build-remote-input-addressed/var +(init.sh:17) mkdir -p /build/nix-test/build-remote-input-addressed/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-remote-input-addressed/var/nix +(init.sh:19) mkdir /build/nix-test/build-remote-input-addressed/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-remote-input-addressed/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-input-addressed.sh:3) file=build-hook.nix +(build-remote-input-addressed.sh:5) source build-remote.sh ++(build-remote.sh:1) requireSandboxSupport ++(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox ++(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] ++(build-remote.sh:2) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote.sh:5) unset NIX_STORE_DIR ++(build-remote.sh:6) unset NIX_STATE_DIR ++(build-remote.sh:10) EXTRA_SYSTEM_FEATURES=() ++(build-remote.sh:11) [[ -n '' ]] ++(build-remote.sh:21) builders=("ssh://localhost?remote-store=$TEST_ROOT/machine1?system-features=$(join_by "%20" foo ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," foo ${EXTRA_SYSTEM_FEATURES[@]})" "$TEST_ROOT/machine2 - - 1 1 $(join_by "," bar ${EXTRA_SYSTEM_FEATURES[@]})" "ssh-ng://localhost?remote-store=$TEST_ROOT/machine3?system-features=$(join_by "%20" baz ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," baz ${EXTRA_SYSTEM_FEATURES[@]})") +++(build-remote.sh:21) join_by %20 foo +++(build-remote.sh:8) local d=%20 +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n foo +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , foo +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n foo +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , bar +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n bar +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by %20 baz +++(build-remote.sh:8) local d=%20 +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n baz +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , baz +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n baz +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s ++(build-remote.sh:23) chmod -R +w '/build/nix-test/build-remote-input-addressed/machine*' chmod: cannot access '/build/nix-test/build-remote-input-addressed/machine*': No such file or directory ++(build-remote.sh:23) true ++(build-remote.sh:24) rm -rf '/build/nix-test/build-remote-input-addressed/machine*' +++(build-remote.sh:29) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' '/build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' +++(build-remote.sh:8) local 'd=; ' +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' ++(build-remote.sh:29) nix build -L -v -f build-hook.nix -o /build/nix-test/build-remote-input-addressed/result --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-input-addressed/machine0 --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' warning: you don't have Internet access; disabling some network-dependent features these 4 derivations will be built: /nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv /nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv /nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv /nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv connecting to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... building '/nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... connecting to '/build/nix-test/build-remote-input-addressed/machine2'... building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv' on '/build/nix-test/build-remote-input-addressed/machine2'... waiting for the upload lock to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying dependencies to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 2 paths... copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh://localhost'... build-remote-input> hi-input1 waiting for the upload lock to '/build/nix-test/build-remote-input-addressed/machine2'... copying dependencies to '/build/nix-test/build-remote-input-addressed/machine2'... copying 2 paths... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'local'... copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'local'... copying outputs from 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 1 paths... copying path '/nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1' from 'ssh://localhost'... building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv'... build-remote-input> hi copying outputs from '/build/nix-test/build-remote-input-addressed/machine2'... copying 1 paths... copying path '/nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' to 'local'... connecting to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv' on 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... waiting for the upload lock to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... copying dependencies to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... copying 3 paths... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh-ng://localhost'... copying path '/nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh' to 'ssh-ng://localhost'... copying path '/nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' to 'ssh-ng://localhost'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv'... build-remote-input> hi-input3 copying outputs from 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... copying 1 paths... copying path '/nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3' from 'ssh-ng://localhost'... connecting to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... building '/nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... waiting for the upload lock to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying dependencies to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 2 paths... copying path '/nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3' to 'ssh://localhost'... copying path '/nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' to 'ssh://localhost'... copying outputs from 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 1 paths... copying path '/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote' from 'ssh://localhost'... +++(build-remote.sh:34) readlink -f /build/nix-test/build-remote-input-addressed/result ++(build-remote.sh:34) outPath=/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++(build-remote.sh:36) grep 'FOO BAR BAZ' /build/nix-test/build-remote-input-addressed/machine0//nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++++(build-remote.sh:42) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' '/build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' ++++(build-remote.sh:8) local 'd=; ' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' +++(build-remote.sh:42) nix build -L -v -f build-hook.nix --no-link --print-out-paths --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-input-addressed/machine0 --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:42) testPrintOutPath=/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++(build-remote.sh:44) [[ /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote =~ store.*build-remote ]] +++(build-remote.sh:47) nix path-info --store /build/nix-test/build-remote-input-addressed/machine1 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:47) output='/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1 /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' ++(build-remote.sh:48) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1 /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' ++(build-remote.sh:48) grepQuiet builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-1.sh ++(build-remote.sh:49) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1 /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' ++(build-remote.sh:49) grepQuietInverse builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-2.sh ++(build-remote.sh:50) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1 /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' ++(build-remote.sh:50) grepQuietInverse builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-3.sh ++(build-remote.sh:51) unset output +++(build-remote.sh:54) nix path-info --store /build/nix-test/build-remote-input-addressed/machine2 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:54) output='/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:55) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:55) grepQuietInverse builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-1.sh ++(build-remote.sh:56) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:56) grepQuiet builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-2.sh ++(build-remote.sh:57) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:57) grepQuietInverse builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-3.sh ++(build-remote.sh:58) unset output +++(build-remote.sh:61) nix path-info --store /build/nix-test/build-remote-input-addressed/machine3 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:61) output='/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' ++(build-remote.sh:62) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' ++(build-remote.sh:62) grepQuietInverse builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-1.sh ++(build-remote.sh:63) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' ++(build-remote.sh:63) grepQuietInverse builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-2.sh ++(build-remote.sh:64) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' ++(build-remote.sh:64) grepQuiet builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-3.sh ++(build-remote.sh:65) unset output ++(build-remote.sh:68) for i in input1 input3 ++(build-remote.sh:69) nix log --store /build/nix-test/build-remote-input-addressed/machine0 --file build-hook.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox passthru.input1 ++(build-remote.sh:69) grep hi-input1 warning: you don't have Internet access; disabling some network-dependent features got build log for 'passthru.input1' from 'local' ++(build-remote.sh:68) for i in input1 input3 ++(build-remote.sh:69) nix log --store /build/nix-test/build-remote-input-addressed/machine0 --file build-hook.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox passthru.input3 ++(build-remote.sh:69) grep hi-input3 warning: you don't have Internet access; disabling some network-dependent features got build log for 'passthru.input3' from 'local' ++++(build-remote.sh:79) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' '/build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' ++++(build-remote.sh:8) local 'd=; ' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' +++(build-remote.sh:79) nix-build failing.nix --no-out-link --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' --keep-failed --store /build/nix-test/build-remote-input-addressed/machine0 -j0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox ++(build-remote.sh:79) out='this derivation will be built: /nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv building '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' on '\''ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'\''... copying 1 paths... copying path '\''/nix/store/cryiszlhhss2h40r3f9m60l92i88m2xd-builder-failing.sh'\'' to '\''ssh://localhost'\''... note: keeping build directory '\''/build/nix-build-failing.drv-0'\'' error: build of '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' on '\''ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'\'' failed: builder for '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' failed with exit code 1 error: builder for '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' failed with exit code 1' ++(build-remote.sh:79) true ++(build-remote.sh:81) [[ this derivation will be built: /nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv building '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 1 paths... copying path '/nix/store/cryiszlhhss2h40r3f9m60l92i88m2xd-builder-failing.sh' to 'ssh://localhost'... note: keeping build directory '/build/nix-build-failing.drv-0' error: build of '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo' failed: builder for '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' failed with exit code 1 error: builder for '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' failed with exit code 1 =~ .*note: keeping build directory.* ]] +++(build-remote.sh:83) grep 'note: keeping build' +++(build-remote.sh:83) sed -E 's/^(.*)note: keeping build directory '\''(.*)'\''(.*)$/\2/' ++(build-remote.sh:83) build_dir=/build/nix-build-failing.drv-0 ++(build-remote.sh:84) [[ foo = foo ]] +(build-remote-input-addressed.sh:27) registerBuildHook +(build-remote-input-addressed.sh:14) cat +(build-remote-input-addressed.sh:21) chmod +x /build/nix-test/build-remote-input-addressed/post-build-hook.sh +(build-remote-input-addressed.sh:22) rm -f /build/nix-test/build-remote-input-addressed/post-hook-counter +(build-remote-input-addressed.sh:24) echo 'post-build-hook = /build/nix-test/build-remote-input-addressed/post-build-hook.sh' +(build-remote-input-addressed.sh:28) source build-remote.sh ++(build-remote.sh:1) requireSandboxSupport ++(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox ++(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] ++(build-remote.sh:2) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote.sh:5) unset NIX_STORE_DIR ++(build-remote.sh:6) unset NIX_STATE_DIR ++(build-remote.sh:10) EXTRA_SYSTEM_FEATURES=() ++(build-remote.sh:11) [[ -n '' ]] ++(build-remote.sh:21) builders=("ssh://localhost?remote-store=$TEST_ROOT/machine1?system-features=$(join_by "%20" foo ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," foo ${EXTRA_SYSTEM_FEATURES[@]})" "$TEST_ROOT/machine2 - - 1 1 $(join_by "," bar ${EXTRA_SYSTEM_FEATURES[@]})" "ssh-ng://localhost?remote-store=$TEST_ROOT/machine3?system-features=$(join_by "%20" baz ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," baz ${EXTRA_SYSTEM_FEATURES[@]})") +++(build-remote.sh:21) join_by %20 foo +++(build-remote.sh:8) local d=%20 +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n foo +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , foo +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n foo +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , bar +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n bar +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by %20 baz +++(build-remote.sh:8) local d=%20 +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n baz +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , baz +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n baz +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s ++(build-remote.sh:23) chmod -R +w /build/nix-test/build-remote-input-addressed/machine0 /build/nix-test/build-remote-input-addressed/machine1 /build/nix-test/build-remote-input-addressed/machine2 /build/nix-test/build-remote-input-addressed/machine3 ++(build-remote.sh:24) rm -rf /build/nix-test/build-remote-input-addressed/machine0 /build/nix-test/build-remote-input-addressed/machine1 /build/nix-test/build-remote-input-addressed/machine2 /build/nix-test/build-remote-input-addressed/machine3 +++(build-remote.sh:29) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' '/build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' +++(build-remote.sh:8) local 'd=; ' +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' ++(build-remote.sh:29) nix build -L -v -f build-hook.nix -o /build/nix-test/build-remote-input-addressed/result --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-input-addressed/machine0 --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' warning: you don't have Internet access; disabling some network-dependent features these 4 derivations will be built: /nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv /nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv /nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv /nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv connecting to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... building '/nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... connecting to '/build/nix-test/build-remote-input-addressed/machine2'... building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv' on '/build/nix-test/build-remote-input-addressed/machine2'... waiting for the upload lock to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying dependencies to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 2 paths... copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh://localhost'... build-remote-input> hi-input1 waiting for the upload lock to '/build/nix-test/build-remote-input-addressed/machine2'... copying dependencies to '/build/nix-test/build-remote-input-addressed/machine2'... copying 2 paths... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'local'... copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'local'... build-remote-input> post-build-hook: Post hook ran successfully copying outputs from 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 1 paths... copying path '/nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1' from 'ssh://localhost'... running post-build-hook '/build/nix-test/build-remote-input-addressed/post-build-hook.sh'... build-remote-input (post)> Post hook ran successfully building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv'... build-remote-input> hi running post-build-hook '/build/nix-test/build-remote-input-addressed/post-build-hook.sh'... build-remote-input (post)> Post hook ran successfully copying outputs from '/build/nix-test/build-remote-input-addressed/machine2'... copying 1 paths... copying path '/nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' to 'local'... running post-build-hook '/build/nix-test/build-remote-input-addressed/post-build-hook.sh'... build-remote-input (post)> Post hook ran successfully connecting to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv' on 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... waiting for the upload lock to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... copying dependencies to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... copying 3 paths... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh-ng://localhost'... copying path '/nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh' to 'ssh-ng://localhost'... copying path '/nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' to 'ssh-ng://localhost'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv'... build-remote-input> hi-input3 running post-build-hook '/build/nix-test/build-remote-input-addressed/post-build-hook.sh'... build-remote-input (post)> Post hook ran successfully copying outputs from 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz'... copying 1 paths... copying path '/nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3' from 'ssh-ng://localhost'... running post-build-hook '/build/nix-test/build-remote-input-addressed/post-build-hook.sh'... build-remote-input (post)> Post hook ran successfully connecting to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... building '/nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... waiting for the upload lock to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying dependencies to 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 2 paths... copying path '/nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3' to 'ssh://localhost'... copying path '/nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' to 'ssh://localhost'... build-remote> post-build-hook: Post hook ran successfully copying outputs from 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 1 paths... copying path '/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote' from 'ssh://localhost'... running post-build-hook '/build/nix-test/build-remote-input-addressed/post-build-hook.sh'... build-remote (post)> Post hook ran successfully +++(build-remote.sh:34) readlink -f /build/nix-test/build-remote-input-addressed/result ++(build-remote.sh:34) outPath=/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++(build-remote.sh:36) grep 'FOO BAR BAZ' /build/nix-test/build-remote-input-addressed/machine0//nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++++(build-remote.sh:42) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' '/build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' ++++(build-remote.sh:8) local 'd=; ' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' +++(build-remote.sh:42) nix build -L -v -f build-hook.nix --no-link --print-out-paths --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-input-addressed/machine0 --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:42) testPrintOutPath=/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++(build-remote.sh:44) [[ /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote =~ store.*build-remote ]] +++(build-remote.sh:47) nix path-info --store /build/nix-test/build-remote-input-addressed/machine1 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:47) output='/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1 /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' ++(build-remote.sh:48) grepQuiet builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-1.sh ++(build-remote.sh:48) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1 /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' ++(build-remote.sh:49) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1 /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' ++(build-remote.sh:49) grepQuietInverse builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-2.sh ++(build-remote.sh:50) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1 /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' ++(build-remote.sh:50) grepQuietInverse builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-3.sh ++(build-remote.sh:51) unset output +++(build-remote.sh:54) nix path-info --store /build/nix-test/build-remote-input-addressed/machine2 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:54) output='/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:55) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:55) grepQuietInverse builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-1.sh ++(build-remote.sh:56) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:56) grepQuiet builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-2.sh ++(build-remote.sh:57) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:57) grepQuietInverse builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-3.sh ++(build-remote.sh:58) unset output +++(build-remote.sh:61) nix path-info --store /build/nix-test/build-remote-input-addressed/machine3 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:61) output='/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' ++(build-remote.sh:62) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' ++(build-remote.sh:62) grepQuietInverse builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-1.sh ++(build-remote.sh:63) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' ++(build-remote.sh:63) grepQuietInverse builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-2.sh ++(build-remote.sh:64) echo '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3 /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' ++(build-remote.sh:64) grepQuiet builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-3.sh ++(build-remote.sh:65) unset output ++(build-remote.sh:68) for i in input1 input3 ++(build-remote.sh:69) nix log --store /build/nix-test/build-remote-input-addressed/machine0 --file build-hook.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox passthru.input1 ++(build-remote.sh:69) grep hi-input1 warning: you don't have Internet access; disabling some network-dependent features got build log for 'passthru.input1' from 'local' ++(build-remote.sh:68) for i in input1 input3 ++(build-remote.sh:69) nix log --store /build/nix-test/build-remote-input-addressed/machine0 --file build-hook.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox passthru.input3 ++(build-remote.sh:69) grep hi-input3 warning: you don't have Internet access; disabling some network-dependent features got build log for 'passthru.input3' from 'local' ++++(build-remote.sh:79) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' '/build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' ++++(build-remote.sh:8) local 'd=; ' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' +++(build-remote.sh:79) nix-build failing.nix --no-out-link --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo; /build/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz' --keep-failed --store /build/nix-test/build-remote-input-addressed/machine0 -j0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox ++(build-remote.sh:79) out='this derivation will be built: /nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv building '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' on '\''ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'\''... copying 1 paths... copying path '\''/nix/store/cryiszlhhss2h40r3f9m60l92i88m2xd-builder-failing.sh'\'' to '\''ssh://localhost'\''... note: keeping build directory '\''/build/nix-build-failing.drv-1'\'' error: build of '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' on '\''ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'\'' failed: builder for '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' failed with exit code 1 error: builder for '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' failed with exit code 1' ++(build-remote.sh:79) true ++(build-remote.sh:81) [[ this derivation will be built: /nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv building '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo'... copying 1 paths... copying path '/nix/store/cryiszlhhss2h40r3f9m60l92i88m2xd-builder-failing.sh' to 'ssh://localhost'... note: keeping build directory '/build/nix-build-failing.drv-1' error: build of '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-input-addressed/machine1?system-features=foo' failed: builder for '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' failed with exit code 1 error: builder for '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' failed with exit code 1 =~ .*note: keeping build directory.* ]] +++(build-remote.sh:83) grep 'note: keeping build' +++(build-remote.sh:83) sed -E 's/^(.*)note: keeping build directory '\''(.*)'\''(.*)$/\2/' ++(build-remote.sh:83) build_dir=/build/nix-build-failing.drv-1 ++(build-remote.sh:84) [[ foo = foo ]] ++(build-remote-input-addressed.sh:33) cat /build/nix-test/build-remote-input-addressed/post-hook-counter ++(build-remote-input-addressed.sh:33) wc -l +(build-remote-input-addressed.sh:33) [[ 8 -eq 8 ]] ============================================================================== =================================== 87/161 =================================== test: lix:installcheck / functional-dependencies start time: 20:57:51 duration: 0.51s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=65 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py dependencies.sh ----------------------------------- stdout ----------------------------------- clearing store... derivation is /build/nix-test/dependencies/store/lzfn41w7xd0djwna49npgqzmvvfxv2q0-dependencies-top.drv │ └───/build/nix-test/dependencies/store/b99giavaql721d1a1m1q6sl2665g35j7-builder-dependencies-input-1.sh [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/dependencies +(init.sh:7) test -d /build/nix-test/dependencies +(init.sh:8) chmod -R u+w /build/nix-test/dependencies +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/dependencies +(init.sh:13) mkdir /build/nix-test/dependencies +(init.sh:15) mkdir /build/nix-test/dependencies/store +(init.sh:16) mkdir /build/nix-test/dependencies/var +(init.sh:17) mkdir -p /build/nix-test/dependencies/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/dependencies/var/nix +(init.sh:19) mkdir /build/nix-test/dependencies/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/dependencies/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(dependencies.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/dependencies/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/dependencies/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/dependencies/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/dependencies/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/dependencies/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/dependencies/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/dependencies/test-home/.local/state/nix/profiles ++(dependencies.sh:5) nix-instantiate dependencies.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(dependencies.sh:5) drvPath=/build/nix-test/dependencies/store/lzfn41w7xd0djwna49npgqzmvvfxv2q0-dependencies-top.drv +(dependencies.sh:7) echo 'derivation is /build/nix-test/dependencies/store/lzfn41w7xd0djwna49npgqzmvvfxv2q0-dependencies-top.drv' +(dependencies.sh:9) nix-store -q --tree /build/nix-test/dependencies/store/lzfn41w7xd0djwna49npgqzmvvfxv2q0-dependencies-top.drv +(dependencies.sh:9) grep '───.*builder-dependencies-input-1.sh' +(dependencies.sh:12) nix-store -q --graph /build/nix-test/dependencies/store/lzfn41w7xd0djwna49npgqzmvvfxv2q0-dependencies-top.drv +(dependencies.sh:13) test -n '' +(dependencies.sh:19) nix-store -q --graphml /build/nix-test/dependencies/store/lzfn41w7xd0djwna49npgqzmvvfxv2q0-dependencies-top.drv ++(dependencies.sh:21) nix-store -rvv /build/nix-test/dependencies/store/lzfn41w7xd0djwna49npgqzmvvfxv2q0-dependencies-top.drv these 5 derivations will be built: /build/nix-test/dependencies/store/p85ipygvvq048vlhjrbf5x5psk8bwzbl-dependencies-input-0.drv /build/nix-test/dependencies/store/2wxpvgnfm7qvx2vhrky5cqq9iyphh9wa-dependencies-input-2.drv /build/nix-test/dependencies/store/32ks9rmq58smq2dzawdyqnnjpg2fihb2-fod-input.drv /build/nix-test/dependencies/store/nrb53g9x4cv46qiwvccj5drv1j47lvkz-dependencies-input-1.drv /build/nix-test/dependencies/store/lzfn41w7xd0djwna49npgqzmvvfxv2q0-dependencies-top.drv executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/dependencies/store/cdah4h7i395y93j2dii3l0pbrn1pdpqa-builder-dependencies-input-0.sh' building '/build/nix-test/dependencies/store/p85ipygvvq048vlhjrbf5x5psk8bwzbl-dependencies-input-0.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/dependencies/store/b99giavaql721d1a1m1q6sl2665g35j7-builder-dependencies-input-1.sh' building '/build/nix-test/dependencies/store/nrb53g9x4cv46qiwvccj5drv1j47lvkz-dependencies-input-1.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/dependencies/store/9fzixjfmgqma010h16sdsrwvslnrv2f5-builder-dependencies-input-2.sh' building '/build/nix-test/dependencies/store/2wxpvgnfm7qvx2vhrky5cqq9iyphh9wa-dependencies-input-2.drv'... executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/dependencies/store/r3jwwpaihiqfpww72d4r5xgk78n7vwzc-builder-fod-input.sh' building '/build/nix-test/dependencies/store/32ks9rmq58smq2dzawdyqnnjpg2fihb2-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/dependencies/store/hp6s2lf1gvd6gbkz46pgvgl4sq8psdgr-fod-input': Permission denied +(dependencies.sh:21) outPath= +(dependencies.sh:21) fail 'build failed' +(/build/source/build/tests/functional/common/vars-and-functions.sh:180) echo 'build failed' build failed +(/build/source/build/tests/functional/common/vars-and-functions.sh:181) exit 1 ============================================================================== =================================== 88/161 =================================== test: lix:installcheck / functional-nix-channel start time: 20:57:51 duration: 0.86s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=110 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix-channel.sh ----------------------------------- stdout ----------------------------------- [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix-channel +(init.sh:7) test -d /build/nix-test/nix-channel +(init.sh:8) chmod -R u+w /build/nix-test/nix-channel +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix-channel +(init.sh:13) mkdir /build/nix-test/nix-channel +(init.sh:15) mkdir /build/nix-test/nix-channel/store +(init.sh:16) mkdir /build/nix-test/nix-channel/var +(init.sh:17) mkdir -p /build/nix-test/nix-channel/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix-channel/var/nix +(init.sh:19) mkdir /build/nix-test/nix-channel/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix-channel/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix-channel.sh:3) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-channel/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-channel/test-home/.local/state/nix/profiles +(nix-channel.sh:5) rm -f /build/nix-test/nix-channel/test-home/.nix-channels /build/nix-test/nix-channel/test-home/.nix-profile +(nix-channel.sh:8) nix-channel --add http://foo/bar xyzzy +(nix-channel.sh:9) grepQuiet http://foo/bar +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep http://foo/bar +(nix-channel.sh:9) nix-channel --list +(nix-channel.sh:10) nix-channel --remove xyzzy warning: selector 'xyzzy' matched no installed derivations building '/build/nix-test/nix-channel/store/zhgrgygsw7vd61vdp5blcn401z343gvp-user-environment.drv'... ++(nix-channel.sh:11) nix-channel --list-generations ++(nix-channel.sh:11) wc -l +(nix-channel.sh:11) [[ 1 == 1 ]] +(nix-channel.sh:13) '[' -e /build/nix-test/nix-channel/test-home/.nix-channels ']' ++(nix-channel.sh:14) cat /build/nix-test/nix-channel/test-home/.nix-channels +(nix-channel.sh:14) '[' '' = '' ']' +(nix-channel.sh:18) export 'NIX_CONFIG=use-xdg-base-directories = true' +(nix-channel.sh:18) NIX_CONFIG='use-xdg-base-directories = true' +(nix-channel.sh:20) nix-channel --add http://foo/bar xyzzy +(nix-channel.sh:21) nix-channel --list +(nix-channel.sh:21) grepQuiet http://foo/bar +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep http://foo/bar +(nix-channel.sh:22) nix-channel --remove xyzzy warning: selector 'xyzzy' matched no installed derivations +(nix-channel.sh:24) unset NIX_CONFIG +(nix-channel.sh:26) '[' -e /build/nix-test/nix-channel/test-home/.local/state/nix/channels ']' ++(nix-channel.sh:27) cat /build/nix-test/nix-channel/test-home/.local/state/nix/channels +(nix-channel.sh:27) '[' '' = '' ']' +(nix-channel.sh:30) rm -rf /build/nix-test/nix-channel/foo +(nix-channel.sh:31) mkdir -p /build/nix-test/nix-channel/foo +++(nix-channel.sh:32) nix-instantiate dependencies.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector ++(nix-channel.sh:32) nix-store -r /build/nix-test/nix-channel/store/6hq94z33lw24z03skb6w3wmw7yjbr7km-dependencies-top.drv these 5 derivations will be built: /build/nix-test/nix-channel/store/08r1aynh2ss01kirrik215p9xf8n33jk-dependencies-input-0.drv /build/nix-test/nix-channel/store/k3pjvvrpcs31qn4vqy4f8gjcb8fli9kd-dependencies-input-1.drv /build/nix-test/nix-channel/store/qpvv4c3ahg5f8hqz4ivbb0rkg2cldzl9-dependencies-input-2.drv /build/nix-test/nix-channel/store/wlisggyvddmm0x2hqmgaqzyi2mgc2x81-fod-input.drv /build/nix-test/nix-channel/store/6hq94z33lw24z03skb6w3wmw7yjbr7km-dependencies-top.drv building '/build/nix-test/nix-channel/store/08r1aynh2ss01kirrik215p9xf8n33jk-dependencies-input-0.drv'... building '/build/nix-test/nix-channel/store/k3pjvvrpcs31qn4vqy4f8gjcb8fli9kd-dependencies-input-1.drv'... building '/build/nix-test/nix-channel/store/qpvv4c3ahg5f8hqz4ivbb0rkg2cldzl9-dependencies-input-2.drv'... building '/build/nix-test/nix-channel/store/wlisggyvddmm0x2hqmgaqzyi2mgc2x81-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/nix-channel/store/xwa2k1rc07b9y4j1n1gywdhss15a8lsc-fod-input': Permission denied +(nix-channel.sh:32) nix copy --to 'file:///build/nix-test/nix-channel/foo?compression=bzip2' warning: you don't have Internet access; disabling some network-dependent features path '/build/source/build/tests/functional' does not contain a 'flake.nix', searching up error: could not find a flake.nix file ++(nix-channel.sh:32) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x nix-channel.sh: test failed at: main in nix-channel.sh:32 ============================================================================== =================================== 89/161 =================================== test: lix:installcheck / functional-build-remote-content-addressed-fixed start time: 20:57:51 duration: 0.38s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=130 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-remote-content-addressed-fixed.sh ----------------------------------- stdout ----------------------------------- [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-remote-content-addressed-fixed +(init.sh:7) test -d /build/nix-test/build-remote-content-addressed-fixed +(init.sh:8) chmod -R u+w /build/nix-test/build-remote-content-addressed-fixed +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-remote-content-addressed-fixed +(init.sh:13) mkdir /build/nix-test/build-remote-content-addressed-fixed +(init.sh:15) mkdir /build/nix-test/build-remote-content-addressed-fixed/store +(init.sh:16) mkdir /build/nix-test/build-remote-content-addressed-fixed/var +(init.sh:17) mkdir -p /build/nix-test/build-remote-content-addressed-fixed/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-remote-content-addressed-fixed/var/nix +(init.sh:19) mkdir /build/nix-test/build-remote-content-addressed-fixed/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-remote-content-addressed-fixed/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-content-addressed-fixed.sh:3) file=build-hook-ca-fixed.nix +(build-remote-content-addressed-fixed.sh:5) source build-remote.sh ++(build-remote.sh:1) requireSandboxSupport ++(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox ++(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] ++(build-remote.sh:2) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote.sh:5) unset NIX_STORE_DIR ++(build-remote.sh:6) unset NIX_STATE_DIR ++(build-remote.sh:10) EXTRA_SYSTEM_FEATURES=() ++(build-remote.sh:11) [[ -n '' ]] ++(build-remote.sh:21) builders=("ssh://localhost?remote-store=$TEST_ROOT/machine1?system-features=$(join_by "%20" foo ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," foo ${EXTRA_SYSTEM_FEATURES[@]})" "$TEST_ROOT/machine2 - - 1 1 $(join_by "," bar ${EXTRA_SYSTEM_FEATURES[@]})" "ssh-ng://localhost?remote-store=$TEST_ROOT/machine3?system-features=$(join_by "%20" baz ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," baz ${EXTRA_SYSTEM_FEATURES[@]})") +++(build-remote.sh:21) join_by %20 foo +++(build-remote.sh:8) local d=%20 +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n foo +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , foo +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n foo +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , bar +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n bar +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by %20 baz +++(build-remote.sh:8) local d=%20 +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n baz +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s +++(build-remote.sh:21) join_by , baz +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n baz +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s ++(build-remote.sh:23) chmod -R +w '/build/nix-test/build-remote-content-addressed-fixed/machine*' chmod: cannot access '/build/nix-test/build-remote-content-addressed-fixed/machine*': No such file or directory ++(build-remote.sh:23) true ++(build-remote.sh:24) rm -rf '/build/nix-test/build-remote-content-addressed-fixed/machine*' +++(build-remote.sh:29) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo - - 1 1 foo' '/build/nix-test/build-remote-content-addressed-fixed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine3?system-features=baz - - 1 1 baz' +++(build-remote.sh:8) local 'd=; ' +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo - - 1 1 foo' +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-content-addressed-fixed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine3?system-features=baz - - 1 1 baz' ++(build-remote.sh:29) nix build -L -v -f build-hook-ca-fixed.nix -o /build/nix-test/build-remote-content-addressed-fixed/result --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-content-addressed-fixed/machine0 --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo - - 1 1 foo; /build/nix-test/build-remote-content-addressed-fixed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine3?system-features=baz - - 1 1 baz' warning: you don't have Internet access; disabling some network-dependent features these 4 derivations will be built: /nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv /nix/store/h7mvalas7p82qqk274skala3xibllaky-build-remote-input-2.drv /nix/store/l8wkz0rhfh97xy2z8ki1mqrwk8py5daf-build-remote-input-3.drv /nix/store/2r87c9ax6ba8ipyn90b6pxc5mj4ax4vd-build-remote.drv connecting to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo'... building '/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo'... connecting to '/build/nix-test/build-remote-content-addressed-fixed/machine2'... building '/nix/store/h7mvalas7p82qqk274skala3xibllaky-build-remote-input-2.drv' on '/build/nix-test/build-remote-content-addressed-fixed/machine2'... waiting for the upload lock to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo'... copying dependencies to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo'... copying 2 paths... copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh://localhost'... waiting for the upload lock to '/build/nix-test/build-remote-content-addressed-fixed/machine2'... copying dependencies to '/build/nix-test/build-remote-content-addressed-fixed/machine2'... copying 2 paths... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'local'... copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'local'... build-remote-input> hi-input1 error: build of '/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo' failed: error: removing extended attribute 'btrfs.compression' from '/build/nix-test/build-remote-content-addressed-fixed/machine1/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv.chroot/nix/store/8nd9yhn3qq73l3zpvdxjsavd5pd0a8nq-build-remote-input-1': Permission denied error: builder for '/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv' failed with exit code 1 error: 1 dependencies of derivation '/nix/store/2r87c9ax6ba8ipyn90b6pxc5mj4ax4vd-build-remote.drv' failed to build +++(build-remote.sh:29) onError +++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x build-remote-content-addressed-fixed.sh: test failed at: source in build-remote.sh:29 main in build-remote-content-addressed-fixed.sh:5 ============================================================================== =================================== 90/161 =================================== test: lix:installcheck / functional-gc-non-blocking start time: 20:57:48 duration: 3.50s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=124 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py gc-non-blocking.sh ----------------------------------- stdout ----------------------------------- clearing store... 1 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/gc-non-blocking +(init.sh:7) test -d /build/nix-test/gc-non-blocking +(init.sh:8) chmod -R u+w /build/nix-test/gc-non-blocking +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/gc-non-blocking +(init.sh:13) mkdir /build/nix-test/gc-non-blocking +(init.sh:15) mkdir /build/nix-test/gc-non-blocking/store +(init.sh:16) mkdir /build/nix-test/gc-non-blocking/var +(init.sh:17) mkdir -p /build/nix-test/gc-non-blocking/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/gc-non-blocking/var/nix +(init.sh:19) mkdir /build/nix-test/gc-non-blocking/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/gc-non-blocking/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(gc-non-blocking.sh:5) needLocalStore 'the GC test needs a synchronisation point' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(gc-non-blocking.sh:7) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/gc-non-blocking/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/gc-non-blocking/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/gc-non-blocking/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/gc-non-blocking/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/gc-non-blocking/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/gc-non-blocking/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/gc-non-blocking/test-home/.local/state/nix/profiles +(gc-non-blocking.sh:11) fifo1=/build/nix-test/gc-non-blocking/test2.fifo +(gc-non-blocking.sh:12) mkfifo /build/nix-test/gc-non-blocking/test2.fifo +(gc-non-blocking.sh:16) fifo2=/build/nix-test/gc-non-blocking/test.fifo +(gc-non-blocking.sh:17) mkfifo /build/nix-test/gc-non-blocking/test.fifo ++(gc-non-blocking.sh:19) nix store add-path ./simple.nix warning: you don't have Internet access; disabling some network-dependent features +(gc-non-blocking.sh:19) dummy=/build/nix-test/gc-non-blocking/store/lxw25y66b41g60lngfaav651h7mn62m9-simple.nix +(gc-non-blocking.sh:21) running=/build/nix-test/gc-non-blocking/running +(gc-non-blocking.sh:22) touch /build/nix-test/gc-non-blocking/running +(gc-non-blocking.sh:26) pid=13952 +(gc-non-blocking.sh:25) _NIX_TEST_GC_SYNC_1=/build/nix-test/gc-non-blocking/test2.fifo +(gc-non-blocking.sh:28) sleep 2 +(gc-non-blocking.sh:25) _NIX_TEST_GC_SYNC_2=/build/nix-test/gc-non-blocking/test.fifo +(gc-non-blocking.sh:25) nix-store --gc -vvvvv +(gc-non-blocking.sh:33) pid2=15232 +(gc-non-blocking.sh:32) sleep 1 ++(gc-non-blocking.sh:41) nix-build --max-silent-time 60 --debug -o /build/nix-test/gc-non-blocking/result -E ' with import ./config.nix; mkDerivation { name = "non-blocking"; buildCommand = "set -x; test -e /build/nix-test/gc-non-blocking/running; mkdir $out; echo > /build/nix-test/gc-non-blocking/test.fifo"; }' evaluating file '/build/source/build/tests/functional/config.nix' acquiring write lock on '/build/nix-test/gc-non-blocking/var/nix/temproots/15234' connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': No such file or directory +(gc-non-blocking.sh:32) echo finding garbage collector roots... connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' sending GC root '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' GC roots server accepted new client got new GC root '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' got ack for GC root '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' locking path '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' lock acquired on '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh.lock' lock released on '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh.lock' sending GC root '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' got new GC root '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' got ack for GC root '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' locking path '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' lock acquired on '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv.lock' lock released on '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv.lock' instantiated 'non-blocking' -> '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' querying info about missing paths... starting pool of 24 threads this derivation will be built: /build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: created building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: woken up querying info about missing paths... starting pool of 24 threads entered goal loop building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: init building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: loading derivation sending GC root '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' got new GC root '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' got ack for GC root '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: have derivation sending GC root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' got new GC root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' got ack for GC root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' substitution of '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking': created substitution of '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking': woken up substitution of '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking': init sending GC root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' got new GC root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' got ack for GC root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' substitution of '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking': trying next substituter path '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' is required, but there is no substituter that can build it substitution of '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking': done building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: waitee 'substitution of '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking'' done; 0 left building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: woken up substitution of '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking': goal destroyed building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: all outputs substituted (maybe) building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: all inputs realised added input paths '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: woken up building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: trying to build locking path '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' lock acquired on '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking.lock' removing invalid path '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' starting build hook '/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix __build-remote' cannot find machines file '/build/nix-test/gc-non-blocking/etc/machines' got 0 remote builders hook reply is 'decline-permanently' killing process 16050 building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: woken up executing builder '/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash' using builder args '-e /build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' reading temporary root file '/build/nix-test/gc-non-blocking/var/nix/temproots/15234' got temporary root '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' got temporary root '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' got temporary root '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' got temporary root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' got temporary root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' building '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv'... ++ test -e /build/nix-test/gc-non-blocking/running ++ mkdir /build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking ++ echo building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: got EOF building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: woken up building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: build done killing process 16113 deleting garbage... invalidating path '/build/nix-test/gc-non-blocking/store/lxw25y66b41g60lngfaav651h7mn62m9-simple.nix' deleting '/build/nix-test/gc-non-blocking/store/lxw25y66b41g60lngfaav651h7mn62m9-simple.nix' builder process for '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' finished cannot delete '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' because it's a root cannot delete '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv' because it's a root cannot delete '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking.lock' because it's a temporary root cannot delete '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' because it's a root deleting unused links... note: currently hard linking saves 0.00 MiB GC roots server shutting down reading GC root from client: error: unexpected EOF reading a line scanning for references for output 'out' in temp location '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' unreferenced input: '/build/nix-test/gc-non-blocking/store/z5f564jblp9yrvj32l3k3sfxmjqjcfzm-builder-non-blocking.sh' lock released on '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking.lock' building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: done building of '/build/nix-test/gc-non-blocking/store/6niv5f0cf4silcz908qmskxbf2ds84p6-non-blocking.drv^out' from .drv file: goal destroyed sending GC root '/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking' GC socket disconnected connecting to '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket' GC socket connection refused: error: cannot connect to socket at '/build/nix-test/gc-non-blocking/var/nix/gc-socket/socket': Connection refused +(gc-non-blocking.sh:25) rm /build/nix-test/gc-non-blocking/running +(gc-non-blocking.sh:41) outPath=/build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking +(gc-non-blocking.sh:43) wait 13952 +(gc-non-blocking.sh:44) wait 15232 +(gc-non-blocking.sh:46) test -e /build/nix-test/gc-non-blocking/running +(gc-non-blocking.sh:47) test -e /build/nix-test/gc-non-blocking/store/lxw25y66b41g60lngfaav651h7mn62m9-simple.nix +(gc-non-blocking.sh:48) test -e /build/nix-test/gc-non-blocking/store/bva6918w4i9cjpidis8qznlnw705w4fi-non-blocking ============================================================================== =================================== 91/161 =================================== test: lix:installcheck / functional-recursive start time: 20:57:51 duration: 1.13s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=184 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py recursive.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/recursive/store/yccf7w8v0221799vm4zzwd396hpfs7fa-foobar /build/nix-test/recursive/store/b6l01a2si4sjr7q66llald7bafhl0mk0-fnord /build/nix-test/recursive/store/lc96xp8abqzwf8jjgn594blszszjzh8x-inner1 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/recursive +(init.sh:7) test -d /build/nix-test/recursive +(init.sh:8) chmod -R u+w /build/nix-test/recursive +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/recursive +(init.sh:13) mkdir /build/nix-test/recursive +(init.sh:15) mkdir /build/nix-test/recursive/store +(init.sh:16) mkdir /build/nix-test/recursive/var +(init.sh:17) mkdir -p /build/nix-test/recursive/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/recursive/var/nix +(init.sh:19) mkdir /build/nix-test/recursive/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/recursive/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(recursive.sh:3) enableFeatures recursive-nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=recursive-nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& recursive-nix/' /build/nix-test/recursive/etc/nix.conf +(recursive.sh:4) restartDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(recursive.sh:6) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/recursive/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/recursive/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/recursive/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/recursive/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/recursive/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/recursive/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/recursive/test-home/.local/state/nix/profiles +(recursive.sh:8) rm -f /build/nix-test/recursive/result ++(recursive.sh:10) nix store add-path ./recursive.sh warning: you don't have Internet access; disabling some network-dependent features +(recursive.sh:10) export unreachable=/build/nix-test/recursive/store/plwj4yilpr1agkmhdcjd90a038f0a426-recursive.sh +(recursive.sh:10) unreachable=/build/nix-test/recursive/store/plwj4yilpr1agkmhdcjd90a038f0a426-recursive.sh +++(recursive.sh:12) type -p nix ++(recursive.sh:12) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix +(recursive.sh:12) NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +(recursive.sh:12) nix --extra-experimental-features 'nix-command recursive-nix' build -o /build/nix-test/recursive/result -L --impure --file ./recursive.nix warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/recursive/store/47xj45f5xly2mp40cd6x2005ibfcksmx-recursive.drv building '/build/nix-test/recursive/store/47xj45f5xly2mp40cd6x2005ibfcksmx-recursive.drv'... recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> /build/nix-test/recursive/store/bxgxg5zcfy4l291y9x943qg0p6ylrs65-dummy recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> don't know how to build these paths: recursive> /build/nix-test/recursive/store/plwj4yilpr1agkmhdcjd90a038f0a426-recursive.sh recursive> error: path '/build/nix-test/recursive/store/plwj4yilpr1agkmhdcjd90a038f0a426-recursive.sh' does not exist in the store recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> error: cannot build '/build/nix-test/recursive/store/plwj4yilpr1agkmhdcjd90a038f0a426-recursive.sh' in recursive Nix because path is unknown recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> /build/nix-test/recursive/store/yccf7w8v0221799vm4zzwd396hpfs7fa-foobar recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features building '/build/nix-test/recursive/store/5p3k88k414hq8xbxzybxfckrivfw2k3f-inner1.drv'... recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> warning: you don't have Internet access; disabling some network-dependent features recursive> ++(recursive.sh:14) cat /build/nix-test/recursive/result/inner1 +(recursive.sh:14) [[ /build/nix-test/recursive/store/b6l01a2si4sjr7q66llald7bafhl0mk0-fnord blaat =~ blaat ]] +(recursive.sh:17) nix path-info -r /build/nix-test/recursive/result +(recursive.sh:17) grep foobar warning: you don't have Internet access; disabling some network-dependent features +(recursive.sh:18) nix path-info -r /build/nix-test/recursive/result +(recursive.sh:18) grep fnord warning: you don't have Internet access; disabling some network-dependent features +(recursive.sh:19) grep inner1 +(recursive.sh:19) nix path-info -r /build/nix-test/recursive/result warning: you don't have Internet access; disabling some network-dependent features ============================================================================== =================================== 92/161 =================================== test: lix:installcheck / functional-fetchGitSubmodules start time: 20:57:50 duration: 2.36s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=239 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchGitSubmodules.sh ----------------------------------- stdout ----------------------------------- clearing store... Initialized empty Git repository in /build/nix-test/fetchGitSubmodules/gitSubmodulesSub/.git/ [master (root-commit) fe72e94] Initial commit 1 file changed, 1 insertion(+) create mode 100644 content Initialized empty Git repository in /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot/.git/ [master (root-commit) 220d4ab] Add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 sub Initialized empty Git repository in /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot/.git/ [master (root-commit) 5a9e984] Add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 sub Submodule path 'sub': checked out 'fe72e9438bdb4b2979f7b28c4eeeca62d3fee1a3' [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchGitSubmodules +(init.sh:7) test -d /build/nix-test/fetchGitSubmodules +(init.sh:8) chmod -R u+w /build/nix-test/fetchGitSubmodules +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchGitSubmodules +(init.sh:13) mkdir /build/nix-test/fetchGitSubmodules +(init.sh:15) mkdir /build/nix-test/fetchGitSubmodules/store +(init.sh:16) mkdir /build/nix-test/fetchGitSubmodules/var +(init.sh:17) mkdir -p /build/nix-test/fetchGitSubmodules/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchGitSubmodules/var/nix +(init.sh:19) mkdir /build/nix-test/fetchGitSubmodules/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchGitSubmodules/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fetchGitSubmodules.sh:3) set -u +(fetchGitSubmodules.sh:5) requireGit ++(/build/source/build/tests/functional/common/vars-and-functions.sh:176) type -p git +(/build/source/build/tests/functional/common/vars-and-functions.sh:176) [[ -n /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin/git ]] +(fetchGitSubmodules.sh:7) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fetchGitSubmodules/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fetchGitSubmodules/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fetchGitSubmodules/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fetchGitSubmodules/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fetchGitSubmodules/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fetchGitSubmodules/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fetchGitSubmodules/test-home/.local/state/nix/profiles +(fetchGitSubmodules.sh:9) rootRepo=/build/nix-test/fetchGitSubmodules/gitSubmodulesRoot +(fetchGitSubmodules.sh:10) subRepo=/build/nix-test/fetchGitSubmodules/gitSubmodulesSub +(fetchGitSubmodules.sh:12) rm -rf /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot /build/nix-test/fetchGitSubmodules/gitSubmodulesSub /build/nix-test/fetchGitSubmodules/test-home/.cache/nix +(fetchGitSubmodules.sh:20) export XDG_CONFIG_HOME=/build/nix-test/fetchGitSubmodules/test-home/.config +(fetchGitSubmodules.sh:20) XDG_CONFIG_HOME=/build/nix-test/fetchGitSubmodules/test-home/.config +(fetchGitSubmodules.sh:21) git config --global protocol.file.allow always +(fetchGitSubmodules.sh:35) initGitRepo /build/nix-test/fetchGitSubmodules/gitSubmodulesSub +(fetchGitSubmodules.sh:24) git init /build/nix-test/fetchGitSubmodules/gitSubmodulesSub hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(fetchGitSubmodules.sh:25) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesSub config user.email foobar@example.com +(fetchGitSubmodules.sh:26) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesSub config user.name Foobar +(fetchGitSubmodules.sh:36) addGitContent /build/nix-test/fetchGitSubmodules/gitSubmodulesSub +(fetchGitSubmodules.sh:30) echo 'lorem ipsum' +(fetchGitSubmodules.sh:31) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesSub add content +(fetchGitSubmodules.sh:32) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesSub commit -m 'Initial commit' +(fetchGitSubmodules.sh:38) initGitRepo /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot +(fetchGitSubmodules.sh:24) git init /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(fetchGitSubmodules.sh:25) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot config user.email foobar@example.com +(fetchGitSubmodules.sh:26) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot config user.name Foobar +(fetchGitSubmodules.sh:40) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot submodule init +(fetchGitSubmodules.sh:41) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot submodule add /build/nix-test/fetchGitSubmodules/gitSubmodulesSub sub Cloning into '/build/nix-test/fetchGitSubmodules/gitSubmodulesRoot/sub'... done. +(fetchGitSubmodules.sh:42) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot add sub ++(fetchGitSubmodules.sh:43) nix eval --impure --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' warning: Git tree '/build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' is dirty +(fetchGitSubmodules.sh:43) r0=/build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source +(fetchGitSubmodules.sh:44) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot commit -m 'Add submodule' ++(fetchGitSubmodules.sh:46) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot rev-parse HEAD +(fetchGitSubmodules.sh:46) rev=220d4ab32418854f9398a6a0021a05af0a9a8304 ++(fetchGitSubmodules.sh:48) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:48) r1=/build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ++(fetchGitSubmodules.sh:49) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = false; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:49) r2=/build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ++(fetchGitSubmodules.sh:50) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:50) r3=/build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source +(fetchGitSubmodules.sh:52) [[ /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source == /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ]] +(fetchGitSubmodules.sh:53) [[ /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source == /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ]] +(fetchGitSubmodules.sh:54) [[ /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source != /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ]] ++(fetchGitSubmodules.sh:56) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:56) r4=/build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ++(fetchGitSubmodules.sh:57) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = false; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:57) r5=/build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ++(fetchGitSubmodules.sh:58) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:58) r6=/build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ++(fetchGitSubmodules.sh:59) nix eval --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:59) r7=/build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ++(fetchGitSubmodules.sh:60) nix eval --raw --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:60) r8=/build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source +(fetchGitSubmodules.sh:62) [[ /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source == /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ]] +(fetchGitSubmodules.sh:63) [[ /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source == /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ]] +(fetchGitSubmodules.sh:64) [[ /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source == /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ]] +(fetchGitSubmodules.sh:65) [[ /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source == /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ]] +(fetchGitSubmodules.sh:66) [[ /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source == /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ]] ++(fetchGitSubmodules.sh:68) nix eval --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; }).submodules' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:68) have_submodules=false +(fetchGitSubmodules.sh:69) [[ false == false ]] ++(fetchGitSubmodules.sh:71) nix eval --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = false; }).submodules' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:71) have_submodules=false +(fetchGitSubmodules.sh:72) [[ false == false ]] ++(fetchGitSubmodules.sh:74) nix eval --expr '(builtins.fetchGit { url = /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = true; }).submodules' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:74) have_submodules=true +(fetchGitSubmodules.sh:75) [[ true == true ]] ++(fetchGitSubmodules.sh:77) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:77) pathWithoutSubmodules=/build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source ++(fetchGitSubmodules.sh:78) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:78) pathWithSubmodules=/build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ++(fetchGitSubmodules.sh:79) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:79) pathWithSubmodulesAgain=/build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ++(fetchGitSubmodules.sh:80) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "220d4ab32418854f9398a6a0021a05af0a9a8304"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:80) pathWithSubmodulesAgainWithRef=/build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source +(fetchGitSubmodules.sh:83) [[ /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source != /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ]] +(fetchGitSubmodules.sh:86) [[ /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source == /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ]] +(fetchGitSubmodules.sh:89) [[ /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source == /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source ]] +(fetchGitSubmodules.sh:92) [[ ! -e /build/nix-test/fetchGitSubmodules/store/d6a3bsfi05ki30w5l434f5812298jrmj-source/sub/content ]] +(fetchGitSubmodules.sh:93) [[ -e /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source/sub/content ]] +(fetchGitSubmodules.sh:95) [[ -e /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source/sub/content ]] ++(fetchGitSubmodules.sh:98) find /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source -name .git +(fetchGitSubmodules.sh:98) test '' = '' ++(fetchGitSubmodules.sh:101) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesSub rev-parse HEAD +(fetchGitSubmodules.sh:101) subRev=fe72e9438bdb4b2979f7b28c4eeeca62d3fee1a3 ++(fetchGitSubmodules.sh:102) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesSub; rev = "fe72e9438bdb4b2979f7b28c4eeeca62d3fee1a3"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesSub' +(fetchGitSubmodules.sh:102) noSubmoduleRepoBaseline=/build/nix-test/fetchGitSubmodules/store/2pcn0g7xb0wn9vqvmgiii3zmvh4rcqqx-source ++(fetchGitSubmodules.sh:103) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesSub; rev = "fe72e9438bdb4b2979f7b28c4eeeca62d3fee1a3"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesSub' +(fetchGitSubmodules.sh:103) noSubmoduleRepo=/build/nix-test/fetchGitSubmodules/store/2pcn0g7xb0wn9vqvmgiii3zmvh4rcqqx-source +(fetchGitSubmodules.sh:105) [[ /build/nix-test/fetchGitSubmodules/store/2pcn0g7xb0wn9vqvmgiii3zmvh4rcqqx-source == /build/nix-test/fetchGitSubmodules/store/2pcn0g7xb0wn9vqvmgiii3zmvh4rcqqx-source ]] +(fetchGitSubmodules.sh:108) rm /build/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite /build/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite-journal +(fetchGitSubmodules.sh:109) rm -rf /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot/.git /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot/.gitmodules /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot/sub +(fetchGitSubmodules.sh:110) initGitRepo /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot +(fetchGitSubmodules.sh:24) git init /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m +(fetchGitSubmodules.sh:25) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot config user.email foobar@example.com +(fetchGitSubmodules.sh:26) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot config user.name Foobar +(fetchGitSubmodules.sh:111) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot submodule add ../gitSubmodulesSub sub Cloning into '/build/nix-test/fetchGitSubmodules/gitSubmodulesRoot/sub'... done. +(fetchGitSubmodules.sh:112) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot commit -m 'Add submodule' ++(fetchGitSubmodules.sh:113) git -C /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot rev-parse HEAD +(fetchGitSubmodules.sh:113) rev2=5a9e984ad0acf8fb9bdd9129edd2daec43e27dac ++(fetchGitSubmodules.sh:114) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "5a9e984ad0acf8fb9bdd9129edd2daec43e27dac"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/gitSubmodulesRoot' +(fetchGitSubmodules.sh:114) pathWithRelative=/build/nix-test/fetchGitSubmodules/store/m7zwlx733qb93q6cvzj2gq57h5vrxl8y-source +(fetchGitSubmodules.sh:115) diff -r -x .gitmodules /build/nix-test/fetchGitSubmodules/store/l673rwwpwz9r59l3yi4pjdzr8vfkmcif-source /build/nix-test/fetchGitSubmodules/store/m7zwlx733qb93q6cvzj2gq57h5vrxl8y-source +(fetchGitSubmodules.sh:118) rm /build/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite /build/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite-journal +(fetchGitSubmodules.sh:119) cloneRepo=/build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone +(fetchGitSubmodules.sh:120) git clone /build/nix-test/fetchGitSubmodules/gitSubmodulesRoot /build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone Cloning into '/build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone'... done. ++(fetchGitSubmodules.sh:121) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone; rev = "5a9e984ad0acf8fb9bdd9129edd2daec43e27dac"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone' +(fetchGitSubmodules.sh:121) pathIndirect=/build/nix-test/fetchGitSubmodules/store/m7zwlx733qb93q6cvzj2gq57h5vrxl8y-source +(fetchGitSubmodules.sh:122) [[ /build/nix-test/fetchGitSubmodules/store/m7zwlx733qb93q6cvzj2gq57h5vrxl8y-source = /build/nix-test/fetchGitSubmodules/store/m7zwlx733qb93q6cvzj2gq57h5vrxl8y-source ]] +(fetchGitSubmodules.sh:126) git -C /build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone submodule update --init Submodule 'sub' (/build/nix-test/fetchGitSubmodules/gitSubmodulesSub) registered for path 'sub' Cloning into '/build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone/sub'... done. +(fetchGitSubmodules.sh:127) rm /build/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite /build/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite-journal +(fetchGitSubmodules.sh:128) rm -rf /build/nix-test/fetchGitSubmodules/gitSubmodulesSub ++(fetchGitSubmodules.sh:129) nix eval --raw --expr '(builtins.fetchGit { url = file:///build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone; rev = "5a9e984ad0acf8fb9bdd9129edd2daec43e27dac"; submodules = true; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching git input 'git+file:///build/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone' +(fetchGitSubmodules.sh:129) pathSubmoduleGone=/build/nix-test/fetchGitSubmodules/store/m7zwlx733qb93q6cvzj2gq57h5vrxl8y-source +(fetchGitSubmodules.sh:130) [[ /build/nix-test/fetchGitSubmodules/store/m7zwlx733qb93q6cvzj2gq57h5vrxl8y-source = /build/nix-test/fetchGitSubmodules/store/m7zwlx733qb93q6cvzj2gq57h5vrxl8y-source ]] ============================================================================== =================================== 93/161 =================================== test: lix:installcheck / functional-check-reqs start time: 20:57:51 duration: 1.34s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=76 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py check-reqs.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/check-reqs/store/m0xl0shld9qygy45j0jnzn7q3n1a2988-check-reqs-1 /build/nix-test/check-reqs/store/h0n305h4rxrvp28v2gs1rw600w6wyk6p-check-reqs [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/check-reqs +(init.sh:7) test -d /build/nix-test/check-reqs +(init.sh:8) chmod -R u+w /build/nix-test/check-reqs +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/check-reqs +(init.sh:13) mkdir /build/nix-test/check-reqs +(init.sh:15) mkdir /build/nix-test/check-reqs/store +(init.sh:16) mkdir /build/nix-test/check-reqs/var +(init.sh:17) mkdir -p /build/nix-test/check-reqs/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/check-reqs/var/nix +(init.sh:19) mkdir /build/nix-test/check-reqs/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/check-reqs/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(check-reqs.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/check-reqs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/check-reqs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/check-reqs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/check-reqs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/check-reqs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/check-reqs/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/check-reqs/test-home/.local/state/nix/profiles +(check-reqs.sh:5) RESULT=/build/nix-test/check-reqs/result +(check-reqs.sh:7) nix-build -o /build/nix-test/check-reqs/result check-reqs.nix -A test1 these 4 derivations will be built: /build/nix-test/check-reqs/store/k2alv81xhj0kjmjkny9w6yvmpkplbk5f-check-reqs-dep1.drv /build/nix-test/check-reqs/store/yzzb2pgfdzz94rkklkcikzhavl0d7wb6-check-reqs-dep2.drv /build/nix-test/check-reqs/store/9hyl12kmps72ma3fds5vfq93p2p83270-check-reqs-deps.drv /build/nix-test/check-reqs/store/h9rxxfz7vaca8320vynw2pmj428kx41z-check-reqs-1.drv building '/build/nix-test/check-reqs/store/k2alv81xhj0kjmjkny9w6yvmpkplbk5f-check-reqs-dep1.drv'... building '/build/nix-test/check-reqs/store/yzzb2pgfdzz94rkklkcikzhavl0d7wb6-check-reqs-dep2.drv'... building '/build/nix-test/check-reqs/store/9hyl12kmps72ma3fds5vfq93p2p83270-check-reqs-deps.drv'... building '/build/nix-test/check-reqs/store/h9rxxfz7vaca8320vynw2pmj428kx41z-check-reqs-1.drv'... +(check-reqs.sh:9) nix-build -o /build/nix-test/check-reqs/result check-reqs.nix -A test2 this derivation will be built: /build/nix-test/check-reqs/store/jkk544x0havcsl97pv5mhvc5byly7a4l-check-reqs-2.drv building '/build/nix-test/check-reqs/store/jkk544x0havcsl97pv5mhvc5byly7a4l-check-reqs-2.drv'... error: output '/build/nix-test/check-reqs/store/0rz864xwmii285b3fspyda5vz9l59k3q-check-reqs-2' is not allowed to refer to the following paths: /build/nix-test/check-reqs/store/xv8vhj3xdsc8526971hbsynfm50npipi-check-reqs-dep1 +(check-reqs.sh:10) nix-build -o /build/nix-test/check-reqs/result check-reqs.nix -A test3 this derivation will be built: /build/nix-test/check-reqs/store/hks8p9yrgv5vc42n5cn1ayylrc0ycb74-check-reqs-3.drv building '/build/nix-test/check-reqs/store/hks8p9yrgv5vc42n5cn1ayylrc0ycb74-check-reqs-3.drv'... error: output '/build/nix-test/check-reqs/store/28kh8njr7gi8f0lrf071gnsccz40406a-check-reqs-3' is not allowed to refer to the following paths: /build/nix-test/check-reqs/store/cfs20d7gdccrccvpsp5746vwblqpjcqq-check-reqs-dep2 +(check-reqs.sh:11) grepQuiet check-reqs-dep1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep check-reqs-dep1 +(check-reqs.sh:12) grepQuiet check-reqs-dep2 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep check-reqs-dep2 +(check-reqs.sh:13) nix-build -o /build/nix-test/check-reqs/result check-reqs.nix -A test5 this derivation will be built: /build/nix-test/check-reqs/store/vss0dw30x29d0d78mj4gj62mj78n6pxz-check-reqs-5.drv building '/build/nix-test/check-reqs/store/vss0dw30x29d0d78mj4gj62mj78n6pxz-check-reqs-5.drv'... error: output '/build/nix-test/check-reqs/store/lxdnfqal5s48c5dmvr4h0pfdq6mhjykj-check-reqs-5' is not allowed to refer to the following paths: /build/nix-test/check-reqs/store/cfs20d7gdccrccvpsp5746vwblqpjcqq-check-reqs-dep2 /build/nix-test/check-reqs/store/iaxnxyjinx1hbvzc4j67k56nli2wbq7x-check-reqs-deps /build/nix-test/check-reqs/store/xv8vhj3xdsc8526971hbsynfm50npipi-check-reqs-dep1 +(check-reqs.sh:14) nix-build -o /build/nix-test/check-reqs/result check-reqs.nix -A test6 this derivation will be built: /build/nix-test/check-reqs/store/6nk8qgndcxadw1g221zc28f2w1xxfjiq-check-reqs.drv building '/build/nix-test/check-reqs/store/6nk8qgndcxadw1g221zc28f2w1xxfjiq-check-reqs.drv'... error: output '/build/nix-test/check-reqs/store/9jvg8gmx982hl1bsclbmhmjmb5hdgcgc-check-reqs' is not allowed to refer to the following paths: /build/nix-test/check-reqs/store/xv8vhj3xdsc8526971hbsynfm50npipi-check-reqs-dep1 +(check-reqs.sh:16) nix-build -o /build/nix-test/check-reqs/result check-reqs.nix -A test7 this derivation will be built: /build/nix-test/check-reqs/store/h430k6argbd1mdhqdcllvz8ybdnnp0zc-check-reqs.drv building '/build/nix-test/check-reqs/store/h430k6argbd1mdhqdcllvz8ybdnnp0zc-check-reqs.drv'... ============================================================================== =================================== 94/161 =================================== test: lix:installcheck / functional-build-remote-trustless-should-pass-3 start time: 20:57:52 duration: 0.36s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=100 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-remote-trustless-should-pass-3.sh ----------------------------------- stdout ----------------------------------- [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-remote-trustless-should-pass-3 +(init.sh:7) test -d /build/nix-test/build-remote-trustless-should-pass-3 +(init.sh:8) chmod -R u+w /build/nix-test/build-remote-trustless-should-pass-3 +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-remote-trustless-should-pass-3 +(init.sh:13) mkdir /build/nix-test/build-remote-trustless-should-pass-3 +(init.sh:15) mkdir /build/nix-test/build-remote-trustless-should-pass-3/store +(init.sh:16) mkdir /build/nix-test/build-remote-trustless-should-pass-3/var +(init.sh:17) mkdir -p /build/nix-test/build-remote-trustless-should-pass-3/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-remote-trustless-should-pass-3/var/nix +(init.sh:19) mkdir /build/nix-test/build-remote-trustless-should-pass-3/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-remote-trustless-should-pass-3/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-trustless-should-pass-3.sh:3) enableFeatures daemon-trust-override +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=daemon-trust-override +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& daemon-trust-override/' /build/nix-test/build-remote-trustless-should-pass-3/etc/nix.conf +(build-remote-trustless-should-pass-3.sh:5) restartDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(build-remote-trustless-should-pass-3.sh:9) file=build-hook-ca-fixed.nix ++(build-remote-trustless-should-pass-3.sh:10) readlink -e ./nix-daemon-untrusting.sh +(build-remote-trustless-should-pass-3.sh:10) prog=/build/source/build/tests/functional/nix-daemon-untrusting.sh +(build-remote-trustless-should-pass-3.sh:11) proto=ssh-ng +(build-remote-trustless-should-pass-3.sh:13) source build-remote-trustless.sh ++(build-remote-trustless.sh:1) requireSandboxSupport ++(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox ++(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] ++(build-remote-trustless.sh:2) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote-trustless.sh:4) unset NIX_STORE_DIR ++(build-remote-trustless.sh:5) unset NIX_STATE_DIR ++(build-remote-trustless.sh:7) remoteDir=/build/nix-test/build-remote-trustless-should-pass-3/remote ++(build-remote-trustless.sh:11) nix-build build-hook-ca-fixed.nix -o /build/nix-test/build-remote-trustless-should-pass-3/result --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-trustless-should-pass-3/local --builders 'ssh-ng://localhost?remote-program=/build/source/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz' these 4 derivations will be built: /nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv /nix/store/h7mvalas7p82qqk274skala3xibllaky-build-remote-input-2.drv /nix/store/l8wkz0rhfh97xy2z8ki1mqrwk8py5daf-build-remote-input-3.drv /nix/store/2r87c9ax6ba8ipyn90b6pxc5mj4ax4vd-build-remote.drv building '/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=/build/source/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz'... copying 2 paths... copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh-ng://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh-ng://localhost'... building '/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv'... hi-input1 error: build of '/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=/build/source/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz' failed: error: removing extended attribute 'btrfs.compression' from '/build/nix-test/build-remote-trustless-should-pass-3/remote/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv.chroot/nix/store/8nd9yhn3qq73l3zpvdxjsavd5pd0a8nq-build-remote-input-1': Permission denied error: builder for '/nix/store/8gsnhb2p6b8736a4yhanbl1mdxsk82hx-build-remote-input-1.drv' failed with exit code 1 error: 1 dependencies of derivation '/nix/store/2r87c9ax6ba8ipyn90b6pxc5mj4ax4vd-build-remote.drv' failed to build +++(build-remote-trustless.sh:11) onError +++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x build-remote-trustless-should-pass-3.sh: test failed at: source in build-remote-trustless.sh:11 main in build-remote-trustless-should-pass-3.sh:13 ============================================================================== =================================== 95/161 =================================== test: lix:installcheck / functional-build-remote-content-addressed-floating start time: 20:57:51 duration: 1.20s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=198 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-remote-content-addressed-floating.sh ----------------------------------- stdout ----------------------------------- FOO BAR BAZ hi-input1 hi-input3 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-remote-content-addressed-floating +(init.sh:7) test -d /build/nix-test/build-remote-content-addressed-floating +(init.sh:8) chmod -R u+w /build/nix-test/build-remote-content-addressed-floating +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-remote-content-addressed-floating +(init.sh:13) mkdir /build/nix-test/build-remote-content-addressed-floating +(init.sh:15) mkdir /build/nix-test/build-remote-content-addressed-floating/store +(init.sh:16) mkdir /build/nix-test/build-remote-content-addressed-floating/var +(init.sh:17) mkdir -p /build/nix-test/build-remote-content-addressed-floating/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-remote-content-addressed-floating/var/nix +(init.sh:19) mkdir /build/nix-test/build-remote-content-addressed-floating/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-remote-content-addressed-floating/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-content-addressed-floating.sh:3) file=build-hook-ca-floating.nix +(build-remote-content-addressed-floating.sh:5) enableFeatures ca-derivations +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/build-remote-content-addressed-floating/etc/nix.conf +(build-remote-content-addressed-floating.sh:7) CONTENT_ADDRESSED=true +(build-remote-content-addressed-floating.sh:9) source build-remote.sh ++(build-remote.sh:1) requireSandboxSupport ++(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox ++(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] ++(build-remote.sh:2) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote.sh:5) unset NIX_STORE_DIR ++(build-remote.sh:6) unset NIX_STATE_DIR ++(build-remote.sh:10) EXTRA_SYSTEM_FEATURES=() ++(build-remote.sh:11) [[ -n true ]] ++(build-remote.sh:12) EXTRA_SYSTEM_FEATURES=("ca-derivations") ++(build-remote.sh:21) builders=("ssh://localhost?remote-store=$TEST_ROOT/machine1?system-features=$(join_by "%20" foo ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," foo ${EXTRA_SYSTEM_FEATURES[@]})" "$TEST_ROOT/machine2 - - 1 1 $(join_by "," bar ${EXTRA_SYSTEM_FEATURES[@]})" "ssh-ng://localhost?remote-store=$TEST_ROOT/machine3?system-features=$(join_by "%20" baz ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," baz ${EXTRA_SYSTEM_FEATURES[@]})") +++(build-remote.sh:21) join_by %20 foo ca-derivations +++(build-remote.sh:8) local d=%20 +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n foo +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s %20ca-derivations +++(build-remote.sh:21) join_by , foo ca-derivations +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n foo +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s ,ca-derivations +++(build-remote.sh:21) join_by , bar ca-derivations +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n bar +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s ,ca-derivations +++(build-remote.sh:21) join_by %20 baz ca-derivations +++(build-remote.sh:8) local d=%20 +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n baz +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s %20ca-derivations +++(build-remote.sh:21) join_by , baz ca-derivations +++(build-remote.sh:8) local d=, +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n baz +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s ,ca-derivations ++(build-remote.sh:23) chmod -R +w '/build/nix-test/build-remote-content-addressed-floating/machine*' chmod: cannot access '/build/nix-test/build-remote-content-addressed-floating/machine*': No such file or directory ++(build-remote.sh:23) true ++(build-remote.sh:24) rm -rf '/build/nix-test/build-remote-content-addressed-floating/machine*' +++(build-remote.sh:29) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations' '/build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' +++(build-remote.sh:8) local 'd=; ' +++(build-remote.sh:8) shift +++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations' +++(build-remote.sh:8) shift +++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' ++(build-remote.sh:29) nix build -L -v -f build-hook-ca-floating.nix -o /build/nix-test/build-remote-content-addressed-floating/result --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-content-addressed-floating/machine0 --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations; /build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' warning: you don't have Internet access; disabling some network-dependent features these 4 derivations will be built: /nix/store/wzh989icis7398qvfafpdqdpr2y8qbbg-build-remote-input-2.drv /nix/store/0776c6s5xb282iqjkxqvzm8x5pfa2mxq-build-remote-input-3.drv /nix/store/qd62r3drwm0d22zqdal11482jyl0gjxp-build-remote-input-1.drv /nix/store/dfr8aq3rrqmafpccmgvsymxjylg9mi91-build-remote.drv connecting to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... building '/nix/store/qd62r3drwm0d22zqdal11482jyl0gjxp-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... connecting to '/build/nix-test/build-remote-content-addressed-floating/machine2'... building '/nix/store/wzh989icis7398qvfafpdqdpr2y8qbbg-build-remote-input-2.drv' on '/build/nix-test/build-remote-content-addressed-floating/machine2'... waiting for the upload lock to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... copying dependencies to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... copying 2 paths... copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh://localhost'... build-remote-input> hi-input1 waiting for the upload lock to '/build/nix-test/build-remote-content-addressed-floating/machine2'... copying dependencies to '/build/nix-test/build-remote-content-addressed-floating/machine2'... copying 2 paths... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'local'... copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'local'... copying outputs from 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... copying 1 paths... copying path '/nix/store/8nd9yhn3qq73l3zpvdxjsavd5pd0a8nq-build-remote-input-1' from 'ssh://localhost'... building '/nix/store/wzh989icis7398qvfafpdqdpr2y8qbbg-build-remote-input-2.drv'... build-remote-input> hi copying outputs from '/build/nix-test/build-remote-content-addressed-floating/machine2'... copying 1 paths... copying path '/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2' to 'local'... connecting to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations'... building '/nix/store/401k9ppfg8a8fm9k1778slr1iwya0hqq-build-remote-input-3.drv' on 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations'... waiting for the upload lock to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations'... copying dependencies to 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations'... copying 3 paths... copying path '/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2' to 'ssh-ng://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh-ng://localhost'... copying path '/nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh' to 'ssh-ng://localhost'... building '/nix/store/401k9ppfg8a8fm9k1778slr1iwya0hqq-build-remote-input-3.drv'... build-remote-input> hi-input3 copying outputs from 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations'... copying 1 paths... copying path '/nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' from 'ssh-ng://localhost'... connecting to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... building '/nix/store/6h0ynw30wy581x6g2fpk8wdz0h4v2sac-build-remote.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... waiting for the upload lock to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... copying dependencies to 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... copying 2 paths... copying path '/nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' to 'ssh://localhost'... copying path '/nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' to 'ssh://localhost'... copying outputs from 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... copying 1 paths... copying path '/nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote' from 'ssh://localhost'... +++(build-remote.sh:34) readlink -f /build/nix-test/build-remote-content-addressed-floating/result ++(build-remote.sh:34) outPath=/nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote ++(build-remote.sh:36) grep 'FOO BAR BAZ' /build/nix-test/build-remote-content-addressed-floating/machine0//nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote ++++(build-remote.sh:42) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations' '/build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' ++++(build-remote.sh:8) local 'd=; ' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' +++(build-remote.sh:42) nix build -L -v -f build-hook-ca-floating.nix --no-link --print-out-paths --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-content-addressed-floating/machine0 --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations; /build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:42) testPrintOutPath=/nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote ++(build-remote.sh:44) [[ /nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote =~ store.*build-remote ]] +++(build-remote.sh:47) nix path-info --store /build/nix-test/build-remote-content-addressed-floating/machine1 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:47) output='/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/8nd9yhn3qq73l3zpvdxjsavd5pd0a8nq-build-remote-input-1 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh /nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote /nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' ++(build-remote.sh:48) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/8nd9yhn3qq73l3zpvdxjsavd5pd0a8nq-build-remote-input-1 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh /nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote /nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' ++(build-remote.sh:48) grepQuiet builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-1.sh ++(build-remote.sh:49) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/8nd9yhn3qq73l3zpvdxjsavd5pd0a8nq-build-remote-input-1 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh /nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote /nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' ++(build-remote.sh:49) grepQuietInverse builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-2.sh ++(build-remote.sh:50) echo '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh /nix/store/8nd9yhn3qq73l3zpvdxjsavd5pd0a8nq-build-remote-input-1 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh /nix/store/x0l2s17skrijz44xk1nzbk3jajcrwdhl-build-remote /nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' ++(build-remote.sh:50) grepQuietInverse builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-3.sh ++(build-remote.sh:51) unset output +++(build-remote.sh:54) nix path-info --store /build/nix-test/build-remote-content-addressed-floating/machine2 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:54) output='/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:55) echo '/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:55) grepQuietInverse builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-1.sh ++(build-remote.sh:56) echo '/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:56) grepQuiet builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-2.sh ++(build-remote.sh:57) echo '/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' ++(build-remote.sh:57) grepQuietInverse builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-3.sh ++(build-remote.sh:58) unset output +++(build-remote.sh:61) nix path-info --store /build/nix-test/build-remote-content-addressed-floating/machine3 --all warning: you don't have Internet access; disabling some network-dependent features ++(build-remote.sh:61) output='/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' ++(build-remote.sh:62) echo '/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' ++(build-remote.sh:62) grepQuietInverse builder-build-remote-input-1.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-1.sh ++(build-remote.sh:63) echo '/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' ++(build-remote.sh:63) grepQuietInverse builder-build-remote-input-2.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep builder-build-remote-input-2.sh ++(build-remote.sh:64) echo '/nix/store/8ml6iz8hnakpvrn0m8h22fb3vsjwr1ab-build-remote-input-2 /nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox /nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh /nix/store/yg7jikmd4in3xk74r3c8kc6dcnb2d6va-build-remote-input-3' ++(build-remote.sh:64) grepQuiet builder-build-remote-input-3.sh ++(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep builder-build-remote-input-3.sh ++(build-remote.sh:65) unset output ++(build-remote.sh:68) for i in input1 input3 ++(build-remote.sh:69) nix log --store /build/nix-test/build-remote-content-addressed-floating/machine0 --file build-hook-ca-floating.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox passthru.input1 ++(build-remote.sh:69) grep hi-input1 warning: you don't have Internet access; disabling some network-dependent features got build log for 'passthru.input1' from 'local' ++(build-remote.sh:68) for i in input1 input3 ++(build-remote.sh:69) nix log --store /build/nix-test/build-remote-content-addressed-floating/machine0 --file build-hook-ca-floating.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox passthru.input3 ++(build-remote.sh:69) grep hi-input3 warning: you don't have Internet access; disabling some network-dependent features got build log for 'passthru.input3' from 'local' ++++(build-remote.sh:79) join_by '; ' 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations' '/build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations' 'ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' ++++(build-remote.sh:8) local 'd=; ' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations' ++++(build-remote.sh:8) shift ++++(build-remote.sh:8) printf %s '; /build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations' '; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' +++(build-remote.sh:79) nix-build failing.nix --no-out-link --builders 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations; /build/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations; ssh-ng://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations' --keep-failed --store /build/nix-test/build-remote-content-addressed-floating/machine0 -j0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox ++(build-remote.sh:79) out='this derivation will be built: /nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv building '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' on '\''ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'\''... copying 1 paths... copying path '\''/nix/store/cryiszlhhss2h40r3f9m60l92i88m2xd-builder-failing.sh'\'' to '\''ssh://localhost'\''... note: keeping build directory '\''/build/nix-build-failing.drv-2'\'' error: build of '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' on '\''ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'\'' failed: builder for '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' failed with exit code 1 error: builder for '\''/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv'\'' failed with exit code 1' ++(build-remote.sh:79) true ++(build-remote.sh:81) [[ this derivation will be built: /nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv building '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'... copying 1 paths... copying path '/nix/store/cryiszlhhss2h40r3f9m60l92i88m2xd-builder-failing.sh' to 'ssh://localhost'... note: keeping build directory '/build/nix-build-failing.drv-2' error: build of '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' on 'ssh://localhost?remote-store=/build/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations' failed: builder for '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' failed with exit code 1 error: builder for '/nix/store/5c2wix27nizymlqcz0rylxw5hi505nrx-failing.drv' failed with exit code 1 =~ .*note: keeping build directory.* ]] +++(build-remote.sh:83) grep 'note: keeping build' +++(build-remote.sh:83) sed -E 's/^(.*)note: keeping build directory '\''(.*)'\''(.*)$/\2/' ++(build-remote.sh:83) build_dir=/build/nix-build-failing.drv-2 ++(build-remote.sh:84) [[ foo = foo ]] ============================================================================== =================================== 96/161 =================================== test: lix:installcheck / functional-impure-eval start time: 20:57:52 duration: 0.46s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=81 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py impure-eval.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/impure-eval +(init.sh:7) test -d /build/nix-test/impure-eval +(init.sh:8) chmod -R u+w /build/nix-test/impure-eval +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/impure-eval +(init.sh:13) mkdir /build/nix-test/impure-eval +(init.sh:15) mkdir /build/nix-test/impure-eval/store +(init.sh:16) mkdir /build/nix-test/impure-eval/var +(init.sh:17) mkdir -p /build/nix-test/impure-eval/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/impure-eval/var/nix +(init.sh:19) mkdir /build/nix-test/impure-eval/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/impure-eval/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(impure-eval.sh:3) export REMOTE_STORE=dummy:// +(impure-eval.sh:3) REMOTE_STORE=dummy:// +(impure-eval.sh:16) simpleTest builtins.storeDir /foo --store 'dummy://?store=/foo' +(impure-eval.sh:6) local expr=builtins.storeDir +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=/foo +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --store 'dummy://?store=/foo' --expr builtins.storeDir warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ /foo == \/\f\o\o ]] +(impure-eval.sh:17) simpleTest builtins.storeDir /bar --store 'dummy://?store=/bar' +(impure-eval.sh:6) local expr=builtins.storeDir +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=/bar +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --store 'dummy://?store=/bar' --expr builtins.storeDir warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ /bar == \/\b\a\r ]] +(impure-eval.sh:22) simpleTest builtins.currentSystem foo --system foo +(impure-eval.sh:6) local expr=builtins.currentSystem +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=foo +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --system foo --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ foo == \f\o\o ]] +(impure-eval.sh:23) simpleTest builtins.currentSystem bar --system bar +(impure-eval.sh:6) local expr=builtins.currentSystem +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=bar +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --system bar --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ bar == \b\a\r ]] +(impure-eval.sh:26) simpleTest builtins.currentSystem foo --system foo --eval-system '' +(impure-eval.sh:6) local expr=builtins.currentSystem +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=foo +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --system foo --eval-system '' --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ foo == \f\o\o ]] +(impure-eval.sh:27) simpleTest builtins.currentSystem bar --system bar --eval-system '' +(impure-eval.sh:6) local expr=builtins.currentSystem +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=bar +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --system bar --eval-system '' --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ bar == \b\a\r ]] +(impure-eval.sh:30) simpleTest builtins.currentSystem foo --eval-system foo +(impure-eval.sh:6) local expr=builtins.currentSystem +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=foo +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --eval-system foo --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ foo == \f\o\o ]] +(impure-eval.sh:31) simpleTest builtins.currentSystem bar --eval-system bar +(impure-eval.sh:6) local expr=builtins.currentSystem +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=bar +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --eval-system bar --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ bar == \b\a\r ]] +(impure-eval.sh:34) simpleTest builtins.currentSystem bar --system foo --eval-system bar +(impure-eval.sh:6) local expr=builtins.currentSystem +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=bar +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --system foo --eval-system bar --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ bar == \b\a\r ]] +(impure-eval.sh:35) simpleTest builtins.currentSystem baz --system foo --eval-system baz +(impure-eval.sh:6) local expr=builtins.currentSystem +(impure-eval.sh:6) shift +(impure-eval.sh:7) local result=baz +(impure-eval.sh:7) shift ++(impure-eval.sh:10) nix eval --impure --raw --system foo --eval-system baz --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features +(impure-eval.sh:10) [[ baz == \b\a\z ]] ============================================================================== =================================== 97/161 =================================== test: lix:installcheck / functional-nar-access start time: 20:57:52 duration: 0.73s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=226 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nar-access.sh ----------------------------------- stdout ----------------------------------- building test path error: path '/build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/xyzzy' does not exist in NAR error: path '/build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/xyzzy' does not exist [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nar-access +(init.sh:7) test -d /build/nix-test/nar-access +(init.sh:8) chmod -R u+w /build/nix-test/nar-access +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nar-access +(init.sh:13) mkdir /build/nix-test/nar-access +(init.sh:15) mkdir /build/nix-test/nar-access/store +(init.sh:16) mkdir /build/nix-test/nar-access/var +(init.sh:17) mkdir -p /build/nix-test/nar-access/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nar-access/var/nix +(init.sh:19) mkdir /build/nix-test/nar-access/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nar-access/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nar-access.sh:3) echo 'building test path' ++(nar-access.sh:4) nix-build nar-access.nix -A a --no-out-link this derivation will be built: /build/nix-test/nar-access/store/y8giylblbhgzdw5gq2hqv1rwva9xip0r-nar-index-a.drv building '/build/nix-test/nar-access/store/y8giylblbhgzdw5gq2hqv1rwva9xip0r-nar-index-a.drv'... +(nar-access.sh:4) storePath=/build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a +(nar-access.sh:6) cd /build/nix-test/nar-access +(nar-access.sh:9) narFile=/build/nix-test/nar-access/path.nar +(nar-access.sh:10) nix-store --dump /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a +(nar-access.sh:13) cd /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a +(nar-access.sh:13) find . +(nar-access.sh:13) sort +(nar-access.sh:14) nix nar ls -R -d /build/nix-test/nar-access/path.nar '' +(nar-access.sh:14) sort warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:15) diff -u files.find files.ls-nar +(nar-access.sh:18) nix nar cat /build/nix-test/nar-access/path.nar /foo/data warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:19) diff -u data.cat-nar /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/foo/data +(nar-access.sh:22) nix nar cat /build/nix-test/nar-access/path.nar /foo/baz warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:23) diff -u baz.cat-nar /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/foo/baz +(nar-access.sh:25) nix store cat /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/foo/baz warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:26) diff -u baz.cat-nar /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/foo/baz ++(nar-access.sh:29) dirname /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a +(nar-access.sh:29) invalidPath=/build/nix-test/nar-access/store/99999999999999999999999999999999-foo +(nar-access.sh:30) cp -r /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a /build/nix-test/nar-access/store/99999999999999999999999999999999-foo +(nar-access.sh:31) expect 1 nix store cat /build/nix-test/nar-access/store/99999999999999999999999999999999-foo/foo/baz +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix store cat /build/nix-test/nar-access/store/99999999999999999999999999999999-foo/foo/baz warning: you don't have Internet access; disabling some network-dependent features error: path '/build/nix-test/nar-access/store/99999999999999999999999999999999-foo' does not exist in the store +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(nar-access.sh:34) diff -u /dev/fd/63 /dev/fd/62 ++(nar-access.sh:34) nix nar ls --json /build/nix-test/nar-access/path.nar / ++(nar-access.sh:34) jq -S ++(nar-access.sh:34) jq -S ++(nar-access.sh:34) echo '{"type":"directory","entries":{"foo":{},"foo-x":{},"qux":{},"zyx":{}}}' warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:37) diff -u /dev/fd/63 /dev/fd/62 ++(nar-access.sh:37) nix nar ls --json -R /build/nix-test/nar-access/path.nar /foo ++(nar-access.sh:37) jq -S ++(nar-access.sh:37) jq -S ++(nar-access.sh:37) echo '{"type":"directory","entries":{"bar":{"type":"regular","size":0,"narOffset":368},"baz":{"type":"regular","size":0,"narOffset":552},"data":{"type":"regular","size":58,"narOffset":736}}}' warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:40) diff -u /dev/fd/63 /dev/fd/62 ++(nar-access.sh:40) nix nar ls --json -R /build/nix-test/nar-access/path.nar /foo/bar ++(nar-access.sh:40) jq -S ++(nar-access.sh:40) echo '{"type":"regular","size":0,"narOffset":368}' ++(nar-access.sh:40) jq -S warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:43) diff -u /dev/fd/63 /dev/fd/62 ++(nar-access.sh:43) nix store ls --json /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a ++(nar-access.sh:43) jq -S ++(nar-access.sh:43) echo '{"type":"directory","entries":{"foo":{},"foo-x":{},"qux":{},"zyx":{}}}' ++(nar-access.sh:43) jq -S warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:46) diff -u /dev/fd/63 /dev/fd/62 ++(nar-access.sh:46) nix store ls --json -R /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/foo ++(nar-access.sh:46) jq -S ++(nar-access.sh:46) jq -S ++(nar-access.sh:46) echo '{"type":"directory","entries":{"bar":{"type":"regular","size":0},"baz":{"type":"regular","size":0},"data":{"type":"regular","size":58}}}' warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:49) diff -u /dev/fd/63 /dev/fd/62 ++(nar-access.sh:49) nix store ls --json -R /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/foo/bar ++(nar-access.sh:49) jq -S ++(nar-access.sh:49) echo '{"type":"regular","size":0}' ++(nar-access.sh:49) jq -S warning: you don't have Internet access; disabling some network-dependent features +(nar-access.sh:54) expect 1 nix store ls --json -R /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/xyzzy +(nar-access.sh:54) grep 'does not exist in NAR' +(nar-access.sh:55) expect 1 nix store ls /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a/xyzzy +(nar-access.sh:55) grep 'does not exist' +(nar-access.sh:58) nix-store --dump /build/nix-test/nar-access/store/vd8nj1figlp27vyhj0gvll9irr6z6wpg-nar-index-a error: writing to file: No space left on device ============================================================================== =================================== 98/161 =================================== test: lix:installcheck / functional-fetchMercurial start time: 20:57:37 duration: 15.65s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=26 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchMercurial.sh ----------------------------------- stdout ----------------------------------- clearing store... reverting hello [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchMercurial +(init.sh:7) test -d /build/nix-test/fetchMercurial +(init.sh:8) chmod -R u+w /build/nix-test/fetchMercurial +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchMercurial +(init.sh:13) mkdir /build/nix-test/fetchMercurial +(init.sh:15) mkdir /build/nix-test/fetchMercurial/store +(init.sh:16) mkdir /build/nix-test/fetchMercurial/var +(init.sh:17) mkdir -p /build/nix-test/fetchMercurial/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchMercurial/var/nix +(init.sh:19) mkdir /build/nix-test/fetchMercurial/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchMercurial/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(fetchMercurial.sh:3) type -p hg +(fetchMercurial.sh:3) [[ -n /nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin/hg ]] +(fetchMercurial.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fetchMercurial/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fetchMercurial/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fetchMercurial/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fetchMercurial/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fetchMercurial/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fetchMercurial/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fetchMercurial/test-home/.local/state/nix/profiles +(fetchMercurial.sh:9) repo=/build/nix-test/fetchMercurial/./hg +(fetchMercurial.sh:11) rm -rf /build/nix-test/fetchMercurial/./hg /build/nix-test/fetchMercurial/./hg-tmp /build/nix-test/fetchMercurial/test-home/.cache/nix +(fetchMercurial.sh:13) hg init /build/nix-test/fetchMercurial/./hg +(fetchMercurial.sh:14) echo '[ui]' +(fetchMercurial.sh:15) echo 'username = Foobar ' +(fetchMercurial.sh:18) echo 'tweakdefaults = True' +(fetchMercurial.sh:20) echo utrecht +(fetchMercurial.sh:21) touch /build/nix-test/fetchMercurial/./hg/.hgignore +(fetchMercurial.sh:22) hg add --cwd /build/nix-test/fetchMercurial/./hg hello .hgignore +(fetchMercurial.sh:23) hg commit --cwd /build/nix-test/fetchMercurial/./hg -m Bla1 ++(fetchMercurial.sh:24) hg log --cwd /build/nix-test/fetchMercurial/./hg -r tip --template '{node}' +(fetchMercurial.sh:24) rev1=b4b402246b3651b7c4bd29496ca5632aed7a70b7 +(fetchMercurial.sh:26) echo world +(fetchMercurial.sh:27) hg commit --cwd /build/nix-test/fetchMercurial/./hg -m Bla2 ++(fetchMercurial.sh:28) hg log --cwd /build/nix-test/fetchMercurial/./hg -r tip --template '{node}' +(fetchMercurial.sh:28) rev2=01f94a43ca125b2614fb23b265d8bcb00c012ff7 +(fetchMercurial.sh:31) echo unclean ++(fetchMercurial.sh:32) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' warning: Mercurial tree '/build/nix-test/fetchMercurial/./hg' is unclean +(fetchMercurial.sh:32) path=/build/nix-test/fetchMercurial/store/ciain1a5djnxkmsdbi09k8h8y6ncjhrx-source ++(fetchMercurial.sh:33) cat /build/nix-test/fetchMercurial/store/ciain1a5djnxkmsdbi09k8h8y6ncjhrx-source/hello +(fetchMercurial.sh:33) [[ unclean = unclean ]] +(fetchMercurial.sh:34) hg revert --cwd /build/nix-test/fetchMercurial/./hg --all ++(fetchMercurial.sh:37) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:37) path=/build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source ++(fetchMercurial.sh:38) cat /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source/hello +(fetchMercurial.sh:38) [[ world = world ]] ++(fetchMercurial.sh:41) nix eval --impure --raw --expr '(builtins.readFile (fetchMercurial file:///build/nix-test/fetchMercurial/./hg + "/hello"))' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:41) [[ world = world ]] +(fetchMercurial.sh:42) nix eval --raw --expr 'builtins.readFile (fetchMercurial file:///build/nix-test/fetchMercurial/./hg + "/hello")' warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'readFile' builtin at «string»:1:1: 1| builtins.readFile (fetchMercurial file:///build/nix-test/fetchMercurial/./hg + "/hello") | ^ … while calling the 'fetchMercurial' builtin at «string»:1:20: 1| builtins.readFile (fetchMercurial file:///build/nix-test/fetchMercurial/./hg + "/hello") | ^ error: in pure evaluation mode, 'fetchMercurial' requires a Mercurial revision ++(fetchMercurial.sh:45) nix eval --impure --raw --expr '(builtins.fetchMercurial { url = file:///build/nix-test/fetchMercurial/./hg; rev = "01f94a43ca125b2614fb23b265d8bcb00c012ff7"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:45) path2=/build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source +(fetchMercurial.sh:46) [[ /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source = /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source ]] ++(fetchMercurial.sh:49) nix eval --raw --expr 'builtins.readFile (fetchMercurial { url = file:///build/nix-test/fetchMercurial/./hg; rev = "01f94a43ca125b2614fb23b265d8bcb00c012ff7"; } + "/hello")' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:49) [[ world = world ]] +(fetchMercurial.sh:52) mv /build/nix-test/fetchMercurial/./hg /build/nix-test/fetchMercurial/./hg-tmp ++(fetchMercurial.sh:53) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:53) path2=/build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source +(fetchMercurial.sh:54) [[ /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source = /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source ]] ++(fetchMercurial.sh:56) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg).branch' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:56) [[ default = default ]] ++(fetchMercurial.sh:57) nix eval --impure --expr '(builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg).revCount' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:57) [[ 1 = 1 ]] ++(fetchMercurial.sh:58) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg).rev' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:58) [[ 01f94a43ca125b2614fb23b265d8bcb00c012ff7 = 01f94a43ca125b2614fb23b265d8bcb00c012ff7 ]] +(fetchMercurial.sh:61) nix eval --impure --refresh --expr 'builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' abort: repository /build/nix-test/fetchMercurial/./hg not found error: … while calling the 'fetchMercurial' builtin at «string»:1:1: 1| builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg | ^ … while fetching the input 'hg+file:///build/nix-test/fetchMercurial/./hg' error: 'hg pull' failed with exit code 255 ++(fetchMercurial.sh:64) nix eval --refresh --raw --expr '(builtins.fetchMercurial { url = file:///build/nix-test/fetchMercurial/./hg; rev = "01f94a43ca125b2614fb23b265d8bcb00c012ff7"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:64) path2=/build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source +(fetchMercurial.sh:65) [[ /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source = /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source ]] ++(fetchMercurial.sh:67) nix eval --refresh --raw --expr '(builtins.fetchMercurial { url = file:///build/nix-test/fetchMercurial/./hg; rev = "b4b402246b3651b7c4bd29496ca5632aed7a70b7"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:67) path2=/build/nix-test/fetchMercurial/store/jkh6vaqfzgj4bk86mfp1smqimjs8gsym-source ++(fetchMercurial.sh:68) cat /build/nix-test/fetchMercurial/store/jkh6vaqfzgj4bk86mfp1smqimjs8gsym-source/hello +(fetchMercurial.sh:68) [[ utrecht = utrecht ]] +(fetchMercurial.sh:70) mv /build/nix-test/fetchMercurial/./hg-tmp /build/nix-test/fetchMercurial/./hg ++(fetchMercurial.sh:73) nix eval --impure --raw --expr '(builtins.fetchMercurial /build/nix-test/fetchMercurial/./hg).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/hg' +(fetchMercurial.sh:73) path2=/build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source +(fetchMercurial.sh:74) [[ /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source = /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source ]] +(fetchMercurial.sh:77) mkdir /build/nix-test/fetchMercurial/./hg/dir1 /build/nix-test/fetchMercurial/./hg/dir2 +(fetchMercurial.sh:78) echo foo +(fetchMercurial.sh:79) echo bar +(fetchMercurial.sh:80) echo bar +(fetchMercurial.sh:81) hg add --cwd /build/nix-test/fetchMercurial/./hg dir1/foo +(fetchMercurial.sh:82) hg rm --cwd /build/nix-test/fetchMercurial/./hg hello ++(fetchMercurial.sh:84) nix eval --impure --raw --expr '(builtins.fetchMercurial /build/nix-test/fetchMercurial/./hg).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/hg' warning: Mercurial tree '/build/nix-test/fetchMercurial/hg' is unclean +(fetchMercurial.sh:84) path2=/build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source +(fetchMercurial.sh:85) '[' '!' -e /build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source/hello ']' +(fetchMercurial.sh:86) '[' '!' -e /build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source/bar ']' +(fetchMercurial.sh:87) '[' '!' -e /build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source/dir2/bar ']' +(fetchMercurial.sh:88) '[' '!' -e /build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source/.hg ']' ++(fetchMercurial.sh:89) cat /build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source/dir1/foo +(fetchMercurial.sh:89) [[ foo = foo ]] ++(fetchMercurial.sh:91) nix eval --impure --raw --expr '(builtins.fetchMercurial /build/nix-test/fetchMercurial/./hg).rev' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/hg' warning: Mercurial tree '/build/nix-test/fetchMercurial/hg' is unclean +(fetchMercurial.sh:91) [[ 0000000000000000000000000000000000000000 = 0000000000000000000000000000000000000000 ]] ++(fetchMercurial.sh:94) nix eval --impure --raw --expr '(builtins.fetchMercurial { url = /build/nix-test/fetchMercurial/./hg; rev = "default"; }).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/hg' +(fetchMercurial.sh:94) path3=/build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source +(fetchMercurial.sh:95) [[ /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source = /build/nix-test/fetchMercurial/store/d6117d3bncwl6ikxy9fha7br9shsx1ps-source ]] +(fetchMercurial.sh:98) hg commit --cwd /build/nix-test/fetchMercurial/./hg -m Bla3 ++(fetchMercurial.sh:100) nix eval --impure --refresh --raw --expr '(builtins.fetchMercurial file:///build/nix-test/fetchMercurial/./hg).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' +(fetchMercurial.sh:100) path4=/build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source +(fetchMercurial.sh:101) [[ /build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source = /build/nix-test/fetchMercurial/store/cl0jh6m44j9chvbrb703j9mpzi934mbb-source ]] +(fetchMercurial.sh:103) echo paris ++(fetchMercurial.sh:105) nix eval -vvvvv --impure --refresh --raw --expr '(builtins.fetchMercurial { url = "file:///build/nix-test/fetchMercurial/./hg"; name = "foo"; } ).outPath' warning: you don't have Internet access; disabling some network-dependent features fetching hg input 'hg+file:///build/nix-test/fetchMercurial/./hg' did not find cache entry for '{"name":"foo","ref":"default","type":"hg","url":"/build/nix-test/fetchMercurial/./hg"}' fetching Mercurial repository '/build/nix-test/fetchMercurial/./hg'... did not find cache entry for '{"name":"foo","rev":"40fec383b662ce9dbdf1bfd9497d32864a8b966f","type":"hg"}' acquiring write lock on '/build/nix-test/fetchMercurial/var/nix/temproots/16063' locking path '/build/nix-test/fetchMercurial/store/xi4z2vfls5gi313xzs4k30gjg793bbj2-foo' lock acquired on '/build/nix-test/fetchMercurial/store/xi4z2vfls5gi313xzs4k30gjg793bbj2-foo.lock' lock released on '/build/nix-test/fetchMercurial/store/xi4z2vfls5gi313xzs4k30gjg793bbj2-foo.lock' +(fetchMercurial.sh:105) path5=/build/nix-test/fetchMercurial/store/xi4z2vfls5gi313xzs4k30gjg793bbj2-foo +(fetchMercurial.sh:106) [[ /build/nix-test/fetchMercurial/store/xi4z2vfls5gi313xzs4k30gjg793bbj2-foo =~ -foo$ ]] ============================================================================== =================================== 99/161 =================================== test: lix:installcheck / functional-pure-eval start time: 20:57:52 duration: 0.54s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=48 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py pure-eval.sh ----------------------------------- stdout ----------------------------------- clearing store... true 123 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/pure-eval +(init.sh:7) test -d /build/nix-test/pure-eval +(init.sh:8) chmod -R u+w /build/nix-test/pure-eval +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/pure-eval +(init.sh:13) mkdir /build/nix-test/pure-eval +(init.sh:15) mkdir /build/nix-test/pure-eval/store +(init.sh:16) mkdir /build/nix-test/pure-eval/var +(init.sh:17) mkdir -p /build/nix-test/pure-eval/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/pure-eval/var/nix +(init.sh:19) mkdir /build/nix-test/pure-eval/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/pure-eval/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(pure-eval.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/pure-eval/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/pure-eval/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/pure-eval/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/pure-eval/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/pure-eval/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/pure-eval/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/pure-eval/test-home/.local/state/nix/profiles +(pure-eval.sh:5) nix eval --expr 'assert 1 + 2 == 3; true' warning: you don't have Internet access; disabling some network-dependent features ++(pure-eval.sh:7) nix eval --impure --expr 'builtins.readFile ./pure-eval.sh' warning: you don't have Internet access; disabling some network-dependent features +(pure-eval.sh:7) [[ "source common.sh\n\nclearStore\n\nnix eval --expr 'assert 1 + 2 == 3; true'\n\n[[ $(nix eval --impure --expr 'builtins.readFile ./pure-eval.sh') =~ clearStore ]]\n\nmissingImpureErrorMsg=$(! nix eval --expr 'builtins.readFile ./pure-eval.sh' 2>&1)\n\necho \"$missingImpureErrorMsg\" | grepQuiet -- --impure || \\\n fail \"The error message should mention the “--impure” flag to unblock users\"\n\n[[ $(nix eval --expr 'builtins.pathExists ./pure-eval.sh') == false ]] || \\\n fail \"Calling 'pathExists' on a non-authorised path should return false\"\n\n(! nix eval --expr builtins.currentTime)\n(! nix eval --expr builtins.currentSystem)\n\n(! nix-instantiate --pure-eval ./simple.nix)\n\n[[ $(nix eval --impure --expr \"(import (builtins.fetchurl { url = file://$(pwd)/pure-eval.nix; })).x\") == 123 ]]\n(! nix eval --expr \"(import (builtins.fetchurl { url = file://$(pwd)/pure-eval.nix; })).x\")\nnix eval --expr \"(import (builtins.fetchurl { url = file://$(pwd)/pure-eval.nix; sha256 = \\\"$(nix hash file pure-eval.nix --type sha256)\\\"; })).x\"\n\nrm -rf $TEST_ROOT/eval-out\nnix eval --store dummy:// --write-to $TEST_ROOT/eval-out --expr '{ x = \"foo\" + \"bar\"; y = { z = \"bla\"; }; }'\n[[ $(cat $TEST_ROOT/eval-out/x) = foobar ]]\n[[ $(cat $TEST_ROOT/eval-out/y/z) = bla ]]\n\nrm -rf $TEST_ROOT/eval-out\n(! nix eval --store dummy:// --write-to $TEST_ROOT/eval-out --expr '{ \".\" = \"bla\"; }')\n\n(! nix eval --expr '~/foo')\n" =~ clearStore ]] ++(pure-eval.sh:9) nix eval --expr 'builtins.readFile ./pure-eval.sh' +(pure-eval.sh:9) missingImpureErrorMsg='warning: you don'\''t have Internet access; disabling some network-dependent features error: … while calling the '\''readFile'\'' builtin at «string»:1:1: 1| builtins.readFile ./pure-eval.sh | ^ … while realising the context of path '\''/build/source/build/tests/functional/pure-eval.sh'\'' error: access to absolute path '\''/build/source/build/tests/functional/pure-eval.sh'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)' +(pure-eval.sh:11) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features error: … while calling the '\''readFile'\'' builtin at «string»:1:1: 1| builtins.readFile ./pure-eval.sh | ^ … while realising the context of path '\''/build/source/build/tests/functional/pure-eval.sh'\'' error: access to absolute path '\''/build/source/build/tests/functional/pure-eval.sh'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)' +(pure-eval.sh:11) grepQuiet -- --impure +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -- --impure ++(pure-eval.sh:14) nix eval --expr 'builtins.pathExists ./pure-eval.sh' warning: you don't have Internet access; disabling some network-dependent features +(pure-eval.sh:14) [[ false == false ]] +(pure-eval.sh:17) nix eval --expr builtins.currentTime warning: you don't have Internet access; disabling some network-dependent features error: attribute 'currentTime' missing at «string»:1:1: 1| builtins.currentTime | ^ +(pure-eval.sh:18) nix eval --expr builtins.currentSystem warning: you don't have Internet access; disabling some network-dependent features error: attribute 'currentSystem' missing at «string»:1:1: 1| builtins.currentSystem | ^ +(pure-eval.sh:20) nix-instantiate --pure-eval ./simple.nix error: access to absolute path '/build/source/build/tests/functional/simple.nix' is forbidden in pure eval mode (use '--impure' to override) +++(pure-eval.sh:22) pwd ++(pure-eval.sh:22) nix eval --impure --expr '(import (builtins.fetchurl { url = file:///build/source/build/tests/functional/pure-eval.nix; })).x' warning: you don't have Internet access; disabling some network-dependent features +(pure-eval.sh:22) [[ 123 == 123 ]] ++(pure-eval.sh:23) pwd +(pure-eval.sh:23) nix eval --expr '(import (builtins.fetchurl { url = file:///build/source/build/tests/functional/pure-eval.nix; })).x' warning: you don't have Internet access; disabling some network-dependent features error: … while evaluating '(import ((builtins).fetchurl { url = "file:///build/source/build/tests/functional/pure-eval.nix"; }))' to select 'x' on it at «string»:1:1: 1| (import (builtins.fetchurl { url = file:///build/source/build/tests/functional/pure-eval.nix; })).x | ^ … while calling the 'import' builtin at «string»:1:2: 1| (import (builtins.fetchurl { url = file:///build/source/build/tests/functional/pure-eval.nix; })).x | ^ … while calling the 'fetchurl' builtin at «string»:1:10: 1| (import (builtins.fetchurl { url = file:///build/source/build/tests/functional/pure-eval.nix; })).x | ^ error: in pure evaluation mode, 'fetchurl' requires a 'sha256' argument ++(pure-eval.sh:24) pwd ++(pure-eval.sh:24) nix hash file pure-eval.nix --type sha256 warning: you don't have Internet access; disabling some network-dependent features +(pure-eval.sh:24) nix eval --expr '(import (builtins.fetchurl { url = file:///build/source/build/tests/functional/pure-eval.nix; sha256 = "sha256-YXhmEC+QvjpS/+wE8kE0hqpu5w+A7jhIfqCLpRVpw8w="; })).x' warning: you don't have Internet access; disabling some network-dependent features +(pure-eval.sh:26) rm -rf /build/nix-test/pure-eval/eval-out +(pure-eval.sh:27) nix eval --store dummy:// --write-to /build/nix-test/pure-eval/eval-out --expr '{ x = "foo" + "bar"; y = { z = "bla"; }; }' warning: you don't have Internet access; disabling some network-dependent features ++(pure-eval.sh:28) cat /build/nix-test/pure-eval/eval-out/x +(pure-eval.sh:28) [[ foobar = foobar ]] ++(pure-eval.sh:29) cat /build/nix-test/pure-eval/eval-out/y/z +(pure-eval.sh:29) [[ bla = bla ]] +(pure-eval.sh:31) rm -rf /build/nix-test/pure-eval/eval-out +(pure-eval.sh:32) nix eval --store dummy:// --write-to /build/nix-test/pure-eval/eval-out --expr '{ "." = "bla"; }' warning: you don't have Internet access; disabling some network-dependent features error: … while evaluating the attribute '.' at «string»:1:3: 1| { "." = "bla"; } | ^ error: invalid file name '.' +(pure-eval.sh:34) nix eval --expr '~/foo' warning: you don't have Internet access; disabling some network-dependent features error: the path '~/foo' can not be resolved in pure mode ============================================================================== ================================== 100/161 =================================== test: lix:installcheck / functional-eval start time: 20:57:53 duration: 0.82s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=93 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py eval.sh ----------------------------------- stdout ----------------------------------- clearing store... true true true [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/eval +(init.sh:7) test -d /build/nix-test/eval +(init.sh:8) chmod -R u+w /build/nix-test/eval +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/eval +(init.sh:13) mkdir /build/nix-test/eval +(init.sh:15) mkdir /build/nix-test/eval/store +(init.sh:16) mkdir /build/nix-test/eval/var +(init.sh:17) mkdir -p /build/nix-test/eval/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/eval/var/nix +(init.sh:19) mkdir /build/nix-test/eval/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/eval/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(eval.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/eval/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/eval/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/eval/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/eval/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/eval/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/eval/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/eval/test-home/.local/state/nix/profiles ++(eval.sh:11) nix eval -f - warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:11) testStdinHeredoc='{ bar = 4; foo = 4; }' +(eval.sh:12) [[ { bar = 4; foo = 4; } == \{\ \b\a\r\ \=\ \4\;\ \f\o\o\ \=\ \4\;\ \} ]] +(eval.sh:14) nix eval --expr 'assert 1 + 2 == 3; true' warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:15) nix eval -E 'assert 1 + 2 == 3; true' warning: you don't have Internet access; disabling some network-dependent features ++(eval.sh:17) nix eval int -f ./eval.nix warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:17) [[ 123 == 123 ]] ++(eval.sh:18) nix eval str -f ./eval.nix warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:18) [[ "foo" == \"\f\o\o\" ]] ++(eval.sh:19) nix eval str --raw -f ./eval.nix warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:19) [[ foo == \f\o\o ]] ++(eval.sh:20) nix eval attr -f ./eval.nix warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:20) [[ { foo = "bar"; } == \{\ \f\o\o\ \=\ \"\b\a\r\"\;\ \} ]] ++(eval.sh:21) nix eval attr --json -f ./eval.nix warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:21) [[ {"foo":"bar"} == \{\"\f\o\o\"\:\"\b\a\r\"\} ]] ++(eval.sh:22) nix eval int -f - warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:22) [[ 123 == 123 ]] ++(eval.sh:23) nix eval --expr '{"assert"=1;bar=2;}' warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:23) [[ { "assert" = 1; bar = 2; } == \{\ \"\a\s\s\e\r\t\"\ \=\ \1\;\ \b\a\r\ \=\ \2\;\ \} ]] ++(eval.sh:26) expectStderr 1 nix eval --expr 'throw "a sample throw message"' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res ++(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix eval --expr 'throw "a sample throw message"' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(eval.sh:26) topLevelThrow='warning: you don'\''t have Internet access; disabling some network-dependent features error: … caused by explicit throw at «string»:1:1: 1| throw "a sample throw message" | ^ error: a sample throw message' +(eval.sh:27) [[ warning: you don't have Internet access; disabling some network-dependent features error: … caused by explicit throw at «string»:1:1: 1| throw "a sample throw message" | ^ error: a sample throw message =~ a sample throw message ]] +(eval.sh:28) [[ warning: you don't have Internet access; disabling some network-dependent features error: … caused by explicit throw at «string»:1:1: 1| throw "a sample throw message" | ^ error: a sample throw message =~ caused by explicit throw ]] ++(eval.sh:31) nix eval --expr '{ throws = throw "a sample throw message"; }' warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:31) outputOfNestedThrow='{ throws = «error: a sample throw message»; }' +(eval.sh:32) [[ { throws = «error: a sample throw message»; } == \{\ \t\h\r\o\w\s\ \=\ \«\e\r\r\o\r\:\ \a\ \s\a\m\p\l\e\ \t\h\r\o\w\ \m\e\s\s\a\g\e\»\;\ \} ]] ++(eval.sh:35) nix eval --restrict-eval --expr 'import (builtins.toFile "source" "42")' warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:35) [[ 42 == 42 ]] +(eval.sh:37) nix-instantiate --eval -E 'assert 1 + 2 == 3; true' ++(eval.sh:38) nix-instantiate -A int --eval ./eval.nix +(eval.sh:38) [[ 123 == 123 ]] ++(eval.sh:39) nix-instantiate -A str --eval ./eval.nix +(eval.sh:39) [[ "foo" == \"\f\o\o\" ]] ++(eval.sh:40) nix-instantiate -A attr --eval ./eval.nix +(eval.sh:40) [[ { foo = "bar"; } == \{\ \f\o\o\ \=\ \"\b\a\r\"\;\ \} ]] ++(eval.sh:41) nix-instantiate -A attr --eval --json ./eval.nix +(eval.sh:41) [[ {"foo":"bar"} == \{\"\f\o\o\"\:\"\b\a\r\"\} ]] ++(eval.sh:42) nix-instantiate -A int --eval - +(eval.sh:42) [[ 123 == 123 ]] ++(eval.sh:43) nix-instantiate --eval -E '{"assert"=1;bar=2;}' +(eval.sh:43) [[ { "assert" = 1; bar = 2; } == \{\ \"\a\s\s\e\r\t\"\ \=\ \1\;\ \b\a\r\ \=\ \2\;\ \} ]] +(eval.sh:46) ln -sfn cycle.nix /build/nix-test/eval/cycle.nix +(eval.sh:47) nix eval --file /build/nix-test/eval/cycle.nix warning: you don't have Internet access; disabling some network-dependent features error: too many symbolic links encountered while traversing the path '/build/nix-test/eval/cycle.nix' +(eval.sh:50) mkdir -p /build/nix-test/eval/xyzzy /build/nix-test/eval/foo +(eval.sh:51) ln -sfn ../xyzzy /build/nix-test/eval/foo/bar +(eval.sh:52) printf 123 ++(eval.sh:53) nix eval --impure --expr 'import /build/nix-test/eval/foo/bar' warning: you don't have Internet access; disabling some network-dependent features +(eval.sh:53) [[ 123 = 123 ]] ++(eval.sh:56) expectStderr 0 nix eval --option foobar baz --expr '""' --raw ++(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res ++(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=0 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix eval --option foobar baz --expr '""' --raw ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=0 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 0 -ne 0 ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(eval.sh:56) out='warning: unknown setting '\''foobar'\'' warning: you don'\''t have Internet access; disabling some network-dependent features' ++(eval.sh:57) echo 'warning: unknown setting '\''foobar'\'' warning: you don'\''t have Internet access; disabling some network-dependent features' ++(eval.sh:57) grep foobar ++(eval.sh:57) wc -l +(eval.sh:57) [[ 1 = 1 ]] ============================================================================== ================================== 101/161 =================================== test: lix:installcheck / functional-search start time: 20:57:53 duration: 0.63s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=250 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py search.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/search +(init.sh:7) test -d /build/nix-test/search +(init.sh:8) chmod -R u+w /build/nix-test/search +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/search +(init.sh:13) mkdir /build/nix-test/search +(init.sh:15) mkdir /build/nix-test/search/store +(init.sh:16) mkdir /build/nix-test/search/var +(init.sh:17) mkdir -p /build/nix-test/search/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/search/var/nix +(init.sh:19) mkdir /build/nix-test/search/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/search/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(search.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/search/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/search/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/search/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/search/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/search/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/search/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/search/test-home/.local/state/nix/profiles +(search.sh:4) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/search/binary-cache ++(search.sh:6) nix search -f search.nix '' hello ++(search.sh:6) wc -l warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating 'foo'... evaluating 'hello'... +(search.sh:6) (( 2 > 0 )) ++(search.sh:9) nix search -f search.nix '' broken ++(search.sh:9) wc -l warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating 'foo'... evaluating 'hello'... +(search.sh:9) (( 2 > 0 )) ++(search.sh:12) nix search -f search.nix '' nosuchpackageexists ++(search.sh:12) wc -l warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating 'foo'... evaluating 'hello'... error: no results for the given search term(s)! +(search.sh:12) (( 0 == 0 )) ++(search.sh:15) nix search -f search.nix '' hello empty ++(search.sh:15) wc -l warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating 'foo'... evaluating 'hello'... +(search.sh:15) (( 2 == 2 )) ++(search.sh:18) nix search -f search.nix '' hello broken ++(search.sh:18) wc -l warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating 'foo'... evaluating 'hello'... error: no results for the given search term(s)! +(search.sh:18) (( 0 == 0 )) ++(search.sh:21) nix search -f search.nix '' ++(search.sh:21) wc -l warning: you don't have Internet access; disabling some network-dependent features error: Must provide at least one regex! To match all packages, use 'nix search ^'. Try 'nix --help' for more information. +(search.sh:21) (( 0 == 0 )) +(search.sh:26) nix search -f search.nix '' '^' +(search.sh:26) grepQuiet foo +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep foo warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating 'foo'... evaluating 'hello'... +(search.sh:27) nix search -f search.nix '' '^' +(search.sh:27) grepQuiet bar +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep bar warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating 'foo'... evaluating 'hello'... +(search.sh:28) nix search -f search.nix '' '^' +(search.sh:28) grepQuiet hello +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep hello warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating 'foo'... evaluating 'hello'... +(search.sh:33) export CLICOLOR_FORCE=1 +(search.sh:33) CLICOLOR_FORCE=1 +(search.sh:34) e=$'\E' ++(search.sh:36) nix search -f search.nix '' oo foo oo ++(search.sh:36) grep -c '\[32;1mfoo\[0;1m'  warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating '' evaluating 'foo'... evaluating ''  evaluating 'foo' evaluating 'hello'... evaluating '' +(search.sh:36) (( 1 == 1 )) ++(search.sh:37) nix search -f search.nix '' 'broken b' 'en bar' ++(search.sh:37) grep -c '\[32;1mbroken bar\[0m'  warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating ''  evaluating 'bar'  evaluating 'bar' evaluating 'foo'... evaluating '' evaluating 'hello'... evaluating '' +(search.sh:37) (( 1 == 1 )) ++(search.sh:41) nix search -f search.nix '' o ++(search.sh:41) grep -Eoc '\[32;1mo{1,2}\[(0|0;1)m'  warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating ''  evaluating 'bar'  evaluating 'bar' evaluating 'foo'... evaluating ''  evaluating 'foo'  evaluating 'foo' evaluating 'hello'... evaluating ''  evaluating 'hello'  evaluating 'hello'  evaluating 'hello' +(search.sh:41) (( 3 == 3 )) ++(search.sh:44) nix search -f search.nix '' b ++(search.sh:44) grep -Eo '\[32;1mb\[(0|0;1)m' ++(search.sh:44) wc -l  warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating ''  evaluating 'bar'  evaluating 'bar' evaluating 'foo'... evaluating '' evaluating 'hello'... evaluating '' +(search.sh:44) (( 3 == 3 )) ++(search.sh:47) nix search -f search.nix '^' -e hello ++(search.sh:47) grep -c hello  warning: you don't have Internet access; disabling some network-dependent features error: invalid extended outputs specifier '^' +(search.sh:47) (( 0 == 0 )) ++(search.sh:49) nix search -f search.nix foo '^' --exclude 'foo|bar' ++(search.sh:49) grep -Ec 'foo|bar'  warning: you don't have Internet access; disabling some network-dependent features evaluating ''... error: no results for the given search term(s)! +(search.sh:49) (( 0 == 0 )) ++(search.sh:50) nix search -f search.nix foo '^' -e foo --exclude bar ++(search.sh:50) grep -Ec 'foo|bar'  warning: you don't have Internet access; disabling some network-dependent features evaluating ''... error: no results for the given search term(s)! +(search.sh:50) (( 0 == 0 )) ++(search.sh:51) nix search -f search.nix '' '^' -e bar --json ++(search.sh:51) jq -c keys  warning: you don't have Internet access; disabling some network-dependent features evaluating ''... evaluating 'bar'... evaluating '' evaluating 'foo'... evaluating '' evaluating 'hello'... evaluating ''   +(search.sh:51) [[ ["foo","hello"] == \[\"\f\o\o\"\,\"\h\e\l\l\o\"\] ]] ============================================================================== ================================== 102/161 =================================== test: lix:installcheck / functional-logging start time: 20:57:53 duration: 0.31s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=229 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py logging.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/logging +(init.sh:7) test -d /build/nix-test/logging +(init.sh:8) chmod -R u+w /build/nix-test/logging +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/logging +(init.sh:13) mkdir /build/nix-test/logging +(init.sh:15) mkdir /build/nix-test/logging/store +(init.sh:16) mkdir /build/nix-test/logging/var +(init.sh:17) mkdir -p /build/nix-test/logging/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/logging/var/nix +(init.sh:19) mkdir /build/nix-test/logging/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/logging/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(logging.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/logging/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/logging/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/logging/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/logging/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/logging/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/logging/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/logging/test-home/.local/state/nix/profiles ++(logging.sh:5) nix-build dependencies.nix --no-out-link these 5 derivations will be built: /build/nix-test/logging/store/8ql35msis6brh3gnvhan3pnn13n649s0-dependencies-input-0.drv /build/nix-test/logging/store/9kjshdr94c6pqx64af4q1lb5z1wih92j-dependencies-input-2.drv /build/nix-test/logging/store/fa4g5w4x1r6hycs9l0njhk2d8jni0v78-dependencies-input-1.drv /build/nix-test/logging/store/yb4k3y8gafixgpdjyxwf1g7dcjws0vi1-fod-input.drv /build/nix-test/logging/store/pbdf545xgc83b3vva3v70m313vcbjrmx-dependencies-top.drv building '/build/nix-test/logging/store/8ql35msis6brh3gnvhan3pnn13n649s0-dependencies-input-0.drv'... building '/build/nix-test/logging/store/fa4g5w4x1r6hycs9l0njhk2d8jni0v78-dependencies-input-1.drv'... building '/build/nix-test/logging/store/9kjshdr94c6pqx64af4q1lb5z1wih92j-dependencies-input-2.drv'... building '/build/nix-test/logging/store/yb4k3y8gafixgpdjyxwf1g7dcjws0vi1-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/logging/store/73qky2vic03zq2nzadhk119bypl1qnl9-fod-input': Permission denied +(logging.sh:5) path= ++(logging.sh:5) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x logging.sh: test failed at: main in logging.sh:5 ============================================================================== ================================== 103/161 =================================== test: lix:installcheck / functional-export start time: 20:57:54 duration: 0.31s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=238 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py export.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/export +(init.sh:7) test -d /build/nix-test/export +(init.sh:8) chmod -R u+w /build/nix-test/export +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/export +(init.sh:13) mkdir /build/nix-test/export +(init.sh:15) mkdir /build/nix-test/export/store +(init.sh:16) mkdir /build/nix-test/export/var +(init.sh:17) mkdir -p /build/nix-test/export/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/export/var/nix +(init.sh:19) mkdir /build/nix-test/export/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/export/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(export.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/export/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/export/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/export/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/export/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/export/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/export/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/export/test-home/.local/state/nix/profiles ++(export.sh:5) nix-build dependencies.nix --no-out-link these 5 derivations will be built: /build/nix-test/export/store/djc8g7knjsfqb7jnkgr51spwlvryshv4-dependencies-input-1.drv /build/nix-test/export/store/dwag2w6ad4ziva7w11bszdnzpdic1id0-dependencies-input-0.drv /build/nix-test/export/store/g733j9z394wh86jarp5dvqa59mc9lga2-dependencies-input-2.drv /build/nix-test/export/store/yhn39kwwww500fx1m2nfvpjsds4i9b3p-fod-input.drv /build/nix-test/export/store/m7y3f2p55hpk97k281i296ndympcqhz2-dependencies-top.drv building '/build/nix-test/export/store/dwag2w6ad4ziva7w11bszdnzpdic1id0-dependencies-input-0.drv'... building '/build/nix-test/export/store/djc8g7knjsfqb7jnkgr51spwlvryshv4-dependencies-input-1.drv'... building '/build/nix-test/export/store/g733j9z394wh86jarp5dvqa59mc9lga2-dependencies-input-2.drv'... building '/build/nix-test/export/store/yhn39kwwww500fx1m2nfvpjsds4i9b3p-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/export/store/41m3px7f4rjcr5crjim35jbsy9kircgr-fod-input': Permission denied +(export.sh:5) outPath= ++(export.sh:5) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x export.sh: test failed at: main in export.sh:5 ============================================================================== ================================== 104/161 =================================== test: lix:installcheck / functional-add start time: 20:57:54 duration: 0.27s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=67 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py add.sh ----------------------------------- stdout ----------------------------------- /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy /build/nix-test/add/store/1b0chpd74drqysiwsskw53zwlg18rcjl-dummy /build/nix-test/add/store/dcjypnx18bpzy81n499bfgq7fl548swl-dummy sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw 0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/add +(init.sh:7) test -d /build/nix-test/add +(init.sh:8) chmod -R u+w /build/nix-test/add +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/add +(init.sh:13) mkdir /build/nix-test/add +(init.sh:15) mkdir /build/nix-test/add/store +(init.sh:16) mkdir /build/nix-test/add/var +(init.sh:17) mkdir -p /build/nix-test/add/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/add/var/nix +(init.sh:19) mkdir /build/nix-test/add/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/add/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(add.sh:3) nix-store --add ./dummy +(add.sh:3) path1=/build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy +(add.sh:4) echo /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy ++(add.sh:6) nix-store --add-fixed sha256 --recursive ./dummy +(add.sh:6) path2=/build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy +(add.sh:7) echo /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy +(add.sh:9) test /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy '!=' /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy ++(add.sh:14) nix-store --add-fixed sha256 ./dummy +(add.sh:14) path3=/build/nix-test/add/store/1b0chpd74drqysiwsskw53zwlg18rcjl-dummy +(add.sh:15) echo /build/nix-test/add/store/1b0chpd74drqysiwsskw53zwlg18rcjl-dummy +(add.sh:16) test /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy '!=' /build/nix-test/add/store/1b0chpd74drqysiwsskw53zwlg18rcjl-dummy ++(add.sh:18) nix-store --add-fixed sha1 --recursive ./dummy +(add.sh:18) path4=/build/nix-test/add/store/dcjypnx18bpzy81n499bfgq7fl548swl-dummy +(add.sh:19) echo /build/nix-test/add/store/dcjypnx18bpzy81n499bfgq7fl548swl-dummy +(add.sh:20) test /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy '!=' /build/nix-test/add/store/dcjypnx18bpzy81n499bfgq7fl548swl-dummy ++(add.sh:22) nix-store -q --hash /build/nix-test/add/store/n7knm3rma6fckrfwkx2vkiql3d1rgs1i-dummy +(add.sh:22) hash1=sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw +(add.sh:23) echo sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw ++(add.sh:25) nix-hash --type sha256 --base32 ./dummy +(add.sh:25) hash2=0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw +(add.sh:26) echo 0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw +(add.sh:28) test sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw = sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw ============================================================================== ================================== 105/161 =================================== test: lix:installcheck / functional-config start time: 20:57:54 duration: 0.42s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=6 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py config.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/config +(init.sh:7) test -d /build/nix-test/config +(init.sh:8) chmod -R u+w /build/nix-test/config +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/config +(init.sh:13) mkdir /build/nix-test/config +(init.sh:15) mkdir /build/nix-test/config/store +(init.sh:16) mkdir /build/nix-test/config/var +(init.sh:17) mkdir -p /build/nix-test/config/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/config/var/nix +(init.sh:19) mkdir /build/nix-test/config/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/config/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(config.sh:5) export HOME=/build/nix-test/config/userhome +(config.sh:5) HOME=/build/nix-test/config/userhome +(config.sh:9) '[' '!' -e /build/nix-test/config/userhome/.config ']' +(config.sh:11) unset XDG_CONFIG_HOME +(config.sh:14) nix registry remove userhome-without-xdg warning: you don't have Internet access; disabling some network-dependent features +(config.sh:16) '[' -e /build/nix-test/config/userhome/.config ']' +(config.sh:18) rm -rf /build/nix-test/config/userhome/.config +(config.sh:20) export XDG_CONFIG_HOME=/build/nix-test/config/confighome +(config.sh:20) XDG_CONFIG_HOME=/build/nix-test/config/confighome +(config.sh:22) '[' '!' -e /build/nix-test/config/confighome/nix ']' +(config.sh:23) nix registry remove userhome-with-xdg warning: you don't have Internet access; disabling some network-dependent features +(config.sh:25) '[' -e /build/nix-test/config/confighome/nix ']' +(config.sh:27) '[' '!' -e /build/nix-test/config/userhome/.config ']' +(config.sh:30) export XDG_CONFIG_HOME=/build/nix-test/config/confighome +(config.sh:30) XDG_CONFIG_HOME=/build/nix-test/config/confighome +(config.sh:31) export XDG_CONFIG_DIRS=/build/nix-test/config/dir1:/build/nix-test/config/dir2 +(config.sh:31) XDG_CONFIG_DIRS=/build/nix-test/config/dir1:/build/nix-test/config/dir2 ++(config.sh:32) nix-build --verbose --version ++(config.sh:32) grep 'User config' ++(config.sh:32) cut -d : -f2- ++(config.sh:32) xargs +(config.sh:32) files=/build/nix-test/config/confighome/nix/nix.conf:/build/nix-test/config/dir1/nix/nix.conf:/build/nix-test/config/dir2/nix/nix.conf +(config.sh:33) [[ /build/nix-test/config/confighome/nix/nix.conf:/build/nix-test/config/dir1/nix/nix.conf:/build/nix-test/config/dir2/nix/nix.conf == \/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\c\o\n\f\i\g\h\o\m\e\/\n\i\x\/\n\i\x\.\c\o\n\f\:\/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\d\i\r\1\/\n\i\x\/\n\i\x\.\c\o\n\f\:\/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\d\i\r\2\/\n\i\x\/\n\i\x\.\c\o\n\f ]] +(config.sh:36) export NIX_USER_CONF_FILES=/build/nix-test/config/file1.conf:/build/nix-test/config/file2.conf +(config.sh:36) NIX_USER_CONF_FILES=/build/nix-test/config/file1.conf:/build/nix-test/config/file2.conf ++(config.sh:37) nix-build --verbose --version ++(config.sh:37) grep 'User config' ++(config.sh:37) cut -d : -f2- ++(config.sh:37) xargs +(config.sh:37) files=/build/nix-test/config/file1.conf:/build/nix-test/config/file2.conf +(config.sh:38) [[ /build/nix-test/config/file1.conf:/build/nix-test/config/file2.conf == \/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\f\i\l\e\1\.\c\o\n\f\:\/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\f\i\l\e\2\.\c\o\n\f ]] +++(config.sh:41) dirname config.sh ++(config.sh:41) readlink -f . +(config.sh:41) here=/build/source/build/tests/functional +(config.sh:42) export NIX_USER_CONF_FILES=/build/source/build/tests/functional/config/nix-with-substituters.conf +(config.sh:42) NIX_USER_CONF_FILES=/build/source/build/tests/functional/config/nix-with-substituters.conf ++(config.sh:43) nix config show ++(config.sh:43) grep '^substituters =' ++(config.sh:43) cut -d = -f 2 ++(config.sh:43) xargs warning: you don't have Internet access; disabling some network-dependent features +(config.sh:43) var=https://example.com +(config.sh:44) [[ https://example.com == https://example.com ]] ++(config.sh:47) nix config show ++(config.sh:47) grep '^cores' ++(config.sh:47) cut -d = -f 2 ++(config.sh:47) xargs warning: you don't have Internet access; disabling some network-dependent features +(config.sh:47) prev=8 +(config.sh:48) export 'NIX_CONFIG=cores = 4242 experimental-features = nix-command flakes' +(config.sh:48) NIX_CONFIG='cores = 4242 experimental-features = nix-command flakes' ++(config.sh:49) nix config show ++(config.sh:49) grep '^cores' ++(config.sh:49) cut -d = -f 2 ++(config.sh:49) xargs warning: you don't have Internet access; disabling some network-dependent features +(config.sh:49) exp_cores=4242 ++(config.sh:50) nix config show ++(config.sh:50) grep '^experimental-features' ++(config.sh:50) cut -d = -f 2 ++(config.sh:50) xargs warning: you don't have Internet access; disabling some network-dependent features +(config.sh:50) exp_features='flakes nix-command' +(config.sh:51) [[ 8 != 4242 ]] +(config.sh:52) [[ 4242 == \4\2\4\2 ]] +(config.sh:53) [[ flakes nix-command == \f\l\a\k\e\s\ \n\i\x\-\c\o\m\m\a\n\d ]] ++(config.sh:56) nix config show ++(config.sh:56) grep '^warn-dirty' ++(config.sh:56) cut -d = -f 2 ++(config.sh:56) xargs warning: you don't have Internet access; disabling some network-dependent features +(config.sh:56) val=true ++(config.sh:57) nix config show warn-dirty warning: you don't have Internet access; disabling some network-dependent features +(config.sh:57) val2=true +(config.sh:58) [[ true == true ]] ============================================================================== ================================== 106/161 =================================== test: lix:installcheck / functional-filter-source start time: 20:57:54 duration: 0.27s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=24 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py filter-source.sh ----------------------------------- stdout ----------------------------------- /build/nix-test/filter-source/store/hriz7c681xsnr8s6dvfm0b3in37mb8q6-filter /build/nix-test/filter-source/store/hriz7c681xsnr8s6dvfm0b3in37mb8q6-filter [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/filter-source +(init.sh:7) test -d /build/nix-test/filter-source +(init.sh:8) chmod -R u+w /build/nix-test/filter-source +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/filter-source +(init.sh:13) mkdir /build/nix-test/filter-source +(init.sh:15) mkdir /build/nix-test/filter-source/store +(init.sh:16) mkdir /build/nix-test/filter-source/var +(init.sh:17) mkdir -p /build/nix-test/filter-source/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/filter-source/var/nix +(init.sh:19) mkdir /build/nix-test/filter-source/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/filter-source/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(filter-source.sh:3) rm -rf /build/nix-test/filter-source/filterin +(filter-source.sh:4) mkdir /build/nix-test/filter-source/filterin +(filter-source.sh:5) mkdir /build/nix-test/filter-source/filterin/foo +(filter-source.sh:6) touch /build/nix-test/filter-source/filterin/foo/bar +(filter-source.sh:7) touch /build/nix-test/filter-source/filterin/xyzzy +(filter-source.sh:8) touch /build/nix-test/filter-source/filterin/b +(filter-source.sh:9) touch /build/nix-test/filter-source/filterin/bak +(filter-source.sh:10) touch /build/nix-test/filter-source/filterin/bla.c.bak +(filter-source.sh:11) ln -s xyzzy /build/nix-test/filter-source/filterin/link +(filter-source.sh:21) nix-build ./filter-source.nix -o /build/nix-test/filter-source/filterout1 this derivation will be built: /build/nix-test/filter-source/store/ai3ys7radr2i55j35xgp55dsjd6ksza8-filter.drv building '/build/nix-test/filter-source/store/ai3ys7radr2i55j35xgp55dsjd6ksza8-filter.drv'... +(filter-source.sh:22) checkFilter /build/nix-test/filter-source/filterout1 +(filter-source.sh:14) test '!' -e /build/nix-test/filter-source/filterout1/foo/bar +(filter-source.sh:15) test -e /build/nix-test/filter-source/filterout1/xyzzy +(filter-source.sh:16) test -e /build/nix-test/filter-source/filterout1/bak +(filter-source.sh:17) test '!' -e /build/nix-test/filter-source/filterout1/bla.c.bak +(filter-source.sh:18) test '!' -L /build/nix-test/filter-source/filterout1/link +(filter-source.sh:24) nix-build ./path.nix -o /build/nix-test/filter-source/filterout2 +(filter-source.sh:25) checkFilter /build/nix-test/filter-source/filterout2 +(filter-source.sh:14) test '!' -e /build/nix-test/filter-source/filterout2/foo/bar +(filter-source.sh:15) test -e /build/nix-test/filter-source/filterout2/xyzzy +(filter-source.sh:16) test -e /build/nix-test/filter-source/filterout2/bak +(filter-source.sh:17) test '!' -e /build/nix-test/filter-source/filterout2/bla.c.bak +(filter-source.sh:18) test '!' -L /build/nix-test/filter-source/filterout2/link ============================================================================== ================================== 107/161 =================================== test: lix:installcheck / functional-local-store start time: 20:57:54 duration: 0.31s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=94 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py local-store.sh ----------------------------------- stdout ----------------------------------- 1 [INFO] You are trusted by store uri: local [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/local-store +(init.sh:7) test -d /build/nix-test/local-store +(init.sh:8) chmod -R u+w /build/nix-test/local-store +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/local-store +(init.sh:13) mkdir /build/nix-test/local-store +(init.sh:15) mkdir /build/nix-test/local-store/store +(init.sh:16) mkdir /build/nix-test/local-store/var +(init.sh:17) mkdir -p /build/nix-test/local-store/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/local-store/var/nix +(init.sh:19) mkdir /build/nix-test/local-store/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/local-store/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(local-store.sh:3) cd /build/nix-test/local-store +(local-store.sh:5) echo example +(local-store.sh:6) mkdir -p ./x +(local-store.sh:8) NIX_STORE_DIR=/build/nix-test/local-store/x ++(local-store.sh:10) nix-store --store ./x --add example.txt +(local-store.sh:10) CORRECT_PATH=/build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt ++(local-store.sh:12) nix path-info --store ./x /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt warning: you don't have Internet access; disabling some network-dependent features +(local-store.sh:12) PATH1=/build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt +(local-store.sh:13) '[' /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt == /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt ']' ++(local-store.sh:15) nix path-info --store /build/nix-test/local-store/x /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt warning: you don't have Internet access; disabling some network-dependent features +(local-store.sh:15) PATH2=/build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt +(local-store.sh:16) '[' /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt == /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt ']' ++(local-store.sh:18) nix path-info --store 'local?root=/build/nix-test/local-store/x' /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt warning: you don't have Internet access; disabling some network-dependent features +(local-store.sh:18) PATH3=/build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt +(local-store.sh:19) '[' /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt == /build/nix-test/local-store/x/9k2nl1w61frlpm3fcz9si7cqxfwj03sy-example.txt ']' +(local-store.sh:22) nix --store ./x store ping --json +(local-store.sh:22) jq -e .trusted warning: you don't have Internet access; disabling some network-dependent features +(local-store.sh:25) grep 'You are trusted by' ============================================================================== ================================== 108/161 =================================== test: lix:installcheck / functional-dump-db start time: 20:57:54 duration: 0.24s result: exit status 1 command: MALLOC_PERTURB_=251 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py dump-db.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/dump-db +(init.sh:7) test -d /build/nix-test/dump-db +(init.sh:8) chmod -R u+w /build/nix-test/dump-db +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/dump-db +(init.sh:13) mkdir /build/nix-test/dump-db +(init.sh:15) mkdir /build/nix-test/dump-db/store +(init.sh:16) mkdir /build/nix-test/dump-db/var +(init.sh:17) mkdir -p /build/nix-test/dump-db/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/dump-db/var/nix +(init.sh:19) mkdir /build/nix-test/dump-db/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/dump-db/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(dump-db.sh:3) needLocalStore '--dump-db requires a local store' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(dump-db.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/dump-db/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/dump-db/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/dump-db/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/dump-db/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/dump-db/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/dump-db/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/dump-db/test-home/.local/state/nix/profiles ++(dump-db.sh:7) nix-build dependencies.nix -o /build/nix-test/dump-db/result these 5 derivations will be built: /build/nix-test/dump-db/store/k111y0d10snh7im294iis9ms8c2f7c9j-dependencies-input-0.drv /build/nix-test/dump-db/store/ms1g4l2fbq7rjbcl8zy79jrs5q2kr5vk-fod-input.drv /build/nix-test/dump-db/store/xkgfyb2fm72km4dzac3czha5dhnhfvhz-dependencies-input-2.drv /build/nix-test/dump-db/store/zij05dpaxlirb9zziwky8yqfzmlw55gb-dependencies-input-1.drv /build/nix-test/dump-db/store/6w3wm34iih241zhhlrmxvdmir3rkpv6i-dependencies-top.drv building '/build/nix-test/dump-db/store/k111y0d10snh7im294iis9ms8c2f7c9j-dependencies-input-0.drv'... building '/build/nix-test/dump-db/store/zij05dpaxlirb9zziwky8yqfzmlw55gb-dependencies-input-1.drv'... building '/build/nix-test/dump-db/store/xkgfyb2fm72km4dzac3czha5dhnhfvhz-dependencies-input-2.drv'... building '/build/nix-test/dump-db/store/ms1g4l2fbq7rjbcl8zy79jrs5q2kr5vk-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/dump-db/store/nx89f5jjfg6r1w293vjx0mg9cz00vh36-fod-input': Permission denied +(dump-db.sh:7) path= ++(dump-db.sh:7) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x dump-db.sh: test failed at: main in dump-db.sh:7 ============================================================================== ================================== 109/161 =================================== test: lix:installcheck / functional-misc start time: 20:57:54 duration: 0.46s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=49 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py misc.sh ----------------------------------- stdout ----------------------------------- nix-env (Lix, like Nix) 2.91.0 Data directory: /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/share error: no operation specified error: unknown flag '--foo' error: … while evaluating 'a' to select 'foo' on it at «string»:1:21: 1| let a = {} // a; in a.foo | ^ … in the right operand of the update (//) operator at «string»:1:12: 1| let a = {} // a; in a.foo | ^ error: infinite recursion encountered at «string»:1:15: 1| let a = {} // a; in a.foo | ^ error: … while evaluating 'a' to select 'foo' on it at «string»:1:21: 1| let a = {} // a; in a.foo | ^ … in the right operand of the update (//) operator at «string»:1:12: 1| let a = {} // a; in a.foo | ^ error: infinite recursion encountered at «string»:1:15: 1| let a = {} // a; in a.foo | ^ error: … while evaluating 'a' to select 'foo' on it at «stdin»:1:21: 1| let a = {} // a; in a.foo | ^ 2| … in the right operand of the update (//) operator at «stdin»:1:12: 1| let a = {} // a; in a.foo | ^ 2| error: infinite recursion encountered at «stdin»:1:15: 1| let a = {} // a; in a.foo | ^ 2| error: … while evaluating 'a' to select 'foo' on it at «stdin»:1:21: 1| let a = {} // a; in a.foo | ^ 2| … in the right operand of the update (//) operator at «stdin»:1:12: 1| let a = {} // a; in a.foo | ^ 2| error: infinite recursion encountered at «stdin»:1:15: 1| let a = {} // a; in a.foo | ^ 2| [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/misc +(init.sh:7) test -d /build/nix-test/misc +(init.sh:8) chmod -R u+w /build/nix-test/misc +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/misc +(init.sh:13) mkdir /build/nix-test/misc +(init.sh:15) mkdir /build/nix-test/misc/store +(init.sh:16) mkdir /build/nix-test/misc/var +(init.sh:17) mkdir -p /build/nix-test/misc/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/misc/var/nix +(init.sh:19) mkdir /build/nix-test/misc/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/misc/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(misc.sh:12) nix-env --version +(misc.sh:12) grep 2.91.0 +(misc.sh:15) expect 1 nix-env --foo +(misc.sh:15) grep 'no operation' +(misc.sh:16) expect 1 nix-env -q --foo +(misc.sh:16) grep 'unknown flag' ++(misc.sh:19) nix-instantiate --eval -E 'let a = {} // a; in a.foo' ++(misc.sh:19) true +(misc.sh:19) eval_arg_res='error: … while evaluating '\''a'\'' to select '\''foo'\'' on it at «string»:1:21: 1| let a = {} // a; in a.foo | ^ … in the right operand of the update (//) operator at «string»:1:12: 1| let a = {} // a; in a.foo | ^ error: infinite recursion encountered at «string»:1:15: 1| let a = {} // a; in a.foo | ^' +(misc.sh:20) echo error: … while evaluating ''\''a'\''' to select ''\''foo'\''' on it at «string»:1:21: '1|' let a = '{}' // 'a;' in a.foo '|' '^' … in the right operand of the update '(//)' operator at «string»:1:12: '1|' let a = '{}' // 'a;' in a.foo '|' '^' error: infinite recursion encountered at «string»:1:15: '1|' let a = '{}' // 'a;' in a.foo '|' '^' +(misc.sh:20) grep 'at «string»:1:15:' +(misc.sh:21) echo error: … while evaluating ''\''a'\''' to select ''\''foo'\''' on it at «string»:1:21: '1|' let a = '{}' // 'a;' in a.foo '|' '^' … in the right operand of the update '(//)' operator at «string»:1:12: '1|' let a = '{}' // 'a;' in a.foo '|' '^' error: infinite recursion encountered at «string»:1:15: '1|' let a = '{}' // 'a;' in a.foo '|' '^' +(misc.sh:21) grep 'infinite recursion encountered' ++(misc.sh:23) echo 'let a = {} // a; in a.foo' ++(misc.sh:23) nix-instantiate --eval -E - ++(misc.sh:23) true +(misc.sh:23) eval_stdin_res='error: … while evaluating '\''a'\'' to select '\''foo'\'' on it at «stdin»:1:21: 1| let a = {} // a; in a.foo | ^ 2| … in the right operand of the update (//) operator at «stdin»:1:12: 1| let a = {} // a; in a.foo | ^ 2| error: infinite recursion encountered at «stdin»:1:15: 1| let a = {} // a; in a.foo | ^ 2|' +(misc.sh:24) echo error: … while evaluating ''\''a'\''' to select ''\''foo'\''' on it at «stdin»:1:21: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|' … in the right operand of the update '(//)' operator at «stdin»:1:12: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|' error: infinite recursion encountered at «stdin»:1:15: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|' +(misc.sh:24) grep 'at «stdin»:1:15:' +(misc.sh:25) grep 'infinite recursion encountered' +(misc.sh:25) echo error: … while evaluating ''\''a'\''' to select ''\''foo'\''' on it at «stdin»:1:21: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|' … in the right operand of the update '(//)' operator at «stdin»:1:12: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|' error: infinite recursion encountered at «stdin»:1:15: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|' +(misc.sh:28) expectStderr 1 nix-instantiate --eval -E '{}' -A '"x' +(misc.sh:28) grepQuiet 'missing closing quote in selection path' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --eval -E '{}' -A '"x' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'missing closing quote in selection path' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(misc.sh:29) expectStderr 1 nix-instantiate --eval -E '[]' -A x +(misc.sh:29) grepQuiet 'should be a set' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --eval -E '[]' -A x +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'should be a set' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(misc.sh:30) expectStderr 1 nix-instantiate --eval -E '{}' -A 1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(misc.sh:30) grepQuiet 'should be a list' +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --eval -E '{}' -A 1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'should be a list' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(misc.sh:31) expectStderr 1 nix-instantiate --eval -E '{}' -A . +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(misc.sh:31) grepQuiet 'empty attribute name' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --eval -E '{}' -A . +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'empty attribute name' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(misc.sh:32) expectStderr 1 nix-instantiate --eval -E '[]' -A 1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(misc.sh:32) grepQuiet 'out of range' +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --eval -E '[]' -A 1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'out of range' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ++(misc.sh:37) expectStderr 0 nix-instantiate --option foobar baz --expr '{}' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res ++(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=0 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate --option foobar baz --expr '{}' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=0 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 0 -ne 0 ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(misc.sh:37) out='warning: unknown setting '\''foobar'\''' ++(misc.sh:38) echo 'warning: unknown setting '\''foobar'\''' ++(misc.sh:38) grep foobar ++(misc.sh:38) wc -l +(misc.sh:38) [[ 1 = 1 ]] ++(misc.sh:40) expectStderr 0 nix-instantiate '{}' --option foobar baz --expr ++(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res ++(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=0 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-instantiate '{}' --option foobar baz --expr ++(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=0 ++(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 0 -ne 0 ]] ++(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(misc.sh:40) out='warning: unknown setting '\''foobar'\''' ++(misc.sh:41) echo 'warning: unknown setting '\''foobar'\''' ++(misc.sh:41) grep foobar ++(misc.sh:41) wc -l +(misc.sh:41) [[ 1 = 1 ]] ============================================================================== ================================== 110/161 =================================== test: lix:installcheck / functional-linux-sandbox start time: 20:57:55 duration: 0.29s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=207 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py linux-sandbox.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/linux-sandbox +(init.sh:7) test -d /build/nix-test/linux-sandbox +(init.sh:8) chmod -R u+w /build/nix-test/linux-sandbox +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/linux-sandbox +(init.sh:13) mkdir /build/nix-test/linux-sandbox +(init.sh:15) mkdir /build/nix-test/linux-sandbox/store +(init.sh:16) mkdir /build/nix-test/linux-sandbox/var +(init.sh:17) mkdir -p /build/nix-test/linux-sandbox/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/linux-sandbox/var/nix +(init.sh:19) mkdir /build/nix-test/linux-sandbox/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/linux-sandbox/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(linux-sandbox.sh:3) needLocalStore 'the sandbox only runs on the builder side, so it makes no sense to test it with the daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(linux-sandbox.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/linux-sandbox/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/linux-sandbox/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/linux-sandbox/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/linux-sandbox/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/linux-sandbox/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/linux-sandbox/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/linux-sandbox/test-home/.local/state/nix/profiles +(linux-sandbox.sh:7) requireSandboxSupport +(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox +(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] +(linux-sandbox.sh:13) [[ ! /nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash =~ /nix/store ]] +(linux-sandbox.sh:17) chmod -R u+w /build/nix-test/linux-sandbox/store0 chmod: cannot access '/build/nix-test/linux-sandbox/store0': No such file or directory +(linux-sandbox.sh:17) true +(linux-sandbox.sh:18) rm -rf /build/nix-test/linux-sandbox/store0 +(linux-sandbox.sh:20) export NIX_STORE_DIR=/my/store +(linux-sandbox.sh:20) NIX_STORE_DIR=/my/store +(linux-sandbox.sh:21) export NIX_REMOTE=/build/nix-test/linux-sandbox/store0 +(linux-sandbox.sh:21) NIX_REMOTE=/build/nix-test/linux-sandbox/store0 ++(linux-sandbox.sh:23) nix-sandbox-build dependencies.nix ++(linux-sandbox.sh:15) nix-build --no-out-link --sandbox-paths /nix/store dependencies.nix these 5 derivations will be built: /my/store/0azh5cw712gsva6d26i8h72v8lnsnkbf-dependencies-input-0.drv /my/store/39cj7lij0kbb37r018f6hi1wxwsyrbj8-dependencies-input-1.drv /my/store/g45n619yylg9x8dc534aqmhizqjvw0sr-dependencies-input-2.drv /my/store/h5hj898xgmp6y2ygrjkzwamjxph0f18b-fod-input.drv /my/store/vzm5drif3m93vd5g3dfnfmid3cik60nh-dependencies-top.drv building '/my/store/0azh5cw712gsva6d26i8h72v8lnsnkbf-dependencies-input-0.drv'... building '/my/store/39cj7lij0kbb37r018f6hi1wxwsyrbj8-dependencies-input-1.drv'... building '/my/store/g45n619yylg9x8dc534aqmhizqjvw0sr-dependencies-input-2.drv'... building '/my/store/h5hj898xgmp6y2ygrjkzwamjxph0f18b-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/linux-sandbox/store0/nix/store/h5hj898xgmp6y2ygrjkzwamjxph0f18b-fod-input.drv.chroot/my/store/q064cx8damx9nz4fjam94rv9f6qi6gv0-fod-input': Permission denied +(linux-sandbox.sh:23) outPath= ++(linux-sandbox.sh:23) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x linux-sandbox.sh: test failed at: main in linux-sandbox.sh:23 ============================================================================== ================================== 111/161 =================================== test: lix:installcheck / functional-build-dry start time: 20:57:55 duration: 0.26s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=7 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-dry.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-dry +(init.sh:7) test -d /build/nix-test/build-dry +(init.sh:8) chmod -R u+w /build/nix-test/build-dry +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-dry +(init.sh:13) mkdir /build/nix-test/build-dry +(init.sh:15) mkdir /build/nix-test/build-dry/store +(init.sh:16) mkdir /build/nix-test/build-dry/var +(init.sh:17) mkdir -p /build/nix-test/build-dry/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-dry/var/nix +(init.sh:19) mkdir /build/nix-test/build-dry/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-dry/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-dry.sh:7) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/build-dry/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/build-dry/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/build-dry/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/build-dry/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/build-dry/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/build-dry/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/build-dry/test-home/.local/state/nix/profiles +(build-dry.sh:8) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/build-dry/binary-cache +(build-dry.sh:11) nix build --no-link -f dependencies.nix warning: you don't have Internet access; disabling some network-dependent features these 5 derivations will be built: /build/nix-test/build-dry/store/f8nj5ikrs3padzdxmb62c5gvcym2pk54-dependencies-input-0.drv /build/nix-test/build-dry/store/n1fr2b64dglldqzbdyigm8bj6h0wjav1-dependencies-input-2.drv /build/nix-test/build-dry/store/s0x4ryn8kn2apckmgir74fnl1ara56ns-fod-input.drv /build/nix-test/build-dry/store/x26wwj60v9z5v65lliwrlanvss5fjfnf-dependencies-input-1.drv /build/nix-test/build-dry/store/vgfqn1gf6gh3jyi3rki8rz4dqd3pkww7-dependencies-top.drv building '/build/nix-test/build-dry/store/f8nj5ikrs3padzdxmb62c5gvcym2pk54-dependencies-input-0.drv'... building '/build/nix-test/build-dry/store/x26wwj60v9z5v65lliwrlanvss5fjfnf-dependencies-input-1.drv'... building '/build/nix-test/build-dry/store/n1fr2b64dglldqzbdyigm8bj6h0wjav1-dependencies-input-2.drv'... building '/build/nix-test/build-dry/store/s0x4ryn8kn2apckmgir74fnl1ara56ns-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/build-dry/store/ix083z6rbd3c391sdbfwd8fi8yivfmsk-fod-input': Permission denied ++(build-dry.sh:11) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x build-dry.sh: test failed at: main in build-dry.sh:11 ============================================================================== ================================== 112/161 =================================== test: lix:installcheck / functional-supplementary-groups start time: 20:57:55 duration: 0.48s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=148 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py supplementary-groups.sh ----------------------------------- stdout ----------------------------------- /nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin/unshare /nix/store/sraadi2l2v1dq1p3yc77s7mpgkxwl1xf-hermetic [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/supplementary-groups +(init.sh:7) test -d /build/nix-test/supplementary-groups +(init.sh:8) chmod -R u+w /build/nix-test/supplementary-groups +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/supplementary-groups +(init.sh:13) mkdir /build/nix-test/supplementary-groups +(init.sh:15) mkdir /build/nix-test/supplementary-groups/store +(init.sh:16) mkdir /build/nix-test/supplementary-groups/var +(init.sh:17) mkdir -p /build/nix-test/supplementary-groups/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/supplementary-groups/var/nix +(init.sh:19) mkdir /build/nix-test/supplementary-groups/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/supplementary-groups/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(supplementary-groups.sh:3) requireSandboxSupport +(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox +(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] +(supplementary-groups.sh:4) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] +(supplementary-groups.sh:5) command -p -v unshare +(supplementary-groups.sh:6) needLocalStore 'The test uses --store always so we would just be bypassing the daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(supplementary-groups.sh:8) unshare --mount --map-root-user bash ++(supplementary-groups.sh:8) require-drop-supplementary-groups supplementary-groups.sh: line 8: require-drop-supplementary-groups: command not found ++(supplementary-groups.sh:8) require-drop-supplementary-groups supplementary-groups.sh: line 8: require-drop-supplementary-groups: command not found +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(bash:4) unset NIX_STORE_DIR +(bash:5) unset NIX_STATE_DIR +(bash:12) cmd=(nix-build ./hermetic.nix --arg busybox "/nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox" --arg seed 1 --no-out-link) +(bash:16) setLocalStore store1 +(main:8) export NIX_REMOTE=/build/nix-test/supplementary-groups/store1 +(main:8) NIX_REMOTE=/build/nix-test/supplementary-groups/store1 +(main:9) mkdir -p /build/nix-test/supplementary-groups/store1 +(bash:17) expectStderr 1 nix-build ./hermetic.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --arg seed 1 --no-out-link +(bash:17) grepQuiet 'unable to start build process' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unable to start build process' +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-build ./hermetic.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --arg seed 1 --no-out-link +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(bash:21) setLocalStore store2 +(main:8) export NIX_REMOTE=/build/nix-test/supplementary-groups/store2 +(main:8) NIX_REMOTE=/build/nix-test/supplementary-groups/store2 +(main:9) mkdir -p /build/nix-test/supplementary-groups/store2 +(bash:22) NIX_CONFIG='require-drop-supplementary-groups = true' +(bash:22) expectStderr 1 nix-build ./hermetic.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --arg seed 1 --no-out-link +(bash:22) grepQuiet 'unable to start build process' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'unable to start build process' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-build ./hermetic.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --arg seed 1 --no-out-link +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(bash:25) setLocalStore store3 +(main:8) export NIX_REMOTE=/build/nix-test/supplementary-groups/store3 +(main:8) NIX_REMOTE=/build/nix-test/supplementary-groups/store3 +(main:9) mkdir -p /build/nix-test/supplementary-groups/store3 +(bash:26) NIX_CONFIG='require-drop-supplementary-groups = false' +(bash:26) nix-build ./hermetic.nix --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --arg seed 1 --no-out-link these 4 derivations will be built: /nix/store/7b3pqgs83afiasqijfqm47xs05b47ws8-hermetic-input-1.drv /nix/store/ix1m726aqk5zbjdmpmav8wb28y1alp2v-hermetic-input-2.drv /nix/store/ya24ds47l5hi7z3xm97g12z20l46aaxl-hermetic-input-3.drv /nix/store/9422lddqkqriwb2zsqqdgd7c972wsky0-hermetic.drv building '/nix/store/7b3pqgs83afiasqijfqm47xs05b47ws8-hermetic-input-1.drv'... hi-input1 seed=1 building '/nix/store/ix1m726aqk5zbjdmpmav8wb28y1alp2v-hermetic-input-2.drv'... hi building '/nix/store/ya24ds47l5hi7z3xm97g12z20l46aaxl-hermetic-input-3.drv'... hi-input3 building '/nix/store/9422lddqkqriwb2zsqqdgd7c972wsky0-hermetic.drv'... ============================================================================== ================================== 113/161 =================================== test: lix:installcheck / functional-repl start time: 20:57:53 duration: 2.74s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=63 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py repl.sh ----------------------------------- stdout ----------------------------------- This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH= /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH= warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'... error: builder for '/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv' failed with exit code 1; last 1 log lines: > This should fail For full logs, run 'nix log /build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'. got build log for '/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv' from 'local' This should fail warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the 'import' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '/build/source/build/tests/functional/undefined-variable.nix': … while calling the 'import' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable 'asd' at /build/nix-test/repl/store/gkv3b1jqj5hxfcb14v1y6m87k7vc2xpf-test-file.nix:1:1: 1| asd | ^ error: attribute 'currentSystem' missing "x86_64-linux" This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH= /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH= warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'... error: builder for '/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv' failed with exit code 1; last 1 log lines: > This should fail For full logs, run 'nix log /build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'. got build log for '/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv' from 'local' This should fail warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the 'import' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '/build/source/build/tests/functional/undefined-variable.nix': … while calling the 'import' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable 'asd' at /build/nix-test/repl/store/gkv3b1jqj5hxfcb14v1y6m87k7vc2xpf-test-file.nix:1:1: 1| asd | ^ error: attribute 'currentSystem' missing "x86_64-linux" [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/repl +(init.sh:7) test -d /build/nix-test/repl +(init.sh:8) chmod -R u+w /build/nix-test/repl +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/repl +(init.sh:13) mkdir /build/nix-test/repl +(init.sh:15) mkdir /build/nix-test/repl/store +(init.sh:16) mkdir /build/nix-test/repl/var +(init.sh:17) mkdir -p /build/nix-test/repl/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/repl/var/nix +(init.sh:19) mkdir /build/nix-test/repl/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/repl/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(repl.sh:3) testDir=/build/source/build/tests/functional +(repl.sh:4) cd /build/nix-test/repl +(repl.sh:11) replCmds=' simple = 1 simple = import /build/source/build/tests/functional/simple.nix :bl simple :log simple ' +(repl.sh:17) replFailingCmds=' failing = import /build/source/build/tests/functional/simple-failing.nix :b failing :log failing ' +(repl.sh:21) replUndefinedVariable=' import /build/source/build/tests/functional/undefined-variable.nix ' +(repl.sh:53) testRepl +(repl.sh:24) nixArgs=() +(repl.sh:24) local nixArgs +(repl.sh:25) rm -rf repl-result-out ++(repl.sh:26) nix repl warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv'... got build log for '/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv' from 'local' +(repl.sh:26) local 'replOutput= This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH=' +(repl.sh:27) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH=' ++(repl.sh:29) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH=' ++(repl.sh:29) grep -o -E '/build/nix-test/repl/store/\w*-simple' +(repl.sh:29) local outPath=/build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple +(repl.sh:30) nix path-info /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple warning: you don't have Internet access; disabling some network-dependent features ++(repl.sh:31) realpath ./repl-result-out +(repl.sh:31) '[' /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple == /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple ']' +(repl.sh:33) nix repl warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. got build log for '/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv' from 'local' +(repl.sh:36) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH=' +(repl.sh:36) grepQuiet -s PATH= +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s PATH= ++(repl.sh:37) nix repl +(repl.sh:37) local 'replOutput=warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''... error: builder for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''. got build log for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' from '\''local'\'' This should fail' +(repl.sh:38) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''... error: builder for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''. got build log for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' from '\''local'\'' This should fail' +(repl.sh:39) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''... error: builder for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''. got build log for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' from '\''local'\'' This should fail' +(repl.sh:39) grepQuiet -s 'This should fail' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s 'This should fail' ++(repl.sh:41) nix repl --show-trace +(repl.sh:41) local 'replOutput=warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/repl/store/gkv3b1jqj5hxfcb14v1y6m87k7vc2xpf-test-file.nix:1:1: 1| asd | ^' +(repl.sh:42) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/repl/store/gkv3b1jqj5hxfcb14v1y6m87k7vc2xpf-test-file.nix:1:1: 1| asd | ^' +(repl.sh:43) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/repl/store/gkv3b1jqj5hxfcb14v1y6m87k7vc2xpf-test-file.nix:1:1: 1| asd | ^' +(repl.sh:43) grepQuiet -s 'while evaluating the file' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s 'while evaluating the file' +(repl.sh:46) nix repl --option pure-eval true +(repl.sh:47) grep 'attribute '\''currentSystem'\'' missing' +(repl.sh:48) nix repl ++(repl.sh:49) nix-instantiate --eval -E builtins.currentSystem +(repl.sh:49) grep '"x86_64-linux"' +(repl.sh:55) testRepl --store '/build/nix-test/repl/store?real=/build/nix-test/repl/store' +(repl.sh:24) nixArgs=('--store' '/build/nix-test/repl/store?real=/build/nix-test/repl/store') +(repl.sh:24) local nixArgs +(repl.sh:25) rm -rf repl-result-out ++(repl.sh:26) nix repl --store '/build/nix-test/repl/store?real=/build/nix-test/repl/store' warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv'... got build log for '/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv' from 'local' +(repl.sh:26) local 'replOutput= This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH=' +(repl.sh:27) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH=' ++(repl.sh:29) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH=' ++(repl.sh:29) grep -o -E '/build/nix-test/repl/store/\w*-simple' +(repl.sh:29) local outPath=/build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple +(repl.sh:30) nix path-info --store '/build/nix-test/repl/store?real=/build/nix-test/repl/store' /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple warning: you don't have Internet access; disabling some network-dependent features ++(repl.sh:31) realpath ./repl-result-out +(repl.sh:31) '[' /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple == /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple ']' +(repl.sh:33) nix repl --store '/build/nix-test/repl/store?real=/build/nix-test/repl/store' warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. got build log for '/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv' from 'local' +(repl.sh:36) echo ' This derivation produced the following outputs: ./repl-result-out -> /build/nix-test/repl/store/mp4yfcpff84488r69z1qyc0nyid18n3p-simple PATH=' +(repl.sh:36) grepQuiet -s PATH= +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s PATH= ++(repl.sh:37) nix repl --store '/build/nix-test/repl/store?real=/build/nix-test/repl/store' +(repl.sh:37) local 'replOutput=warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''... error: builder for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''. got build log for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' from '\''local'\'' This should fail' +(repl.sh:38) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''... error: builder for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''. got build log for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' from '\''local'\'' This should fail' +(repl.sh:39) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. building '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''... error: builder for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' failed with exit code 1; last 1 log lines: > This should fail For full logs, run '\''nix log /build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\''. got build log for '\''/build/nix-test/repl/store/4x00b2bmli7r7475cpqa5lwcr3vf85gq-simple-failing.drv'\'' from '\''local'\'' This should fail' +(repl.sh:39) grepQuiet -s 'This should fail' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s 'This should fail' ++(repl.sh:41) nix repl --show-trace --store '/build/nix-test/repl/store?real=/build/nix-test/repl/store' +(repl.sh:41) local 'replOutput=warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/repl/store/gkv3b1jqj5hxfcb14v1y6m87k7vc2xpf-test-file.nix:1:1: 1| asd | ^' +(repl.sh:42) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/repl/store/gkv3b1jqj5hxfcb14v1y6m87k7vc2xpf-test-file.nix:1:1: 1| asd | ^' +(repl.sh:43) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. error: … while calling the '\''import'\'' builtin at «string»:1:1: 1| import /build/source/build/tests/functional/undefined-variable.nix | ^ … while evaluating the file '\''/build/source/build/tests/functional/undefined-variable.nix'\'': … while calling the '\''import'\'' builtin at /build/source/build/tests/functional/undefined-variable.nix:1:51: 1| let f = builtins.toFile "test-file.nix" "asd"; in import f | ^ 2| error: undefined variable '\''asd'\'' at /build/nix-test/repl/store/gkv3b1jqj5hxfcb14v1y6m87k7vc2xpf-test-file.nix:1:1: 1| asd | ^' +(repl.sh:43) grepQuiet -s 'while evaluating the file' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s 'while evaluating the file' +(repl.sh:46) nix repl --store '/build/nix-test/repl/store?real=/build/nix-test/repl/store' --option pure-eval true +(repl.sh:47) grep 'attribute '\''currentSystem'\'' missing' +(repl.sh:48) nix repl --store '/build/nix-test/repl/store?real=/build/nix-test/repl/store' ++(repl.sh:49) nix-instantiate --eval -E builtins.currentSystem +(repl.sh:49) grep '"x86_64-linux"' +(repl.sh:105) testReplResponse ' :a { a = "1"; } :a { a = "2"; } "result: ${a}" ' 'result: 2' +(repl.sh:93) testReplResponseGeneral --basic-regexp ' :a { a = "1"; } :a { a = "2"; } "result: ${a}" ' 'result: 2' +(repl.sh:63) local grepMode=--basic-regexp +(repl.sh:63) shift +(repl.sh:64) local 'commands= :a { a = "1"; } :a { a = "2"; } "result: ${a}" ' +(repl.sh:64) shift ++(repl.sh:69) printf %s 'result: 2' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=result: 2' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINE"result: 2"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINE"result: 2"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --basic-regexp -s 'result: 2' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s 'result: 2' +(repl.sh:113) testReplResponseNoRegex ' "$" + "{hi}" ' '"\${hi}"' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' "$" + "{hi}" ' '"\${hi}"' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= "$" + "{hi}" ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '"\${hi}"' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse="\${hi}"' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE"\${hi}"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE"\${hi}"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s '"\${hi}"' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '"\${hi}"' +(repl.sh:117) testReplResponse ' drvPath ' '".*-simple.drv"' /build/source/build/tests/functional/simple.nix +(repl.sh:93) testReplResponseGeneral --basic-regexp ' drvPath ' '".*-simple.drv"' /build/source/build/tests/functional/simple.nix +(repl.sh:63) local grepMode=--basic-regexp +(repl.sh:63) shift +(repl.sh:64) local 'commands= drvPath ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '".*-simple.drv"' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=".*-simple.drv"' +(repl.sh:69) shift ++(repl.sh:71) nix repl /build/source/build/tests/functional/simple.nix ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINEwarning: future versions of Lix will require using `--file` to load a fileTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 14 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINEwarning: future versions of Lix will require using `--file` to load a fileTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 14 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --basic-regexp -s '".*-simple.drv"' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s '".*-simple.drv"' +(repl.sh:122) testReplResponse ' drvPath ' '".*-simple.drv"' --file /build/source/build/tests/functional/simple.nix --experimental-features ca-derivations +(repl.sh:93) testReplResponseGeneral --basic-regexp ' drvPath ' '".*-simple.drv"' --file /build/source/build/tests/functional/simple.nix --experimental-features ca-derivations +(repl.sh:63) local grepMode=--basic-regexp +(repl.sh:63) shift +(repl.sh:64) local 'commands= drvPath ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '".*-simple.drv"' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=".*-simple.drv"' +(repl.sh:69) shift ++(repl.sh:71) nix repl --file /build/source/build/tests/functional/simple.nix --experimental-features ca-derivations ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 14 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 14 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --basic-regexp -s '".*-simple.drv"' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s '".*-simple.drv"' +(repl.sh:127) testReplResponse ' drvPath ' '".*-simple.drv"' --file /build/source/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations' +(repl.sh:93) testReplResponseGeneral --basic-regexp ' drvPath ' '".*-simple.drv"' --file /build/source/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations' +(repl.sh:63) local grepMode=--basic-regexp +(repl.sh:63) shift +(repl.sh:64) local 'commands= drvPath ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '".*-simple.drv"' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=".*-simple.drv"' +(repl.sh:69) shift ++(repl.sh:71) nix repl --file /build/source/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations' ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 14 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINELoading installable '\'''\''...TEST_NEWLINEAdded 14 variables.TEST_NEWLINETEST_NEWLINE"/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --basic-regexp -s '".*-simple.drv"' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s '".*-simple.drv"' +(repl.sh:130) mkdir -p flake +(repl.sh:130) cat +(repl.sh:142) testReplResponse ' foo + baz ' 3 ./flake ./flake#bar --experimental-features 'flakes repl-flake' +(repl.sh:93) testReplResponseGeneral --basic-regexp ' foo + baz ' 3 ./flake ./flake#bar --experimental-features 'flakes repl-flake' +(repl.sh:63) local grepMode=--basic-regexp +(repl.sh:63) shift +(repl.sh:64) local 'commands= foo + baz ' +(repl.sh:64) shift ++(repl.sh:69) printf %s 3 ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local expectedResponse=3 +(repl.sh:69) shift ++(repl.sh:71) nix repl ./flake ./flake#bar --experimental-features 'flakes repl-flake' ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINEfetching path input '\''path:/build/nix-test/repl/flake'\''TEST_NEWLINEfetching path input '\''path:/build/nix-test/repl/flake'\''TEST_NEWLINELoading installable '\''path:/build/nix-test/repl/flake#'\''...TEST_NEWLINEAdded 3 variables.TEST_NEWLINELoading installable '\''path:/build/nix-test/repl/flake#bar'\''...TEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINE3TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINEfetching path input '\''path:/build/nix-test/repl/flake'\''TEST_NEWLINEfetching path input '\''path:/build/nix-test/repl/flake'\''TEST_NEWLINELoading installable '\''path:/build/nix-test/repl/flake#'\''...TEST_NEWLINEAdded 3 variables.TEST_NEWLINELoading installable '\''path:/build/nix-test/repl/flake#bar'\''...TEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINE3TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --basic-regexp -s 3 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --basic-regexp -s 3 ++(repl.sh:156) echo changingThing ++(repl.sh:157) sleep 1 ++(repl.sh:160) nix repl ./flake --experimental-features 'flakes repl-flake' warning: you don't have Internet access; disabling some network-dependent features Lix 2.91.0 Type :? for help. fetching path input 'path:/build/nix-test/repl/flake' Loading installable 'path:/build/nix-test/repl/flake#'... Added 3 variables. ++(repl.sh:158) sed -i s/beforeChange/afterChange/ flake/flake.nix ++(repl.sh:159) echo :reload ++(repl.sh:160) echo changingThing fetching path input 'path:/build/nix-test/repl/flake' Loading installable 'path:/build/nix-test/repl/flake#'... Added 3 variables. +(repl.sh:156) replResult='"beforeChange" "afterChange"' +(repl.sh:157) echo '"beforeChange" "afterChange"' +(repl.sh:157) grepQuiet -s beforeChange +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s beforeChange +(repl.sh:158) echo '"beforeChange" "afterChange"' +(repl.sh:158) grepQuiet -s afterChange +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -s afterChange +(repl.sh:164) testReplResponseNoRegex ' { a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' '{ a = { ... }; l = [ ... ]; n = 1234; s = "string"; x = { ... }; } ' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' { a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' '{ a = { ... }; l = [ ... ]; n = 1234; s = "string"; x = { ... }; } ' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= { a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '{ a = { ... }; l = [ ... ]; n = 1234; s = "string"; x = { ... }; } ' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse={TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s '{TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '{TEST_NEWLINE a = { ... };TEST_NEWLINE l = [ ... ];TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = { ... };TEST_NEWLINE}' +(repl.sh:177) testReplResponseNoRegex ' [ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ] ' '[ 42 1 "thingy" { ... } [ ... ] ] ' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' [ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ] ' '[ 42 1 "thingy" { ... } [ ... ] ] ' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= [ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ] ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '[ 42 1 "thingy" { ... } [ ... ] ] ' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s '[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE { ... }TEST_NEWLINE [ ... ]TEST_NEWLINE]' +(repl.sh:190) testReplResponseNoRegex ' let x = { y = { a = 1; }; inherit x; }; in x ' '{ x = «repeated»; y = { ... }; } ' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' let x = { y = { a = 1; }; inherit x; }; in x ' '{ x = «repeated»; y = { ... }; } ' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= let x = { y = { a = 1; }; inherit x; }; in x ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '{ x = «repeated»; y = { ... }; } ' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse={TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s '{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { ... };TEST_NEWLINE}' +(repl.sh:200) testReplResponseNoRegex ' :p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' '{ a = { b = 2; }; n = 1234; s = "string"; x = { y = { z = { y = «repeated»; }; }; }; } ' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' :p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' '{ a = { b = 2; }; n = 1234; s = "string"; x = { y = { z = { y = «repeated»; }; }; }; } ' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= :p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; } ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '{ a = { b = 2; }; n = 1234; s = "string"; x = { y = { z = { y = «repeated»; }; }; }; } ' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse={TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s '{TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '{TEST_NEWLINE a = { b = 2; };TEST_NEWLINE n = 1234;TEST_NEWLINE s = "string";TEST_NEWLINE x = {TEST_NEWLINE y = {TEST_NEWLINE z = {TEST_NEWLINE y = «repeated»;TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE };TEST_NEWLINE}' +(repl.sh:218) testReplResponseNoRegex ' :p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ] ' '[ 42 1 "thingy" { a = 1; b = { a = 1; b = «repeated»; }; } [ 1 2 3 ] ] ' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' :p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ] ' '[ 42 1 "thingy" { a = 1; b = { a = 1; b = «repeated»; }; } [ 1 2 3 ] ] ' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= :p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ] ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '[ 42 1 "thingy" { a = 1; b = { a = 1; b = «repeated»; }; } [ 1 2 3 ] ] ' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s '[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '[TEST_NEWLINE 42TEST_NEWLINE 1TEST_NEWLINE "thingy"TEST_NEWLINE {TEST_NEWLINE a = 1;TEST_NEWLINE b = {TEST_NEWLINE a = 1;TEST_NEWLINE b = «repeated»;TEST_NEWLINE };TEST_NEWLINE }TEST_NEWLINE [TEST_NEWLINE 1TEST_NEWLINE 2TEST_NEWLINE 3TEST_NEWLINE ]TEST_NEWLINE]' +(repl.sh:241) testReplResponseNoRegex ' :p let x = { y = { a = 1; }; inherit x; }; in x ' '{ x = «repeated»; y = { a = 1; }; } ' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' :p let x = { y = { a = 1; }; inherit x; }; in x ' '{ x = «repeated»; y = { a = 1; }; } ' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= :p let x = { y = { a = 1; }; inherit x; }; in x ' +(repl.sh:64) shift ++(repl.sh:69) printf %s '{ x = «repeated»; y = { a = 1; }; } ' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse={TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINE{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s '{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s '{TEST_NEWLINE x = «repeated»;TEST_NEWLINE y = { a = 1; };TEST_NEWLINE}' +(repl.sh:249) echo '{ identity = a: a; }' ++(repl.sh:250) nix-store --add repl-test.nix +(repl.sh:250) repl_test_store=/build/nix-test/repl/store/s4k0lvmv9bdlj2d71jhpflv5kg4isd1z-repl-test.nix +(repl.sh:251) EDITOR=true +(repl.sh:251) testReplResponseNoRegex ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l /build/nix-test/repl/store/s4k0lvmv9bdlj2d71jhpflv5kg4isd1z-repl-test.nix :e identity a ' 'test string that we'\''ll grep later' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l /build/nix-test/repl/store/s4k0lvmv9bdlj2d71jhpflv5kg4isd1z-repl-test.nix :e identity a ' 'test string that we'\''ll grep later' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= a = '\'''\''test string that we'\''ll grep later'\'''\'' :l /build/nix-test/repl/store/s4k0lvmv9bdlj2d71jhpflv5kg4isd1z-repl-test.nix :e identity a ' +(repl.sh:64) shift ++(repl.sh:69) printf %s 'test string that we'\''ll grep later' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=test string that we'\''ll grep later' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINETEST_NEWLINE"test string that we'\''ll grep later"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINETEST_NEWLINE"test string that we'\''ll grep later"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s 'test string that we'\''ll grep later' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s 'test string that we'\''ll grep later' +(repl.sh:259) ln -s /build/nix-test/repl/store/s4k0lvmv9bdlj2d71jhpflv5kg4isd1z-repl-test.nix repl-test-link.nix +(repl.sh:260) EDITOR=true +(repl.sh:260) testReplResponseNoRegex ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test-link.nix :e identity a ' 'test string that we'\''ll grep later' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test-link.nix :e identity a ' 'test string that we'\''ll grep later' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test-link.nix :e identity a ' +(repl.sh:64) shift ++(repl.sh:69) printf %s 'test string that we'\''ll grep later' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=test string that we'\''ll grep later' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINETEST_NEWLINE"test string that we'\''ll grep later"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINETEST_NEWLINE"test string that we'\''ll grep later"TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s 'test string that we'\''ll grep later' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s 'test string that we'\''ll grep later' +(repl.sh:268) EDITOR=true +(repl.sh:268) testReplResponseNoRegex ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test.nix :e identity a ' 'undefined variable' +(repl.sh:97) testReplResponseGeneral --fixed-strings ' a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test.nix :e identity a ' 'undefined variable' +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands= a = '\'''\''test string that we'\''ll grep later'\'''\'' :l repl-test.nix :e identity a ' +(repl.sh:64) shift ++(repl.sh:69) printf %s 'undefined variable' ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local 'expectedResponse=undefined variable' +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINELoading '\''repl-test.nix'\''...TEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINEerror: undefined variable '\''a'\''TEST_NEWLINE at «string»:1:1:TEST_NEWLINE 1| aTEST_NEWLINE | ^TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINETEST_NEWLINETEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINELoading '\''repl-test.nix'\''...TEST_NEWLINEAdded 1 variables.TEST_NEWLINETEST_NEWLINEerror: undefined variable '\''a'\''TEST_NEWLINE at «string»:1:1:TEST_NEWLINE 1| aTEST_NEWLINE | ^TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s 'undefined variable' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s 'undefined variable' ++(repl.sh:276) nix-instantiate /build/source/build/tests/functional/simple.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(repl.sh:276) simple_path=/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv +(repl.sh:278) testReplResponseNoRegex ':log /build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv' PATH= +(repl.sh:97) testReplResponseGeneral --fixed-strings ':log /build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv' PATH= +(repl.sh:63) local grepMode=--fixed-strings +(repl.sh:63) shift +(repl.sh:64) local 'commands=:log /build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv' +(repl.sh:64) shift ++(repl.sh:69) printf %s PATH= ++(repl.sh:69) awk 1 ORS=TEST_NEWLINE ++(repl.sh:69) sed 's/TEST_NEWLINE$//' +(repl.sh:69) local expectedResponse=PATH= +(repl.sh:69) shift ++(repl.sh:71) nix repl ++(repl.sh:71) stripColors ++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' ++(repl.sh:71) awk 1 ORS=TEST_NEWLINE +(repl.sh:71) local 'response=warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINEgot build log for '\''/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv'\'' from '\''local'\''TEST_NEWLINEPATH=TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) printf %s 'warning: you don'\''t have Internet access; disabling some network-dependent featuresTEST_NEWLINELix 2.91.0TEST_NEWLINEType :? for help.TEST_NEWLINEgot build log for '\''/build/nix-test/repl/store/pmgzkivwaxzjdhcahkl2g2x683prmbca-simple.drv'\'' from '\''local'\''TEST_NEWLINEPATH=TEST_NEWLINETEST_NEWLINETEST_NEWLINETEST_NEWLINE' +(repl.sh:72) grepQuiet --fixed-strings -s PATH= +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep --fixed-strings -s PATH= ============================================================================== ================================== 114/161 =================================== test: lix:installcheck / functional-brotli start time: 20:57:56 duration: 0.26s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=219 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py brotli.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/brotli +(init.sh:7) test -d /build/nix-test/brotli +(init.sh:8) chmod -R u+w /build/nix-test/brotli +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/brotli +(init.sh:13) mkdir /build/nix-test/brotli +(init.sh:15) mkdir /build/nix-test/brotli/store +(init.sh:16) mkdir /build/nix-test/brotli/var +(init.sh:17) mkdir -p /build/nix-test/brotli/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/brotli/var/nix +(init.sh:19) mkdir /build/nix-test/brotli/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/brotli/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(brotli.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/brotli/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/brotli/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/brotli/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/brotli/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/brotli/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/brotli/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/brotli/test-home/.local/state/nix/profiles +(brotli.sh:4) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/brotli/binary-cache +(brotli.sh:6) cacheURI='file:///build/nix-test/brotli/binary-cache?compression=br' ++(brotli.sh:8) nix-build dependencies.nix --no-out-link these 5 derivations will be built: /build/nix-test/brotli/store/jg983lmzw9wzin61xxxbzqwn8nmw627h-fod-input.drv /build/nix-test/brotli/store/q4lkg73wbiibvnnarcv9aa265b7qz3ns-dependencies-input-1.drv /build/nix-test/brotli/store/vz9wqj3lf6nzi55wbf680vqfvmg877cg-dependencies-input-0.drv /build/nix-test/brotli/store/vv1mhpxlgy5lzb8lnhklzfk9z2r0w56y-dependencies-input-2.drv /build/nix-test/brotli/store/a9plafq1fyx6npg9kj430gzxz26dpysb-dependencies-top.drv building '/build/nix-test/brotli/store/vz9wqj3lf6nzi55wbf680vqfvmg877cg-dependencies-input-0.drv'... building '/build/nix-test/brotli/store/q4lkg73wbiibvnnarcv9aa265b7qz3ns-dependencies-input-1.drv'... building '/build/nix-test/brotli/store/vv1mhpxlgy5lzb8lnhklzfk9z2r0w56y-dependencies-input-2.drv'... building '/build/nix-test/brotli/store/jg983lmzw9wzin61xxxbzqwn8nmw627h-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/brotli/store/ral1sp7mc9swpd4brk45jcds1y0ygifm-fod-input': Permission denied +(brotli.sh:8) outPath= ++(brotli.sh:8) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x brotli.sh: test failed at: main in brotli.sh:8 ============================================================================== ================================== 115/161 =================================== test: lix:installcheck / functional-structured-attrs start time: 20:57:55 duration: 0.72s result: exit status 0 command: MALLOC_PERTURB_=169 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py structured-attrs.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured /build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/structured-attrs +(init.sh:7) test -d /build/nix-test/structured-attrs +(init.sh:8) chmod -R u+w /build/nix-test/structured-attrs +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/structured-attrs +(init.sh:13) mkdir /build/nix-test/structured-attrs +(init.sh:15) mkdir /build/nix-test/structured-attrs/store +(init.sh:16) mkdir /build/nix-test/structured-attrs/var +(init.sh:17) mkdir -p /build/nix-test/structured-attrs/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/structured-attrs/var/nix +(init.sh:19) mkdir /build/nix-test/structured-attrs/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/structured-attrs/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(structured-attrs.sh:5) requireDaemonNewerThan 2.4pre20210712 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.4pre20210712 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(structured-attrs.sh:7) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/structured-attrs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/structured-attrs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/structured-attrs/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/structured-attrs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/structured-attrs/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/structured-attrs/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/structured-attrs/test-home/.local/state/nix/profiles +(structured-attrs.sh:9) rm -f /build/nix-test/structured-attrs/result +(structured-attrs.sh:11) nix-build structured-attrs.nix -A all -o /build/nix-test/structured-attrs/result these 2 derivations will be built: /build/nix-test/structured-attrs/store/fbvyx2ws5w45y0ajyx43vv6k71w9g62r-dep.drv /build/nix-test/structured-attrs/store/356nxafczabsrpahvklfqgk9n5v5syd3-structured.drv building '/build/nix-test/structured-attrs/store/fbvyx2ws5w45y0ajyx43vv6k71w9g62r-dep.drv'... building '/build/nix-test/structured-attrs/store/356nxafczabsrpahvklfqgk9n5v5syd3-structured.drv'... ++ [[ 123456789 = 123456789 ]] ++ [[ -z '' ]] ++ [[ -n 1 ]] ++ [[ -z '' ]] ++ [[ -n 1 ]] ++ [[ -z '' ]] ++ [[ 7 = 7 ]] ++ [[ c = c ]] ++ [[ -v nothing ]] ++ [[ -z '' ]] ++ mkdir /build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured /build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev ++ echo bar ++ echo foo +++ cat /build/nix-build-structured.drv-0/.attrs.json ++ json='{"1foobar":"BAD","PATH":"/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\''\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"'\'' ]]\n[[ $json =~ '\''\"narSize\":288'\'' ]]\n[[ $json =~ '\''\"closureSize\":288'\'' ]]\n[[ $json =~ '\''\"references\":[]'\'' ]]\n","buildInputs":["a","b","c",123,"'\''","\"",null],"builder":"/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash","dest":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured/foo","dest2":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev/foo","exportReferencesGraph":{"refs":["/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev","out":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep","references":[],"valid":true}],"system":"x86_64-linux"}' ++ [[ {"1foobar":"BAD","PATH":"/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"' ]]\n[[ $json =~ '\"narSize\":288' ]]\n[[ $json =~ '\"closureSize\":288' ]]\n[[ $json =~ '\"references\":[]' ]]\n","buildInputs":["a","b","c",123,"'","\"",null],"builder":"/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash","dest":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured/foo","dest2":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev/foo","exportReferencesGraph":{"refs":["/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev","out":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep","references":[],"valid":true}],"system":"x86_64-linux"} =~ "narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk" ]] ++ [[ {"1foobar":"BAD","PATH":"/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"' ]]\n[[ $json =~ '\"narSize\":288' ]]\n[[ $json =~ '\"closureSize\":288' ]]\n[[ $json =~ '\"references\":[]' ]]\n","buildInputs":["a","b","c",123,"'","\"",null],"builder":"/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash","dest":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured/foo","dest2":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev/foo","exportReferencesGraph":{"refs":["/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev","out":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep","references":[],"valid":true}],"system":"x86_64-linux"} =~ "narSize":288 ]] ++ [[ {"1foobar":"BAD","PATH":"/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"' ]]\n[[ $json =~ '\"narSize\":288' ]]\n[[ $json =~ '\"closureSize\":288' ]]\n[[ $json =~ '\"references\":[]' ]]\n","buildInputs":["a","b","c",123,"'","\"",null],"builder":"/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash","dest":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured/foo","dest2":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev/foo","exportReferencesGraph":{"refs":["/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev","out":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep","references":[],"valid":true}],"system":"x86_64-linux"} =~ "closureSize":288 ]] ++ [[ {"1foobar":"BAD","PATH":"/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"' ]]\n[[ $json =~ '\"narSize\":288' ]]\n[[ $json =~ '\"closureSize\":288' ]]\n[[ $json =~ '\"references\":[]' ]]\n","buildInputs":["a","b","c",123,"'","\"",null],"builder":"/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash","dest":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured/foo","dest2":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev/foo","exportReferencesGraph":{"refs":["/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/build/nix-test/structured-attrs/store/vx6k625707mzd8vk5xqv0h2hadw4zsrh-structured-dev","out":"/build/nix-test/structured-attrs/store/3mnm0rgvnlqgq8c454b2w9v835hrb1mv-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep","references":[],"valid":true}],"system":"x86_64-linux"} =~ "references":\[] ]] ++(structured-attrs.sh:13) cat /build/nix-test/structured-attrs/result/foo +(structured-attrs.sh:13) [[ bar = bar ]] ++(structured-attrs.sh:14) cat /build/nix-test/structured-attrs/result-dev/foo +(structured-attrs.sh:14) [[ foo = foo ]] +(structured-attrs.sh:16) export NIX_BUILD_SHELL=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash +(structured-attrs.sh:16) NIX_BUILD_SHELL=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash +(structured-attrs.sh:17) env NIX_PATH=nixpkgs=shell.nix nix-shell structured-attrs-shell.nix --run 'test "3" = "$(jq ".my.list|length" < $NIX_ATTRS_JSON_FILE)"' this derivation will be built: /build/nix-test/structured-attrs/store/7jhbvkqh69cxld9mhgi9v7q62fdwplnb-stdenv.drv building '/build/nix-test/structured-attrs/store/7jhbvkqh69cxld9mhgi9v7q62fdwplnb-stdenv.drv'... +(structured-attrs.sh:20) nix develop -f structured-attrs-shell.nix -c bash -c 'test "3" = "$(jq ".my.list|length" < $NIX_ATTRS_JSON_FILE)"' warning: you don't have Internet access; disabling some network-dependent features building '/build/nix-test/structured-attrs/store/wrvdqpqgdi5zbi180531z1c3flfqa83j-structured2-env.drv'... warning: cannot read flake registry '/build/nix-test/structured-attrs/registry.json': path does not exist error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries +(structured-attrs.sh:25) nix develop -f structured-attrs-shell.nix -c bash -c 'test -n "$out"' warning: you don't have Internet access; disabling some network-dependent features warning: cannot read flake registry '/build/nix-test/structured-attrs/registry.json': path does not exist error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries +(structured-attrs.sh:27) nix print-dev-env -f structured-attrs-shell.nix +(structured-attrs.sh:27) grepQuiet NIX_ATTRS_JSON_FILE= +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep NIX_ATTRS_JSON_FILE= warning: you don't have Internet access; disabling some network-dependent features +(structured-attrs.sh:28) nix print-dev-env -f structured-attrs-shell.nix +(structured-attrs.sh:28) grepQuiet NIX_ATTRS_SH_FILE= +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep NIX_ATTRS_SH_FILE= warning: you don't have Internet access; disabling some network-dependent features +(structured-attrs.sh:29) nix print-dev-env -f shell.nix shellDrv +(structured-attrs.sh:29) grepQuietInverse NIX_ATTRS_SH_FILE +(/build/source/build/tests/functional/common/vars-and-functions.sh:278) grep NIX_ATTRS_SH_FILE warning: you don't have Internet access; disabling some network-dependent features building '/build/nix-test/structured-attrs/store/1ncggdpbz7lian8xs5amyg1arkzra9k7-shellDrv-env.drv'... ++(structured-attrs.sh:31) nix print-dev-env -f structured-attrs-shell.nix --json warning: you don't have Internet access; disabling some network-dependent features +(structured-attrs.sh:31) jsonOut='{"bashFunctions":{"fun":" \n echo blabla\n"},"structuredAttrs":{".attrs.json":"{\"PATH\":\"/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin\",\"buildCommand\":\"touch ${outputs[out]}; touch ${outputs[dev]}\\n\",\"builder\":\"/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash\",\"exportReferencesGraph\":{\"refs\":[\"/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep\"]},\"my\":{\"list\":[\"a\",\"b\",\"c\"]},\"name\":\"structured2\",\"outputs\":{\"dev\":\"/build/nix-test/structured-attrs/store/nrd9zs8652spiddmz84v8acicyndinhq-structured2-env-dev\",\"out\":\"/build/nix-test/structured-attrs/store/dq775100fy8rr0w10vf73z6d0l8ikh49-structured2-env\"},\"refs\":[{\"closureSize\":288,\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\",\"narSize\":288,\"path\":\"/build/nix-test/structured-attrs/store/99jwfd2lxiba7gl4icbbvp9xy261bpgx-dep\",\"references\":[],\"valid\":true}],\"stdenv\":\"/build/nix-test/structured-attrs/store/a2av9a77m2q945acshjajrm1knc8arpf-stdenv\",\"system\":\"x86_64-linux\"}",".attrs.sh":"declare PATH='\''/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin'\''\ndeclare buildCommand='\''touch ${outputs[out]}; touch ${outputs[dev]}\n'\''\ndeclare builder='\''/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash'\''\ndeclare name='\''structured2'\''\ndeclare -A outputs=(['\''dev'\'']='\''/build/nix-test/structured-attrs/store/nrd9zs8652spiddmz84v8acicyndinhq-structured2-env-dev'\'' ['\''out'\'']='\''/build/nix-test/structured-attrs/store/dq775100fy8rr0w10vf73z6d0l8ikh49-structured2-env'\'' )\ndeclare stdenv='\''/build/nix-test/structured-attrs/store/a2av9a77m2q945acshjajrm1knc8arpf-stdenv'\''\ndeclare system='\''x86_64-linux'\''"},"variables":{"BASH":{"type":"var","value":"/noshell"},"HOME":{"type":"exported","value":"/homeless-shelter"},"HOSTTYPE":{"type":"var","value":"x86_64"},"IFS":{"type":"var","value":" \t\n"},"IN_NIX_SHELL":{"type":"exported","value":"impure"},"LINENO":{"type":"var","value":"76"},"MACHTYPE":{"type":"var","value":"x86_64-pc-linux-gnu"},"NIX_ATTRS_JSON_FILE":{"type":"exported","value":"/build/nix-build-structured2-env.drv-0/.attrs.json"},"NIX_ATTRS_SH_FILE":{"type":"exported","value":"/build/nix-build-structured2-env.drv-0/.attrs.sh"},"NIX_BUILD_CORES":{"type":"exported","value":"8"},"NIX_BUILD_TOP":{"type":"exported","value":"/build/nix-build-structured2-env.drv-0"},"NIX_LOG_FD":{"type":"exported","value":"2"},"NIX_STORE":{"type":"exported","value":"/build/nix-test/structured-attrs/store"},"OLDPWD":{"type":"exported","value":""},"OPTERR":{"type":"var","value":"1"},"OSTYPE":{"type":"var","value":"linux-gnu"},"PATH":{"type":"exported","value":"/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin"},"PS4":{"type":"var","value":"+ "},"SHELL":{"type":"var","value":"/noshell"},"TEMP":{"type":"exported","value":"/build/nix-build-structured2-env.drv-0"},"TEMPDIR":{"type":"exported","value":"/build/nix-build-structured2-env.drv-0"},"TERM":{"type":"exported","value":"xterm-256color"},"TMP":{"type":"exported","value":"/build/nix-build-structured2-env.drv-0"},"TMPDIR":{"type":"exported","value":"/build/nix-build-structured2-env.drv-0"},"VAR_FROM_STDENV_SETUP":{"type":"exported","value":"foo"},"arr1":{"type":"array","value":["1","2","3 4","5"]},"arr2":{"type":"array","value":["x","\n","x\ny"]},"buildCommand":{"type":"var","value":"touch ${outputs[out]}; touch ${outputs[dev]}\n"},"builder":{"type":"var","value":"/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash"},"dev":{"type":"exported","value":"/build/nix-test/structured-attrs/store/nrd9zs8652spiddmz84v8acicyndinhq-structured2-env-dev"},"dontAddDisableDepTrack":{"type":"exported","value":"1"},"name":{"type":"var","value":"structured2"},"o":{"type":"var","value":"out"},"out":{"type":"exported","value":"/build/nix-test/structured-attrs/store/dq775100fy8rr0w10vf73z6d0l8ikh49-structured2-env"},"outputs":{"type":"associative","value":{"dev":"/build/nix-test/structured-attrs/store/nrd9zs8652spiddmz84v8acicyndinhq-structured2-env-dev","out":"/build/nix-test/structured-attrs/store/dq775100fy8rr0w10vf73z6d0l8ikh49-structured2-env"}},"stdenv":{"type":"var","value":"/build/nix-test/structured-attrs/store/a2av9a77m2q945acshjajrm1knc8arpf-stdenv"},"system":{"type":"var","value":"x86_64-linux"}}}' ++(structured-attrs.sh:33) jq '.structuredAttrs|keys|.[]' -r ++(structured-attrs.sh:33) printf '.attrs.json\n.attrs.sh' +(structured-attrs.sh:33) test '.attrs.json .attrs.sh' = '.attrs.json .attrs.sh' ++(structured-attrs.sh:35) jq .variables.out.value -r ++(structured-attrs.sh:35) jq '.structuredAttrs.".attrs.json"' -r ++(structured-attrs.sh:35) jq -r .outputs.out +(structured-attrs.sh:35) test /build/nix-test/structured-attrs/store/dq775100fy8rr0w10vf73z6d0l8ikh49-structured2-env = /build/nix-test/structured-attrs/store/dq775100fy8rr0w10vf73z6d0l8ikh49-structured2-env ============================================================================== ================================== 116/161 =================================== test: lix:installcheck / functional-shell start time: 20:57:55 duration: 0.67s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=26 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py shell.sh ----------------------------------- stdout ----------------------------------- clearing store... Hello World from /build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello/bin/hello Hello NixOS from /build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello/bin/hello Hello2 Hello2 Hello World from /build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello/bin/hello Salve Mundi from /build/nix-test/shell/store/bbzlkmcvgrysq04q023qjlm3j4bm473v-salve-mundi/bin/hello clearing store... Hello World from /build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello/bin/hello [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/shell +(init.sh:7) test -d /build/nix-test/shell +(init.sh:8) chmod -R u+w /build/nix-test/shell +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/shell +(init.sh:13) mkdir /build/nix-test/shell +(init.sh:15) mkdir /build/nix-test/shell/store +(init.sh:16) mkdir /build/nix-test/shell/var +(init.sh:17) mkdir -p /build/nix-test/shell/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/shell/var/nix +(init.sh:19) mkdir /build/nix-test/shell/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/shell/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(shell.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/shell/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/shell/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/shell/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/shell/test-home/.local/state/nix/profiles +(shell.sh:4) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/shell/binary-cache +(shell.sh:6) nix shell -f shell-hello.nix hello -c hello +(shell.sh:6) grep 'Hello World' warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/shell/store/kkvyd1czjy0xzbc4zqdkliqfss2qmrx5-hello.drv building '/build/nix-test/shell/store/kkvyd1czjy0xzbc4zqdkliqfss2qmrx5-hello.drv'... +(shell.sh:7) grep 'Hello NixOS' +(shell.sh:7) nix shell -f shell-hello.nix hello -c hello NixOS warning: you don't have Internet access; disabling some network-dependent features +(shell.sh:10) nix shell -f shell-hello.nix 'hello^dev' -c hello2 +(shell.sh:10) grep Hello2 warning: you don't have Internet access; disabling some network-dependent features +(shell.sh:11) nix shell -f shell-hello.nix 'hello^*' -c hello2 +(shell.sh:11) grep Hello2 warning: you don't have Internet access; disabling some network-dependent features +(shell.sh:14) isDaemonNewer 2.20.0pre20231220 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(shell.sh:17) nix shell -f shell-hello.nix hello salve-mundi -c hello +(shell.sh:17) grep 'Hello World' warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/shell/store/m19f2xp27dbr8cf63z7r6116z62qb31s-salve-mundi.drv building '/build/nix-test/shell/store/m19f2xp27dbr8cf63z7r6116z62qb31s-salve-mundi.drv'... +(shell.sh:18) nix shell -f shell-hello.nix salve-mundi hello -c hello +(shell.sh:18) grep 'Salve Mundi' warning: you don't have Internet access; disabling some network-dependent features +(shell.sh:21) requireSandboxSupport +(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox +(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] +(shell.sh:23) chmod -R u+w /build/nix-test/shell/store0 chmod: cannot access '/build/nix-test/shell/store0': No such file or directory +(shell.sh:23) true +(shell.sh:24) rm -rf /build/nix-test/shell/store0 +(shell.sh:26) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/shell/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/shell/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/shell/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/shell/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/shell/test-home/.local/state/nix/profiles ++(shell.sh:28) nix eval --raw -f shell-hello.nix hello warning: you don't have Internet access; disabling some network-dependent features +(shell.sh:28) path=/build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello +(shell.sh:32) nix shell --sandbox-build-dir /build-tmp --sandbox-paths '/nix? /bin? /lib? /lib64? /usr?' --store /build/nix-test/shell/store0 -f shell-hello.nix hello -c hello +(shell.sh:34) grep 'Hello World' warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/shell/store/kkvyd1czjy0xzbc4zqdkliqfss2qmrx5-hello.drv building '/build/nix-test/shell/store/kkvyd1czjy0xzbc4zqdkliqfss2qmrx5-hello.drv'... ++(shell.sh:36) nix shell --sandbox-paths '/nix? /bin? /lib? /lib64? /usr?' --store /build/nix-test/shell/store0 -f shell-hello.nix hello -c /nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash -c 'type -p hello' warning: you don't have Internet access; disabling some network-dependent features +(shell.sh:36) path2=/build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello/bin/hello +(shell.sh:38) [[ /build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello/bin/hello = /build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello/bin/hello ]] ++(shell.sh:40) basename /build/nix-test/shell/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello +(shell.sh:40) [[ -e /build/nix-test/shell/store0/nix/store/8pgw0jdjrb04wy92cbazz5pg87dkd06j-hello/bin/hello ]] ============================================================================== ================================== 117/161 =================================== test: lix:installcheck / functional-zstd start time: 20:57:56 duration: 0.26s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=39 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py zstd.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/zstd +(init.sh:7) test -d /build/nix-test/zstd +(init.sh:8) chmod -R u+w /build/nix-test/zstd +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/zstd +(init.sh:13) mkdir /build/nix-test/zstd +(init.sh:15) mkdir /build/nix-test/zstd/store +(init.sh:16) mkdir /build/nix-test/zstd/var +(init.sh:17) mkdir -p /build/nix-test/zstd/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/zstd/var/nix +(init.sh:19) mkdir /build/nix-test/zstd/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/zstd/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(zstd.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/zstd/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/zstd/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/zstd/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/zstd/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/zstd/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/zstd/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/zstd/test-home/.local/state/nix/profiles +(zstd.sh:4) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/zstd/binary-cache +(zstd.sh:6) cacheURI='file:///build/nix-test/zstd/binary-cache?compression=zstd' ++(zstd.sh:8) nix-build dependencies.nix --no-out-link these 5 derivations will be built: /build/nix-test/zstd/store/jd89scaxc31jf9frwhwbbwjsalkfhb2z-dependencies-input-0.drv /build/nix-test/zstd/store/6sl389wi094kfxgdx5wqr9jcrhm0491g-dependencies-input-2.drv /build/nix-test/zstd/store/cadq6liky57kyj9rbcp2h4sxl5gqhx2l-fod-input.drv /build/nix-test/zstd/store/cln8d3h46z5z99m5qnyyky0859hxcpj8-dependencies-input-1.drv /build/nix-test/zstd/store/a0d2h3chc2338w6y0qhi0dzpqrkda05r-dependencies-top.drv building '/build/nix-test/zstd/store/jd89scaxc31jf9frwhwbbwjsalkfhb2z-dependencies-input-0.drv'... building '/build/nix-test/zstd/store/cln8d3h46z5z99m5qnyyky0859hxcpj8-dependencies-input-1.drv'... building '/build/nix-test/zstd/store/6sl389wi094kfxgdx5wqr9jcrhm0491g-dependencies-input-2.drv'... building '/build/nix-test/zstd/store/cadq6liky57kyj9rbcp2h4sxl5gqhx2l-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/zstd/store/9khfdr3aw2hgq01d4b1mhvisfg36v4kv-fod-input': Permission denied +(zstd.sh:8) outPath= ++(zstd.sh:8) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x zstd.sh: test failed at: main in zstd.sh:8 ============================================================================== ================================== 118/161 =================================== test: lix:installcheck / functional-compression-levels start time: 20:57:56 duration: 0.25s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=30 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py compression-levels.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/compression-levels +(init.sh:7) test -d /build/nix-test/compression-levels +(init.sh:8) chmod -R u+w /build/nix-test/compression-levels +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/compression-levels +(init.sh:13) mkdir /build/nix-test/compression-levels +(init.sh:15) mkdir /build/nix-test/compression-levels/store +(init.sh:16) mkdir /build/nix-test/compression-levels/var +(init.sh:17) mkdir -p /build/nix-test/compression-levels/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/compression-levels/var/nix +(init.sh:19) mkdir /build/nix-test/compression-levels/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/compression-levels/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(compression-levels.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/compression-levels/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/compression-levels/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/compression-levels/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/compression-levels/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/compression-levels/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/compression-levels/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/compression-levels/test-home/.local/state/nix/profiles +(compression-levels.sh:4) clearCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/compression-levels/binary-cache ++(compression-levels.sh:6) nix-build dependencies.nix --no-out-link these 5 derivations will be built: /build/nix-test/compression-levels/store/3b7a5wwxizw54d8dqf50y3ri7q9i7bsh-dependencies-input-0.drv /build/nix-test/compression-levels/store/4j5hqhyz9yavspmjbchqsr8y4kz4xsd1-fod-input.drv /build/nix-test/compression-levels/store/pbqycyid0y7zc4adfnnznn2x66ff6rlp-dependencies-input-1.drv /build/nix-test/compression-levels/store/ycxbalcgvfmb22hyf6icwb3wswzzd471-dependencies-input-2.drv /build/nix-test/compression-levels/store/pdnzg9p5yp0ih8biji1sgqkw2801n17a-dependencies-top.drv building '/build/nix-test/compression-levels/store/3b7a5wwxizw54d8dqf50y3ri7q9i7bsh-dependencies-input-0.drv'... building '/build/nix-test/compression-levels/store/pbqycyid0y7zc4adfnnznn2x66ff6rlp-dependencies-input-1.drv'... building '/build/nix-test/compression-levels/store/ycxbalcgvfmb22hyf6icwb3wswzzd471-dependencies-input-2.drv'... building '/build/nix-test/compression-levels/store/4j5hqhyz9yavspmjbchqsr8y4kz4xsd1-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/compression-levels/store/icjns65n9j2jhg1k649m40c0vdxkq5ra-fod-input': Permission denied +(compression-levels.sh:6) outPath= ++(compression-levels.sh:6) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x compression-levels.sh: test failed at: main in compression-levels.sh:6 ============================================================================== ================================== 119/161 =================================== test: lix:installcheck / functional-nix-copy-ssh start time: 20:57:56 duration: 0.25s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=96 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix-copy-ssh.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix-copy-ssh +(init.sh:7) test -d /build/nix-test/nix-copy-ssh +(init.sh:8) chmod -R u+w /build/nix-test/nix-copy-ssh +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix-copy-ssh +(init.sh:13) mkdir /build/nix-test/nix-copy-ssh +(init.sh:15) mkdir /build/nix-test/nix-copy-ssh/store +(init.sh:16) mkdir /build/nix-test/nix-copy-ssh/var +(init.sh:17) mkdir -p /build/nix-test/nix-copy-ssh/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix-copy-ssh/var/nix +(init.sh:19) mkdir /build/nix-test/nix-copy-ssh/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix-copy-ssh/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix-copy-ssh.sh:3) source nix-copy-ssh-common.sh ssh ++(nix-copy-ssh-common.sh:1) proto=ssh ++(nix-copy-ssh-common.sh:2) shift ++(nix-copy-ssh-common.sh:3) (( 0 == 0 )) ++(nix-copy-ssh-common.sh:5) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/nix-copy-ssh/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/nix-copy-ssh/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/nix-copy-ssh/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/nix-copy-ssh/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/nix-copy-ssh/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-copy-ssh/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-copy-ssh/test-home/.local/state/nix/profiles ++(nix-copy-ssh-common.sh:6) clearCache ++(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/nix-copy-ssh/binary-cache ++(nix-copy-ssh-common.sh:8) mkdir -p /build/nix-test/nix-copy-ssh/stores +++(nix-copy-ssh-common.sh:11) nix-build --no-out-link dependencies.nix these 5 derivations will be built: /build/nix-test/nix-copy-ssh/store/dgbcdbg12y4zx0m3caqaa7hvwf5mx844-dependencies-input-0.drv /build/nix-test/nix-copy-ssh/store/lzjjglfblk9bw24gjsq8mir6wf2jbqzs-dependencies-input-1.drv /build/nix-test/nix-copy-ssh/store/rarb2bknrriisr6ca97zdf0cikjkb1hk-fod-input.drv /build/nix-test/nix-copy-ssh/store/sggf94pddqmzddf6vzida5kgcn5cbzgm-dependencies-input-2.drv /build/nix-test/nix-copy-ssh/store/d9kc38ipda4hf20x9nj6a6mrg05778lk-dependencies-top.drv building '/build/nix-test/nix-copy-ssh/store/dgbcdbg12y4zx0m3caqaa7hvwf5mx844-dependencies-input-0.drv'... building '/build/nix-test/nix-copy-ssh/store/lzjjglfblk9bw24gjsq8mir6wf2jbqzs-dependencies-input-1.drv'... building '/build/nix-test/nix-copy-ssh/store/sggf94pddqmzddf6vzida5kgcn5cbzgm-dependencies-input-2.drv'... building '/build/nix-test/nix-copy-ssh/store/rarb2bknrriisr6ca97zdf0cikjkb1hk-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/nix-copy-ssh/store/awjrkqwqrrqbjqsr94c15m6qxn7sdx84-fod-input': Permission denied ++(nix-copy-ssh-common.sh:11) outPath= +++(nix-copy-ssh-common.sh:11) onError +++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x nix-copy-ssh.sh: test failed at: source in nix-copy-ssh-common.sh:11 main in nix-copy-ssh.sh:3 ============================================================================== ================================== 120/161 =================================== test: lix:installcheck / functional-nix-copy-ssh-ng start time: 20:57:56 duration: 0.25s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=208 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix-copy-ssh-ng.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix-copy-ssh-ng +(init.sh:7) test -d /build/nix-test/nix-copy-ssh-ng +(init.sh:8) chmod -R u+w /build/nix-test/nix-copy-ssh-ng +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix-copy-ssh-ng +(init.sh:13) mkdir /build/nix-test/nix-copy-ssh-ng +(init.sh:15) mkdir /build/nix-test/nix-copy-ssh-ng/store +(init.sh:16) mkdir /build/nix-test/nix-copy-ssh-ng/var +(init.sh:17) mkdir -p /build/nix-test/nix-copy-ssh-ng/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix-copy-ssh-ng/var/nix +(init.sh:19) mkdir /build/nix-test/nix-copy-ssh-ng/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix-copy-ssh-ng/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix-copy-ssh-ng.sh:3) source nix-copy-ssh-common.sh ssh-ng ++(nix-copy-ssh-common.sh:1) proto=ssh-ng ++(nix-copy-ssh-common.sh:2) shift ++(nix-copy-ssh-common.sh:3) (( 0 == 0 )) ++(nix-copy-ssh-common.sh:5) clearStore ++(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' ++(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/nix-copy-ssh-ng/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/nix-copy-ssh-ng/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/nix-copy-ssh-ng/store ++(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/nix-copy-ssh-ng/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/nix-copy-ssh-ng/var/nix ++(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-copy-ssh-ng/test-home/.local/state/nix/profiles ++(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-copy-ssh-ng/test-home/.local/state/nix/profiles ++(nix-copy-ssh-common.sh:6) clearCache ++(/build/source/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /build/nix-test/nix-copy-ssh-ng/binary-cache ++(nix-copy-ssh-common.sh:8) mkdir -p /build/nix-test/nix-copy-ssh-ng/stores +++(nix-copy-ssh-common.sh:11) nix-build --no-out-link dependencies.nix these 5 derivations will be built: /build/nix-test/nix-copy-ssh-ng/store/qd8dnsh6bx1np8kn4p2j5fdjr8zr2f6n-dependencies-input-0.drv /build/nix-test/nix-copy-ssh-ng/store/5pl9f8qga8cns2y4i6smj8v8kzxvi5v6-dependencies-input-2.drv /build/nix-test/nix-copy-ssh-ng/store/8pib7b73fjsigqi5s0nb7gv3iswc6cfp-fod-input.drv /build/nix-test/nix-copy-ssh-ng/store/pabz16pakw37gg520c992x1mnngqwv13-dependencies-input-1.drv /build/nix-test/nix-copy-ssh-ng/store/8dq0asgh97v92wc4ss60g4b0gdq7v21s-dependencies-top.drv building '/build/nix-test/nix-copy-ssh-ng/store/qd8dnsh6bx1np8kn4p2j5fdjr8zr2f6n-dependencies-input-0.drv'... building '/build/nix-test/nix-copy-ssh-ng/store/pabz16pakw37gg520c992x1mnngqwv13-dependencies-input-1.drv'... building '/build/nix-test/nix-copy-ssh-ng/store/5pl9f8qga8cns2y4i6smj8v8kzxvi5v6-dependencies-input-2.drv'... building '/build/nix-test/nix-copy-ssh-ng/store/8pib7b73fjsigqi5s0nb7gv3iswc6cfp-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/nix-copy-ssh-ng/store/jzib52zr9s6jmxpxmq30j3b2whnkh9h1-fod-input': Permission denied ++(nix-copy-ssh-common.sh:11) outPath= +++(nix-copy-ssh-common.sh:11) onError +++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x nix-copy-ssh-ng.sh: test failed at: source in nix-copy-ssh-common.sh:11 main in nix-copy-ssh-ng.sh:3 ============================================================================== ================================== 121/161 =================================== test: lix:installcheck / functional-function-trace start time: 20:57:56 duration: 0.29s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=132 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py function-trace.sh ----------------------------------- stdout ----------------------------------- Tracing expression 'builtins.tryEval (throw "example")' ok. Tracing expression '({ x }: x) { }' ok. Tracing expression '({ x }: x) { x = "x"; y = "y"; }' ok. Tracing expression '(x: y: x + y) 1' ok. Tracing expression '(x: x) 1 2' ok. Tracing expression '1 2' ok. [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/function-trace +(init.sh:7) test -d /build/nix-test/function-trace +(init.sh:8) chmod -R u+w /build/nix-test/function-trace +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/function-trace +(init.sh:13) mkdir /build/nix-test/function-trace +(init.sh:15) mkdir /build/nix-test/function-trace/store +(init.sh:16) mkdir /build/nix-test/function-trace/var +(init.sh:17) mkdir -p /build/nix-test/function-trace/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/function-trace/var/nix +(init.sh:19) mkdir /build/nix-test/function-trace/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/function-trace/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(function-trace.sh:5) set +x ============================================================================== ================================== 122/161 =================================== test: lix:installcheck / functional-post-hook start time: 20:57:56 duration: 0.51s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=151 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py post-hook.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/post-hook +(init.sh:7) test -d /build/nix-test/post-hook +(init.sh:8) chmod -R u+w /build/nix-test/post-hook +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/post-hook +(init.sh:13) mkdir /build/nix-test/post-hook +(init.sh:15) mkdir /build/nix-test/post-hook/store +(init.sh:16) mkdir /build/nix-test/post-hook/var +(init.sh:17) mkdir -p /build/nix-test/post-hook/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/post-hook/var/nix +(init.sh:19) mkdir /build/nix-test/post-hook/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/post-hook/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(post-hook.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/post-hook/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/post-hook/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/post-hook/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/post-hook/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/post-hook/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/post-hook/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/post-hook/test-home/.local/state/nix/profiles +(post-hook.sh:5) rm -f /build/nix-test/post-hook/result +(post-hook.sh:7) export REMOTE_STORE=file:/build/nix-test/post-hook/remote_store +(post-hook.sh:7) REMOTE_STORE=file:/build/nix-test/post-hook/remote_store +(post-hook.sh:8) echo 'require-sigs = false' +(post-hook.sh:10) restartDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(post-hook.sh:12) isDaemonNewer 2.13 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(post-hook.sh:13) pushToStore=/build/source/build/tests/functional/push-to-store.sh +(post-hook.sh:19) nix-build -o /build/nix-test/post-hook/result dependencies.nix --post-build-hook /build/source/build/tests/functional/push-to-store.sh these 5 derivations will be built: /build/nix-test/post-hook/store/zkhxsmzvydhk5j9xqvrvl0md8j4mml41-dependencies-input-0.drv /build/nix-test/post-hook/store/7jb546ghl4yzn0x282aisdrhzyzph0ls-dependencies-input-2.drv /build/nix-test/post-hook/store/dimm6fsj8a7619vrvgvr7gwzzpdzcjxw-dependencies-input-1.drv /build/nix-test/post-hook/store/hr2y9w8b8lx65nqxvycbq32h2yzl56m5-fod-input.drv /build/nix-test/post-hook/store/797yqskvnvbrz80vkyb7wsz2yrsxb616-dependencies-top.drv building '/build/nix-test/post-hook/store/zkhxsmzvydhk5j9xqvrvl0md8j4mml41-dependencies-input-0.drv'... post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:4) set -e post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:6) '[' -n /build/nix-test/post-hook/store/280vd58q6ffjf7fkkwynn67alacp8xgj-dependencies-input-0 ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:7) '[' -n /build/nix-test/post-hook/store/zkhxsmzvydhk5j9xqvrvl0md8j4mml41-dependencies-input-0.drv ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:9) echo Pushing /build/nix-test/post-hook/store/280vd58q6ffjf7fkkwynn67alacp8xgj-dependencies-input-0 to file:/build/nix-test/post-hook/remote_store post-build-hook: Pushing /build/nix-test/post-hook/store/280vd58q6ffjf7fkkwynn67alacp8xgj-dependencies-input-0 to file:/build/nix-test/post-hook/remote_store post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:10) '[' -n '' ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) printf %s '/build/nix-test/post-hook/store/zkhxsmzvydhk5j9xqvrvl0md8j4mml41-dependencies-input-0.drv^*' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) xargs nix copy --to file:/build/nix-test/post-hook/remote_store --no-require-sigs post-build-hook: warning: you don't have Internet access; disabling some network-dependent features post-build-hook: copying 1 paths... post-build-hook: copying path '/build/nix-test/post-hook/store/280vd58q6ffjf7fkkwynn67alacp8xgj-dependencies-input-0' to 'file:///build/nix-test/post-hook/remote_store'... building '/build/nix-test/post-hook/store/dimm6fsj8a7619vrvgvr7gwzzpdzcjxw-dependencies-input-1.drv'... post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:4) set -e post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:6) '[' -n /build/nix-test/post-hook/store/vbcy6fpq6cf7ihrfnvqpmgd4rxkh8474-dependencies-input-1 ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:7) '[' -n /build/nix-test/post-hook/store/dimm6fsj8a7619vrvgvr7gwzzpdzcjxw-dependencies-input-1.drv ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:9) echo Pushing /build/nix-test/post-hook/store/vbcy6fpq6cf7ihrfnvqpmgd4rxkh8474-dependencies-input-1 to file:/build/nix-test/post-hook/remote_store post-build-hook: Pushing /build/nix-test/post-hook/store/vbcy6fpq6cf7ihrfnvqpmgd4rxkh8474-dependencies-input-1 to file:/build/nix-test/post-hook/remote_store post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:10) '[' -n '' ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) printf %s '/build/nix-test/post-hook/store/dimm6fsj8a7619vrvgvr7gwzzpdzcjxw-dependencies-input-1.drv^*' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) xargs nix copy --to file:/build/nix-test/post-hook/remote_store --no-require-sigs post-build-hook: warning: you don't have Internet access; disabling some network-dependent features post-build-hook: copying 1 paths... post-build-hook: copying path '/build/nix-test/post-hook/store/vbcy6fpq6cf7ihrfnvqpmgd4rxkh8474-dependencies-input-1' to 'file:///build/nix-test/post-hook/remote_store'... building '/build/nix-test/post-hook/store/7jb546ghl4yzn0x282aisdrhzyzph0ls-dependencies-input-2.drv'... post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:4) set -e post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:6) '[' -n /build/nix-test/post-hook/store/mscy4cds8b39sp2l7yhmgjra7kzhd049-dependencies-input-2 ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:7) '[' -n /build/nix-test/post-hook/store/7jb546ghl4yzn0x282aisdrhzyzph0ls-dependencies-input-2.drv ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:9) echo Pushing /build/nix-test/post-hook/store/mscy4cds8b39sp2l7yhmgjra7kzhd049-dependencies-input-2 to file:/build/nix-test/post-hook/remote_store post-build-hook: Pushing /build/nix-test/post-hook/store/mscy4cds8b39sp2l7yhmgjra7kzhd049-dependencies-input-2 to file:/build/nix-test/post-hook/remote_store post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:10) '[' -n '' ']' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) printf %s '/build/nix-test/post-hook/store/7jb546ghl4yzn0x282aisdrhzyzph0ls-dependencies-input-2.drv^*' post-build-hook: +(/build/source/build/tests/functional/push-to-store.sh:13) xargs nix copy --to file:/build/nix-test/post-hook/remote_store --no-require-sigs post-build-hook: warning: you don't have Internet access; disabling some network-dependent features post-build-hook: copying 1 paths... post-build-hook: copying path '/build/nix-test/post-hook/store/mscy4cds8b39sp2l7yhmgjra7kzhd049-dependencies-input-2' to 'file:///build/nix-test/post-hook/remote_store'... building '/build/nix-test/post-hook/store/hr2y9w8b8lx65nqxvycbq32h2yzl56m5-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/post-hook/store/bykxx8wc5v3ib61s1a3mxi4gmwrqra9w-fod-input': Permission denied ++(post-hook.sh:19) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x post-hook.sh: test failed at: main in post-hook.sh:19 ============================================================================== ================================== 123/161 =================================== test: lix:installcheck / functional-flakes-config start time: 20:57:56 duration: 0.55s result: exit status 0 command: MALLOC_PERTURB_=203 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/config.sh ----------------------------------- stdout ----------------------------------- clearing store... clearing store... clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/config +(init.sh:7) test -d /build/nix-test/flakes/config +(init.sh:8) chmod -R u+w /build/nix-test/flakes/config +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/config +(init.sh:13) mkdir /build/nix-test/flakes/config +(init.sh:15) mkdir /build/nix-test/flakes/config/store +(init.sh:16) mkdir /build/nix-test/flakes/config/var +(init.sh:17) mkdir -p /build/nix-test/flakes/config/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/config/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/config/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/config/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(common.sh:3) registry=/build/nix-test/flakes/config/registry.json +(config.sh:3) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/config/test-home +(config.sh:5) cd /build/nix-test/flakes/config/test-home +(config.sh:7) rm -f post-hook-ran +(config.sh:8) cat +(config.sh:13) chmod +x echoing-post-hook.sh +(config.sh:15) cat +(config.sh:27) nix build warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/config/test-home' warning: you can set 'accept-flake-config' to 'false' to automatically reject configuration options supplied by flakes warning: ignoring untrusted flake configuration setting 'allow-dirty', pass '--accept-flake-config' to trust it (may allow the flake to gain root, see the nix.conf manual page) warning: you can set 'accept-flake-config' to 'false' to automatically reject configuration options supplied by flakes warning: ignoring untrusted flake configuration setting 'post-build-hook', pass '--accept-flake-config' to trust it (may allow the flake to gain root, see the nix.conf manual page) this derivation will be built: /build/nix-test/flakes/config/store/f5wwkj617hcb117dvll7vvyqc4h667z8-simple.drv building '/build/nix-test/flakes/config/store/f5wwkj617hcb117dvll7vvyqc4h667z8-simple.drv'... +(config.sh:28) [[ -f post-hook-ran ]] +(config.sh:29) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/config/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/config/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/config/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/config/test-home/.local/state/nix/profiles +(config.sh:32) nix build --no-accept-flake-config warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/config/test-home' warning: ignoring untrusted flake configuration setting 'allow-dirty', pass '--accept-flake-config' to trust it (may allow the flake to gain root, see the nix.conf manual page) warning: ignoring untrusted flake configuration setting 'post-build-hook', pass '--accept-flake-config' to trust it (may allow the flake to gain root, see the nix.conf manual page) this derivation will be built: /build/nix-test/flakes/config/store/f5wwkj617hcb117dvll7vvyqc4h667z8-simple.drv building '/build/nix-test/flakes/config/store/f5wwkj617hcb117dvll7vvyqc4h667z8-simple.drv'... +(config.sh:33) [[ -f post-hook-ran ]] +(config.sh:34) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/config/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/config/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/config/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/config/test-home/.local/state/nix/profiles +(config.sh:36) nix build --accept-flake-config warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/config/test-home' this derivation will be built: /build/nix-test/flakes/config/store/f5wwkj617hcb117dvll7vvyqc4h667z8-simple.drv building '/build/nix-test/flakes/config/store/f5wwkj617hcb117dvll7vvyqc4h667z8-simple.drv'... +(config.sh:37) test -f post-hook-ran +(config.sh:42) mv post-hook-ran previous-post-hook-run +(config.sh:43) echo '# Dummy comment' +(config.sh:44) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/flakes/config/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/flakes/config/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/flakes/config/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/flakes/config/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/flakes/config/test-home/.local/state/nix/profiles +(config.sh:45) nix build --accept-flake-config warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/config/test-home' this derivation will be built: /build/nix-test/flakes/config/store/f5wwkj617hcb117dvll7vvyqc4h667z8-simple.drv building '/build/nix-test/flakes/config/store/f5wwkj617hcb117dvll7vvyqc4h667z8-simple.drv'... +(config.sh:46) diff -q post-hook-ran previous-post-hook-run ============================================================================== ================================== 124/161 =================================== test: lix:installcheck / functional-fmt start time: 20:57:57 duration: 0.36s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=163 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fmt.sh ----------------------------------- stdout ----------------------------------- clearing store... · Format the current flake: $ nix fmt · Format a specific folder or file: $ nix fmt ./folder · Format specific files: $ nix fmt ./file1.nix · Format the current flake: $ nix fmt · Format a specific folder or file: $ nix fmt ./folder Formatting: ./file ./folder └───x86_64-linux: package 'formatter' clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fmt +(init.sh:7) test -d /build/nix-test/fmt +(init.sh:8) chmod -R u+w /build/nix-test/fmt +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fmt +(init.sh:13) mkdir /build/nix-test/fmt +(init.sh:15) mkdir /build/nix-test/fmt/store +(init.sh:16) mkdir /build/nix-test/fmt/var +(init.sh:17) mkdir -p /build/nix-test/fmt/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fmt/var/nix +(init.sh:19) mkdir /build/nix-test/fmt/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fmt/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fmt.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fmt/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fmt/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fmt/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fmt/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fmt/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fmt/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fmt/test-home/.local/state/nix/profiles +(fmt.sh:4) rm -rf /build/nix-test/fmt/test-home/.cache /build/nix-test/fmt/test-home/.config /build/nix-test/fmt/test-home/.local +(fmt.sh:6) cp ./simple.nix ./simple.builder.sh ./fmt.simple.sh ./config.nix /build/nix-test/fmt/test-home +(fmt.sh:8) cd /build/nix-test/fmt/test-home +(fmt.sh:10) nix fmt --help +(fmt.sh:10) grep Format +(fmt.sh:12) cat +(fmt.sh:29) nix fmt ./file ./folder +(fmt.sh:29) grep 'Formatting: ./file ./folder' warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/fmt/test-home' this derivation will be built: /build/nix-test/fmt/store/lhbx5jcai5qlxmihz3rjf2g24rfqlmk0-formatter.drv building '/build/nix-test/fmt/store/lhbx5jcai5qlxmihz3rjf2g24rfqlmk0-formatter.drv'... +(fmt.sh:30) nix flake check warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/fmt/test-home' evaluating flake... checking flake output 'formatter'... +(fmt.sh:31) nix flake show +(fmt.sh:31) grep -P 'package '\''formatter'\''' warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/fmt/test-home' evaluating ''... evaluating 'formatter'... evaluating 'formatter.x86_64-linux'... +(fmt.sh:33) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fmt/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fmt/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fmt/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fmt/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fmt/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fmt/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fmt/test-home/.local/state/nix/profiles ============================================================================== ================================== 125/161 =================================== test: lix:installcheck / functional-eval-store start time: 20:57:57 duration: 0.29s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=119 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py eval-store.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/eval-store +(init.sh:7) test -d /build/nix-test/eval-store +(init.sh:8) chmod -R u+w /build/nix-test/eval-store +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/eval-store +(init.sh:13) mkdir /build/nix-test/eval-store +(init.sh:15) mkdir /build/nix-test/eval-store/store +(init.sh:16) mkdir /build/nix-test/eval-store/var +(init.sh:17) mkdir -p /build/nix-test/eval-store/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/eval-store/var/nix +(init.sh:19) mkdir /build/nix-test/eval-store/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/eval-store/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(eval-store.sh:5) needLocalStore '“--eval-store” doesn'\''t achieve much with the daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(eval-store.sh:7) eval_store=/build/nix-test/eval-store/eval-store +(eval-store.sh:9) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/eval-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/eval-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/eval-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/eval-store/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/eval-store/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/eval-store/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/eval-store/test-home/.local/state/nix/profiles +(eval-store.sh:10) rm -rf /build/nix-test/eval-store/eval-store +(eval-store.sh:12) nix build -f dependencies.nix --eval-store /build/nix-test/eval-store/eval-store -o /build/nix-test/eval-store/result warning: you don't have Internet access; disabling some network-dependent features don't know how to build these paths: /build/nix-test/eval-store/store/bd40k6bba50jlfnzjw8m5wzi44qyrd2n-dependencies-top.drv copying 1 paths... copying path '/build/nix-test/eval-store/store/qx42vc0cb0r8jpxjhygvd0xfrsdlj880-dependencies.builder0.sh' to 'local'... copying 1 paths... copying path '/build/nix-test/eval-store/store/963vlx2cddd7ps2lj4pd9rnm4sc89kgf-builder-dependencies-input-0.sh' to 'local'... copying 1 paths... copying path '/build/nix-test/eval-store/store/f8cafm8difp78ypgrh7hg2myymffiib1-builder-dependencies-input-1.sh' to 'local'... copying 1 paths... copying path '/build/nix-test/eval-store/store/6dvc2zazg6fhhm9mv9cqsffzwgs41wmv-builder-dependencies-input-2.sh' to 'local'... copying 1 paths... copying path '/build/nix-test/eval-store/store/smqap1vdz91wnh0lan1r6k2nl5qxjvg7-builder-fod-input.sh' to 'local'... building '/build/nix-test/eval-store/store/a6ja6cqm6cvqpbhyrdi5vbyhhxy12sbj-dependencies-input-0.drv'... building '/build/nix-test/eval-store/store/djn02jlmww1imiqjxs27s8ir80in5arc-dependencies-input-1.drv'... building '/build/nix-test/eval-store/store/3vbc94m0n389qiara99bvvz6ig0if4sj-dependencies-input-2.drv'... building '/build/nix-test/eval-store/store/xmyqy7r1yyqwkg3rbmybqrmn2pxc3d9y-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/eval-store/store/ajqwfmf9pfaizq14nl7rpcfdjq883i1v-fod-input': Permission denied ++(eval-store.sh:12) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x eval-store.sh: test failed at: main in eval-store.sh:12 ============================================================================== ================================== 126/161 =================================== test: lix:installcheck / functional-build-remote-trustless-should-pass-0 start time: 20:57:51 duration: 5.71s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=43 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-remote-trustless-should-pass-0.sh ----------------------------------- stdout ----------------------------------- /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote FOO BAR BAZ [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-remote-trustless-should-pass-0 +(init.sh:7) test -d /build/nix-test/build-remote-trustless-should-pass-0 +(init.sh:8) chmod -R u+w /build/nix-test/build-remote-trustless-should-pass-0 +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-remote-trustless-should-pass-0 +(init.sh:13) mkdir /build/nix-test/build-remote-trustless-should-pass-0 +(init.sh:15) mkdir /build/nix-test/build-remote-trustless-should-pass-0/store +(init.sh:16) mkdir /build/nix-test/build-remote-trustless-should-pass-0/var +(init.sh:17) mkdir -p /build/nix-test/build-remote-trustless-should-pass-0/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-remote-trustless-should-pass-0/var/nix +(init.sh:19) mkdir /build/nix-test/build-remote-trustless-should-pass-0/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-remote-trustless-should-pass-0/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-trustless-should-pass-0.sh:4) file=build-hook.nix +(build-remote-trustless-should-pass-0.sh:5) prog=nix-store +(build-remote-trustless-should-pass-0.sh:6) proto=ssh +(build-remote-trustless-should-pass-0.sh:8) source build-remote-trustless.sh ++(build-remote-trustless.sh:1) requireSandboxSupport ++(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox ++(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] ++(build-remote-trustless.sh:2) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote-trustless.sh:4) unset NIX_STORE_DIR ++(build-remote-trustless.sh:5) unset NIX_STATE_DIR ++(build-remote-trustless.sh:7) remoteDir=/build/nix-test/build-remote-trustless-should-pass-0/remote ++(build-remote-trustless.sh:11) nix-build build-hook.nix -o /build/nix-test/build-remote-trustless-should-pass-0/result --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-trustless-should-pass-0/local --builders 'ssh://localhost?remote-program=nix-store&remote-store=/build/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz' these 4 derivations will be built: /nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv /nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv /nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv /nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv building '/nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv' on 'ssh://localhost?remote-program=nix-store&remote-store=/build/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz'... copying 2 paths... copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh://localhost'... hi-input1 copying 1 paths... copying path '/nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1' from 'ssh://localhost'... building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv' on 'ssh://localhost?remote-program=nix-store&remote-store=/build/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'ssh://localhost'... hi copying 1 paths... copying path '/nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' from 'ssh://localhost'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv' on 'ssh://localhost?remote-program=nix-store&remote-store=/build/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh' to 'ssh://localhost'... hi-input3 copying 1 paths... copying path '/nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3' from 'ssh://localhost'... building '/nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv' on 'ssh://localhost?remote-program=nix-store&remote-store=/build/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' to 'ssh://localhost'... copying 1 paths... copying path '/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote' from 'ssh://localhost'... +(build-remote-trustless-should-pass-0.sh:9) source build-remote-trustless-after.sh +++(build-remote-trustless-after.sh:1) readlink -f /build/nix-test/build-remote-trustless-should-pass-0/result ++(build-remote-trustless-after.sh:1) outPath=/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++(build-remote-trustless-after.sh:2) grep 'FOO BAR BAZ' /build/nix-test/build-remote-trustless-should-pass-0/remote//nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ============================================================================== ================================== 127/161 =================================== test: lix:installcheck / functional-derivation-json start time: 20:57:57 duration: 0.27s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=108 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py derivation-json.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/derivation-json +(init.sh:7) test -d /build/nix-test/derivation-json +(init.sh:8) chmod -R u+w /build/nix-test/derivation-json +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/derivation-json +(init.sh:13) mkdir /build/nix-test/derivation-json +(init.sh:15) mkdir /build/nix-test/derivation-json/store +(init.sh:16) mkdir /build/nix-test/derivation-json/var +(init.sh:17) mkdir -p /build/nix-test/derivation-json/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/derivation-json/var/nix +(init.sh:19) mkdir /build/nix-test/derivation-json/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/derivation-json/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(derivation-json.sh:3) nix-instantiate simple.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(derivation-json.sh:3) drvPath=/build/nix-test/derivation-json/store/3r8d1yy3f39z02962rf5nc9nqbd5z46q-simple.drv +(derivation-json.sh:5) nix derivation show /build/nix-test/derivation-json/store/3r8d1yy3f39z02962rf5nc9nqbd5z46q-simple.drv +(derivation-json.sh:5) jq '.[]' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/derivation-json/store/3r8d1yy3f39z02962rf5nc9nqbd5z46q-simple.drv^*' ++(derivation-json.sh:7) nix derivation add warning: you don't have Internet access; disabling some network-dependent features +(derivation-json.sh:7) drvPath2=/build/nix-test/derivation-json/store/3r8d1yy3f39z02962rf5nc9nqbd5z46q-simple.drv +(derivation-json.sh:9) [[ /build/nix-test/derivation-json/store/3r8d1yy3f39z02962rf5nc9nqbd5z46q-simple.drv = \/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\d\e\r\i\v\a\t\i\o\n\-\j\s\o\n\/\s\t\o\r\e\/\3\r\8\d\1\y\y\3\f\3\9\z\0\2\9\6\2\r\f\5\n\c\9\n\q\b\d\5\z\4\6\q\-\s\i\m\p\l\e\.\d\r\v ]] +(derivation-json.sh:12) jq '.name = "foo"' +(derivation-json.sh:12) expectStderr 1 nix derivation add +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix derivation add +(derivation-json.sh:12) grepQuiet 'has incorrect output' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has incorrect output' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ============================================================================== ================================== 128/161 =================================== test: lix:installcheck / functional-build-remote-trustless-should-pass-1 start time: 20:57:52 duration: 5.76s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=105 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-remote-trustless-should-pass-1.sh ----------------------------------- stdout ----------------------------------- /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote FOO BAR BAZ [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-remote-trustless-should-pass-1 +(init.sh:7) test -d /build/nix-test/build-remote-trustless-should-pass-1 +(init.sh:8) chmod -R u+w /build/nix-test/build-remote-trustless-should-pass-1 +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-remote-trustless-should-pass-1 +(init.sh:13) mkdir /build/nix-test/build-remote-trustless-should-pass-1 +(init.sh:15) mkdir /build/nix-test/build-remote-trustless-should-pass-1/store +(init.sh:16) mkdir /build/nix-test/build-remote-trustless-should-pass-1/var +(init.sh:17) mkdir -p /build/nix-test/build-remote-trustless-should-pass-1/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-remote-trustless-should-pass-1/var/nix +(init.sh:19) mkdir /build/nix-test/build-remote-trustless-should-pass-1/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-remote-trustless-should-pass-1/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-trustless-should-pass-1.sh:4) file=build-hook.nix +(build-remote-trustless-should-pass-1.sh:5) prog=nix-daemon +(build-remote-trustless-should-pass-1.sh:6) proto=ssh-ng +(build-remote-trustless-should-pass-1.sh:8) source build-remote-trustless.sh ++(build-remote-trustless.sh:1) requireSandboxSupport ++(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox ++(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] ++(build-remote-trustless.sh:2) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote-trustless.sh:4) unset NIX_STORE_DIR ++(build-remote-trustless.sh:5) unset NIX_STATE_DIR ++(build-remote-trustless.sh:7) remoteDir=/build/nix-test/build-remote-trustless-should-pass-1/remote ++(build-remote-trustless.sh:11) nix-build build-hook.nix -o /build/nix-test/build-remote-trustless-should-pass-1/result --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-trustless-should-pass-1/local --builders 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/build/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz' these 4 derivations will be built: /nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv /nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv /nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv /nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv building '/nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/build/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz'... copying 2 paths... copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh-ng://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh-ng://localhost'... building '/nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv'... hi-input1 copying 1 paths... copying path '/nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1' from 'ssh-ng://localhost'... building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv' on 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/build/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'ssh-ng://localhost'... building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv'... hi copying 1 paths... copying path '/nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' from 'ssh-ng://localhost'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv' on 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/build/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh' to 'ssh-ng://localhost'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv'... hi-input3 copying 1 paths... copying path '/nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3' from 'ssh-ng://localhost'... building '/nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv' on 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/build/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' to 'ssh-ng://localhost'... building '/nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv'... copying 1 paths... copying path '/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote' from 'ssh-ng://localhost'... +(build-remote-trustless-should-pass-1.sh:9) source build-remote-trustless-after.sh +++(build-remote-trustless-after.sh:1) readlink -f /build/nix-test/build-remote-trustless-should-pass-1/result ++(build-remote-trustless-after.sh:1) outPath=/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++(build-remote-trustless-after.sh:2) grep 'FOO BAR BAZ' /build/nix-test/build-remote-trustless-should-pass-1/remote//nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ============================================================================== ================================== 129/161 =================================== test: lix:installcheck / functional-why-depends start time: 20:57:57 duration: 0.48s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=219 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py why-depends.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/why-depends/store/i4k422phan3yqncl3z16zcc5qxan7qln-dependencies-input-0 [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/why-depends +(init.sh:7) test -d /build/nix-test/why-depends +(init.sh:8) chmod -R u+w /build/nix-test/why-depends +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/why-depends +(init.sh:13) mkdir /build/nix-test/why-depends +(init.sh:15) mkdir /build/nix-test/why-depends/store +(init.sh:16) mkdir /build/nix-test/why-depends/var +(init.sh:17) mkdir -p /build/nix-test/why-depends/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/why-depends/var/nix +(init.sh:19) mkdir /build/nix-test/why-depends/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/why-depends/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(why-depends.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/why-depends/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/why-depends/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/why-depends/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/why-depends/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/why-depends/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/why-depends/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/why-depends/test-home/.local/state/nix/profiles +(why-depends.sh:5) cp ./dependencies.nix ./dependencies.builder0.sh ./config.nix /build/nix-test/why-depends/test-home +(why-depends.sh:7) cd /build/nix-test/why-depends/test-home +(why-depends.sh:9) nix why-depends --derivation --file ./dependencies.nix input2_drv input1_drv warning: you don't have Internet access; disabling some network-dependent features 'input2_drv' does not depend on 'input1_drv' +(why-depends.sh:10) nix why-depends --file ./dependencies.nix input2_drv input1_drv warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/why-depends/store/65kvwc9wzh18aqnq0hzj9d0a9ysgxcpw-dependencies-input-0.drv /build/nix-test/why-depends/store/nfgywc7h6j59fk5csaw061k3fy76xvcs-dependencies-input-2.drv building '/build/nix-test/why-depends/store/65kvwc9wzh18aqnq0hzj9d0a9ysgxcpw-dependencies-input-0.drv'... building '/build/nix-test/why-depends/store/nfgywc7h6j59fk5csaw061k3fy76xvcs-dependencies-input-2.drv'... this derivation will be built: /build/nix-test/why-depends/store/y990zkcvhq7yj80l5b3bbv06py9aasbk-dependencies-input-1.drv 'input2_drv' does not depend on 'input1_drv' +(why-depends.sh:12) nix-build ./dependencies.nix -A input0_drv -o dep +(why-depends.sh:13) nix-build ./dependencies.nix -o toplevel these 3 derivations will be built: /build/nix-test/why-depends/store/k3mby5jb8py3fl85bhlcw2jw5jm2lkwj-fod-input.drv /build/nix-test/why-depends/store/y990zkcvhq7yj80l5b3bbv06py9aasbk-dependencies-input-1.drv /build/nix-test/why-depends/store/q5kicvh6bhy4ckiccf5qzamn5zgz2dli-dependencies-top.drv building '/build/nix-test/why-depends/store/y990zkcvhq7yj80l5b3bbv06py9aasbk-dependencies-input-1.drv'... building '/build/nix-test/why-depends/store/k3mby5jb8py3fl85bhlcw2jw5jm2lkwj-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/why-depends/store/6w397h857hq6w45196iybqdg9wlbz951-fod-input': Permission denied ++(why-depends.sh:13) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x why-depends.sh: test failed at: main in why-depends.sh:13 ============================================================================== ================================== 130/161 =================================== test: lix:installcheck / functional-import-derivation start time: 20:57:57 duration: 0.36s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=92 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py import-derivation.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/import-derivation +(init.sh:7) test -d /build/nix-test/import-derivation +(init.sh:8) chmod -R u+w /build/nix-test/import-derivation +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/import-derivation +(init.sh:13) mkdir /build/nix-test/import-derivation +(init.sh:15) mkdir /build/nix-test/import-derivation/store +(init.sh:16) mkdir /build/nix-test/import-derivation/var +(init.sh:17) mkdir -p /build/nix-test/import-derivation/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/import-derivation/var/nix +(init.sh:19) mkdir /build/nix-test/import-derivation/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/import-derivation/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(import-derivation.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/import-derivation/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/import-derivation/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/import-derivation/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/import-derivation/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/import-derivation/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/import-derivation/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/import-derivation/test-home/.local/state/nix/profiles +(import-derivation.sh:5) nix-instantiate --readonly-mode ./import-derivation.nix error: … while evaluating 'strict' to select 'drvPath' on it at /builtin/derivation.nix:1:552: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:1:208: … while evaluating derivation 'foo' whose name attribute is located at /build/source/build/tests/functional/import-derivation.nix:21:3 … while evaluating attribute 'args' of derivation 'foo' at /build/source/build/tests/functional/config.nix:23:7: 22| builder = shell; 23| args = ["-e" args.builder or (builtins.toFile "builder-${args.name}.sh" '' | ^ 24| if [ -e "$NIX_ATTRS_SH_FILE" ]; then source $NIX_ATTRS_SH_FILE; fi; … while evaluating the attribute 'builder' at /build/source/build/tests/functional/import-derivation.nix:22:3: 21| name = "foo"; 22| builder = builtins.toFile "builder.sh" | ^ 23| '' … while calling the 'toFile' builtin at /build/source/build/tests/functional/import-derivation.nix:22:13: 21| name = "foo"; 22| builder = builtins.toFile "builder.sh" | ^ 23| '' … while evaluating the second argument passed to builtins.toFile … while calling the 'toString' builtin at /build/source/build/tests/functional/import-derivation.nix:24:20: 23| '' 24| echo -n FOO${toString value} > $out | ^ 25| ''; … in the condition of the assert statement at /build/source/build/tests/functional/import-derivation.nix:15:5: 14| # Test that pathExists can check the existence of /nix/store paths 15| assert builtins.pathExists bar; | ^ 16| import bar; … while calling the 'pathExists' builtin at /build/source/build/tests/functional/import-derivation.nix:15:12: 14| # Test that pathExists can check the existence of /nix/store paths 15| assert builtins.pathExists bar; | ^ 16| import bar; … while realising the context of path '/build/nix-test/import-derivation/store/bj0nmmxzh0vc798icp7534bms6mpwkn1-bar' error: path '/build/nix-test/import-derivation/store/x4bknmv71c8b20wcvfzf1r8zcm2kq26m-bar.drv' did not exist in the store during evaluation ++(import-derivation.sh:10) nix-build ./import-derivation.nix --no-out-link building '/build/nix-test/import-derivation/store/x4bknmv71c8b20wcvfzf1r8zcm2kq26m-bar.drv'... this derivation will be built: /build/nix-test/import-derivation/store/fkj2wgqm3fj9k8ryj35prga85hjx66s2-foo.drv building '/build/nix-test/import-derivation/store/fkj2wgqm3fj9k8ryj35prga85hjx66s2-foo.drv'... +(import-derivation.sh:10) outPath=/build/nix-test/import-derivation/store/7jsbidrhc2jr0inlf7r5kgi8ps4lg1p3-foo ++(import-derivation.sh:12) cat /build/nix-test/import-derivation/store/7jsbidrhc2jr0inlf7r5kgi8ps4lg1p3-foo +(import-derivation.sh:12) '[' FOO579 = FOO579 ']' ============================================================================== ================================== 131/161 =================================== test: lix:installcheck / functional-build-remote-trustless-should-fail-0 start time: 20:57:52 duration: 5.55s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=156 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-remote-trustless-should-fail-0.sh ----------------------------------- stdout ----------------------------------- /nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-remote-trustless-should-fail-0 +(init.sh:7) test -d /build/nix-test/build-remote-trustless-should-fail-0 +(init.sh:8) chmod -R u+w /build/nix-test/build-remote-trustless-should-fail-0 +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-remote-trustless-should-fail-0 +(init.sh:13) mkdir /build/nix-test/build-remote-trustless-should-fail-0 +(init.sh:15) mkdir /build/nix-test/build-remote-trustless-should-fail-0/store +(init.sh:16) mkdir /build/nix-test/build-remote-trustless-should-fail-0/var +(init.sh:17) mkdir -p /build/nix-test/build-remote-trustless-should-fail-0/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-remote-trustless-should-fail-0/var/nix +(init.sh:19) mkdir /build/nix-test/build-remote-trustless-should-fail-0/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-remote-trustless-should-fail-0/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-trustless-should-fail-0.sh:3) enableFeatures daemon-trust-override +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=daemon-trust-override +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& daemon-trust-override/' /build/nix-test/build-remote-trustless-should-fail-0/etc/nix.conf +(build-remote-trustless-should-fail-0.sh:5) restartDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(build-remote-trustless-should-fail-0.sh:7) requireSandboxSupport +(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox +(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] +(build-remote-trustless-should-fail-0.sh:8) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] +(build-remote-trustless-should-fail-0.sh:10) unset NIX_STORE_DIR +(build-remote-trustless-should-fail-0.sh:11) unset NIX_STATE_DIR +(build-remote-trustless-should-fail-0.sh:15) nix-build build-hook.nix -A passthru.input2 -o /build/nix-test/build-remote-trustless-should-fail-0/input2 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-trustless-should-fail-0/local --option system-features bar this derivation will be built: /nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv'... hi +(build-remote-trustless-should-fail-0.sh:25) file=build-hook.nix ++(build-remote-trustless-should-fail-0.sh:26) readlink -e ./nix-daemon-untrusting.sh +(build-remote-trustless-should-fail-0.sh:26) prog=/build/source/build/tests/functional/nix-daemon-untrusting.sh +(build-remote-trustless-should-fail-0.sh:27) proto=ssh-ng +(build-remote-trustless-should-fail-0.sh:29) expectStderr 1 source build-remote-trustless.sh +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) source build-remote-trustless.sh +(build-remote-trustless-should-fail-0.sh:30) grepQuiet 'cannot add path '\''[^ ]*'\'' because it lacks a signature by a trusted key' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'cannot add path '\''[^ ]*'\'' because it lacks a signature by a trusted key' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ============================================================================== ================================== 132/161 =================================== test: lix:installcheck / functional-nix_path start time: 20:57:57 duration: 0.31s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=63 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix_path.sh ----------------------------------- stdout ----------------------------------- /build/source/build/tests/functional/simple.nix /build/source/build/tests/functional/simple.nix [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix_path +(init.sh:7) test -d /build/nix-test/nix_path +(init.sh:8) chmod -R u+w /build/nix-test/nix_path +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix_path +(init.sh:13) mkdir /build/nix-test/nix_path +(init.sh:15) mkdir /build/nix-test/nix_path/store +(init.sh:16) mkdir /build/nix-test/nix_path/var +(init.sh:17) mkdir -p /build/nix-test/nix_path/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix_path/var/nix +(init.sh:19) mkdir /build/nix-test/nix_path/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix_path/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix_path.sh:5) export NIX_PATH=non-existent=/non-existent/but-unused-anyways:by-absolute-path=/build/source/build/tests/functional:by-relative-path=. +(nix_path.sh:5) NIX_PATH=non-existent=/non-existent/but-unused-anyways:by-absolute-path=/build/source/build/tests/functional:by-relative-path=. +(nix_path.sh:7) nix-instantiate --eval -E '' --restrict-eval warning: Nix search path entry '/non-existent/but-unused-anyways' does not exist, ignoring +(nix_path.sh:8) nix-instantiate --eval -E '' --restrict-eval warning: Nix search path entry '/non-existent/but-unused-anyways' does not exist, ignoring ++(nix_path.sh:13) nix-instantiate --find-file by-absolute-path/simple.nix +(nix_path.sh:13) [[ /build/source/build/tests/functional/simple.nix = /build/source/build/tests/functional/simple.nix ]] ++(nix_path.sh:14) nix-instantiate --find-file by-relative-path/simple.nix +(nix_path.sh:14) [[ /build/source/build/tests/functional/simple.nix = /build/source/build/tests/functional/simple.nix ]] ============================================================================== ================================== 133/161 =================================== test: lix:installcheck / functional-case-hack start time: 20:57:57 duration: 0.35s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py case-hack.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/case-hack +(init.sh:7) test -d /build/nix-test/case-hack +(init.sh:8) chmod -R u+w /build/nix-test/case-hack +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/case-hack +(init.sh:13) mkdir /build/nix-test/case-hack +(init.sh:15) mkdir /build/nix-test/case-hack/store +(init.sh:16) mkdir /build/nix-test/case-hack/var +(init.sh:17) mkdir -p /build/nix-test/case-hack/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/case-hack/var/nix +(init.sh:19) mkdir /build/nix-test/case-hack/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/case-hack/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(case-hack.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/case-hack/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/case-hack/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/case-hack/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/case-hack/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/case-hack/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/case-hack/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/case-hack/test-home/.local/state/nix/profiles +(case-hack.sh:5) rm -rf /build/nix-test/case-hack/case +(case-hack.sh:7) opts='--option use-case-hack true' +(case-hack.sh:11) nix-store --option use-case-hack true --restore /build/nix-test/case-hack/case +(case-hack.sh:12) nix-store --option use-case-hack true --dump /build/nix-test/case-hack/case +(case-hack.sh:13) cmp case.nar /build/nix-test/case-hack/case.nar ++(case-hack.sh:14) nix-hash --option use-case-hack true --type sha256 /build/nix-test/case-hack/case ++(case-hack.sh:14) nix-hash --flat --type sha256 case.nar +(case-hack.sh:14) '[' ccd0c2353fbb6ff6853088e01f0557e8b9cbc9d11d2e1f8435175dc08091c2a3 = ccd0c2353fbb6ff6853088e01f0557e8b9cbc9d11d2e1f8435175dc08091c2a3 ']' +(case-hack.sh:18) touch /build/nix-test/case-hack/case/xt_CONNMARK.h~nix~case~hack~3 +(case-hack.sh:19) nix-store --option use-case-hack true --dump /build/nix-test/case-hack/case error: file name collision in between '/build/nix-test/case-hack/case/xt_CONNMARK.h' and '/build/nix-test/case-hack/case/xt_CONNMARK.h~nix~case~hack~3' ============================================================================== ================================== 134/161 =================================== test: lix:installcheck / functional-placeholders start time: 20:57:57 duration: 0.31s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=31 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py placeholders.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/placeholders/store/rcf4g4zzfb8v8srlzdpxf35myyixiqvn-placeholders [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/placeholders +(init.sh:7) test -d /build/nix-test/placeholders +(init.sh:8) chmod -R u+w /build/nix-test/placeholders +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/placeholders +(init.sh:13) mkdir /build/nix-test/placeholders +(init.sh:15) mkdir /build/nix-test/placeholders/store +(init.sh:16) mkdir /build/nix-test/placeholders/var +(init.sh:17) mkdir -p /build/nix-test/placeholders/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/placeholders/var/nix +(init.sh:19) mkdir /build/nix-test/placeholders/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/placeholders/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(placeholders.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/placeholders/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/placeholders/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/placeholders/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/placeholders/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/placeholders/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/placeholders/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/placeholders/test-home/.local/state/nix/profiles +(placeholders.sh:5) nix-build --no-out-link -E ' with import ./config.nix; mkDerivation { name = "placeholders"; outputs = [ "out" "bin" "dev" ]; buildCommand = " echo foo1 > $out echo foo2 > $bin echo foo3 > $dev [[ $(cat ${placeholder "out"}) = foo1 ]] [[ $(cat ${placeholder "bin"}) = foo2 ]] [[ $(cat ${placeholder "dev"}) = foo3 ]] "; } ' this derivation will be built: /build/nix-test/placeholders/store/c46fl71140k5qhfd78rjij3l5ky2d5v5-placeholders.drv building '/build/nix-test/placeholders/store/c46fl71140k5qhfd78rjij3l5ky2d5v5-placeholders.drv'... ============================================================================== ================================== 135/161 =================================== test: lix:installcheck / functional-build-remote-trustless-should-pass-2 start time: 20:57:52 duration: 5.95s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=242 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-remote-trustless-should-pass-2.sh ----------------------------------- stdout ----------------------------------- /nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote FOO BAR BAZ [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-remote-trustless-should-pass-2 +(init.sh:7) test -d /build/nix-test/build-remote-trustless-should-pass-2 +(init.sh:8) chmod -R u+w /build/nix-test/build-remote-trustless-should-pass-2 +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-remote-trustless-should-pass-2 +(init.sh:13) mkdir /build/nix-test/build-remote-trustless-should-pass-2 +(init.sh:15) mkdir /build/nix-test/build-remote-trustless-should-pass-2/store +(init.sh:16) mkdir /build/nix-test/build-remote-trustless-should-pass-2/var +(init.sh:17) mkdir -p /build/nix-test/build-remote-trustless-should-pass-2/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-remote-trustless-should-pass-2/var/nix +(init.sh:19) mkdir /build/nix-test/build-remote-trustless-should-pass-2/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-remote-trustless-should-pass-2/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-remote-trustless-should-pass-2.sh:3) enableFeatures daemon-trust-override +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=daemon-trust-override +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& daemon-trust-override/' /build/nix-test/build-remote-trustless-should-pass-2/etc/nix.conf +(build-remote-trustless-should-pass-2.sh:5) restartDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(build-remote-trustless-should-pass-2.sh:8) file=build-hook.nix ++(build-remote-trustless-should-pass-2.sh:9) readlink -e ./nix-daemon-untrusting.sh +(build-remote-trustless-should-pass-2.sh:9) prog=/build/source/build/tests/functional/nix-daemon-untrusting.sh +(build-remote-trustless-should-pass-2.sh:10) proto=ssh-ng +(build-remote-trustless-should-pass-2.sh:12) source build-remote-trustless.sh ++(build-remote-trustless.sh:1) requireSandboxSupport ++(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox ++(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] ++(build-remote-trustless.sh:2) [[ /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]] ++(build-remote-trustless.sh:4) unset NIX_STORE_DIR ++(build-remote-trustless.sh:5) unset NIX_STATE_DIR ++(build-remote-trustless.sh:7) remoteDir=/build/nix-test/build-remote-trustless-should-pass-2/remote ++(build-remote-trustless.sh:11) nix-build build-hook.nix -o /build/nix-test/build-remote-trustless-should-pass-2/result --max-jobs 0 --arg busybox /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /build/nix-test/build-remote-trustless-should-pass-2/local --builders 'ssh-ng://localhost?remote-program=/build/source/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-test/build-remote-trustless-should-pass-2/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz' these 4 derivations will be built: /nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv /nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv /nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv /nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv building '/nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=/build/source/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-test/build-remote-trustless-should-pass-2/remote%3Fsystem-features=foo%20bar%20baz'... copying 2 paths... copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh-ng://localhost'... copying path '/nix/store/c2ph7pk42aa8fa1diy74pkdjyj8qrd1d-busybox' to 'ssh-ng://localhost'... copying 1 paths... copying path '/nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv' to 'ssh-ng://localhost'... building '/nix/store/0brw3iknx1vw8rnn0dsah4rs0h2mh42q-build-remote-input-1.drv'... hi-input1 copying 1 paths... copying path '/nix/store/ga1hpw6i5b5pwh4vlskgwm1616725bpr-build-remote-input-1' from 'ssh-ng://localhost'... building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv' on 'ssh-ng://localhost?remote-program=/build/source/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-test/build-remote-trustless-should-pass-2/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'ssh-ng://localhost'... copying 1 paths... copying path '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv' to 'ssh-ng://localhost'... building '/nix/store/ylvsfjmgcnhzs7zikrqcfn6pfwdnpd0l-build-remote-input-2.drv'... hi copying 1 paths... copying path '/nix/store/hpk3f90gx1npzfmh0yqhy4bl62yl5268-build-remote-input-2' from 'ssh-ng://localhost'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv' on 'ssh-ng://localhost?remote-program=/build/source/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-test/build-remote-trustless-should-pass-2/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/dbajim5pc4h60bkr511ayqkr8s9gwm5g-builder-build-remote-input-3.sh' to 'ssh-ng://localhost'... copying 1 paths... copying path '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv' to 'ssh-ng://localhost'... building '/nix/store/9bhixg05y9i9vf3d90fiyk6s7f33a3nf-build-remote-input-3.drv'... hi-input3 copying 1 paths... copying path '/nix/store/f9mrfhd1hbyh1dckhhvb5anpxn3w7n2a-build-remote-input-3' from 'ssh-ng://localhost'... building '/nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv' on 'ssh-ng://localhost?remote-program=/build/source/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/build/nix-test/build-remote-trustless-should-pass-2/remote%3Fsystem-features=foo%20bar%20baz'... copying 1 paths... copying path '/nix/store/rir68lkxjy1c2g71v724arkwycbf2irc-builder-build-remote.sh' to 'ssh-ng://localhost'... copying 1 paths... copying path '/nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv' to 'ssh-ng://localhost'... building '/nix/store/8j6b58r3n1bi5hpqxi3pqyawackfgz5x-build-remote.drv'... copying 1 paths... copying path '/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote' from 'ssh-ng://localhost'... +(build-remote-trustless-should-pass-2.sh:13) source build-remote-trustless-after.sh +++(build-remote-trustless-after.sh:1) readlink -f /build/nix-test/build-remote-trustless-should-pass-2/result ++(build-remote-trustless-after.sh:1) outPath=/nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ++(build-remote-trustless-after.sh:2) grep 'FOO BAR BAZ' /build/nix-test/build-remote-trustless-should-pass-2/remote//nix/store/33dxqfk2axk6qhr2xsbpd01wwwp773rc-build-remote ============================================================================== ================================== 136/161 =================================== test: lix:installcheck / functional-output-normalization start time: 20:57:57 duration: 0.30s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=238 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py output-normalization.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/output-normalization +(init.sh:7) test -d /build/nix-test/output-normalization +(init.sh:8) chmod -R u+w /build/nix-test/output-normalization +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/output-normalization +(init.sh:13) mkdir /build/nix-test/output-normalization +(init.sh:15) mkdir /build/nix-test/output-normalization/store +(init.sh:16) mkdir /build/nix-test/output-normalization/var +(init.sh:17) mkdir -p /build/nix-test/output-normalization/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/output-normalization/var/nix +(init.sh:19) mkdir /build/nix-test/output-normalization/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/output-normalization/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(output-normalization.sh:9) testNormalization +(output-normalization.sh:4) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/output-normalization/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/output-normalization/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/output-normalization/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/output-normalization/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/output-normalization/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/output-normalization/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/output-normalization/test-home/.local/state/nix/profiles ++(output-normalization.sh:5) nix-build ./simple.nix --no-out-link this derivation will be built: /build/nix-test/output-normalization/store/n96pkmmr03mqnzjq49ja2l07bmzi6lny-simple.drv building '/build/nix-test/output-normalization/store/n96pkmmr03mqnzjq49ja2l07bmzi6lny-simple.drv'... PATH= +(output-normalization.sh:5) outPath=/build/nix-test/output-normalization/store/kkmbc4b50wqdgw4l6qyz69czjbjswkad-simple ++(output-normalization.sh:6) stat -c %Y /build/nix-test/output-normalization/store/kkmbc4b50wqdgw4l6qyz69czjbjswkad-simple +(output-normalization.sh:6) test 1 -eq 1 ============================================================================== ================================== 137/161 =================================== test: lix:installcheck / functional-ssh-relay start time: 20:57:57 duration: 0.38s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=165 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py ssh-relay.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/ssh-relay +(init.sh:7) test -d /build/nix-test/ssh-relay +(init.sh:8) chmod -R u+w /build/nix-test/ssh-relay +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/ssh-relay +(init.sh:13) mkdir /build/nix-test/ssh-relay +(init.sh:15) mkdir /build/nix-test/ssh-relay/store +(init.sh:16) mkdir /build/nix-test/ssh-relay/var +(init.sh:17) mkdir -p /build/nix-test/ssh-relay/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/ssh-relay/var/nix +(init.sh:19) mkdir /build/nix-test/ssh-relay/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/ssh-relay/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(ssh-relay.sh:3) echo foo +(ssh-relay.sh:5) ssh_localhost=ssh://localhost +(ssh-relay.sh:6) remote_store='?remote-store=ssh://localhost' +(ssh-relay.sh:8) store=ssh://localhost +(ssh-relay.sh:10) store+='?remote-store=ssh://localhost' +(ssh-relay.sh:11) store+='?remote-store=ssh://localhost' +(ssh-relay.sh:12) store+='?remote-store=ssh://localhost' ++(ssh-relay.sh:14) nix store add-path --store 'ssh://localhost?remote-store=ssh://localhost?remote-store=ssh://localhost?remote-store=ssh://localhost' /build/nix-test/ssh-relay/hello.sh warning: you don't have Internet access; disabling some network-dependent features +(ssh-relay.sh:14) out=/build/nix-test/ssh-relay/store/sd04q4gci90zw0c02b7dvam9pk5xiykk-hello.sh +(ssh-relay.sh:16) '[' foo = foo ']' ============================================================================== ================================== 138/161 =================================== test: lix:installcheck / functional-db-migration start time: 20:57:58 duration: 0.16s result: exit status 77 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=134 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py db-migration.sh ----------------------------------- stdout ----------------------------------- [SKIP] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/db-migration +(init.sh:7) test -d /build/nix-test/db-migration +(init.sh:8) chmod -R u+w /build/nix-test/db-migration +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/db-migration +(init.sh:13) mkdir /build/nix-test/db-migration +(init.sh:15) mkdir /build/nix-test/db-migration/store +(init.sh:16) mkdir /build/nix-test/db-migration/var +(init.sh:17) mkdir -p /build/nix-test/db-migration/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/db-migration/var/nix +(init.sh:19) mkdir /build/nix-test/db-migration/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/db-migration/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(db-migration.sh:7) [[ -z '' ]] +(db-migration.sh:8) skipTest 'not using the Nix daemon' +(/build/source/build/tests/functional/common/vars-and-functions.sh:159) echo 'not using the Nix daemon, skipping this test...' not using the Nix daemon, skipping this test... +(/build/source/build/tests/functional/common/vars-and-functions.sh:160) exit 99 ============================================================================== ================================== 139/161 =================================== test: lix:installcheck / functional-bash-profile start time: 20:57:58 duration: 0.20s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=100 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py bash-profile.sh ----------------------------------- stdout ----------------------------------- AR=ar AS=as ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 BASH=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash BASHOPTS=checkwinsize:cmdhist:extquote:globasciiranges:globskipdots:interactive_comments:patsub_replacement:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=([0]="0") BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING='. /build/nix-test/bash-profile/nix-profile.sh; set' BASH_LINENO=() BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=() BASH_VERSINFO=([0]="5" [1]="2" [2]="26" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.26(1)-release' BOOST_INCLUDEDIR=/nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev/include BOOST_LIBRARYDIR=/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0/lib CC=gcc CMAKE_INCLUDE_PATH=/nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev/include:/nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev/include:/nix/store/7gdpbhhz5jy1h2b70aj0jmlzzrrc7l5b-libkrb5-1.21.3-dev/include:/nix/store/5g36ajvi9pc356czqvjxjmyc85dc0m29-nghttp2-1.61.0-dev/include:/nix/store/f61whp44qlcm9srl1hz5qgch21pysjzz-libidn2-2.3.7-dev/include:/nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev/include:/nix/store/y0n3cfimyk8cvpcrj1v29hjh33zacpqy-libpsl-0.21.5-dev/include:/nix/store/nidrphljnjdj8diaxzw77r328hm42886-libssh2-1.11.0-dev/include:/nix/store/db47qd7nbfwzdjfk8r6q5kd3g9k6b89d-zlib-1.3.1-dev/include:/nix/store/l74lmnfb989k6zwq5f6fplr9ikp1zk36-zstd-1.5.6-dev/include:/nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev/include:/nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev/include:/nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev/include:/nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev/include:/nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev/include:/nix/store/453jsyihhpzynihy3jz78pscl2yq1l16-attr-2.5.2-dev/include:/nix/store/rydglcsb3qql278hs0gmrq5h8s5n7b67-acl-2.3.2-dev/include:/nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev/include:/nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev/include:/nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev/include:/nix/store/dl8hhc1vxfkyzy2s0f33896gd5b5fysj-toml11-3.7.1/include:/nix/store/8ajzwvr82975ljrz9qs2xmajhacylfr9-pegtl-3.2.7/include:/nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev/include:/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/include:/nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev/include:/nix/store/prrb4ks4vzpp940m2fv67m41gkr8apa9-aws-crt-cpp-0.26.8-dev/include:/nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18/include:/nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16/include:/nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12/include:/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/include:/nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18/include:/nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2/include:/nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1/include:/nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7/include:/nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4/include:/nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7/include:/nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18/include:/nix/store/6jwqydmj2r208f1rrch5ivsvplc11ki4-s2n-tls-1.4.12-dev/include:/nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318/include:/nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev/include:/nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev/include:/nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev/include:/nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3/include CMAKE_LIBRARY_PATH=/nix/store/yxrq045rq65n30pf2dvh801slv30x2al-brotli-1.1.0-lib/lib:/nix/store/lbp0rbrmvsh6nc5r0in8nm8qzr0z0ss0-libkrb5-1.21.3/lib:/nix/store/1fdhlc55ycpvxfv9dxdllqvc70m83g08-nghttp2-1.61.0-lib/lib:/nix/store/psfazaip7ywf3vzxfd6ngjn9zwmla7gl-libidn2-2.3.7/lib:/nix/store/anqmzdm5aqw5dvqcjivhhnpbb2y99a36-openssl-3.0.14/lib:/nix/store/48gx5d9nxy5r62k0ih9v3zv5n8rij09p-libpsl-0.21.5/lib:/nix/store/a693ybk9rr1h5zd610vybdhabmzky11w-libssh2-1.11.0/lib:/nix/store/v2ny69wp81ch6k4bxmp4lnhh77r0n4h1-zlib-1.3.1/lib:/nix/store/4xr9868xjcvyqz6jjzrp5snr19afq3bf-zstd-1.5.6/lib:/nix/store/h51pc1y5sdfcw5mqwdwivig1blj7dnb4-curl-8.7.1/lib:/nix/store/b5jymh5kq8l3cam1yx2qypf7cjdhgil5-bzip2-1.0.8/lib:/nix/store/m55z476dllpljb3ipcy87r7whjb8qiiy-xz-5.4.7/lib:/nix/store/9cci65a9y2nbad1dxwpzaalv8l89qzn8-editline-1.17.1/lib:/nix/store/312yk1dazwk4pwrfj88csdlk9qvsgwsn-sqlite-3.45.3/lib:/nix/store/iq54s8jfc9xs69q27kgaglri0jzdmhsk-attr-2.5.2/lib:/nix/store/74jkwi9v0rxkk7i57j4jlisa0gn2mk0r-acl-2.3.2/lib:/nix/store/j8bbqzx0ck6zzxr3ria7klww8dfd24g7-libarchive-3.7.4-lib/lib:/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0/lib:/nix/store/hbjk2r7pmsvp6rlhglkyq5c52nh8mkln-lowdown-1.1.0-lib/lib:/nix/store/g633y90m23g7lq0z8qx3qyrr1pm23fpz-libsodium-1.0.19/lib:/nix/store/p8f6ng67n5s5rbl9pvxaxpjmgmc144h4-lix-doc/lib:/nix/store/dprbpf59cps5jxxwdkwifm0fag1bz0j3-libseccomp-2.5.5-lib/lib:/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/lib:/nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18/lib:/nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16/lib:/nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12/lib:/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/lib:/nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18/lib:/nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2/lib:/nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1/lib:/nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7/lib:/nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4/lib:/nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7/lib:/nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18/lib:/nix/store/pav2r7vvkhxq2zy4wyl0dd7bda10nscb-s2n-tls-1.4.12/lib:/nix/store/zcpyrh50h5vkj6p7iz8wl2wp2cw9bscz-aws-crt-cpp-0.26.8/lib:/nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318/lib:/nix/store/8ysnx2m1cp3bj0yslln9vy3irshg35f3-gtest-1.14.0/lib:/nix/store/ws8hrpdxby8d4iplc9qr19smy90gv7mr-rapidcheck-0-unstable-2023-12-14/lib:/nix/store/c2xb5vwgv5nis1a57djk5w4i6gy9vsnf-boehm-gc-8.2.6/lib CMAKE_PREFIX_PATH=/nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev:/nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev:/nix/store/yxrq045rq65n30pf2dvh801slv30x2al-brotli-1.1.0-lib:/nix/store/h3xqjzk1fkhj1i4h6whfpvkrfhrlqwkf-brotli-1.1.0:/nix/store/7gdpbhhz5jy1h2b70aj0jmlzzrrc7l5b-libkrb5-1.21.3-dev:/nix/store/lbp0rbrmvsh6nc5r0in8nm8qzr0z0ss0-libkrb5-1.21.3:/nix/store/5g36ajvi9pc356czqvjxjmyc85dc0m29-nghttp2-1.61.0-dev:/nix/store/1fdhlc55ycpvxfv9dxdllqvc70m83g08-nghttp2-1.61.0-lib:/nix/store/cx74g5axh785mhdfalkbg02hdbq40a2x-nghttp2-1.61.0:/nix/store/f61whp44qlcm9srl1hz5qgch21pysjzz-libidn2-2.3.7-dev:/nix/store/wq8jmlhbf0pl8vcay3axy5cgsj7m8762-libidn2-2.3.7-bin:/nix/store/psfazaip7ywf3vzxfd6ngjn9zwmla7gl-libidn2-2.3.7:/nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev:/nix/store/n6njr57g8cjky3xpciy84nzlz5955q2j-openssl-3.0.14-bin:/nix/store/anqmzdm5aqw5dvqcjivhhnpbb2y99a36-openssl-3.0.14:/nix/store/y0n3cfimyk8cvpcrj1v29hjh33zacpqy-libpsl-0.21.5-dev:/nix/store/syyj75f8n8xq85z9366zhg8a7k1194sp-publicsuffix-list-0-unstable-2024-01-07:/nix/store/c9fwl83hq4646n31bn443cg2a0hiyvj5-libpsl-0.21.5-bin:/nix/store/48gx5d9nxy5r62k0ih9v3zv5n8rij09p-libpsl-0.21.5:/nix/store/nidrphljnjdj8diaxzw77r328hm42886-libssh2-1.11.0-dev:/nix/store/a693ybk9rr1h5zd610vybdhabmzky11w-libssh2-1.11.0:/nix/store/db47qd7nbfwzdjfk8r6q5kd3g9k6b89d-zlib-1.3.1-dev:/nix/store/v2ny69wp81ch6k4bxmp4lnhh77r0n4h1-zlib-1.3.1:/nix/store/l74lmnfb989k6zwq5f6fplr9ikp1zk36-zstd-1.5.6-dev:/nix/store/86z7aqqvsc0aqxhvglz67x1gh8w425nq-zstd-1.5.6-bin:/nix/store/4xr9868xjcvyqz6jjzrp5snr19afq3bf-zstd-1.5.6:/nix/store/0yliz4s415p1apm9hkwxan5zww8hgcja-curl-8.7.1-bin:/nix/store/h51pc1y5sdfcw5mqwdwivig1blj7dnb4-curl-8.7.1:/nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin:/nix/store/b5jymh5kq8l3cam1yx2qypf7cjdhgil5-bzip2-1.0.8:/nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin:/nix/store/m55z476dllpljb3ipcy87r7whjb8qiiy-xz-5.4.7:/nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev:/nix/store/9cci65a9y2nbad1dxwpzaalv8l89qzn8-editline-1.17.1:/nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev:/nix/store/945my7vwxvv99ds4p9y25l5x2ql709qq-sqlite-3.45.3-bin:/nix/store/312yk1dazwk4pwrfj88csdlk9qvsgwsn-sqlite-3.45.3:/nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev:/nix/store/453jsyihhpzynihy3jz78pscl2yq1l16-attr-2.5.2-dev:/nix/store/yh0pb33c0p7vdzyw4q60633amgcpxzi3-attr-2.5.2-bin:/nix/store/iq54s8jfc9xs69q27kgaglri0jzdmhsk-attr-2.5.2:/nix/store/rydglcsb3qql278hs0gmrq5h8s5n7b67-acl-2.3.2-dev:/nix/store/228simhn18dkib2cd7nsdbbfjqqvks69-acl-2.3.2-bin:/nix/store/74jkwi9v0rxkk7i57j4jlisa0gn2mk0r-acl-2.3.2:/nix/store/j8bbqzx0ck6zzxr3ria7klww8dfd24g7-libarchive-3.7.4-lib:/nix/store/yc7xipmlk27jryd4gs7j9wavvdc8zx6p-libarchive-3.7.4:/nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev:/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0:/nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev:/nix/store/hbjk2r7pmsvp6rlhglkyq5c52nh8mkln-lowdown-1.1.0-lib:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0:/nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev:/nix/store/g633y90m23g7lq0z8qx3qyrr1pm23fpz-libsodium-1.0.19:/nix/store/dl8hhc1vxfkyzy2s0f33896gd5b5fysj-toml11-3.7.1:/nix/store/p8f6ng67n5s5rbl9pvxaxpjmgmc144h4-lix-doc:/nix/store/8ajzwvr82975ljrz9qs2xmajhacylfr9-pegtl-3.2.7:/nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev:/nix/store/dprbpf59cps5jxxwdkwifm0fag1bz0j3-libseccomp-2.5.5-lib:/nix/store/dwrkqr6cgc5cwar1av081zvdfqq5jmfd-libseccomp-2.5.5:/nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1:/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5:/nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev:/nix/store/prrb4ks4vzpp940m2fv67m41gkr8apa9-aws-crt-cpp-0.26.8-dev:/nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18:/nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16:/nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12:/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17:/nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18:/nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2:/nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1:/nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7:/nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4:/nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7:/nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18:/nix/store/6jwqydmj2r208f1rrch5ivsvplc11ki4-s2n-tls-1.4.12-dev:/nix/store/pav2r7vvkhxq2zy4wyl0dd7bda10nscb-s2n-tls-1.4.12:/nix/store/zcpyrh50h5vkj6p7iz8wl2wp2cw9bscz-aws-crt-cpp-0.26.8:/nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318:/nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev:/nix/store/8ysnx2m1cp3bj0yslln9vy3irshg35f3-gtest-1.14.0:/nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev:/nix/store/ws8hrpdxby8d4iplc9qr19smy90gv7mr-rapidcheck-0-unstable-2023-12-14:/nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev:/nix/store/c2xb5vwgv5nis1a57djk5w4i6gy9vsnf-boehm-gc-8.2.6:/nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3 CONFIG_SHELL=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash CXX=g++ DETERMINISTIC_BUILD=1 DIRSTACK=() EUID=1000 GROUPS=() GZIP_NO_TIMESTAMPS=1 HOME=/build/nix-test/bash-profile/test-home HOSTNAME=localhost HOSTTYPE=x86_64 IFS=$' \t\n' IMPURE_VAR1=foo IMPURE_VAR2=bar LC_CTYPE=C.UTF-8 LD=ld MACHTYPE=x86_64-pc-linux-gnu MALLOC_PERTURB_=100 MESON_BUILD_ROOT=/build/source/build MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 NIX_BINTOOLS=/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41 NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 NIX_BUILD_CORES=8 NIX_BUILD_TOP=/build NIX_CC=/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0 NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 NIX_CFLAGS_COMPILE=' -ggdb -Wa,--compress-debug-sections -frandom-seed=k4m31q5ral -isystem /nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev/include -isystem /nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev/include -isystem /nix/store/7gdpbhhz5jy1h2b70aj0jmlzzrrc7l5b-libkrb5-1.21.3-dev/include -isystem /nix/store/5g36ajvi9pc356czqvjxjmyc85dc0m29-nghttp2-1.61.0-dev/include -isystem /nix/store/f61whp44qlcm9srl1hz5qgch21pysjzz-libidn2-2.3.7-dev/include -isystem /nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev/include -isystem /nix/store/y0n3cfimyk8cvpcrj1v29hjh33zacpqy-libpsl-0.21.5-dev/include -isystem /nix/store/nidrphljnjdj8diaxzw77r328hm42886-libssh2-1.11.0-dev/include -isystem /nix/store/db47qd7nbfwzdjfk8r6q5kd3g9k6b89d-zlib-1.3.1-dev/include -isystem /nix/store/l74lmnfb989k6zwq5f6fplr9ikp1zk36-zstd-1.5.6-dev/include -isystem /nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev/include -isystem /nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev/include -isystem /nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev/include -isystem /nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev/include -isystem /nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev/include -isystem /nix/store/453jsyihhpzynihy3jz78pscl2yq1l16-attr-2.5.2-dev/include -isystem /nix/store/rydglcsb3qql278hs0gmrq5h8s5n7b67-acl-2.3.2-dev/include -isystem /nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev/include -isystem /nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev/include -isystem /nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev/include -isystem /nix/store/dl8hhc1vxfkyzy2s0f33896gd5b5fysj-toml11-3.7.1/include -isystem /nix/store/8ajzwvr82975ljrz9qs2xmajhacylfr9-pegtl-3.2.7/include -isystem /nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev/include -isystem /nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/include -isystem /nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev/include -isystem /nix/store/prrb4ks4vzpp940m2fv67m41gkr8apa9-aws-crt-cpp-0.26.8-dev/include -isystem /nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18/include -isystem /nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16/include -isystem /nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12/include -isystem /nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/include -isystem /nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18/include -isystem /nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2/include -isystem /nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1/include -isystem /nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7/include -isystem /nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4/include -isystem /nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7/include -isystem /nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18/include -isystem /nix/store/6jwqydmj2r208f1rrch5ivsvplc11ki4-s2n-tls-1.4.12-dev/include -isystem /nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318/include -isystem /nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev/include -isystem /nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev/include -isystem /nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev/include -isystem /nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3/include' NIX_CONF_DIR=/build/nix-test/bash-profile/etc NIX_DAEMON_SOCKET_PATH=/build/nix-test/bash-profile/dSocket NIX_ENFORCE_NO_NATIVE=1 NIX_ENFORCE_PURITY=1 NIX_HARDENING_ENABLE='bindnow format fortify fortify3 pic relro stackprotector' NIX_LDFLAGS='-rpath /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/lib --compress-debug-sections=zlib -L/nix/store/yxrq045rq65n30pf2dvh801slv30x2al-brotli-1.1.0-lib/lib -L/nix/store/lbp0rbrmvsh6nc5r0in8nm8qzr0z0ss0-libkrb5-1.21.3/lib -L/nix/store/1fdhlc55ycpvxfv9dxdllqvc70m83g08-nghttp2-1.61.0-lib/lib -L/nix/store/psfazaip7ywf3vzxfd6ngjn9zwmla7gl-libidn2-2.3.7/lib -L/nix/store/anqmzdm5aqw5dvqcjivhhnpbb2y99a36-openssl-3.0.14/lib -L/nix/store/48gx5d9nxy5r62k0ih9v3zv5n8rij09p-libpsl-0.21.5/lib -L/nix/store/a693ybk9rr1h5zd610vybdhabmzky11w-libssh2-1.11.0/lib -L/nix/store/v2ny69wp81ch6k4bxmp4lnhh77r0n4h1-zlib-1.3.1/lib -L/nix/store/4xr9868xjcvyqz6jjzrp5snr19afq3bf-zstd-1.5.6/lib -L/nix/store/h51pc1y5sdfcw5mqwdwivig1blj7dnb4-curl-8.7.1/lib -L/nix/store/b5jymh5kq8l3cam1yx2qypf7cjdhgil5-bzip2-1.0.8/lib -L/nix/store/m55z476dllpljb3ipcy87r7whjb8qiiy-xz-5.4.7/lib -L/nix/store/9cci65a9y2nbad1dxwpzaalv8l89qzn8-editline-1.17.1/lib -L/nix/store/312yk1dazwk4pwrfj88csdlk9qvsgwsn-sqlite-3.45.3/lib -L/nix/store/iq54s8jfc9xs69q27kgaglri0jzdmhsk-attr-2.5.2/lib -L/nix/store/74jkwi9v0rxkk7i57j4jlisa0gn2mk0r-acl-2.3.2/lib -L/nix/store/j8bbqzx0ck6zzxr3ria7klww8dfd24g7-libarchive-3.7.4-lib/lib -L/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0/lib -L/nix/store/hbjk2r7pmsvp6rlhglkyq5c52nh8mkln-lowdown-1.1.0-lib/lib -L/nix/store/g633y90m23g7lq0z8qx3qyrr1pm23fpz-libsodium-1.0.19/lib -L/nix/store/p8f6ng67n5s5rbl9pvxaxpjmgmc144h4-lix-doc/lib -L/nix/store/dprbpf59cps5jxxwdkwifm0fag1bz0j3-libseccomp-2.5.5-lib/lib -L/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/lib -L/nix/store/3kn3xzqqxwqbf0cna0p7xgiy2alqvhhs-aws-c-auth-0.7.18/lib -L/nix/store/yhxl1bsq2db5j731q7rlgy8q01rcn23z-aws-c-sdkutils-0.1.16/lib -L/nix/store/zbp3ckagckyf8bzghhb967zmr35jbp0i-aws-c-cal-0.6.12/lib -L/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/lib -L/nix/store/0q50lbnplnhbzqlb2a6gjrqpwzq1i3fc-aws-c-compression-0.2.18/lib -L/nix/store/mwr3whm5ra3hk4d1hgi3yq1ggrnrhcl3-aws-c-event-stream-0.4.2/lib -L/nix/store/1wd7bcyrpfmyhfkhwkfq54yfvakr3ls3-aws-c-http-0.8.1/lib -L/nix/store/sipzlbizp9p5i1r6l0s645c628qh2z7c-aws-c-io-0.14.7/lib -L/nix/store/yrzpfx3xxxlkj8ihg0scpzw3r59d4vg1-aws-c-mqtt-0.10.4/lib -L/nix/store/vh6cv7y98yl51salv1sy8zg387b48s39-aws-c-s3-0.5.7/lib -L/nix/store/2d599463m5r7ipz0z47fnz39yh3fkk09-aws-checksums-0.1.18/lib -L/nix/store/pav2r7vvkhxq2zy4wyl0dd7bda10nscb-s2n-tls-1.4.12/lib -L/nix/store/zcpyrh50h5vkj6p7iz8wl2wp2cw9bscz-aws-crt-cpp-0.26.8/lib -L/nix/store/ag5gbcwg70fx18lxpj3z5shif7xrcxrn-aws-sdk-cpp-1.11.318/lib -L/nix/store/8ysnx2m1cp3bj0yslln9vy3irshg35f3-gtest-1.14.0/lib -L/nix/store/ws8hrpdxby8d4iplc9qr19smy90gv7mr-rapidcheck-0-unstable-2023-12-14/lib -L/nix/store/c2xb5vwgv5nis1a57djk5w4i6gy9vsnf-boehm-gc-8.2.6/lib' NIX_LOCALSTATE_DIR=/build/nix-test/bash-profile/var NIX_LOG_DIR=/build/nix-test/bash-profile/var/log/nix NIX_LOG_FD=2 NIX_PKG_CONFIG_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 NIX_PROFILES='/build/nix-test/bash-profile/profile-var/nix/profiles/default /build/nix-test/bash-profile/test-home/.nix-profile' NIX_REMOTE= NIX_RUSTFLAGS=' -g' NIX_SET_BUILD_ID=1 NIX_SSL_CERT_FILE=/no-cert-file.crt NIX_STATE_DIR=/build/nix-test/bash-profile/var/nix NIX_STORE=/nix/store NIX_STORE_DIR=/build/nix-test/bash-profile/store NM=nm OBJCOPY=objcopy OBJDUMP=objdump OLDPWD=/build/source OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PAGER=cat PATH=/build/nix-test/bash-profile/test-home/.nix-profile/bin:/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin:/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/bin:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/bin:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/bin:/nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0/bin:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/bin:/nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7/bin:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/bin:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/bin:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/bin:/nix/store/9rxqymz0cb33lix6l2vwhhy0rkjfv4dv-jq-1.7.1-bin/bin:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/bin:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/bin:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/bin:/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin:/nix/store/llmjvk4i2yncv8xqdvs4382wr3kgdmvp-gcc-13.2.0/bin:/nix/store/z5gvbj7p7dr89k42ncrl2mlv5v3ymjlp-glibc-2.39-52-bin/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/bl7gf4crmr480jfm8raswv9xn2v1qwiw-binutils-wrapper-2.41/bin:/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin:/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin:/nix/store/36rvynxwln7iz0qq3k1v3r1mna8bma8s-findutils-4.9.0/bin:/nix/store/0fw4a3z849azkhyjxnpxbygj4g5qhd0v-diffutils-3.10/bin:/nix/store/7xwbkzfrs6flyvjyvd23m8r2mlnycinq-gnused-4.9/bin:/nix/store/d9xr7s3z0r8rf0ba22q6ilqv68agymdb-gnugrep-3.11/bin:/nix/store/9fklixgxv2a9xxpbn504mpifnbz94rb5-gawk-5.2.2/bin:/nix/store/iz0gv4jb2b8bkb9krmha68b00b24p3rl-gnutar-1.35/bin:/nix/store/g14bdsvp1lqqhiyd9g88nyjhp16hs9wj-gzip-1.13/bin:/nix/store/fmk8lz57yy64hvz9rp58krlzb3q9df70-bzip2-1.0.8-bin/bin:/nix/store/3hnf34qxi3h6c62dw95crgxdxvibasml-gnumake-4.4.1/bin:/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin:/nix/store/f46k9pgiq88v6yh76wxb3dv1ggpn6fml-patch-2.7.6/bin:/nix/store/5srqwq17md7w5ln001iaxhxpd0839d8r-xz-5.4.7-bin/bin:/nix/store/j4aja22d2ngbpmi4vdpdd2dvp1hm7dvr-file-5.45/bin PIPESTATUS=([0]="0") PKG_CONFIG=pkg-config PKG_CONFIG_PATH=/nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev/lib/pkgconfig:/nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev/lib/pkgconfig:/nix/store/7gdpbhhz5jy1h2b70aj0jmlzzrrc7l5b-libkrb5-1.21.3-dev/lib/pkgconfig:/nix/store/5g36ajvi9pc356czqvjxjmyc85dc0m29-nghttp2-1.61.0-dev/lib/pkgconfig:/nix/store/f61whp44qlcm9srl1hz5qgch21pysjzz-libidn2-2.3.7-dev/lib/pkgconfig:/nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev/lib/pkgconfig:/nix/store/y0n3cfimyk8cvpcrj1v29hjh33zacpqy-libpsl-0.21.5-dev/lib/pkgconfig:/nix/store/nidrphljnjdj8diaxzw77r328hm42886-libssh2-1.11.0-dev/lib/pkgconfig:/nix/store/db47qd7nbfwzdjfk8r6q5kd3g9k6b89d-zlib-1.3.1-dev/lib/pkgconfig:/nix/store/l74lmnfb989k6zwq5f6fplr9ikp1zk36-zstd-1.5.6-dev/lib/pkgconfig:/nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev/lib/pkgconfig:/nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev/lib/pkgconfig:/nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev/lib/pkgconfig:/nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev/lib/pkgconfig:/nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev/lib/pkgconfig:/nix/store/453jsyihhpzynihy3jz78pscl2yq1l16-attr-2.5.2-dev/lib/pkgconfig:/nix/store/rydglcsb3qql278hs0gmrq5h8s5n7b67-acl-2.3.2-dev/lib/pkgconfig:/nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev/lib/pkgconfig:/nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev/lib/pkgconfig:/nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev/lib/pkgconfig:/nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5/lib/pkgconfig:/nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev/lib/pkgconfig:/nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev/lib/pkgconfig:/nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev/lib/pkgconfig:/nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev/lib/pkgconfig:/nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3/share/pkgconfig PPID=19786 PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) ' PWD=/build/source/build/tests/functional PYTHONHASHSEED=0 PYTHONNOUSERSITE=1 PYTHONPATH=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/lib/python3.11/site-packages:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/lib/python3.11/site-packages:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/lib/python3.11/site-packages:/nix/store/5lbg56wl2j9jj42bvdj2h1aimpk7rbv8-python3.11-fb-re2-1.0.7/lib/python3.11/site-packages RANLIB=ranlib READELF=readelf SHELL=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments SHLVL=3 SIZE=size SOURCE_DATE_EPOCH=315532800 SSL_CERT_FILE=/no-cert-file.crt STRINGS=strings STRIP=strip TEMP=/build TEMPDIR=/build TERM=xterm-256color TEST_HOME=/build/nix-test/bash-profile/test-home TEST_NAME=bash-profile TEST_ROOT=/build/nix-test/bash-profile TMP=/build TMPDIR=/build TZ=UTC UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 UID=1000 USER=nixbld VERSION_SUFFIX= XDG_DATA_DIRS=/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/share:/nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1/share:/nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1/share:/nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2/share:/nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37/share:/nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2/share:/nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1/share:/nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3/share:/nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3/share:/nix/store/m8alhfav4r1n1vqa5w1hmi0z583wmq2p-util-linux-minimal-2.39.4-bin/share:/nix/store/cy6j2yii4y9jlbqr10k190v0b3jdbwl3-patchelf-0.15.0/share:/build/nix-test/bash-profile/test-home/.nix-profile/share:/nix/var/nix/profiles/default/share _=/build/nix-test/bash-profile/nix-profile.sh _NIX_IN_TEST=/build/nix-test/bash-profile/shared _NIX_TEST_NO_SANDBOX=1 _NIX_TEST_SHARED=/build/nix-test/bash-profile/shared _PYTHON_HOST_PLATFORM=linux-x86_64 _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__linux_x86_64-linux-gnu __structuredAttrs= buildInputs='/nix/store/8nfrh46nfknv0mzppf9sf2zhkvhxxb6j-curl-8.7.1-dev /nix/store/nmrqs8hpfy8kbf14lplmjlgqyh1plsdw-bzip2-1.0.8-dev /nix/store/klfk7c979390gk26684pxlb6bkdd423n-xz-5.4.7-dev /nix/store/4a8368h76zlb5vqkd11bxjdwrz42hy7w-brotli-1.1.0-dev /nix/store/icarmmq1jh57g9dychw4rns24q3216xb-editline-1.17.1-dev /nix/store/ix0zp5w7w1jap2bpzlrg9agqczbx2hl6-openssl-3.0.14-dev /nix/store/d682gvgjmnslb3dj6n7l3gf89ab7h4s8-sqlite-3.45.3-dev /nix/store/g079p7d0xibw6fycsha6sa4ak33smda1-libarchive-3.7.4-dev /nix/store/l1l8b1mgnzllsngr7158p9j5vz2qa4sm-boost-1.81.0-dev /nix/store/l0nzfg2s3g56aaf8jwr2lxg0j8rriyrb-lowdown-1.1.0-dev /nix/store/9j4f74r0xrm7crmvzwwwbfgk5l5wxgay-libsodium-1.0.19-dev /nix/store/dl8hhc1vxfkyzy2s0f33896gd5b5fysj-toml11-3.7.1 /nix/store/p8f6ng67n5s5rbl9pvxaxpjmgmc144h4-lix-doc /nix/store/8ajzwvr82975ljrz9qs2xmajhacylfr9-pegtl-3.2.7 /nix/store/rakzi92xavnphs18m0szixchnpr0wl4p-libseccomp-2.5.5-dev /nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1 /nix/store/cbcx3b89f1nj5n8nkxan4b29v7hdc11m-libcpuid-0.6.5 /nix/store/bsdwlj10x7y1qcjcgrnbm8iygar7hq00-aws-sdk-cpp-1.11.318-dev /nix/store/q1mfd8vdk0zmlzyh5x0xyb1hgvs7prgv-gtest-1.14.0-dev /nix/store/pvvv79qn0v4ylbmxx1kxj8lkwdlyfkb4-rapidcheck-0-unstable-2023-12-14-dev' builder=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash busybox=/nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox cmakeFlags='-DCMAKE_MODULE_PATH=/nix/store/id1qc4zz6x7k0bpsb2hni1zzyylgppyf-aws-c-common-0.9.17/lib/cmake ' configureFlags= debug=/nix/store/m58lnpg2kl82bsqndnkyb7nmr1b1hfjy-lix-2.91.0-debug depsBuildBuild= depsBuildBuildPropagated= depsBuildTarget= depsBuildTargetPropagated= depsHostHost= depsHostHostPropagated= depsTargetTarget= depsTargetTargetPropagated= dev=/nix/store/m2hv0gj4nskfp3y19hmn2y1fhjcn10ad-lix-2.91.0-dev disallowedReferences=/nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0 doCheck=1 doInstallCheck=1 doc=/nix/store/zdgzpskqgq4nimw3xrnkv13rqd8cxddp-lix-2.91.0-doc dontBuild= dontUseCmakeConfigure=1 dot= enableParallelBuilding=1 enableParallelChecking=1 enableParallelInstalling=1 hardeningDisable=strictoverflow installCheckPhase=$'runHook preInstallCheck\nflagsArray=($mesonInstallCheckFlags "${mesonInstallCheckFlagsArray[@]}")\nmeson test --no-rebuild "${flagsArray[@]}"\nrunHook postInstallCheck\n' installPhase=mesonInstallPhase installTargets= mesonBuildType=debugoptimized mesonCheckFlags='--suite=check --print-errorlogs' mesonFlags='-Dsandbox-shell=/nix/store/ngg6r2s4jzbmvc2pmzlpw05dmjgx63yb-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox -Dgc=enabled -Dinternal-api-docs=disabled -Denable-tests=true -Denable-docs=true -Dwerror=false' mesonInstallCheckFlags='--suite=installcheck --print-errorlogs' name=lix-2.91.0 nativeBuildInputs='/nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9 /nix/store/faqinb3ipfsqhvihb2k9ap8k9n53y1bd-meson-1.4.1 /nix/store/p5y20shjad8an1jhcby82sz843lirvwi-ninja-1.11.1 /nix/store/mk7637n6h4d437gl5cplxvd3k2l66awd-cmake-3.29.2 /nix/store/v6v8jan271vlh583b1k20ddw0kfhsz7s-lowdown-1.1.0 /nix/store/qwqnl369j67x9wy3q621dwkk4flz40s9-mdbook-0.4.37 /nix/store/bkayw2afd2jbvdiy6zv1nrn9s3n4li6b-mdbook-linkcheck-0.7.7 /nix/store/gx6s21qcy4glnla7f3nvrawnfrw6g3jl-pkg-config-wrapper-0.29.2 /nix/store/fya3qmsm9rqky5f2fblh2yjvdp06f8wk-git-2.44.1 /nix/store/xjmzjb7bbk7qs9myhjs1wg35wbxvhqi5-mercurial-6.6.3 /nix/store/xm8ib16nffv96llqxg6vd623mv6ibvqd-jq-1.7.1-dev /nix/store/jmnqypmvx9rzhhmr2x8v6gphry2h3gwg-lsof-4.99.3 /nix/store/2r8hl6jaifc0n8wm1akck8zj5iv8ck79-util-linux-minimal-2.39.4-dev /nix/store/12l2v3kmacnpmx14p2345kk41fpv31rw-separate-debug-info.sh' out=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0 outputs='out dev doc debug' patches= pname=lix postInstall=$'mkdir -p $doc/nix-support\necho "doc manual $doc/share/doc/nix/manual" >> $doc/nix-support/hydra-build-products\n' preConfigure=$'# Copy libboost_context so we don\'t get all of Boost in our closure.\n# https://github.com/NixOS/nixpkgs/issues/45462\nmkdir -p $out/lib\ncp -pd /nix/store/7zdlbiimls0a8iwqxr0zs5i1rshqpw3f-boost-1.81.0/lib/{libboost_context*,libboost_thread*,libboost_system*} $out/lib\nrm -f $out/lib/*.a\nchmod u+w $out/lib/*.so.*\npatchelf --set-rpath $out/lib:/nix/store/p44qan69linp3ii0xrviypsw2j4qdcp2-gcc-13.2.0-lib/lib $out/lib/libboost_thread.so.*\n# Fix up /usr/bin/env shebangs relied on by the build\npatchShebangs --build tests/ doc/manual/\n' preInstall= propagatedBuildInputs='/nix/store/46472i39cq0101fb769f11mgnvjjycws-boehm-gc-8.2.6-dev /nix/store/h7hy18zg0fq7726xaqyryni5yaf9cgn2-nlohmann_json-3.11.3' propagatedNativeBuildInputs= separateDebugInfo=1 shell=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash src=/nix/store/rwakndmpj9dbr1sh2271g47l7d2fl1zf-source stdenv=/nix/store/dd7nxjnni7nzm0846fq5xrm89ais5lwz-stdenv-linux strictDeps=1 system=x86_64-linux version=2.91.0 [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/bash-profile +(init.sh:7) test -d /build/nix-test/bash-profile +(init.sh:8) chmod -R u+w /build/nix-test/bash-profile +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/bash-profile +(init.sh:13) mkdir /build/nix-test/bash-profile +(init.sh:15) mkdir /build/nix-test/bash-profile/store +(init.sh:16) mkdir /build/nix-test/bash-profile/var +(init.sh:17) mkdir -p /build/nix-test/bash-profile/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/bash-profile/var/nix +(init.sh:19) mkdir /build/nix-test/bash-profile/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/bash-profile/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(bash-profile.sh:3) sed -e 's|@localstatedir@|/build/nix-test/bash-profile/profile-var|g' -e 's|@coreutils@|/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin|g' ++(bash-profile.sh:5) whoami +(bash-profile.sh:5) user=nixbld +(bash-profile.sh:6) rm -rf /build/nix-test/bash-profile/test-home /build/nix-test/bash-profile/profile-var +(bash-profile.sh:7) mkdir -p /build/nix-test/bash-profile/test-home +(bash-profile.sh:8) USER=nixbld +(bash-profile.sh:8) /nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash -e -c '. /build/nix-test/bash-profile/nix-profile.sh; set' +(bash-profile.sh:9) USER=nixbld +(bash-profile.sh:9) /nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash -e -c '. /build/nix-test/bash-profile/nix-profile.sh' ============================================================================== ================================== 140/161 =================================== test: lix:installcheck / functional-selfref-gc start time: 20:57:58 duration: 0.43s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=61 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py selfref-gc.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/selfref-gc/store/459w1gajwww4c3qagpvl3lha4zf7h1vr-selfref-gc 5 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/selfref-gc +(init.sh:7) test -d /build/nix-test/selfref-gc +(init.sh:8) chmod -R u+w /build/nix-test/selfref-gc +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/selfref-gc +(init.sh:13) mkdir /build/nix-test/selfref-gc +(init.sh:15) mkdir /build/nix-test/selfref-gc/store +(init.sh:16) mkdir /build/nix-test/selfref-gc/var +(init.sh:17) mkdir -p /build/nix-test/selfref-gc/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/selfref-gc/var/nix +(init.sh:19) mkdir /build/nix-test/selfref-gc/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/selfref-gc/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(selfref-gc.sh:3) requireDaemonNewerThan 2.6.0pre20211215 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.6.0pre20211215 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(selfref-gc.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/selfref-gc/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/selfref-gc/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/selfref-gc/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/selfref-gc/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/selfref-gc/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/selfref-gc/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/selfref-gc/test-home/.local/state/nix/profiles +(selfref-gc.sh:7) nix-build --no-out-link -E ' with import ./config.nix; let d1 = mkDerivation { name = "selfref-gc"; outputs = [ "out" ]; buildCommand = " echo SELF_REF: $out > $out "; }; in # the only change from d1 is d1 as an (unused) build input # to get identical store path in CA. mkDerivation { name = "selfref-gc"; outputs = [ "out" ]; buildCommand = " echo UNUSED: ${d1} echo SELF_REF: $out > $out "; } ' these 2 derivations will be built: /build/nix-test/selfref-gc/store/jzj0738s51269250zh843sk52g9zfr2n-selfref-gc.drv /build/nix-test/selfref-gc/store/j3nx98w3dvcriixx9hyiqiqp7pw6gwlm-selfref-gc.drv building '/build/nix-test/selfref-gc/store/jzj0738s51269250zh843sk52g9zfr2n-selfref-gc.drv'... building '/build/nix-test/selfref-gc/store/j3nx98w3dvcriixx9hyiqiqp7pw6gwlm-selfref-gc.drv'... UNUSED: /build/nix-test/selfref-gc/store/sr4wx6qidy0pi5g9cpkns6qddjbs3i8n-selfref-gc +(selfref-gc.sh:30) nix-collect-garbage finding garbage collector roots... removing stale link from '/build/nix-test/selfref-gc/var/nix/gcroots/auto/bz0bgqvhak2kniv0d1lw25ldif1i6m19' to '/build/nix-build-19793-0/result' deleting garbage... deleting '/build/nix-test/selfref-gc/store/j3nx98w3dvcriixx9hyiqiqp7pw6gwlm-selfref-gc.drv' deleting '/build/nix-test/selfref-gc/store/jzj0738s51269250zh843sk52g9zfr2n-selfref-gc.drv' deleting '/build/nix-test/selfref-gc/store/lxdvz0fm3vw1yq7k25ih6mvrivdqxhwh-builder-selfref-gc.sh' deleting '/build/nix-test/selfref-gc/store/sr4wx6qidy0pi5g9cpkns6qddjbs3i8n-selfref-gc' deleting '/build/nix-test/selfref-gc/store/459w1gajwww4c3qagpvl3lha4zf7h1vr-selfref-gc' deleting unused links... note: currently hard linking saves 0.00 MiB ============================================================================== ================================== 141/161 =================================== test: lix:installcheck / functional-pass-as-file start time: 20:57:58 duration: 0.30s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=249 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py pass-as-file.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/pass-as-file +(init.sh:7) test -d /build/nix-test/pass-as-file +(init.sh:8) chmod -R u+w /build/nix-test/pass-as-file +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/pass-as-file +(init.sh:13) mkdir /build/nix-test/pass-as-file +(init.sh:15) mkdir /build/nix-test/pass-as-file/store +(init.sh:16) mkdir /build/nix-test/pass-as-file/var +(init.sh:17) mkdir -p /build/nix-test/pass-as-file/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/pass-as-file/var/nix +(init.sh:19) mkdir /build/nix-test/pass-as-file/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/pass-as-file/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(pass-as-file.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/pass-as-file/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/pass-as-file/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/pass-as-file/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/pass-as-file/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/pass-as-file/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/pass-as-file/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/pass-as-file/test-home/.local/state/nix/profiles ++(pass-as-file.sh:18) nix-build --no-out-link -E ' with import ./config.nix; mkDerivation { name = "pass-as-file"; passAsFile = [ "foo" ]; foo = [ "xyzzy" ]; builder = builtins.toFile "builder.sh" '\'''\'' [ "$(basename $fooPath)" = .attr-1bp7cri8hplaz6hbz0v4f0nl44rl84q1sg25kgwqzipzd1mv89ic ] [ "$(cat $fooPath)" = xyzzy ] touch $out '\'''\''; } ' this derivation will be built: /build/nix-test/pass-as-file/store/14vqpg3m0rd78jzrcwrqv3bjadqgi29r-pass-as-file.drv building '/build/nix-test/pass-as-file/store/14vqpg3m0rd78jzrcwrqv3bjadqgi29r-pass-as-file.drv'... +(pass-as-file.sh:18) outPath=/build/nix-test/pass-as-file/store/absxa7v335jg6wmmjcfp5kdaxiv48pxk-pass-as-file ============================================================================== ================================== 142/161 =================================== test: lix:installcheck / functional-store-ping start time: 20:57:58 duration: 0.23s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=111 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py store-ping.sh ----------------------------------- stdout ----------------------------------- Store URL: local [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/store-ping +(init.sh:7) test -d /build/nix-test/store-ping +(init.sh:8) chmod -R u+w /build/nix-test/store-ping +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/store-ping +(init.sh:13) mkdir /build/nix-test/store-ping +(init.sh:15) mkdir /build/nix-test/store-ping/store +(init.sh:16) mkdir /build/nix-test/store-ping/var +(init.sh:17) mkdir -p /build/nix-test/store-ping/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/store-ping/var/nix +(init.sh:19) mkdir /build/nix-test/store-ping/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/store-ping/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(store-ping.sh:3) nix store ping +(store-ping.sh:3) STORE_INFO='warning: you don'\''t have Internet access; disabling some network-dependent features Store URL: local Version: 2.91.0 Trusted: 1' ++(store-ping.sh:4) nix store ping --json warning: you don't have Internet access; disabling some network-dependent features +(store-ping.sh:4) STORE_INFO_JSON='{"trusted":1,"url":"local","version":"2.91.0"}' +(store-ping.sh:6) echo 'warning: you don'\''t have Internet access; disabling some network-dependent features Store URL: local Version: 2.91.0 Trusted: 1' +(store-ping.sh:6) grep 'Store URL: ' +(store-ping.sh:8) [[ -v NIX_DAEMON_PACKAGE ]] +(store-ping.sh:14) expect 127 NIX_REMOTE=unix:/build/source/build/tests/functional/store nix store ping +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=127 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) NIX_REMOTE=unix:/build/source/build/tests/functional/store nix store ping /build/source/build/tests/functional/common/vars-and-functions.sh: line 199: NIX_REMOTE=unix:/build/source/build/tests/functional/store: No such file or directory +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=127 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 127 -ne 127 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 ++(store-ping.sh:17) echo '{"trusted":1,"url":"local","version":"2.91.0"}' ++(store-ping.sh:17) jq -r .url +(store-ping.sh:17) [[ local == \l\o\c\a\l ]] ============================================================================== ================================== 143/161 =================================== test: lix:installcheck / functional-suggestions start time: 20:57:58 duration: 0.36s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=35 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py suggestions.sh ----------------------------------- stdout ----------------------------------- clearing store... [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/suggestions +(init.sh:7) test -d /build/nix-test/suggestions +(init.sh:8) chmod -R u+w /build/nix-test/suggestions +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/suggestions +(init.sh:13) mkdir /build/nix-test/suggestions +(init.sh:15) mkdir /build/nix-test/suggestions/store +(init.sh:16) mkdir /build/nix-test/suggestions/var +(init.sh:17) mkdir -p /build/nix-test/suggestions/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/suggestions/var/nix +(init.sh:19) mkdir /build/nix-test/suggestions/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/suggestions/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(suggestions.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/suggestions/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/suggestions/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/suggestions/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/suggestions/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/suggestions/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/suggestions/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/suggestions/test-home/.local/state/nix/profiles +(suggestions.sh:5) cd /build/nix-test/suggestions/test-home +(suggestions.sh:7) cat ++(suggestions.sh:29) nix build .#fob +(suggestions.sh:29) NIX_BUILD_STDERR_WITH_SUGGESTIONS='warning: you don'\''t have Internet access; disabling some network-dependent features fetching path input '\''path:/build/nix-test/suggestions/test-home'\'' error: flake '\''path:/build/nix-test/suggestions/test-home'\'' does not provide attribute '\''packages.x86_64-linux.fob'\'', '\''legacyPackages.x86_64-linux.fob'\'' or '\''fob'\'' Did you mean one of fo1, fo2, foo or fooo?' +(suggestions.sh:30) [[ warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/suggestions/test-home' error: flake 'path:/build/nix-test/suggestions/test-home' does not provide attribute 'packages.x86_64-linux.fob', 'legacyPackages.x86_64-linux.fob' or 'fob' Did you mean one of fo1, fo2, foo or fooo? =~ Did you mean one of fo1, fo2, foo or fooo\? ]] ++(suggestions.sh:34) nix build .#bar +(suggestions.sh:34) NIX_BUILD_STDERR_WITH_NO_CLOSE_SUGGESTION='warning: you don'\''t have Internet access; disabling some network-dependent features fetching path input '\''path:/build/nix-test/suggestions/test-home'\'' error: flake '\''path:/build/nix-test/suggestions/test-home'\'' does not provide attribute '\''packages.x86_64-linux.bar'\'', '\''legacyPackages.x86_64-linux.bar'\'' or '\''bar'\''' +(suggestions.sh:35) [[ ! warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/suggestions/test-home' error: flake 'path:/build/nix-test/suggestions/test-home' does not provide attribute 'packages.x86_64-linux.bar', 'legacyPackages.x86_64-linux.bar' or 'bar' =~ Did you mean ]] ++(suggestions.sh:38) nix build --impure --expr '(builtins.getFlake (builtins.toPath ./.)).packages.x86_64-linux.fob' +(suggestions.sh:38) NIX_EVAL_STDERR_WITH_SUGGESTIONS='warning: you don'\''t have Internet access; disabling some network-dependent features fetching path input '\''path:/build/nix-test/suggestions/test-home'\'' error: … while evaluating the attribute '\''packages.x86_64-linux.fob'\'' at /build/nix-test/suggestions/store/n322zx00i60bcwjfbndlcwbyanmgrjkh-source/flake.nix:3:8: 2| outputs = a: { 3| packages.x86_64-linux = { | ^ 4| foo = 1; error: attribute '\''fob'\'' missing at «string»:1:1: 1| (builtins.getFlake (builtins.toPath ./.)).packages.x86_64-linux.fob | ^ Did you mean one of fo1, fo2, foo or fooo?' +(suggestions.sh:39) [[ warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/suggestions/test-home' error: … while evaluating the attribute 'packages.x86_64-linux.fob' at /build/nix-test/suggestions/store/n322zx00i60bcwjfbndlcwbyanmgrjkh-source/flake.nix:3:8: 2| outputs = a: { 3| packages.x86_64-linux = { | ^ 4| foo = 1; error: attribute 'fob' missing at «string»:1:1: 1| (builtins.getFlake (builtins.toPath ./.)).packages.x86_64-linux.fob | ^ Did you mean one of fo1, fo2, foo or fooo? =~ Did you mean one of fo1, fo2, foo or fooo\? ]] ++(suggestions.sh:42) nix build --impure --expr '({ foo }: foo) { foo = 1; fob = 2; }' +(suggestions.sh:42) NIX_EVAL_STDERR_WITH_SUGGESTIONS='warning: you don'\''t have Internet access; disabling some network-dependent features error: … from call site at «string»:1:1: 1| ({ foo }: foo) { foo = 1; fob = 2; } | ^ error: function '\''anonymous lambda'\'' called with unexpected argument '\''fob'\'' at «string»:1:2: 1| ({ foo }: foo) { foo = 1; fob = 2; } | ^ Did you mean foo?' +(suggestions.sh:43) [[ warning: you don't have Internet access; disabling some network-dependent features error: … from call site at «string»:1:1: 1| ({ foo }: foo) { foo = 1; fob = 2; } | ^ error: function 'anonymous lambda' called with unexpected argument 'fob' at «string»:1:2: 1| ({ foo }: foo) { foo = 1; fob = 2; } | ^ Did you mean foo? =~ Did you mean foo\? ]] ============================================================================== ================================== 144/161 =================================== test: lix:installcheck / functional-fetchClosure start time: 20:57:58 duration: 0.36s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=126 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py fetchClosure.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/fetchClosure +(init.sh:7) test -d /build/nix-test/fetchClosure +(init.sh:8) chmod -R u+w /build/nix-test/fetchClosure +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/fetchClosure +(init.sh:13) mkdir /build/nix-test/fetchClosure +(init.sh:15) mkdir /build/nix-test/fetchClosure/store +(init.sh:16) mkdir /build/nix-test/fetchClosure/var +(init.sh:17) mkdir -p /build/nix-test/fetchClosure/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/fetchClosure/var/nix +(init.sh:19) mkdir /build/nix-test/fetchClosure/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/fetchClosure/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(fetchClosure.sh:3) enableFeatures fetch-closure +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=fetch-closure +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& fetch-closure/' /build/nix-test/fetchClosure/etc/nix.conf +(fetchClosure.sh:5) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/fetchClosure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/fetchClosure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/fetchClosure/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/fetchClosure/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/fetchClosure/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/fetchClosure/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/fetchClosure/test-home/.local/state/nix/profiles +(fetchClosure.sh:6) clearCacheCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/build/nix-test/fetchClosure/test-home/.cache/nix/binary-cache*' +(fetchClosure.sh:12) requireDaemonNewerThan 2.16.0pre20230524 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.16.0pre20230524 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 ++(fetchClosure.sh:15) nix build --json --file ./dependencies.nix --no-link ++(fetchClosure.sh:15) jq -r '.[].outputs.out' warning: you don't have Internet access; disabling some network-dependent features these 5 derivations will be built: /build/nix-test/fetchClosure/store/27p8fml8q3npqghllb1awrb68i536v1n-fod-input.drv /build/nix-test/fetchClosure/store/gpa6d6ic4pxf42fdfhljmf8y03nym3qj-dependencies-input-1.drv /build/nix-test/fetchClosure/store/v6xj8r88x58fd3s1hr9q1zamllbs4h73-dependencies-input-0.drv /build/nix-test/fetchClosure/store/knji9gxfs0lggz0ki8l0hsnvwv29aghv-dependencies-input-2.drv /build/nix-test/fetchClosure/store/v85pzkxqcmsvb35r19b4lyrizlxgwliw-dependencies-top.drv building '/build/nix-test/fetchClosure/store/v6xj8r88x58fd3s1hr9q1zamllbs4h73-dependencies-input-0.drv'... building '/build/nix-test/fetchClosure/store/gpa6d6ic4pxf42fdfhljmf8y03nym3qj-dependencies-input-1.drv'... building '/build/nix-test/fetchClosure/store/knji9gxfs0lggz0ki8l0hsnvwv29aghv-dependencies-input-2.drv'... building '/build/nix-test/fetchClosure/store/27p8fml8q3npqghllb1awrb68i536v1n-fod-input.drv'... error: removing extended attribute 'btrfs.compression' from '/build/nix-test/fetchClosure/store/ywk37azrj8y438vydxyhbbm1mlkr7ab0-fod-input': Permission denied +(fetchClosure.sh:15) nonCaPath= ++(fetchClosure.sh:15) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x fetchClosure.sh: test failed at: main in fetchClosure.sh:15 ============================================================================== ================================== 145/161 =================================== test: lix:installcheck / functional-path-from-hash-part start time: 20:57:58 duration: 0.34s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build MALLOC_PERTURB_=176 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py path-from-hash-part.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/path-from-hash-part +(init.sh:7) test -d /build/nix-test/path-from-hash-part +(init.sh:8) chmod -R u+w /build/nix-test/path-from-hash-part +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/path-from-hash-part +(init.sh:13) mkdir /build/nix-test/path-from-hash-part +(init.sh:15) mkdir /build/nix-test/path-from-hash-part/store +(init.sh:16) mkdir /build/nix-test/path-from-hash-part/var +(init.sh:17) mkdir -p /build/nix-test/path-from-hash-part/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/path-from-hash-part/var/nix +(init.sh:19) mkdir /build/nix-test/path-from-hash-part/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/path-from-hash-part/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(path-from-hash-part.sh:3) nix build --no-link --print-out-paths -f simple.nix warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/path-from-hash-part/store/y5wb3kw4i9lva0pxl6gdprzs3nh75ihy-simple.drv building '/build/nix-test/path-from-hash-part/store/y5wb3kw4i9lva0pxl6gdprzs3nh75ihy-simple.drv'... +(path-from-hash-part.sh:3) path=/build/nix-test/path-from-hash-part/store/bv0i5xzqcgpnx40x3c10xi24pz68s4qg-simple ++(path-from-hash-part.sh:5) basename /build/nix-test/path-from-hash-part/store/bv0i5xzqcgpnx40x3c10xi24pz68s4qg-simple +(path-from-hash-part.sh:5) hash_part=bv0i5xzqcgpnx40x3c10xi24pz68s4qg-simple +(path-from-hash-part.sh:6) hash_part=bv0i5xzqcgpnx40x3c10xi24pz68s4qg ++(path-from-hash-part.sh:8) nix store path-from-hash-part bv0i5xzqcgpnx40x3c10xi24pz68s4qg warning: you don't have Internet access; disabling some network-dependent features +(path-from-hash-part.sh:8) path2=/build/nix-test/path-from-hash-part/store/bv0i5xzqcgpnx40x3c10xi24pz68s4qg-simple +(path-from-hash-part.sh:10) [[ /build/nix-test/path-from-hash-part/store/bv0i5xzqcgpnx40x3c10xi24pz68s4qg-simple = /build/nix-test/path-from-hash-part/store/bv0i5xzqcgpnx40x3c10xi24pz68s4qg-simple ]] ============================================================================== ================================== 146/161 =================================== test: lix:installcheck / functional-flakes-show start time: 20:57:58 duration: 0.78s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 MALLOC_PERTURB_=42 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py flakes/show.sh ----------------------------------- stdout ----------------------------------- true true true true true [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/flakes/show +(init.sh:7) test -d /build/nix-test/flakes/show +(init.sh:8) chmod -R u+w /build/nix-test/flakes/show +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/flakes/show +(init.sh:13) mkdir /build/nix-test/flakes/show +(init.sh:15) mkdir /build/nix-test/flakes/show/store +(init.sh:16) mkdir /build/nix-test/flakes/show/var +(init.sh:17) mkdir -p /build/nix-test/flakes/show/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/flakes/show/var/nix +(init.sh:19) mkdir /build/nix-test/flakes/show/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/flakes/show/var/nix/db/db.sqlite ++++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR +++(../common.sh:8) [[ -n '' ]] ++(./common.sh:3) registry=/build/nix-test/flakes/show/registry.json +(show.sh:3) flakeDir=/build/nix-test/flakes/show/flake +(show.sh:4) mkdir -p /build/nix-test/flakes/show/flake +(show.sh:6) writeSimpleFlake /build/nix-test/flakes/show/flake +(./common.sh:6) local flakeDir=/build/nix-test/flakes/show/flake +(./common.sh:7) cat +(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /build/nix-test/flakes/show/flake/ +(show.sh:7) cd /build/nix-test/flakes/show/flake +(show.sh:12) nix flake show --json warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/show/flake' evaluating ''... evaluating 'legacyPackages'... evaluating 'legacyPackages.x86_64-linux'... warning: legacyPackages.x86_64-linux omitted (use '--legacy' to show) evaluating 'packages'... evaluating 'packages.someOtherSystem'... evaluating 'packages.someOtherSystem.default'... warning: packages.someOtherSystem.default omitted (use '--all-systems' to show) evaluating 'packages.someOtherSystem.foo'... warning: packages.someOtherSystem.foo omitted (use '--all-systems' to show) evaluating 'packages.x86_64-linux'... evaluating 'packages.x86_64-linux.default'... evaluating 'packages.x86_64-linux.foo'... +(show.sh:13) nix eval --impure --expr ' let show_output = builtins.fromJSON (builtins.readFile ./show-output.json); in assert show_output.packages.someOtherSystem.default == {}; assert show_output.packages.${builtins.currentSystem}.default.name == "simple"; assert show_output.legacyPackages.${builtins.currentSystem} == {}; true ' warning: you don't have Internet access; disabling some network-dependent features +(show.sh:23) nix flake show --json --all-systems warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/show/flake' evaluating ''... evaluating 'legacyPackages'... evaluating 'legacyPackages.x86_64-linux'... warning: legacyPackages.x86_64-linux omitted (use '--legacy' to show) evaluating 'packages'... evaluating 'packages.someOtherSystem'... evaluating 'packages.someOtherSystem.default'... evaluating 'packages.someOtherSystem.foo'... evaluating 'packages.x86_64-linux'... evaluating 'packages.x86_64-linux.default'... evaluating 'packages.x86_64-linux.foo'... +(show.sh:24) nix eval --impure --expr ' let show_output = builtins.fromJSON (builtins.readFile ./show-output.json); in assert show_output.packages.someOtherSystem.default.name == "simple"; assert show_output.legacyPackages.${builtins.currentSystem} == {}; true ' warning: you don't have Internet access; disabling some network-dependent features +(show.sh:33) nix flake show --json --legacy warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/show/flake' evaluating ''... evaluating 'legacyPackages'... evaluating 'legacyPackages.x86_64-linux'... evaluating 'legacyPackages.x86_64-linux.hello'... evaluating 'packages'... evaluating 'packages.someOtherSystem'... evaluating 'packages.someOtherSystem.default'... warning: packages.someOtherSystem.default omitted (use '--all-systems' to show) evaluating 'packages.someOtherSystem.foo'... warning: packages.someOtherSystem.foo omitted (use '--all-systems' to show) evaluating 'packages.x86_64-linux'... evaluating 'packages.x86_64-linux.default'... evaluating 'packages.x86_64-linux.foo'... +(show.sh:34) nix eval --impure --expr ' let show_output = builtins.fromJSON (builtins.readFile ./show-output.json); in assert show_output.legacyPackages.${builtins.currentSystem}.hello.name == "simple"; true ' warning: you don't have Internet access; disabling some network-dependent features +(show.sh:42) cat +(show.sh:60) nix flake show --json --all-systems warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/show/flake' evaluating ''... +(show.sh:61) nix eval --impure --expr ' let show_output = builtins.fromJSON (builtins.readFile ./show-output.json); in assert show_output == { }; true ' warning: you don't have Internet access; disabling some network-dependent features +(show.sh:70) cat +(show.sh:80) nix flake show --json --legacy --all-systems warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/flakes/show/flake' evaluating ''... evaluating 'legacyPackages'... evaluating 'legacyPackages.x86_64-linux'... evaluating 'legacyPackages.x86_64-linux.AAAAAASomeThingsFailToEvaluate'... evaluating 'legacyPackages.x86_64-linux.simple'... +(show.sh:81) nix eval --impure --expr ' let show_output = builtins.fromJSON (builtins.readFile ./show-output.json); in assert show_output.legacyPackages.${builtins.currentSystem}.AAAAAASomeThingsFailToEvaluate == { }; assert show_output.legacyPackages.${builtins.currentSystem}.simple.name == "simple"; true ' warning: you don't have Internet access; disabling some network-dependent features +(show.sh:89) cat +(show.sh:108) runinpty sh -c ' stty rows 20 cols 100 TERM=xterm-256color NOCOLOR=1 nix flake show ' +(/build/source/build/tests/functional/common/vars-and-functions.sh:238) /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/build/misc/runinpty.py sh -c ' stty rows 20 cols 100 TERM=xterm-256color NOCOLOR=1 nix flake show ' ++(show.sh:113) awk -F '[:] ' '/aNoDescription/{print $NF}' ./show-output.txt +(show.sh:113) test 'package '\''simple'\''' = 'package '\''simple'\''' ++(show.sh:114) awk -F '[:] ' '/bOneLineDescription/{print $NF}' ./show-output.txt +(show.sh:114) test 'package '\''simple'\'' - '\''one line'\''' = 'package '\''simple'\'' - '\''one line'\''' ++(show.sh:115) awk -F '[:] ' '/cMultiLineDescription/{print $NF}' ./show-output.txt +(show.sh:115) test 'package '\''simple'\'' - '\''line one'\''' = 'package '\''simple'\'' - '\''line one'\''' ++(show.sh:116) awk -F '[:] ' '/dLongDescription/{print $NF}' ./show-output.txt +(show.sh:116) test 'package '\''simple'\'' - '\''abcdefghijklmnopqrstu…'\''' = 'package '\''simple'\'' - '\''abcdefghijklmnopqrstu…'\''' ++(show.sh:117) awk -F '[:] ' '/eEmptyDescription/{print $NF}' ./show-output.txt +(show.sh:117) test 'package '\''simple'\''' = 'package '\''simple'\''' +(show.sh:121) runinpty sh -c ' stty rows 0 cols 0 TERM=xterm-256color NOCOLOR=1 nix flake show ' +(/build/source/build/tests/functional/common/vars-and-functions.sh:238) /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/build/misc/runinpty.py sh -c ' stty rows 0 cols 0 TERM=xterm-256color NOCOLOR=1 nix flake show ' ++(show.sh:125) awk -F '[:] ' '/aNoDescription/{print $NF}' ./show-output.txt +(show.sh:125) test 'package '\''simple'\''' = 'package '\''simple'\''' ++(show.sh:126) awk -F '[:] ' '/bOneLineDescription/{print $NF}' ./show-output.txt +(show.sh:126) test 'package '\''simple'\''' = 'package '\''simple'\''' ++(show.sh:127) awk -F '[:] ' '/cMultiLineDescription/{print $NF}' ./show-output.txt +(show.sh:127) test 'package '\''simple'\''' = 'package '\''simple'\''' ++(show.sh:128) awk -F '[:] ' '/dLongDescription/{print $NF}' ./show-output.txt +(show.sh:128) test 'package '\''simple'\''' = 'package '\''simple'\''' ++(show.sh:129) awk -F '[:] ' '/eEmptyDescription/{print $NF}' ./show-output.txt +(show.sh:129) test 'package '\''simple'\''' = 'package '\''simple'\''' ============================================================================== ================================== 147/161 =================================== test: lix:installcheck / functional-completions start time: 20:57:58 duration: 0.93s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=132 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py completions.sh ----------------------------------- stdout ----------------------------------- --log-format Set the format of log output; one of `raw`, `internal-json`, `bar`, `bar-with-logs`, `multiline` or `multiline-with-logs` allow-import-from-derivation Set the `allow-import-from-derivation` setting [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/completions +(init.sh:7) test -d /build/nix-test/completions +(init.sh:8) chmod -R u+w /build/nix-test/completions +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/completions +(init.sh:13) mkdir /build/nix-test/completions +(init.sh:15) mkdir /build/nix-test/completions/store +(init.sh:16) mkdir /build/nix-test/completions/var +(init.sh:17) mkdir -p /build/nix-test/completions/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/completions/var/nix +(init.sh:19) mkdir /build/nix-test/completions/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/completions/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(completions.sh:3) cd /build/nix-test/completions +(completions.sh:5) mkdir -p dep +(completions.sh:6) cat +(completions.sh:11) mkdir -p foo +(completions.sh:12) cat ++(completions.sh:12) realpath dep +(completions.sh:21) mkdir -p bar +(completions.sh:22) cat ++(completions.sh:22) realpath dep +(completions.sh:31) mkdir -p err +(completions.sh:32) cat ++(completions.sh:37) NIX_GET_COMPLETIONS=1 ++(completions.sh:37) nix buil +(completions.sh:37) [[ normal build == \n\o\r\m\a\l\ \b\u\i\l\d\ ]] ++(completions.sh:38) NIX_GET_COMPLETIONS=2 ++(completions.sh:38) nix flake metad +(completions.sh:38) [[ normal metadata == \n\o\r\m\a\l\ \m\e\t\a\d\a\t\a\ ]] ++(completions.sh:41) NIX_GET_COMPLETIONS=2 ++(completions.sh:41) nix build ./f +(completions.sh:41) [[ filenames ./foo == \f\i\l\e\n\a\m\e\s\ \.\/\f\o\o\ ]] ++(completions.sh:42) NIX_GET_COMPLETIONS=2 ++(completions.sh:42) nix build ./nonexistent +(completions.sh:42) [[ filenames == \f\i\l\e\n\a\m\e\s ]] ++(completions.sh:45) NIX_GET_COMPLETIONS=4 ++(completions.sh:45) nix build ./foo --override-input '' +(completions.sh:45) [[ normal a == \n\o\r\m\a\l\ \a\ ]] ++(completions.sh:46) NIX_GET_COMPLETIONS=5 ++(completions.sh:46) nix flake show ./foo --override-input '' +(completions.sh:46) [[ normal a == \n\o\r\m\a\l\ \a\ ]] +(completions.sh:47) cd ./foo ++(completions.sh:48) NIX_GET_COMPLETIONS=3 ++(completions.sh:48) nix flake update '' +(completions.sh:48) [[ normal a == \n\o\r\m\a\l\ \a\ ]] +(completions.sh:49) cd .. ++(completions.sh:50) NIX_GET_COMPLETIONS=5 ++(completions.sh:50) nix flake update --flake ./foo '' +(completions.sh:50) [[ normal a == \n\o\r\m\a\l\ \a\ ]] ++(completions.sh:52) NIX_GET_COMPLETIONS=5 ++(completions.sh:52) nix build ./foo ./bar --override-input '' +(completions.sh:52) [[ normal a b == \n\o\r\m\a\l\ \a\ \ \b\ ]] ++(completions.sh:54) HOME=/build/nix-test/completions ++(completions.sh:54) NIX_GET_COMPLETIONS=4 ++(completions.sh:54) nix build '~/foo' --override-input '' +(completions.sh:54) [[ normal a == \n\o\r\m\a\l\ \a\ ]] ++(completions.sh:55) HOME=/build/nix-test/completions ++(completions.sh:55) NIX_GET_COMPLETIONS=5 ++(completions.sh:55) nix flake update --flake '~/foo' '' +(completions.sh:55) [[ normal a == \n\o\r\m\a\l\ \a\ ]] ++(completions.sh:57) NIX_GET_COMPLETIONS=3 ++(completions.sh:57) nix build --override-input '' '' ./foo +(completions.sh:57) [[ normal a == \n\o\r\m\a\l\ \a\ ]] ++(completions.sh:58) NIX_GET_COMPLETIONS=4 ++(completions.sh:58) nix build ./foo --override-input '' '' ./bar +(completions.sh:58) [[ normal a b == \n\o\r\m\a\l\ \a\ \ \b\ ]] +(completions.sh:61) NIX_GET_COMPLETIONS=2 +(completions.sh:61) nix build --log-form +(completions.sh:61) grep -- --log-format +(completions.sh:65) NIX_GET_COMPLETIONS=3 +(completions.sh:65) nix build --option allow-import-from +(completions.sh:65) grep -- allow-import-from-derivation ++(completions.sh:70) NIX_GET_COMPLETIONS=2 ++(completions.sh:70) nix eval ./foo#sam +(completions.sh:70) [[ attrs ./foo#sampleOutput == \a\t\t\r\s\ \.\/\f\o\o\#\s\a\m\p\l\e\O\u\t\p\u\t\ ]] ++(completions.sh:71) NIX_GET_COMPLETIONS=4 ++(completions.sh:71) nix eval --file ./foo/flake.nix outp +(completions.sh:71) [[ attrs outputs == \a\t\t\r\s\ \o\u\t\p\u\t\s\ ]] ++(completions.sh:72) NIX_GET_COMPLETIONS=4 ++(completions.sh:72) nix eval --file ./err/flake.nix outp +(completions.sh:72) [[ attrs == \a\t\t\r\s ]] ++(completions.sh:73) NIX_GET_COMPLETIONS=2 ++(completions.sh:73) nix eval ./err# +(completions.sh:73) [[ attrs == \a\t\t\r\s ]] ============================================================================== ================================== 148/161 =================================== test: lix:installcheck / functional-toString-path start time: 20:57:59 duration: 0.26s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=9 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py toString-path.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/toString-path +(init.sh:7) test -d /build/nix-test/toString-path +(init.sh:8) chmod -R u+w /build/nix-test/toString-path +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/toString-path +(init.sh:13) mkdir /build/nix-test/toString-path +(init.sh:15) mkdir /build/nix-test/toString-path/store +(init.sh:16) mkdir /build/nix-test/toString-path/var +(init.sh:17) mkdir -p /build/nix-test/toString-path/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/toString-path/var/nix +(init.sh:19) mkdir /build/nix-test/toString-path/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/toString-path/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(toString-path.sh:3) mkdir -p /build/nix-test/toString-path/foo +(toString-path.sh:4) echo bla ++(toString-path.sh:6) nix eval --raw --impure --expr 'builtins.readFile (builtins.toString (builtins.fetchTree { type = "path"; path = "/build/nix-test/toString-path/foo"; } + "/bar"))' warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/toString-path/foo' +(toString-path.sh:6) [[ bla = bla ]] ++(toString-path.sh:8) nix eval --json --impure --expr 'builtins.readDir (builtins.toString (builtins.fetchTree { type = "path"; path = "/build/nix-test/toString-path/foo"; }))' warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/toString-path/foo' +(toString-path.sh:8) [[ {"bar":"regular"} = \{\"\b\a\r\"\:\"\r\e\g\u\l\a\r\"\} ]] ============================================================================== ================================== 149/161 =================================== test: lix:installcheck / functional-build-delete start time: 20:57:57 duration: 1.76s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=99 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build-delete.sh ----------------------------------- stdout ----------------------------------- clearing store... 1 store paths deleted, 0.00 MiB freed 1 store paths deleted, 0.00 MiB freed 1 store paths deleted, 0.00 MiB freed 1 store paths deleted, 0.00 MiB freed 1 store paths deleted, 0.00 MiB freed 1 store paths deleted, 0.00 MiB freed 1 store paths deleted, 0.00 MiB freed 1 store paths deleted, 0.00 MiB freed [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build-delete +(init.sh:7) test -d /build/nix-test/build-delete +(init.sh:8) chmod -R u+w /build/nix-test/build-delete +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build-delete +(init.sh:13) mkdir /build/nix-test/build-delete +(init.sh:15) mkdir /build/nix-test/build-delete/store +(init.sh:16) mkdir /build/nix-test/build-delete/var +(init.sh:17) mkdir -p /build/nix-test/build-delete/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build-delete/var/nix +(init.sh:19) mkdir /build/nix-test/build-delete/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build-delete/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build-delete.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/build-delete/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/build-delete/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/build-delete/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/build-delete/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/build-delete/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/build-delete/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/build-delete/test-home/.local/state/nix/profiles +(build-delete.sh:31) issue_6572_independent_outputs +(build-delete.sh:7) nix build -f multiple-outputs.nix --json independent --no-link warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/build-delete/store/n7navjhdj79zz3a6qfg40bdrxkmnjacz-multiple-outputs-independent.drv building '/build/nix-test/build-delete/store/n7navjhdj79zz3a6qfg40bdrxkmnjacz-multiple-outputs-independent.drv'... ++(build-delete.sh:10) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/build-delete/store/qznfcs1nv71g4b48dgs3n8h276c7icav-multiple-outputs-a.drv /build/nix-test/build-delete/store/6b0ac1gq0a1wpmcxlgbva9317p8dh84c-use-independent.drv building '/build/nix-test/build-delete/store/qznfcs1nv71g4b48dgs3n8h276c7icav-multiple-outputs-a.drv'... building '/build/nix-test/build-delete/store/6b0ac1gq0a1wpmcxlgbva9317p8dh84c-use-independent.drv'... +(build-delete.sh:10) p=/build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent +(build-delete.sh:11) nix-store --delete /build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent finding garbage collector roots... deleting '/build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent' deleting unused links... note: currently hard linking saves 0.00 MiB ++(build-delete.sh:14) jq -r '.[0].outputs.first' +(build-delete.sh:14) nix-store --delete /build/nix-test/build-delete/store/mw01js17b83jpgx2hjmnas5vmhmqx9m5-multiple-outputs-independent-first finding garbage collector roots... deleting '/build/nix-test/build-delete/store/mw01js17b83jpgx2hjmnas5vmhmqx9m5-multiple-outputs-independent-first' deleting unused links... note: currently hard linking saves 0.00 MiB ++(build-delete.sh:15) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/build-delete/store/6b0ac1gq0a1wpmcxlgbva9317p8dh84c-use-independent.drv building '/build/nix-test/build-delete/store/6b0ac1gq0a1wpmcxlgbva9317p8dh84c-use-independent.drv'... +(build-delete.sh:15) p=/build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent +(build-delete.sh:16) cmp /build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent +(build-delete.sh:20) nix-store --delete /build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent finding garbage collector roots... deleting '/build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent' deleting unused links... note: currently hard linking saves 0.00 MiB ++(build-delete.sh:23) jq -r '.[0].outputs.second' +(build-delete.sh:23) nix-store --delete /build/nix-test/build-delete/store/q4r61cnqahbbdw7ikn2ji8v8wbhxm7nz-multiple-outputs-independent-second finding garbage collector roots... deleting '/build/nix-test/build-delete/store/q4r61cnqahbbdw7ikn2ji8v8wbhxm7nz-multiple-outputs-independent-second' deleting unused links... note: currently hard linking saves 0.00 MiB ++(build-delete.sh:24) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/build-delete/store/6b0ac1gq0a1wpmcxlgbva9317p8dh84c-use-independent.drv building '/build/nix-test/build-delete/store/6b0ac1gq0a1wpmcxlgbva9317p8dh84c-use-independent.drv'... +(build-delete.sh:24) p=/build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent +(build-delete.sh:25) cmp /build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent +(build-delete.sh:29) nix-store --delete /build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent finding garbage collector roots... deleting '/build/nix-test/build-delete/store/cjy0m2dg6lc8nqr9rlrdsddi5w35gjc4-use-independent' deleting unused links... note: currently hard linking saves 0.00 MiB +(build-delete.sh:52) isDaemonNewer 2.12pre0 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(build-delete.sh:53) issue_6572_dependent_outputs +(build-delete.sh:37) nix build -f multiple-outputs.nix --json a --no-link warning: you don't have Internet access; disabling some network-dependent features ++(build-delete.sh:40) nix build -f multiple-outputs.nix use-a --no-link --print-out-paths warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/build-delete/store/064q5yzayv7d9qbfj9q5v416pfzzlnwy-use-a.drv building '/build/nix-test/build-delete/store/064q5yzayv7d9qbfj9q5v416pfzzlnwy-use-a.drv'... +(build-delete.sh:40) p=/build/nix-test/build-delete/store/lyww6v02b2an36n1invb6s52j507c1zb-use-a +(build-delete.sh:41) nix-store --delete /build/nix-test/build-delete/store/lyww6v02b2an36n1invb6s52j507c1zb-use-a finding garbage collector roots... deleting '/build/nix-test/build-delete/store/lyww6v02b2an36n1invb6s52j507c1zb-use-a' deleting unused links... note: currently hard linking saves 0.00 MiB ++(build-delete.sh:44) jq -r '.[0].outputs.second' +(build-delete.sh:44) nix-store --delete /build/nix-test/build-delete/store/ixjsmjcc5jvmrjv3jihhbfsal0sm1lv9-multiple-outputs-a-second finding garbage collector roots... deleting '/build/nix-test/build-delete/store/ixjsmjcc5jvmrjv3jihhbfsal0sm1lv9-multiple-outputs-a-second' deleting unused links... note: currently hard linking saves 0.00 MiB ++(build-delete.sh:45) nix build -f multiple-outputs.nix use-a --no-link --print-out-paths warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/build-delete/store/qznfcs1nv71g4b48dgs3n8h276c7icav-multiple-outputs-a.drv /build/nix-test/build-delete/store/064q5yzayv7d9qbfj9q5v416pfzzlnwy-use-a.drv building '/build/nix-test/build-delete/store/qznfcs1nv71g4b48dgs3n8h276c7icav-multiple-outputs-a.drv'... building '/build/nix-test/build-delete/store/064q5yzayv7d9qbfj9q5v416pfzzlnwy-use-a.drv'... +(build-delete.sh:45) p=/build/nix-test/build-delete/store/lyww6v02b2an36n1invb6s52j507c1zb-use-a +(build-delete.sh:46) cmp /build/nix-test/build-delete/store/lyww6v02b2an36n1invb6s52j507c1zb-use-a +(build-delete.sh:50) nix-store --delete /build/nix-test/build-delete/store/lyww6v02b2an36n1invb6s52j507c1zb-use-a finding garbage collector roots... deleting '/build/nix-test/build-delete/store/lyww6v02b2an36n1invb6s52j507c1zb-use-a' deleting unused links... note: currently hard linking saves 0.00 MiB ============================================================================== ================================== 150/161 =================================== test: lix:installcheck / functional-debugger start time: 20:57:59 duration: 0.28s result: exit status 0 command: MALLOC_PERTURB_=88 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py debugger.sh ----------------------------------- stdout ----------------------------------- clearing store... Env level 0 static: _  Env level 1 abort baseNameOf break builtins derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true  with: a  static: x  [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/debugger +(init.sh:7) test -d /build/nix-test/debugger +(init.sh:8) chmod -R u+w /build/nix-test/debugger +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/debugger +(init.sh:13) mkdir /build/nix-test/debugger +(init.sh:15) mkdir /build/nix-test/debugger/store +(init.sh:16) mkdir /build/nix-test/debugger/var +(init.sh:17) mkdir -p /build/nix-test/debugger/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/debugger/var/nix +(init.sh:19) mkdir /build/nix-test/debugger/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/debugger/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(debugger.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/debugger/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/debugger/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/debugger/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/debugger/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/debugger/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/debugger/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/debugger/test-home/.local/state/nix/profiles +(debugger.sh:6) echo :env +(debugger.sh:6) expect 1 nix eval --debugger --expr '(_: throw "oh snap") 42' +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix eval --debugger --expr '(_: throw "oh snap") 42' warning: you don't have Internet access; disabling some network-dependent features error: oh snap Lix 2.91.0 debugger Type :? for help. error: … from call site at «string»:1:1: 1| (_: throw "oh snap") 42 | ^ … while calling anonymous lambda at «string»:1:2: 1| (_: throw "oh snap") 42 | ^ … while calling the 'throw' builtin at «string»:1:5: 1| (_: throw "oh snap") 42 | ^ error: oh snap +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(debugger.sh:7) echo :env +(debugger.sh:7) expect 1 nix eval --debugger --expr ' let x.a = 1; in with x; (_: builtins.seq x.a (throw "oh snap")) x.a ' +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix eval --debugger --expr ' let x.a = 1; in with x; (_: builtins.seq x.a (throw "oh snap")) x.a ' warning: you don't have Internet access; disabling some network-dependent features error: oh snap Lix 2.91.0 debugger Type :? for help. error: … from call site at «string»:4:3: 3| with x; 4| (_: builtins.seq x.a (throw "oh snap")) x.a | ^ 5| … while calling anonymous lambda at «string»:4:4: 3| with x; 4| (_: builtins.seq x.a (throw "oh snap")) x.a | ^ 5| … while calling the 'seq' builtin at «string»:4:7: 3| with x; 4| (_: builtins.seq x.a (throw "oh snap")) x.a | ^ 5| … while calling the 'throw' builtin at «string»:4:25: 3| with x; 4| (_: builtins.seq x.a (throw "oh snap")) x.a | ^ 5| error: oh snap +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(debugger.sh:12) grep -P 'with: .*a' debugger-test-out +(debugger.sh:13) grep -P 'static: .*x' debugger-test-out ============================================================================== ================================== 151/161 =================================== test: lix:installcheck / functional-build start time: 20:57:57 duration: 1.92s result: exit status 0 command: MALLOC_PERTURB_=53 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py build.sh ----------------------------------- stdout ----------------------------------- clearing store... true true true true true [{"drvPath":"/build/nix-test/build/store/5la1b9brj7pb9ypbbxldbs3d91jdh8yh-multiple-outputs-e.drv","outputs":{"a_a":"/build/nix-test/build/store/rz36zj9liparjsdivzlkpfg9k306gg34-multiple-outputs-e-a_a"}}] true true true { "offset": 0, "length": 83, "string": "/build/nix-test/build/store/5la1b9brj7pb9ypbbxldbs3d91jdh8yh-multiple-outputs-e.drv", "captures": [] } true true true true true true [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/build +(init.sh:7) test -d /build/nix-test/build +(init.sh:8) chmod -R u+w /build/nix-test/build +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/build +(init.sh:13) mkdir /build/nix-test/build +(init.sh:15) mkdir /build/nix-test/build/store +(init.sh:16) mkdir /build/nix-test/build/var +(init.sh:17) mkdir -p /build/nix-test/build/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/build/var/nix +(init.sh:19) mkdir /build/nix-test/build/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/build/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(build.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/build/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/build/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/build/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/build/test-home/.local/state/nix/profiles +(build.sh:6) nix build -f multiple-outputs.nix --json a b --no-link +(build.sh:6) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | (keys | length == 2) and (.first | match(".*multiple-outputs-a-first")) and (.second | match(".*multiple-outputs-a-second")))) and (.[1] | (.drvPath | match(".*multiple-outputs-b.drv")) and (.outputs | (keys | length == 1) and (.out | match(".*multiple-outputs-b")))) ' warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv /build/nix-test/build/store/4f797bynr60pyx4rm7b6k5karqwl37qk-multiple-outputs-b.drv building '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv'... building '/build/nix-test/build/store/4f797bynr60pyx4rm7b6k5karqwl37qk-multiple-outputs-b.drv'... +(build.sh:21) nix build -f multiple-outputs.nix --json 'a^first' --no-link +(build.sh:21) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | keys == ["first"])) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:27) nix build -f multiple-outputs.nix --json 'a^second,first' --no-link +(build.sh:27) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | keys == ["first", "second"])) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:33) nix build -f multiple-outputs.nix --json 'a^*' --no-link +(build.sh:33) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | keys == ["first", "second"])) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:40) nix build -f multiple-outputs.nix --json e --no-link +(build.sh:40) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a", "b"])) ' warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/build/store/5la1b9brj7pb9ypbbxldbs3d91jdh8yh-multiple-outputs-e.drv building '/build/nix-test/build/store/5la1b9brj7pb9ypbbxldbs3d91jdh8yh-multiple-outputs-e.drv'... +(build.sh:47) nix build -f multiple-outputs.nix --json 'e^a_a' --no-link warning: you don't have Internet access; disabling some network-dependent features +(build.sh:48) nix build -f multiple-outputs.nix --json 'e^a_a' --no-link +(build.sh:48) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a"])) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:54) nix build -f multiple-outputs.nix --json 'e^*' --no-link +(build.sh:54) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a", "b", "c"])) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:62) nix build -f multiple-outputs.nix --json e.a_a.outPath --no-link +(build.sh:62) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a"])) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:69) expectStderr 1 nix build -f multiple-outputs.nix e.a_a.drvPath +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build -f multiple-outputs.nix e.a_a.drvPath +(build.sh:70) grepQuiet 'has a context which refers to a complete source and binary closure.' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has a context which refers to a complete source and binary closure.' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(build.sh:73) expectStderr 1 nix build --expr '""' --no-link +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build --expr '""' --no-link +(build.sh:74) grepQuiet 'has 0 entries in its context. It should only have exactly one entry' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has 0 entries in its context. It should only have exactly one entry' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(build.sh:77) expectStderr 1 nix build --impure --expr 'with (import ./multiple-outputs.nix).e.a_a; "${drvPath}${outPath}"' --no-link +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(build.sh:78) grepQuiet 'has 2 entries in its context. It should only have exactly one entry' +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix build --impure --expr 'with (import ./multiple-outputs.nix).e.a_a; "${drvPath}${outPath}"' --no-link +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'has 2 entries in its context. It should only have exactly one entry' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(build.sh:80) nix build --impure --json --expr 'builtins.unsafeDiscardOutputDependency (import ./multiple-outputs.nix).e.a_a.drvPath' --no-link +(build.sh:80) jq --exit-status ' (.[0] | match(".*multiple-outputs-e.drv")) ' warning: you don't have Internet access; disabling some network-dependent features ++(build.sh:86) nix eval -f multiple-outputs.nix --raw a.drvPath warning: you don't have Internet access; disabling some network-dependent features +(build.sh:86) drv=/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv +(build.sh:87) nix build '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^not-an-output' --no-link --json warning: you don't have Internet access; disabling some network-dependent features error: derivation '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv' does not have wanted outputs 'not-an-output' +(build.sh:91) nix build '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^' --no-link --json warning: you don't have Internet access; disabling some network-dependent features error: invalid extended outputs specifier '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^' +(build.sh:95) nix build '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^*nope' --no-link --json warning: you don't have Internet access; disabling some network-dependent features error: invalid extended outputs specifier '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^*nope' +(build.sh:99) nix build '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^first' --no-link --json +(build.sh:99) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | (keys | length == 1) and (.first | match(".*multiple-outputs-a-first")) and (has("second") | not))) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:108) nix build '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^first,second' --no-link --json +(build.sh:108) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | (keys | length == 2) and (.first | match(".*multiple-outputs-a-first")) and (.second | match(".*multiple-outputs-a-second")))) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:117) nix build '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^*' --no-link --json +(build.sh:117) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-a.drv")) and (.outputs | (keys | length == 2) and (.first | match(".*multiple-outputs-a-first")) and (.second | match(".*multiple-outputs-a-second")))) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:127) nix build --impure -f multiple-outputs.nix --json e --no-link +(build.sh:127) jq --exit-status ' (.[0] | (.drvPath | match(".*multiple-outputs-e.drv")) and (.outputs | keys == ["a_a", "b"])) ' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:134) nix build --no-link --stdin --json +(build.sh:134) printf '' +(build.sh:134) jq --exit-status '. == []' warning: you don't have Internet access; disabling some network-dependent features +(build.sh:135) printf '%s\n' '/build/nix-test/build/store/awfdiisnrpxs7bki534bk1q49j7xq3bh-multiple-outputs-a.drv^*' +(build.sh:135) nix build --no-link --stdin --json +(build.sh:135) jq --exit-status '.[0]|has("drvPath")' warning: you don't have Internet access; disabling some network-dependent features ++(build.sh:138) nix build -f fod-failing.nix -L +(build.sh:138) out='warning: you don'\''t have Internet access; disabling some network-dependent features these 4 derivations will be built: /build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv /build/nix-test/build/store/f83n6q0iijc9a533zw3h75izzmhdimwp-x1.drv /build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv /build/nix-test/build/store/rd6gicns5nq6r6p32akdzmvrq6vhys15-x4.drv building '\''/build/nix-test/build/store/f83n6q0iijc9a533zw3h75izzmhdimwp-x1.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/build/store/f83n6q0iijc9a533zw3h75izzmhdimwp-x1.drv'\'': likely URL: https://meow.puppy.forge/puppy.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-a1Qvp3FOOkWpL9kFHgugU1ok5UtRPSu+NwCZKbbaEro= error: build of '\''/build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv^out'\'', '\''/build/nix-test/build/store/f83n6q0iijc9a533zw3h75izzmhdimwp-x1.drv^out'\'', '\''/build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv^out'\'', '\''/build/nix-test/build/store/rd6gicns5nq6r6p32akdzmvrq6vhys15-x4.drv^out'\'' failed' +(build.sh:138) status=1 +(build.sh:139) test 1 = 1 ++(build.sh:141) grep -E '^error:' ++(build.sh:141) wc -l +(build.sh:141) test 2 = 2 +(build.sh:142) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\''' +(build.sh:143) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' +(build.sh:144) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' +(build.sh:145) grepQuiet -E 'likely URL: https://meow.puppy.forge/puppy.tar.gz' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'likely URL: https://meow.puppy.forge/puppy.tar.gz' +(build.sh:146) grepQuiet -vE 'likely URL: https://kitty.forge/cat.tar.gz' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'likely URL: https://kitty.forge/cat.tar.gz' +(build.sh:147) grepQuiet -E 'error: build of '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'' failed' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'error: build of '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'' failed' ++(build.sh:149) nix build -f fod-failing.nix -L x1 x2 x3 --keep-going +(build.sh:149) out='warning: you don'\''t have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv /build/nix-test/build/store/f83n6q0iijc9a533zw3h75izzmhdimwp-x1.drv /build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv building '\''/build/nix-test/build/store/f83n6q0iijc9a533zw3h75izzmhdimwp-x1.drv'\''... building '\''/build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv'\''... building '\''/build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/build/store/f83n6q0iijc9a533zw3h75izzmhdimwp-x1.drv'\'': likely URL: https://meow.puppy.forge/puppy.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-a1Qvp3FOOkWpL9kFHgugU1ok5UtRPSu+NwCZKbbaEro= error: hash mismatch in fixed-output derivation '\''/build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv'\'': likely URL: https://kitty.forge/cat.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk= error: hash mismatch in fixed-output derivation '\''/build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv'\'': likely URL: (unknown) specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-DbCEqRfR8yZl2skxnBthgysFiZPiP6U5JQ9/Bp7IQI4= error: build of '\''/build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv^out'\'', '\''/build/nix-test/build/store/f83n6q0iijc9a533zw3h75izzmhdimwp-x1.drv^out'\'', '\''/build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv^out'\'' failed' +(build.sh:149) status=1 +(build.sh:150) test 1 = 1 ++(build.sh:152) grep -E '^error:' ++(build.sh:152) wc -l +(build.sh:152) test 4 = 4 +(build.sh:153) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\''' +(build.sh:154) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' +(build.sh:155) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' +(build.sh:156) grepQuiet -E 'likely URL: https://meow.puppy.forge/puppy.tar.gz' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'likely URL: https://meow.puppy.forge/puppy.tar.gz' +(build.sh:157) grepQuiet -E 'likely URL: https://kitty.forge/cat.tar.gz' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'likely URL: https://kitty.forge/cat.tar.gz' +(build.sh:158) grepQuiet -E 'likely URL: \(unknown\)' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'likely URL: \(unknown\)' +(build.sh:159) grepQuiet -E 'error: build of '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'' failed' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'error: build of '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'' failed' ++(build.sh:161) nix build -f fod-failing.nix -L x4 +(build.sh:161) out='warning: you don'\''t have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv /build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv /build/nix-test/build/store/rd6gicns5nq6r6p32akdzmvrq6vhys15-x4.drv building '\''/build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv'\'': likely URL: https://kitty.forge/cat.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk= error: 1 dependencies of derivation '\''/build/nix-test/build/store/rd6gicns5nq6r6p32akdzmvrq6vhys15-x4.drv'\'' failed to build' +(build.sh:161) status=1 +(build.sh:162) test 1 = 1 ++(build.sh:163) grep -E '^error:' ++(build.sh:163) wc -l +(build.sh:163) test 2 = 2 +(build.sh:164) grepQuiet -E 'error: 1 dependencies of derivation '\''.*-x4\.drv'\'' failed to build' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'error: 1 dependencies of derivation '\''.*-x4\.drv'\'' failed to build' +(build.sh:165) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ++(build.sh:167) nix build -f fod-failing.nix -L x4 --keep-going +(build.sh:167) out='warning: you don'\''t have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv /build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv /build/nix-test/build/store/rd6gicns5nq6r6p32akdzmvrq6vhys15-x4.drv building '\''/build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/build/store/8fdrgwci8g0r72mr0qivawzlc7lrv01n-x2.drv'\'': likely URL: https://kitty.forge/cat.tar.gz specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk= building '\''/build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv'\''... error: hash mismatch in fixed-output derivation '\''/build/nix-test/build/store/hkya6spsnkx91czjs07v1pschqds3p1x-x3.drv'\'': likely URL: (unknown) specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= got: sha256-DbCEqRfR8yZl2skxnBthgysFiZPiP6U5JQ9/Bp7IQI4= error: 2 dependencies of derivation '\''/build/nix-test/build/store/rd6gicns5nq6r6p32akdzmvrq6vhys15-x4.drv'\'' failed to build' +(build.sh:167) status=1 +(build.sh:168) test 1 = 1 ++(build.sh:169) grep -E '^error:' ++(build.sh:169) wc -l +(build.sh:169) test 3 = 3 +(build.sh:170) grepQuiet -E 'error: 2 dependencies of derivation '\''.*-x4\.drv'\'' failed to build' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -E 'error: 2 dependencies of derivation '\''.*-x4\.drv'\'' failed to build' +(build.sh:171) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\''' +(build.sh:172) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\''' ============================================================================== ================================== 152/161 =================================== test: lix:installcheck / functional-read-only-store start time: 20:57:59 duration: 0.55s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=193 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py read-only-store.sh ----------------------------------- stdout ----------------------------------- clearing store... /build/nix-test/read-only-store/store/v526rm07pry885plibvlr9f6wp4cv05g-dummy /build/nix-test/read-only-store/store/v526rm07pry885plibvlr9f6wp4cv05g-dummy /build/nix-test/read-only-store/store/v526rm07pry885plibvlr9f6wp4cv05g-dummy /build/nix-test/read-only-store/store/v526rm07pry885plibvlr9f6wp4cv05g-dummy [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/read-only-store +(init.sh:7) test -d /build/nix-test/read-only-store +(init.sh:8) chmod -R u+w /build/nix-test/read-only-store +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/read-only-store +(init.sh:13) mkdir /build/nix-test/read-only-store +(init.sh:15) mkdir /build/nix-test/read-only-store/store +(init.sh:16) mkdir /build/nix-test/read-only-store/var +(init.sh:17) mkdir -p /build/nix-test/read-only-store/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/read-only-store/var/nix +(init.sh:19) mkdir /build/nix-test/read-only-store/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/read-only-store/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(read-only-store.sh:3) enableFeatures read-only-local-store +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=read-only-local-store +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& read-only-local-store/' /build/nix-test/read-only-store/etc/nix.conf +(read-only-store.sh:5) needLocalStore 'cannot open store read-only when daemon has already opened it writeable' +(/build/source/build/tests/functional/common/vars-and-functions.sh:222) [[ '' == \d\a\e\m\o\n ]] +(read-only-store.sh:7) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/read-only-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/read-only-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/read-only-store/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/read-only-store/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/read-only-store/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/read-only-store/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/read-only-store/test-home/.local/state/nix/profiles +(read-only-store.sh:19) expectStderr 1 nix-store --store 'local?read-only=true' --add dummy +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-store --store 'local?read-only=true' --add dummy +(read-only-store.sh:19) grepQuiet 'database does not exist, and cannot be created in read-only mode' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'database does not exist, and cannot be created in read-only mode' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 ++(read-only-store.sh:22) nix-store --add dummy +(read-only-store.sh:22) dummyPath=/build/nix-test/read-only-store/store/v526rm07pry885plibvlr9f6wp4cv05g-dummy +(read-only-store.sh:25) expectStderr 1 nix-store --store 'local?read-only=true' --add eval.nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-store --store 'local?read-only=true' --add eval.nix +(read-only-store.sh:25) grepQuiet 'attempt to write a readonly database' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'attempt to write a readonly database' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(read-only-store.sh:28) happy +(read-only-store.sh:11) nix --store 'local?read-only=true' path-info /build/nix-test/read-only-store/store/v526rm07pry885plibvlr9f6wp4cv05g-dummy warning: you don't have Internet access; disabling some network-dependent features +(read-only-store.sh:14) nix-store --store 'local?read-only=true' --add dummy +(read-only-store.sh:33) chmod -R -w /build/nix-test/read-only-store/store +(read-only-store.sh:34) chmod -R -w /build/nix-test/read-only-store/var +(read-only-store.sh:38) expectStderr 1 nix-store --add eval.nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-store --add eval.nix ++(read-only-store.sh:38) readlink -e /build/nix-test/read-only-store +(read-only-store.sh:38) grepQuiet 'error: opening lock file '\''/build/nix-test/read-only-store/var/nix/db/big-lock'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'error: opening lock file '\''/build/nix-test/read-only-store/var/nix/db/big-lock'\''' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(read-only-store.sh:39) expectStderr 1 nix-store --store 'local?read-only=true' --add eval.nix +(read-only-store.sh:39) grepQuiet 'Permission denied' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'Permission denied' +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix-store --store 'local?read-only=true' --add eval.nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(read-only-store.sh:42) happy +(read-only-store.sh:11) nix --store 'local?read-only=true' path-info /build/nix-test/read-only-store/store/v526rm07pry885plibvlr9f6wp4cv05g-dummy warning: you don't have Internet access; disabling some network-dependent features +(read-only-store.sh:14) nix-store --store 'local?read-only=true' --add dummy ============================================================================== ================================== 153/161 =================================== test: lix:installcheck / functional-extra-sandbox-profile start time: 20:57:59 duration: 0.17s result: exit status 77 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=139 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py extra-sandbox-profile.sh ----------------------------------- stdout ----------------------------------- [SKIP] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/extra-sandbox-profile +(init.sh:7) test -d /build/nix-test/extra-sandbox-profile +(init.sh:8) chmod -R u+w /build/nix-test/extra-sandbox-profile +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/extra-sandbox-profile +(init.sh:13) mkdir /build/nix-test/extra-sandbox-profile +(init.sh:15) mkdir /build/nix-test/extra-sandbox-profile/store +(init.sh:16) mkdir /build/nix-test/extra-sandbox-profile/var +(init.sh:17) mkdir -p /build/nix-test/extra-sandbox-profile/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/extra-sandbox-profile/var/nix +(init.sh:19) mkdir /build/nix-test/extra-sandbox-profile/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/extra-sandbox-profile/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(extra-sandbox-profile.sh:3) uname +(extra-sandbox-profile.sh:3) [[ Linux != Darwin ]] +(extra-sandbox-profile.sh:3) skipTest 'Need Darwin' +(/build/source/build/tests/functional/common/vars-and-functions.sh:159) echo 'Need Darwin, skipping this test...' Need Darwin, skipping this test... +(/build/source/build/tests/functional/common/vars-and-functions.sh:160) exit 99 ============================================================================== ================================== 154/161 =================================== test: lix:installcheck / functional-impure-derivations start time: 20:57:58 duration: 1.35s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=125 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py impure-derivations.sh ----------------------------------- stdout ----------------------------------- clearing store... [{"drvPath":"/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv","outputs":{"out":null,"stuff":null}}] error: pure derivation '/build/nix-test/impure-derivations/store/mf73yrmkchij5sphfswb3g97nhlaq27m-input-addressed.drv' depends on impure derivation '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv' [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/impure-derivations +(init.sh:7) test -d /build/nix-test/impure-derivations +(init.sh:8) chmod -R u+w /build/nix-test/impure-derivations +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/impure-derivations +(init.sh:13) mkdir /build/nix-test/impure-derivations +(init.sh:15) mkdir /build/nix-test/impure-derivations/store +(init.sh:16) mkdir /build/nix-test/impure-derivations/var +(init.sh:17) mkdir -p /build/nix-test/impure-derivations/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/impure-derivations/var/nix +(init.sh:19) mkdir /build/nix-test/impure-derivations/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/impure-derivations/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(impure-derivations.sh:3) requireDaemonNewerThan 2.8pre20220311 +(/build/source/build/tests/functional/common/vars-and-functions.sh:164) isDaemonNewer 2.8pre20220311 +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:147) return 0 +(impure-derivations.sh:5) enableFeatures 'ca-derivations impure-derivations' +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local 'features=ca-derivations impure-derivations' +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations impure-derivations/' /build/nix-test/impure-derivations/etc/nix.conf +(impure-derivations.sh:6) restartDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(impure-derivations.sh:8) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/impure-derivations/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/impure-derivations/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/impure-derivations/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/impure-derivations/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/impure-derivations/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/impure-derivations/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/impure-derivations/test-home/.local/state/nix/profiles +(impure-derivations.sh:11) printf 0 ++(impure-derivations.sh:14) nix-instantiate ./impure-derivations.nix -A impure warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(impure-derivations.sh:14) drvPath=/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv +(impure-derivations.sh:15) nix derivation show /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv +(impure-derivations.sh:15) jq '.[]' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv^*' ++(impure-derivations.sh:16) nix derivation add warning: you don't have Internet access; disabling some network-dependent features +(impure-derivations.sh:16) drvPath2=/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv +(impure-derivations.sh:17) [[ /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv = \/\b\u\i\l\d\/\n\i\x\-\t\e\s\t\/\i\m\p\u\r\e\-\d\e\r\i\v\a\t\i\o\n\s\/\s\t\o\r\e\/\1\m\8\y\y\m\h\z\6\8\8\w\j\x\9\3\j\4\a\c\h\i\z\a\0\2\s\w\r\x\h\7\-\i\m\p\u\r\e\.\d\r\v ]] +(impure-derivations.sh:20) expectStderr 1 nix derivation add --experimental-features nix-command +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) nix derivation add --experimental-features nix-command +(impure-derivations.sh:20) grepQuiet 'experimental Lix feature '\''impure-derivations'\'' is disabled' +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep 'experimental Lix feature '\''impure-derivations'\'' is disabled' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(impure-derivations.sh:22) nix build --dry-run --json --file ./impure-derivations.nix impure.all warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv ++(impure-derivations.sh:23) nix build -L --no-link --json --file ./impure-derivations.nix impure.all warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv building '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv'... impure> impure +(impure-derivations.sh:23) json='[{"drvPath":"/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv","outputs":{"out":"/build/nix-test/impure-derivations/store/8hx29jgh76azjf0sms9ciciack4i4dbl-impure","stuff":"/build/nix-test/impure-derivations/store/f3285ywz275767ypzf534fmawlfljasp-impure-stuff"},"startTime":1725915479,"stopTime":1725915479}]' ++(impure-derivations.sh:24) echo '[{"drvPath":"/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv","outputs":{"out":"/build/nix-test/impure-derivations/store/8hx29jgh76azjf0sms9ciciack4i4dbl-impure","stuff":"/build/nix-test/impure-derivations/store/f3285ywz275767ypzf534fmawlfljasp-impure-stuff"},"startTime":1725915479,"stopTime":1725915479}]' ++(impure-derivations.sh:24) jq -r '.[].outputs.out' +(impure-derivations.sh:24) path1=/build/nix-test/impure-derivations/store/8hx29jgh76azjf0sms9ciciack4i4dbl-impure ++(impure-derivations.sh:25) echo '[{"drvPath":"/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv","outputs":{"out":"/build/nix-test/impure-derivations/store/8hx29jgh76azjf0sms9ciciack4i4dbl-impure","stuff":"/build/nix-test/impure-derivations/store/f3285ywz275767ypzf534fmawlfljasp-impure-stuff"},"startTime":1725915479,"stopTime":1725915479}]' ++(impure-derivations.sh:25) jq -r '.[].outputs.stuff' +(impure-derivations.sh:25) path1_stuff=/build/nix-test/impure-derivations/store/f3285ywz275767ypzf534fmawlfljasp-impure-stuff +(impure-derivations.sh:26) [[ 0 = 0 ]] +(impure-derivations.sh:27) [[ 0 = 0 ]] ++(impure-derivations.sh:29) nix path-info --json /build/nix-test/impure-derivations/store/8hx29jgh76azjf0sms9ciciack4i4dbl-impure ++(impure-derivations.sh:29) jq '.[].ca' warning: you don't have Internet access; disabling some network-dependent features +(impure-derivations.sh:29) [[ "fixed:r:sha256:1i747fmkax44x5zzd8s4vyjqd8qybw6hpvpzncwa7w41h5v53sab" =~ fixed:r:sha256: ]] ++(impure-derivations.sh:31) nix build -L --no-link --json --file ./impure-derivations.nix impure ++(impure-derivations.sh:31) jq -r '.[].outputs.out' warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv building '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv'... impure> impure +(impure-derivations.sh:31) path2=/build/nix-test/impure-derivations/store/97mg0fyscj3c41p0pq7hswygrs16fvrm-impure +(impure-derivations.sh:32) [[ 1 = 1 ]] ++(impure-derivations.sh:35) nix build -L --no-link --json --file ./impure-derivations.nix impureOnImpure ++(impure-derivations.sh:35) jq -r '.[].outputs.out' warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv /build/nix-test/impure-derivations/store/mvzqjz40z430lagwnc9rs36vil1nyc4y-impure-on-impure.drv building '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv'... impure> impure building '/build/nix-test/impure-derivations/store/02y9vfdj48zk0x2dmnqs0rkgg14v1gmw-impure-on-impure.drv'... impure-on-impure> impure-on-impure +(impure-derivations.sh:35) path3=/build/nix-test/impure-derivations/store/gnfbspfalrbvs9kqaj1l5rlm1310nbrq-impure-on-impure +(impure-derivations.sh:36) [[ X2 = X2 ]] ++(impure-derivations.sh:38) nix build -L --no-link --json --file ./impure-derivations.nix impureOnImpure ++(impure-derivations.sh:38) jq -r '.[].outputs.out' warning: you don't have Internet access; disabling some network-dependent features these 2 derivations will be built: /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv /build/nix-test/impure-derivations/store/mvzqjz40z430lagwnc9rs36vil1nyc4y-impure-on-impure.drv building '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv'... impure> impure building '/build/nix-test/impure-derivations/store/d4g86bj213rb1xa5wzibx7irxvq0ngw5-impure-on-impure.drv'... impure-on-impure> impure-on-impure +(impure-derivations.sh:38) path4=/build/nix-test/impure-derivations/store/y09gnd2dc5g55h63mmcfgbknkbysyfzm-impure-on-impure +(impure-derivations.sh:39) [[ X3 = X3 ]] +(impure-derivations.sh:42) [[ 3 = 3 ]] +(impure-derivations.sh:43) [[ X3 = X3 ]] +(impure-derivations.sh:46) nix build -L --no-link --json --file ./impure-derivations.nix inputAddressed +(impure-derivations.sh:46) grep 'depends on impure derivation' ++(impure-derivations.sh:48) nix eval --json --file ./impure-derivations.nix impure.drvPath ++(impure-derivations.sh:48) jq -r . warning: you don't have Internet access; disabling some network-dependent features +(impure-derivations.sh:48) drvPath=/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv ++(impure-derivations.sh:49) nix derivation show /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv ++(impure-derivations.sh:49) jq '.["/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv"].outputs.out.impure' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv^*' +(impure-derivations.sh:49) [[ true = true ]] ++(impure-derivations.sh:50) nix derivation show /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv ++(impure-derivations.sh:50) jq '.["/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv"].outputs.stuff.impure' warning: you don't have Internet access; disabling some network-dependent features warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv^*' +(impure-derivations.sh:50) [[ true = true ]] ++(impure-derivations.sh:53) nix build -L --no-link --json --file ./impure-derivations.nix contentAddressed ++(impure-derivations.sh:53) jq -r '.[].outputs.out' warning: you don't have Internet access; disabling some network-dependent features these 3 derivations will be built: /build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv /build/nix-test/impure-derivations/store/mvzqjz40z430lagwnc9rs36vil1nyc4y-impure-on-impure.drv /build/nix-test/impure-derivations/store/hcifliwn4ddpj08m2vkhwd4432wdvf54-content-addressed.drv building '/build/nix-test/impure-derivations/store/1m8yymhz688wjx93j4achiza02swrxh7-impure.drv'... impure> impure building '/build/nix-test/impure-derivations/store/1amq4kaizy175m1zm7zyx4wfwhjr5vf5-impure-on-impure.drv'... impure-on-impure> impure-on-impure building '/build/nix-test/impure-derivations/store/8wdn9d0pizplcpvnjvzv9f65rh92kvqd-content-addressed.drv'... content-addressed> content-addressed error: removing extended attribute 'btrfs.compression' from '/build/nix-test/impure-derivations/store/ggdlny86xfnrxpngk6ingmvnysvvi0qh-content-addressed': Permission denied +(impure-derivations.sh:53) path5= ++(impure-derivations.sh:53) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x impure-derivations.sh: test failed at: main in impure-derivations.sh:53 ============================================================================== ================================== 155/161 =================================== test: lix:installcheck / functional-test-libstoreconsumer start time: 20:57:59 duration: 0.33s result: exit status 0 command: MALLOC_PERTURB_=112 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build LD_LIBRARY_PATH=/build/source/build/src/libutil:/build/source/build/src/libstore 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py test-libstoreconsumer.sh ----------------------------------- stdout ----------------------------------- Derive([("out","/build/nix-test/test-libstoreconsumer/store/vjvw7z6lcwr1s6dbswxlhd0zzrdm7ak0-simple","","")],[],["/build/nix-test/test-libstoreconsumer/store/66m2mcciwhn9z2c3igj0klrdpgi10rll-simple.builder.sh"],"x86_64-linux","/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash",["-e","/build/nix-test/test-libstoreconsumer/store/66m2mcciwhn9z2c3igj0klrdpgi10rll-simple.builder.sh"],[("PATH",""),("builder","/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash"),("goodPath","/nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin"),("name","simple"),("out","/build/nix-test/test-libstoreconsumer/store/vjvw7z6lcwr1s6dbswxlhd0zzrdm7ak0-simple"),("system","x86_64-linux")])Hello World! [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/test-libstoreconsumer +(init.sh:7) test -d /build/nix-test/test-libstoreconsumer +(init.sh:8) chmod -R u+w /build/nix-test/test-libstoreconsumer +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/test-libstoreconsumer +(init.sh:13) mkdir /build/nix-test/test-libstoreconsumer +(init.sh:15) mkdir /build/nix-test/test-libstoreconsumer/store +(init.sh:16) mkdir /build/nix-test/test-libstoreconsumer/var +(init.sh:17) mkdir -p /build/nix-test/test-libstoreconsumer/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/test-libstoreconsumer/var/nix +(init.sh:19) mkdir /build/nix-test/test-libstoreconsumer/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/test-libstoreconsumer/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(test-libstoreconsumer.sh:3) nix-instantiate simple.nix warning: you did not specify '--add-root'; the result might be removed by the garbage collector +(test-libstoreconsumer.sh:3) drv=/build/nix-test/test-libstoreconsumer/store/5gz5cv94g0ibajb4lpgg13w21qc39yiw-simple.drv +(test-libstoreconsumer.sh:4) cat /build/nix-test/test-libstoreconsumer/store/5gz5cv94g0ibajb4lpgg13w21qc39yiw-simple.drv ++(test-libstoreconsumer.sh:5) ./test-libstoreconsumer/test-libstoreconsumer /build/nix-test/test-libstoreconsumer/store/5gz5cv94g0ibajb4lpgg13w21qc39yiw-simple.drv building '/build/nix-test/test-libstoreconsumer/store/5gz5cv94g0ibajb4lpgg13w21qc39yiw-simple.drv'... PATH= +(test-libstoreconsumer.sh:5) out=/build/nix-test/test-libstoreconsumer/store/vjvw7z6lcwr1s6dbswxlhd0zzrdm7ak0-simple +(test-libstoreconsumer.sh:6) cat /build/nix-test/test-libstoreconsumer/store/vjvw7z6lcwr1s6dbswxlhd0zzrdm7ak0-simple/hello +(test-libstoreconsumer.sh:6) grep -F 'Hello World!' ============================================================================== ================================== 156/161 =================================== test: lix:installcheck / functional-plugins start time: 20:57:59 duration: 0.24s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 LD_LIBRARY_PATH=/build/source/build/tests/functional/plugins:/build/source/build/src/libutil:/build/source/build/src/libfetchers:/build/source/build/src/libstore:/build/source/build/src/libexpr MALLOC_PERTURB_=99 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py plugins.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/plugins +(init.sh:7) test -d /build/nix-test/plugins +(init.sh:8) chmod -R u+w /build/nix-test/plugins +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/plugins +(init.sh:13) mkdir /build/nix-test/plugins +(init.sh:15) mkdir /build/nix-test/plugins/store +(init.sh:16) mkdir /build/nix-test/plugins/var +(init.sh:17) mkdir -p /build/nix-test/plugins/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/plugins/var/nix +(init.sh:19) mkdir /build/nix-test/plugins/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/plugins/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(plugins.sh:5) libext=so ++(plugins.sh:6) uname -s +(plugins.sh:6) [[ Linux == Darwin ]] ++(plugins.sh:10) nix --option setting-set true --option plugin-files /build/source/build/tests/functional/plugins/libplugintest.so eval --expr builtins.anotherNull warning: you don't have Internet access; disabling some network-dependent features +(plugins.sh:10) res=null +(plugins.sh:12) '[' nullx = nullx ']' ++(plugins.sh:15) nix --option plugin-files /build/source/build/tests/functional/plugins/libplugintestfail.so eval --expr '1234 + 5' +(plugins.sh:15) res='warning: could not dynamically open plugin file '\''/build/source/build/tests/functional/plugins/libplugintestfail.so'\'': /build/source/build/tests/functional/plugins/libplugintestfail.so: undefined symbol: _Z4meowv warning: you don'\''t have Internet access; disabling some network-dependent features 1239' +(plugins.sh:17) echo 'warning: could not dynamically open plugin file '\''/build/source/build/tests/functional/plugins/libplugintestfail.so'\'': /build/source/build/tests/functional/plugins/libplugintestfail.so: undefined symbol: _Z4meowv warning: you don'\''t have Internet access; disabling some network-dependent features 1239' +(plugins.sh:17) grep 1239 ++(plugins.sh:24) uname -s +(plugins.sh:24) [[ Linux == Linux ]] +(plugins.sh:25) echo 'warning: could not dynamically open plugin file '\''/build/source/build/tests/functional/plugins/libplugintestfail.so'\'': /build/source/build/tests/functional/plugins/libplugintestfail.so: undefined symbol: _Z4meowv warning: you don'\''t have Internet access; disabling some network-dependent features 1239' +(plugins.sh:25) grep 'could not dynamically open plugin file' ============================================================================== ================================== 157/161 =================================== test: lix:installcheck / functional-substitute-truncated-nar start time: 20:57:59 duration: 0.51s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=231 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py substitute-truncated-nar.sh ----------------------------------- stdout ----------------------------------- [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/substitute-truncated-nar +(init.sh:7) test -d /build/nix-test/substitute-truncated-nar +(init.sh:8) chmod -R u+w /build/nix-test/substitute-truncated-nar +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/substitute-truncated-nar +(init.sh:13) mkdir /build/nix-test/substitute-truncated-nar +(init.sh:15) mkdir /build/nix-test/substitute-truncated-nar/store +(init.sh:16) mkdir /build/nix-test/substitute-truncated-nar/var +(init.sh:17) mkdir -p /build/nix-test/substitute-truncated-nar/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/substitute-truncated-nar/var/nix +(init.sh:19) mkdir /build/nix-test/substitute-truncated-nar/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/substitute-truncated-nar/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(substitute-truncated-nar.sh:3) BINARY_CACHE=file:///build/nix-test/substitute-truncated-nar/binary-cache ++(substitute-truncated-nar.sh:14) build ++(substitute-truncated-nar.sh:6) nix-build --no-out-link --expr 'derivation { name = "text"; system = builtins.currentSystem; builder = "/bin/sh"; args = [ "-c" "echo some text to make the nar less empty > $out" ]; }' this derivation will be built: /build/nix-test/substitute-truncated-nar/store/xv50b2m33ys1574a8xlkbbxxhkywjpfi-text.drv building '/build/nix-test/substitute-truncated-nar/store/xv50b2m33ys1574a8xlkbbxxhkywjpfi-text.drv'... +(substitute-truncated-nar.sh:14) path=/build/nix-test/substitute-truncated-nar/store/phq31ijvr3g0y2wdnq55cmrawaawlf03-text +(substitute-truncated-nar.sh:15) nix copy --to file:///build/nix-test/substitute-truncated-nar/binary-cache /build/nix-test/substitute-truncated-nar/store/phq31ijvr3g0y2wdnq55cmrawaawlf03-text warning: you don't have Internet access; disabling some network-dependent features copying 1 paths... copying path '/build/nix-test/substitute-truncated-nar/store/phq31ijvr3g0y2wdnq55cmrawaawlf03-text' to 'file:///build/nix-test/substitute-truncated-nar/binary-cache'... +(substitute-truncated-nar.sh:16) nix-collect-garbage +(substitute-truncated-nar.sh:18) nar=0bylmx35yjy2b1b4k7gjsl7i4vc03cpmryb41grfb1mp40n3hifl.nar.xz +(substitute-truncated-nar.sh:20) '[' -e /build/nix-test/substitute-truncated-nar/binary-cache/nar/0bylmx35yjy2b1b4k7gjsl7i4vc03cpmryb41grfb1mp40n3hifl.nar.xz ']' +(substitute-truncated-nar.sh:22) xzcat /build/nix-test/substitute-truncated-nar/binary-cache/nar/0bylmx35yjy2b1b4k7gjsl7i4vc03cpmryb41grfb1mp40n3hifl.nar.xz ++(substitute-truncated-nar.sh:23) stat -c %s /build/nix-test/substitute-truncated-nar/test-home/tmp +(substitute-truncated-nar.sh:23) truncate -s 142 /build/nix-test/substitute-truncated-nar/test-home/tmp +(substitute-truncated-nar.sh:24) xz +(substitute-truncated-nar.sh:27) build --option substituters file:///build/nix-test/substitute-truncated-nar/binary-cache --option require-sigs false -j0 +(substitute-truncated-nar.sh:6) nix-build --no-out-link --option substituters file:///build/nix-test/substitute-truncated-nar/binary-cache --option require-sigs false -j0 --expr 'derivation { name = "text"; system = builtins.currentSystem; builder = "/bin/sh"; args = [ "-c" "echo some text to make the nar less empty > $out" ]; }' this path will be fetched (0.00 MiB download, 0.00 MiB unpacked): /build/nix-test/substitute-truncated-nar/store/phq31ijvr3g0y2wdnq55cmrawaawlf03-text copying path '/build/nix-test/substitute-truncated-nar/store/phq31ijvr3g0y2wdnq55cmrawaawlf03-text' from 'file:///build/nix-test/substitute-truncated-nar/binary-cache'... error: NAR for '/build/nix-test/substitute-truncated-nar/store/phq31ijvr3g0y2wdnq55cmrawaawlf03-text' fetched from 'file:///build/nix-test/substitute-truncated-nar/binary-cache' is incomplete error: some substitutes for the outputs of derivation '/build/nix-test/substitute-truncated-nar/store/xv50b2m33ys1574a8xlkbbxxhkywjpfi-text.drv' failed (usually happens due to networking issues); try '--fallback' to build derivation from source ============================================================================== ================================== 158/161 =================================== test: lix:installcheck / functional-nested-sandboxing start time: 20:57:59 duration: 1.07s result: exit status 0 command: MALLOC_PERTURB_=228 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nested-sandboxing.sh ----------------------------------- stdout ----------------------------------- /foo-5/xijxjhnwzbiy6j07fr9dxh67c8k2q90p-nested-sandboxing [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nested-sandboxing +(init.sh:7) test -d /build/nix-test/nested-sandboxing +(init.sh:8) chmod -R u+w /build/nix-test/nested-sandboxing +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nested-sandboxing +(init.sh:13) mkdir /build/nix-test/nested-sandboxing +(init.sh:15) mkdir /build/nix-test/nested-sandboxing/store +(init.sh:16) mkdir /build/nix-test/nested-sandboxing/var +(init.sh:17) mkdir -p /build/nix-test/nested-sandboxing/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nested-sandboxing/var/nix +(init.sh:19) mkdir /build/nix-test/nested-sandboxing/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nested-sandboxing/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nested-sandboxing.sh:3) [[ -d /nix/store ]] +(nested-sandboxing.sh:5) requireSandboxSupport +(/build/source/build/tests/functional/common/vars-and-functions.sh:172) canUseSandbox +(/build/source/build/tests/functional/common/vars-and-functions.sh:168) [[ -n 1 ]] +(nested-sandboxing.sh:7) source ./nested-sandboxing/command.sh ++++(./nested-sandboxing/command.sh:1) type -p nix +++(./nested-sandboxing/command.sh:1) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix ++(./nested-sandboxing/command.sh:1) export NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin ++(./nested-sandboxing/command.sh:1) NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:3) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin ++(./nested-sandboxing/command.sh:3) export 'EXTRA_SANDBOX=/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ++(./nested-sandboxing/command.sh:3) EXTRA_SANDBOX='/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' +(nested-sandboxing.sh:9) expectStderr 100 runNixBuild badStoreUrl 2 +(/build/source/build/tests/functional/common/vars-and-functions.sh:210) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:211) expected=100 +(nested-sandboxing.sh:9) grepQuiet '`sandbox-build-dir` must not contain' +(/build/source/build/tests/functional/common/vars-and-functions.sh:212) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) runNixBuild badStoreUrl 2 +(/build/source/build/tests/functional/common/vars-and-functions.sh:273) grep '`sandbox-build-dir` must not contain' +(/build/source/build/tests/functional/common/vars-and-functions.sh:213) res=100 +(/build/source/build/tests/functional/common/vars-and-functions.sh:214) [[ 100 -ne 100 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:218) return 0 +(nested-sandboxing.sh:11) runNixBuild goodStoreUrl 5 +(./nested-sandboxing/command.sh:19) local storeFun=goodStoreUrl +(./nested-sandboxing/command.sh:20) local altitude=5 ++(./nested-sandboxing/command.sh:22) goodStoreUrl 5 ++(./nested-sandboxing/command.sh:11) local altitude=5 +++(./nested-sandboxing/command.sh:12) badStoreUrl 5 +++(./nested-sandboxing/command.sh:6) local altitude=5 +++(./nested-sandboxing/command.sh:7) echo /build/nix-test/nested-sandboxing/store-5 ++(./nested-sandboxing/command.sh:12) echo '/build/nix-test/nested-sandboxing/store-5?store=/foo-5' +(./nested-sandboxing/command.sh:22) nix-build --no-substitute --no-out-link --store '/build/nix-test/nested-sandboxing/store-5?store=/foo-5' --extra-sandbox-paths '/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ./nested-sandboxing/runner.nix --arg altitude 4 --argstr storeFun goodStoreUrl --sandbox-build-dir /build-non-standard this derivation will be built: /foo-5/als5frdd0b3b2xax9m3vbgfyz5gypyzh-nested-sandboxing.drv building '/foo-5/als5frdd0b3b2xax9m3vbgfyz5gypyzh-nested-sandboxing.drv'... /build-non-standard/common/vars-and-functions.sh: line 142: unshare: command not found ++++(/build-non-standard/common/vars-and-functions.sh:286) trap onError ERR +++(common.sh:8) [[ -n '' ]] ++(/foo-5/75jhsmdyj1kcb44yqdg8c2fm9wlxb8ix-builder-nested-sandboxing.sh:10) source ./nested-sandboxing/command.sh +++++(./nested-sandboxing/command.sh:1) type -p nix ++++(./nested-sandboxing/command.sh:1) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix +++(./nested-sandboxing/command.sh:1) export NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:1) NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin ++++(./nested-sandboxing/command.sh:3) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:3) export 'EXTRA_SANDBOX=/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' +++(./nested-sandboxing/command.sh:3) EXTRA_SANDBOX='/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ++(/foo-5/75jhsmdyj1kcb44yqdg8c2fm9wlxb8ix-builder-nested-sandboxing.sh:12) runNixBuild goodStoreUrl 4 ++(./nested-sandboxing/command.sh:19) local storeFun=goodStoreUrl ++(./nested-sandboxing/command.sh:20) local altitude=4 +++(./nested-sandboxing/command.sh:22) goodStoreUrl 4 +++(./nested-sandboxing/command.sh:11) local altitude=4 ++++(./nested-sandboxing/command.sh:12) badStoreUrl 4 ++++(./nested-sandboxing/command.sh:6) local altitude=4 ++++(./nested-sandboxing/command.sh:7) echo /build-non-standard/nix-test/default/tests/functional///store-4 +++(./nested-sandboxing/command.sh:12) echo '/build-non-standard/nix-test/default/tests/functional///store-4?store=/foo-4' ++(./nested-sandboxing/command.sh:22) nix-build --no-substitute --no-out-link --store '/build-non-standard/nix-test/default/tests/functional///store-4?store=/foo-4' --extra-sandbox-paths '/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ./nested-sandboxing/runner.nix --arg altitude 3 --argstr storeFun goodStoreUrl --sandbox-build-dir /build-non-standard this derivation will be built: /foo-4/5wvvlf81jwn81airbddbfgyg024sliz1-nested-sandboxing.drv building '/foo-4/5wvvlf81jwn81airbddbfgyg024sliz1-nested-sandboxing.drv'... /build-non-standard/common/vars-and-functions.sh: line 142: unshare: command not found ++++(/build-non-standard/common/vars-and-functions.sh:286) trap onError ERR +++(common.sh:8) [[ -n '' ]] ++(/foo-4/4m7bhhcm0agwqw2kz1m2jnhp2j5h0cbc-builder-nested-sandboxing.sh:10) source ./nested-sandboxing/command.sh +++++(./nested-sandboxing/command.sh:1) type -p nix ++++(./nested-sandboxing/command.sh:1) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix +++(./nested-sandboxing/command.sh:1) export NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:1) NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin ++++(./nested-sandboxing/command.sh:3) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:3) export 'EXTRA_SANDBOX=/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' +++(./nested-sandboxing/command.sh:3) EXTRA_SANDBOX='/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ++(/foo-4/4m7bhhcm0agwqw2kz1m2jnhp2j5h0cbc-builder-nested-sandboxing.sh:12) runNixBuild goodStoreUrl 3 ++(./nested-sandboxing/command.sh:19) local storeFun=goodStoreUrl ++(./nested-sandboxing/command.sh:20) local altitude=3 +++(./nested-sandboxing/command.sh:22) goodStoreUrl 3 +++(./nested-sandboxing/command.sh:11) local altitude=3 ++++(./nested-sandboxing/command.sh:12) badStoreUrl 3 ++++(./nested-sandboxing/command.sh:6) local altitude=3 ++++(./nested-sandboxing/command.sh:7) echo /build-non-standard/nix-test/default/tests/functional///store-3 +++(./nested-sandboxing/command.sh:12) echo '/build-non-standard/nix-test/default/tests/functional///store-3?store=/foo-3' ++(./nested-sandboxing/command.sh:22) nix-build --no-substitute --no-out-link --store '/build-non-standard/nix-test/default/tests/functional///store-3?store=/foo-3' --extra-sandbox-paths '/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ./nested-sandboxing/runner.nix --arg altitude 2 --argstr storeFun goodStoreUrl --sandbox-build-dir /build-non-standard this derivation will be built: /foo-3/lx6v6icsswbl3jf1asxh7ijxz2jmx4pa-nested-sandboxing.drv building '/foo-3/lx6v6icsswbl3jf1asxh7ijxz2jmx4pa-nested-sandboxing.drv'... /build-non-standard/common/vars-and-functions.sh: line 142: unshare: command not found ++++(/build-non-standard/common/vars-and-functions.sh:286) trap onError ERR +++(common.sh:8) [[ -n '' ]] ++(/foo-3/g5b3j32svspvjj45ank41cqh8xvpyh43-builder-nested-sandboxing.sh:10) source ./nested-sandboxing/command.sh +++++(./nested-sandboxing/command.sh:1) type -p nix ++++(./nested-sandboxing/command.sh:1) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix +++(./nested-sandboxing/command.sh:1) export NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:1) NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin ++++(./nested-sandboxing/command.sh:3) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:3) export 'EXTRA_SANDBOX=/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' +++(./nested-sandboxing/command.sh:3) EXTRA_SANDBOX='/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ++(/foo-3/g5b3j32svspvjj45ank41cqh8xvpyh43-builder-nested-sandboxing.sh:12) runNixBuild goodStoreUrl 2 ++(./nested-sandboxing/command.sh:19) local storeFun=goodStoreUrl ++(./nested-sandboxing/command.sh:20) local altitude=2 +++(./nested-sandboxing/command.sh:22) goodStoreUrl 2 +++(./nested-sandboxing/command.sh:11) local altitude=2 ++++(./nested-sandboxing/command.sh:12) badStoreUrl 2 ++++(./nested-sandboxing/command.sh:6) local altitude=2 ++++(./nested-sandboxing/command.sh:7) echo /build-non-standard/nix-test/default/tests/functional///store-2 +++(./nested-sandboxing/command.sh:12) echo '/build-non-standard/nix-test/default/tests/functional///store-2?store=/foo-2' ++(./nested-sandboxing/command.sh:22) nix-build --no-substitute --no-out-link --store '/build-non-standard/nix-test/default/tests/functional///store-2?store=/foo-2' --extra-sandbox-paths '/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ./nested-sandboxing/runner.nix --arg altitude 1 --argstr storeFun goodStoreUrl --sandbox-build-dir /build-non-standard this derivation will be built: /foo-2/yj0zziy2wymmjhfv9bwl7lph9wpdansf-nested-sandboxing.drv building '/foo-2/yj0zziy2wymmjhfv9bwl7lph9wpdansf-nested-sandboxing.drv'... /build-non-standard/common/vars-and-functions.sh: line 142: unshare: command not found ++++(/build-non-standard/common/vars-and-functions.sh:286) trap onError ERR +++(common.sh:8) [[ -n '' ]] ++(/foo-2/fbbp5lcgfrr430fjc480vvw8ayjka1w6-builder-nested-sandboxing.sh:10) source ./nested-sandboxing/command.sh +++++(./nested-sandboxing/command.sh:1) type -p nix ++++(./nested-sandboxing/command.sh:1) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin/nix +++(./nested-sandboxing/command.sh:1) export NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:1) NIX_BIN_DIR=/nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin ++++(./nested-sandboxing/command.sh:3) dirname /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0/bin +++(./nested-sandboxing/command.sh:3) export 'EXTRA_SANDBOX=/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' +++(./nested-sandboxing/command.sh:3) EXTRA_SANDBOX='/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ++(/foo-2/fbbp5lcgfrr430fjc480vvw8ayjka1w6-builder-nested-sandboxing.sh:12) runNixBuild goodStoreUrl 1 ++(./nested-sandboxing/command.sh:19) local storeFun=goodStoreUrl ++(./nested-sandboxing/command.sh:20) local altitude=1 +++(./nested-sandboxing/command.sh:22) goodStoreUrl 1 +++(./nested-sandboxing/command.sh:11) local altitude=1 ++++(./nested-sandboxing/command.sh:12) badStoreUrl 1 ++++(./nested-sandboxing/command.sh:6) local altitude=1 ++++(./nested-sandboxing/command.sh:7) echo /build-non-standard/nix-test/default/tests/functional///store-1 +++(./nested-sandboxing/command.sh:12) echo '/build-non-standard/nix-test/default/tests/functional///store-1?store=/foo-1' ++(./nested-sandboxing/command.sh:22) nix-build --no-substitute --no-out-link --store '/build-non-standard/nix-test/default/tests/functional///store-1?store=/foo-1' --extra-sandbox-paths '/nix/store /nix/store/k4m31q5ralky3z58b37jsr8hlc4ccarj-lix-2.91.0' ./nested-sandboxing/runner.nix --arg altitude 0 --argstr storeFun goodStoreUrl --sandbox-build-dir /build-non-standard this derivation will be built: /foo-1/sa58gzsvxn1sqv8n4f1d1hcvk2cjy0gp-nested-sandboxing.drv building '/foo-1/sa58gzsvxn1sqv8n4f1d1hcvk2cjy0gp-nested-sandboxing.drv'... ============================================================================== ================================== 159/161 =================================== test: lix:installcheck / repl-characterization-tests start time: 20:57:59 duration: 0.73s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 LD_LIBRARY_PATH=/build/source/build/src/libutil:/build/source/build/tests/unit:/build/source/build/src/libfetchers:/build/source/build/src/libstore:/build/source/build/src/libexpr MALLOC_PERTURB_=193 MESON_BUILD_ROOT=/build/source/build 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 _NIX_TEST_UNIT_DATA=/build/source/build/tests/functional/repl_characterization/data /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py test-repl-characterization.sh ----------------------------------- stdout ----------------------------------- Running main() from /build/source/googletest/src/gtest_main.cc [==========] Running 16 tests from 1 test suite. [----------] Global test environment set-up. [----------] 16 tests from ReplSessionTest [ RUN ] ReplSessionTest.round_trip [ OK ] ReplSessionTest.round_trip (0 ms) [ RUN ] ReplSessionTest.tidy [ OK ] ReplSessionTest.tidy (0 ms) [ RUN ] ReplSessionTest.basic_repl [ OK ] ReplSessionTest.basic_repl (36 ms) [ RUN ] ReplSessionTest.no_nested_debuggers [ OK ] ReplSessionTest.no_nested_debuggers (44 ms) [ RUN ] ReplSessionTest.regression_9917 [ OK ] ReplSessionTest.regression_9917 (44 ms) [ RUN ] ReplSessionTest.regression_9918 [ OK ] ReplSessionTest.regression_9918 (40 ms) [ RUN ] ReplSessionTest.regression_l145 [ OK ] ReplSessionTest.regression_l145 (44 ms) [ RUN ] ReplSessionTest.repl_overlays [ OK ] ReplSessionTest.repl_overlays (47 ms) [ RUN ] ReplSessionTest.repl_overlays_compose [ OK ] ReplSessionTest.repl_overlays_compose (34 ms) [ RUN ] ReplSessionTest.repl_overlays_destructure_without_dotdotdot_errors [ OK ] ReplSessionTest.repl_overlays_destructure_without_dotdotdot_errors (33 ms) [ RUN ] ReplSessionTest.repl_overlays_destructure_without_formals_ok [ OK ] ReplSessionTest.repl_overlays_destructure_without_formals_ok (35 ms) [ RUN ] ReplSessionTest.repl_overlays_error [ OK ] ReplSessionTest.repl_overlays_error (33 ms) [ RUN ] ReplSessionTest.repl_printing [ OK ] ReplSessionTest.repl_printing (35 ms) [ RUN ] ReplSessionTest.stack_vars [ OK ] ReplSessionTest.stack_vars (66 ms) [ RUN ] ReplSessionTest.errors [ OK ] ReplSessionTest.errors (34 ms) [ RUN ] ReplSessionTest.idempotent [ OK ] ReplSessionTest.idempotent (33 ms) [----------] 16 tests from ReplSessionTest (564 ms total) [----------] Global test environment tear-down [==========] 16 tests from 1 test suite ran. (564 ms total) [ PASSED ] 16 tests. [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/test-repl-characterization +(init.sh:7) test -d /build/nix-test/test-repl-characterization +(init.sh:8) chmod -R u+w /build/nix-test/test-repl-characterization +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/test-repl-characterization +(init.sh:13) mkdir /build/nix-test/test-repl-characterization +(init.sh:15) mkdir /build/nix-test/test-repl-characterization/store +(init.sh:16) mkdir /build/nix-test/test-repl-characterization/var +(init.sh:17) mkdir -p /build/nix-test/test-repl-characterization/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/test-repl-characterization/var/nix +(init.sh:19) mkdir /build/nix-test/test-repl-characterization/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/test-repl-characterization/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] ++(test-repl-characterization.sh:7) pwd +(test-repl-characterization.sh:7) _NIX_TEST_UNIT_DATA=/build/source/build/tests/functional/repl_characterization/data +(test-repl-characterization.sh:7) ./repl_characterization/test-repl-characterization ============================================================================== ================================== 160/161 =================================== test: lix:installcheck / functional-nix-profile start time: 20:57:58 duration: 2.86s result: exit status 0 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_BUILD_ROOT=/build/source/build ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=22 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py nix-profile.sh ----------------------------------- stdout ----------------------------------- clearing store... Store paths: /build/nix-test/nix-profile/store/lg54i9f8y2s4gpkai9p52dg01b3hhlvl-foo-1.0 Locked flake URL: path:/build/nix-test/nix-profile/flake1?lastModified=1725915478&narHash=sha256-PJIjYiIdMXV1c/jM1fydx%2BaelDQk29GIYeYlft9vtfY%3D Version 1 (2024-09-09): foo: ∅ -> 1.0 Version 2 (2024-09-09) <- 1: path:/build/nix-test/nix-profile/flake1#packages.x86_64-linux.default: ∅ -> 1.0, 1.0-man path:/build/nix-test/nix-profile/flake1#packages.x86_64-linux.default: ∅ -> 1.0, 1.0-man env-manifest.nix: ε → ∅ removed 1 packages, kept 1 packages path:/build/nix-test/nix-profile/flake1#packages.x86_64-linux.default: 1.0, 1.0-man -> 2.0, 2.0-man Version 1 -> 2: env-manifest.nix: ε → ∅ profile: ∅ → ε profile-test: ∅ → 1.0 user: ε → ∅ Version 2 -> 3: profile-test: 1.0 → ∅ Version 3 -> 4: profile-test: ∅ → 1.0 Version 4 -> 5: profile-test: 1.0 → 2.0 removed 1 packages, kept 1 packages foo: 1.0 -> ∅ Version 3 -> 4: removed 1 packages, kept 1 packages Name: simple-1 removed 1 packages, kept 2 packages removed 1 packages, kept 1 packages path:/build/nix-test/nix-profile/flake1#packages.x86_64-linux.default: 1.0, 1.0-man -> 3.0, 3.0-man removed 1 packages, kept 0 packages Name: flake1 Flake attribute: packages.x86_64-linux.default^* Original flake URL: path:/build/nix-test/nix-profile/flake1 Locked flake URL: path:/build/nix-test/nix-profile/flake1?lastModified=1725915480&narHash=sha256-nQVUfMhH2kxw4C5rEGY3vBlgzmgT08j482QIUfvixZE%3D Store paths: /build/nix-test/nix-profile/store/4rr37g6qv9jq20d3s27yfhc0878a3ffb-profile-test-4.0-dev /build/nix-test/nix-profile/store/lfdg6j9bml2jdc4sf8d4libm32dw13il-profile-test-4.0 /build/nix-test/nix-profile/store/y8zww2s9yrwf5ba8l97j4wwzg2fw2klp-profile-test-4.0-man removed 1 packages, kept 0 packages Store paths: /build/nix-test/nix-profile/store/vhpj6crnfaq0gwzajm5kph5pqjk4wr46-profile-test-4.0 removed 1 packages, kept 0 packages [PASS] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/nix-profile +(init.sh:7) test -d /build/nix-test/nix-profile +(init.sh:8) chmod -R u+w /build/nix-test/nix-profile +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/nix-profile +(init.sh:13) mkdir /build/nix-test/nix-profile +(init.sh:15) mkdir /build/nix-test/nix-profile/store +(init.sh:16) mkdir /build/nix-test/nix-profile/var +(init.sh:17) mkdir -p /build/nix-test/nix-profile/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/nix-profile/var/nix +(init.sh:19) mkdir /build/nix-test/nix-profile/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/nix-profile/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(nix-profile.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/nix-profile/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/nix-profile/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/nix-profile/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/nix-profile/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/nix-profile/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-profile/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-profile/test-home/.local/state/nix/profiles +(nix-profile.sh:4) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-profile/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-profile/test-home/.local/state/nix/profiles +(nix-profile.sh:6) enableFeatures ca-derivations +(/build/source/build/tests/functional/common/vars-and-functions.sh:233) local features=ca-derivations +(/build/source/build/tests/functional/common/vars-and-functions.sh:234) sed -i 's/experimental-features .*/& ca-derivations/' /build/nix-test/nix-profile/etc/nix.conf +(nix-profile.sh:7) restartDaemon +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:136) return 0 +(nix-profile.sh:10) flake1Dir=/build/nix-test/nix-profile/flake1 +(nix-profile.sh:11) mkdir -p /build/nix-test/nix-profile/flake1 +(nix-profile.sh:13) cat +(nix-profile.sh:42) printf World +(nix-profile.sh:43) printf 1.0 +(nix-profile.sh:44) printf false +(nix-profile.sh:46) cp ./config.nix /build/nix-test/nix-profile/flake1/ +(nix-profile.sh:49) nix-env -f ./user-envs.nix -i foo-1.0 installing 'foo-1.0' this derivation will be built: /build/nix-test/nix-profile/store/8rz87yy6fz3lsnzi2v5ns74rhab2dxwa-foo-1.0.drv building '/build/nix-test/nix-profile/store/8rz87yy6fz3lsnzi2v5ns74rhab2dxwa-foo-1.0.drv'... building '/build/nix-test/nix-profile/store/f4xv33hjv2j7zvpm7d0gp5gj0dqrxbxk-user-environment.drv'... +(nix-profile.sh:50) nix profile list +(nix-profile.sh:50) grep -A2 'Name:.*foo' +(nix-profile.sh:50) grep 'Store paths:.*foo-1.0' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:51) nix profile install /build/nix-test/nix-profile/flake1 -L warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' this derivation will be built: /build/nix-test/nix-profile/store/r5grriiqc86z16mrd2hd55jf52xgcgrv-profile-test-1.0.drv building '/build/nix-test/nix-profile/store/r5grriiqc86z16mrd2hd55jf52xgcgrv-profile-test-1.0.drv'... profile-test> DONE +(nix-profile.sh:52) nix profile list +(nix-profile.sh:52) grep -A4 'Name:.*flake1' +(nix-profile.sh:52) grep 'Locked flake URL:.*narHash' warning: you don't have Internet access; disabling some network-dependent features ++(nix-profile.sh:53) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:53) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]] +(nix-profile.sh:54) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/share/man ']' +(nix-profile.sh:55) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/include ']' +(nix-profile.sh:56) nix profile history warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:57) nix profile history +(nix-profile.sh:57) grep 'packages.x86_64-linux.default: ∅ -> 1.0' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:58) nix profile diff-closures +(nix-profile.sh:58) grep 'env-manifest.nix: ε → ∅' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:62) export 'NIX_CONFIG=use-xdg-base-directories = true' +(nix-profile.sh:62) NIX_CONFIG='use-xdg-base-directories = true' +(nix-profile.sh:63) nix profile remove flake1 +(nix-profile.sh:63) grep 'removed 1 packages' +(nix-profile.sh:64) nix profile install /build/nix-test/nix-profile/flake1 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' ++(nix-profile.sh:65) /build/nix-test/nix-profile/test-home/.local/state/nix/profile/bin/hello +(nix-profile.sh:65) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]] +(nix-profile.sh:66) unset NIX_CONFIG +(nix-profile.sh:69) printf NixOS +(nix-profile.sh:70) printf 2.0 +(nix-profile.sh:71) nix profile upgrade flake1 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' upgrading 'packages.x86_64-linux.default' from flake 'path:/build/nix-test/nix-profile/flake1?lastModified=1725915478&narHash=sha256-PJIjYiIdMXV1c/jM1fydx%2BaelDQk29GIYeYlft9vtfY%3D' to 'path:/build/nix-test/nix-profile/flake1?lastModified=1725915479&narHash=sha256-%2Bx1Go5sRgZgqrPR/rNu5yyn5nX6vsCHofOfhymCE7rA%3D' this derivation will be built: /build/nix-test/nix-profile/store/5kpmyryjai8q6awb036d0rsrfcxlfrzh-profile-test-2.0.drv building '/build/nix-test/nix-profile/store/5kpmyryjai8q6awb036d0rsrfcxlfrzh-profile-test-2.0.drv'... ++(nix-profile.sh:72) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:72) [[ Hello NixOS = \H\e\l\l\o\ \N\i\x\O\S ]] +(nix-profile.sh:73) nix profile history +(nix-profile.sh:73) grep 'packages.x86_64-linux.default: 1.0, 1.0-man -> 2.0, 2.0-man' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:76) nix profile diff-closures warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:79) nix profile rollback warning: you don't have Internet access; disabling some network-dependent features switching profile from version 5 to 4 ++(nix-profile.sh:80) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:80) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]] +(nix-profile.sh:83) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/bin/foo ']' +(nix-profile.sh:84) nix profile remove foo +(nix-profile.sh:84) grep 'removed 1 packages' +(nix-profile.sh:85) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/bin/foo ']' +(nix-profile.sh:86) nix profile history +(nix-profile.sh:86) grep 'foo: 1.0 -> ∅' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:87) nix profile diff-closures +(nix-profile.sh:87) grep 'Version 3 -> 4' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:90) nix profile install --file ./simple.nix '' warning: you don't have Internet access; disabling some network-dependent features this derivation will be built: /build/nix-test/nix-profile/store/qrsmr97sha7p3b628hkqwir800ljaydd-simple.drv building '/build/nix-test/nix-profile/store/qrsmr97sha7p3b628hkqwir800ljaydd-simple.drv'... ++(nix-profile.sh:91) cat /build/nix-test/nix-profile/test-home/.nix-profile/hello +(nix-profile.sh:91) [[ Hello World! = \H\e\l\l\o\ \W\o\r\l\d\! ]] +(nix-profile.sh:92) nix profile remove simple +(nix-profile.sh:92) grep 'removed 1 packages' ++(nix-profile.sh:93) nix-build --no-out-link ./simple.nix +(nix-profile.sh:93) nix profile install /build/nix-test/nix-profile/store/adyc01c9g91m4x67dc333blan36m2q4r-simple warning: you don't have Internet access; disabling some network-dependent features ++(nix-profile.sh:94) cat /build/nix-test/nix-profile/test-home/.nix-profile/hello +(nix-profile.sh:94) [[ Hello World! = \H\e\l\l\o\ \W\o\r\l\d\! ]] +(nix-profile.sh:97) mkdir /build/nix-test/nix-profile/simple-too +(nix-profile.sh:98) cp ./simple.nix ./config.nix simple.builder.sh /build/nix-test/nix-profile/simple-too +(nix-profile.sh:99) nix profile install --file /build/nix-test/nix-profile/simple-too/simple.nix '' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:100) nix profile list +(nix-profile.sh:100) grep -A4 'Name:.*simple' +(nix-profile.sh:100) grep 'Name:.*simple-1' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:101) nix profile remove simple +(nix-profile.sh:101) grep 'removed 1 packages' +(nix-profile.sh:102) nix profile remove simple-1 +(nix-profile.sh:102) grep 'removed 1 packages' +(nix-profile.sh:105) nix profile wipe-history warning: you don't have Internet access; disabling some network-dependent features removing profile version 1 removing profile version 2 removing profile version 3 removing profile version 4 removing profile version 5 removing profile version 6 removing profile version 7 removing profile version 8 removing profile version 9 removing profile version 10 removing profile version 11 ++(nix-profile.sh:106) nix profile history ++(nix-profile.sh:106) grep Version ++(nix-profile.sh:106) wc -l warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:106) [[ 1 -eq 1 ]] +(nix-profile.sh:109) printf true +(nix-profile.sh:110) printf 3.0 +(nix-profile.sh:111) nix profile upgrade flake1 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' upgrading 'packages.x86_64-linux.default' from flake 'path:/build/nix-test/nix-profile/flake1?lastModified=1725915478&narHash=sha256-PJIjYiIdMXV1c/jM1fydx%2BaelDQk29GIYeYlft9vtfY%3D' to 'path:/build/nix-test/nix-profile/flake1?lastModified=1725915479&narHash=sha256-WoaHvKbRraT%2B%2BBYf%2BNiqczx5D5QFBbp6c6cvvzdJk%2BQ%3D' this derivation will be built: /build/nix-test/nix-profile/store/c07isrxlqljfjfyssrrj3v6iwqqjiixf-profile-test-3.0.drv building '/build/nix-test/nix-profile/store/c07isrxlqljfjfyssrrj3v6iwqqjiixf-profile-test-3.0.drv'... +(nix-profile.sh:112) nix profile history +(nix-profile.sh:112) grep 'packages.x86_64-linux.default: 1.0, 1.0-man -> 3.0, 3.0-man' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:115) nix profile remove flake1 +(nix-profile.sh:115) grep 'removed 1 packages' +(nix-profile.sh:116) printf 4.0 +(nix-profile.sh:117) printf Utrecht +(nix-profile.sh:118) nix profile install /build/nix-test/nix-profile/flake1 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' this derivation will be built: /build/nix-test/nix-profile/store/r43l5f98x7ws8xfhl0606wcqfskx0kl5-profile-test-4.0.drv building '/build/nix-test/nix-profile/store/r43l5f98x7ws8xfhl0606wcqfskx0kl5-profile-test-4.0.drv'... ++(nix-profile.sh:119) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:119) [[ Hello Utrecht = \H\e\l\l\o\ \U\t\r\e\c\h\t ]] +++(nix-profile.sh:120) realpath /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello ++(nix-profile.sh:120) jq -r '.[].ca' ++(nix-profile.sh:120) nix path-info --json /build/nix-test/nix-profile/store/lfdg6j9bml2jdc4sf8d4libm32dw13il-profile-test-4.0/bin/hello warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:120) [[ fixed:r:sha256:15q09mcvwk48cpzx54bqdk2pjl5vpjgby08nds0qcy0qcmqpsmf1 =~ fixed:r:sha256: ]] +(nix-profile.sh:123) nix profile remove simple flake1 warning: you don't have Internet access; disabling some network-dependent features removing 'path:/build/nix-test/nix-profile/flake1#packages.x86_64-linux.default' removed 1 packages, kept 0 packages +(nix-profile.sh:124) nix profile install '/build/nix-test/nix-profile/flake1^*' warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' ++(nix-profile.sh:125) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:125) [[ Hello Utrecht = \H\e\l\l\o\ \U\t\r\e\c\h\t ]] +(nix-profile.sh:126) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/share/man ']' +(nix-profile.sh:127) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/include ']' +(nix-profile.sh:129) printf Nix +(nix-profile.sh:130) nix profile list warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:131) nix profile upgrade flake1 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' upgrading 'packages.x86_64-linux.default' from flake 'path:/build/nix-test/nix-profile/flake1?lastModified=1725915480&narHash=sha256-nQVUfMhH2kxw4C5rEGY3vBlgzmgT08j482QIUfvixZE%3D' to 'path:/build/nix-test/nix-profile/flake1?lastModified=1725915480&narHash=sha256-KLoA6wf8epLtHe2ZJI3FwUJvBlR8LqvfiPBLfEeJmT0%3D' this derivation will be built: /build/nix-test/nix-profile/store/vpkkp0g67rbbmvy2qp1jpiqxa154828m-profile-test-4.0.drv building '/build/nix-test/nix-profile/store/vpkkp0g67rbbmvy2qp1jpiqxa154828m-profile-test-4.0.drv'... ++(nix-profile.sh:132) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:132) [[ Hello Nix = \H\e\l\l\o\ \N\i\x ]] +(nix-profile.sh:133) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/share/man ']' +(nix-profile.sh:134) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/include ']' +(nix-profile.sh:136) nix profile remove flake1 +(nix-profile.sh:136) grep 'removed 1 packages' +(nix-profile.sh:137) nix profile install '/build/nix-test/nix-profile/flake1^man' warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' +(nix-profile.sh:138) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello ']' +(nix-profile.sh:139) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/share/man ']' +(nix-profile.sh:140) '[' -e /build/nix-test/nix-profile/test-home/.nix-profile/include ']' +(nix-profile.sh:143) nix profile remove flake1 warning: you don't have Internet access; disabling some network-dependent features removing 'path:/build/nix-test/nix-profile/flake1#packages.x86_64-linux.default^man' removed 1 packages, kept 0 packages +(nix-profile.sh:146) flake2Dir=/build/nix-test/nix-profile/flake2 +(nix-profile.sh:147) printf World +(nix-profile.sh:148) cp -r /build/nix-test/nix-profile/flake1 /build/nix-test/nix-profile/flake2 +(nix-profile.sh:149) printf World2 +(nix-profile.sh:151) nix profile install /build/nix-test/nix-profile/flake1 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' this derivation will be built: /build/nix-test/nix-profile/store/w8hm6vxqv2p5lvyajkmh8f9bqgwsdyfn-profile-test-4.0.drv building '/build/nix-test/nix-profile/store/w8hm6vxqv2p5lvyajkmh8f9bqgwsdyfn-profile-test-4.0.drv'... ++(nix-profile.sh:152) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:152) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]] +(nix-profile.sh:153) expect 1 nix profile install /build/nix-test/nix-profile/flake2 +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix profile install /build/nix-test/nix-profile/flake2 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake2' this derivation will be built: /build/nix-test/nix-profile/store/zls1061ag2g3rfpiznkk7y63n2vm7dmh-profile-test-4.0.drv building '/build/nix-test/nix-profile/store/zls1061ag2g3rfpiznkk7y63n2vm7dmh-profile-test-4.0.drv'... error: An existing package already provides the following file: /build/nix-test/nix-profile/store/vhpj6crnfaq0gwzajm5kph5pqjk4wr46-profile-test-4.0/bin/hello This is the conflicting file from the new package: /build/nix-test/nix-profile/store/43mx60143k2j67v8z5zdrxdvv1jy8yal-profile-test-4.0/bin/hello To remove the existing package: nix profile remove path:/build/nix-test/nix-profile/flake1#packages.x86_64-linux.default The new package can also be installed next to the existing one by assigning a different priority. The conflicting packages have a priority of 5. To prioritise the new package: nix profile install path:/build/nix-test/nix-profile/flake2#packages.x86_64-linux.default --priority 4 To prioritise the existing package: nix profile install path:/build/nix-test/nix-profile/flake2#packages.x86_64-linux.default --priority 6 +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(nix-profile.sh:154) diff -u /dev/fd/63 /dev/fd/62 ++(nix-profile.sh:154) cat ++(nix-profile.sh:154) nix --offline profile install /build/nix-test/nix-profile/flake2 ++(nix-profile.sh:154) grep -vE '^warning: ' ++(nix-profile.sh:154) grep -vE '^error \(ignored\): ' ++(nix-profile.sh:154) grep -vE '^fetching .+ input' +++(nix-profile.sh:154) nix build --no-link --print-out-paths /build/nix-test/nix-profile/flake1#default.out warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' +++(nix-profile.sh:154) nix build --no-link --print-out-paths /build/nix-test/nix-profile/flake2#default.out ++(nix-profile.sh:154) true warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake2' ++(nix-profile.sh:184) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:184) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]] +(nix-profile.sh:185) nix profile install /build/nix-test/nix-profile/flake2 --priority 100 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake2' ++(nix-profile.sh:186) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:186) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]] +(nix-profile.sh:187) nix profile install /build/nix-test/nix-profile/flake2 --priority 0 warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake2' ++(nix-profile.sh:188) /build/nix-test/nix-profile/test-home/.nix-profile/bin/hello +(nix-profile.sh:188) [[ Hello World2 = \H\e\l\l\o\ \W\o\r\l\d\2 ]] +(nix-profile.sh:195) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-profile/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-profile/test-home/.local/state/nix/profiles ++(nix-profile.sh:196) nix build /build/nix-test/nix-profile/flake1 --no-link --print-out-paths warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake1' +(nix-profile.sh:196) nix profile install /build/nix-test/nix-profile/store/y8zww2s9yrwf5ba8l97j4wwzg2fw2klp-profile-test-4.0-man /build/nix-test/nix-profile/store/vhpj6crnfaq0gwzajm5kph5pqjk4wr46-profile-test-4.0 warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:197) expect 1 nix profile install --impure --expr '(builtins.getFlake '\'''\''/build/nix-test/nix-profile/flake2'\'''\'').packages.x86_64-linux.default' +(/build/source/build/tests/functional/common/vars-and-functions.sh:196) local expected res +(/build/source/build/tests/functional/common/vars-and-functions.sh:197) expected=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:198) shift +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) nix profile install --impure --expr '(builtins.getFlake '\'''\''/build/nix-test/nix-profile/flake2'\'''\'').packages.x86_64-linux.default' warning: you don't have Internet access; disabling some network-dependent features fetching path input 'path:/build/nix-test/nix-profile/flake2' error: An existing package already provides the following file: /build/nix-test/nix-profile/store/vhpj6crnfaq0gwzajm5kph5pqjk4wr46-profile-test-4.0/bin/hello This is the conflicting file from the new package: /build/nix-test/nix-profile/store/43mx60143k2j67v8z5zdrxdvv1jy8yal-profile-test-4.0/bin/hello To remove the existing package: nix profile remove /build/nix-test/nix-profile/store/vhpj6crnfaq0gwzajm5kph5pqjk4wr46-profile-test-4.0 The new package can also be installed next to the existing one by assigning a different priority. The conflicting packages have a priority of 5. To prioritise the new package: nix profile install /build/nix-test/nix-profile/store/43mx60143k2j67v8z5zdrxdvv1jy8yal-profile-test-4.0 /build/nix-test/nix-profile/store/y8zww2s9yrwf5ba8l97j4wwzg2fw2klp-profile-test-4.0-man --priority 4 To prioritise the existing package: nix profile install /build/nix-test/nix-profile/store/43mx60143k2j67v8z5zdrxdvv1jy8yal-profile-test-4.0 /build/nix-test/nix-profile/store/y8zww2s9yrwf5ba8l97j4wwzg2fw2klp-profile-test-4.0-man --priority 6 +(/build/source/build/tests/functional/common/vars-and-functions.sh:199) res=1 +(/build/source/build/tests/functional/common/vars-and-functions.sh:200) [[ 1 -ne 1 ]] +(/build/source/build/tests/functional/common/vars-and-functions.sh:204) return 0 +(nix-profile.sh:200) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/nix-profile/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/nix-profile/test-home/.local/state/nix/profiles +(nix-profile.sh:201) mkdir -p /build/nix-test/nix-profile/import-profile ++(nix-profile.sh:202) nix build --no-link --print-out-paths '/build/nix-test/nix-profile/flake1/flake.nix^out' warning: you don't have Internet access; disabling some network-dependent features path '/build/nix-test/nix-profile/flake1/flake.nix' does not contain a 'flake.nix', searching up fetching path input 'path:/build/nix-test/nix-profile/flake1' +(nix-profile.sh:202) outPath=/build/nix-test/nix-profile/store/vhpj6crnfaq0gwzajm5kph5pqjk4wr46-profile-test-4.0 +(nix-profile.sh:203) printf '{ "version": 2, "elements": [ { "active": true, "attrPath": "legacyPackages.x86_64-linux.hello", "originalUrl": "flake:nixpkgs", "outputs": null, "priority": 5, "storePaths": [ "%s" ], "url": "github:NixOS/nixpkgs/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } ] }' /build/nix-test/nix-profile/store/vhpj6crnfaq0gwzajm5kph5pqjk4wr46-profile-test-4.0 ++(nix-profile.sh:204) nix store add-path /build/nix-test/nix-profile/import-profile warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:204) nix build --profile /build/nix-test/nix-profile/test-home/.nix-profile /build/nix-test/nix-profile/store/08yw7xbj6dd6zai6pzb0xdghcdwh2fb7-import-profile warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:205) nix profile list +(nix-profile.sh:205) grep -A4 'Name:.*hello' +(nix-profile.sh:205) grep 'Store paths:.*/build/nix-test/nix-profile/store/vhpj6crnfaq0gwzajm5kph5pqjk4wr46-profile-test-4.0' warning: you don't have Internet access; disabling some network-dependent features +(nix-profile.sh:206) nix profile remove hello +(nix-profile.sh:206) grep 'removed 1 packages, kept 0 packages' ============================================================================== ================================== 161/161 =================================== test: lix:installcheck / functional-binary-cache-build-remote start time: 20:57:53 duration: 11.32s result: exit status 1 command: MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=102 MESON_BUILD_ROOT=/build/source/build 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 /nix/store/pfv4raslwhi3101k342752v65zxkwrxq-python3-3.11.9/bin/python3 /build/source/meson/run-test.py binary-cache-build-remote.sh ----------------------------------- stdout ----------------------------------- clearing store... [FAIL] ----------------------------------- stderr ----------------------------------- ++(common/vars-and-functions.sh:286) trap onError ERR +(init.sh:6) test -n /build/nix-test/binary-cache-build-remote +(init.sh:7) test -d /build/nix-test/binary-cache-build-remote +(init.sh:8) chmod -R u+w /build/nix-test/binary-cache-build-remote +(init.sh:10) killDaemon +(common/vars-and-functions.sh:117) [[ '' == '' ]] +(common/vars-and-functions.sh:118) return +(init.sh:11) rm -rf /build/nix-test/binary-cache-build-remote +(init.sh:13) mkdir /build/nix-test/binary-cache-build-remote +(init.sh:15) mkdir /build/nix-test/binary-cache-build-remote/store +(init.sh:16) mkdir /build/nix-test/binary-cache-build-remote/var +(init.sh:17) mkdir -p /build/nix-test/binary-cache-build-remote/var/log/nix/drvs +(init.sh:18) mkdir /build/nix-test/binary-cache-build-remote/var/nix +(init.sh:19) mkdir /build/nix-test/binary-cache-build-remote/etc +(init.sh:21) cat ++(init.sh:21) whoami +(init.sh:34) cat +(init.sh:41) nix-store --init +(init.sh:44) test -e /build/nix-test/binary-cache-build-remote/var/nix/db/db.sqlite +++(/build/source/build/tests/functional/common/vars-and-functions.sh:286) trap onError ERR ++(common.sh:8) [[ -n '' ]] +(binary-cache-build-remote.sh:3) clearStore +(/build/source/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...' +(/build/source/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /build/nix-test/binary-cache-build-remote/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /build/nix-test/binary-cache-build-remote/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:75) mkdir /build/nix-test/binary-cache-build-remote/store +(/build/source/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /build/nix-test/binary-cache-build-remote/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:77) mkdir /build/nix-test/binary-cache-build-remote/var/nix +(/build/source/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:67) profiles=/build/nix-test/binary-cache-build-remote/test-home/.local/state/nix/profiles +(/build/source/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /build/nix-test/binary-cache-build-remote/test-home/.local/state/nix/profiles +(binary-cache-build-remote.sh:4) clearCacheCache +(/build/source/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/build/nix-test/binary-cache-build-remote/test-home/.cache/nix/binary-cache*' +(binary-cache-build-remote.sh:7) nix-build --store file:///build/nix-test/binary-cache-build-remote/binary-cache dependencies.nix these 5 derivations will be built: /build/nix-test/binary-cache-build-remote/store/qkg5j5lm7lba1lh8jjlymws45wpb4prs-dependencies-input-0.drv /build/nix-test/binary-cache-build-remote/store/4awfhfm90iaa1xm9xx0kixaivdgbqfwc-dependencies-input-2.drv /build/nix-test/binary-cache-build-remote/store/hyrf8gnz4bwxl1094l1civ0d5rzx8ww2-dependencies-input-1.drv /build/nix-test/binary-cache-build-remote/store/jhzfgwmlva1jgsarfvihbxnrxx669zaq-fod-input.drv /build/nix-test/binary-cache-build-remote/store/hm5h4inbwycpf86h5lin2hi9rqqlk1g7-dependencies-top.drv error: unable to build with a primary store that isn't a local store; either pass a different '--store' or enable remote builds. https://docs.lix.systems/manual/lix/stable/advanced-topics/distributed-builds.html ++(binary-cache-build-remote.sh:10) nix-build --store file:///build/nix-test/binary-cache-build-remote/binary-cache --builders 'auto - - 1 1' -j0 dependencies.nix these 5 derivations will be built: /build/nix-test/binary-cache-build-remote/store/qkg5j5lm7lba1lh8jjlymws45wpb4prs-dependencies-input-0.drv /build/nix-test/binary-cache-build-remote/store/4awfhfm90iaa1xm9xx0kixaivdgbqfwc-dependencies-input-2.drv /build/nix-test/binary-cache-build-remote/store/hyrf8gnz4bwxl1094l1civ0d5rzx8ww2-dependencies-input-1.drv /build/nix-test/binary-cache-build-remote/store/jhzfgwmlva1jgsarfvihbxnrxx669zaq-fod-input.drv /build/nix-test/binary-cache-build-remote/store/hm5h4inbwycpf86h5lin2hi9rqqlk1g7-dependencies-top.drv building '/build/nix-test/binary-cache-build-remote/store/qkg5j5lm7lba1lh8jjlymws45wpb4prs-dependencies-input-0.drv' on 'auto'... copying 1 paths... copying path '/build/nix-test/binary-cache-build-remote/store/354y27ggaddkf1n542skllfvpypsrqg6-builder-dependencies-input-0.sh' from 'file:///build/nix-test/binary-cache-build-remote/binary-cache'... building '/build/nix-test/binary-cache-build-remote/store/qkg5j5lm7lba1lh8jjlymws45wpb4prs-dependencies-input-0.drv'... copying 1 paths... copying path '/build/nix-test/binary-cache-build-remote/store/ki4r4scx58x7sfp3fjnhjzkgxxdhw5y1-dependencies-input-0' to 'file:///build/nix-test/binary-cache-build-remote/binary-cache'... building '/build/nix-test/binary-cache-build-remote/store/4awfhfm90iaa1xm9xx0kixaivdgbqfwc-dependencies-input-2.drv' on 'auto'... copying 1 paths... copying path '/build/nix-test/binary-cache-build-remote/store/1flry7vwjpxl5pymhb403zkikilmf7hj-builder-dependencies-input-2.sh' from 'file:///build/nix-test/binary-cache-build-remote/binary-cache'... building '/build/nix-test/binary-cache-build-remote/store/4awfhfm90iaa1xm9xx0kixaivdgbqfwc-dependencies-input-2.drv'... copying 1 paths... copying path '/build/nix-test/binary-cache-build-remote/store/975vbbjkr7yh5fm2rmwzp56vzrji9dqr-dependencies-input-2' to 'file:///build/nix-test/binary-cache-build-remote/binary-cache'... building '/build/nix-test/binary-cache-build-remote/store/hyrf8gnz4bwxl1094l1civ0d5rzx8ww2-dependencies-input-1.drv' on 'auto'... copying 1 paths... copying path '/build/nix-test/binary-cache-build-remote/store/f05cgd5lbfssjvjy095yp51788zhj45k-builder-dependencies-input-1.sh' from 'file:///build/nix-test/binary-cache-build-remote/binary-cache'... building '/build/nix-test/binary-cache-build-remote/store/hyrf8gnz4bwxl1094l1civ0d5rzx8ww2-dependencies-input-1.drv'... copying 1 paths... copying path '/build/nix-test/binary-cache-build-remote/store/lfiajmdbpy653njywdccy8l61daazvfv-dependencies-input-1' to 'file:///build/nix-test/binary-cache-build-remote/binary-cache'... building '/build/nix-test/binary-cache-build-remote/store/jhzfgwmlva1jgsarfvihbxnrxx669zaq-fod-input.drv' on 'auto'... copying 1 paths... copying path '/build/nix-test/binary-cache-build-remote/store/fm0mngxkrwid4sb4b039ap23yny83i3x-builder-fod-input.sh' from 'file:///build/nix-test/binary-cache-build-remote/binary-cache'... building '/build/nix-test/binary-cache-build-remote/store/jhzfgwmlva1jgsarfvihbxnrxx669zaq-fod-input.drv'... error: build of '/build/nix-test/binary-cache-build-remote/store/jhzfgwmlva1jgsarfvihbxnrxx669zaq-fod-input.drv' on 'auto' failed: error: removing extended attribute 'btrfs.compression' from '/build/nix-test/binary-cache-build-remote/store/m7g57vfjaympi2mn9wq7xnxhamz207ry-fod-input': Permission denied error: builder for '/build/nix-test/binary-cache-build-remote/store/jhzfgwmlva1jgsarfvihbxnrxx669zaq-fod-input.drv' failed with exit code 1 error: 1 dependencies of derivation '/build/nix-test/binary-cache-build-remote/store/hm5h4inbwycpf86h5lin2hi9rqqlk1g7-dependencies-top.drv' failed to build +(binary-cache-build-remote.sh:10) outPath= ++(binary-cache-build-remote.sh:10) onError ++(/build/source/build/tests/functional/common/vars-and-functions.sh:244) set +x binary-cache-build-remote.sh: test failed at: main in binary-cache-build-remote.sh:10 ============================================================================== Summary of Failures: 3/161 lix:installcheck / functional-ca-eval-store FAIL 0.43s exit status 1 6/161 lix:installcheck / functional-ca-gc FAIL 0.46s exit status 1 8/161 lix:installcheck / functional-ca-build FAIL 1.37s exit status 1 9/161 lix:installcheck / functional-ca-build-cache FAIL 1.62s exit status 1 10/161 lix:installcheck / functional-ca-post-hook FAIL 0.69s exit status 1 15/161 lix:installcheck / functional-ca-substitute FAIL 0.51s exit status 1 17/161 lix:installcheck / functional-ca-why-depends FAIL 0.59s exit status 1 18/161 lix:installcheck / functional-dyn-drv-text-hashed-output FAIL 0.51s exit status 1 19/161 lix:installcheck / functional-dyn-drv-recursive-mod-json FAIL 0.47s exit status 1 27/161 lix:installcheck / functional-ca-nix-copy FAIL 3.72s exit status 1 39/161 lix:installcheck / functional-ca-signatures FAIL 4.06s exit status 1 40/161 lix:installcheck / functional-gc FAIL 0.44s exit status 1 47/161 lix:installcheck / functional-remote-store FAIL 0.89s exit status 1 52/161 lix:installcheck / functional-binary-cache FAIL 1.05s exit status 1 53/161 lix:installcheck / functional-nix-build FAIL 0.37s exit status 1 55/161 lix:installcheck / functional-repair FAIL 0.43s exit status 1 57/161 lix:installcheck / functional-export-graph FAIL 0.38s exit status 1 58/161 lix:installcheck / functional-fixed FAIL 0.57s exit status 1 62/161 lix:installcheck / functional-tarball FAIL 0.45s exit status 1 64/161 lix:installcheck / functional-fetchurl FAIL 0.31s exit status 1 73/161 lix:installcheck / functional-signing FAIL 0.43s exit status 1 75/161 lix:installcheck / functional-check FAIL 0.38s exit status 1 77/161 lix:installcheck / functional-check-refs FAIL 0.35s exit status 1 87/161 lix:installcheck / functional-dependencies FAIL 0.51s exit status 1 88/161 lix:installcheck / functional-nix-channel FAIL 0.86s exit status 1 89/161 lix:installcheck / functional-build-remote-content-addressed-fixed FAIL 0.38s exit status 1 94/161 lix:installcheck / functional-build-remote-trustless-should-pass-3 FAIL 0.36s exit status 1 102/161 lix:installcheck / functional-logging FAIL 0.31s exit status 1 103/161 lix:installcheck / functional-export FAIL 0.31s exit status 1 108/161 lix:installcheck / functional-dump-db FAIL 0.24s exit status 1 110/161 lix:installcheck / functional-linux-sandbox FAIL 0.29s exit status 1 111/161 lix:installcheck / functional-build-dry FAIL 0.26s exit status 1 114/161 lix:installcheck / functional-brotli FAIL 0.26s exit status 1 117/161 lix:installcheck / functional-zstd FAIL 0.26s exit status 1 118/161 lix:installcheck / functional-compression-levels FAIL 0.25s exit status 1 119/161 lix:installcheck / functional-nix-copy-ssh FAIL 0.25s exit status 1 120/161 lix:installcheck / functional-nix-copy-ssh-ng FAIL 0.25s exit status 1 122/161 lix:installcheck / functional-post-hook FAIL 0.51s exit status 1 125/161 lix:installcheck / functional-eval-store FAIL 0.29s exit status 1 129/161 lix:installcheck / functional-why-depends FAIL 0.48s exit status 1 144/161 lix:installcheck / functional-fetchClosure FAIL 0.36s exit status 1 154/161 lix:installcheck / functional-impure-derivations FAIL 1.35s exit status 1 161/161 lix:installcheck / functional-binary-cache-build-remote FAIL 11.32s exit status 1 Ok: 114 Expected Fail: 0 Fail: 43 Unexpected Pass: 0 Skipped: 4 Timeout: 0