Pull request #405 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f+323c9d7b071dcad20db500b9107a4775ac8effe6 (18b24f99682adaae57b78784366c14b7ed37a50a) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5103624980501769279.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9777129765194436634.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-405/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-405/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11666188358842090770.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-405/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18107045830205357537.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18215498026063308982.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-405/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-405/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8986767671944806590.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21338 in /w/workspace/_app-service-configurable_PR-405 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-405 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f Merge succeeded, producing 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f Checking out Revision 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f (PR-405) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:04:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:04:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:04:34 ========================================================= 12:04:34 EdgeX Global Pipelines Version Info 12:04:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:04:35 ------------------- 12:04:35 stable info: 12:04:35 ------------------- 12:04:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:35 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:04:35 Message: update stable to v1.0.221 12:04:35 ------------------- 12:04:35 experimental info: 12:04:35 ------------------- 12:04:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:35 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 12:04:35 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:04:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ea1e1b [Pipeline] echo 12:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:37 provisioning config files... 12:04:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config4562504244628086673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:37 ---> docker-login.sh 12:04:37 nexus3.edgexfoundry.org:10001 12:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:38 Configure a credential helper to remove this warning. See 12:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:38 12:04:38 Login Succeeded 12:04:38 nexus3.edgexfoundry.org:10002 12:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:38 Configure a credential helper to remove this warning. See 12:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:38 12:04:38 Login Succeeded 12:04:38 nexus3.edgexfoundry.org:10003 12:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:39 Configure a credential helper to remove this warning. See 12:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:39 12:04:39 Login Succeeded 12:04:39 nexus3.edgexfoundry.org:10004 12:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:39 Configure a credential helper to remove this warning. See 12:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:39 12:04:39 Login Succeeded 12:04:39 docker.io 12:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:39 Configure a credential helper to remove this warning. See 12:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:39 12:04:39 Login Succeeded 12:04:39 ---> docker-login.sh ends [Pipeline] } 12:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:04:40 + git rev-list -1 --merges 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f~1..2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f [Pipeline] echo 12:04:40 -----------> git rev-list -1 --merges 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f~1..2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f [false] [Pipeline] sh 12:04:40 + git log --format=format:%s -1 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f [Pipeline] echo 12:04:40 ========================================================= 12:04:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:04:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:41 + git log --format=format:%s -1 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f [Pipeline] echo 12:04:41 [semverPrep] GIT_COMMIT: 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:04:41 [semverPrep] This is not a build commit. [Pipeline] sh 12:04:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:04:41 + grep -v github /etc/ssh/ssh_known_hosts 12:04:41 + [ -e /tmp/ssh_known_hosts ] 12:04:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:04:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:04:41 + sudo tee -a /etc/ssh/ssh_known_hosts 12:04:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:42 12:04:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:04:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:42 latest: Pulling from edgex-devops/git-semver 12:04:42 a0d0a0d46f8b: Pulling fs layer 12:04:42 3e5f54012d9b: Pulling fs layer 12:04:42 4c7163046ea9: Pulling fs layer 12:04:42 0c2d73faf560: Pulling fs layer 12:04:42 0c2d73faf560: Waiting 12:04:42 3e5f54012d9b: Verifying Checksum 12:04:42 3e5f54012d9b: Download complete 12:04:42 a0d0a0d46f8b: Verifying Checksum 12:04:42 0c2d73faf560: Verifying Checksum 12:04:42 0c2d73faf560: Download complete 12:04:42 4c7163046ea9: Verifying Checksum 12:04:42 4c7163046ea9: Download complete 12:04:42 a0d0a0d46f8b: Pull complete 12:04:42 3e5f54012d9b: Pull complete 12:04:43 4c7163046ea9: Pull complete 12:04:43 0c2d73faf560: Pull complete 12:04:43 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:04:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:04:43 prd-ubuntu20.04-docker-8c-8g-21338 does not seem to be running inside a container 12:04:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:04:44 $ docker top 36157cfac9340021f59e627c0c2df1c697d01627af641f1a283f92ae4e83aa24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:44 [ssh-agent] Looking for ssh-agent implementation... 12:04:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:44 $ docker exec 36157cfac9340021f59e627c0c2df1c697d01627af641f1a283f92ae4e83aa24 ssh-agent 12:04:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGFcKCa/agent.13 12:04:44 SSH_AGENT_PID=20 12:04:44 Running ssh-add (command line suppressed) 12:04:44 Identity added: /w/workspace/_app-service-configurable_PR-405@tmp/private_key_3613163748622099317.key (/w/workspace/_app-service-configurable_PR-405@tmp/private_key_3613163748622099317.key) 12:04:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:45 + git tag --points-at HEAD [Pipeline] } 12:04:45 $ docker exec --env ******** --env ******** 36157cfac9340021f59e627c0c2df1c697d01627af641f1a283f92ae4e83aa24 ssh-agent -k 12:04:45 unset SSH_AUTH_SOCK; 12:04:45 unset SSH_AGENT_PID; 12:04:45 echo Agent pid 20 killed; 12:04:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:45 [ssh-agent] Looking for ssh-agent implementation... 12:04:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:45 $ docker exec 36157cfac9340021f59e627c0c2df1c697d01627af641f1a283f92ae4e83aa24 ssh-agent 12:04:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcELgeH/agent.54 12:04:45 SSH_AGENT_PID=60 12:04:45 Running ssh-add (command line suppressed) 12:04:45 Identity added: /w/workspace/_app-service-configurable_PR-405@tmp/private_key_1605186875789625859.key (/w/workspace/_app-service-configurable_PR-405@tmp/private_key_1605186875789625859.key) 12:04:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:46 + git semver init 12:04:46 # -> Open(): unable to determine branch for HEAD 12:04:46 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-405/.git 12:04:46 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-405 12:04:46 # $SEMVER_REMOTE_NAME = origin 12:04:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:04:46 # $SEMVER_USER_NAME = edgex-jenkins 12:04:46 # $SEMVER_BRANCH = PR-405 12:04:46 # $SEMVER_TEMP = /tmp/semver-726165815 12:04:46 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:04:47 # '/tmp/semver-726165815' -> '/w/workspace/_app-service-configurable_PR-405/.semver' 12:04:47 # -> Force: false 12:04:47 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-405/.semver [Pipeline] } 12:04:47 $ docker exec --env ******** --env ******** 36157cfac9340021f59e627c0c2df1c697d01627af641f1a283f92ae4e83aa24 ssh-agent -k 12:04:47 unset SSH_AUTH_SOCK; 12:04:47 unset SSH_AGENT_PID; 12:04:47 echo Agent pid 60 killed; 12:04:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:47 + git semver [Pipeline] } 12:04:47 $ docker stop --time=1 36157cfac9340021f59e627c0c2df1c697d01627af641f1a283f92ae4e83aa24 12:04:49 $ docker rm -f 36157cfac9340021f59e627c0c2df1c697d01627af641f1a283f92ae4e83aa24 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:49 Stashed 1 file(s) [Pipeline] echo 12:04:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:50 provisioning config files... 12:04:50 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config6856342089859508617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:50 ---> docker-login.sh 12:04:50 nexus3.edgexfoundry.org:10001 12:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:50 Configure a credential helper to remove this warning. See 12:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:50 12:04:50 Login Succeeded 12:04:50 nexus3.edgexfoundry.org:10002 12:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:51 Configure a credential helper to remove this warning. See 12:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:51 12:04:51 Login Succeeded 12:04:51 nexus3.edgexfoundry.org:10003 12:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:51 Configure a credential helper to remove this warning. See 12:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:51 12:04:51 Login Succeeded 12:04:51 nexus3.edgexfoundry.org:10004 12:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:51 Configure a credential helper to remove this warning. See 12:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:51 12:04:51 Login Succeeded 12:04:51 docker.io 12:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:51 Configure a credential helper to remove this warning. See 12:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:51 12:04:51 Login Succeeded 12:04:51 ---> docker-login.sh ends [Pipeline] } 12:04:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:52 ========================================================= 12:04:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:04:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:04:52 Sending build context to Docker daemon 3.013MB 12:04:52 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:04:52 Step 2/13 : FROM ${BASE} AS builder 12:04:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:52 59bf1c3509f3: Pulling fs layer 12:04:52 666ba61612fd: Pulling fs layer 12:04:52 8ed8ca486205: Pulling fs layer 12:04:52 4fe6c5a15a65: Pulling fs layer 12:04:52 22a0e8bec74d: Pulling fs layer 12:04:52 640e595b4fbd: Pulling fs layer 12:04:52 763cafe07f6e: Pulling fs layer 12:04:52 0c0b528cf693: Pulling fs layer 12:04:52 10935f4eaf8b: Pulling fs layer 12:04:52 4fe6c5a15a65: Waiting 12:04:52 763cafe07f6e: Waiting 12:04:52 22a0e8bec74d: Waiting 12:04:52 640e595b4fbd: Waiting 12:04:52 10935f4eaf8b: Waiting 12:04:52 8ed8ca486205: Download complete 12:04:52 666ba61612fd: Download complete 12:04:52 22a0e8bec74d: Verifying Checksum 12:04:52 22a0e8bec74d: Download complete 12:04:52 640e595b4fbd: Verifying Checksum 12:04:52 640e595b4fbd: Download complete 12:04:52 763cafe07f6e: Verifying Checksum 12:04:52 763cafe07f6e: Download complete 12:04:52 59bf1c3509f3: Verifying Checksum 12:04:52 59bf1c3509f3: Download complete 12:04:52 0c0b528cf693: Verifying Checksum 12:04:52 0c0b528cf693: Download complete 12:04:52 59bf1c3509f3: Pull complete 12:04:53 666ba61612fd: Pull complete 12:04:53 8ed8ca486205: Pull complete 12:04:53 10935f4eaf8b: Verifying Checksum 12:04:53 10935f4eaf8b: Download complete 12:04:53 4fe6c5a15a65: Verifying Checksum 12:04:53 4fe6c5a15a65: Download complete 12:04:57 4fe6c5a15a65: Pull complete 12:04:57 22a0e8bec74d: Pull complete 12:04:57 640e595b4fbd: Pull complete 12:04:58 763cafe07f6e: Pull complete 12:04:58 0c0b528cf693: Pull complete 12:05:00 10935f4eaf8b: Pull complete 12:05:00 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:05:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:05:00 ---> 99d49a6021b9 12:05:00 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:05 ---> Running in 96e881e4ec6b 12:05:05 Still waiting to schedule task 12:05:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:05:05 Removing intermediate container 96e881e4ec6b 12:05:05 ---> bdec3e044a2f 12:05:05 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:05:06 ---> Running in 98e76673a43c 12:05:06 Removing intermediate container 98e76673a43c 12:05:06 ---> d3631ab29797 12:05:06 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:06 ---> Running in 1cb71646da4b 12:05:06 Removing intermediate container 1cb71646da4b 12:05:06 ---> 8e8a26761d44 12:05:06 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:07 ---> Running in d1e8f7fdca6b 12:05:08 Removing intermediate container d1e8f7fdca6b 12:05:08 ---> 978b8d632dc2 12:05:08 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:08 ---> Running in 33ad31e8bbe4 12:05:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:10 OK: 221 MiB in 52 packages 12:05:11 Removing intermediate container 33ad31e8bbe4 12:05:11 ---> dc3cc89d7113 12:05:11 Step 8/13 : WORKDIR /app 12:05:11 ---> Running in 65abfa31cb2e 12:05:11 Removing intermediate container 65abfa31cb2e 12:05:11 ---> fb34d6d0e114 12:05:11 Step 9/13 : COPY go.mod vendor* ./ 12:05:12 ---> 9a487bd9dd3b 12:05:12 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:12 ---> Running in 6a31c435e8ff 12:05:34 Removing intermediate container 6a31c435e8ff 12:05:34 ---> c7e30d518e4e 12:05:34 Step 11/13 : COPY . . 12:05:34 ---> a15f890b41a4 12:05:34 Step 12/13 : ARG MAKE="make build" 12:05:34 ---> Running in 8589bc2de4de 12:05:34 Removing intermediate container 8589bc2de4de 12:05:34 ---> e039232cadd4 12:05:34 Step 13/13 : RUN $MAKE 12:05:34 ---> Running in 0bf11517c00c 12:05:34 noop 12:05:34 Removing intermediate container 0bf11517c00c 12:05:34 ---> d2cc514345e0 12:05:34 Successfully built d2cc514345e0 12:05:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:05:34 + docker inspect -f . ci-base-image-x86_64 12:05:34 . [Pipeline] withDockerContainer 12:05:34 prd-ubuntu20.04-docker-8c-8g-21338 does not seem to be running inside a container 12:05:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:05:35 $ docker top 66759a1f5515c2f105c10664fc5b172488a766edcc6cdcdb5626ab804f944671 -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:35 + go version 12:05:35 go version go1.17.6 linux/amd64 [Pipeline] } 12:05:35 $ docker stop --time=1 66759a1f5515c2f105c10664fc5b172488a766edcc6cdcdb5626ab804f944671 12:05:37 $ docker rm -f 66759a1f5515c2f105c10664fc5b172488a766edcc6cdcdb5626ab804f944671 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:05:37 + docker inspect -f . ci-base-image-x86_64 12:05:37 . [Pipeline] withDockerContainer 12:05:37 prd-ubuntu20.04-docker-8c-8g-21338 does not seem to be running inside a container 12:05:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:05:38 $ docker top 2c13cbaa874d12936c9c64d91eb077ca6715fe4010e128272d2a666790761648 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:05:38 + make test 12:05:38 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:05:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:05:48 CGO_ENABLED=1 go vet ./... 12:05:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:52 ./bin/test-attribution-txt.sh 12:05:52 An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add 12:05:52 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 12:05:52 An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add 12:05:52 An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add 12:05:52 An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add 12:05:52 An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add 12:05:52 An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add 12:05:52 An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add 12:05:52 make: *** [makefile:47: test] Error 1 [Pipeline] } 12:05:52 $ docker stop --time=1 2c13cbaa874d12936c9c64d91eb077ca6715fe4010e128272d2a666790761648 12:05:53 $ docker rm -f 2c13cbaa874d12936c9c64d91eb077ca6715fe4010e128272d2a666790761648 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:05:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:54 12:05:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:05:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:55 latest: Pulling from edgex-lftools-log-publisher 12:05:55 5eb5b503b376: Pulling fs layer 12:05:55 5c69ac0246d0: Pulling fs layer 12:05:55 ec43610c2a17: Pulling fs layer 12:05:55 3a2ae6a8a46f: Pulling fs layer 12:05:55 33b1e0a273af: Pulling fs layer 12:05:55 5d3b04190fa2: Pulling fs layer 12:05:55 2f39f015ded8: Pulling fs layer 12:05:55 3a2ae6a8a46f: Waiting 12:05:55 33b1e0a273af: Waiting 12:05:55 5d3b04190fa2: Waiting 12:05:55 2f39f015ded8: Waiting 12:05:55 5c69ac0246d0: Verifying Checksum 12:05:55 5c69ac0246d0: Download complete 12:05:55 3a2ae6a8a46f: Verifying Checksum 12:05:55 3a2ae6a8a46f: Download complete 12:05:55 33b1e0a273af: Verifying Checksum 12:05:55 33b1e0a273af: Download complete 12:05:55 ec43610c2a17: Verifying Checksum 12:05:55 ec43610c2a17: Download complete 12:05:55 5d3b04190fa2: Verifying Checksum 12:05:55 5d3b04190fa2: Download complete 12:05:55 5eb5b503b376: Verifying Checksum 12:05:55 5eb5b503b376: Download complete 12:05:56 2f39f015ded8: Download complete 12:05:56 5eb5b503b376: Pull complete 12:05:56 5c69ac0246d0: Pull complete 12:05:57 ec43610c2a17: Pull complete 12:05:57 3a2ae6a8a46f: Pull complete 12:05:57 33b1e0a273af: Pull complete 12:05:57 5d3b04190fa2: Pull complete 12:06:01 2f39f015ded8: Pull complete 12:06:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:06:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:06:02 prd-ubuntu20.04-docker-8c-8g-21338 does not seem to be running inside a container 12:06:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:06:03 $ docker top 413c45fb4049e273f6259d7add107eeff14712cc98a1cbfcb4f84fe277b70daa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:04 ---> job-cost.sh 12:06:04 lf-activate-venv: SKIPPING 12:06:04 INFO: No Stack... 12:06:04 INFO: Retrieving Pricing Info for: v3-standard-8 12:06:05 INFO: Archiving Costs [Pipeline] sh 12:06:05 + cat /w/workspace/_app-service-configurable_PR-405/archives/cost.csv 12:06:05 + cut -d, -f6 [Pipeline] lock 12:06:05 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-405-1-stack-cost] 12:06:05 Resource [jenkins-edgexfoundry-app-service-configurable-PR-405-1-stack-cost] did not exist. Created. 12:06:05 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:06:05 + echo total: 0.2199999988079071 [Pipeline] stash 12:06:05 Stashed 1 file(s) [Pipeline] } 12:06:05 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:06:05 $ docker stop --time=1 413c45fb4049e273f6259d7add107eeff14712cc98a1cbfcb4f84fe277b70daa 12:06:07 $ docker rm -f 413c45fb4049e273f6259d7add107eeff14712cc98a1cbfcb4f84fe277b70daa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:07 Failed in branch amd64 12:06:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21339 in /w/workspace/_app-service-configurable_PR-405 [Pipeline] { [Pipeline] ws 12:06:39 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:06:39 Selected Git installation does not exist. Using Default 12:06:39 The recommended git tool is: NONE 12:06:46 using credential edgex-jenkins-ssh 12:06:46 Cloning the remote Git repository 12:06:47 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:06:47 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:06:47 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:47 > git --version # timeout=10 12:06:47 > git --version # 'git version 2.25.1' 12:06:47 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:49 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f 12:06:49 Merge succeeded, producing 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f 12:06:49 Checking out Revision 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f (PR-405) 12:06:48 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:48 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:06:49 > git config core.sparsecheckout # timeout=10 12:06:49 > git checkout -f 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f # timeout=10 12:06:49 > git remote # timeout=10 12:06:49 > git config --get remote.origin.url # timeout=10 12:06:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:49 > git merge 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 12:06:49 > git rev-parse HEAD^{commit} # timeout=10 12:06:49 > git config core.sparsecheckout # timeout=10 12:06:49 > git checkout -f 2ea1e1bbcfaac057ca5a375f648ef93dd1ec862f # timeout=10 12:06:54 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:06:54 > git --version # timeout=10 12:06:54 > git --version # 'git version 2.25.1' 12:06:54 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:06:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:06:55 % Total % Received % Xferd Average Speed Time Time Time Current 12:06:55 Dload Upload Total Spent Left Speed 12:06:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46625 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh 12:06:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:06:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:06:56 + sudo tee /etc/docker/daemon.new 12:06:56 { 12:06:56 "registry-mirrors": [ 12:06:56 "https://nexus3.edgexfoundry.org:10001" 12:06:56 ], 12:06:56 "bip": "10.250.0.254/24", 12:06:56 "hosts": [ 12:06:56 "tcp://0.0.0.0:5555", 12:06:56 "unix:///var/run/docker.sock" 12:06:56 ], 12:06:56 "mtu": 1458, 12:06:56 "selinux-enabled": true, 12:06:56 "seccomp-profile": "/etc/docker/seccomp.json" 12:06:56 } [Pipeline] sh 12:06:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:06:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:07:15 provisioning config files... 12:07:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1527006085812017094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:16 ---> docker-login.sh 12:07:16 nexus3.edgexfoundry.org:10001 12:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:16 Configure a credential helper to remove this warning. See 12:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:16 12:07:16 Login Succeeded 12:07:16 nexus3.edgexfoundry.org:10002 12:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:17 Configure a credential helper to remove this warning. See 12:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:17 12:07:17 Login Succeeded 12:07:17 nexus3.edgexfoundry.org:10003 12:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:17 Configure a credential helper to remove this warning. See 12:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:17 12:07:17 Login Succeeded 12:07:17 nexus3.edgexfoundry.org:10004 12:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:18 Configure a credential helper to remove this warning. See 12:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:18 12:07:18 Login Succeeded 12:07:18 docker.io 12:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:18 Configure a credential helper to remove this warning. See 12:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:18 12:07:18 Login Succeeded 12:07:18 ---> docker-login.sh ends [Pipeline] } 12:07:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:07:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:07:19 ========================================================= 12:07:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:07:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:07:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:07:19 Sending build context to Docker daemon 214.5kB 12:07:20 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:07:20 Step 2/13 : FROM ${BASE} AS builder 12:07:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:07:20 9b3977197b4f: Pulling fs layer 12:07:20 1a89e8eeedd5: Pulling fs layer 12:07:20 94645a83ff95: Pulling fs layer 12:07:20 3f3a8bcf1eab: Pulling fs layer 12:07:20 0c92f367c5e7: Pulling fs layer 12:07:20 f7c0051592d6: Pulling fs layer 12:07:20 a227ed2f7395: Pulling fs layer 12:07:20 7b1c46037f91: Pulling fs layer 12:07:20 0c92f367c5e7: Waiting 12:07:20 f7c0051592d6: Waiting 12:07:20 a227ed2f7395: Waiting 12:07:20 7b1c46037f91: Waiting 12:07:20 3f3a8bcf1eab: Waiting 12:07:20 94645a83ff95: Verifying Checksum 12:07:20 94645a83ff95: Download complete 12:07:20 1a89e8eeedd5: Download complete 12:07:20 0c92f367c5e7: Verifying Checksum 12:07:20 0c92f367c5e7: Download complete 12:07:20 f7c0051592d6: Verifying Checksum 12:07:20 f7c0051592d6: Download complete 12:07:20 9b3977197b4f: Verifying Checksum 12:07:20 9b3977197b4f: Download complete 12:07:20 a227ed2f7395: Verifying Checksum 12:07:20 a227ed2f7395: Download complete 12:07:20 9b3977197b4f: Pull complete 12:07:21 1a89e8eeedd5: Pull complete 12:07:22 94645a83ff95: Pull complete 12:07:22 7b1c46037f91: Verifying Checksum 12:07:22 7b1c46037f91: Download complete 12:07:22 3f3a8bcf1eab: Verifying Checksum 12:07:22 3f3a8bcf1eab: Download complete 12:07:35 3f3a8bcf1eab: Pull complete 12:07:35 0c92f367c5e7: Pull complete 12:07:35 f7c0051592d6: Pull complete 12:07:35 a227ed2f7395: Pull complete 12:07:41 7b1c46037f91: Pull complete 12:07:41 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:07:41 ---> f79e39bc4007 12:07:41 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:07:42 ---> Running in 335e392f2e6d 12:07:42 Removing intermediate container 335e392f2e6d 12:07:42 ---> 76e90263bade 12:07:42 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:07:43 ---> Running in d504b6bf957d 12:07:43 Removing intermediate container d504b6bf957d 12:07:43 ---> cf57b697fbd4 12:07:43 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:07:43 ---> Running in c23c40b67542 12:07:43 Removing intermediate container c23c40b67542 12:07:43 ---> 273b05ae11ae 12:07:43 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:07:43 ---> Running in 3741f6380f29 12:07:45 Removing intermediate container 3741f6380f29 12:07:45 ---> 4d8a12d3eb39 12:07:45 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:45 ---> Running in 16053f76c14b 12:07:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:07:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:07:48 OK: 220 MiB in 52 packages 12:07:48 Removing intermediate container 16053f76c14b 12:07:48 ---> 4924ae3f24ff 12:07:48 Step 8/13 : WORKDIR /app 12:07:49 ---> Running in e486ef3a1c46 12:07:49 Removing intermediate container e486ef3a1c46 12:07:49 ---> fb53c4277a0a 12:07:49 Step 9/13 : COPY go.mod vendor* ./ 12:07:49 ---> ae8f0eca4240 12:07:49 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:49 ---> Running in 5e5504ce6f43 12:08:36 Removing intermediate container 5e5504ce6f43 12:08:36 ---> b195860c4494 12:08:36 Step 11/13 : COPY . . 12:08:36 ---> 72960773efe7 12:08:36 Step 12/13 : ARG MAKE="make build" 12:08:36 ---> Running in 8351988606c0 12:08:36 Removing intermediate container 8351988606c0 12:08:36 ---> c219ba5d34d5 12:08:36 Step 13/13 : RUN $MAKE 12:08:36 ---> Running in 64d1ead2727a 12:08:37 noop 12:08:37 Removing intermediate container 64d1ead2727a 12:08:37 ---> dd5361942bdb 12:08:37 Successfully built dd5361942bdb 12:08:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:08:38 + docker inspect -f . ci-base-image-arm64 12:08:38 . [Pipeline] withDockerContainer 12:08:38 prd-ubuntu20.04-docker-arm64-4c-16g-21339 does not seem to be running inside a container 12:08:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:08:39 $ docker top 1f83c83e8422cef1a71730f6a6e3fe26cfad212dbd8df043c0e6451375e76765 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:40 + go version 12:08:40 go version go1.17.6 linux/arm64 [Pipeline] } 12:08:40 $ docker stop --time=1 1f83c83e8422cef1a71730f6a6e3fe26cfad212dbd8df043c0e6451375e76765 12:08:42 $ docker rm -f 1f83c83e8422cef1a71730f6a6e3fe26cfad212dbd8df043c0e6451375e76765 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:08:43 + docker inspect -f . ci-base-image-arm64 12:08:43 . [Pipeline] withDockerContainer 12:08:43 prd-ubuntu20.04-docker-arm64-4c-16g-21339 does not seem to be running inside a container 12:08:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:08:45 $ docker top 4c38ebfd4339618a1e68b3894de3a092a9998cede228506bf4646c8911ed04cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:08:46 + make test 12:08:46 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:10:07 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:10:07 CGO_ENABLED=1 go vet ./... 12:10:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:10:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:10:30 ./bin/test-attribution-txt.sh 12:10:30 An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add 12:10:30 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 12:10:30 An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add 12:10:30 An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add 12:10:30 An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add 12:10:30 An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add 12:10:30 An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add 12:10:30 An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add 12:10:30 make: *** [makefile:47: test] Error 1 [Pipeline] } 12:10:30 $ docker stop --time=1 4c38ebfd4339618a1e68b3894de3a092a9998cede228506bf4646c8911ed04cc 12:10:32 $ docker rm -f 4c38ebfd4339618a1e68b3894de3a092a9998cede228506bf4646c8911ed04cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:33 12:10:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:10:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:34 arm64: Pulling from edgex-lftools-log-publisher 12:10:34 8998bd30e6a1: Pulling fs layer 12:10:34 04944245beec: Pulling fs layer 12:10:34 699f458cf7ca: Pulling fs layer 12:10:34 765212b225bb: Pulling fs layer 12:10:34 f23df028b6ca: Pulling fs layer 12:10:34 d65c8cfc05b1: Pulling fs layer 12:10:34 2437ff75d9bd: Pulling fs layer 12:10:34 765212b225bb: Waiting 12:10:34 f23df028b6ca: Waiting 12:10:34 d65c8cfc05b1: Waiting 12:10:34 2437ff75d9bd: Waiting 12:10:34 04944245beec: Verifying Checksum 12:10:34 04944245beec: Download complete 12:10:34 765212b225bb: Verifying Checksum 12:10:34 765212b225bb: Download complete 12:10:34 f23df028b6ca: Verifying Checksum 12:10:34 f23df028b6ca: Download complete 12:10:34 d65c8cfc05b1: Verifying Checksum 12:10:34 d65c8cfc05b1: Download complete 12:10:34 699f458cf7ca: Verifying Checksum 12:10:34 699f458cf7ca: Download complete 12:10:34 8998bd30e6a1: Verifying Checksum 12:10:34 8998bd30e6a1: Download complete 12:10:37 2437ff75d9bd: Verifying Checksum 12:10:37 2437ff75d9bd: Download complete 12:10:39 8998bd30e6a1: Pull complete 12:10:39 04944245beec: Pull complete 12:10:41 699f458cf7ca: Pull complete 12:10:41 765212b225bb: Pull complete 12:10:42 f23df028b6ca: Pull complete 12:10:42 d65c8cfc05b1: Pull complete 12:10:57 2437ff75d9bd: Pull complete 12:10:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:10:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:10:57 prd-ubuntu20.04-docker-arm64-4c-16g-21339 does not seem to be running inside a container 12:10:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:11:00 $ docker top 8a7652c01e515cecf33fbe3c28116ec8ed3601fd2fc5d39a636e2d671612e529 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:01 ---> job-cost.sh 12:11:01 lf-activate-venv: SKIPPING 12:11:01 INFO: No Stack... 12:11:02 INFO: Retrieving Pricing Info for: v3-standard-4 12:11:03 INFO: Archiving Costs [Pipeline] sh 12:11:03 + cut -d, -f6 12:11:03 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:11:03 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-405-1-stack-cost] 12:11:03 Resource [jenkins-edgexfoundry-app-service-configurable-PR-405-1-stack-cost] did not exist. Created. 12:11:03 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:11:04 /w/workspace/app-service-configurable/1@tmp/durable-39b18b89/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:11:05 + echo total: 0.10999999940395355 [Pipeline] stash 12:11:05 Warning: overwriting stash ‘stack-cost’ 12:11:05 Stashed 1 file(s) [Pipeline] } 12:11:05 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:11:05 $ docker stop --time=1 8a7652c01e515cecf33fbe3c28116ec8ed3601fd2fc5d39a636e2d671612e529 12:11:07 $ docker rm -f 8a7652c01e515cecf33fbe3c28116ec8ed3601fd2fc5d39a636e2d671612e529 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:11:08 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:11:10 + [ -d /w/workspace/_app-service-configurable_PR-405/archives ] 12:11:10 + ls -al /w/workspace/_app-service-configurable_PR-405/archives 12:11:10 total 16 12:11:10 drwxr-xr-x 3 root root 4096 Apr 19 12:06 . 12:11:10 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 12:06 .. 12:11:10 drwxr-xr-x 2 root root 4096 Apr 19 12:06 cost 12:11:10 -rw-r--r-- 1 root root 95 Apr 19 12:06 cost.csv 12:11:10 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-405/archives 12:11:10 + ls -al /w/workspace/_app-service-configurable_PR-405/archives 12:11:10 total 16 12:11:10 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 12:06 . 12:11:10 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 12:06 .. 12:11:10 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 12:06 cost 12:11:10 -rw-r--r-- 1 jenkins jenkins 95 Apr 19 12:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:11:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:11:11 ---> package-listing.sh 12:11:11 ++ facter osfamily 12:11:11 ++ tr '[:upper:]' '[:lower:]' 12:11:11 + OS_FAMILY=debian 12:11:11 + workspace=/w/workspace/_app-service-configurable_PR-405 12:11:11 + START_PACKAGES=/tmp/packages_start.txt 12:11:11 + END_PACKAGES=/tmp/packages_end.txt 12:11:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:11:11 + PACKAGES=/tmp/packages_start.txt 12:11:11 + '[' /w/workspace/_app-service-configurable_PR-405 ']' 12:11:11 + PACKAGES=/tmp/packages_end.txt 12:11:11 + case "${OS_FAMILY}" in 12:11:11 + dpkg -l 12:11:11 + grep '^ii' 12:11:11 + '[' -f /tmp/packages_start.txt ']' 12:11:11 + '[' -f /tmp/packages_end.txt ']' 12:11:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:11:11 + '[' /w/workspace/_app-service-configurable_PR-405 ']' 12:11:11 + mkdir -p /w/workspace/_app-service-configurable_PR-405/archives/ 12:11:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-405/archives/ [Pipeline] echo 12:11:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:11:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:11:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:12 . [Pipeline] withDockerContainer 12:11:12 prd-ubuntu20.04-docker-8c-8g-21338 does not seem to be running inside a container 12:11:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-405 -v /w/workspace/_app-service-configurable_PR-405:/w/workspace/_app-service-configurable_PR-405:rw,z -v /w/workspace/_app-service-configurable_PR-405@tmp:/w/workspace/_app-service-configurable_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:11:13 $ docker top 5a662543b45219da84bf0c20b6f80ae4b31987487182a11f35cb5b5102078b40 -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:13 + touch /tmp/pre-build-complete [Pipeline] sh 12:11:13 + mkdir -p /var/log/sysstat [Pipeline] sh 12:11:14 + ls /var/log/sa-host 12:11:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:14 provisioning config files... 12:11:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-405@tmp/config4248855310479644372tmp [Pipeline] { [Pipeline] echo 12:11:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:11:14 ---> create-netrc.sh [Pipeline] } 12:11:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:11:15 ---> python-tools-install.sh [Pipeline] echo 12:11:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:11:15 ---> sudo-logs.sh 12:11:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:11:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:11:16 ---> job-cost.sh 12:11:16 lf-activate-venv: SKIPPING 12:11:16 DEBUG: total: 0.2199999988079071 12:11:16 INFO: Retrieving Stack Cost... 12:11:16 INFO: Retrieving Pricing Info for: v3-standard-8 12:11:17 INFO: Archiving Costs [Pipeline] echo 12:11:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:11:17 ---> logs-deploy.sh 12:11:17 lf-activate-venv: SKIPPING 12:11:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-405/1 12:11:17 INFO: archiving workspace using pattern(s): 12:11:18 Archives upload complete. 12:11:18 INFO: archiving logs to Nexus