Skip to content

Ephemeral context deadline exceeded errors during Go SDK codegen #8934

Closed

Description

@sipsma

I've seen this error popping up randomly on occasion: https://dagger.cloud/dagger/traces/866688214ddc91ea4a13dbbd6aa40db1?span=2928af623c703d97#2928af623c703d97:L11

	Error Trace:	/app/core/integration/module_test.go:1172
	            				/app/testctx/testctx.go:163
	Error:      	Received unexpected error:
	            	input: container.from.withExec.withExec.withExec.withMountedFile.withWorkdir.withExec.withMountedFile.withWorkdir.withNewFile.withExec.withWorkdir.withNewFile.withExec.withWorkdir.withExec.withExec.withExec.withNewFile.withEnvVariable.withExec.stdout resolve: process "dagger install ./bar" did not complete successfully: exit code: 1
	            	
	            	Stderr:
	            	1   : connect
	            	1   : connect DONE [0.0s]
	            	
	            	Error: input: moduleSource.withContextDirectory.asModule resolve: failed to create module: select: failed to update codegen and runtime: failed to generate code: failed to get modified source directory for go module sdk codegen: select: process "codegen --output /src --module-context-path /src/bar --module-name bar --introspection-json-path /schema.json" did not complete successfully: context deadline exceeded

Haven't noticed any pattern in which test cases.

Activity

  1. added
    area/engine
    kind/flake
    on Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/enginekind/flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions