spawnSync错误,并且使用azure-pipeline的ContainerStructureTest @ 0任务找不到定位字符串警告

时间:2019-10-22 03:38:32

标签: azure-devops azure-pipelines azure-pipelines-tasks

构建docker映像后,我试图使用azure-devops中的ContainerStructureTest@0测试其功能。

我有一个pipeline并测试了configFile

首先,它发出以下警告:

##[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

然后,产生以下错误:

[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

我确实确认将configFile复制到虚拟机中:

/home/vsts/work/1/structure-test.yaml

由于您的文档尚未完成,因此我遵循https://github.com/GoogleContainerTools/container-structure-test

中的语法

我觉得此任务配置不正确。谁能帮我解决错误?

0 个答案:

没有答案