Pull request #187 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 970cf146fa6a294cb89ac37a37482cebec6dc33c+1b7989097685cbbb7d11325d5e96f20d406e46c7 (57db7947a0418bbf432b2f9bb2c8440640a8b1a2) 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-ssh5921099738896299313.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh3443984680256887930.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/device-rest-go/branches/PR-187/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/device-rest-go/branches/PR-187/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10667215381626327876.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/device-rest-go/branches/PR-187/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11535870780432090359.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh3048988482808690946.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/device-rest-go/branches/PR-187/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/device-rest-go/branches/PR-187/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4481092451504148899.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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:device-rest-go] ========================================================= [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: device-rest-go-settings PROJECT: device-rest-go 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: device-rest 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-42634 in /w/workspace/gexfoundry_device-rest-go_PR-187 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:14:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:14:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:14:04 ========================================================= 20:14:04 EdgeX Global Pipelines Version Info 20:14:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:14:05 ------------------- 20:14:05 stable info: 20:14:05 ------------------- 20:14:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:05 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 20:14:05 Message: update stable to v1.0.227 20:14:05 ------------------- 20:14:05 experimental info: 20:14:05 ------------------- 20:14:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:05 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 20:14:05 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:14:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:14:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:14:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:14:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:14:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:14:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:14:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo 20:14:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo 20:14:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo 20:14:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 20:14:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 970cf14 [Pipeline] echo 20:14:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:07 provisioning config files... 20:14:07 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config3335136585202292590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:07 ---> docker-login.sh 20:14:07 nexus3.edgexfoundry.org:10001 20:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:08 Configure a credential helper to remove this warning. See 20:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:08 20:14:08 Login Succeeded 20:14:08 nexus3.edgexfoundry.org:10002 20:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:08 Configure a credential helper to remove this warning. See 20:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:08 20:14:08 Login Succeeded 20:14:08 nexus3.edgexfoundry.org:10003 20:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:08 Configure a credential helper to remove this warning. See 20:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:08 20:14:08 Login Succeeded 20:14:08 nexus3.edgexfoundry.org:10004 20:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:08 Configure a credential helper to remove this warning. See 20:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:08 20:14:08 Login Succeeded 20:14:08 docker.io 20:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:09 Configure a credential helper to remove this warning. See 20:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:09 20:14:09 Login Succeeded 20:14:09 ---> docker-login.sh ends [Pipeline] } 20:14:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:14:09 + git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 20:14:10 -----------> git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c 970cf146fa6a294cb89ac37a37482cebec6dc33c [false] [Pipeline] sh 20:14:10 + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 20:14:10 ========================================================= 20:14:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:14:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:10 + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 20:14:10 [semverPrep] GIT_COMMIT: 970cf146fa6a294cb89ac37a37482cebec6dc33c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:14:10 [semverPrep] This is not a build commit. [Pipeline] sh 20:14:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:14:11 + grep -v github /etc/ssh/ssh_known_hosts 20:14:11 + [ -e /tmp/ssh_known_hosts ] 20:14:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:14:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:14:11 + sudo tee -a /etc/ssh/ssh_known_hosts 20:14:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:14:11 20:14:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:14:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:14:12 latest: Pulling from edgex-devops/py-git-semver 20:14:12 1fe172e4850f: Pulling fs layer 20:14:12 caf521ccaac6: Pulling fs layer 20:14:12 3ead6fa29328: Pulling fs layer 20:14:12 5c2a1cbceb83: Pulling fs layer 20:14:12 a8d5f1318db7: Pulling fs layer 20:14:12 c427282e49a2: Pulling fs layer 20:14:12 5c2a1cbceb83: Waiting 20:14:12 a8d5f1318db7: Waiting 20:14:12 1827001aaf11: Pulling fs layer 20:14:12 0714d37db230: Pulling fs layer 20:14:12 ac28cf19c067: Pulling fs layer 20:14:12 ca983d60f3e2: Pulling fs layer 20:14:12 9f894cec8388: Pulling fs layer 20:14:12 c427282e49a2: Waiting 20:14:12 1827001aaf11: Waiting 20:14:12 0714d37db230: Waiting 20:14:12 ac28cf19c067: Waiting 20:14:12 ca983d60f3e2: Waiting 20:14:12 9f894cec8388: Waiting 20:14:12 caf521ccaac6: Verifying Checksum 20:14:12 caf521ccaac6: Download complete 20:14:12 5c2a1cbceb83: Verifying Checksum 20:14:12 5c2a1cbceb83: Download complete 20:14:12 a8d5f1318db7: Verifying Checksum 20:14:12 a8d5f1318db7: Download complete 20:14:12 c427282e49a2: Download complete 20:14:12 3ead6fa29328: Verifying Checksum 20:14:12 3ead6fa29328: Download complete 20:14:12 0714d37db230: Verifying Checksum 20:14:12 0714d37db230: Download complete 20:14:12 ac28cf19c067: Verifying Checksum 20:14:12 ac28cf19c067: Download complete 20:14:12 ca983d60f3e2: Verifying Checksum 20:14:12 ca983d60f3e2: Download complete 20:14:12 9f894cec8388: Verifying Checksum 20:14:12 9f894cec8388: Download complete 20:14:12 1fe172e4850f: Verifying Checksum 20:14:12 1fe172e4850f: Download complete 20:14:12 1827001aaf11: Verifying Checksum 20:14:12 1827001aaf11: Download complete 20:14:13 1fe172e4850f: Pull complete 20:14:13 caf521ccaac6: Pull complete 20:14:14 3ead6fa29328: Pull complete 20:14:14 5c2a1cbceb83: Pull complete 20:14:14 a8d5f1318db7: Pull complete 20:14:14 c427282e49a2: Pull complete 20:14:16 1827001aaf11: Pull complete 20:14:16 0714d37db230: Pull complete 20:14:16 ac28cf19c067: Pull complete 20:14:17 ca983d60f3e2: Pull complete 20:14:17 9f894cec8388: Pull complete 20:14:17 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:14:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 20:14:17 prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container 20:14:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 20:14:19 $ docker top 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a -eo pid,comm 20:14:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:14:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:14:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:19 [ssh-agent] Looking for ssh-agent implementation... 20:14:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:19 $ docker exec 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a ssh-agent 20:14:20 SSH_AUTH_SOCK=/tmp/ssh-sWLRHVboCuxm/agent.32 20:14:20 SSH_AGENT_PID=38 20:14:20 Running ssh-add (command line suppressed) 20:14:20 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_2005092846075155219.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_2005092846075155219.key) 20:14:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:20 + git tag --points-at HEAD [Pipeline] } 20:14:20 $ docker exec --env ******** --env ******** 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a ssh-agent -k 20:14:20 unset SSH_AUTH_SOCK; 20:14:20 unset SSH_AGENT_PID; 20:14:20 echo Agent pid 38 killed; 20:14:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:14:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:20 [ssh-agent] Looking for ssh-agent implementation... 20:14:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:20 $ docker exec 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a ssh-agent 20:14:20 SSH_AUTH_SOCK=/tmp/ssh-pyih1nzID1ZX/agent.73 20:14:20 SSH_AGENT_PID=80 20:14:20 Running ssh-add (command line suppressed) 20:14:21 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_5440052280957147295.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_5440052280957147295.key) 20:14:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:21 + git semver init 20:14:21 2022-05-09 20:14:21,597 [run_init] DEBUG init version:0.0.0 force:False 20:14:21 2022-05-09 20:14:21,597 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver 20:14:21 2022-05-09 20:14:21,598 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-187/.semver 20:14:21 2022-05-09 20:14:21,598 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-187/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187, universal_newlines=False, shell=None, istream=None) 20:14:22 2022-05-09 20:14:22,605 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.git/info/exclude 20:14:22 2022-05-09 20:14:22,605 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 with force:False 20:14:22 2022-05-09 20:14:22,606 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 20:14:22 2022-05-09 20:14:22,610 [execute] INFO git cat-file --batch-check 20:14:22 2022-05-09 20:14:22,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) 20:14:22 2022-05-09 20:14:22,615 [execute] INFO git cat-file --batch 20:14:22 2022-05-09 20:14:22,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) 20:14:22 2022-05-09 20:14:22,618 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 20:14:22 0.0.0 [Pipeline] } 20:14:22 $ docker exec --env ******** --env ******** 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a ssh-agent -k 20:14:23 unset SSH_AUTH_SOCK; 20:14:23 unset SSH_AGENT_PID; 20:14:23 echo Agent pid 80 killed; 20:14:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:23 + git semver [Pipeline] } 20:14:23 $ docker stop --time=1 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a 20:14:25 $ docker rm -f 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a [Pipeline] // withDockerContainer [Pipeline] sh 20:14:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:14:25 Stashed 1 file(s) [Pipeline] echo 20:14:25 [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 20:14:26 provisioning config files... 20:14:26 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config4377478129146146200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:26 ---> docker-login.sh 20:14:26 nexus3.edgexfoundry.org:10001 20:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:26 Configure a credential helper to remove this warning. See 20:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:26 20:14:26 Login Succeeded 20:14:26 nexus3.edgexfoundry.org:10002 20:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:26 Configure a credential helper to remove this warning. See 20:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:26 20:14:26 Login Succeeded 20:14:27 nexus3.edgexfoundry.org:10003 20:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:27 Configure a credential helper to remove this warning. See 20:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:27 20:14:27 Login Succeeded 20:14:27 nexus3.edgexfoundry.org:10004 20:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:27 Configure a credential helper to remove this warning. See 20:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:27 20:14:27 Login Succeeded 20:14:27 docker.io 20:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:27 Configure a credential helper to remove this warning. See 20:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:27 20:14:27 Login Succeeded 20:14:27 ---> docker-login.sh ends [Pipeline] } 20:14:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:27 ========================================================= 20:14:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:14:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:14:28 + 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 . 20:14:28 Sending build context to Docker daemon 10.62MB 20:14:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:14:28 Step 2/12 : FROM ${BASE} AS builder 20:14:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:28 59bf1c3509f3: Pulling fs layer 20:14:28 666ba61612fd: Pulling fs layer 20:14:28 8ed8ca486205: Pulling fs layer 20:14:28 4fe6c5a15a65: Pulling fs layer 20:14:28 22a0e8bec74d: Pulling fs layer 20:14:28 ca2b28591e48: Pulling fs layer 20:14:28 a51346096db8: Pulling fs layer 20:14:28 daebc70d1ce1: Pulling fs layer 20:14:28 0e18a0eac166: Pulling fs layer 20:14:28 4fe6c5a15a65: Waiting 20:14:28 ca2b28591e48: Waiting 20:14:28 daebc70d1ce1: Waiting 20:14:28 0e18a0eac166: Waiting 20:14:28 8ed8ca486205: Download complete 20:14:28 666ba61612fd: Verifying Checksum 20:14:28 666ba61612fd: Download complete 20:14:28 22a0e8bec74d: Verifying Checksum 20:14:28 22a0e8bec74d: Download complete 20:14:28 ca2b28591e48: Verifying Checksum 20:14:28 ca2b28591e48: Download complete 20:14:28 59bf1c3509f3: Verifying Checksum 20:14:28 59bf1c3509f3: Download complete 20:14:28 a51346096db8: Verifying Checksum 20:14:28 a51346096db8: Download complete 20:14:28 daebc70d1ce1: Verifying Checksum 20:14:28 daebc70d1ce1: Download complete 20:14:28 59bf1c3509f3: Pull complete 20:14:28 666ba61612fd: Pull complete 20:14:28 8ed8ca486205: Pull complete 20:14:29 0e18a0eac166: Verifying Checksum 20:14:29 0e18a0eac166: Download complete 20:14:29 4fe6c5a15a65: Verifying Checksum 20:14:29 4fe6c5a15a65: Download complete 20:14:32 4fe6c5a15a65: Pull complete 20:14:32 22a0e8bec74d: Pull complete 20:14:32 ca2b28591e48: Pull complete 20:14:32 a51346096db8: Pull complete 20:14:32 daebc70d1ce1: Pull complete 20:14:35 0e18a0eac166: Pull complete 20:14:35 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:14:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:14:35 ---> f018257e8ee9 20:14:35 Step 3/12 : ARG MAKE='make build' 20:14:36 ---> Running in f729b7403b12 20:14:37 Removing intermediate container f729b7403b12 20:14:37 ---> 7d41a7ebbf52 20:14:37 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:14:37 ---> Running in 65044983269b 20:14:37 Removing intermediate container 65044983269b 20:14:37 ---> 1838fcd23ef6 20:14:37 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:14:37 ---> Running in 387d2fb2685e 20:14:38 Removing intermediate container 387d2fb2685e 20:14:38 ---> ffff5d93287a 20:14:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:38 ---> Running in 6f7982d5c8f6 20:14:38 Removing intermediate container 6f7982d5c8f6 20:14:38 ---> 7d7b5b3d9ec3 20:14:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:38 ---> Running in 92040e92f625 20:14:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:14:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:14:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:14:40 (2/4) Installing libedit (20210910.3.1-r0) 20:14:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:14:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:14:40 Executing busybox-1.34.1-r3.trigger 20:14:40 OK: 224 MiB in 56 packages 20:14:41 Removing intermediate container 92040e92f625 20:14:41 ---> 50d21a2de67a 20:14:41 Step 8/12 : WORKDIR /device-rest-go 20:14:41 ---> Running in 962a4c03783d 20:14:41 Removing intermediate container 962a4c03783d 20:14:41 ---> 1f6b2592897f 20:14:41 Step 9/12 : COPY go.mod vendor* ./ 20:14:41 Still waiting to schedule task 20:14:41 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:14:41 ‘prd-centos7-builder-2c-1g-42638’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:14:41 ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:14:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-42637’ is offline 20:14:41 ---> 01f5a980bab1 20:14:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:41 ---> Running in e756737f4299 20:14:56 Removing intermediate container e756737f4299 20:14:56 ---> ee4513b6400c 20:14:56 Step 11/12 : COPY . . 20:14:56 ---> c49ea3fd21f7 20:14:56 Step 12/12 : RUN $MAKE 20:14:56 ---> Running in f9579dc7c5dd 20:14:56 noop 20:14:57 Removing intermediate container f9579dc7c5dd 20:14:57 ---> 8348c2b7b34b 20:14:57 Successfully built 8348c2b7b34b 20:14:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:14:57 + docker inspect -f . ci-base-image-x86_64 20:14:57 . [Pipeline] withDockerContainer 20:14:57 prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container 20:14:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@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-x86_64 cat 20:14:58 $ docker top 53e1cb054449d24e371e452819d08013b4f6749a1780d58db1131d4b3a4264e4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:58 + go version 20:14:58 go version go1.17.6 linux/amd64 [Pipeline] } 20:14:58 $ docker stop --time=1 53e1cb054449d24e371e452819d08013b4f6749a1780d58db1131d4b3a4264e4 20:14:59 $ docker rm -f 53e1cb054449d24e371e452819d08013b4f6749a1780d58db1131d4b3a4264e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:00 + docker inspect -f . ci-base-image-x86_64 20:15:00 . [Pipeline] withDockerContainer 20:15:00 prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container 20:15:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@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-x86_64 cat 20:15:01 $ docker top 0e9d43d682f1dcc4e5caf14b7909c49bc8aaf6bea162b307236297180a1d4b3b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:15:01 + make test 20:15:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:15:01 ? github.com/edgexfoundry/device-rest-go [no test files] 20:15:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:15:11 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:15:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:15:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:21 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:21 $ docker stop --time=1 0e9d43d682f1dcc4e5caf14b7909c49bc8aaf6bea162b307236297180a1d4b3b 20:15:23 $ docker rm -f 0e9d43d682f1dcc4e5caf14b7909c49bc8aaf6bea162b307236297180a1d4b3b [Pipeline] // withDockerContainer [Pipeline] sh 20:15:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:25 + ls -al . 20:15:25 total 168 20:15:25 drwxrwxr-x 9 jenkins jenkins 4096 May 9 20:15 . 20:15:25 drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:13 .. 20:15:25 -rw-rw-r-- 1 jenkins jenkins 151 May 9 20:13 .dockerignore 20:15:25 drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:14 .git 20:15:25 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:13 .github 20:15:25 -rw-rw-r-- 1 jenkins jenkins 329 May 9 20:13 .gitignore 20:15:25 -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:13 .golangci.yml 20:15:25 drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:14 .semver 20:15:25 -rw-rw-r-- 1 jenkins jenkins 8463 May 9 20:13 Attribution.txt 20:15:25 -rw-rw-r-- 1 jenkins jenkins 7459 May 9 20:13 CHANGELOG.md 20:15:25 -rw-rw-r-- 1 jenkins jenkins 1672 May 9 20:13 Dockerfile 20:15:25 -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:13 GOVERNANCE.md 20:15:25 -rw-rw-r-- 1 jenkins jenkins 680 May 9 20:13 Jenkinsfile 20:15:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:13 LICENSE 20:15:25 -rw-rw-r-- 1 jenkins jenkins 1977 May 9 20:13 Makefile 20:15:25 -rw-rw-r-- 1 jenkins jenkins 620 May 9 20:13 OWNERS.md 20:15:25 -rw-rw-r-- 1 jenkins jenkins 8003 May 9 20:13 README.md 20:15:25 -rw-rw-r-- 1 jenkins jenkins 5 May 9 20:14 VERSION 20:15:25 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:13 bin 20:15:25 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:13 cmd 20:15:25 -rw-r--r-- 1 jenkins jenkins 9355 May 9 20:15 coverage.out 20:15:25 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:13 driver 20:15:25 -rw-rw-r-- 1 jenkins jenkins 3333 May 9 20:13 go.mod 20:15:25 -rw-rw-r-- 1 jenkins jenkins 35377 May 9 20:13 go.sum 20:15:25 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:13 snap 20:15:25 -rw-rw-r-- 1 jenkins jenkins 713 May 9 20:13 version.go [Pipeline] isUnix [Pipeline] sh 20:15:25 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=amd64 --label version=0.0.0 . 20:15:25 Sending build context to Docker daemon 10.63MB 20:15:25 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:15:25 Step 2/25 : FROM ${BASE} AS builder 20:15:25 ---> 8348c2b7b34b 20:15:25 Step 3/25 : ARG MAKE='make build' 20:15:25 ---> Running in 31af01d4f7f9 20:15:25 Removing intermediate container 31af01d4f7f9 20:15:25 ---> e76f995b975f 20:15:25 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:15:25 ---> Running in 284dfedc7347 20:15:26 Removing intermediate container 284dfedc7347 20:15:26 ---> 4c6cbb332859 20:15:26 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:15:26 ---> Running in d3825cbc44cc 20:15:26 Removing intermediate container d3825cbc44cc 20:15:26 ---> 49eb634cacbc 20:15:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:26 ---> Running in c8f0162518fd 20:15:26 Removing intermediate container c8f0162518fd 20:15:26 ---> 8815985b7f3f 20:15:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:26 ---> Running in 41ba35b7176d 20:15:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:15:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:15:28 OK: 224 MiB in 56 packages 20:15:28 Removing intermediate container 41ba35b7176d 20:15:28 ---> 0cdd9611915b 20:15:28 Step 8/25 : WORKDIR /device-rest-go 20:15:28 ---> Running in 6505088e02cd 20:15:29 Removing intermediate container 6505088e02cd 20:15:29 ---> c427c9056e4c 20:15:29 Step 9/25 : COPY go.mod vendor* ./ 20:15:29 ---> 3858eced1584 20:15:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:29 ---> Running in 21800a426093 20:15:29 Removing intermediate container 21800a426093 20:15:29 ---> 0026006ba42a 20:15:29 Step 11/25 : COPY . . 20:15:30 ---> e246911fd290 20:15:30 Step 12/25 : RUN $MAKE 20:15:30 ---> Running in 9dd1acc52871 20:15:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:15:52 Removing intermediate container 9dd1acc52871 20:15:52 ---> cf2ba75cbad8 20:15:52 Step 13/25 : FROM alpine:3.14 20:15:52 3.14: Pulling from library/alpine 20:15:52 8663204ce13b: Pulling fs layer 20:15:52 8663204ce13b: Verifying Checksum 20:15:52 8663204ce13b: Download complete 20:15:52 8663204ce13b: Pull complete 20:15:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:15:52 Status: Downloaded newer image for alpine:3.14 20:15:52 ---> e04c818066af 20:15:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:15:52 ---> Running in a8dea2d23ac3 20:15:52 Removing intermediate container a8dea2d23ac3 20:15:52 ---> d9d9a01c9b8a 20:15:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:15:52 ---> Running in c9e8d2bf956b 20:15:52 Removing intermediate container c9e8d2bf956b 20:15:52 ---> b3b753479aed 20:15:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:15:52 ---> Running in d633d6b80e78 20:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:15:52 (1/6) Installing dumb-init (1.2.5-r1) 20:15:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:15:52 (3/6) Installing libsodium (1.0.18-r0) 20:15:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:15:52 (5/6) Installing libzmq (4.3.4-r0) 20:15:52 (6/6) Installing zeromq (4.3.4-r0) 20:15:52 Executing busybox-1.33.1-r7.trigger 20:15:52 OK: 8 MiB in 20 packages 20:15:52 Removing intermediate container d633d6b80e78 20:15:52 ---> 68ddef42f24e 20:15:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:15:53 ---> 37c8f11fb78c 20:15:53 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:15:53 ---> d15e8ed9ea2e 20:15:53 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:15:53 ---> 826a200dfbd4 20:15:53 Step 20/25 : EXPOSE 59986 20:15:53 ---> Running in 0367a060cd1e 20:15:53 Removing intermediate container 0367a060cd1e 20:15:53 ---> c6697e8a0b4b 20:15:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:15:54 ---> Running in 12e96442c099 20:15:54 Removing intermediate container 12e96442c099 20:15:54 ---> 33f8eb5c84cd 20:15:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:15:54 ---> Running in 4e662d4f8658 20:15:54 Removing intermediate container 4e662d4f8658 20:15:54 ---> 32077a2a387c 20:15:54 Step 23/25 : LABEL arch=amd64 20:15:54 ---> Running in 86becf376bfb 20:15:54 Removing intermediate container 86becf376bfb 20:15:54 ---> 58d436229cf3 20:15:54 Step 24/25 : LABEL git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c 20:15:54 ---> Running in 37f8ace7cf1a 20:15:54 Removing intermediate container 37f8ace7cf1a 20:15:54 ---> b2da7d7b4634 20:15:54 Step 25/25 : LABEL version=0.0.0 20:15:54 ---> Running in d4cf94adf69f 20:15:54 Removing intermediate container d4cf94adf69f 20:15:54 ---> 8b741d22c4d6 20:15:54 [Warning] One or more build-args [ARCH] were not consumed 20:15:54 Successfully built 8b741d22c4d6 20:15:54 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:55 20:15:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:15:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:55 latest: Pulling from edgex-lftools-log-publisher 20:15:55 5eb5b503b376: Pulling fs layer 20:15:55 5c69ac0246d0: Pulling fs layer 20:15:55 ec43610c2a17: Pulling fs layer 20:15:55 3a2ae6a8a46f: Pulling fs layer 20:15:55 33b1e0a273af: Pulling fs layer 20:15:55 5d3b04190fa2: Pulling fs layer 20:15:55 2f39f015ded8: Pulling fs layer 20:15:55 3a2ae6a8a46f: Waiting 20:15:55 33b1e0a273af: Waiting 20:15:55 5d3b04190fa2: Waiting 20:15:55 2f39f015ded8: Waiting 20:15:55 5c69ac0246d0: Verifying Checksum 20:15:55 5c69ac0246d0: Download complete 20:15:55 3a2ae6a8a46f: Download complete 20:15:55 33b1e0a273af: Verifying Checksum 20:15:55 33b1e0a273af: Download complete 20:15:55 ec43610c2a17: Verifying Checksum 20:15:55 ec43610c2a17: Download complete 20:15:55 5d3b04190fa2: Verifying Checksum 20:15:55 5d3b04190fa2: Download complete 20:15:55 5eb5b503b376: Download complete 20:15:56 2f39f015ded8: Verifying Checksum 20:15:56 2f39f015ded8: Download complete 20:15:57 5eb5b503b376: Pull complete 20:15:57 5c69ac0246d0: Pull complete 20:15:57 ec43610c2a17: Pull complete 20:15:57 3a2ae6a8a46f: Pull complete 20:15:58 33b1e0a273af: Pull complete 20:15:58 5d3b04190fa2: Pull complete 20:16:02 2f39f015ded8: Pull complete 20:16:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:16:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:16:02 prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container 20:16: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/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@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:latest cat 20:16:05 $ docker top be282b1d6e05e6e3fdd6fce4b044bc8a9eabee4bf4b90e39a18a7ca222f19fc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:05 ---> job-cost.sh 20:16:05 lf-activate-venv: SKIPPING 20:16:05 INFO: No Stack... 20:16:05 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:06 INFO: Archiving Costs [Pipeline] sh 20:16:06 + cat /w/workspace/gexfoundry_device-rest-go_PR-187/archives/cost.csv 20:16:06 + cut -d, -f6 [Pipeline] lock 20:16:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] 20:16:06 Resource [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] did not exist. Created. 20:16:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:16:07 + echo total: 0.2199999988079071 [Pipeline] stash 20:16:07 Stashed 1 file(s) [Pipeline] } 20:16:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:16:07 $ docker stop --time=1 be282b1d6e05e6e3fdd6fce4b044bc8a9eabee4bf4b90e39a18a7ca222f19fc9 20:16:08 $ docker rm -f be282b1d6e05e6e3fdd6fce4b044bc8a9eabee4bf4b90e39a18a7ca222f19fc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:16:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-42645 in /w/workspace/gexfoundry_device-rest-go_PR-187 [Pipeline] { [Pipeline] ws 20:16:55 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:16:56 The recommended git tool is: git 20:17:03 using credential edgex-jenkins-ssh 20:17:03 Cloning the remote Git repository 20:17:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:17:03 > git init /w/workspace/device-rest-go/1 # timeout=10 20:17:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:17:03 > git --version # timeout=10 20:17:03 > git --version # 'git version 2.25.1' 20:17:03 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:17:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:17:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:17:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:17:06 Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c 20:17:06 Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c 20:17:06 Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) 20:17:06 > git config core.sparsecheckout # timeout=10 20:17:06 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 20:17:06 > git remote # timeout=10 20:17:06 > git config --get remote.origin.url # timeout=10 20:17:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:06 > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 20:17:06 > git rev-parse HEAD^{commit} # timeout=10 20:17:06 > git config core.sparsecheckout # timeout=10 20:17:06 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 20:17:11 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:17:11 > git --version # timeout=10 20:17:11 > git --version # 'git version 2.25.1' 20:17:11 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:17:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:17:12 Dload Upload Total Spent Left Speed 20:17:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 20:17:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:17:13 + sudo tee /etc/docker/daemon.new 20:17:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:17:13 { 20:17:13 "registry-mirrors": [ 20:17:13 "https://nexus3.edgexfoundry.org:10001" 20:17:13 ], 20:17:13 "bip": "10.250.0.254/24", 20:17:13 "hosts": [ 20:17:13 "tcp://0.0.0.0:5555", 20:17:13 "unix:///var/run/docker.sock" 20:17:13 ], 20:17:13 "mtu": 1458, 20:17:13 "selinux-enabled": true, 20:17:13 "seccomp-profile": "/etc/docker/seccomp.json" 20:17:13 } [Pipeline] sh 20:17:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:17:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:32 provisioning config files... 20:17:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4681725208123929198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:33 ---> docker-login.sh 20:17:33 nexus3.edgexfoundry.org:10001 20:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:34 Configure a credential helper to remove this warning. See 20:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:34 20:17:34 Login Succeeded 20:17:34 nexus3.edgexfoundry.org:10002 20:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:35 Configure a credential helper to remove this warning. See 20:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:35 20:17:35 Login Succeeded 20:17:35 nexus3.edgexfoundry.org:10003 20:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:35 Configure a credential helper to remove this warning. See 20:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:35 20:17:35 Login Succeeded 20:17:35 nexus3.edgexfoundry.org:10004 20:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:36 Configure a credential helper to remove this warning. See 20:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:36 20:17:36 Login Succeeded 20:17:36 docker.io 20:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:37 Configure a credential helper to remove this warning. See 20:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:37 20:17:37 Login Succeeded 20:17:37 ---> docker-login.sh ends [Pipeline] } 20:17:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:37 ========================================================= 20:17:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:17:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:17:38 + 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 . 20:17:38 Sending build context to Docker daemon 124.4kB 20:17:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:17:38 Step 2/12 : FROM ${BASE} AS builder 20:17:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:17:38 9b3977197b4f: Pulling fs layer 20:17:38 1a89e8eeedd5: Pulling fs layer 20:17:38 94645a83ff95: Pulling fs layer 20:17:38 3f3a8bcf1eab: Pulling fs layer 20:17:38 0c92f367c5e7: Pulling fs layer 20:17:38 3f3a8bcf1eab: Waiting 20:17:38 3096ccb668a1: Pulling fs layer 20:17:38 e8cf19c19ddd: Pulling fs layer 20:17:38 a4caa8a26152: Pulling fs layer 20:17:38 0c92f367c5e7: Waiting 20:17:38 a4caa8a26152: Waiting 20:17:38 3096ccb668a1: Waiting 20:17:38 e8cf19c19ddd: Waiting 20:17:38 94645a83ff95: Verifying Checksum 20:17:38 94645a83ff95: Download complete 20:17:38 1a89e8eeedd5: Download complete 20:17:38 0c92f367c5e7: Verifying Checksum 20:17:38 0c92f367c5e7: Download complete 20:17:38 3096ccb668a1: Verifying Checksum 20:17:38 3096ccb668a1: Download complete 20:17:38 9b3977197b4f: Verifying Checksum 20:17:38 9b3977197b4f: Download complete 20:17:38 e8cf19c19ddd: Verifying Checksum 20:17:38 e8cf19c19ddd: Download complete 20:17:39 9b3977197b4f: Pull complete 20:17:39 1a89e8eeedd5: Pull complete 20:17:40 94645a83ff95: Pull complete 20:17:40 a4caa8a26152: Verifying Checksum 20:17:40 a4caa8a26152: Download complete 20:17:41 3f3a8bcf1eab: Verifying Checksum 20:17:41 3f3a8bcf1eab: Download complete 20:17:53 3f3a8bcf1eab: Pull complete 20:17:54 0c92f367c5e7: Pull complete 20:17:54 3096ccb668a1: Pull complete 20:17:54 e8cf19c19ddd: Pull complete 20:18:01 a4caa8a26152: Pull complete 20:18:01 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:18:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:18:01 ---> 725f1c02e7f9 20:18:01 Step 3/12 : ARG MAKE='make build' 20:18:02 ---> Running in d0fb205deb63 20:18:02 Removing intermediate container d0fb205deb63 20:18:02 ---> be2da1fbb8ed 20:18:02 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:18:02 ---> Running in 37909f07becb 20:18:03 Removing intermediate container 37909f07becb 20:18:03 ---> 08dda0dbecd4 20:18:03 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:18:03 ---> Running in dfaf725cc30c 20:18:04 Removing intermediate container dfaf725cc30c 20:18:04 ---> abc2953f8959 20:18:04 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:04 ---> Running in b5451e690735 20:18:06 Removing intermediate container b5451e690735 20:18:06 ---> 9a2f0c0c702b 20:18:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:06 ---> Running in 7300ab411c1c 20:18:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:18:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:18:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:18:09 (2/4) Installing libedit (20210910.3.1-r0) 20:18:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:18:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:18:09 Executing busybox-1.34.1-r3.trigger 20:18:09 OK: 224 MiB in 56 packages 20:18:10 Removing intermediate container 7300ab411c1c 20:18:10 ---> f948ad0518ac 20:18:10 Step 8/12 : WORKDIR /device-rest-go 20:18:10 ---> Running in a15becba81b3 20:18:11 Removing intermediate container a15becba81b3 20:18:11 ---> f7667c736825 20:18:11 Step 9/12 : COPY go.mod vendor* ./ 20:18:12 ---> bf0e7e953286 20:18:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:12 ---> Running in c4229fad47cd 20:19:08 Removing intermediate container c4229fad47cd 20:19:08 ---> 24ca40c38955 20:19:08 Step 11/12 : COPY . . 20:19:08 ---> d94627c5ca8c 20:19:08 Step 12/12 : RUN $MAKE 20:19:08 ---> Running in 77087250f49f 20:19:08 noop 20:19:08 Removing intermediate container 77087250f49f 20:19:08 ---> 30337b827d65 20:19:08 Successfully built 30337b827d65 20:19:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:19:09 + docker inspect -f . ci-base-image-arm64 20:19:09 . [Pipeline] withDockerContainer 20:19:09 prd-ubuntu20.04-docker-arm64-4c-16g-42645 does not seem to be running inside a container 20:19:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 20:19:10 $ docker top 9997ff4f0a2b41606fa86a028ad28f0c4e3f849504ecaae5ccc385691687f3af -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:11 + go version 20:19:11 go version go1.17.6 linux/arm64 [Pipeline] } 20:19:11 $ docker stop --time=1 9997ff4f0a2b41606fa86a028ad28f0c4e3f849504ecaae5ccc385691687f3af 20:19:13 $ docker rm -f 9997ff4f0a2b41606fa86a028ad28f0c4e3f849504ecaae5ccc385691687f3af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:14 + docker inspect -f . ci-base-image-arm64 20:19:14 . [Pipeline] withDockerContainer 20:19:14 prd-ubuntu20.04-docker-arm64-4c-16g-42645 does not seem to be running inside a container 20:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 20:19:16 $ docker top a3ef654c5e864709607cb2d878d68893eb8ee221b7d41c5882d8e03adba839ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:19:17 + make test 20:19:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:19:19 ? github.com/edgexfoundry/device-rest-go [no test files] 20:20:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:20:56 ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements 20:20:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:20:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:21:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:21:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:21:18 ./bin/test-attribution-txt.sh [Pipeline] echo 20:21:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:21:18 $ docker stop --time=1 a3ef654c5e864709607cb2d878d68893eb8ee221b7d41c5882d8e03adba839ed 20:21:20 $ docker rm -f a3ef654c5e864709607cb2d878d68893eb8ee221b7d41c5882d8e03adba839ed [Pipeline] // withDockerContainer [Pipeline] sh 20:21:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:21:21 Warning: overwriting stash ‘coverage-report’ 20:21:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:21:22 + ls -al . 20:21:22 total 164 20:21:22 drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:21 . 20:21:22 drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:17 .. 20:21:22 -rw-rw-r-- 1 jenkins jenkins 151 May 9 20:17 .dockerignore 20:21:22 drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:17 .git 20:21:22 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:17 .github 20:21:22 -rw-rw-r-- 1 jenkins jenkins 329 May 9 20:17 .gitignore 20:21:22 -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:17 .golangci.yml 20:21:22 -rw-rw-r-- 1 jenkins jenkins 8463 May 9 20:17 Attribution.txt 20:21:22 -rw-rw-r-- 1 jenkins jenkins 7459 May 9 20:17 CHANGELOG.md 20:21:22 -rw-rw-r-- 1 jenkins jenkins 1672 May 9 20:17 Dockerfile 20:21:22 -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:17 GOVERNANCE.md 20:21:22 -rw-rw-r-- 1 jenkins jenkins 680 May 9 20:17 Jenkinsfile 20:21:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:17 LICENSE 20:21:22 -rw-rw-r-- 1 jenkins jenkins 1977 May 9 20:17 Makefile 20:21:22 -rw-rw-r-- 1 jenkins jenkins 620 May 9 20:17 OWNERS.md 20:21:22 -rw-rw-r-- 1 jenkins jenkins 8003 May 9 20:17 README.md 20:21:22 -rw-rw-r-- 1 jenkins jenkins 5 May 9 20:14 VERSION 20:21:22 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:17 bin 20:21:22 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:17 cmd 20:21:22 -rw-r--r-- 1 jenkins jenkins 9355 May 9 20:20 coverage.out 20:21:22 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:17 driver 20:21:22 -rw-rw-r-- 1 jenkins jenkins 3333 May 9 20:17 go.mod 20:21:22 -rw-rw-r-- 1 jenkins jenkins 35377 May 9 20:17 go.sum 20:21:22 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:17 snap 20:21:22 -rw-rw-r-- 1 jenkins jenkins 713 May 9 20:17 version.go [Pipeline] isUnix [Pipeline] sh 20:21:23 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=arm64 --label version=0.0.0 . 20:21:23 Sending build context to Docker daemon 134.7kB 20:21:23 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:21:23 Step 2/25 : FROM ${BASE} AS builder 20:21:23 ---> 30337b827d65 20:21:23 Step 3/25 : ARG MAKE='make build' 20:21:23 ---> Running in 4591f1200182 20:21:23 Removing intermediate container 4591f1200182 20:21:23 ---> 3f28cbe4ea2e 20:21:23 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:21:24 ---> Running in e39819ba0140 20:21:24 Removing intermediate container e39819ba0140 20:21:24 ---> 093f7baf24c9 20:21:24 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:21:24 ---> Running in f852f82f8fc3 20:21:24 Removing intermediate container f852f82f8fc3 20:21:24 ---> 32be24451a67 20:21:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:24 ---> Running in fe5bca77e1b2 20:21:26 Removing intermediate container fe5bca77e1b2 20:21:26 ---> 632eec8000a7 20:21:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:21:26 ---> Running in 30630a92d6c6 20:21:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:21:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:21:29 OK: 224 MiB in 56 packages 20:21:29 Removing intermediate container 30630a92d6c6 20:21:29 ---> e2a7b37f34c9 20:21:29 Step 8/25 : WORKDIR /device-rest-go 20:21:29 ---> Running in 196ebb4c39fb 20:21:30 Removing intermediate container 196ebb4c39fb 20:21:30 ---> 0adb2f8beca7 20:21:30 Step 9/25 : COPY go.mod vendor* ./ 20:21:30 ---> 710cad81b7d1 20:21:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:30 ---> Running in 0e8a2961799c 20:21:32 Removing intermediate container 0e8a2961799c 20:21:32 ---> 17d3f3d8ab20 20:21:32 Step 11/25 : COPY . . 20:21:33 ---> 6c5d38f4c85e 20:21:33 Step 12/25 : RUN $MAKE 20:21:33 ---> Running in 0924b6b75eb3 20:21:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:23:55 Removing intermediate container 0924b6b75eb3 20:23:55 ---> e4713906e3b5 20:23:55 Step 13/25 : FROM alpine:3.14 20:23:55 3.14: Pulling from library/alpine 20:23:55 455c02918c45: Pulling fs layer 20:23:55 455c02918c45: Download complete 20:23:55 455c02918c45: Pull complete 20:23:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:23:55 Status: Downloaded newer image for alpine:3.14 20:23:55 ---> ac73e934f311 20:23:55 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:23:55 ---> Running in ae775098da72 20:23:55 Removing intermediate container ae775098da72 20:23:55 ---> d8ccd2866536 20:23:55 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:23:55 ---> Running in 17eeabfb0e7c 20:23:55 Removing intermediate container 17eeabfb0e7c 20:23:55 ---> c4826a0377b9 20:23:55 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:23:55 ---> Running in e3ccf6e4bf1b 20:23:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:23:55 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 20:23:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:23:58 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) 20:23:58 ERROR: unable to select packages: 20:23:58  dumb-init (no such package): 20:23:58 required by: world[dumb-init] 20:23:58 zeromq (no such package): 20:23:58 required by: world[zeromq] 20:23:58 The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [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 20:23:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:59 20:23:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:24:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:00 arm64: Pulling from edgex-lftools-log-publisher 20:24:00 8998bd30e6a1: Pulling fs layer 20:24:00 04944245beec: Pulling fs layer 20:24:00 699f458cf7ca: Pulling fs layer 20:24:00 765212b225bb: Pulling fs layer 20:24:00 f23df028b6ca: Pulling fs layer 20:24:00 d65c8cfc05b1: Pulling fs layer 20:24:00 2437ff75d9bd: Pulling fs layer 20:24:00 f23df028b6ca: Waiting 20:24:00 2437ff75d9bd: Waiting 20:24:00 765212b225bb: Waiting 20:24:00 d65c8cfc05b1: Waiting 20:24:00 04944245beec: Verifying Checksum 20:24:00 04944245beec: Download complete 20:24:00 765212b225bb: Verifying Checksum 20:24:00 765212b225bb: Download complete 20:24:00 f23df028b6ca: Verifying Checksum 20:24:00 f23df028b6ca: Download complete 20:24:00 d65c8cfc05b1: Verifying Checksum 20:24:00 d65c8cfc05b1: Download complete 20:24:00 699f458cf7ca: Verifying Checksum 20:24:00 699f458cf7ca: Download complete 20:24:00 8998bd30e6a1: Verifying Checksum 20:24:00 8998bd30e6a1: Download complete 20:24:03 2437ff75d9bd: Verifying Checksum 20:24:03 2437ff75d9bd: Download complete 20:24:04 8998bd30e6a1: Pull complete 20:24:05 04944245beec: Pull complete 20:24:06 699f458cf7ca: Pull complete 20:24:07 765212b225bb: Pull complete 20:24:08 f23df028b6ca: Pull complete 20:24:08 d65c8cfc05b1: Pull complete 20:24:23 2437ff75d9bd: Pull complete 20:24:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:24:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:24:23 prd-ubuntu20.04-docker-arm64-4c-16g-42645 does not seem to be running inside a container 20:24:23 $ 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/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/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 20:24:27 $ docker top 24d8c7480ff74b5f5dbdcb43f9ed41bc7141b8d3597bf3c11ae17404d7f52896 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:28 ---> job-cost.sh 20:24:28 lf-activate-venv: SKIPPING 20:24:28 INFO: No Stack... 20:24:29 INFO: Retrieving Pricing Info for: v3-standard-4 20:24:29 INFO: Archiving Costs [Pipeline] sh 20:24:30 + + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:24:30 cut -d, -f6 [Pipeline] lock 20:24:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] 20:24:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] did not exist. Created. 20:24:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:24:31 /w/workspace/device-rest-go/1@tmp/durable-80569927/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:24:32 + echo total: 0.10999999940395355 [Pipeline] stash 20:24:32 Warning: overwriting stash ‘stack-cost’ 20:24:32 Stashed 1 file(s) [Pipeline] } 20:24:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:24:32 $ docker stop --time=1 24d8c7480ff74b5f5dbdcb43f9ed41bc7141b8d3597bf3c11ae17404d7f52896 20:24:33 $ docker rm -f 24d8c7480ff74b5f5dbdcb43f9ed41bc7141b8d3597bf3c11ae17404d7f52896 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:24:34 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 20:24:36 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-187/archives ] 20:24:36 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives 20:24:36 total 16 20:24:36 drwxr-xr-x 3 root root 4096 May 9 20:16 . 20:24:36 drwxrwxr-x 10 jenkins jenkins 4096 May 9 20:16 .. 20:24:36 drwxr-xr-x 2 root root 4096 May 9 20:16 cost 20:24:36 -rw-r--r-- 1 root root 85 May 9 20:16 cost.csv 20:24:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-187/archives 20:24:36 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives 20:24:36 total 16 20:24:36 drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:16 . 20:24:36 drwxrwxr-x 10 jenkins jenkins 4096 May 9 20:16 .. 20:24:36 drwxr-xr-x 2 jenkins jenkins 4096 May 9 20:16 cost 20:24:36 -rw-r--r-- 1 jenkins jenkins 85 May 9 20:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:24:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:24:37 ---> package-listing.sh 20:24:37 ++ facter osfamily 20:24:37 ++ tr '[:upper:]' '[:lower:]' 20:24:38 + OS_FAMILY=debian 20:24:38 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-187 20:24:38 + START_PACKAGES=/tmp/packages_start.txt 20:24:38 + END_PACKAGES=/tmp/packages_end.txt 20:24:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:24:38 + PACKAGES=/tmp/packages_start.txt 20:24:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' 20:24:38 + PACKAGES=/tmp/packages_end.txt 20:24:38 + case "${OS_FAMILY}" in 20:24:38 + dpkg -l 20:24:38 + grep '^ii' 20:24:38 + '[' -f /tmp/packages_start.txt ']' 20:24:38 + '[' -f /tmp/packages_end.txt ']' 20:24:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:24:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' 20:24:38 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ 20:24:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ [Pipeline] echo 20:24:38 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/gexfoundry_device-rest-go_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:24:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:24:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:39 . [Pipeline] withDockerContainer 20:24:39 prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container 20:24:39 $ 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/gexfoundry_device-rest-go_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@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 20:24:39 $ docker top c395b399075bb218b726538890ad53ae64104b6ab007e5b90e728d8624345698 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:39 + touch /tmp/pre-build-complete [Pipeline] sh 20:24:40 + mkdir -p /var/log/sysstat [Pipeline] sh 20:24:40 + ls /var/log/sa-host 20:24:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:40 provisioning config files... 20:24:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config4788881897550907743tmp [Pipeline] { [Pipeline] echo 20:24:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:24:40 ---> create-netrc.sh [Pipeline] } 20:24:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:24:41 ---> python-tools-install.sh [Pipeline] echo 20:24:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:24:41 ---> sudo-logs.sh 20:24:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:24:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:24:42 ---> job-cost.sh 20:24:42 lf-activate-venv: SKIPPING 20:24:42 DEBUG: total: 0.2199999988079071 20:24:42 INFO: Retrieving Stack Cost... 20:24:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:24:42 INFO: Archiving Costs [Pipeline] echo 20:24:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:24:43 ---> logs-deploy.sh 20:24:43 lf-activate-venv: SKIPPING 20:24:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-187/1 20:24:43 INFO: archiving workspace using pattern(s): 20:24:44 Archives upload complete. 20:24:44 INFO: archiving logs to Nexus