#Intermittent failure while running dagger call

1 messages ยท Page 1 of 1 (latest)

dense fox
#

My pipelines does a dagger call ... on my module (in an azure devops CI/CD pipeline ). It intermitently fails with the following error . if i rerun the pipeline or rerun the fail stages it works. Any ideas ?

Error: failed to serve module: input: moduleSource.asModule failed to load dependencies as modules: failed to load module dependencies: select: failed to load dependencies as modules: failed to load module dependencies: select: failed to call module "vault" to get functions: call constructor: process "go build -ldflags -s -w -o /runtime ." did not complete successfully: exit code: 1
Stderr:
internal/dagger/dagger.gen.go:22:2: package dagger/trivy/internal/querybuilder is not in std (/usr/local/go/src/dagger/trivy/internal/querybuilder)
internal/dagger/dagger.gen.go:23:2: package dagger/trivy/internal/telemetry is not in std (/usr/local/go/src/dagger/trivy/internal/telemetry)
magic harness
dense fox
#

hi @magic harness here's a trace id : 7f48e7a570e95a551e5d397b0b815243

magic harness
dense fox
magic harness
#

๐Ÿ‘ thx

magic harness
#

gotta sign-off now since it's quite lat here. gently pinging@vague bison @wise ledge and @merry moth in case they have some bandwidth to help ๐Ÿ™

Will come back to this tomorrow if we still haven't resolved it.

dense fox
#

thanks ๐Ÿ™‚

#

have a good night !

merry moth
merry moth
#

Mmmh, Marcos gave me your trace. It's a bit hard with the information inside. We'd need your help on that one. Coud you please:

  1. see if you can consistently repro locally ?
  2. give us a list of traces (that succeed and fail) on your cloud org
  3. potentially have a standalone repro (especially with the dependency)

My guess is that it's a race happening intermittently on the codegen of the depencency. Would love to have more details around that:

  1. are they the same engine version ?
  2. same language ?
  3. any other info that you might find relevant
dense fox
#

@merry moth since i updated to the latest version of the engine on all modules used in that pipeline i havent encountered this issue.

merry moth
#

Amazing, feel free to ping me if needed