build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.00 s $ /nix/store/61685rbaxmpigwi3z23i33sv3jyfl70q-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/wknkybkzrc16r11vk5vrykh4wmw7a353-nix-2.34.8/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=double-add&rev=00f5405b3b05ef4809a4647b1f5d72560e6a8cba&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.09 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/c2eee3400f806cc6bba85b72274423d12c49f9d1e90dc9d47ccb71a97737989b.sqlite' is busy
  3. 3.04 s
  4. 3.54 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 3.54 s Downloading cached gci from https://cache.nix-ci.com
  6. 3.54 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 3.54 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 3.54 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  9. 3.67 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 127ms
  10. 3.67 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  11. 3.67 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  12. 3.74 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 68ms
  13. 3.74 s Progress: 0 of 6 built, 2 of 6 downloaded from cache (4 downloading)
  14. 4.01 s Downloaded cached errcheck (5 MiB) in 469ms
  15. 4.01 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  16. 4.21 s Downloaded cached gci (14.3 MiB) in 671ms
  17. 4.21 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  18. 4.22 s Downloaded cached go-critic (9.1 MiB) in 683ms
  19. 4.22 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  20. 5.39 s Downloaded cached go-tools (41.8 MiB) in 1.8s
  21. 5.39 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  22. 5.50 s Building /nix/store/rfp4j3kgv0pc4snai8s2788qjshsmd7b-go-tests-0.0.0.drv
  23. 5.56 s [go-tests] Phase: unpackPhase
  24. 5.57 s [go-tests] unpacking source archive /nix/store/p2gfwqhgp16q7aqyl5mav31g8p7zb3c1-source
  25. 5.58 s [go-tests] source root is source
  26. 5.59 s [go-tests] Phase: patchPhase
  27. 5.59 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  28. 5.60 s [go-tests] Phase: configurePhase
  29. 5.61 s [go-tests] no configure script, doing nothing
  30. 5.61 s [go-tests] Phase: buildPhase
  31. 5.62 s [go-tests] patching script interpreter paths in ./dev-scripts
  32. 5.62 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"
  33. 5.63 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. 5.63 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"
  35. 5.64 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"
  36. 5.65 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"
  37. 5.66 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"
  38. 5.67 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  39. 5.67 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"
  40. 5.68 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"
  41. 5.69 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"
  42. 5.70 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"
  43. 5.71 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"
  44. 5.71 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"
  45. 5.72 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"
  46. 5.73 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"
  47. 5.74 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"
  48. 5.75 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"
  49. 5.75 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"
  50. 5.76 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"
  51. 5.77 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"
  52. 5.78 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"
  53. 5.85 s [go-tests] + set -o pipefail
  54. 5.85 s [go-tests] + full_test=
  55. 5.85 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  56. 5.85 s [go-tests] + go_test_flags+=("-fullpath")
  57. 5.85 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  58. 5.85 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  59. 5.85 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  60. 5.85 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  61. 5.85 s [go-tests] + case "${1:-}" in
  62. 5.85 s [go-tests] + [[ 0 -gt 1 ]]
  63. 5.85 s [go-tests] + set -u
  64. 5.85 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  65. 5.85 s [go-tests] ++ cd ./dev-scripts
  66. 5.85 s [go-tests] ++ pwd
  67. 5.85 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  68. 5.85 s [go-tests] + readonly SCRIPT_DIR
  69. 5.85 s [go-tests] + cd /build/source/dev-scripts/..
  70. 5.85 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  71. 9.48 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  72. 11.74 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  73. 12.66 s [go-tests] ok codeberg.org/mtlynch/grosiree/handlers 0.694s
  74. 12.66 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  75. 12.66 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  76. 12.66 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.665s
  77. 12.66 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  78. 12.66 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.004s
  79. 12.72 s [go-tests] + [[ -n '' ]]
  80. 12.72 s [go-tests] + go vet ./...
  81. 17.17 s [go-tests] ++ go env GOBIN
  82. 17.18 s [go-tests] + [[ -z /build/home/go/bin ]]
  83. 17.18 s [go-tests] + go_package_dirs=()
  84. 17.18 s [go-tests] + IFS=
  85. 17.18 s [go-tests] + read -r go_package_dir
  86. 17.18 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  87. 17.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 17.22 s [go-tests] + IFS=
  89. 17.22 s [go-tests] + read -r go_package_dir
  90. 17.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 17.22 s [go-tests] + IFS=
  92. 17.22 s [go-tests] + read -r go_package_dir
  93. 17.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 17.22 s [go-tests] + IFS=
  95. 17.22 s [go-tests] + read -r go_package_dir
  96. 17.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 17.22 s [go-tests] + IFS=
  98. 17.22 s [go-tests] + read -r go_package_dir
  99. 17.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 17.22 s [go-tests] + IFS=
  101. 17.22 s [go-tests] + read -r go_package_dir
  102. 17.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 17.22 s [go-tests] + IFS=
  104. 17.22 s [go-tests] + read -r go_package_dir
  105. 17.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 17.22 s [go-tests] + IFS=
  107. 17.22 s [go-tests] + read -r go_package_dir
  108. 17.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 17.22 s [go-tests] + IFS=
  110. 17.22 s [go-tests] + read -r go_package_dir
  111. 17.22 s [go-tests] + readonly go_package_dirs
  112. 17.22 s [go-tests] ++ go env GOBIN
  113. 17.22 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  114. 17.23 s [go-tests] + readonly GCI_PATH
  115. 17.23 s [go-tests] + readonly GCI_VERSION=v0.14.0
  116. 17.23 s [go-tests] + GCI_VERSION=v0.14.0
  117. 17.23 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  118. 17.23 s [go-tests] ++ /build/home/go/bin/gci --version
  119. 17.23 s [go-tests] + gci_version_output='gci version 0.14.0'
  120. 17.23 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  121. 17.23 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  122. 17.23 s [go-tests] + readonly gci_sections
  123. 17.23 s [go-tests] ++ /build/home/go/bin/gci list --skip-generated --skip-vendor --section=standard --section=default --section=localmodule /build/source/build /build/source/cmd/app /build/source/handlers /build/source/handlers/auth/shared_secret /build/source/handlers/auth/shared_secret/kdf /build/source/store/sqlite /build/source/store/test_sqlite /build/source/types
  124. 17.24 s [go-tests] + gci_output=
  125. 17.24 s [go-tests] + [[ -n '' ]]
  126. 17.24 s [go-tests] ++ go env GOBIN
  127. 17.25 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  128. 17.25 s [go-tests] + readonly GOCRITIC_PATH
  129. 17.25 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  130. 17.25 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  131. 17.25 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  132. 17.25 s [go-tests] + /build/home/go/bin/go-critic check ./...
  133. 17.78 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  134. 18.22 s [go-tests] ++ go env GOBIN
  135. 18.23 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  136. 18.23 s [go-tests] + readonly STATICCHECK_PATH
  137. 18.23 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  138. 18.23 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  139. 18.23 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  140. 18.23 s [go-tests] + /build/home/go/bin/staticcheck ./...
  141. 20.65 s [go-tests] ++ go env GOBIN
  142. 20.65 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  143. 20.65 s [go-tests] + readonly ERRCHECK_PATH
  144. 20.65 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  145. 20.65 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  146. 20.65 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  147. 20.65 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  148. 20.78 s [go-tests] Phase: installPhase
  149. 20.78 s [go-tests] Phase: fixupPhase
  150. 20.79 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/47dm7bz9g48y20xfl1z5xc1dp5k096a9-go-tests-0.0.0
  151. 20.79 s [go-tests] checking for references to /build/ in /nix/store/47dm7bz9g48y20xfl1z5xc1dp5k096a9-go-tests-0.0.0...
  152. 20.80 s [go-tests] patching script interpreter paths in /nix/store/47dm7bz9g48y20xfl1z5xc1dp5k096a9-go-tests-0.0.0
  153. 20.92 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/47dm7bz9g48y20xfl1z5xc1dp5k096a9-go-tests-0.0.0
  154. 20.95 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  155. 20.96 s [go-tests:post-build] copying 1 paths...
  156. 20.96 s [go-tests:post-build] copying path '/nix/store/47dm7bz9g48y20xfl1z5xc1dp5k096a9-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  157. 21.15 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  158. 21.89 s [go-tests:post-build] copying 10 paths...
  159. 21.89 s [go-tests:post-build] copying path '/nix/store/sjk5yx8xs8mx0q3qq9q15rc3sbw5f7j0-source.drv' to 'https://cache.nix-ci.com'...
  160. 21.89 s [go-tests:post-build] copying path '/nix/store/74vbrccg9fsp4bfzkz8p2kd6fj4lc7p2-source.drv' to 'https://cache.nix-ci.com'...
  161. 21.89 s [go-tests:post-build] copying path '/nix/store/83m6kw2zp0qfhb0lfjwvmzkaxlyipg8h-source.drv' to 'https://cache.nix-ci.com'...
  162. 22.13 s [go-tests:post-build] copying path '/nix/store/xs5r9mxmsp1byqdlikwsfm5958m3cni3-errcheck-1.9.0-go-modules.drv' to 'https://cache.nix-ci.com'...
  163. 22.13 s [go-tests:post-build] copying path '/nix/store/vj16ll6a07bd12n8sycnf9iqh4rb37ma-go-tools-2025.1.1-go-modules.drv' to 'https://cache.nix-ci.com'...
  164. 22.13 s [go-tests:post-build] copying path '/nix/store/r9czhhbkp68jkibz1fyvw1jqgg46xb60-go-critic-0.14.2-go-modules.drv' to 'https://cache.nix-ci.com'...
  165. 22.37 s [go-tests:post-build] copying path '/nix/store/l9c9kxsflplhd18lyvmqf9ichw2372h7-go-tools-2025.1.1.drv' to 'https://cache.nix-ci.com'...
  166. 22.37 s [go-tests:post-build] copying path '/nix/store/00nzb3sx3y5ral6cjh6jjz02csfdhyx5-errcheck-1.9.0.drv' to 'https://cache.nix-ci.com'...
  167. 22.38 s [go-tests:post-build] copying path '/nix/store/456pa0nvggr340f0iwh8mk69c4jz2flr-go-critic-0.14.2.drv' to 'https://cache.nix-ci.com'...
  168. 22.61 s [go-tests:post-build] copying path '/nix/store/rfp4j3kgv0pc4snai8s2788qjshsmd7b-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  169. 22.86 s Uploaded go-tests in 1.9s
  170. 22.86 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  171. 22.86 s Built go-tests in 17.3s
  172. 22.86 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  173. 22.86 s /nix/store/47dm7bz9g48y20xfl1z5xc1dp5k096a9-go-tests-0.0.0
  174. 22.92 s Build succeeded.