calm-family-29323
04/05/2023, 10:44 AMℹ build.missing-sh [debug] → Image missing-sh:v-bda89cfaa0 already exists
ℹ build.missing-sh → Build type=container name=missing-sh (from module missing-sh) already complete, nothing to do.
...
ℹ build.missing-sh [silly] → Processing node build.missing-sh:process
ℹ build.missing-sh [silly] → Executing node build.missing-sh:process
ℹ build.missing-sh [silly] → Completing node build.missing-sh:process. aborted=false, error=null
alert-helicopter-61082
04/05/2023, 1:52 PMcalm-family-29323
04/05/2023, 2:44 PMImage missing-sh:v-bda89cfaa0 already exists
which comes from here [1].
So the containerHelpers.imageExistsLocally
that's called above returns an identifier, but when I run docker images missing-sh:v-bda89cfaa0 -q
manually after the first test run it returns nothing.
The containerHelpers.imageExistsLocally
call should this line [2], but if you look at the logs from earlier it's nowhere to be found, so something goes wrong along the way there. It is logged on a second attempt and also when I run locally. I think this is where the problem lies.
1. https://github.com/garden-io/garden/blob/0.13-integ-imagepull/core/src/plugins/container/build.ts#L30
2. https://github.com/garden-io/garden/blob/0.13-integ-imagepull/core/src/util/ext-tools.ts#L195alert-helicopter-61082
04/05/2023, 4:15 PMcalm-family-29323
04/06/2023, 2:26 AMthrowOnError
is set to true
for the task processing [1]. Later on when the action is resolved [2] the solver gets stuck in an infinite loop. Can be reproduced easily with tests like this [3]
@alert-helicopter-61082 can you have a look at this? If this is fixed we'd be really close to a green integ suite
cc @swift-garage-61180
1. https://github.com/garden-io/garden/blob/0.13/core/test/integ/src/plugins/kubernetes/container/container.ts#L165
2. https://github.com/garden-io/garden/blob/0.13/core/test/integ/src/plugins/kubernetes/container/container.ts#L171
3. https://github.com/garden-io/garden/blob/0.13/core/test/integ/src/plugins/kubernetes/container/container.ts#L150alert-helicopter-61082
04/12/2023, 3:30 PMcalm-family-29323
05/02/2023, 1:43 PMalert-helicopter-61082
05/02/2023, 1:49 PMcalm-family-29323
05/02/2023, 2:28 PMalert-helicopter-61082
05/02/2023, 5:45 PMtd.reset()
not working) seems to be a lot of what's wrong in CI. So that's fun.