Pull request #186 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7cae7b1f58b74971914cd61c53ee135eddaf8249+4edc8d2690683859fe7dd7f6313ce2addb447006 (4dba0940dcc5eeb81636e9c181630bd7016f846c) 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-ssh12983376678815500991.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-ssh6345768261977617277.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-186/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-186/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17509732769917428208.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 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-ssh7992974192123943703.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-186/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-186/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18322732871042181192.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-45614 in /w/workspace/gexfoundry_device-rest-go_PR-186 [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-186 # 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 4edc8d2690683859fe7dd7f6313ce2addb447006 into PR head commit 7cae7b1f58b74971914cd61c53ee135eddaf8249 Merge succeeded, producing 7cae7b1f58b74971914cd61c53ee135eddaf8249 Checking out Revision 7cae7b1f58b74971914cd61c53ee135eddaf8249 (PR-186) > 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/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # 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 4edc8d2690683859fe7dd7f6313ce2addb447006 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk 4cb71774a2d5d5cadafac4e4038bfd054c067146 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:04:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:04:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:04:04 ========================================================= 07:04:04 EdgeX Global Pipelines Version Info 07:04:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:04:04 ------------------- 07:04:04 stable info: 07:04:04 ------------------- 07:04:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:04:04 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 07:04:04 Message: update stable to v1.0.227 07:04:05 ------------------- 07:04:05 experimental info: 07:04:05 ------------------- 07:04:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:04:05 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 07:04:05 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:04:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:04:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:04:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo 07:04:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo 07:04:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo 07:04:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] echo 07:04:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cae7b1 [Pipeline] echo 07:04:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:04:06 provisioning config files... 07:04:06 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config3926311653854334674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:06 ---> docker-login.sh 07:04:06 nexus3.edgexfoundry.org:10001 07:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:07 Configure a credential helper to remove this warning. See 07:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:07 07:04:07 Login Succeeded 07:04:07 nexus3.edgexfoundry.org:10002 07:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:07 Configure a credential helper to remove this warning. See 07:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:07 07:04:07 Login Succeeded 07:04:07 nexus3.edgexfoundry.org:10003 07:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:07 Configure a credential helper to remove this warning. See 07:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:07 07:04:07 Login Succeeded 07:04:07 nexus3.edgexfoundry.org:10004 07:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:07 Configure a credential helper to remove this warning. See 07:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:07 07:04:07 Login Succeeded 07:04:07 docker.io 07:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:07 Configure a credential helper to remove this warning. See 07:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:07 07:04:07 Login Succeeded 07:04:07 ---> docker-login.sh ends [Pipeline] } 07:04:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:04:08 + git rev-list -1 --merges 7cae7b1f58b74971914cd61c53ee135eddaf8249~1..7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] echo 07:04:08 -----------> git rev-list -1 --merges 7cae7b1f58b74971914cd61c53ee135eddaf8249~1..7cae7b1f58b74971914cd61c53ee135eddaf8249 7cae7b1f58b74971914cd61c53ee135eddaf8249 [false] [Pipeline] sh 07:04:08 + git log --format=format:%s -1 7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] echo 07:04:08 ========================================================= 07:04:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:04:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:08 + git log --format=format:%s -1 7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] echo 07:04:08 [semverPrep] GIT_COMMIT: 7cae7b1f58b74971914cd61c53ee135eddaf8249, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 07:04:08 [semverPrep] This is not a build commit. [Pipeline] sh 07:04:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:04:09 + grep -v github /etc/ssh/ssh_known_hosts 07:04:09 + [ -e /tmp/ssh_known_hosts ] 07:04:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:04:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:04:09 + sudo tee -a /etc/ssh/ssh_known_hosts 07:04:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:04:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:04:09 07:04:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:04:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:04:09 latest: Pulling from edgex-devops/py-git-semver 07:04:09 1fe172e4850f: Pulling fs layer 07:04:09 caf521ccaac6: Pulling fs layer 07:04:09 3ead6fa29328: Pulling fs layer 07:04:09 5c2a1cbceb83: Pulling fs layer 07:04:09 a8d5f1318db7: Pulling fs layer 07:04:09 c427282e49a2: Pulling fs layer 07:04:09 1827001aaf11: Pulling fs layer 07:04:09 0714d37db230: Pulling fs layer 07:04:09 ac28cf19c067: Pulling fs layer 07:04:09 ca983d60f3e2: Pulling fs layer 07:04:09 9f894cec8388: Pulling fs layer 07:04:09 5c2a1cbceb83: Waiting 07:04:09 a8d5f1318db7: Waiting 07:04:09 0714d37db230: Waiting 07:04:09 ac28cf19c067: Waiting 07:04:09 1827001aaf11: Waiting 07:04:09 ca983d60f3e2: Waiting 07:04:09 9f894cec8388: Waiting 07:04:09 c427282e49a2: Waiting 07:04:09 caf521ccaac6: Download complete 07:04:09 5c2a1cbceb83: Verifying Checksum 07:04:09 5c2a1cbceb83: Download complete 07:04:10 a8d5f1318db7: Verifying Checksum 07:04:10 a8d5f1318db7: Download complete 07:04:10 3ead6fa29328: Verifying Checksum 07:04:10 3ead6fa29328: Download complete 07:04:10 c427282e49a2: Verifying Checksum 07:04:10 c427282e49a2: Download complete 07:04:10 0714d37db230: Verifying Checksum 07:04:10 0714d37db230: Download complete 07:04:10 ac28cf19c067: Verifying Checksum 07:04:10 ac28cf19c067: Download complete 07:04:10 ca983d60f3e2: Verifying Checksum 07:04:10 ca983d60f3e2: Download complete 07:04:10 9f894cec8388: Verifying Checksum 07:04:10 9f894cec8388: Download complete 07:04:10 1fe172e4850f: Verifying Checksum 07:04:10 1fe172e4850f: Download complete 07:04:10 1827001aaf11: Verifying Checksum 07:04:10 1827001aaf11: Download complete 07:04:11 1fe172e4850f: Pull complete 07:04:11 caf521ccaac6: Pull complete 07:04:12 3ead6fa29328: Pull complete 07:04:12 5c2a1cbceb83: Pull complete 07:04:12 a8d5f1318db7: Pull complete 07:04:12 c427282e49a2: Pull complete 07:04:14 1827001aaf11: Pull complete 07:04:14 0714d37db230: Pull complete 07:04:15 ac28cf19c067: Pull complete 07:04:15 ca983d60f3e2: Pull complete 07:04:15 9f894cec8388: Pull complete 07:04:15 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 07:04:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:04:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 07:04:15 prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container 07:04:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:04:17 $ docker top 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 -eo pid,comm 07:04:17 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). 07:04:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:04:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:04:17 [ssh-agent] Looking for ssh-agent implementation... 07:04:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:04:17 $ docker exec 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 ssh-agent 07:04:17 SSH_AUTH_SOCK=/tmp/ssh-CKew0GlXAtCC/agent.32 07:04:17 SSH_AGENT_PID=38 07:04:17 Running ssh-add (command line suppressed) 07:04:18 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_3595286315323391041.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_3595286315323391041.key) 07:04:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:04:18 + git tag --points-at HEAD [Pipeline] } 07:04:18 $ docker exec --env ******** --env ******** 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 ssh-agent -k 07:04:18 unset SSH_AUTH_SOCK; 07:04:18 unset SSH_AGENT_PID; 07:04:18 echo Agent pid 38 killed; 07:04:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:04:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:04:18 [ssh-agent] Looking for ssh-agent implementation... 07:04:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:04:18 $ docker exec 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 ssh-agent 07:04:18 SSH_AUTH_SOCK=/tmp/ssh-qLNR5y4Oqzt5/agent.71 07:04:18 SSH_AGENT_PID=78 07:04:18 Running ssh-add (command line suppressed) 07:04:18 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_6256061588764495599.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_6256061588764495599.key) 07:04:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:04:19 + git semver init 07:04:19 2022-05-10 07:04:19,523 [run_init] DEBUG init version:0.0.0 force:False 07:04:19 2022-05-10 07:04:19,524 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver 07:04:19 2022-05-10 07:04:19,524 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-186/.semver 07:04:19 2022-05-10 07:04:19,524 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-186/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186, universal_newlines=False, shell=None, istream=None) 07:04:20 2022-05-10 07:04:20,557 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.git/info/exclude 07:04:20 2022-05-10 07:04:20,558 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 with force:False 07:04:20 2022-05-10 07:04:20,558 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 07:04:20 2022-05-10 07:04:20,563 [execute] INFO git cat-file --batch-check 07:04:20 2022-05-10 07:04:20,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) 07:04:20 2022-05-10 07:04:20,571 [execute] INFO git cat-file --batch 07:04:20 2022-05-10 07:04:20,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) 07:04:20 2022-05-10 07:04:20,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 07:04:20 0.0.0 [Pipeline] } 07:04:20 $ docker exec --env ******** --env ******** 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 ssh-agent -k 07:04:21 unset SSH_AUTH_SOCK; 07:04:21 unset SSH_AGENT_PID; 07:04:21 echo Agent pid 78 killed; 07:04:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:04:21 + git semver [Pipeline] } 07:04:21 $ docker stop --time=1 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 07:04:22 $ docker rm -f 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 [Pipeline] // withDockerContainer [Pipeline] sh 07:04:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:04:23 Stashed 1 file(s) [Pipeline] echo 07:04:23 [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 07:04:23 provisioning config files... 07:04:23 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config5219430093977922720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:24 ---> docker-login.sh 07:04:24 nexus3.edgexfoundry.org:10001 07:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:24 Configure a credential helper to remove this warning. See 07:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:24 07:04:24 Login Succeeded 07:04:24 nexus3.edgexfoundry.org:10002 07:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:24 Configure a credential helper to remove this warning. See 07:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:24 07:04:24 Login Succeeded 07:04:24 nexus3.edgexfoundry.org:10003 07:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:24 Configure a credential helper to remove this warning. See 07:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:24 07:04:24 Login Succeeded 07:04:24 nexus3.edgexfoundry.org:10004 07:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:24 Configure a credential helper to remove this warning. See 07:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:24 07:04:24 Login Succeeded 07:04:24 docker.io 07:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:24 Configure a credential helper to remove this warning. See 07:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:24 07:04:24 Login Succeeded 07:04:24 ---> docker-login.sh ends [Pipeline] } 07:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:04:25 ========================================================= 07:04:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:04:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:04:25 + 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 . 07:04:25 Sending build context to Docker daemon 10.62MB 07:04:25 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:04:25 Step 2/12 : FROM ${BASE} AS builder 07:04:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:04:25 59bf1c3509f3: Pulling fs layer 07:04:25 666ba61612fd: Pulling fs layer 07:04:25 8ed8ca486205: Pulling fs layer 07:04:25 4fe6c5a15a65: Pulling fs layer 07:04:25 22a0e8bec74d: Pulling fs layer 07:04:25 ca2b28591e48: Pulling fs layer 07:04:25 a51346096db8: Pulling fs layer 07:04:25 daebc70d1ce1: Pulling fs layer 07:04:25 0e18a0eac166: Pulling fs layer 07:04:25 a51346096db8: Waiting 07:04:25 daebc70d1ce1: Waiting 07:04:25 0e18a0eac166: Waiting 07:04:25 22a0e8bec74d: Waiting 07:04:25 ca2b28591e48: Waiting 07:04:25 8ed8ca486205: Verifying Checksum 07:04:25 8ed8ca486205: Download complete 07:04:25 666ba61612fd: Download complete 07:04:25 22a0e8bec74d: Verifying Checksum 07:04:25 22a0e8bec74d: Download complete 07:04:25 ca2b28591e48: Verifying Checksum 07:04:25 ca2b28591e48: Download complete 07:04:25 a51346096db8: Verifying Checksum 07:04:25 a51346096db8: Download complete 07:04:25 59bf1c3509f3: Download complete 07:04:25 daebc70d1ce1: Verifying Checksum 07:04:25 daebc70d1ce1: Download complete 07:04:25 59bf1c3509f3: Pull complete 07:04:25 666ba61612fd: Pull complete 07:04:25 8ed8ca486205: Pull complete 07:04:26 0e18a0eac166: Verifying Checksum 07:04:26 0e18a0eac166: Download complete 07:04:26 4fe6c5a15a65: Verifying Checksum 07:04:26 4fe6c5a15a65: Download complete 07:04:30 4fe6c5a15a65: Pull complete 07:04:30 22a0e8bec74d: Pull complete 07:04:30 ca2b28591e48: Pull complete 07:04:30 a51346096db8: Pull complete 07:04:30 daebc70d1ce1: Pull complete 07:04:33 0e18a0eac166: Pull complete 07:04:33 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 07:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:04:33 ---> f018257e8ee9 07:04:33 Step 3/12 : ARG MAKE='make build' 07:04:35 ---> Running in cd2ff0f96b2e 07:04:35 Removing intermediate container cd2ff0f96b2e 07:04:35 ---> 9fac3ba9df7a 07:04:35 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:04:35 ---> Running in 3554468c4466 07:04:35 Removing intermediate container 3554468c4466 07:04:35 ---> bf394cd187db 07:04:35 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 07:04:35 ---> Running in aa50d669165c 07:04:35 Removing intermediate container aa50d669165c 07:04:35 ---> a03d919eb5eb 07:04:35 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:04:35 ---> Running in da3d56d32991 07:04:36 Removing intermediate container da3d56d32991 07:04:36 ---> 76121f787574 07:04:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:04:36 ---> Running in 343e075498c3 07:04:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:04:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:04:37 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:04:37 (2/4) Installing libedit (20210910.3.1-r0) 07:04:37 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:04:37 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:04:38 Executing busybox-1.34.1-r3.trigger 07:04:38 OK: 224 MiB in 56 packages 07:04:38 Still waiting to schedule task 07:04:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:04:38 Removing intermediate container 343e075498c3 07:04:38 ---> 773abbddf1aa 07:04:38 Step 8/12 : WORKDIR /device-rest-go 07:04:38 ---> Running in a7e65e4f9890 07:04:38 Removing intermediate container a7e65e4f9890 07:04:38 ---> 6572d33f2bf0 07:04:38 Step 9/12 : COPY go.mod vendor* ./ 07:04:39 ---> 112d07b1c13b 07:04:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:04:39 ---> Running in 50f0463f1c38 07:04:53 Removing intermediate container 50f0463f1c38 07:04:53 ---> a252040bc80e 07:04:53 Step 11/12 : COPY . . 07:04:53 ---> d49904b65cde 07:04:53 Step 12/12 : RUN $MAKE 07:04:53 ---> Running in 0f16e1148090 07:04:54 noop 07:04:54 Removing intermediate container 0f16e1148090 07:04:54 ---> cbae1b721e50 07:04:54 Successfully built cbae1b721e50 07:04:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:04:54 + docker inspect -f . ci-base-image-x86_64 07:04:54 . [Pipeline] withDockerContainer 07:04:54 prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container 07:04:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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-x86_64 cat 07:04:55 $ docker top 42918e7cd2d3ad89df83e2bd731ee806404bfb000b9ec11e70a140a97c9321d2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:04:55 + go version 07:04:55 go version go1.17.6 linux/amd64 [Pipeline] } 07:04:55 $ docker stop --time=1 42918e7cd2d3ad89df83e2bd731ee806404bfb000b9ec11e70a140a97c9321d2 07:04:56 $ docker rm -f 42918e7cd2d3ad89df83e2bd731ee806404bfb000b9ec11e70a140a97c9321d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:04:57 + docker inspect -f . ci-base-image-x86_64 07:04:57 . [Pipeline] withDockerContainer 07:04:57 prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container 07:04:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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-x86_64 cat 07:04:58 $ docker top 6358a6a3f00e0912365fd27ffaeeebd10d1bdb65886aba84058e5f8e0017cd3d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:04:58 + make test 07:04:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:04:58 ? github.com/edgexfoundry/device-rest-go [no test files] 07:05:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:05:08 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 07:05:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:05:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:05:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:05:18 ./bin/test-attribution-txt.sh [Pipeline] echo 07:05:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:05:18 $ docker stop --time=1 6358a6a3f00e0912365fd27ffaeeebd10d1bdb65886aba84058e5f8e0017cd3d 07:05:20 $ docker rm -f 6358a6a3f00e0912365fd27ffaeeebd10d1bdb65886aba84058e5f8e0017cd3d [Pipeline] // withDockerContainer [Pipeline] sh 07:05:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:05:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:05:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:05:22 + ls -al . 07:05:22 total 172 07:05:22 drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:05 . 07:05:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:03 .. 07:05:22 -rw-rw-r-- 1 jenkins jenkins 151 May 10 07:04 .dockerignore 07:05:22 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:04 .git 07:05:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 .github 07:05:22 -rw-rw-r-- 1 jenkins jenkins 329 May 10 07:04 .gitignore 07:05:22 -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:04 .golangci.yml 07:05:22 drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:04 .semver 07:05:22 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 07:04 Attribution.txt 07:05:22 -rw-rw-r-- 1 jenkins jenkins 11736 May 10 07:04 CHANGELOG.md 07:05:22 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 07:04 Dockerfile 07:05:22 -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:04 GOVERNANCE.md 07:05:22 -rw-rw-r-- 1 jenkins jenkins 680 May 10 07:04 Jenkinsfile 07:05:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:04 LICENSE 07:05:22 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 07:04 Makefile 07:05:22 -rw-rw-r-- 1 jenkins jenkins 620 May 10 07:04 OWNERS.md 07:05:22 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 07:04 README.md 07:05:22 -rw-rw-r-- 1 jenkins jenkins 5 May 10 07:04 VERSION 07:05:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:04 bin 07:05:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 cmd 07:05:22 -rw-r--r-- 1 jenkins jenkins 9355 May 10 07:05 coverage.out 07:05:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:04 driver 07:05:22 -rw-rw-r-- 1 jenkins jenkins 3326 May 10 07:04 go.mod 07:05:22 -rw-rw-r-- 1 jenkins jenkins 35481 May 10 07:04 go.sum 07:05:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 snap 07:05:22 -rw-rw-r-- 1 jenkins jenkins 713 May 10 07:04 version.go [Pipeline] isUnix [Pipeline] sh 07:05:22 + 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=7cae7b1f58b74971914cd61c53ee135eddaf8249 --label arch=amd64 --label version=0.0.0 . 07:05:22 Sending build context to Docker daemon 10.63MB 07:05:22 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 07:05:22 Step 2/25 : FROM ${BASE} AS builder 07:05:22 ---> cbae1b721e50 07:05:22 Step 3/25 : ARG MAKE='make build' 07:05:22 ---> Running in b92ca62660c3 07:05:22 Removing intermediate container b92ca62660c3 07:05:22 ---> f5a7af8073a4 07:05:22 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:05:23 ---> Running in 34dd6d4274d5 07:05:23 Removing intermediate container 34dd6d4274d5 07:05:23 ---> a408e25879a5 07:05:23 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 07:05:23 ---> Running in a17ae36fa266 07:05:23 Removing intermediate container a17ae36fa266 07:05:23 ---> 8989f1cc4475 07:05:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:23 ---> Running in 42f632560732 07:05:23 Removing intermediate container 42f632560732 07:05:23 ---> 0651442392b2 07:05:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:05:23 ---> Running in 48efd7092594 07:05:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:05:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:05:25 OK: 224 MiB in 56 packages 07:05:25 Removing intermediate container 48efd7092594 07:05:25 ---> 0a56b7a60776 07:05:25 Step 8/25 : WORKDIR /device-rest-go 07:05:25 ---> Running in 63fdfc80fe6c 07:05:25 Removing intermediate container 63fdfc80fe6c 07:05:25 ---> 6e442137f681 07:05:25 Step 9/25 : COPY go.mod vendor* ./ 07:05:26 ---> 7b080c343425 07:05:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:26 ---> Running in 5e0657afcd94 07:05:26 Removing intermediate container 5e0657afcd94 07:05:26 ---> db1439733047 07:05:26 Step 11/25 : COPY . . 07:05:27 ---> a4916a7b76a1 07:05:27 Step 12/25 : RUN $MAKE 07:05:27 ---> Running in fb340cc19fee 07:05:27 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 07:05:49 Removing intermediate container fb340cc19fee 07:05:49 ---> a260d7900d48 07:05:49 Step 13/25 : FROM alpine:3.14 07:05:49 3.14: Pulling from library/alpine 07:05:49 8663204ce13b: Pulling fs layer 07:05:49 8663204ce13b: Verifying Checksum 07:05:49 8663204ce13b: Download complete 07:05:49 8663204ce13b: Pull complete 07:05:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:05:49 Status: Downloaded newer image for alpine:3.14 07:05:49 ---> e04c818066af 07:05:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:05:49 ---> Running in ab501ec7f795 07:05:49 Removing intermediate container ab501ec7f795 07:05:49 ---> 704aeb9953a9 07:05:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:05:49 ---> Running in afb4f989040e 07:05:49 Removing intermediate container afb4f989040e 07:05:49 ---> 28f30639605f 07:05:49 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 07:05:49 ---> Running in f33cd93fd138 07:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:05:49 (1/6) Installing dumb-init (1.2.5-r1) 07:05:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:05:49 (3/6) Installing libsodium (1.0.18-r0) 07:05:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:05:49 (5/6) Installing libzmq (4.3.4-r0) 07:05:49 (6/6) Installing zeromq (4.3.4-r0) 07:05:49 Executing busybox-1.33.1-r7.trigger 07:05:49 OK: 8 MiB in 20 packages 07:05:49 Removing intermediate container f33cd93fd138 07:05:49 ---> 6b4a5d6fefa0 07:05:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:05:50 ---> 6124b03d765c 07:05:50 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:05:50 ---> 4aa7cd4a5f69 07:05:50 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:05:50 ---> 4e73104c2140 07:05:50 Step 20/25 : EXPOSE 59986 07:05:50 ---> Running in 7febb5464149 07:05:50 Removing intermediate container 7febb5464149 07:05:50 ---> 2181ca30a5ab 07:05:50 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:05:50 ---> Running in 6962abc5c2f9 07:05:50 Removing intermediate container 6962abc5c2f9 07:05:50 ---> 1aae647dcdc7 07:05:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:05:51 ---> Running in ce35f84105b8 07:05:51 Removing intermediate container ce35f84105b8 07:05:51 ---> c3f744f3d7eb 07:05:51 Step 23/25 : LABEL arch=amd64 07:05:51 ---> Running in f4d77547534e 07:05:51 Removing intermediate container f4d77547534e 07:05:51 ---> dcb7a21057ce 07:05:51 Step 24/25 : LABEL git_sha=7cae7b1f58b74971914cd61c53ee135eddaf8249 07:05:51 ---> Running in 725731ddad05 07:05:51 Removing intermediate container 725731ddad05 07:05:51 ---> 353fa4dadf3f 07:05:51 Step 25/25 : LABEL version=0.0.0 07:05:51 ---> Running in db28461788a8 07:05:51 Removing intermediate container db28461788a8 07:05:51 ---> d00dbe0e8143 07:05:51 [Warning] One or more build-args [ARCH] were not consumed 07:05:51 Successfully built d00dbe0e8143 07:05:51 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 07:05:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:05:51 07:05:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:05:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:05:52 latest: Pulling from edgex-lftools-log-publisher 07:05:52 5eb5b503b376: Pulling fs layer 07:05:52 5c69ac0246d0: Pulling fs layer 07:05:52 ec43610c2a17: Pulling fs layer 07:05:52 3a2ae6a8a46f: Pulling fs layer 07:05:52 33b1e0a273af: Pulling fs layer 07:05:52 5d3b04190fa2: Pulling fs layer 07:05:52 2f39f015ded8: Pulling fs layer 07:05:52 33b1e0a273af: Waiting 07:05:52 5d3b04190fa2: Waiting 07:05:52 2f39f015ded8: Waiting 07:05:52 3a2ae6a8a46f: Waiting 07:05:52 5c69ac0246d0: Verifying Checksum 07:05:52 5c69ac0246d0: Download complete 07:05:52 3a2ae6a8a46f: Verifying Checksum 07:05:52 3a2ae6a8a46f: Download complete 07:05:52 33b1e0a273af: Verifying Checksum 07:05:52 33b1e0a273af: Download complete 07:05:52 5d3b04190fa2: Verifying Checksum 07:05:52 5d3b04190fa2: Download complete 07:05:52 ec43610c2a17: Download complete 07:05:52 5eb5b503b376: Verifying Checksum 07:05:52 5eb5b503b376: Download complete 07:05:53 2f39f015ded8: Download complete 07:05:53 5eb5b503b376: Pull complete 07:05:53 5c69ac0246d0: Pull complete 07:05:54 ec43610c2a17: Pull complete 07:05:54 3a2ae6a8a46f: Pull complete 07:05:54 33b1e0a273af: Pull complete 07:05:54 5d3b04190fa2: Pull complete 07:05:58 2f39f015ded8: Pull complete 07:05:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:05:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:05:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:05:58 prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container 07:05:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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:latest cat 07:06:00 $ docker top 57be8a816c03c7cd19f27067e5f2bac38a4a679451cbde8f3abbc9cf30b12abb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:01 ---> job-cost.sh 07:06:01 lf-activate-venv: SKIPPING 07:06:01 INFO: No Stack... 07:06:01 INFO: Retrieving Pricing Info for: v3-standard-8 07:06:02 INFO: Archiving Costs [Pipeline] sh 07:06:02 + cat /w/workspace/gexfoundry_device-rest-go_PR-186/archives/cost.csv 07:06:02 + cut -d, -f6 [Pipeline] lock 07:06:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] 07:06:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] did not exist. Created. 07:06:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:06:02 + echo total: 0.2199999988079071 [Pipeline] stash 07:06:02 Stashed 1 file(s) [Pipeline] } 07:06:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:06:02 $ docker stop --time=1 57be8a816c03c7cd19f27067e5f2bac38a4a679451cbde8f3abbc9cf30b12abb 07:06:03 $ docker rm -f 57be8a816c03c7cd19f27067e5f2bac38a4a679451cbde8f3abbc9cf30b12abb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:14:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45836 in /w/workspace/gexfoundry_device-rest-go_PR-186 [Pipeline] { [Pipeline] ws 07:14:59 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 07:14:59 The recommended git tool is: git 07:15:07 using credential edgex-jenkins-ssh 07:15:07 Cloning the remote Git repository 07:15:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:15:07 > git init /w/workspace/device-rest-go/2 # timeout=10 07:15:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:15:07 > git --version # timeout=10 07:15:07 > git --version # 'git version 2.25.1' 07:15:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:15:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:15:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:15:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:15:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:15:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 07:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:15:10 Merging remotes/origin/main commit 4edc8d2690683859fe7dd7f6313ce2addb447006 into PR head commit 7cae7b1f58b74971914cd61c53ee135eddaf8249 07:15:10 Merge succeeded, producing 7cae7b1f58b74971914cd61c53ee135eddaf8249 07:15:10 Checking out Revision 7cae7b1f58b74971914cd61c53ee135eddaf8249 (PR-186) 07:15:10 > git config core.sparsecheckout # timeout=10 07:15:10 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 07:15:10 > git remote # timeout=10 07:15:10 > git config --get remote.origin.url # timeout=10 07:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:15:10 > git merge 4edc8d2690683859fe7dd7f6313ce2addb447006 # timeout=10 07:15:10 > git rev-parse HEAD^{commit} # timeout=10 07:15:10 > git config core.sparsecheckout # timeout=10 07:15:10 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 07:15:14 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:15:15 % Total % Received % Xferd Average Speed Time Time Time Current 07:15:15 Dload Upload Total Spent Left Speed 07:15:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 162k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh 07:15:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:15:16 + sudo tee /etc/docker/daemon.new 07:15:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:15:16 { 07:15:16 "registry-mirrors": [ 07:15:16 "https://nexus3.edgexfoundry.org:10001" 07:15:16 ], 07:15:16 "bip": "10.250.0.254/24", 07:15:16 "hosts": [ 07:15:16 "tcp://0.0.0.0:5555", 07:15:16 "unix:///var/run/docker.sock" 07:15:16 ], 07:15:16 "mtu": 1458, 07:15:16 "selinux-enabled": true, 07:15:16 "seccomp-profile": "/etc/docker/seccomp.json" 07:15:16 } [Pipeline] sh 07:15:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:15:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:35 provisioning config files... 07:15:35 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4828162555309488630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:36 ---> docker-login.sh 07:15:36 nexus3.edgexfoundry.org:10001 07:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:37 Configure a credential helper to remove this warning. See 07:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:37 07:15:37 Login Succeeded 07:15:37 nexus3.edgexfoundry.org:10002 07:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:37 Configure a credential helper to remove this warning. See 07:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:37 07:15:37 Login Succeeded 07:15:37 nexus3.edgexfoundry.org:10003 07:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:38 Configure a credential helper to remove this warning. See 07:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:38 07:15:38 Login Succeeded 07:15:38 nexus3.edgexfoundry.org:10004 07:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:38 Configure a credential helper to remove this warning. See 07:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:38 07:15:38 Login Succeeded 07:15:38 docker.io 07:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:39 Configure a credential helper to remove this warning. See 07:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:39 07:15:39 Login Succeeded 07:15:39 ---> docker-login.sh ends [Pipeline] } 07:15:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:39 ========================================================= 07:15:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:15:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:15:40 + 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 . 07:15:40 Sending build context to Docker daemon 128.5kB 07:15:40 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:15:40 Step 2/12 : FROM ${BASE} AS builder 07:15:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:15:40 9b3977197b4f: Pulling fs layer 07:15:40 1a89e8eeedd5: Pulling fs layer 07:15:40 94645a83ff95: Pulling fs layer 07:15:40 3f3a8bcf1eab: Pulling fs layer 07:15:40 0c92f367c5e7: Pulling fs layer 07:15:40 3096ccb668a1: Pulling fs layer 07:15:40 e8cf19c19ddd: Pulling fs layer 07:15:40 a4caa8a26152: Pulling fs layer 07:15:40 e8cf19c19ddd: Waiting 07:15:40 a4caa8a26152: Waiting 07:15:40 3f3a8bcf1eab: Waiting 07:15:40 3096ccb668a1: Waiting 07:15:40 0c92f367c5e7: Waiting 07:15:40 94645a83ff95: Verifying Checksum 07:15:40 94645a83ff95: Download complete 07:15:40 1a89e8eeedd5: Verifying Checksum 07:15:40 1a89e8eeedd5: Download complete 07:15:40 0c92f367c5e7: Verifying Checksum 07:15:40 0c92f367c5e7: Download complete 07:15:40 3096ccb668a1: Verifying Checksum 07:15:40 3096ccb668a1: Download complete 07:15:40 9b3977197b4f: Download complete 07:15:40 e8cf19c19ddd: Verifying Checksum 07:15:40 e8cf19c19ddd: Download complete 07:15:41 9b3977197b4f: Pull complete 07:15:42 1a89e8eeedd5: Pull complete 07:15:43 94645a83ff95: Pull complete 07:15:43 a4caa8a26152: Verifying Checksum 07:15:43 a4caa8a26152: Download complete 07:15:43 3f3a8bcf1eab: Verifying Checksum 07:15:43 3f3a8bcf1eab: Download complete 07:15:59 3f3a8bcf1eab: Pull complete 07:15:59 0c92f367c5e7: Pull complete 07:15:59 3096ccb668a1: Pull complete 07:15:59 e8cf19c19ddd: Pull complete 07:16:05 a4caa8a26152: Pull complete 07:16:05 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 07:16:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:16:05 ---> 725f1c02e7f9 07:16:05 Step 3/12 : ARG MAKE='make build' 07:16:05 ---> Running in b84b0b85f161 07:16:06 Removing intermediate container b84b0b85f161 07:16:06 ---> 082059d54120 07:16:06 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:16:06 ---> Running in ab693a5d17a4 07:16:07 Removing intermediate container ab693a5d17a4 07:16:07 ---> 8155f2279d67 07:16:07 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 07:16:07 ---> Running in bf2997b44961 07:16:08 Removing intermediate container bf2997b44961 07:16:08 ---> 32d97b02fc8f 07:16:08 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:08 ---> Running in aa366d40c1bf 07:16:10 Removing intermediate container aa366d40c1bf 07:16:10 ---> 30c6cafde847 07:16:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:16:10 ---> Running in a0f9e6cbdb98 07:16:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:16:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:16:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:16:13 (2/4) Installing libedit (20210910.3.1-r0) 07:16:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:16:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:16:14 Executing busybox-1.34.1-r3.trigger 07:16:14 OK: 224 MiB in 56 packages 07:16:15 Removing intermediate container a0f9e6cbdb98 07:16:15 ---> c46f37953c5f 07:16:15 Step 8/12 : WORKDIR /device-rest-go 07:16:15 ---> Running in 60c8cbb680f8 07:16:15 Removing intermediate container 60c8cbb680f8 07:16:15 ---> 140e300d30cd 07:16:15 Step 9/12 : COPY go.mod vendor* ./ 07:16:16 ---> 60592e0f1887 07:16:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:16 ---> Running in bd114eb227cd 07:17:12 Removing intermediate container bd114eb227cd 07:17:12 ---> 442ed9d4c6e6 07:17:12 Step 11/12 : COPY . . 07:17:12 ---> 4df81142d948 07:17:12 Step 12/12 : RUN $MAKE 07:17:12 ---> Running in 9c6c08910d62 07:17:12 noop 07:17:12 Removing intermediate container 9c6c08910d62 07:17:12 ---> 557920b904a6 07:17:12 Successfully built 557920b904a6 07:17:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:17:13 + docker inspect -f . ci-base-image-arm64 07:17:13 . [Pipeline] withDockerContainer 07:17:13 prd-ubuntu20.04-docker-arm64-4c-16g-45836 does not seem to be running inside a container 07:17:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 07:17:14 $ docker top 15daa82a70f5fe5f7a00e1cf127531914919ee51062af466cd42d5e2a66fb11f -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:15 + go version 07:17:15 go version go1.17.6 linux/arm64 [Pipeline] } 07:17:15 $ docker stop --time=1 15daa82a70f5fe5f7a00e1cf127531914919ee51062af466cd42d5e2a66fb11f 07:17:17 $ docker rm -f 15daa82a70f5fe5f7a00e1cf127531914919ee51062af466cd42d5e2a66fb11f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:17:18 + docker inspect -f . ci-base-image-arm64 07:17:18 . [Pipeline] withDockerContainer 07:17:18 prd-ubuntu20.04-docker-arm64-4c-16g-45836 does not seem to be running inside a container 07:17:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 07:17:20 $ docker top 7dd08fc60c23824aaf69197e20ea6699363e71ca491a04d3810ad40a4a4438c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:17:21 + make test 07:17:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:17:22 ? github.com/edgexfoundry/device-rest-go [no test files] 07:18:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:18:59 ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements 07:18:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:18:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:19:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:19:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:19:32 ./bin/test-attribution-txt.sh [Pipeline] echo 07:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:19:32 $ docker stop --time=1 7dd08fc60c23824aaf69197e20ea6699363e71ca491a04d3810ad40a4a4438c4 07:19:34 $ docker rm -f 7dd08fc60c23824aaf69197e20ea6699363e71ca491a04d3810ad40a4a4438c4 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:19:35 Warning: overwriting stash ‘coverage-report’ 07:19:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:19:36 + ls -al . 07:19:36 total 168 07:19:36 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:19 . 07:19:36 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:15 .. 07:19:36 -rw-rw-r-- 1 jenkins jenkins 151 May 10 07:15 .dockerignore 07:19:36 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:15 .git 07:19:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 .github 07:19:36 -rw-rw-r-- 1 jenkins jenkins 329 May 10 07:15 .gitignore 07:19:36 -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:15 .golangci.yml 07:19:36 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 07:15 Attribution.txt 07:19:36 -rw-rw-r-- 1 jenkins jenkins 11736 May 10 07:15 CHANGELOG.md 07:19:36 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 07:15 Dockerfile 07:19:36 -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:15 GOVERNANCE.md 07:19:36 -rw-rw-r-- 1 jenkins jenkins 680 May 10 07:15 Jenkinsfile 07:19:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:15 LICENSE 07:19:36 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 07:15 Makefile 07:19:36 -rw-rw-r-- 1 jenkins jenkins 620 May 10 07:15 OWNERS.md 07:19:36 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 07:15 README.md 07:19:36 -rw-rw-r-- 1 jenkins jenkins 5 May 10 07:04 VERSION 07:19:36 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:15 bin 07:19:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 cmd 07:19:36 -rw-r--r-- 1 jenkins jenkins 9355 May 10 07:18 coverage.out 07:19:36 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:15 driver 07:19:36 -rw-rw-r-- 1 jenkins jenkins 3326 May 10 07:15 go.mod 07:19:36 -rw-rw-r-- 1 jenkins jenkins 35481 May 10 07:15 go.sum 07:19:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 snap 07:19:36 -rw-rw-r-- 1 jenkins jenkins 713 May 10 07:15 version.go [Pipeline] isUnix [Pipeline] sh 07:19:37 + 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=7cae7b1f58b74971914cd61c53ee135eddaf8249 --label arch=arm64 --label version=0.0.0 . 07:19:37 Sending build context to Docker daemon 138.8kB 07:19:37 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 07:19:37 Step 2/25 : FROM ${BASE} AS builder 07:19:37 ---> 557920b904a6 07:19:37 Step 3/25 : ARG MAKE='make build' 07:19:37 ---> Running in aafa0567e7db 07:19:37 Removing intermediate container aafa0567e7db 07:19:37 ---> d9569bf6ec9d 07:19:37 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:19:37 ---> Running in 316346ec3b21 07:19:38 Removing intermediate container 316346ec3b21 07:19:38 ---> 379786e8e014 07:19:38 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 07:19:38 ---> Running in 6473e629c487 07:19:38 Removing intermediate container 6473e629c487 07:19:38 ---> 98c448a131a9 07:19:38 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:38 ---> Running in 10805c3f1ead 07:19:40 Removing intermediate container 10805c3f1ead 07:19:40 ---> 0f94d71f1f48 07:19:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:41 ---> Running in 0c64041ffd73 07:19:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:19:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:19:44 OK: 224 MiB in 56 packages 07:19:45 Removing intermediate container 0c64041ffd73 07:19:45 ---> 5ce6c7758614 07:19:45 Step 8/25 : WORKDIR /device-rest-go 07:19:45 ---> Running in a3bb0327abf5 07:19:45 Removing intermediate container a3bb0327abf5 07:19:45 ---> f155fa5d9788 07:19:45 Step 9/25 : COPY go.mod vendor* ./ 07:19:46 ---> ba7c4aae6ca9 07:19:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:46 ---> Running in 52adde3ea952 07:19:48 Removing intermediate container 52adde3ea952 07:19:48 ---> f78f8be30dbe 07:19:48 Step 11/25 : COPY . . 07:19:48 ---> 6ea389e0a8d5 07:19:48 Step 12/25 : RUN $MAKE 07:19:48 ---> Running in 44713b08c78f 07:19:49 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 07:22:11 Removing intermediate container 44713b08c78f 07:22:11 ---> 61f1350de002 07:22:11 Step 13/25 : FROM alpine:3.14 07:22:11 3.14: Pulling from library/alpine 07:22:11 455c02918c45: Pulling fs layer 07:22:11 455c02918c45: Download complete 07:22:11 455c02918c45: Pull complete 07:22:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:22:11 Status: Downloaded newer image for alpine:3.14 07:22:11 ---> ac73e934f311 07:22:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:22:11 ---> Running in ca837f12af6a 07:22:11 Removing intermediate container ca837f12af6a 07:22:11 ---> 2d0d15f8debe 07:22:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:22:11 ---> Running in 0817bf2f1101 07:22:11 Removing intermediate container 0817bf2f1101 07:22:11 ---> 8ee4843c6d85 07:22:11 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 07:22:11 ---> Running in 70013baf3ac5 07:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:22:13 (1/6) Installing dumb-init (1.2.5-r1) 07:22:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:22:13 (3/6) Installing libsodium (1.0.18-r0) 07:22:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:22:13 (5/6) Installing libzmq (4.3.4-r0) 07:22:13 (6/6) Installing zeromq (4.3.4-r0) 07:22:13 Executing busybox-1.33.1-r7.trigger 07:22:13 OK: 8 MiB in 20 packages 07:22:14 Removing intermediate container 70013baf3ac5 07:22:14 ---> 545ab9504983 07:22:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:22:16 ---> 321b794b31d1 07:22:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:22:16 ---> 2997021d547b 07:22:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:22:16 ---> 99ee9bf376fc 07:22:16 Step 20/25 : EXPOSE 59986 07:22:16 ---> Running in 5c020652d344 07:22:17 Removing intermediate container 5c020652d344 07:22:17 ---> 8dc320909848 07:22:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:22:17 ---> Running in fad90c014f55 07:22:17 Removing intermediate container fad90c014f55 07:22:17 ---> 045b96b5a2cf 07:22:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:22:17 ---> Running in 8df082e51409 07:22:18 Removing intermediate container 8df082e51409 07:22:18 ---> 006b882a5457 07:22:18 Step 23/25 : LABEL arch=arm64 07:22:18 ---> Running in 0df595e6a2da 07:22:18 Removing intermediate container 0df595e6a2da 07:22:18 ---> 4b86d1a4d9dd 07:22:18 Step 24/25 : LABEL git_sha=7cae7b1f58b74971914cd61c53ee135eddaf8249 07:22:18 ---> Running in 28d2e2da8e33 07:22:19 Removing intermediate container 28d2e2da8e33 07:22:19 ---> 90d6e6d36ce6 07:22:19 Step 25/25 : LABEL version=0.0.0 07:22:19 ---> Running in dd5b11e00205 07:22:19 Removing intermediate container dd5b11e00205 07:22:19 ---> 3fb3b857ea63 07:22:19 [Warning] One or more build-args [ARCH] were not consumed 07:22:19 Successfully built 3fb3b857ea63 07:22:19 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 07:22:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:20 07:22:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:22:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:20 arm64: Pulling from edgex-lftools-log-publisher 07:22:20 8998bd30e6a1: Pulling fs layer 07:22:20 04944245beec: Pulling fs layer 07:22:20 699f458cf7ca: Pulling fs layer 07:22:20 765212b225bb: Pulling fs layer 07:22:20 f23df028b6ca: Pulling fs layer 07:22:20 d65c8cfc05b1: Pulling fs layer 07:22:20 2437ff75d9bd: Pulling fs layer 07:22:20 765212b225bb: Waiting 07:22:20 f23df028b6ca: Waiting 07:22:20 d65c8cfc05b1: Waiting 07:22:20 2437ff75d9bd: Waiting 07:22:20 04944245beec: Verifying Checksum 07:22:20 04944245beec: Download complete 07:22:20 765212b225bb: Verifying Checksum 07:22:20 765212b225bb: Download complete 07:22:20 f23df028b6ca: Verifying Checksum 07:22:20 f23df028b6ca: Download complete 07:22:20 d65c8cfc05b1: Verifying Checksum 07:22:20 d65c8cfc05b1: Download complete 07:22:20 699f458cf7ca: Verifying Checksum 07:22:20 699f458cf7ca: Download complete 07:22:21 8998bd30e6a1: Verifying Checksum 07:22:21 8998bd30e6a1: Download complete 07:22:23 2437ff75d9bd: Verifying Checksum 07:22:23 2437ff75d9bd: Download complete 07:22:25 8998bd30e6a1: Pull complete 07:22:26 04944245beec: Pull complete 07:22:27 699f458cf7ca: Pull complete 07:22:27 765212b225bb: Pull complete 07:22:28 f23df028b6ca: Pull complete 07:22:29 d65c8cfc05b1: Pull complete 07:22:44 2437ff75d9bd: Pull complete 07:22:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:22:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:22:44 prd-ubuntu20.04-docker-arm64-4c-16g-45836 does not seem to be running inside a container 07:22:44 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 07:22:47 $ docker top 345ec9673646a74100a68241a41559190ffc8040c45ebdf05e31235dac846ba4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:48 ---> job-cost.sh 07:22:48 lf-activate-venv: SKIPPING 07:22:48 INFO: No Stack... 07:22:49 INFO: Retrieving Pricing Info for: v3-standard-4 07:22:50 INFO: Archiving Costs [Pipeline] sh 07:22:50 + cat /w/workspace/device-rest-go/2/archives/cost.csv 07:22:50 + cut -d, -f6 [Pipeline] lock 07:22:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] 07:22:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] did not exist. Created. 07:22:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:51 /w/workspace/device-rest-go/2@tmp/durable-03afe88a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:22:52 + echo total: 0.10999999940395355 [Pipeline] stash 07:22:52 Warning: overwriting stash ‘stack-cost’ 07:22:52 Stashed 1 file(s) [Pipeline] } 07:22:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:52 $ docker stop --time=1 345ec9673646a74100a68241a41559190ffc8040c45ebdf05e31235dac846ba4 07:22:54 $ docker rm -f 345ec9673646a74100a68241a41559190ffc8040c45ebdf05e31235dac846ba4 [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 07:22:54 provisioning config files... 07:22:54 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config3521075273240993406tmp [Pipeline] { [Pipeline] sh 07:22:54 + set +x 07:22:54 + bash -s -- 07:22:54 + curl -s https://codecov.io/bash 07:22:54 07:22:54 _____ _ 07:22:54 / ____| | | 07:22:54 | | ___ __| | ___ ___ _____ __ 07:22:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:22:54 | |___| (_) | (_| | __/ (_| (_) \ V / 07:22:54 \_____\___/ \__,_|\___|\___\___/ \_/ 07:22:54 Bash-1.0.6 07:22:54 07:22:54 07:22:54 ==> git version 2.25.1 found 07:22:54 ==> 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 07:22:54 Release-Date: 2020-01-08 07:22:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:22:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:22:54 ==> Jenkins CI detected. 07:22:54 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-186 07:22:54 project root: . 07:22:54 --> token set from env 07:22:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:22:54 ==> Running gcov in . (disable via -X gcov) 07:22:54 ==> Python coveragepy not found 07:22:54 ==> Searching for coverage reports in: 07:22:54 + . 07:22:54 -> Found 1 reports 07:22:54 ==> Detecting git/mercurial file structure 07:22:54 ==> Reading reports 07:22:54 + ./coverage.out bytes=9355 07:22:54 ==> Appending adjustments 07:22:54 https://docs.codecov.io/docs/fixing-reports 07:22:55 + Found adjustments 07:22:55 ==> Gzipping contents 07:22:55 4.0K /tmp/codecov.xRvZUr.gz 07:22:55 ==> Uploading reports 07:22:55 url: https://codecov.io 07:22:55 query: branch=PR-186&commit=7cae7b1f58b74971914cd61c53ee135eddaf8249&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= 07:22:55 -> Pinging Codecov 07:22:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-186&commit=7cae7b1f58b74971914cd61c53ee135eddaf8249&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= 07:22:55 -> Uploading to 07:22:55 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/4E5D53B4F1F92C436F7061BF334D961C/7cae7b1f58b74971914cd61c53ee135eddaf8249/0ab49de4-71d0-4056-80cd-cd9626df6afa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T072255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ecd4cc77a9b8454b751b0cbc1f5a89f2df7930244ab3caa658f291574431e163 07:22:55 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:55 Dload Upload Total Spent Left Speed 07:22:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8135 --:--:-- --:--:-- --:--:-- 8098 100 1806 0 0 100 1806 0 7818 --:--:-- --:--:-- --:--:-- 7784 07:22:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] } 07:22:55 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 07:22:56 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-186/archives ] 07:22:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives 07:22:56 total 16 07:22:56 drwxr-xr-x 3 root root 4096 May 10 07:06 . 07:22:56 drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:06 .. 07:22:56 drwxr-xr-x 2 root root 4096 May 10 07:06 cost 07:22:56 -rw-r--r-- 1 root root 85 May 10 07:06 cost.csv 07:22:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-186/archives 07:22:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives 07:22:56 total 16 07:22:56 drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:06 . 07:22:56 drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:06 .. 07:22:56 drwxr-xr-x 2 jenkins jenkins 4096 May 10 07:06 cost 07:22:56 -rw-r--r-- 1 jenkins jenkins 85 May 10 07:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:22:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:22:57 ---> package-listing.sh 07:22:57 ++ facter osfamily 07:22:57 ++ tr '[:upper:]' '[:lower:]' 07:22:57 + OS_FAMILY=debian 07:22:57 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-186 07:22:57 + START_PACKAGES=/tmp/packages_start.txt 07:22:57 + END_PACKAGES=/tmp/packages_end.txt 07:22:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:22:57 + PACKAGES=/tmp/packages_start.txt 07:22:57 + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' 07:22:57 + PACKAGES=/tmp/packages_end.txt 07:22:57 + case "${OS_FAMILY}" in 07:22:57 + dpkg -l 07:22:57 + grep '^ii' 07:22:57 + '[' -f /tmp/packages_start.txt ']' 07:22:57 + '[' -f /tmp/packages_end.txt ']' 07:22:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:22:57 + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' 07:22:57 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ 07:22:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ [Pipeline] echo 07:22:57 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-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:22:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:22:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:58 . [Pipeline] withDockerContainer 07:22:58 prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container 07:22:58 $ 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-186/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-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 07:22:58 $ docker top 25b6198f97a80525c7155c3be1a574c88a762a77f4f6de0e6f5f063c642d4f90 -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:59 + touch /tmp/pre-build-complete [Pipeline] sh 07:22:59 + mkdir -p /var/log/sysstat [Pipeline] sh 07:22:59 + ls /var/log/sa-host 07:22:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:00 provisioning config files... 07:23:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config7118813705929902398tmp [Pipeline] { [Pipeline] echo 07:23:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:23:00 ---> create-netrc.sh [Pipeline] } 07:23:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:23:00 ---> python-tools-install.sh [Pipeline] echo 07:23:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:23:00 ---> sudo-logs.sh 07:23:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:23:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:23:01 ---> job-cost.sh 07:23:01 lf-activate-venv: SKIPPING 07:23:01 DEBUG: total: 0.2199999988079071 07:23:01 INFO: Retrieving Stack Cost... 07:23:01 INFO: Retrieving Pricing Info for: v3-standard-8 07:23:02 INFO: Archiving Costs [Pipeline] echo 07:23:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:23:02 ---> logs-deploy.sh 07:23:02 lf-activate-venv: SKIPPING 07:23:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-186/2 07:23:02 INFO: archiving workspace using pattern(s): 07:23:03 Archives upload complete. 07:23:03 INFO: archiving logs to Nexus