these 2 derivations will be built: /nix/store/6j8c5yj4hijlmlhdcgjmfb0n9vz2h468-rootfs-ubuntu-22_04.drv /nix/store/7s28jl0diw88s4sak7s1gc398v8krlpb-container-test-ubuntu-22-04-empty-config.drv error: Cannot build '/nix/store/7s28jl0diw88s4sak7s1gc398v8krlpb-container-test-ubuntu-22-04-empty-config.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/9z2zy7ksakvbp8izywprx47qpzv7jyxn-container-test-ubuntu-22-04-empty-config Last 25 log lines: > [ubuntu-22-04-empty-config] > [ubuntu-22-04-empty-config] > [ubuntu-22-04-empty-config] Ubuntu 22.04.5 LTS ubuntu console > [ubuntu-22-04-empty-config] > ubuntu-22-04-empty-config: waiting for unit 'nix-daemon.socket' > (finished: waiting for unit 'nix-daemon.socket', in 0.01 seconds) > (finished: Installing Nix via nix-installer, in 2.96 seconds) > [3.0s] Nix installation complete > ubuntu-22-04-empty-config: Copying profile /nix/store/mf658bk4i8an8w6ag51d96dg0ix8s30b-system-manager to container > Copying 144 store paths... > (finished: Copying profile /nix/store/mf658bk4i8an8w6ag51d96dg0ix8s30b-system-manager to container, in 2.30 seconds) > [2.3s] Profile copy complete > [6.3s] All containers ready > To attach to container ubuntu-22-04-empty-config run on the same machine that runs the test: > sudo nsenter --target 55 --mount --uts --ipc --net --pid --cgroup -- /usr/bin/env PATH=/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin /bin/bash > ubuntu-22-04-empty-config: waiting for unit 'multi-user.target' > (finished: waiting for unit 'multi-user.target', in 0.01 seconds) > subtest: etcFiles.json contains only system-manager infrastructure > ubuntu-22-04-empty-config: must succeed: cat /nix/store/mf658bk4i8an8w6ag51d96dg0ix8s30b-system-manager/etcFiles/etcFiles.json > (finished: must succeed: cat /nix/store/mf658bk4i8an8w6ag51d96dg0ix8s30b-system-manager/etcFiles/etcFiles.json, in 0.00 seconds) > (finished: subtest: etcFiles.json contains only system-manager infrastructure, in 0.00 seconds) > subtest: services.json contains only system-manager infrastructure > ubuntu-22-04-empty-config: must succeed: cat /nix/store/mf658bk4i8an8w6ag51d96dg0ix8s30b-system-manager/services/services.json > (finished: must succeed: cat /nix/store/mf658bk4i8an8w6ag51d96dg0ix8s30b-system-manager/services/services.json, in 0.00 seconds) > Test "services.json contains only system-manager infrastructure" failed with error: "Empty config should not produce services beyond infrastructure: {'userborn-import-legacy.service'}" For full logs, run: nix log /nix/store/7s28jl0diw88s4sak7s1gc398v8krlpb-container-test-ubuntu-22-04-empty-config.drv