build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.15 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=35-chars&rev=dff0402702ad8d36d8ef34691d24e26b20cf84b6&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.18 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/ddfbf82b4201104dd72ceaae772de11cc6c15c03ecc07e2902cb563cbbf5b429.sqlite' is busy
  3. 0.26 s
  4. 0.26 s Downloading cached source from https://cache.nix-ci.com
  5. 3.63 s Downloaded cached source (185.8 MiB) in 3.3s
  6. 3.63 s Progress: 1 of 1 downloaded from cache
  7. 7.23 s Progress: 0 of 1 downloaded from cache
  8. 7.27 s Downloading cached source from https://cache.nix-ci.com
  9. 16.31 s Downloaded cached source (194.4 MiB) in 9.0s
  10. 16.35 s Progress: 1 of 1 downloaded from cache
  11. 18.88 s Progress: 0 of 1 downloaded from cache
  12. 18.88 s Downloading cached source from https://cache.nix-ci.com
  13. 27.04 s Downloaded cached source (186 MiB) in 8.1s
  14. 27.08 s Progress: 1 of 1 downloaded from cache
  15. 27.78 s
  16. 27.78 s Downloading cached errcheck from https://cache.nix-ci.com
  17. 27.78 s Downloading cached gci from https://cache.nix-ci.com
  18. 27.78 s Downloading cached go-critic from https://cache.nix-ci.com
  19. 27.78 s Downloading cached go-tools from https://cache.nix-ci.com
  20. 27.78 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  21. 27.92 s Downloaded cached errcheck (5 MiB) in 136ms
  22. 27.92 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  23. 27.92 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 139ms
  24. 27.92 s Progress: 0 of 5 built, 2 of 6 downloaded from cache (3 downloading)
  25. 27.92 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  26. 27.93 s Downloaded cached go-critic (9.1 MiB) in 152ms
  27. 27.93 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  28. 28.01 s Downloaded cached gci (14.3 MiB) in 228ms
  29. 28.01 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  30. 28.06 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 140ms
  31. 28.06 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  32. 28.21 s Downloaded cached go-tools (41.8 MiB) in 428ms
  33. 28.21 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  34. 28.32 s Building /nix/store/q1fqfd7y3wi8dbv10skb882347d28sd1-go-tests-0.0.0.drv
  35. 28.38 s [go-tests] Phase: unpackPhase
  36. 28.38 s [go-tests] unpacking source archive /nix/store/m9pv3fpqm9n4jpswarz1a2gx8c9knia6-source
  37. 28.39 s [go-tests] source root is source
  38. 28.40 s [go-tests] Phase: patchPhase
  39. 28.41 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  40. 28.41 s [go-tests] Phase: configurePhase
  41. 28.42 s [go-tests] no configure script, doing nothing
  42. 28.42 s [go-tests] Phase: buildPhase
  43. 28.43 s [go-tests] patching script interpreter paths in ./dev-scripts
  44. 28.43 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"
  45. 28.44 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"
  46. 28.44 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"
  47. 28.45 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"
  48. 28.46 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"
  49. 28.47 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"
  50. 28.47 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. 28.48 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  52. 28.49 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"
  53. 28.50 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"
  54. 28.50 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"
  55. 28.51 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"
  56. 28.52 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"
  57. 28.53 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"
  58. 28.53 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"
  59. 28.54 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"
  60. 28.55 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"
  61. 28.55 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"
  62. 28.56 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"
  63. 28.57 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"
  64. 28.57 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"
  65. 28.58 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"
  66. 28.59 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"
  67. 28.60 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"
  68. 28.67 s [go-tests] + set -o pipefail
  69. 28.67 s [go-tests] + full_test=
  70. 28.67 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  71. 28.67 s [go-tests] + go_test_flags+=("-fullpath")
  72. 28.67 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  73. 28.67 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  74. 28.67 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  75. 28.67 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  76. 28.67 s [go-tests] + [[ '' = \-\-full ]]
  77. 28.67 s [go-tests] + set -u
  78. 28.67 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  79. 28.67 s [go-tests] ++ cd ./dev-scripts
  80. 28.67 s [go-tests] ++ pwd
  81. 28.67 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  82. 28.67 s [go-tests] + readonly SCRIPT_DIR
  83. 28.67 s [go-tests] + cd /build/source/dev-scripts/..
  84. 28.67 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  85. 32.22 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  86. 34.40 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  87. 35.27 s [go-tests] ok codeberg.org/mtlynch/grosiree/handlers 0.658s
  88. 35.27 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  89. 35.27 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  90. 35.27 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.645s
  91. 35.27 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  92. 35.27 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.003s
  93. 35.33 s [go-tests] + [[ -n '' ]]
  94. 35.33 s [go-tests] + go vet ./...
  95. 39.76 s [go-tests] + go_package_dirs=()
  96. 39.79 s [go-tests] + IFS=
  97. 39.79 s [go-tests] + read -r go_package_dir
  98. 39.79 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  99. 39.80 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 39.80 s [go-tests] + IFS=
  101. 39.80 s [go-tests] + read -r go_package_dir
  102. 39.80 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 39.80 s [go-tests] + IFS=
  104. 39.80 s [go-tests] + read -r go_package_dir
  105. 39.80 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 39.80 s [go-tests] + IFS=
  107. 39.80 s [go-tests] + read -r go_package_dir
  108. 39.80 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 39.80 s [go-tests] + IFS=
  110. 39.80 s [go-tests] + read -r go_package_dir
  111. 39.80 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 39.80 s [go-tests] + IFS=
  113. 39.80 s [go-tests] + read -r go_package_dir
  114. 39.80 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 39.80 s [go-tests] + IFS=
  116. 39.80 s [go-tests] + read -r go_package_dir
  117. 39.80 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 39.80 s [go-tests] + IFS=
  119. 39.80 s [go-tests] + read -r go_package_dir
  120. 39.80 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 39.80 s [go-tests] + IFS=
  122. 39.80 s [go-tests] + read -r go_package_dir
  123. 39.80 s [go-tests] + readonly go_package_dirs
  124. 39.80 s [go-tests] ++ go env GOBIN
  125. 39.80 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  126. 39.80 s [go-tests] + readonly GCI_PATH
  127. 39.80 s [go-tests] + readonly GCI_VERSION=v0.14.0
  128. 39.80 s [go-tests] + GCI_VERSION=v0.14.0
  129. 39.81 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  130. 39.81 s [go-tests] ++ /build/home/go/bin/gci --version
  131. 39.81 s [go-tests] + gci_version_output='gci version 0.14.0'
  132. 39.81 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  133. 39.81 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  134. 39.81 s [go-tests] + readonly gci_sections
  135. 39.81 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
  136. 39.82 s [go-tests] + gci_output=
  137. 39.82 s [go-tests] + [[ -n '' ]]
  138. 39.82 s [go-tests] ++ go env GOBIN
  139. 39.83 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  140. 39.83 s [go-tests] + readonly GOCRITIC_PATH
  141. 39.83 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  142. 39.83 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  143. 39.83 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  144. 39.83 s [go-tests] + /build/home/go/bin/go-critic check ./...
  145. 40.32 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  146. 40.74 s [go-tests] ++ go env GOBIN
  147. 40.74 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  148. 40.74 s [go-tests] + readonly STATICCHECK_PATH
  149. 40.74 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  150. 40.74 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  151. 40.74 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  152. 40.74 s [go-tests] + /build/home/go/bin/staticcheck ./...
  153. 43.13 s [go-tests] ++ go env GOBIN
  154. 43.13 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  155. 43.13 s [go-tests] + readonly ERRCHECK_PATH
  156. 43.13 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  157. 43.13 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  158. 43.13 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  159. 43.13 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  160. 43.26 s [go-tests] Phase: installPhase
  161. 43.26 s [go-tests] Phase: fixupPhase
  162. 43.27 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/v4sd0jpn6k5m8jmgm2dp2wcgvh5hysbq-go-tests-0.0.0
  163. 43.27 s [go-tests] checking for references to /build/ in /nix/store/v4sd0jpn6k5m8jmgm2dp2wcgvh5hysbq-go-tests-0.0.0...
  164. 43.28 s [go-tests] patching script interpreter paths in /nix/store/v4sd0jpn6k5m8jmgm2dp2wcgvh5hysbq-go-tests-0.0.0
  165. 43.40 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/v4sd0jpn6k5m8jmgm2dp2wcgvh5hysbq-go-tests-0.0.0
  166. 43.43 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  167. 43.43 s [go-tests:post-build] copying 1 paths...
  168. 43.43 s [go-tests:post-build] copying path '/nix/store/v4sd0jpn6k5m8jmgm2dp2wcgvh5hysbq-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  169. 43.59 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  170. 44.70 s [go-tests:post-build] copying 1 paths...
  171. 44.70 s [go-tests:post-build] copying path '/nix/store/q1fqfd7y3wi8dbv10skb882347d28sd1-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  172. 44.94 s Uploaded go-tests in 1.5s
  173. 44.99 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  174. 44.99 s Built go-tests in 16.6s
  175. 44.99 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  176. 44.99 s /nix/store/v4sd0jpn6k5m8jmgm2dp2wcgvh5hysbq-go-tests-0.0.0
  177. 44.99 s Build succeeded.