Pull request #184 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at f0689e2451660e374e54247122f91e779ddae9a5 rather than d81468cbaee3b4856f2e04919014d9c611962b7b Obtained Jenkinsfile from f0689e2451660e374e54247122f91e779ddae9a5 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-ssh11533615480200432782.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-ssh12939364854707679452.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-184/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-184/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2968606402989825941.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-184/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5452964577240183867.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-ssh6116092543259912079.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-184/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-184/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3348398231047652053.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40487 in /w/workspace/gexfoundry_device-rest-go_PR-184 [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-184 # 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 f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit d81468cbaee3b4856f2e04919014d9c611962b7b Merge succeeded, producing d81468cbaee3b4856f2e04919014d9c611962b7b Checking out Revision d81468cbaee3b4856f2e04919014d9c611962b7b (PR-184) > 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d81468cbaee3b4856f2e04919014d9c611962b7b # 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 f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d81468cbaee3b4856f2e04919014d9c611962b7b # timeout=10 Commit message: "docs: cleanup references" 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 12:13:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:13:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:13:06 ========================================================= 12:13:06 EdgeX Global Pipelines Version Info 12:13:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:13:06 ------------------- 12:13:06 stable info: 12:13:06 ------------------- 12:13:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:13:06 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:13:06 Message: update stable to v1.0.227 12:13:07 ------------------- 12:13:07 experimental info: 12:13:07 ------------------- 12:13:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:13:07 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 12:13:07 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:13:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 12:13:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 12:13:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:13:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:13:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo 12:13:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo 12:13:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d81468cbaee3b4856f2e04919014d9c611962b7b [Pipeline] echo 12:13:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d81468c [Pipeline] echo 12:13:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:09 provisioning config files... 12:13:09 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config8760451556326040230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:09 ---> docker-login.sh 12:13:09 nexus3.edgexfoundry.org:10001 12:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:09 Configure a credential helper to remove this warning. See 12:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:09 12:13:09 Login Succeeded 12:13:09 nexus3.edgexfoundry.org:10002 12:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:10 Configure a credential helper to remove this warning. See 12:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:10 12:13:10 Login Succeeded 12:13:10 nexus3.edgexfoundry.org:10003 12:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:10 Configure a credential helper to remove this warning. See 12:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:10 12:13:10 Login Succeeded 12:13:10 nexus3.edgexfoundry.org:10004 12:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:10 Configure a credential helper to remove this warning. See 12:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:10 12:13:10 Login Succeeded 12:13:10 docker.io 12:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:10 Configure a credential helper to remove this warning. See 12:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:10 12:13:10 Login Succeeded 12:13:10 ---> docker-login.sh ends [Pipeline] } 12:13:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:13:11 + git rev-list -1 --merges d81468cbaee3b4856f2e04919014d9c611962b7b~1..d81468cbaee3b4856f2e04919014d9c611962b7b [Pipeline] echo 12:13:11 -----------> git rev-list -1 --merges d81468cbaee3b4856f2e04919014d9c611962b7b~1..d81468cbaee3b4856f2e04919014d9c611962b7b d81468cbaee3b4856f2e04919014d9c611962b7b [false] [Pipeline] sh 12:13:12 + git log --format=format:%s -1 d81468cbaee3b4856f2e04919014d9c611962b7b [Pipeline] echo 12:13:12 ========================================================= 12:13:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:13:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:13:12 + git log --format=format:%s -1 d81468cbaee3b4856f2e04919014d9c611962b7b [Pipeline] echo 12:13:12 [semverPrep] GIT_COMMIT: d81468cbaee3b4856f2e04919014d9c611962b7b, Commit Message: docs: cleanup references [Pipeline] echo 12:13:12 [semverPrep] This is not a build commit. [Pipeline] sh 12:13:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:13:13 + grep -v github /etc/ssh/ssh_known_hosts 12:13:13 + [ -e /tmp/ssh_known_hosts ] 12:13:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:13:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:13:13 + sudo tee -a /etc/ssh/ssh_known_hosts 12:13:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:13:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:13:13 12:13:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:13:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:13:13 latest: Pulling from edgex-devops/py-git-semver 12:13:13 1fe172e4850f: Pulling fs layer 12:13:13 caf521ccaac6: Pulling fs layer 12:13:13 3ead6fa29328: Pulling fs layer 12:13:13 5c2a1cbceb83: Pulling fs layer 12:13:13 a8d5f1318db7: Pulling fs layer 12:13:13 c427282e49a2: Pulling fs layer 12:13:13 1827001aaf11: Pulling fs layer 12:13:13 0714d37db230: Pulling fs layer 12:13:13 ac28cf19c067: Pulling fs layer 12:13:13 ca983d60f3e2: Pulling fs layer 12:13:13 9f894cec8388: Pulling fs layer 12:13:13 c427282e49a2: Waiting 12:13:13 1827001aaf11: Waiting 12:13:13 0714d37db230: Waiting 12:13:13 ac28cf19c067: Waiting 12:13:13 ca983d60f3e2: Waiting 12:13:13 9f894cec8388: Waiting 12:13:13 5c2a1cbceb83: Waiting 12:13:13 a8d5f1318db7: Waiting 12:13:13 caf521ccaac6: Verifying Checksum 12:13:13 caf521ccaac6: Download complete 12:13:13 5c2a1cbceb83: Verifying Checksum 12:13:13 5c2a1cbceb83: Download complete 12:13:14 a8d5f1318db7: Verifying Checksum 12:13:14 a8d5f1318db7: Download complete 12:13:14 3ead6fa29328: Verifying Checksum 12:13:14 3ead6fa29328: Download complete 12:13:14 c427282e49a2: Download complete 12:13:14 0714d37db230: Verifying Checksum 12:13:14 0714d37db230: Download complete 12:13:14 ac28cf19c067: Download complete 12:13:14 ca983d60f3e2: Verifying Checksum 12:13:14 ca983d60f3e2: Download complete 12:13:14 9f894cec8388: Download complete 12:13:14 1fe172e4850f: Verifying Checksum 12:13:14 1fe172e4850f: Download complete 12:13:14 1827001aaf11: Verifying Checksum 12:13:14 1827001aaf11: Download complete 12:13:15 1fe172e4850f: Pull complete 12:13:15 caf521ccaac6: Pull complete 12:13:16 3ead6fa29328: Pull complete 12:13:16 5c2a1cbceb83: Pull complete 12:13:16 a8d5f1318db7: Pull complete 12:13:16 c427282e49a2: Pull complete 12:13:18 1827001aaf11: Pull complete 12:13:18 0714d37db230: Pull complete 12:13:18 ac28cf19c067: Pull complete 12:13:18 ca983d60f3e2: Pull complete 12:13:18 9f894cec8388: Pull complete 12:13:18 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:13:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:13:18 prd-ubuntu20.04-docker-8c-8g-40487 does not seem to be running inside a container 12:13:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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-devops/py-git-semver:latest cat 12:13:20 $ docker top afb421455a3d1f891297a374a8050daf8257c0e4633c0f3f85eca51932c2b9e8 -eo pid,comm 12:13:20 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). 12:13:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:13:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:13:20 [ssh-agent] Looking for ssh-agent implementation... 12:13:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:13:20 $ docker exec afb421455a3d1f891297a374a8050daf8257c0e4633c0f3f85eca51932c2b9e8 ssh-agent 12:13:20 SSH_AUTH_SOCK=/tmp/ssh-c8X94Herf98k/agent.34 12:13:20 SSH_AGENT_PID=41 12:13:20 Running ssh-add (command line suppressed) 12:13:20 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_364255308673215093.key (/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_364255308673215093.key) 12:13:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:13:21 + git tag --points-at HEAD [Pipeline] } 12:13:21 $ docker exec --env ******** --env ******** afb421455a3d1f891297a374a8050daf8257c0e4633c0f3f85eca51932c2b9e8 ssh-agent -k 12:13:21 unset SSH_AUTH_SOCK; 12:13:21 unset SSH_AGENT_PID; 12:13:21 echo Agent pid 41 killed; 12:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:13:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:13:21 [ssh-agent] Looking for ssh-agent implementation... 12:13:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:13:21 $ docker exec afb421455a3d1f891297a374a8050daf8257c0e4633c0f3f85eca51932c2b9e8 ssh-agent 12:13:21 SSH_AUTH_SOCK=/tmp/ssh-Hr2WdQ8JyrYy/agent.74 12:13:21 SSH_AGENT_PID=81 12:13:21 Running ssh-add (command line suppressed) 12:13:21 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_161453663867315197.key (/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_161453663867315197.key) 12:13:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:13:22 + git semver init 12:13:22 2022-05-05 12:13:22,479 [run_init] DEBUG init version:0.0.0 force:False 12:13:22 2022-05-05 12:13:22,479 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver 12:13:22 2022-05-05 12:13:22,480 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-184/.semver 12:13:22 2022-05-05 12:13:22,480 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-184/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184, universal_newlines=False, shell=None, istream=None) 12:13:23 2022-05-05 12:13:23,451 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-184/.git/info/exclude 12:13:23 2022-05-05 12:13:23,451 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 with force:False 12:13:23 2022-05-05 12:13:23,451 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 12:13:23 2022-05-05 12:13:23,456 [execute] INFO git cat-file --batch-check 12:13:23 2022-05-05 12:13:23,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) 12:13:23 2022-05-05 12:13:23,463 [execute] INFO git cat-file --batch 12:13:23 2022-05-05 12:13:23,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) 12:13:23 2022-05-05 12:13:23,468 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 12:13:23 0.0.0 [Pipeline] } 12:13:23 $ docker exec --env ******** --env ******** afb421455a3d1f891297a374a8050daf8257c0e4633c0f3f85eca51932c2b9e8 ssh-agent -k 12:13:23 unset SSH_AUTH_SOCK; 12:13:23 unset SSH_AGENT_PID; 12:13:23 echo Agent pid 81 killed; 12:13:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:13:24 + git semver [Pipeline] } 12:13:24 $ docker stop --time=1 afb421455a3d1f891297a374a8050daf8257c0e4633c0f3f85eca51932c2b9e8 12:13:25 $ docker rm -f afb421455a3d1f891297a374a8050daf8257c0e4633c0f3f85eca51932c2b9e8 [Pipeline] // withDockerContainer [Pipeline] sh 12:13:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:13:26 Stashed 1 file(s) [Pipeline] echo 12:13:26 [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:13:27 provisioning config files... 12:13:27 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config3322534420787834703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:27 ---> docker-login.sh 12:13:27 nexus3.edgexfoundry.org:10001 12:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:27 Configure a credential helper to remove this warning. See 12:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:27 12:13:27 Login Succeeded 12:13:27 nexus3.edgexfoundry.org:10002 12:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:28 Configure a credential helper to remove this warning. See 12:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:28 12:13:28 Login Succeeded 12:13:28 nexus3.edgexfoundry.org:10003 12:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:28 Configure a credential helper to remove this warning. See 12:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:28 12:13:28 Login Succeeded 12:13:28 nexus3.edgexfoundry.org:10004 12:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:28 Configure a credential helper to remove this warning. See 12:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:28 12:13:28 Login Succeeded 12:13:28 docker.io 12:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:28 Configure a credential helper to remove this warning. See 12:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:28 12:13:28 Login Succeeded 12:13:28 ---> docker-login.sh ends [Pipeline] } 12:13:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:13:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:28 ========================================================= 12:13:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:13:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:13:29 + 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:13:29 Sending build context to Docker daemon 10.61MB 12:13:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:13:29 Step 2/12 : FROM ${BASE} AS builder 12:13:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:13:29 59bf1c3509f3: Pulling fs layer 12:13:29 666ba61612fd: Pulling fs layer 12:13:29 8ed8ca486205: Pulling fs layer 12:13:29 4fe6c5a15a65: Pulling fs layer 12:13:29 4fe6c5a15a65: Waiting 12:13:29 22a0e8bec74d: Pulling fs layer 12:13:29 ca2b28591e48: Pulling fs layer 12:13:29 a51346096db8: Pulling fs layer 12:13:29 daebc70d1ce1: Pulling fs layer 12:13:29 ca2b28591e48: Waiting 12:13:29 a51346096db8: Waiting 12:13:29 daebc70d1ce1: Waiting 12:13:29 22a0e8bec74d: Waiting 12:13:29 0e18a0eac166: Pulling fs layer 12:13:29 0e18a0eac166: Waiting 12:13:29 8ed8ca486205: Download complete 12:13:29 666ba61612fd: Download complete 12:13:29 22a0e8bec74d: Verifying Checksum 12:13:29 22a0e8bec74d: Download complete 12:13:29 ca2b28591e48: Verifying Checksum 12:13:29 ca2b28591e48: Download complete 12:13:29 59bf1c3509f3: Verifying Checksum 12:13:29 a51346096db8: Verifying Checksum 12:13:29 a51346096db8: Download complete 12:13:29 daebc70d1ce1: Verifying Checksum 12:13:29 daebc70d1ce1: Download complete 12:13:29 59bf1c3509f3: Pull complete 12:13:29 666ba61612fd: Pull complete 12:13:29 8ed8ca486205: Pull complete 12:13:30 0e18a0eac166: Verifying Checksum 12:13:30 0e18a0eac166: Download complete 12:13:30 4fe6c5a15a65: Download complete 12:13:33 4fe6c5a15a65: Pull complete 12:13:33 22a0e8bec74d: Pull complete 12:13:33 ca2b28591e48: Pull complete 12:13:33 a51346096db8: Pull complete 12:13:34 daebc70d1ce1: Pull complete 12:13:36 0e18a0eac166: Pull complete 12:13:36 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:13:36 ---> f018257e8ee9 12:13:36 Step 3/12 : ARG MAKE='make build' 12:13:38 ---> Running in 14ad0e3b0583 12:13:38 Removing intermediate container 14ad0e3b0583 12:13:38 ---> 11edc1165939 12:13:38 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:13:38 ---> Running in a65a80a3b3c2 12:13:38 Removing intermediate container a65a80a3b3c2 12:13:38 ---> bb59113f5c7f 12:13:38 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:13:38 ---> Running in 0b271b7d43f0 12:13:38 Removing intermediate container 0b271b7d43f0 12:13:38 ---> 402c5511bf6c 12:13:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:13:38 ---> Running in c844dd912be5 12:13:38 Removing intermediate container c844dd912be5 12:13:38 ---> f88d9b15b311 12:13:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:13:38 ---> Running in 58404cedbf7a 12:13:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:13:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:13:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:13:40 (2/4) Installing libedit (20210910.3.1-r0) 12:13:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:13:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:13:40 Executing busybox-1.34.1-r3.trigger 12:13:40 OK: 224 MiB in 56 packages 12:13:41 Removing intermediate container 58404cedbf7a 12:13:41 ---> 0440a7594abd 12:13:41 Step 8/12 : WORKDIR /device-rest-go 12:13:41 ---> Running in 2fde4daad363 12:13:41 Removing intermediate container 2fde4daad363 12:13:41 ---> 79c980984e35 12:13:41 Step 9/12 : COPY go.mod vendor* ./ 12:13:41 ---> e51a1743a6a8 12:13:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:13:41 ---> Running in 98afe41826b0 12:13:42 Still waiting to schedule task 12:13:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:13:56 Removing intermediate container 98afe41826b0 12:13:56 ---> fa1c781c57d0 12:13:56 Step 11/12 : COPY . . 12:13:57 ---> 0a31294e4c46 12:13:57 Step 12/12 : RUN $MAKE 12:13:57 ---> Running in 019c03cdbf0f 12:13:57 noop 12:13:57 Removing intermediate container 019c03cdbf0f 12:13:57 ---> d564ec169084 12:13:57 Successfully built d564ec169084 12:13:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:13:58 + docker inspect -f . ci-base-image-x86_64 12:13:58 . [Pipeline] withDockerContainer 12:13:58 prd-ubuntu20.04-docker-8c-8g-40487 does not seem to be running inside a container 12:13:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:13:58 $ docker top 73a4fa1ab838182bb0da61cd379d0db22b1b4d5e9a5d979c5dd6604cb81fafaa -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:58 + go version 12:13:58 go version go1.17.6 linux/amd64 [Pipeline] } 12:13:58 $ docker stop --time=1 73a4fa1ab838182bb0da61cd379d0db22b1b4d5e9a5d979c5dd6604cb81fafaa 12:14:00 $ docker rm -f 73a4fa1ab838182bb0da61cd379d0db22b1b4d5e9a5d979c5dd6604cb81fafaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:14:00 + docker inspect -f . ci-base-image-x86_64 12:14:00 . [Pipeline] withDockerContainer 12:14:01 prd-ubuntu20.04-docker-8c-8g-40487 does not seem to be running inside a container 12:14:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:14:01 $ docker top 7b7ab678a171e2e398fa6bfade64c696a00e0cf08a313bdeb2c6f250cb6f2d3d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:14:01 + make test 12:14:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:14:02 ? github.com/edgexfoundry/device-rest-go [no test files] 12:14:12 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 12:14:12 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 12:14:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:14:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:14:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:14:21 ./bin/test-attribution-txt.sh [Pipeline] echo 12:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:14:21 $ docker stop --time=1 7b7ab678a171e2e398fa6bfade64c696a00e0cf08a313bdeb2c6f250cb6f2d3d 12:14:23 $ docker rm -f 7b7ab678a171e2e398fa6bfade64c696a00e0cf08a313bdeb2c6f250cb6f2d3d [Pipeline] // withDockerContainer [Pipeline] sh 12:14:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:14:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:14:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:14:25 + ls -al . 12:14:25 total 168 12:14:25 drwxrwxr-x 9 jenkins jenkins 4096 May 5 12:14 . 12:14:25 drwxrwxr-x 4 jenkins jenkins 4096 May 5 12:13 .. 12:14:25 -rw-rw-r-- 1 jenkins jenkins 151 May 5 12:13 .dockerignore 12:14:25 drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:13 .git 12:14:25 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:13 .github 12:14:25 -rw-rw-r-- 1 jenkins jenkins 329 May 5 12:13 .gitignore 12:14:25 -rw-rw-r-- 1 jenkins jenkins 41 May 5 12:13 .golangci.yml 12:14:25 drwxr-xr-x 3 jenkins jenkins 4096 May 5 12:13 .semver 12:14:25 -rw-rw-r-- 1 jenkins jenkins 8463 May 5 12:13 Attribution.txt 12:14:25 -rw-rw-r-- 1 jenkins jenkins 7459 May 5 12:13 CHANGELOG.md 12:14:25 -rw-rw-r-- 1 jenkins jenkins 1672 May 5 12:13 Dockerfile 12:14:25 -rw-rw-r-- 1 jenkins jenkins 677 May 5 12:13 GOVERNANCE.md 12:14:25 -rw-rw-r-- 1 jenkins jenkins 680 May 5 12:13 Jenkinsfile 12:14:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 12:13 LICENSE 12:14:25 -rw-rw-r-- 1 jenkins jenkins 1977 May 5 12:13 Makefile 12:14:25 -rw-rw-r-- 1 jenkins jenkins 620 May 5 12:13 OWNERS.md 12:14:25 -rw-rw-r-- 1 jenkins jenkins 8082 May 5 12:13 README.md 12:14:25 -rw-rw-r-- 1 jenkins jenkins 5 May 5 12:13 VERSION 12:14:25 drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:13 bin 12:14:25 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:13 cmd 12:14:25 -rw-r--r-- 1 jenkins jenkins 9355 May 5 12:14 coverage.out 12:14:25 drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:13 driver 12:14:25 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 12:13 go.mod 12:14:25 -rw-rw-r-- 1 jenkins jenkins 35259 May 5 12:13 go.sum 12:14:25 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:13 snap 12:14:25 -rw-rw-r-- 1 jenkins jenkins 713 May 5 12:13 version.go [Pipeline] isUnix [Pipeline] sh 12:14: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=d81468cbaee3b4856f2e04919014d9c611962b7b --label arch=amd64 --label version=0.0.0 . 12:14:25 Sending build context to Docker daemon 10.62MB 12:14:25 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:14:25 Step 2/25 : FROM ${BASE} AS builder 12:14:25 ---> d564ec169084 12:14:25 Step 3/25 : ARG MAKE='make build' 12:14:25 ---> Running in f8aa43c5d76f 12:14:25 Removing intermediate container f8aa43c5d76f 12:14:25 ---> b164dc6000b0 12:14:25 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:14:25 ---> Running in a2364b0f907d 12:14:25 Removing intermediate container a2364b0f907d 12:14:25 ---> 6012a52e8080 12:14:25 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 12:14:25 ---> Running in f8f3cb86f6da 12:14:26 Removing intermediate container f8f3cb86f6da 12:14:26 ---> 840a9991e3d0 12:14:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:14:26 ---> Running in fdc37902a5bc 12:14:26 Removing intermediate container fdc37902a5bc 12:14:26 ---> a132f30594ff 12:14:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:14:26 ---> Running in d12ed8fbbc5c 12:14:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:14:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:14:28 OK: 224 MiB in 56 packages 12:14:28 Removing intermediate container d12ed8fbbc5c 12:14:28 ---> fa4232c7c92b 12:14:28 Step 8/25 : WORKDIR /device-rest-go 12:14:28 ---> Running in ed9db55fec08 12:14:28 Removing intermediate container ed9db55fec08 12:14:28 ---> 676667f17c31 12:14:28 Step 9/25 : COPY go.mod vendor* ./ 12:14:28 ---> a6b3ad5aedf1 12:14:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:14:28 ---> Running in 1ad9614513f7 12:14:29 Removing intermediate container 1ad9614513f7 12:14:29 ---> 4ea048ad3c40 12:14:29 Step 11/25 : COPY . . 12:14:29 ---> 9e0714c55adb 12:14:29 Step 12/25 : RUN $MAKE 12:14:29 ---> Running in 23170d40dbf5 12:14: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 12:14:52 Removing intermediate container 23170d40dbf5 12:14:52 ---> 2ee886076217 12:14:52 Step 13/25 : FROM alpine:3.14 12:14:52 3.14: Pulling from library/alpine 12:14:52 8663204ce13b: Pulling fs layer 12:14:52 8663204ce13b: Verifying Checksum 12:14:52 8663204ce13b: Download complete 12:14:52 8663204ce13b: Pull complete 12:14:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:14:52 Status: Downloaded newer image for alpine:3.14 12:14:52 ---> e04c818066af 12:14:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:14:52 ---> Running in 430dd320d17d 12:14:52 Removing intermediate container 430dd320d17d 12:14:52 ---> 61be262691af 12:14:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 12:14:52 ---> Running in 84095386f9f6 12:14:52 Removing intermediate container 84095386f9f6 12:14:52 ---> 177fd678c92b 12:14:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 12:14:52 ---> Running in 293dc522d1e0 12:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:14:52 (1/6) Installing dumb-init (1.2.5-r1) 12:14:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:14:52 (3/6) Installing libsodium (1.0.18-r0) 12:14:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:14:52 (5/6) Installing libzmq (4.3.4-r0) 12:14:52 (6/6) Installing zeromq (4.3.4-r0) 12:14:52 Executing busybox-1.33.1-r7.trigger 12:14:52 OK: 8 MiB in 20 packages 12:14:52 Removing intermediate container 293dc522d1e0 12:14:52 ---> ad4c7994c47b 12:14:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 12:14:52 ---> 52ef43be2378 12:14:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 12:14:52 ---> d80c0280e7a5 12:14:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 12:14:52 ---> 02b9e0260824 12:14:52 Step 20/25 : EXPOSE 59986 12:14:52 ---> Running in 041580f37e3e 12:14:52 Removing intermediate container 041580f37e3e 12:14:52 ---> 40d97ef68739 12:14:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 12:14:52 ---> Running in ac1ef380e09e 12:14:52 Removing intermediate container ac1ef380e09e 12:14:52 ---> 9edd964a894e 12:14:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:14:52 ---> Running in d0b84c59667e 12:14:52 Removing intermediate container d0b84c59667e 12:14:52 ---> 8b161956f623 12:14:52 Step 23/25 : LABEL arch=amd64 12:14:52 ---> Running in 010986aae518 12:14:52 Removing intermediate container 010986aae518 12:14:52 ---> b9b7d4842135 12:14:52 Step 24/25 : LABEL git_sha=d81468cbaee3b4856f2e04919014d9c611962b7b 12:14:52 ---> Running in f568e732207b 12:14:52 Removing intermediate container f568e732207b 12:14:52 ---> 5e1aeb3cf1b8 12:14:52 Step 25/25 : LABEL version=0.0.0 12:14:52 ---> Running in 6982ae48058b 12:14:52 Removing intermediate container 6982ae48058b 12:14:52 ---> c5b9697a0cee 12:14:52 [Warning] One or more build-args [ARCH] were not consumed 12:14:52 Successfully built c5b9697a0cee 12:14:52 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 12:14:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:14:53 12:14:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:14:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:14:53 latest: Pulling from edgex-lftools-log-publisher 12:14:53 5eb5b503b376: Pulling fs layer 12:14:53 5c69ac0246d0: Pulling fs layer 12:14:53 ec43610c2a17: Pulling fs layer 12:14:53 3a2ae6a8a46f: Pulling fs layer 12:14:53 33b1e0a273af: Pulling fs layer 12:14:53 5d3b04190fa2: Pulling fs layer 12:14:53 2f39f015ded8: Pulling fs layer 12:14:53 5d3b04190fa2: Waiting 12:14:53 2f39f015ded8: Waiting 12:14:53 33b1e0a273af: Waiting 12:14:53 3a2ae6a8a46f: Waiting 12:14:53 5c69ac0246d0: Download complete 12:14:53 3a2ae6a8a46f: Download complete 12:14:53 33b1e0a273af: Verifying Checksum 12:14:53 33b1e0a273af: Download complete 12:14:53 ec43610c2a17: Verifying Checksum 12:14:53 ec43610c2a17: Download complete 12:14:53 5d3b04190fa2: Verifying Checksum 12:14:53 5d3b04190fa2: Download complete 12:14:54 5eb5b503b376: Verifying Checksum 12:14:54 5eb5b503b376: Download complete 12:14:54 2f39f015ded8: Download complete 12:14:55 5eb5b503b376: Pull complete 12:14:55 5c69ac0246d0: Pull complete 12:14:55 ec43610c2a17: Pull complete 12:14:56 3a2ae6a8a46f: Pull complete 12:14:56 33b1e0a273af: Pull complete 12:14:56 5d3b04190fa2: Pull complete 12:15:00 2f39f015ded8: Pull complete 12:15:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:15:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:15:00 prd-ubuntu20.04-docker-8c-8g-40487 does not seem to be running inside a container 12:15:00 $ 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-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:15:02 $ docker top 248202eea4242705b0b127b26913c8dcf078fd2f29eac69e846ae3d088eba97e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:02 ---> job-cost.sh 12:15:03 lf-activate-venv: SKIPPING 12:15:03 INFO: No Stack... 12:15:03 INFO: Retrieving Pricing Info for: v3-standard-8 12:15:03 INFO: Archiving Costs [Pipeline] sh 12:15:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-184/archives/cost.csv 12:15:04 + cut -d, -f6 [Pipeline] lock 12:15:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-184-1-stack-cost] 12:15:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-184-1-stack-cost] did not exist. Created. 12:15:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-184-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:15:05 + echo total: 0.2199999988079071 [Pipeline] stash 12:15:05 Stashed 1 file(s) [Pipeline] } 12:15:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-184-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:15:05 $ docker stop --time=1 248202eea4242705b0b127b26913c8dcf078fd2f29eac69e846ae3d088eba97e 12:15:07 $ docker rm -f 248202eea4242705b0b127b26913c8dcf078fd2f29eac69e846ae3d088eba97e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:15:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40488 in /w/workspace/gexfoundry_device-rest-go_PR-184 [Pipeline] { [Pipeline] ws 12:15:20 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 12:15:20 The recommended git tool is: git 12:15:26 using credential edgex-jenkins-ssh 12:15:26 Cloning the remote Git repository 12:15:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 12:15:26 > git init /w/workspace/device-rest-go/1 # timeout=10 12:15:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 12:15:27 > git --version # timeout=10 12:15:27 > git --version # 'git version 2.25.1' 12:15:27 using GIT_SSH to set credentials SSH Credentials for GitHub 12:15:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:15:29 Merging remotes/origin/main commit f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit d81468cbaee3b4856f2e04919014d9c611962b7b 12:15:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 12:15:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:15:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 12:15:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 12:15:29 using GIT_SSH to set credentials SSH Credentials for GitHub 12:15:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:15:29 > git config core.sparsecheckout # timeout=10 12:15:29 > git checkout -f d81468cbaee3b4856f2e04919014d9c611962b7b # timeout=10 12:15:29 Merge succeeded, producing d81468cbaee3b4856f2e04919014d9c611962b7b 12:15:29 Checking out Revision d81468cbaee3b4856f2e04919014d9c611962b7b (PR-184) 12:15:29 > git remote # timeout=10 12:15:29 > git config --get remote.origin.url # timeout=10 12:15:29 using GIT_SSH to set credentials SSH Credentials for GitHub 12:15:29 > git merge f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 12:15:29 > git rev-parse HEAD^{commit} # timeout=10 12:15:29 > git config core.sparsecheckout # timeout=10 12:15:29 > git checkout -f d81468cbaee3b4856f2e04919014d9c611962b7b # timeout=10 12:15:34 Commit message: "docs: cleanup references" 12:15:34 > git --version # timeout=10 12:15:34 > git --version # 'git version 2.25.1' 12:15:34 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:15:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:15:35 % Total % Received % Xferd Average Speed Time Time Time Current 12:15:35 Dload Upload Total Spent Left Speed 12:15:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh 12:15:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:15:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:15:36 + sudo tee /etc/docker/daemon.new 12:15:36 { 12:15:36 "registry-mirrors": [ 12:15:36 "https://nexus3.edgexfoundry.org:10001" 12:15:36 ], 12:15:36 "bip": "10.250.0.254/24", 12:15:36 "hosts": [ 12:15:36 "tcp://0.0.0.0:5555", 12:15:36 "unix:///var/run/docker.sock" 12:15:36 ], 12:15:36 "mtu": 1458, 12:15:36 "selinux-enabled": true, 12:15:36 "seccomp-profile": "/etc/docker/seccomp.json" 12:15:36 } [Pipeline] sh 12:15:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:15:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:56 provisioning config files... 12:15:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1157410302321600653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:57 ---> docker-login.sh 12:15:57 nexus3.edgexfoundry.org:10001 12:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:57 Configure a credential helper to remove this warning. See 12:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:57 12:15:57 Login Succeeded 12:15:57 nexus3.edgexfoundry.org:10002 12:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:58 Configure a credential helper to remove this warning. See 12:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:58 12:15:58 Login Succeeded 12:15:58 nexus3.edgexfoundry.org:10003 12:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:58 Configure a credential helper to remove this warning. See 12:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:58 12:15:58 Login Succeeded 12:15:58 nexus3.edgexfoundry.org:10004 12:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:59 Configure a credential helper to remove this warning. See 12:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:59 12:15:59 Login Succeeded 12:15:59 docker.io 12:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:00 Configure a credential helper to remove this warning. See 12:16:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:00 12:16:00 Login Succeeded 12:16:00 ---> docker-login.sh ends [Pipeline] } 12:16:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:16:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:16:00 ========================================================= 12:16:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:16:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:16:01 + 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:16:01 Sending build context to Docker daemon 124.4kB 12:16:01 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:16:01 Step 2/12 : FROM ${BASE} AS builder 12:16:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:16:01 9b3977197b4f: Pulling fs layer 12:16:01 1a89e8eeedd5: Pulling fs layer 12:16:01 94645a83ff95: Pulling fs layer 12:16:01 3f3a8bcf1eab: Pulling fs layer 12:16:01 0c92f367c5e7: Pulling fs layer 12:16:01 3096ccb668a1: Pulling fs layer 12:16:01 e8cf19c19ddd: Pulling fs layer 12:16:01 a4caa8a26152: Pulling fs layer 12:16:01 3096ccb668a1: Waiting 12:16:01 3f3a8bcf1eab: Waiting 12:16:01 0c92f367c5e7: Waiting 12:16:01 e8cf19c19ddd: Waiting 12:16:01 a4caa8a26152: Waiting 12:16:01 94645a83ff95: Verifying Checksum 12:16:01 94645a83ff95: Download complete 12:16:01 1a89e8eeedd5: Verifying Checksum 12:16:01 1a89e8eeedd5: Download complete 12:16:01 0c92f367c5e7: Verifying Checksum 12:16:01 0c92f367c5e7: Download complete 12:16:01 3096ccb668a1: Verifying Checksum 12:16:01 3096ccb668a1: Download complete 12:16:01 9b3977197b4f: Verifying Checksum 12:16:01 9b3977197b4f: Download complete 12:16:01 e8cf19c19ddd: Verifying Checksum 12:16:01 e8cf19c19ddd: Download complete 12:16:02 9b3977197b4f: Pull complete 12:16:02 1a89e8eeedd5: Pull complete 12:16:03 94645a83ff95: Pull complete 12:16:03 a4caa8a26152: Download complete 12:16:04 3f3a8bcf1eab: Verifying Checksum 12:16:04 3f3a8bcf1eab: Download complete 12:16:16 3f3a8bcf1eab: Pull complete 12:16:16 0c92f367c5e7: Pull complete 12:16:16 3096ccb668a1: Pull complete 12:16:16 e8cf19c19ddd: Pull complete 12:16:23 a4caa8a26152: Pull complete 12:16:23 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:16:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:16:23 ---> 725f1c02e7f9 12:16:23 Step 3/12 : ARG MAKE='make build' 12:16:23 ---> Running in 0c99d7d17903 12:16:24 Removing intermediate container 0c99d7d17903 12:16:24 ---> e36fd0fac844 12:16:24 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:16:24 ---> Running in 97fd2be1b8d7 12:16:24 Removing intermediate container 97fd2be1b8d7 12:16:24 ---> c41a047cd323 12:16:24 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:16:24 ---> Running in 666b44ef0d72 12:16:24 Removing intermediate container 666b44ef0d72 12:16:24 ---> fefcdd5e0ad3 12:16:24 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:16:24 ---> Running in bb9b772b3b7d 12:16:27 Removing intermediate container bb9b772b3b7d 12:16:27 ---> 78c8205b1a93 12:16:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:16:27 ---> Running in 69ae23aed561 12:16:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:16:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:16:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:16:30 (2/4) Installing libedit (20210910.3.1-r0) 12:16:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:16:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:16:30 Executing busybox-1.34.1-r3.trigger 12:16:30 OK: 224 MiB in 56 packages 12:16:31 Removing intermediate container 69ae23aed561 12:16:31 ---> f59b9078079f 12:16:31 Step 8/12 : WORKDIR /device-rest-go 12:16:31 ---> Running in ea5025e58d46 12:16:32 Removing intermediate container ea5025e58d46 12:16:32 ---> 54b9b119a5d9 12:16:32 Step 9/12 : COPY go.mod vendor* ./ 12:16:32 ---> d09ac0529ea7 12:16:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:16:32 ---> Running in d4ee3bce3168 12:17:19 Removing intermediate container d4ee3bce3168 12:17:19 ---> 75a1a1677d0b 12:17:19 Step 11/12 : COPY . . 12:17:19 ---> 5a296a79430f 12:17:19 Step 12/12 : RUN $MAKE 12:17:19 ---> Running in 731e50469a68 12:17:19 noop 12:17:19 Removing intermediate container 731e50469a68 12:17:19 ---> b5b5986c528e 12:17:19 Successfully built b5b5986c528e 12:17:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:17:20 + docker inspect -f . ci-base-image-arm64 12:17:20 . [Pipeline] withDockerContainer 12:17:20 prd-ubuntu20.04-docker-arm64-4c-16g-40488 does not seem to be running inside a container 12:17:20 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:17:21 $ docker top 3066bd590c8bb8f2d222f82cc37003e5a771fe3ba28e7f383d06ea03ef3b20f0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:17:22 + go version 12:17:22 go version go1.17.6 linux/arm64 [Pipeline] } 12:17:22 $ docker stop --time=1 3066bd590c8bb8f2d222f82cc37003e5a771fe3ba28e7f383d06ea03ef3b20f0 12:17:24 $ docker rm -f 3066bd590c8bb8f2d222f82cc37003e5a771fe3ba28e7f383d06ea03ef3b20f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:17:25 + docker inspect -f . ci-base-image-arm64 12:17:25 . [Pipeline] withDockerContainer 12:17:25 prd-ubuntu20.04-docker-arm64-4c-16g-40488 does not seem to be running inside a container 12:17:25 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:17:26 $ docker top ddba884ea0d2bb1412697ba632a6428bec35170fb8899408ea061e260174883e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:17:27 + make test 12:17:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:17:29 ? github.com/edgexfoundry/device-rest-go [no test files] 12:18:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 12:18:51 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements 12:18:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:18:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:19:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:19:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:19:13 ./bin/test-attribution-txt.sh [Pipeline] echo 12:19:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:19:14 $ docker stop --time=1 ddba884ea0d2bb1412697ba632a6428bec35170fb8899408ea061e260174883e 12:19:16 $ docker rm -f ddba884ea0d2bb1412697ba632a6428bec35170fb8899408ea061e260174883e [Pipeline] // withDockerContainer [Pipeline] sh 12:19:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:19:17 Warning: overwriting stash ‘coverage-report’ 12:19:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:19:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:19:18 + ls -al . 12:19:18 total 164 12:19:18 drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:19 . 12:19:18 drwxrwxr-x 4 jenkins jenkins 4096 May 5 12:15 .. 12:19:18 -rw-rw-r-- 1 jenkins jenkins 151 May 5 12:15 .dockerignore 12:19:18 drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:15 .git 12:19:18 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:15 .github 12:19:18 -rw-rw-r-- 1 jenkins jenkins 329 May 5 12:15 .gitignore 12:19:18 -rw-rw-r-- 1 jenkins jenkins 41 May 5 12:15 .golangci.yml 12:19:18 -rw-rw-r-- 1 jenkins jenkins 8463 May 5 12:15 Attribution.txt 12:19:18 -rw-rw-r-- 1 jenkins jenkins 7459 May 5 12:15 CHANGELOG.md 12:19:18 -rw-rw-r-- 1 jenkins jenkins 1672 May 5 12:15 Dockerfile 12:19:18 -rw-rw-r-- 1 jenkins jenkins 677 May 5 12:15 GOVERNANCE.md 12:19:18 -rw-rw-r-- 1 jenkins jenkins 680 May 5 12:15 Jenkinsfile 12:19:18 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 12:15 LICENSE 12:19:18 -rw-rw-r-- 1 jenkins jenkins 1977 May 5 12:15 Makefile 12:19:18 -rw-rw-r-- 1 jenkins jenkins 620 May 5 12:15 OWNERS.md 12:19:18 -rw-rw-r-- 1 jenkins jenkins 8082 May 5 12:15 README.md 12:19:18 -rw-rw-r-- 1 jenkins jenkins 5 May 5 12:13 VERSION 12:19:18 drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:15 bin 12:19:18 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:15 cmd 12:19:18 -rw-r--r-- 1 jenkins jenkins 9355 May 5 12:18 coverage.out 12:19:18 drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:15 driver 12:19:18 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 12:15 go.mod 12:19:18 -rw-rw-r-- 1 jenkins jenkins 35259 May 5 12:15 go.sum 12:19:18 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:15 snap 12:19:18 -rw-rw-r-- 1 jenkins jenkins 713 May 5 12:15 version.go [Pipeline] isUnix [Pipeline] sh 12:19:19 + 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=d81468cbaee3b4856f2e04919014d9c611962b7b --label arch=arm64 --label version=0.0.0 . 12:19:19 Sending build context to Docker daemon 134.7kB 12:19:19 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:19:19 Step 2/25 : FROM ${BASE} AS builder 12:19:19 ---> b5b5986c528e 12:19:19 Step 3/25 : ARG MAKE='make build' 12:19:19 ---> Running in 5742c7bf2731 12:19:19 Removing intermediate container 5742c7bf2731 12:19:19 ---> 64fb20050718 12:19:19 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:19:19 ---> Running in f981225f2eec 12:19:20 Removing intermediate container f981225f2eec 12:19:20 ---> 5e5e404c0e81 12:19:20 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 12:19:20 ---> Running in 2f686b1c3194 12:19:20 Removing intermediate container 2f686b1c3194 12:19:20 ---> c0cfaefb641c 12:19:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:19:20 ---> Running in 38e2c5fed525 12:19:22 Removing intermediate container 38e2c5fed525 12:19:22 ---> 631f5719d0da 12:19:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:19:22 ---> Running in 11703921f243 12:19:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:19:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:19:25 OK: 224 MiB in 56 packages 12:19:25 Removing intermediate container 11703921f243 12:19:25 ---> 230701cb379c 12:19:25 Step 8/25 : WORKDIR /device-rest-go 12:19:25 ---> Running in f0dbb2da569e 12:19:26 Removing intermediate container f0dbb2da569e 12:19:26 ---> 909a1754f994 12:19:26 Step 9/25 : COPY go.mod vendor* ./ 12:19:26 ---> 334cd131153f 12:19:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:19:26 ---> Running in fc2649bb52f8 12:19:28 Removing intermediate container fc2649bb52f8 12:19:28 ---> 73644c92a844 12:19:28 Step 11/25 : COPY . . 12:19:29 ---> 6e286346a1af 12:19:29 Step 12/25 : RUN $MAKE 12:19:29 ---> Running in 3b3d9e4f0509 12:19: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 12:21:37 Removing intermediate container 3b3d9e4f0509 12:21:37 ---> a8ba70e6844e 12:21:37 Step 13/25 : FROM alpine:3.14 12:21:37 3.14: Pulling from library/alpine 12:21:37 455c02918c45: Pulling fs layer 12:21:37 455c02918c45: Download complete 12:21:37 455c02918c45: Pull complete 12:21:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:21:37 Status: Downloaded newer image for alpine:3.14 12:21:37 ---> ac73e934f311 12:21:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:21:37 ---> Running in ecb655af90de 12:21:37 Removing intermediate container ecb655af90de 12:21:37 ---> fd7d0a3fa05d 12:21:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 12:21:37 ---> Running in b58c69032a7f 12:21:37 Removing intermediate container b58c69032a7f 12:21:37 ---> 4721d28836fd 12:21:37 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 12:21:37 ---> Running in c672be4b7485 12:21:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:21:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:21:37 (1/6) Installing dumb-init (1.2.5-r1) 12:21:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:21:37 (3/6) Installing libsodium (1.0.18-r0) 12:21:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:21:37 (5/6) Installing libzmq (4.3.4-r0) 12:21:37 (6/6) Installing zeromq (4.3.4-r0) 12:21:37 Executing busybox-1.33.1-r7.trigger 12:21:37 OK: 8 MiB in 20 packages 12:21:37 Removing intermediate container c672be4b7485 12:21:37 ---> 45c6f1c3dc17 12:21:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 12:21:37 ---> 9c2f314deeee 12:21:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 12:21:37 ---> 8a361f13bd6f 12:21:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 12:21:37 ---> 6a1456171e05 12:21:37 Step 20/25 : EXPOSE 59986 12:21:37 ---> Running in 48897722c5b2 12:21:37 Removing intermediate container 48897722c5b2 12:21:37 ---> 879915ab56cc 12:21:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 12:21:37 ---> Running in 7e1670e05e44 12:21:37 Removing intermediate container 7e1670e05e44 12:21:37 ---> c25903a463d6 12:21:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:21:37 ---> Running in aa90ffc4db40 12:21:37 Removing intermediate container aa90ffc4db40 12:21:37 ---> 0064986588ab 12:21:37 Step 23/25 : LABEL arch=arm64 12:21:37 ---> Running in 0172683477fc 12:21:37 Removing intermediate container 0172683477fc 12:21:37 ---> f3ae4da2f256 12:21:37 Step 24/25 : LABEL git_sha=d81468cbaee3b4856f2e04919014d9c611962b7b 12:21:37 ---> Running in 48a8f4239882 12:21:37 Removing intermediate container 48a8f4239882 12:21:37 ---> 1708f1228436 12:21:37 Step 25/25 : LABEL version=0.0.0 12:21:37 ---> Running in 742f0438861a 12:21:37 Removing intermediate container 742f0438861a 12:21:37 ---> e2d8be211fd3 12:21:37 [Warning] One or more build-args [ARCH] were not consumed 12:21:37 Successfully built e2d8be211fd3 12:21:37 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:21:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:37 12:21:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:21:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:38 arm64: Pulling from edgex-lftools-log-publisher 12:21:38 8998bd30e6a1: Pulling fs layer 12:21:38 04944245beec: Pulling fs layer 12:21:38 699f458cf7ca: Pulling fs layer 12:21:38 765212b225bb: Pulling fs layer 12:21:38 f23df028b6ca: Pulling fs layer 12:21:38 d65c8cfc05b1: Pulling fs layer 12:21:38 2437ff75d9bd: Pulling fs layer 12:21:38 765212b225bb: Waiting 12:21:38 d65c8cfc05b1: Waiting 12:21:38 2437ff75d9bd: Waiting 12:21:38 f23df028b6ca: Waiting 12:21:38 04944245beec: Verifying Checksum 12:21:38 04944245beec: Download complete 12:21:38 765212b225bb: Verifying Checksum 12:21:38 765212b225bb: Download complete 12:21:38 f23df028b6ca: Verifying Checksum 12:21:38 f23df028b6ca: Download complete 12:21:38 d65c8cfc05b1: Verifying Checksum 12:21:38 d65c8cfc05b1: Download complete 12:21:38 699f458cf7ca: Verifying Checksum 12:21:38 699f458cf7ca: Download complete 12:21:39 8998bd30e6a1: Verifying Checksum 12:21:39 8998bd30e6a1: Download complete 12:21:41 2437ff75d9bd: Verifying Checksum 12:21:41 2437ff75d9bd: Download complete 12:21:43 8998bd30e6a1: Pull complete 12:21:43 04944245beec: Pull complete 12:21:45 699f458cf7ca: Pull complete 12:21:45 765212b225bb: Pull complete 12:21:46 f23df028b6ca: Pull complete 12:21:46 d65c8cfc05b1: Pull complete 12:22:01 2437ff75d9bd: Pull complete 12:22:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:22:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:22:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:22:01 prd-ubuntu20.04-docker-arm64-4c-16g-40488 does not seem to be running inside a container 12:22:01 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:22:04 $ docker top eb10e26dcee52bba5df601ee8bc164ec9c8904291c7dd5254041e86e4daad044 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:22:05 ---> job-cost.sh 12:22:05 lf-activate-venv: SKIPPING 12:22:05 INFO: No Stack... 12:22:05 INFO: Retrieving Pricing Info for: v3-standard-4 12:22:06 INFO: Archiving Costs [Pipeline] sh 12:22:07 + cat /w/workspace/device-rest-go/1/archives/cost.csv 12:22:07 + cut -d, -f6 [Pipeline] lock 12:22:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-184-1-stack-cost] 12:22:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-184-1-stack-cost] did not exist. Created. 12:22:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-184-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:22:08 /w/workspace/device-rest-go/1@tmp/durable-62077118/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:22:09 + echo total: 0.10999999940395355 [Pipeline] stash 12:22:09 Warning: overwriting stash ‘stack-cost’ 12:22:09 Stashed 1 file(s) [Pipeline] } 12:22:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-184-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:22:09 $ docker stop --time=1 eb10e26dcee52bba5df601ee8bc164ec9c8904291c7dd5254041e86e4daad044 12:22:10 $ docker rm -f eb10e26dcee52bba5df601ee8bc164ec9c8904291c7dd5254041e86e4daad044 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:22:11 provisioning config files... 12:22:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config825625569391417956tmp [Pipeline] { [Pipeline] sh 12:22:12 + set +x 12:22:12 + curl -s https://codecov.io/bash 12:22:12 + bash -s -- 12:22:12 12:22:12 _____ _ 12:22:12 / ____| | | 12:22:12 | | ___ __| | ___ ___ _____ __ 12:22:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:22:12 | |___| (_) | (_| | __/ (_| (_) \ V / 12:22:12 \_____\___/ \__,_|\___|\___\___/ \_/ 12:22:12 Bash-1.0.6 12:22:12 12:22:12 12:22:12 ==> git version 2.25.1 found 12:22:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:22:12 Release-Date: 2020-01-08 12:22:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:22:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:22:12 ==> Jenkins CI detected. 12:22:12 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-184 12:22:12 project root: . 12:22:12 --> token set from env 12:22:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:22:12 ==> Running gcov in . (disable via -X gcov) 12:22:12 ==> Python coveragepy not found 12:22:12 ==> Searching for coverage reports in: 12:22:12 + . 12:22:12 -> Found 1 reports 12:22:12 ==> Detecting git/mercurial file structure 12:22:12 ==> Reading reports 12:22:12 + ./coverage.out bytes=9355 12:22:12 ==> Appending adjustments 12:22:12 https://docs.codecov.io/docs/fixing-reports 12:22:12 + Found adjustments 12:22:12 ==> Gzipping contents 12:22:12 4.0K /tmp/codecov.aH28WP.gz 12:22:12 ==> Uploading reports 12:22:12 url: https://codecov.io 12:22:12 query: branch=PR-184&commit=d81468cbaee3b4856f2e04919014d9c611962b7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=184&job=&cmd_args= 12:22:12 -> Pinging Codecov 12:22:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-184&commit=d81468cbaee3b4856f2e04919014d9c611962b7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=184&job=&cmd_args= 12:22:12 -> Uploading to 12:22:12 https://storage.googleapis.com/codecov/v4/raw/2022-05-05/4E5D53B4F1F92C436F7061BF334D961C/d81468cbaee3b4856f2e04919014d9c611962b7b/b01f0234-0357-4323-b058-bcf22434d3b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220505T122212Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0a8253b36730796432813c136e2e2c6818ebd8ff0291a81b3d798903639f9d6 12:22:12 % Total % Received % Xferd Average Speed Time Time Time Current 12:22:12 Dload Upload Total Spent Left Speed 12:22:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7751 --:--:-- --:--:-- --:--:-- 7751 12:22:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d81468cbaee3b4856f2e04919014d9c611962b7b [Pipeline] } 12:22:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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:22:15 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-184/archives ] 12:22:15 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-184/archives 12:22:15 total 16 12:22:15 drwxr-xr-x 3 root root 4096 May 5 12:15 . 12:22:15 drwxrwxr-x 10 jenkins jenkins 4096 May 5 12:15 .. 12:22:15 drwxr-xr-x 2 root root 4096 May 5 12:15 cost 12:22:15 -rw-r--r-- 1 root root 85 May 5 12:15 cost.csv 12:22:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-184/archives 12:22:15 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-184/archives 12:22:15 total 16 12:22:15 drwxr-xr-x 3 jenkins jenkins 4096 May 5 12:15 . 12:22:15 drwxrwxr-x 10 jenkins jenkins 4096 May 5 12:15 .. 12:22:15 drwxr-xr-x 2 jenkins jenkins 4096 May 5 12:15 cost 12:22:15 -rw-r--r-- 1 jenkins jenkins 85 May 5 12:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:22:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:22:16 ---> package-listing.sh 12:22:16 ++ facter osfamily 12:22:16 ++ tr '[:upper:]' '[:lower:]' 12:22:16 + OS_FAMILY=debian 12:22:16 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-184 12:22:16 + START_PACKAGES=/tmp/packages_start.txt 12:22:16 + END_PACKAGES=/tmp/packages_end.txt 12:22:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:22:16 + PACKAGES=/tmp/packages_start.txt 12:22:16 + '[' /w/workspace/gexfoundry_device-rest-go_PR-184 ']' 12:22:16 + PACKAGES=/tmp/packages_end.txt 12:22:16 + case "${OS_FAMILY}" in 12:22:16 + dpkg -l 12:22:16 + grep '^ii' 12:22:16 + '[' -f /tmp/packages_start.txt ']' 12:22:16 + '[' -f /tmp/packages_end.txt ']' 12:22:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:22:16 + '[' /w/workspace/gexfoundry_device-rest-go_PR-184 ']' 12:22:16 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-184/archives/ 12:22:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-184/archives/ [Pipeline] echo 12:22:16 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:22:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:22:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:22:17 . [Pipeline] withDockerContainer 12:22:17 prd-ubuntu20.04-docker-8c-8g-40487 does not seem to be running inside a container 12:22:17 $ 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-184/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-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:22:17 $ docker top ba0e28f6bb580d63f06430bda4e0e5ce73354c2585a978d6070cf03d7c340d78 -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:18 + touch /tmp/pre-build-complete [Pipeline] sh 12:22:18 + mkdir -p /var/log/sysstat [Pipeline] sh 12:22:18 + ls /var/log/sa-host 12:22:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:19 provisioning config files... 12:22:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config5265115601526477355tmp [Pipeline] { [Pipeline] echo 12:22:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:22:19 ---> create-netrc.sh [Pipeline] } 12:22:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:22:20 ---> python-tools-install.sh [Pipeline] echo 12:22:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:22:20 ---> sudo-logs.sh 12:22:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:22:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:22:20 ---> job-cost.sh 12:22:20 lf-activate-venv: SKIPPING 12:22:20 DEBUG: total: 0.2199999988079071 12:22:20 INFO: Retrieving Stack Cost... 12:22:21 INFO: Retrieving Pricing Info for: v3-standard-8 12:22:21 INFO: Archiving Costs [Pipeline] echo 12:22:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:22:22 ---> logs-deploy.sh 12:22:22 lf-activate-venv: SKIPPING 12:22:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-184/1 12:22:22 INFO: archiving workspace using pattern(s): 12:22:23 Archives upload complete. 12:22:23 INFO: archiving logs to Nexus