Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flake: TestWorkspaceTagsTerraform: context canceled #266

Closed
johnstcn opened this issue Jan 6, 2025 · 5 comments · Fixed by coder/coder#16072 or coder/coder#16155
Closed

Flake: TestWorkspaceTagsTerraform: context canceled #266

johnstcn opened this issue Jan 6, 2025 · 5 comments · Fixed by coder/coder#16072 or coder/coder#16155
Assignees
Labels

Comments

@johnstcn
Copy link
Member

johnstcn commented Jan 6, 2025

Seen here: https://github.com/coder/coder/actions/runs/12632641880/job/35196739672?pr=16044

    t.go:106: 2025-01-06 12:42:50.251 [debu]  coderd.ext-provisionerd-TestWorkspaceTagsTerraform/override_empty_tags: drpc server error  request_id=158390ce-32e9-4575-98fd-4c444599cca0 ...
        error= context canceled
               	storj.io/drpc/drpcserver.(*Server).handleRPC:128
               	storj.io/drpc/drpcserver.(*Server).ServeOne:66
               	storj.io/drpc/drpcserver.(*Server).Serve.func2:114
               	storj.io/drpc/drpcctx.(*Tracker).track:35
@johnstcn
Copy link
Member Author

johnstcn commented Jan 8, 2025

@ethanndickson
Copy link
Member

ethanndickson commented Jan 13, 2025

Seen again on macOS, using a depot runner this time (the original flake was on macOS too):
https://github.com/coder/coder/actions/runs/12740079752/job/35504740772

     t.go:106: 2025-01-13 03:32:06.555 [debu]  coderd.ext-provisionerd-TestWorkspaceTagsTerraform/override_no_tags: drpc server error  request_id=fe42d189-d1a5-4e49-98e2-0fd1ef4d1500 ...
        error= context canceled
               	storj.io/drpc/drpcserver.(*Server).ServeOne:64
               	storj.io/drpc/drpcserver.(*Server).Serve.func2:114
               	storj.io/drpc/drpcctx.(*Tracker).track:35

@ethanndickson ethanndickson reopened this Jan 13, 2025
@johnstcn
Copy link
Member Author

@johnstcn
Copy link
Member Author

@johnstcn
Copy link
Member Author

New datapoint:

   t.go:106: 2025-01-15 14:02:29.787 [debu]  provisionerd.runner: template import provision job logged  job_id=9c1ce82f-e0d9-4df1-ab40-e049ff739e1f  level=ERROR  output="\"https://github.com/coder/terraform-provider-coder/releases/download/v2.1.0/terraform-provider-coder_2.1.0_SHA256SUMS\":"
    t.go:106: 2025-01-15 14:02:29.787 [debu]  provisionerd.runner: template import provision job logged  job_id=9c1ce82f-e0d9-4df1-ab40-e049ff739e1f  level=ERROR  output="context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

We can possibly set up a .terrafomrc to use a local provider cache here.

johnstcn added a commit to coder/coder that referenced this issue Jan 15, 2025
…WorkspaceTagsTerraform (#16155)

Fixes coder/internal#266 (hopefully)

Each instance of this test has to download the coder/coder Terraform
provider.
To mitigate this, only download the providers once using a
`filesystem_mirror` (ref:
https://developer.hashicorp.com/terraform/cli/config/config-file#provider-installation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment