build packages.x86_64-linux.go-tests

Reproduce this run
  1. 3.07 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=item-name-spaces&rev=ddf581b8e7f62bfd9ed568383859b6eb914cd118&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 5.68 s
  3. 5.68 s Downloading cached source from https://cache.nix-ci.com
  4. 8.70 s Downloaded cached source (194.4 MiB) in 3.0s
  5. 8.93 s Progress: 1 of 1 downloaded from cache
  6. 9.61 s Progress: 0 of 1 downloaded from cache
  7. 9.61 s Downloading cached source from https://cache.nix-ci.com
  8. 16.79 s Downloaded cached source (186 MiB) in 7.1s
  9. 18.62 s Progress: 1 of 1 downloaded from cache
  10. 18.62 s
  11. 18.62 s Downloading cached errcheck from https://cache.nix-ci.com
  12. 18.62 s Downloading cached gci from https://cache.nix-ci.com
  13. 18.62 s Downloading cached go-critic from https://cache.nix-ci.com
  14. 18.62 s Downloading cached go-tools from https://cache.nix-ci.com
  15. 18.62 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  16. 18.65 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 34ms
  17. 18.65 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  18. 18.65 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  19. 18.67 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 10ms
  20. 18.67 s Progress: 0 of 6 built, 2 of 6 downloaded from cache (4 downloading)
  21. 18.67 s Downloaded cached go-critic (9.1 MiB) in 50ms
  22. 18.67 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  23. 18.68 s Downloaded cached gci (14.3 MiB) in 55ms
  24. 18.68 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  25. 18.68 s Downloaded cached errcheck (5 MiB) in 61ms
  26. 18.68 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  27. 18.70 s Downloaded cached go-tools (41.8 MiB) in 82ms
  28. 18.70 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  29. 18.70 s Building /nix/store/43bbr0xq482wn1rnfgr9r5wr5rr4kznq-go-tests-0.0.0.drv
  30. 18.76 s [go-tests] Phase: unpackPhase
  31. 18.76 s [go-tests] unpacking source archive /nix/store/ippwc96r4vzxdqnx32wn2agwx320pq4m-source
  32. 18.77 s [go-tests] source root is source
  33. 18.78 s [go-tests] Phase: patchPhase
  34. 18.78 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  35. 18.79 s [go-tests] Phase: configurePhase
  36. 18.80 s [go-tests] no configure script, doing nothing
  37. 18.80 s [go-tests] Phase: buildPhase
  38. 18.80 s [go-tests] patching script interpreter paths in ./dev-scripts
  39. 18.81 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"
  40. 18.81 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"
  41. 18.82 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"
  42. 18.83 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"
  43. 18.83 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"
  44. 18.84 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. 18.85 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. 18.86 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"
  47. 18.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"
  48. 18.87 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"
  49. 18.88 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"
  50. 18.89 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"
  51. 18.90 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. 18.90 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"
  53. 18.91 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"
  54. 18.92 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"
  55. 18.92 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"
  56. 18.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"
  57. 18.94 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. 18.94 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"
  59. 18.95 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"
  60. 18.96 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"
  61. 18.97 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"
  62. 18.97 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"
  63. 19.05 s [go-tests] + set -o pipefail
  64. 19.05 s [go-tests] + full_test=
  65. 19.05 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  66. 19.05 s [go-tests] + go_test_flags+=("-fullpath")
  67. 19.05 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  68. 19.05 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  69. 19.05 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  70. 19.05 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  71. 19.05 s [go-tests] + [[ '' = \-\-full ]]
  72. 19.05 s [go-tests] + set -u
  73. 19.05 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  74. 19.05 s [go-tests] ++ cd ./dev-scripts
  75. 19.05 s [go-tests] ++ pwd
  76. 19.05 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  77. 19.05 s [go-tests] + readonly SCRIPT_DIR
  78. 19.05 s [go-tests] + cd /build/source/dev-scripts/..
  79. 19.05 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  80. 22.64 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  81. 25.04 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  82. 25.99 s [go-tests] ok codeberg.org/mtlynch/grosiree/handlers 0.727s
  83. 25.99 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  84. 25.99 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  85. 25.99 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.681s
  86. 25.99 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  87. 25.99 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.003s
  88. 26.05 s [go-tests] + [[ -n '' ]]
  89. 26.05 s [go-tests] + go vet ./...
  90. 30.89 s [go-tests] + go_package_dirs=()
  91. 31.53 s [go-tests] + IFS=
  92. 31.53 s [go-tests] + read -r go_package_dir
  93. 31.53 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  94. 31.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  95. 31.53 s [go-tests] + IFS=
  96. 31.53 s [go-tests] + read -r go_package_dir
  97. 31.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  98. 31.53 s [go-tests] + IFS=
  99. 31.53 s [go-tests] + read -r go_package_dir
  100. 31.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  101. 31.53 s [go-tests] + IFS=
  102. 31.53 s [go-tests] + read -r go_package_dir
  103. 31.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  104. 31.53 s [go-tests] + IFS=
  105. 31.53 s [go-tests] + read -r go_package_dir
  106. 31.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  107. 31.53 s [go-tests] + IFS=
  108. 31.53 s [go-tests] + read -r go_package_dir
  109. 31.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  110. 31.53 s [go-tests] + IFS=
  111. 31.53 s [go-tests] + read -r go_package_dir
  112. 31.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  113. 31.53 s [go-tests] + IFS=
  114. 31.53 s [go-tests] + read -r go_package_dir
  115. 31.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 31.53 s [go-tests] + IFS=
  117. 31.53 s [go-tests] + read -r go_package_dir
  118. 31.53 s [go-tests] + readonly go_package_dirs
  119. 31.53 s [go-tests] ++ go env GOBIN
  120. 31.53 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  121. 31.53 s [go-tests] + readonly GCI_PATH
  122. 31.53 s [go-tests] + readonly GCI_VERSION=v0.14.0
  123. 31.53 s [go-tests] + GCI_VERSION=v0.14.0
  124. 31.53 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  125. 31.53 s [go-tests] ++ /build/home/go/bin/gci --version
  126. 31.53 s [go-tests] + gci_version_output='gci version 0.14.0'
  127. 31.53 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  128. 31.53 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  129. 31.53 s [go-tests] + readonly gci_sections
  130. 31.53 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
  131. 31.53 s [go-tests] + gci_output=
  132. 31.53 s [go-tests] + [[ -n '' ]]
  133. 31.53 s [go-tests] ++ go env GOBIN
  134. 31.53 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  135. 31.53 s [go-tests] + readonly GOCRITIC_PATH
  136. 31.53 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  137. 31.53 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  138. 31.53 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  139. 31.53 s [go-tests] + /build/home/go/bin/go-critic check ./...
  140. 31.53 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  141. 31.96 s [go-tests] ++ go env GOBIN
  142. 31.97 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  143. 31.97 s [go-tests] + readonly STATICCHECK_PATH
  144. 31.97 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  145. 31.97 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  146. 31.97 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  147. 31.97 s [go-tests] + /build/home/go/bin/staticcheck ./...
  148. 34.56 s [go-tests] ++ go env GOBIN
  149. 34.57 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  150. 34.57 s [go-tests] + readonly ERRCHECK_PATH
  151. 34.57 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  152. 34.57 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  153. 34.57 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  154. 34.57 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  155. 34.70 s [go-tests] Phase: installPhase
  156. 34.71 s [go-tests] Phase: fixupPhase
  157. 34.72 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/0awmjs6j2gr695cb0zwlf4px2inpf1zd-go-tests-0.0.0
  158. 34.72 s [go-tests] checking for references to /build/ in /nix/store/0awmjs6j2gr695cb0zwlf4px2inpf1zd-go-tests-0.0.0...
  159. 34.72 s [go-tests] patching script interpreter paths in /nix/store/0awmjs6j2gr695cb0zwlf4px2inpf1zd-go-tests-0.0.0
  160. 34.85 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/0awmjs6j2gr695cb0zwlf4px2inpf1zd-go-tests-0.0.0
  161. 34.89 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  162. 34.90 s [go-tests:post-build] copying 1 paths...
  163. 34.90 s [go-tests:post-build] copying path '/nix/store/0awmjs6j2gr695cb0zwlf4px2inpf1zd-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  164. 35.06 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  165. 35.45 s [go-tests:post-build] copying 1 paths...
  166. 35.45 s [go-tests:post-build] copying path '/nix/store/43bbr0xq482wn1rnfgr9r5wr5rr4kznq-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  167. 35.71 s Uploaded go-tests in 865ms
  168. 35.71 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  169. 35.71 s Built go-tests in 17.0s
  170. 35.71 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  171. 35.71 s /nix/store/0awmjs6j2gr695cb0zwlf4px2inpf1zd-go-tests-0.0.0
  172. 35.76 s Build succeeded.