-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
s4Internal bugs (e.g. test flakes), extreme edge cases, and bug risksInternal bugs (e.g. test flakes), extreme edge cases, and bug risks
Description
https://github.com/coder/coder/actions/runs/9791002172/job/27033833510?pr=13537
=== FAIL: cli TestTemplateVersionsArchive/Archive-Unarchive (1.35s)
...
t.go:99: 2024-07-04 08:29:37.761 [warn] coderd: POST host=localhost:39445 path=/api/v2/templateversions/8f3a9842-b401-[418](https://github.com/coder/coder/actions/runs/9791002172/job/27033833510?pr=13537#step:5:419)b-b26e-6c6a58f3865c/archive proto=HTTP/1.1 remote_addr=127.0.0.1 start="2024-07-04T08:29:37.759732313Z" took=2.062528ms status_code=500 latency_ms=2 request_id=eba4fe5a-656e-41a2-a2de-91c4738bb01f ...
response_body= {
"message": "Internal error fetching template version.",
"detail": "Unable to archive specified version, the version is likely in use by a workspace or currently set to the active version"
}
clitest.go:261: command "coder templates versions archive" exited with error: running command "coder templates versions archive": archive template version "confident_mendel0":
github.com/coder/coder/v2/cli.(*RootCmd).setArchiveTemplateVersion.func1
/home/runner/work/coder/coder/cli/templateversionarchive.go:86
- POST http://localhost:39445/api/v2/templateversions/8f3a9842-b401-418b-b26e-6c6a58f3865c/archive: unexpected status code 500: Internal error fetching template version.
Error: Unable to archive specified version, the version is likely in use by a workspace or currently set to the active version
clitest.go:210:
Error Trace: /home/runner/work/coder/coder/cli/clitest/clitest.go:210
/home/runner/work/coder/coder/cli/templateversionarchive_test.go:37
Error: Received unexpected error:
running command "coder templates versions archive": archive template version "confident_mendel0":
github.com/coder/coder/v2/cli.(*RootCmd).setArchiveTemplateVersion.func1
/home/runner/work/coder/coder/cli/templateversionarchive.go:86
- POST http://localhost:39445/api/v2/templateversions/8f3a9842-b401-418b-b26e-6c6a58f3865c/archive: unexpected status code 500: Internal error fetching template version.
Error: Unable to archive specified version, the version is likely in use by a workspace or currently set to the active version
Test: TestTemplateVersionsArchive/Archive-Unarchive
...Metadata
Metadata
Assignees
Labels
s4Internal bugs (e.g. test flakes), extreme edge cases, and bug risksInternal bugs (e.g. test flakes), extreme edge cases, and bug risks