build packages.x86_64-linux.go-tests

Reproduce this run
Retry Run
  1. 0.64 s $ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/86n4l5yri6hys3zk2mwy2azcv9prqb8j-nix-2.31.4/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://codeberg.org/mtlynch/little-moments?ref=pnpm&rev=e93581c3db4aea4bd6def80bf7a1a94f02edec36#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.67 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/7a7749ab475f783dfbcdfabb61fbf8a7a5ee06a8e157995a8354b14fbf14769e.sqlite' is busy
  3. 0.67 s
  4. 0.67 s Downloading cached source from https://cache.nix-ci.com
  5. 6.55 s Progress: 1 of 1 downloaded from cache
  6. 54.65 s Progress: 0 of 1 downloaded from cache
  7. 54.69 s Downloading cached source from https://cache.nix-ci.com
  8. 67.09 s Progress: 1 of 1 downloaded from cache
  9. 79.39 s Progress: 0 of 1 downloaded from cache
  10. 79.42 s Downloading cached source from https://cache.nix-ci.com
  11. 87.71 s Progress: 1 of 1 downloaded from cache
  12. 98.22 s
  13. 98.22 s Downloading cached iana-etc from https://cache.nix-ci.com
  14. 98.26 s Downloading cached mailcap from https://cache.nix-ci.com
  15. 98.26 s Downloading cached tzdata from https://cache.nix-ci.com
  16. 98.26 s Downloading cached errcheck from https://cache.nix-ci.com
  17. 98.26 s Downloading cached go-critic from https://cache.nix-ci.com
  18. 98.26 s Downloading cached go-tools from https://cache.nix-ci.com
  19. 98.26 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  20. 98.26 s Downloading cached libunistring from https://cache.nix-ci.com
  21. 98.26 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  22. 98.26 s Downloading cached libunistring from https://cache.nix-ci.com
  23. 98.27 s Progress: 0 of 6 built, 1 of 19 downloaded from cache (9 downloading)
  24. 98.27 s Progress: 0 of 6 built, 2 of 19 downloaded from cache (8 downloading)
  25. 98.29 s Progress: 0 of 6 built, 3 of 19 downloaded from cache (7 downloading)
  26. 98.34 s Progress: 0 of 6 built, 4 of 19 downloaded from cache (6 downloading)
  27. 98.36 s Progress: 0 of 6 built, 5 of 19 downloaded from cache (5 downloading)
  28. 98.37 s Progress: 0 of 6 built, 6 of 19 downloaded from cache (4 downloading)
  29. 98.37 s Downloading cached libidn2 from https://cache.nix-ci.com
  30. 98.48 s Progress: 0 of 6 built, 7 of 19 downloaded from cache (4 downloading)
  31. 98.48 s Downloading cached libidn2 from https://cache.nix-ci.com
  32. 98.50 s Progress: 0 of 6 built, 8 of 19 downloaded from cache (4 downloading)
  33. 98.50 s Downloading cached glibc-2.42 from https://cache.nix-ci.com
  34. 98.52 s Progress: 0 of 6 built, 9 of 19 downloaded from cache (4 downloading)
  35. 98.52 s Progress: 0 of 5 built, 10 of 19 downloaded from cache (3 downloading)
  36. 98.52 s Progress: 0 of 4 built, 11 of 19 downloaded from cache (2 downloading)
  37. 98.52 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  38. 98.87 s Progress: 0 of 4 built, 12 of 19 downloaded from cache (2 downloading)
  39. 98.88 s Progress: 0 of 3 built, 13 of 19 downloaded from cache (1 downloading)
  40. 98.88 s Downloading cached zlib from https://cache.nix-ci.com
  41. 98.89 s Progress: 0 of 3 built, 14 of 19 downloaded from cache (1 downloading)
  42. 98.89 s Downloading cached gci from https://cache.nix-ci.com
  43. 98.94 s Progress: 0 of 3 built, 15 of 19 downloaded from cache (1 downloading)
  44. 98.94 s Downloading cached sqlite from https://cache.nix-ci.com
  45. 98.94 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  46. 99.01 s Progress: 0 of 3 built, 16 of 19 downloaded from cache (2 downloading)
  47. 99.14 s Progress: 0 of 3 built, 17 of 19 downloaded from cache (1 downloading)
  48. 99.14 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  49. 99.15 s Progress: 0 of 3 built, 18 of 19 downloaded from cache (1 downloading)
  50. 99.19 s Progress: 0 of 2 built, 19 of 19 downloaded from cache
  51. 99.31 s Building go-tests
  52. 99.37 s [go-tests] Phase: unpackPhase
  53. 99.37 s [go-tests] unpacking source archive /nix/store/5rsrzas1kvs7y34g8fs4rca9rilqypdf-source
  54. 99.39 s [go-tests] source root is source
  55. 99.40 s [go-tests] Phase: patchPhase
  56. 99.41 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  57. 99.42 s [go-tests] Phase: configurePhase
  58. 99.44 s [go-tests] no configure script, doing nothing
  59. 99.44 s [go-tests] Phase: buildPhase
  60. 99.45 s [go-tests] patching script interpreter paths in ./dev-scripts
  61. 99.46 s [go-tests] ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  62. 99.47 s [go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  63. 99.49 s [go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  64. 99.50 s [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  65. 99.52 s [go-tests] ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  66. 99.53 s [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  67. 99.55 s [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  68. 99.56 s [go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  69. 99.58 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  70. 99.59 s [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  71. 99.61 s [go-tests] ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  72. 99.62 s [go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  73. 99.64 s [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  74. 99.66 s [go-tests] ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  75. 99.67 s [go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  76. 99.69 s [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  77. 99.70 s [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  78. 99.72 s [go-tests] ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  79. 99.73 s [go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  80. 99.75 s [go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  81. 99.76 s [go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  82. 99.78 s [go-tests] ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  83. 99.93 s [go-tests] + set -o pipefail
  84. 99.93 s [go-tests] + full_test=
  85. 99.93 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  86. 99.93 s [go-tests] + go_test_flags+=("-fullpath")
  87. 99.93 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  88. 99.93 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  89. 99.93 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  90. 99.93 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  91. 99.93 s [go-tests] + [[ '' = \-\-full ]]
  92. 99.93 s [go-tests] + set -u
  93. 99.93 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  94. 99.93 s [go-tests] ++ cd ./dev-scripts
  95. 99.93 s [go-tests] ++ pwd
  96. 99.93 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  97. 99.93 s [go-tests] + readonly SCRIPT_DIR
  98. 99.93 s [go-tests] + cd /build/source/dev-scripts/..
  99. 99.93 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  100. 102.92 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  101. 106.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  102. 109.35 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  103. 110.04 s [go-tests] 2026/06/04 11:20:57 failed to read auth session from context: session backend unavailable
  104. 110.04 s [go-tests] 2026/06/04 11:20:57 failed to end invalid auth session: session delete failed
  105. 110.04 s [go-tests] 2026/06/04 11:20:57 reading DB from file:/TestFailedAuthFlow_0x350d55178b48?vfs=memdb
  106. 110.04 s [go-tests] 2026/06/04 11:20:58 CSP media origin: ""
  107. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  108. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestSuccessfulAuthFlow_0x350d587d8248?vfs=memdb
  109. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  110. 110.04 s [go-tests] --- FAIL: TestSuccessfulAuthFlow (0.00s)
  111. 110.04 s [go-tests] /build/source/handlers/auth_test.go:157: status=302, want=200
  112. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPostRejectsMalformedFormBody_0x350d587d8488?vfs=memdb
  113. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  114. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/protocol-relative_next_path_returns_bad_request_before_auth_0x350d587d8908?vfs=memdb
  115. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  116. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/next_path_without_leading_slash_returns_bad_request_before_auth_0x350d587d8b48?vfs=memdb
  117. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  118. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/malformed_next_path_returns_bad_request_before_auth_0x350d587d8d88?vfs=memdb
  119. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  120. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/http_next_path_returns_bad_request_before_auth_0x350d587d8fc8?vfs=memdb
  121. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  122. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/https_next_path_returns_bad_request_before_auth_0x350d587d9208?vfs=memdb
  123. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  124. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/non-http_absolute_next_path_returns_bad_request_before_auth_0x350d587d9448?vfs=memdb
  125. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  126. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/incorrect_password_returns_unauthorized_without_logging_in_0x350d587d98c8?vfs=memdb
  127. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  128. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/rate-limited_login_attempt_returns_too_many_requests_0x350d58e72008?vfs=memdb
  129. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  130. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/unexpected_auth_error_returns_internal_server_error_0x350d58e72248?vfs=memdb
  131. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  132. 110.04 s [go-tests] 2026/06/04 11:20:58 failed to authenticate shared secret: auth backend unavailable
  133. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/log_in_failure_returns_internal_server_error_0x350d58e72488?vfs=memdb
  134. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  135. 110.04 s [go-tests] 2026/06/04 11:20:58 failed to create auth session: session store unavailable
  136. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/successful_login_defaults_next_to_root_route_0x350d58e72008?vfs=memdb
  137. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  138. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/successful_login_redirects_to_provided_next_path_0x350d58e72248?vfs=memdb
  139. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  140. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPostIgnoresNextInPostBody/defaults_to_root_route_when_next_only_appears_in_post_body_0x350d58e72908?vfs=memdb
  141. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  142. 110.04 s [go-tests] 2026/06/04 11:20:58 reading DB from file:/TestLoginPostIgnoresNextInPostBody/uses_query_string_next_when_post_body_provides_a_different_value_0x350d58e72b48?vfs=memdb
  143. 110.04 s [go-tests] 2026/06/04 11:20:58 cleaning expired auth sessions from store
  144. 110.04 s [go-tests] FAIL
  145. 110.04 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/handlers 0.692s
  146. 110.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.326s
  147. 110.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  148. 110.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.014s
  149. 110.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  150. 110.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  151. 110.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  152. 110.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  153. 110.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  154. 110.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  155. 110.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.649s
  156. 110.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  157. 110.04 s [go-tests] FAIL
  158. 110.28 s Progress: 0 of 1 built (1 failed), 19 of 19 downloaded from cache
  159. 110.29 s Cannot build '/nix/store/1mrsa6bdawwwm50gaimcvxg456picyjw-go-tests-0.0.0.drv'.
  160. 110.29 s Reason: builder failed with exit code 1.
  161. 110.29 s Output paths:
  162. 110.29 s /nix/store/iz8f110qy6yfgpcapm4mk4kmpl03asmz-go-tests-0.0.0
  163. 110.29 s Last 106 log lines:
  164. 110.29 s > Running phase: unpackPhase
  165. 110.29 s > unpacking source archive /nix/store/5rsrzas1kvs7y34g8fs4rca9rilqypdf-source
  166. 110.29 s > source root is source
  167. 110.29 s > Running phase: patchPhase
  168. 110.29 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  169. 110.29 s > Running phase: configurePhase
  170. 110.29 s > no configure script, doing nothing
  171. 110.29 s > Running phase: buildPhase
  172. 110.29 s > patching script interpreter paths in ./dev-scripts
  173. 110.29 s > ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  174. 110.29 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  175. 110.29 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  176. 110.29 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  177. 110.29 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  178. 110.29 s > ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  179. 110.29 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  180. 110.29 s > ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  181. 110.29 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  182. 110.29 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  183. 110.29 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  184. 110.29 s > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  185. 110.29 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  186. 110.29 s > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  187. 110.29 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  188. 110.29 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  189. 110.29 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  190. 110.29 s > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  191. 110.29 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  192. 110.29 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  193. 110.29 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  194. 110.29 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  195. 110.29 s > + set -o pipefail
  196. 110.29 s > + full_test=
  197. 110.29 s > + go_test_flags=("-tags=netgo,osusergo")
  198. 110.29 s > + go_test_flags+=("-fullpath")
  199. 110.29 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  200. 110.29 s > + COVERAGE_FILE_RAW=.coverage.out
  201. 110.29 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  202. 110.29 s > + COVERAGE_FILE_HTML=.coverage.html
  203. 110.29 s > + [[ '' = \-\-full ]]
  204. 110.29 s > + set -u
  205. 110.29 s > +++ dirname ./dev-scripts/run-go-tests
  206. 110.29 s > ++ cd ./dev-scripts
  207. 110.29 s > ++ pwd
  208. 110.29 s > + SCRIPT_DIR=/build/source/dev-scripts
  209. 110.29 s > + readonly SCRIPT_DIR
  210. 110.29 s > + cd /build/source/dev-scripts/..
  211. 110.29 s > + go test -tags=netgo,osusergo -fullpath ./...
  212. 110.29 s > ? codeberg.org/mtlynch/little-moments/build [no test files]
  213. 110.29 s > ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  214. 110.29 s > ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  215. 110.29 s > 2026/06/04 11:20:57 failed to read auth session from context: session backend unavailable
  216. 110.29 s > 2026/06/04 11:20:57 failed to end invalid auth session: session delete failed
  217. 110.29 s > 2026/06/04 11:20:57 reading DB from file:/TestFailedAuthFlow_0x350d55178b48?vfs=memdb
  218. 110.29 s > 2026/06/04 11:20:58 CSP media origin: ""
  219. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  220. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestSuccessfulAuthFlow_0x350d587d8248?vfs=memdb
  221. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  222. 110.29 s > --- FAIL: TestSuccessfulAuthFlow (0.00s)
  223. 110.29 s > /build/source/handlers/auth_test.go:157: status=302, want=200
  224. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPostRejectsMalformedFormBody_0x350d587d8488?vfs=memdb
  225. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  226. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/protocol-relative_next_path_returns_bad_request_before_auth_0x350d587d8908?vfs=memdb
  227. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  228. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/next_path_without_leading_slash_returns_bad_request_before_auth_0x350d587d8b48?vfs=memdb
  229. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  230. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/malformed_next_path_returns_bad_request_before_auth_0x350d587d8d88?vfs=memdb
  231. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  232. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/http_next_path_returns_bad_request_before_auth_0x350d587d8fc8?vfs=memdb
  233. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  234. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/https_next_path_returns_bad_request_before_auth_0x350d587d9208?vfs=memdb
  235. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  236. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/non-http_absolute_next_path_returns_bad_request_before_auth_0x350d587d9448?vfs=memdb
  237. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  238. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/incorrect_password_returns_unauthorized_without_logging_in_0x350d587d98c8?vfs=memdb
  239. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  240. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/rate-limited_login_attempt_returns_too_many_requests_0x350d58e72008?vfs=memdb
  241. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  242. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/unexpected_auth_error_returns_internal_server_error_0x350d58e72248?vfs=memdb
  243. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  244. 110.29 s > 2026/06/04 11:20:58 failed to authenticate shared secret: auth backend unavailable
  245. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/log_in_failure_returns_internal_server_error_0x350d58e72488?vfs=memdb
  246. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  247. 110.29 s > 2026/06/04 11:20:58 failed to create auth session: session store unavailable
  248. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/successful_login_defaults_next_to_root_route_0x350d58e72008?vfs=memdb
  249. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  250. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPost/successful_login_redirects_to_provided_next_path_0x350d58e72248?vfs=memdb
  251. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  252. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPostIgnoresNextInPostBody/defaults_to_root_route_when_next_only_appears_in_post_body_0x350d58e72908?vfs=memdb
  253. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  254. 110.29 s > 2026/06/04 11:20:58 reading DB from file:/TestLoginPostIgnoresNextInPostBody/uses_query_string_next_when_post_body_provides_a_different_value_0x350d58e72b48?vfs=memdb
  255. 110.29 s > 2026/06/04 11:20:58 cleaning expired auth sessions from store
  256. 110.29 s > FAIL
  257. 110.29 s > FAIL codeberg.org/mtlynch/little-moments/handlers 0.692s
  258. 110.29 s > ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.326s
  259. 110.29 s > ? codeberg.org/mtlynch/little-moments/images [no test files]
  260. 110.29 s > ok codeberg.org/mtlynch/little-moments/importers 0.014s
  261. 110.29 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  262. 110.29 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  263. 110.29 s > ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  264. 110.29 s > ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  265. 110.29 s > ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  266. 110.29 s > ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  267. 110.29 s > ok codeberg.org/mtlynch/little-moments/store/sqlite 0.649s
  268. 110.29 s > ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  269. 110.29 s > FAIL
  270. 110.29 s For full logs, run:
  271. 110.29 s nix log /nix/store/1mrsa6bdawwwm50gaimcvxg456picyjw-go-tests-0.0.0.drv