After building a docker image, I am trying to test its functionality using ContainerStructureTest@0 from azure-devops.
I have a pipeline and test configFile.
Firstly, it gives the following warning:
##[warning]Can\'t find loc string for key: FoundDockerConfigStoredInTempPath
##[warning]Can\'t find loc string for key: OldDockerConfigContent
##[warning]Can\'t find loc string for key: AddingNewAuthToExistingConfig
Then, yields the following error:
[command]/home/vsts/work/_tasks/ContainerStructureTest_39bc2c9b-55b7-4835-89cd-6cc699ef7220/0.1.2/container-structure-test test --image ***/entry_point:latest --config /home/vsts/work/1/structure-test.yaml --json
##[error]Error in executing the command: Error: spawnSync /home/vsts/work/_tasks/ContainerStructureTest_39bc2c9b-55b7-4835-89cd-6cc699ef7220/0.1.2/container-structure-test ETXTBSY
##[error]Error: Error in executing the command: Error: spawnSync /home/vsts/work/_tasks/ContainerStructureTest_39bc2c9b-55b7-4835-89cd-6cc699ef7220/0.1.2/container-structure-test ETXTBSY
I do confirm that my configFile is copied into the virtual machine:
/home/vsts/work/1/structure-test.yaml
Since your documentation is not complete yet, I followed the syntax from https://github.com/GoogleContainerTools/container-structure-test
I have a feeling that this task is not configured properly. Can anyone help me solve the error?