build packages.x86_64-linux.go-tests

Reproduce this run
Retry Run
  1. 2.17 s $ /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/23zk8sgzamrbmj1fday15szf7f2279s8-nix-2.34.7/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link --print-out-paths git+https://codeberg.org/mtlynch/grosiree?ref=experimental%2Fgrocery-form-template&rev=b3bfff67f1971fa75fed8dbd764653a2fdc39693&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.53 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/ec1ef25471bd5a4feb4ee500712727e06210e06e5c5735c977beacd90a42126e.sqlite' is busy
  3. 3.53 s
  4. 3.74 s Building /nix/store/fqqnlzm03p9l29n9w7zn1sr2ff2cd9gq-go-tests-0.0.0.drv
  5. 3.80 s [go-tests] Phase: unpackPhase
  6. 3.81 s [go-tests] unpacking source archive /nix/store/kymqxwpd3xg6h5fxbq0dj604fcpiyhr1-source
  7. 3.83 s [go-tests] source root is source
  8. 3.84 s [go-tests] Phase: patchPhase
  9. 3.85 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  10. 3.85 s [go-tests] Phase: configurePhase
  11. 3.86 s [go-tests] no configure script, doing nothing
  12. 3.87 s [go-tests] Phase: buildPhase
  13. 3.87 s [go-tests] patching script interpreter paths in ./dev-scripts
  14. 3.87 s [go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  15. 3.88 s [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  16. 3.89 s [go-tests] ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  17. 3.90 s [go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  18. 3.91 s [go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  19. 3.92 s [go-tests] ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  20. 3.93 s [go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  21. 3.94 s [go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  22. 3.95 s [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  23. 3.96 s [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  24. 3.97 s [go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  25. 3.98 s [go-tests] ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  26. 3.99 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  27. 4.00 s [go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  28. 4.01 s [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  29. 4.02 s [go-tests] ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  30. 4.02 s [go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  31. 4.03 s [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  32. 4.04 s [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  33. 4.05 s [go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  34. 4.06 s [go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  35. 4.07 s [go-tests] ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  36. 4.07 s [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  37. 4.08 s [go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  38. 4.17 s [go-tests] + set -o pipefail
  39. 4.17 s [go-tests] + full_test=
  40. 4.17 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  41. 4.17 s [go-tests] + go_test_flags+=("-fullpath")
  42. 4.17 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  43. 4.17 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  44. 4.17 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  45. 4.17 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  46. 4.17 s [go-tests] + [[ '' = \-\-full ]]
  47. 4.17 s [go-tests] + set -u
  48. 4.17 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  49. 4.17 s [go-tests] ++ cd ./dev-scripts
  50. 4.17 s [go-tests] ++ pwd
  51. 4.17 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  52. 4.17 s [go-tests] + readonly SCRIPT_DIR
  53. 4.17 s [go-tests] + cd /build/source/dev-scripts/..
  54. 4.17 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  55. 10.43 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  56. 12.14 s [go-tests] # codeberg.org/mtlynch/grosiree/handlers_test [codeberg.org/mtlynch/grosiree/handlers.test]
  57. 12.14 s [go-tests] handlers/stored_lists_test.go:37:19: undefined: formRequest
  58. 12.14 s [go-tests] handlers/stored_lists_test.go:62:25: undefined: formRequest
  59. 12.14 s [go-tests] handlers/stored_lists_test.go:131:19: undefined: formRequest
  60. 12.18 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  61. 12.18 s [go-tests] FAIL codeberg.org/mtlynch/grosiree/handlers [build failed]
  62. 12.18 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  63. 12.18 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  64. 13.15 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.831s
  65. 13.15 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  66. 13.15 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.004s
  67. 13.15 s [go-tests] FAIL
  68. 13.31 s Progress: 0 of 1 built (1 failed)
  69. 13.31 s Failed to build go-tests after 9.5s
  70. 13.32 s Cannot build '/nix/store/fqqnlzm03p9l29n9w7zn1sr2ff2cd9gq-go-tests-0.0.0.drv'.
  71. 13.32 s Reason: builder failed with exit code 1.
  72. 13.32 s Output paths:
  73. 13.32 s /nix/store/filgckdqrx6al1vigcfp4diq55z8amsc-go-tests-0.0.0
  74. 13.32 s Last 63 log lines:
  75. 13.32 s > Running phase: unpackPhase
  76. 13.32 s > unpacking source archive /nix/store/kymqxwpd3xg6h5fxbq0dj604fcpiyhr1-source
  77. 13.32 s > source root is source
  78. 13.32 s > Running phase: patchPhase
  79. 13.32 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  80. 13.32 s > Running phase: configurePhase
  81. 13.32 s > no configure script, doing nothing
  82. 13.32 s > Running phase: buildPhase
  83. 13.32 s > patching script interpreter paths in ./dev-scripts
  84. 13.32 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  85. 13.32 s > ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  86. 13.32 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  87. 13.32 s > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  88. 13.32 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  89. 13.32 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  90. 13.32 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  91. 13.32 s > ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  92. 13.32 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  93. 13.32 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  94. 13.32 s > ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  95. 13.32 s > ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  96. 13.32 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  97. 13.32 s > ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  98. 13.32 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  99. 13.32 s > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  100. 13.32 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  101. 13.32 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  102. 13.32 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  103. 13.32 s > ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  104. 13.32 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  105. 13.32 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  106. 13.32 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  107. 13.32 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  108. 13.32 s > + set -o pipefail
  109. 13.32 s > + full_test=
  110. 13.32 s > + go_test_flags=("-tags=netgo,osusergo")
  111. 13.32 s > + go_test_flags+=("-fullpath")
  112. 13.32 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  113. 13.32 s > + COVERAGE_FILE_RAW=.coverage.out
  114. 13.32 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  115. 13.32 s > + COVERAGE_FILE_HTML=.coverage.html
  116. 13.32 s > + [[ '' = \-\-full ]]
  117. 13.32 s > + set -u
  118. 13.32 s > +++ dirname ./dev-scripts/run-go-tests
  119. 13.32 s > ++ cd ./dev-scripts
  120. 13.32 s > ++ pwd
  121. 13.32 s > + SCRIPT_DIR=/build/source/dev-scripts
  122. 13.32 s > + readonly SCRIPT_DIR
  123. 13.32 s > + cd /build/source/dev-scripts/..
  124. 13.32 s > + go test -tags=netgo,osusergo -fullpath ./...
  125. 13.32 s > ? codeberg.org/mtlynch/grosiree/build [no test files]
  126. 13.32 s > # codeberg.org/mtlynch/grosiree/handlers_test [codeberg.org/mtlynch/grosiree/handlers.test]
  127. 13.32 s > handlers/stored_lists_test.go:37:19: undefined: formRequest
  128. 13.32 s > handlers/stored_lists_test.go:62:25: undefined: formRequest
  129. 13.32 s > handlers/stored_lists_test.go:131:19: undefined: formRequest
  130. 13.32 s > ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  131. 13.32 s > FAIL codeberg.org/mtlynch/grosiree/handlers [build failed]
  132. 13.32 s > ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  133. 13.32 s > ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  134. 13.32 s > ok codeberg.org/mtlynch/grosiree/store/sqlite 0.831s
  135. 13.32 s > ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  136. 13.32 s > ok codeberg.org/mtlynch/grosiree/types 0.004s
  137. 13.32 s > FAIL
  138. 13.32 s For full logs, run:
  139. 13.32 s nix log /nix/store/fqqnlzm03p9l29n9w7zn1sr2ff2cd9gq-go-tests-0.0.0.drv
  140. 13.37 s Build failed.