As reported by @TomChv, it appears there's a regression with buildkit 0.8.3. ``` 9:35PM FTL system | failed to up environment: buildkit solve: TestECR.creds.secret: 2 errors in empty disjunction: TestECR.creds.secret: conflicting values "XXX" and "XXX": /config/cue.mod/pkg/dagger.io/aws/ecr/ecr.cue:17:12 /config/ecr.cue:32:9 TestECR.creds.secret: conflicting values string and bytes (mismatched types string and bytes): /config/cue.mod/pkg/dagger.io/aws/aws.cue:63:3 /config/cue.mod/pkg/dagger.io/aws/ecr/ecr.cue:13:7 /config/cue.mod/pkg/dagger.io/aws/ecr/ecr.cue:17:12 /config/cue.mod/pkg/dagger.io/dagger/dagger.cue:19:2 /config/cue.mod/pkg/dagger.io/dagger/dagger.cue:19:11 /config/ecr.cue:32:9 ```
Activity
aluzzardi commentedon May 4, 2021
I managed to trace the root cause: every pipeline that contains a cache mount will be re-executed when referred.
Can be reproduced with the ECR test,
creds.secretis a reference ofcreds.outand they end up with a different LLB digest:aluzzardi commentedon May 4, 2021
This doesn't look like a buildkit bug -- actually, it looks like we were relying on a bug previously.
TomChv commentedon May 4, 2021
Yep, the
v0.8.3ofbuildkitfixed the bug that alloweddaggerto works correctly.You can check that issue for more information.