Advertisement
Guest User

single process error build nix

a guest
Mar 27th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.07 KB | None | 0 0
  1. running test tests/linux-sandbox.sh... [FAIL]
  2. + clearStore
  3. + echo 'clearing store...'
  4. clearing store...
  5. + chmod -R +w /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  6. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  7. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  8. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  9. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  10. + nix-store --init
  11. + clearProfiles
  12. + profiles=/tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  13. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  14. + canUseSandbox
  15. ++ uname
  16. + [[ Linux != Linux ]]
  17. + '[' '!' -L /proc/self/ns/user ']'
  18. + '[' -e /proc/sys/kernel/unprivileged_userns_clone ']'
  19. ++ cat /proc/sys/kernel/unprivileged_userns_clone
  20. + '[' 1 '!=' 1 ']'
  21. + return 0
  22. + [[ ! /home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash =~ /nix/store ]]
  23. + chmod -R u+w /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  24. chmod: cannot access '/tmp/nix-build-nix-2.0.drv-0/nix-test/store0': No such file or directory
  25. + true
  26. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  27. + export NIX_STORE_DIR=/my/store
  28. + NIX_STORE_DIR=/my/store
  29. + export NIX_REMOTE=/tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  30. + NIX_REMOTE=/tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  31. ++ nix-build dependencies.nix --no-out-link --sandbox-paths /nix/store
  32. these derivations will be built:
  33. /my/store/5ziizwv7nack4bjziddx5q12n01v9a7r-dependencies-input-1.drv
  34. /my/store/qaj3j2lr9vs0axy4hz4bx6686naypvf6-dependencies-input-2.drv
  35. /my/store/06x7dws1rhd57kin85qnxalpk83ah77a-dependencies.drv
  36. building '/my/store/5ziizwv7nack4bjziddx5q12n01v9a7r-dependencies-input-1.drv'...
  37. while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
  38. builder for '/my/store/5ziizwv7nack4bjziddx5q12n01v9a7r-dependencies-input-1.drv' failed with exit code 1
  39. cannot build derivation '/my/store/06x7dws1rhd57kin85qnxalpk83ah77a-dependencies.drv': 1 dependencies couldn't be built
  40. error: build of '/my/store/06x7dws1rhd57kin85qnxalpk83ah77a-dependencies.drv' failed
  41. + outPath=
  42. running test tests/build-dry.sh... [PASS]
  43. running test tests/build-remote.sh... [FAIL]
  44. + clearStore
  45. + echo 'clearing store...'
  46. clearing store...
  47. + chmod -R +w /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  48. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  49. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  50. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  51. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  52. + nix-store --init
  53. + clearProfiles
  54. + profiles=/tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  55. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  56. + canUseSandbox
  57. ++ uname
  58. + [[ Linux != Linux ]]
  59. + '[' '!' -L /proc/self/ns/user ']'
  60. + '[' -e /proc/sys/kernel/unprivileged_userns_clone ']'
  61. ++ cat /proc/sys/kernel/unprivileged_userns_clone
  62. + '[' 1 '!=' 1 ']'
  63. + return 0
  64. + [[ ! /home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash =~ /nix/store ]]
  65. + chmod -R u+w /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  66. + chmod -R u+w /tmp/nix-build-nix-2.0.drv-0/nix-test/store1
  67. chmod: cannot access '/tmp/nix-build-nix-2.0.drv-0/nix-test/store1': No such file or directory
  68. + true
  69. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store0 /tmp/nix-build-nix-2.0.drv-0/nix-test/store1
  70. + nix build -f build-hook.nix -o /tmp/nix-build-nix-2.0.drv-0/nix-test/result --max-jobs 0 --sandbox-paths /nix/store --sandbox-build-dir /build-tmp --builders '/tmp/nix-build-nix-2.0.drv-0/nix-test/store0; /tmp/nix-build-nix-2.0.drv-0/nix-test/store1 - - 1 1 foo'
  71. while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
  72. while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
  73. builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/spjby51hlpl8vljw8268l9i8i42hkyzg-build-hook-input-1.drv' failed with exit code 1
  74. builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/xd77yr0i1xsa1qx9kqmgqxnxpv79bgs7-build-hook-input-2.drv' failed with exit code 1
  75. error: build of '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/spjby51hlpl8vljw8268l9i8i42hkyzg-build-hook-input-1.drv' on '/tmp/nix-build-nix-2.0.drv-0/nix-test/store1' failed: builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/spjby51hlpl8vljw8268l9i8i42hkyzg-build-hook-input-1.drv' failed with exit code 1
  76. error: build of '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/xd77yr0i1xsa1qx9kqmgqxnxpv79bgs7-build-hook-input-2.drv' on '/tmp/nix-build-nix-2.0.drv-0/nix-test/store0' failed: builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/xd77yr0i1xsa1qx9kqmgqxnxpv79bgs7-build-hook-input-2.drv' failed with exit code 1
  77. builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/spjby51hlpl8vljw8268l9i8i42hkyzg-build-hook-input-1.drv' failed with exit code 1
  78. builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/xd77yr0i1xsa1qx9kqmgqxnxpv79bgs7-build-hook-input-2.drv' failed with exit code 1
  79. cannot build derivation '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/897zg9karz8nxk7b2g92863ldvhv2d61-build-hook.drv': 1 dependencies couldn't be built
  80. error: build of '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/897zg9karz8nxk7b2g92863ldvhv2d61-build-hook.drv' failed
  81. running test tests/nar-access.sh... [PASS]
  82. running test tests/structured-attrs.sh... [PASS]
  83. running test tests/fetchGit.sh... [SKIP]
  84. running test tests/fetchMercurial.sh... [SKIP]
  85. running test tests/signing.sh... [PASS]
  86. running test tests/run.sh... [FAIL]
  87. + clearStore
  88. + echo 'clearing store...'
  89. clearing store...
  90. + chmod -R +w /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  91. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  92. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  93. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  94. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  95. + nix-store --init
  96. + clearProfiles
  97. + profiles=/tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  98. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  99. + clearCache
  100. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/binary-cache
  101. + nix run -f run.nix hello -c hello
  102. + grep 'Hello World'
  103. Hello World from /tmp/nix-build-nix-2.0.drv-0/nix-test/store/zw5b9bplv8z1hnbf519ysymfpwg2xd1b-hello/bin/hello
  104. + nix run -f run.nix hello -c hello NixOS
  105. + grep 'Hello NixOS'
  106. Hello NixOS from /tmp/nix-build-nix-2.0.drv-0/nix-test/store/zw5b9bplv8z1hnbf519ysymfpwg2xd1b-hello/bin/hello
  107. + canUseSandbox
  108. ++ uname
  109. + [[ Linux != Linux ]]
  110. + '[' '!' -L /proc/self/ns/user ']'
  111. + '[' -e /proc/sys/kernel/unprivileged_userns_clone ']'
  112. ++ cat /proc/sys/kernel/unprivileged_userns_clone
  113. + '[' 1 '!=' 1 ']'
  114. + return 0
  115. + chmod -R u+w /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  116. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  117. + clearStore
  118. + echo 'clearing store...'
  119. clearing store...
  120. + chmod -R +w /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  121. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  122. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  123. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  124. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  125. + nix-store --init
  126. + clearProfiles
  127. + profiles=/tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  128. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  129. ++ nix eval --raw -f run.nix hello
  130. + path=/tmp/nix-build-nix-2.0.drv-0/nix-test/store/zw5b9bplv8z1hnbf519ysymfpwg2xd1b-hello
  131. + grep 'Hello World'
  132. + nix run --sandbox-build-dir /build-tmp --sandbox-paths '/nix? /bin? /lib? /lib64? /usr?' --store /tmp/nix-build-nix-2.0.drv-0/nix-test/store0 -f run.nix hello -c hello
  133. builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/injmvjhmffnfj0qwf27c4hhcz56p5qxh-hello.drv' failed with exit code 1; last 1 log lines:
  134. while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
  135. error: build of '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/injmvjhmffnfj0qwf27c4hhcz56p5qxh-hello.drv' failed
  136. running test tests/brotli.sh... [PASS]
  137. running test tests/pure-eval.sh... [PASS]
  138. running test tests/check.sh... [PASS]
  139. running test tests/plugins.sh... [PASS]
  140. 3 out of 51 tests failed
  141. make: *** [mk/tests.mk:12: installcheck] Error 1
  142. builder for '/home/nao/nix/store/0hynzkjclh2dxx4g3877wrmg7b3myv3l-nix-2.0.drv' failed with exit code 2
  143. cannot build derivation '/home/nao/nix/store/ih2d8wyk0lwcmqcpx4gfqm57zipwf4h6-tarball.drv': 1 dependencies couldn't be built
  144. error: build of '/home/nao/nix/store/ih2d8wyk0lwcmqcpx4gfqm57zipwf4h6-tarball.drv' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement