Pull request #190 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22dd7cc6891c310929bd15537ed473a29469e419+99d2988c42a4468ca534e1bc92575890b1a7bdf5 (c8b6714957812cad736a5fd151f8a7b9ec5aa173) 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-ssh18243783110347851783.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8905573161730739034.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2746756798448783529.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17178018414088291701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11019030036990147154.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15406039516980991721.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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 ‘prd-ubuntu20.04-docker-8c-8g-63845’ Running on prd-ubuntu20.04-docker-8c-8g-63852 in /w/workspace/gexfoundry_device-rest-go_PR-190 [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-190 # 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 99d2988c42a4468ca534e1bc92575890b1a7bdf5 into PR head commit 22dd7cc6891c310929bd15537ed473a29469e419 Merge succeeded, producing 22dd7cc6891c310929bd15537ed473a29469e419 Checking out Revision 22dd7cc6891c310929bd15537ed473a29469e419 (PR-190) > 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/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22dd7cc6891c310929bd15537ed473a29469e419 # 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 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22dd7cc6891c310929bd15537ed473a29469e419 # timeout=10 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:09:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:09:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:09:08 ========================================================= 20:09:08 EdgeX Global Pipelines Version Info 20:09:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:09:09 ------------------- 20:09:09 stable info: 20:09:09 ------------------- 20:09:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:09:09 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:09:09 Message: update stable to v1.0.230 20:09:10 ------------------- 20:09:10 experimental info: 20:09:10 ------------------- 20:09:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:09:10 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:09:10 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:09:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22dd7cc6891c310929bd15537ed473a29469e419 [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22dd7cc [Pipeline] echo 20:09:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:11 provisioning config files... 20:09:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config6447809699344160878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:12 ---> docker-login.sh 20:09:12 nexus3.edgexfoundry.org:10001 20:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:12 Configure a credential helper to remove this warning. See 20:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:12 20:09:12 Login Succeeded 20:09:12 nexus3.edgexfoundry.org:10002 20:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:12 Configure a credential helper to remove this warning. See 20:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:12 20:09:12 Login Succeeded 20:09:12 nexus3.edgexfoundry.org:10003 20:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:12 Configure a credential helper to remove this warning. See 20:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:12 20:09:12 Login Succeeded 20:09:12 nexus3.edgexfoundry.org:10004 20:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:12 Configure a credential helper to remove this warning. See 20:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:12 20:09:12 Login Succeeded 20:09:12 docker.io 20:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:13 Configure a credential helper to remove this warning. See 20:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:13 20:09:13 Login Succeeded 20:09:13 ---> docker-login.sh ends [Pipeline] } 20:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:09:14 + git rev-list -1 --merges 22dd7cc6891c310929bd15537ed473a29469e419~1..22dd7cc6891c310929bd15537ed473a29469e419 [Pipeline] echo 20:09:14 -----------> git rev-list -1 --merges 22dd7cc6891c310929bd15537ed473a29469e419~1..22dd7cc6891c310929bd15537ed473a29469e419 22dd7cc6891c310929bd15537ed473a29469e419 [false] [Pipeline] sh 20:09:14 + git log --format=format:%s -1 22dd7cc6891c310929bd15537ed473a29469e419 [Pipeline] echo 20:09:14 ========================================================= 20:09:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:09:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:15 + git log --format=format:%s -1 22dd7cc6891c310929bd15537ed473a29469e419 [Pipeline] echo 20:09:15 [semverPrep] GIT_COMMIT: 22dd7cc6891c310929bd15537ed473a29469e419, Commit Message: build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0 [Pipeline] echo 20:09:15 [semverPrep] This is not a build commit. [Pipeline] sh 20:09:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:09:15 + grep -v github /etc/ssh/ssh_known_hosts 20:09:15 + [ -e /tmp/ssh_known_hosts ] 20:09:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:09:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:09:15 + sudo tee -a /etc/ssh/ssh_known_hosts 20:09:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:09:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:09:16 20:09:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:09:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:09:16 latest: Pulling from edgex-devops/py-git-semver 20:09:16 1fe172e4850f: Pulling fs layer 20:09:16 caf521ccaac6: Pulling fs layer 20:09:16 3ead6fa29328: Pulling fs layer 20:09:16 5c2a1cbceb83: Pulling fs layer 20:09:16 a8d5f1318db7: Pulling fs layer 20:09:16 c427282e49a2: Pulling fs layer 20:09:16 1827001aaf11: Pulling fs layer 20:09:16 0714d37db230: Pulling fs layer 20:09:16 ac28cf19c067: Pulling fs layer 20:09:16 ca983d60f3e2: Pulling fs layer 20:09:16 9f894cec8388: Pulling fs layer 20:09:16 a8d5f1318db7: Waiting 20:09:16 ac28cf19c067: Waiting 20:09:16 0714d37db230: Waiting 20:09:16 ca983d60f3e2: Waiting 20:09:16 9f894cec8388: Waiting 20:09:16 5c2a1cbceb83: Waiting 20:09:16 1827001aaf11: Waiting 20:09:16 caf521ccaac6: Verifying Checksum 20:09:16 caf521ccaac6: Download complete 20:09:16 5c2a1cbceb83: Verifying Checksum 20:09:16 5c2a1cbceb83: Download complete 20:09:16 a8d5f1318db7: Verifying Checksum 20:09:16 a8d5f1318db7: Download complete 20:09:16 3ead6fa29328: Verifying Checksum 20:09:16 3ead6fa29328: Download complete 20:09:16 c427282e49a2: Verifying Checksum 20:09:16 c427282e49a2: Download complete 20:09:16 ac28cf19c067: Verifying Checksum 20:09:16 ac28cf19c067: Download complete 20:09:16 ca983d60f3e2: Verifying Checksum 20:09:16 ca983d60f3e2: Download complete 20:09:16 9f894cec8388: Verifying Checksum 20:09:16 9f894cec8388: Download complete 20:09:16 1fe172e4850f: Verifying Checksum 20:09:16 1fe172e4850f: Download complete 20:09:17 1827001aaf11: Download complete 20:09:18 1fe172e4850f: Pull complete 20:09:18 caf521ccaac6: Pull complete 20:09:18 3ead6fa29328: Pull complete 20:09:18 5c2a1cbceb83: Pull complete 20:09:19 a8d5f1318db7: Pull complete 20:09:19 c427282e49a2: Pull complete 20:09:21 1827001aaf11: Pull complete 20:09:21 0714d37db230: Pull complete 20:09:21 ac28cf19c067: Pull complete 20:09:21 ca983d60f3e2: Pull complete 20:09:21 9f894cec8388: Pull complete 20:09:21 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:09:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:09:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 20:09:21 prd-ubuntu20.04-docker-8c-8g-63852 does not seem to be running inside a container 20:09:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 20:09:23 $ docker top 9cfbc9accb866f55961bc1bd4a286fe9e2609fdf0f5d203eb1abc20b1b187eed -eo pid,comm 20:09:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:09:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:09:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:23 [ssh-agent] Looking for ssh-agent implementation... 20:09:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:23 $ docker exec 9cfbc9accb866f55961bc1bd4a286fe9e2609fdf0f5d203eb1abc20b1b187eed ssh-agent 20:09:23 SSH_AUTH_SOCK=/tmp/ssh-bklVpjRLECr1/agent.32 20:09:23 SSH_AGENT_PID=38 20:09:23 Running ssh-add (command line suppressed) 20:09:23 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_2772024222689741242.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_2772024222689741242.key) 20:09:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:24 + git tag --points-at HEAD [Pipeline] } 20:09:24 $ docker exec --env ******** --env ******** 9cfbc9accb866f55961bc1bd4a286fe9e2609fdf0f5d203eb1abc20b1b187eed ssh-agent -k 20:09:24 unset SSH_AUTH_SOCK; 20:09:24 unset SSH_AGENT_PID; 20:09:24 echo Agent pid 38 killed; 20:09:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:09:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:24 [ssh-agent] Looking for ssh-agent implementation... 20:09:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:24 $ docker exec 9cfbc9accb866f55961bc1bd4a286fe9e2609fdf0f5d203eb1abc20b1b187eed ssh-agent 20:09:24 SSH_AUTH_SOCK=/tmp/ssh-lBieZP1v0Z6i/agent.70 20:09:24 SSH_AGENT_PID=76 20:09:24 Running ssh-add (command line suppressed) 20:09:24 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_6323348608616166364.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_6323348608616166364.key) 20:09:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:25 + git semver init 20:09:25 2022-05-16 20:09:25,300 [run_init] DEBUG init version:0.0.0 force:False 20:09:25 2022-05-16 20:09:25,301 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver 20:09:25 2022-05-16 20:09:25,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-190/.semver 20:09:25 2022-05-16 20:09:25,302 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-190/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190, universal_newlines=False, shell=None, istream=None) 20:09:26 2022-05-16 20:09:26,310 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.git/info/exclude 20:09:26 2022-05-16 20:09:26,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 with force:False 20:09:26 2022-05-16 20:09:26,310 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 20:09:26 2022-05-16 20:09:26,313 [execute] INFO git cat-file --batch-check 20:09:26 2022-05-16 20:09:26,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 20:09:26 2022-05-16 20:09:26,319 [execute] INFO git cat-file --batch 20:09:26 2022-05-16 20:09:26,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 20:09:26 2022-05-16 20:09:26,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 20:09:26 0.0.0 [Pipeline] } 20:09:26 $ docker exec --env ******** --env ******** 9cfbc9accb866f55961bc1bd4a286fe9e2609fdf0f5d203eb1abc20b1b187eed ssh-agent -k 20:09:26 unset SSH_AUTH_SOCK; 20:09:26 unset SSH_AGENT_PID; 20:09:26 echo Agent pid 76 killed; 20:09:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:09:27 + git semver [Pipeline] } 20:09:27 $ docker stop --time=1 9cfbc9accb866f55961bc1bd4a286fe9e2609fdf0f5d203eb1abc20b1b187eed 20:09:28 $ docker rm -f 9cfbc9accb866f55961bc1bd4a286fe9e2609fdf0f5d203eb1abc20b1b187eed [Pipeline] // withDockerContainer [Pipeline] sh 20:09:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:09:29 Stashed 1 file(s) [Pipeline] echo 20:09:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:30 provisioning config files... 20:09:30 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config5219967944109321592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:30 ---> docker-login.sh 20:09:30 nexus3.edgexfoundry.org:10001 20:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:30 Configure a credential helper to remove this warning. See 20:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:30 20:09:30 Login Succeeded 20:09:30 nexus3.edgexfoundry.org:10002 20:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:30 Configure a credential helper to remove this warning. See 20:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:30 20:09:30 Login Succeeded 20:09:30 nexus3.edgexfoundry.org:10003 20:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:30 Configure a credential helper to remove this warning. See 20:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:30 20:09:30 Login Succeeded 20:09:30 nexus3.edgexfoundry.org:10004 20:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:31 Configure a credential helper to remove this warning. See 20:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:31 20:09:31 Login Succeeded 20:09:31 docker.io 20:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:31 Configure a credential helper to remove this warning. See 20:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:31 20:09:31 Login Succeeded 20:09:31 ---> docker-login.sh ends [Pipeline] } 20:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:09:31 ========================================================= 20:09:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:09:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:09:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:09:32 Sending build context to Docker daemon 10.63MB 20:09:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:09:32 Step 2/12 : FROM ${BASE} AS builder 20:09:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:09:32 59bf1c3509f3: Pulling fs layer 20:09:32 666ba61612fd: Pulling fs layer 20:09:32 8ed8ca486205: Pulling fs layer 20:09:32 4fe6c5a15a65: Pulling fs layer 20:09:32 22a0e8bec74d: Pulling fs layer 20:09:32 ca2b28591e48: Pulling fs layer 20:09:32 a51346096db8: Pulling fs layer 20:09:32 daebc70d1ce1: Pulling fs layer 20:09:32 0e18a0eac166: Pulling fs layer 20:09:32 ca2b28591e48: Waiting 20:09:32 a51346096db8: Waiting 20:09:32 4fe6c5a15a65: Waiting 20:09:32 daebc70d1ce1: Waiting 20:09:32 0e18a0eac166: Waiting 20:09:32 22a0e8bec74d: Waiting 20:09:32 8ed8ca486205: Verifying Checksum 20:09:32 8ed8ca486205: Download complete 20:09:32 666ba61612fd: Download complete 20:09:32 22a0e8bec74d: Verifying Checksum 20:09:32 22a0e8bec74d: Download complete 20:09:32 ca2b28591e48: Download complete 20:09:32 a51346096db8: Verifying Checksum 20:09:32 a51346096db8: Download complete 20:09:32 59bf1c3509f3: Verifying Checksum 20:09:32 59bf1c3509f3: Download complete 20:09:32 daebc70d1ce1: Verifying Checksum 20:09:32 daebc70d1ce1: Download complete 20:09:32 59bf1c3509f3: Pull complete 20:09:32 666ba61612fd: Pull complete 20:09:32 8ed8ca486205: Pull complete 20:09:32 4fe6c5a15a65: Verifying Checksum 20:09:32 4fe6c5a15a65: Download complete 20:09:33 0e18a0eac166: Verifying Checksum 20:09:33 0e18a0eac166: Download complete 20:09:37 4fe6c5a15a65: Pull complete 20:09:37 22a0e8bec74d: Pull complete 20:09:37 ca2b28591e48: Pull complete 20:09:37 a51346096db8: Pull complete 20:09:37 daebc70d1ce1: Pull complete 20:09:39 0e18a0eac166: Pull complete 20:09:39 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:09:39 ---> f018257e8ee9 20:09:39 Step 3/12 : ARG MAKE='make build' 20:09:40 ---> Running in 5e3d3fe5b020 20:09:41 Removing intermediate container 5e3d3fe5b020 20:09:41 ---> ebee7472e54c 20:09:41 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:41 ---> Running in fc5937b25155 20:09:41 Removing intermediate container fc5937b25155 20:09:41 ---> a78db30610ca 20:09:41 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:09:41 ---> Running in 63fc850fe0d5 20:09:41 Removing intermediate container 63fc850fe0d5 20:09:41 ---> a130e5f34689 20:09:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:41 ---> Running in efd21ebf67f3 20:09:41 Removing intermediate container efd21ebf67f3 20:09:41 ---> 531807052217 20:09:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:41 ---> Running in a8cafed0889e 20:09:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:09:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:09:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:09:43 (2/4) Installing libedit (20210910.3.1-r0) 20:09:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:09:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:09:43 Executing busybox-1.34.1-r3.trigger 20:09:43 OK: 224 MiB in 56 packages 20:09:44 Removing intermediate container a8cafed0889e 20:09:44 ---> 3ba78f897b61 20:09:44 Step 8/12 : WORKDIR /device-rest-go 20:09:44 ---> Running in 40ca352ededd 20:09:44 Removing intermediate container 40ca352ededd 20:09:44 ---> 495938de9d4e 20:09:44 Step 9/12 : COPY go.mod vendor* ./ 20:09:44 ---> e8a3cc75962b 20:09:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:44 ---> Running in 3b238f0d785e 20:09:45 Still waiting to schedule task 20:09:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63846’ 20:10:02 Removing intermediate container 3b238f0d785e 20:10:02 ---> dc6928e707e8 20:10:02 Step 11/12 : COPY . . 20:10:02 ---> 3f5ac6463188 20:10:02 Step 12/12 : RUN $MAKE 20:10:02 ---> Running in c7038333ee35 20:10:02 noop 20:10:02 Removing intermediate container c7038333ee35 20:10:02 ---> 6ddc64309ec2 20:10:02 Successfully built 6ddc64309ec2 20:10:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:10:02 + docker inspect -f . ci-base-image-x86_64 20:10:02 . [Pipeline] withDockerContainer 20:10:02 prd-ubuntu20.04-docker-8c-8g-63852 does not seem to be running inside a container 20:10:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:10:03 $ docker top 2c3cd6e065a250f67cec369688072d1ccb138600754f72868dbac0376e61d72e -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:03 + go version 20:10:03 go version go1.17.6 linux/amd64 [Pipeline] } 20:10:03 $ docker stop --time=1 2c3cd6e065a250f67cec369688072d1ccb138600754f72868dbac0376e61d72e 20:10:05 $ docker rm -f 2c3cd6e065a250f67cec369688072d1ccb138600754f72868dbac0376e61d72e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:05 + docker inspect -f . ci-base-image-x86_64 20:10:05 . [Pipeline] withDockerContainer 20:10:05 prd-ubuntu20.04-docker-8c-8g-63852 does not seem to be running inside a container 20:10:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:10:06 $ docker top bce5c6ea1cb5e642541f707ad93c8ad57c4c7c17b7ddbd832429208ba2cabf31 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:10:06 + make test 20:10:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:10:07 ? github.com/edgexfoundry/device-rest-go [no test files] 20:10:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:10:17 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 20:10:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:26 ./bin/test-attribution-txt.sh [Pipeline] echo 20:10:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:27 $ docker stop --time=1 bce5c6ea1cb5e642541f707ad93c8ad57c4c7c17b7ddbd832429208ba2cabf31 20:10:29 $ docker rm -f bce5c6ea1cb5e642541f707ad93c8ad57c4c7c17b7ddbd832429208ba2cabf31 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:10:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:31 + ls -al . 20:10:31 total 172 20:10:31 drwxrwxr-x 9 jenkins jenkins 4096 May 16 20:10 . 20:10:31 drwxrwxr-x 4 jenkins jenkins 4096 May 16 20:09 .. 20:10:31 -rw-rw-r-- 1 jenkins jenkins 151 May 16 20:09 .dockerignore 20:10:31 drwxrwxr-x 8 jenkins jenkins 4096 May 16 20:09 .git 20:10:31 drwxrwxr-x 3 jenkins jenkins 4096 May 16 20:09 .github 20:10:31 -rw-rw-r-- 1 jenkins jenkins 329 May 16 20:09 .gitignore 20:10:31 -rw-rw-r-- 1 jenkins jenkins 41 May 16 20:09 .golangci.yml 20:10:31 drwxr-xr-x 3 jenkins jenkins 4096 May 16 20:09 .semver 20:10:31 -rw-rw-r-- 1 jenkins jenkins 8463 May 16 20:09 Attribution.txt 20:10:31 -rw-rw-r-- 1 jenkins jenkins 11736 May 16 20:09 CHANGELOG.md 20:10:31 -rw-rw-r-- 1 jenkins jenkins 1672 May 16 20:09 Dockerfile 20:10:31 -rw-rw-r-- 1 jenkins jenkins 677 May 16 20:09 GOVERNANCE.md 20:10:31 -rw-rw-r-- 1 jenkins jenkins 680 May 16 20:09 Jenkinsfile 20:10:31 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 20:09 LICENSE 20:10:31 -rw-rw-r-- 1 jenkins jenkins 1977 May 16 20:09 Makefile 20:10:31 -rw-rw-r-- 1 jenkins jenkins 620 May 16 20:09 OWNERS.md 20:10:31 -rw-rw-r-- 1 jenkins jenkins 8003 May 16 20:09 README.md 20:10:31 -rw-rw-r-- 1 jenkins jenkins 5 May 16 20:09 VERSION 20:10:31 drwxrwxr-x 2 jenkins jenkins 4096 May 16 20:09 bin 20:10:31 drwxrwxr-x 3 jenkins jenkins 4096 May 16 20:09 cmd 20:10:31 -rw-r--r-- 1 jenkins jenkins 9355 May 16 20:10 coverage.out 20:10:31 drwxrwxr-x 2 jenkins jenkins 4096 May 16 20:09 driver 20:10:31 -rw-rw-r-- 1 jenkins jenkins 3287 May 16 20:09 go.mod 20:10:31 -rw-rw-r-- 1 jenkins jenkins 35433 May 16 20:09 go.sum 20:10:31 drwxrwxr-x 3 jenkins jenkins 4096 May 16 20:09 snap 20:10:31 -rw-rw-r-- 1 jenkins jenkins 713 May 16 20:09 version.go [Pipeline] isUnix [Pipeline] sh 20:10:31 + 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=22dd7cc6891c310929bd15537ed473a29469e419 --label arch=amd64 --label version=0.0.0 . 20:10:31 Sending build context to Docker daemon 10.64MB 20:10:31 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:10:31 Step 2/25 : FROM ${BASE} AS builder 20:10:31 ---> 6ddc64309ec2 20:10:31 Step 3/25 : ARG MAKE='make build' 20:10:31 ---> Running in 435560e42b23 20:10:31 Removing intermediate container 435560e42b23 20:10:31 ---> 0cc47af08048 20:10:31 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:31 ---> Running in b774c77609d3 20:10:31 Removing intermediate container b774c77609d3 20:10:31 ---> 4eb34e3c70c7 20:10:31 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:10:32 ---> Running in e66156658b46 20:10:32 Removing intermediate container e66156658b46 20:10:32 ---> 9973cdb1bba9 20:10:32 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:32 ---> Running in 607f95c6a8e2 20:10:32 Removing intermediate container 607f95c6a8e2 20:10:32 ---> c34b97c5d53b 20:10:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:32 ---> Running in 9c01b1854440 20:10:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:10:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:10:34 OK: 224 MiB in 56 packages 20:10:34 Removing intermediate container 9c01b1854440 20:10:34 ---> b7ddb8191f74 20:10:34 Step 8/25 : WORKDIR /device-rest-go 20:10:34 ---> Running in a68f20a38a46 20:10:34 Removing intermediate container a68f20a38a46 20:10:34 ---> 255b43753efe 20:10:34 Step 9/25 : COPY go.mod vendor* ./ 20:10:34 ---> 7cd9a689aadc 20:10:34 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:34 ---> Running in da3d345f4284 20:10:35 Removing intermediate container da3d345f4284 20:10:35 ---> 63f149440e19 20:10:35 Step 11/25 : COPY . . 20:10:35 ---> 9af142bd93e8 20:10:35 Step 12/25 : RUN $MAKE 20:10:35 ---> Running in 5a4fc850c4bf 20:10:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:10:57 Removing intermediate container 5a4fc850c4bf 20:10:57 ---> 2dc747da5878 20:10:57 Step 13/25 : FROM alpine:3.14 20:10:57 3.14: Pulling from library/alpine 20:10:57 8663204ce13b: Pulling fs layer 20:10:57 8663204ce13b: Verifying Checksum 20:10:57 8663204ce13b: Download complete 20:10:57 8663204ce13b: Pull complete 20:10:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:10:57 Status: Downloaded newer image for alpine:3.14 20:10:57 ---> e04c818066af 20:10:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:10:57 ---> Running in ca1c56a0c12e 20:10:57 Removing intermediate container ca1c56a0c12e 20:10:57 ---> 6eea20c69d78 20:10:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:10:57 ---> Running in b5a7b87b6c2c 20:10:57 Removing intermediate container b5a7b87b6c2c 20:10:57 ---> 1575d4aeddf1 20:10:57 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:10:57 ---> Running in 248773b976fc 20:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:10:57 (1/6) Installing dumb-init (1.2.5-r1) 20:10:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:10:57 (3/6) Installing libsodium (1.0.18-r0) 20:10:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:10:57 (5/6) Installing libzmq (4.3.4-r0) 20:10:57 (6/6) Installing zeromq (4.3.4-r0) 20:10:57 Executing busybox-1.33.1-r7.trigger 20:10:57 OK: 8 MiB in 20 packages 20:10:57 Removing intermediate container 248773b976fc 20:10:57 ---> 671217ab4f06 20:10:57 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:10:57 ---> 998e0a285623 20:10:57 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:10:57 ---> 3cadd5d8864c 20:10:57 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:10:57 ---> f8bf0f8e7679 20:10:57 Step 20/25 : EXPOSE 59986 20:10:57 ---> Running in 676f0a28e344 20:10:58 Removing intermediate container 676f0a28e344 20:10:58 ---> 4a6c62c325b2 20:10:58 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:10:58 ---> Running in 86a1827499b0 20:10:58 Removing intermediate container 86a1827499b0 20:10:58 ---> 6d2709631585 20:10:58 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:10:58 ---> Running in 34acf5bef20c 20:10:58 Removing intermediate container 34acf5bef20c 20:10:58 ---> e277ba5c7dfb 20:10:58 Step 23/25 : LABEL arch=amd64 20:10:58 ---> Running in 7caa7e5a5282 20:10:58 Removing intermediate container 7caa7e5a5282 20:10:58 ---> 86197e650aa6 20:10:58 Step 24/25 : LABEL git_sha=22dd7cc6891c310929bd15537ed473a29469e419 20:10:58 ---> Running in 84c1f5123960 20:10:58 Removing intermediate container 84c1f5123960 20:10:58 ---> 104aa0e51618 20:10:58 Step 25/25 : LABEL version=0.0.0 20:10:58 ---> Running in 12da05a6da50 20:10:58 Removing intermediate container 12da05a6da50 20:10:58 ---> 3c4240a56dec 20:10:58 [Warning] One or more build-args [ARCH] were not consumed 20:10:58 Successfully built 3c4240a56dec 20:10:58 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:59 20:10:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:10:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:59 latest: Pulling from edgex-lftools-log-publisher 20:10:59 5eb5b503b376: Pulling fs layer 20:10:59 5c69ac0246d0: Pulling fs layer 20:10:59 ec43610c2a17: Pulling fs layer 20:10:59 3a2ae6a8a46f: Pulling fs layer 20:10:59 33b1e0a273af: Pulling fs layer 20:10:59 5d3b04190fa2: Pulling fs layer 20:10:59 2f39f015ded8: Pulling fs layer 20:10:59 3a2ae6a8a46f: Waiting 20:10:59 5d3b04190fa2: Waiting 20:10:59 2f39f015ded8: Waiting 20:10:59 33b1e0a273af: Waiting 20:10:59 5c69ac0246d0: Download complete 20:10:59 3a2ae6a8a46f: Verifying Checksum 20:10:59 3a2ae6a8a46f: Download complete 20:10:59 33b1e0a273af: Verifying Checksum 20:10:59 33b1e0a273af: Download complete 20:10:59 5d3b04190fa2: Verifying Checksum 20:10:59 5d3b04190fa2: Download complete 20:10:59 ec43610c2a17: Verifying Checksum 20:11:00 5eb5b503b376: Verifying Checksum 20:11:00 5eb5b503b376: Download complete 20:11:00 2f39f015ded8: Download complete 20:11:01 5eb5b503b376: Pull complete 20:11:01 5c69ac0246d0: Pull complete 20:11:02 ec43610c2a17: Pull complete 20:11:02 3a2ae6a8a46f: Pull complete 20:11:02 33b1e0a273af: Pull complete 20:11:02 5d3b04190fa2: Pull complete 20:11:07 2f39f015ded8: Pull complete 20:11:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:11:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:11:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:11:07 prd-ubuntu20.04-docker-8c-8g-63852 does not seem to be running inside a container 20:11:07 $ 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-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:11:09 $ docker top 7dd564be9840f29e3177515703ebbb0613d3cf53d5a739b489c04ee9c887096c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:10 ---> job-cost.sh 20:11:10 lf-activate-venv: SKIPPING 20:11:10 INFO: No Stack... 20:11:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:11:10 INFO: Archiving Costs [Pipeline] sh 20:11:11 + cat /w/workspace/gexfoundry_device-rest-go_PR-190/archives/cost.csv 20:11:11 + cut -d, -f6 [Pipeline] lock 20:11:11 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-1-stack-cost] 20:11:11 Resource [jenkins-edgexfoundry-device-rest-go-PR-190-1-stack-cost] did not exist. Created. 20:11:11 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:11 + echo total: 0.2199999988079071 [Pipeline] stash 20:11:11 Stashed 1 file(s) [Pipeline] } 20:11:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:11:11 $ docker stop --time=1 7dd564be9840f29e3177515703ebbb0613d3cf53d5a739b489c04ee9c887096c 20:11:12 $ docker rm -f 7dd564be9840f29e3177515703ebbb0613d3cf53d5a739b489c04ee9c887096c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:13:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63853 in /w/workspace/gexfoundry_device-rest-go_PR-190 [Pipeline] { [Pipeline] ws 20:13:32 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:13:32 The recommended git tool is: git 20:13:39 using credential edgex-jenkins-ssh 20:13:39 Cloning the remote Git repository 20:13:39 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:13:39 > git init /w/workspace/device-rest-go/1 # timeout=10 20:13:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:13:39 > git --version # timeout=10 20:13:39 > git --version # 'git version 2.25.1' 20:13:39 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:13:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:13:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:13:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:13:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:13:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:13:42 Merging remotes/origin/main commit 99d2988c42a4468ca534e1bc92575890b1a7bdf5 into PR head commit 22dd7cc6891c310929bd15537ed473a29469e419 20:13:42 Merge succeeded, producing 22dd7cc6891c310929bd15537ed473a29469e419 20:13:42 Checking out Revision 22dd7cc6891c310929bd15537ed473a29469e419 (PR-190) 20:13:42 > git config core.sparsecheckout # timeout=10 20:13:42 > git checkout -f 22dd7cc6891c310929bd15537ed473a29469e419 # timeout=10 20:13:42 > git remote # timeout=10 20:13:42 > git config --get remote.origin.url # timeout=10 20:13:42 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:42 > git merge 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 20:13:42 > git rev-parse HEAD^{commit} # timeout=10 20:13:42 > git config core.sparsecheckout # timeout=10 20:13:42 > git checkout -f 22dd7cc6891c310929bd15537ed473a29469e419 # timeout=10 20:13:46 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0" 20:13:46 > git --version # timeout=10 20:13:46 > git --version # 'git version 2.25.1' 20:13:46 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:13:48 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:48 Dload Upload Total Spent Left Speed 20:13:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 93534 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh 20:13:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:13:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:13:48 + sudo tee /etc/docker/daemon.new 20:13:48 { 20:13:48 "registry-mirrors": [ 20:13:48 "https://nexus3.edgexfoundry.org:10001" 20:13:48 ], 20:13:48 "bip": "10.250.0.254/24", 20:13:48 "hosts": [ 20:13:48 "tcp://0.0.0.0:5555", 20:13:48 "unix:///var/run/docker.sock" 20:13:48 ], 20:13:48 "mtu": 1458, 20:13:48 "selinux-enabled": true, 20:13:48 "seccomp-profile": "/etc/docker/seccomp.json" 20:13:48 } [Pipeline] sh 20:13:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:13:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:08 provisioning config files... 20:14:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2294228584641012590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:08 ---> docker-login.sh 20:14:08 nexus3.edgexfoundry.org:10001 20:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:09 Configure a credential helper to remove this warning. See 20:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:09 20:14:09 Login Succeeded 20:14:09 nexus3.edgexfoundry.org:10002 20:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:10 Configure a credential helper to remove this warning. See 20:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:10 20:14:10 Login Succeeded 20:14:10 nexus3.edgexfoundry.org:10003 20:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:10 Configure a credential helper to remove this warning. See 20:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:10 20:14:10 Login Succeeded 20:14:10 nexus3.edgexfoundry.org:10004 20:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:11 Configure a credential helper to remove this warning. See 20:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:11 20:14:11 Login Succeeded 20:14:11 docker.io 20:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:12 Configure a credential helper to remove this warning. See 20:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:12 20:14:12 Login Succeeded 20:14:12 ---> docker-login.sh ends [Pipeline] } 20:14:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:12 ========================================================= 20:14:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:14:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:14:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:14:13 Sending build context to Docker daemon 128.5kB 20:14:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:14:13 Step 2/12 : FROM ${BASE} AS builder 20:14:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:14:13 9b3977197b4f: Pulling fs layer 20:14:13 1a89e8eeedd5: Pulling fs layer 20:14:13 94645a83ff95: Pulling fs layer 20:14:13 3f3a8bcf1eab: Pulling fs layer 20:14:13 0c92f367c5e7: Pulling fs layer 20:14:13 3096ccb668a1: Pulling fs layer 20:14:13 e8cf19c19ddd: Pulling fs layer 20:14:13 a4caa8a26152: Pulling fs layer 20:14:13 3f3a8bcf1eab: Waiting 20:14:13 0c92f367c5e7: Waiting 20:14:13 3096ccb668a1: Waiting 20:14:13 e8cf19c19ddd: Waiting 20:14:13 a4caa8a26152: Waiting 20:14:13 94645a83ff95: Download complete 20:14:13 1a89e8eeedd5: Verifying Checksum 20:14:13 1a89e8eeedd5: Download complete 20:14:13 0c92f367c5e7: Verifying Checksum 20:14:13 0c92f367c5e7: Download complete 20:14:13 3096ccb668a1: Verifying Checksum 20:14:13 3096ccb668a1: Download complete 20:14:13 e8cf19c19ddd: Verifying Checksum 20:14:13 e8cf19c19ddd: Download complete 20:14:13 9b3977197b4f: Download complete 20:14:14 9b3977197b4f: Pull complete 20:14:15 1a89e8eeedd5: Pull complete 20:14:15 94645a83ff95: Pull complete 20:14:16 a4caa8a26152: Verifying Checksum 20:14:16 a4caa8a26152: Download complete 20:14:16 3f3a8bcf1eab: Verifying Checksum 20:14:16 3f3a8bcf1eab: Download complete 20:14:29 3f3a8bcf1eab: Pull complete 20:14:29 0c92f367c5e7: Pull complete 20:14:29 3096ccb668a1: Pull complete 20:14:29 e8cf19c19ddd: Pull complete 20:14:34 a4caa8a26152: Pull complete 20:14:34 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:14:34 ---> 725f1c02e7f9 20:14:34 Step 3/12 : ARG MAKE='make build' 20:14:34 ---> Running in eb63bd90d4b9 20:14:35 Removing intermediate container eb63bd90d4b9 20:14:35 ---> 205ed721121d 20:14:35 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:14:35 ---> Running in 9e52d89660f1 20:14:35 Removing intermediate container 9e52d89660f1 20:14:35 ---> bbfa172f3690 20:14:35 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:14:35 ---> Running in af8a0165a63e 20:14:35 Removing intermediate container af8a0165a63e 20:14:35 ---> e6855aa481ec 20:14:35 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:36 ---> Running in 7d5377be6863 20:14:38 Removing intermediate container 7d5377be6863 20:14:38 ---> a2077aa5f80b 20:14:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:38 ---> Running in e1ec3b0ebe37 20:14:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:14:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:14:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:14:42 (2/4) Installing libedit (20210910.3.1-r0) 20:14:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:14:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:14:42 Executing busybox-1.34.1-r3.trigger 20:14:42 OK: 224 MiB in 56 packages 20:14:43 Removing intermediate container e1ec3b0ebe37 20:14:43 ---> d6c6c03c4603 20:14:43 Step 8/12 : WORKDIR /device-rest-go 20:14:43 ---> Running in ac8066a30d25 20:14:44 Removing intermediate container ac8066a30d25 20:14:44 ---> 27565c530099 20:14:44 Step 9/12 : COPY go.mod vendor* ./ 20:14:44 ---> 1b7f96bb2933 20:14:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:44 ---> Running in 534e6c1e11e2 20:15:31 Removing intermediate container 534e6c1e11e2 20:15:31 ---> 82943a7eab4b 20:15:31 Step 11/12 : COPY . . 20:15:31 ---> f1cc58abb9dc 20:15:31 Step 12/12 : RUN $MAKE 20:15:31 ---> Running in 871a5896ab69 20:15:31 noop 20:15:31 Removing intermediate container 871a5896ab69 20:15:31 ---> 7d8dc8fb6601 20:15:31 Successfully built 7d8dc8fb6601 20:15:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:15:32 + docker inspect -f . ci-base-image-arm64 20:15:32 . [Pipeline] withDockerContainer 20:15:32 prd-ubuntu20.04-docker-arm64-4c-16g-63853 does not seem to be running inside a container 20:15:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:15:33 $ docker top 58af5bf2d061b0a95d2f5fb631d3713c88a3ba4697c199585e56c548ae870a42 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:34 + go version 20:15:34 go version go1.17.6 linux/arm64 [Pipeline] } 20:15:34 $ docker stop --time=1 58af5bf2d061b0a95d2f5fb631d3713c88a3ba4697c199585e56c548ae870a42 20:15:36 $ docker rm -f 58af5bf2d061b0a95d2f5fb631d3713c88a3ba4697c199585e56c548ae870a42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:37 + docker inspect -f . ci-base-image-arm64 20:15:37 . [Pipeline] withDockerContainer 20:15:37 prd-ubuntu20.04-docker-arm64-4c-16g-63853 does not seem to be running inside a container 20:15:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:15:39 $ docker top 94d0ab89717308066f4895e06e8981416a0c4c7484ba8028f4a86ebccdde6460 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:15:40 + make test 20:15:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:15:42 ? github.com/edgexfoundry/device-rest-go [no test files] 20:17:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:17:19 ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements 20:17:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:17:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:17:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:17:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:17:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:17:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:17:46 $ docker stop --time=1 94d0ab89717308066f4895e06e8981416a0c4c7484ba8028f4a86ebccdde6460 20:17:48 $ docker rm -f 94d0ab89717308066f4895e06e8981416a0c4c7484ba8028f4a86ebccdde6460 [Pipeline] // withDockerContainer [Pipeline] sh 20:17:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:17:49 Warning: overwriting stash ‘coverage-report’ 20:17:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:17:50 + ls -al . 20:17:50 total 168 20:17:50 drwxrwxr-x 8 jenkins jenkins 4096 May 16 20:17 . 20:17:50 drwxrwxr-x 4 jenkins jenkins 4096 May 16 20:13 .. 20:17:50 -rw-rw-r-- 1 jenkins jenkins 151 May 16 20:13 .dockerignore 20:17:50 drwxrwxr-x 8 jenkins jenkins 4096 May 16 20:13 .git 20:17:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 20:13 .github 20:17:50 -rw-rw-r-- 1 jenkins jenkins 329 May 16 20:13 .gitignore 20:17:50 -rw-rw-r-- 1 jenkins jenkins 41 May 16 20:13 .golangci.yml 20:17:50 -rw-rw-r-- 1 jenkins jenkins 8463 May 16 20:13 Attribution.txt 20:17:50 -rw-rw-r-- 1 jenkins jenkins 11736 May 16 20:13 CHANGELOG.md 20:17:50 -rw-rw-r-- 1 jenkins jenkins 1672 May 16 20:13 Dockerfile 20:17:50 -rw-rw-r-- 1 jenkins jenkins 677 May 16 20:13 GOVERNANCE.md 20:17:50 -rw-rw-r-- 1 jenkins jenkins 680 May 16 20:13 Jenkinsfile 20:17:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 20:13 LICENSE 20:17:50 -rw-rw-r-- 1 jenkins jenkins 1977 May 16 20:13 Makefile 20:17:50 -rw-rw-r-- 1 jenkins jenkins 620 May 16 20:13 OWNERS.md 20:17:50 -rw-rw-r-- 1 jenkins jenkins 8003 May 16 20:13 README.md 20:17:50 -rw-rw-r-- 1 jenkins jenkins 5 May 16 20:09 VERSION 20:17:50 drwxrwxr-x 2 jenkins jenkins 4096 May 16 20:13 bin 20:17:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 20:13 cmd 20:17:50 -rw-r--r-- 1 jenkins jenkins 9355 May 16 20:17 coverage.out 20:17:50 drwxrwxr-x 2 jenkins jenkins 4096 May 16 20:13 driver 20:17:50 -rw-rw-r-- 1 jenkins jenkins 3287 May 16 20:13 go.mod 20:17:50 -rw-rw-r-- 1 jenkins jenkins 35433 May 16 20:13 go.sum 20:17:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 20:13 snap 20:17:50 -rw-rw-r-- 1 jenkins jenkins 713 May 16 20:13 version.go [Pipeline] isUnix [Pipeline] sh 20:17:51 + 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=22dd7cc6891c310929bd15537ed473a29469e419 --label arch=arm64 --label version=0.0.0 . 20:17:51 Sending build context to Docker daemon 138.8kB 20:17:51 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:17:51 Step 2/25 : FROM ${BASE} AS builder 20:17:51 ---> 7d8dc8fb6601 20:17:51 Step 3/25 : ARG MAKE='make build' 20:17:51 ---> Running in 33a804f6d9c2 20:17:51 Removing intermediate container 33a804f6d9c2 20:17:51 ---> f571a4f0bff9 20:17:51 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:17:51 ---> Running in 1e016a6dc895 20:17:52 Removing intermediate container 1e016a6dc895 20:17:52 ---> 75638bdc7cb7 20:17:52 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:17:52 ---> Running in ae9044ca06ad 20:17:52 Removing intermediate container ae9044ca06ad 20:17:52 ---> c36f0ad6e993 20:17:52 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:17:52 ---> Running in 5275eee3bfb4 20:17:54 Removing intermediate container 5275eee3bfb4 20:17:54 ---> 6ad036f17e55 20:17:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:54 ---> Running in 0ba0e7ceadd3 20:17:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:17:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:17:57 OK: 224 MiB in 56 packages 20:17:58 Removing intermediate container 0ba0e7ceadd3 20:17:58 ---> e2c55ffea8d4 20:17:58 Step 8/25 : WORKDIR /device-rest-go 20:17:58 ---> Running in cce657833aba 20:17:58 Removing intermediate container cce657833aba 20:17:58 ---> fd7ae08176ae 20:17:58 Step 9/25 : COPY go.mod vendor* ./ 20:17:59 ---> 0a3aea09e35a 20:17:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:59 ---> Running in 9714406cfa52 20:18:00 Removing intermediate container 9714406cfa52 20:18:00 ---> 5efc4ff1c59f 20:18:00 Step 11/25 : COPY . . 20:18:01 ---> 669ce58fa912 20:18:01 Step 12/25 : RUN $MAKE 20:18:01 ---> Running in cf7652722e91 20:18:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:20:25 Removing intermediate container cf7652722e91 20:20:25 ---> f28d236b2a3f 20:20:25 Step 13/25 : FROM alpine:3.14 20:20:25 3.14: Pulling from library/alpine 20:20:25 455c02918c45: Pulling fs layer 20:20:25 455c02918c45: Verifying Checksum 20:20:25 455c02918c45: Download complete 20:20:25 455c02918c45: Pull complete 20:20:25 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:20:25 Status: Downloaded newer image for alpine:3.14 20:20:25 ---> ac73e934f311 20:20:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:20:25 ---> Running in 321606448bb1 20:20:25 Removing intermediate container 321606448bb1 20:20:25 ---> 093e04a7f91a 20:20:25 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:20:25 ---> Running in 1efc4ff9ed69 20:20:25 Removing intermediate container 1efc4ff9ed69 20:20:25 ---> bb661024df61 20:20:25 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:20:25 ---> Running in e1a54d5df7d6 20:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:20:25 (1/6) Installing dumb-init (1.2.5-r1) 20:20:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:20:25 (3/6) Installing libsodium (1.0.18-r0) 20:20:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:20:25 (5/6) Installing libzmq (4.3.4-r0) 20:20:25 (6/6) Installing zeromq (4.3.4-r0) 20:20:25 Executing busybox-1.33.1-r7.trigger 20:20:25 OK: 8 MiB in 20 packages 20:20:25 Removing intermediate container e1a54d5df7d6 20:20:25 ---> 8368139aa63e 20:20:25 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:20:25 ---> d5281f83755e 20:20:25 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:20:25 ---> 24f43e9c6386 20:20:25 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:20:25 ---> bc479e31cb17 20:20:25 Step 20/25 : EXPOSE 59986 20:20:25 ---> Running in 40269245ea1d 20:20:25 Removing intermediate container 40269245ea1d 20:20:25 ---> 416010eb460b 20:20:25 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:20:25 ---> Running in 0066f892af8d 20:20:25 Removing intermediate container 0066f892af8d 20:20:25 ---> 9915cd38608a 20:20:25 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:20:25 ---> Running in aaed8e23743a 20:20:25 Removing intermediate container aaed8e23743a 20:20:25 ---> b3d5ac9739f5 20:20:25 Step 23/25 : LABEL arch=arm64 20:20:25 ---> Running in 4b65c6411da4 20:20:25 Removing intermediate container 4b65c6411da4 20:20:25 ---> 9d80dc287483 20:20:25 Step 24/25 : LABEL git_sha=22dd7cc6891c310929bd15537ed473a29469e419 20:20:25 ---> Running in c3bd842f828a 20:20:25 Removing intermediate container c3bd842f828a 20:20:25 ---> 4135acacc735 20:20:25 Step 25/25 : LABEL version=0.0.0 20:20:25 ---> Running in a7487772dae2 20:20:26 Removing intermediate container a7487772dae2 20:20:26 ---> 93a87c1afac2 20:20:26 [Warning] One or more build-args [ARCH] were not consumed 20:20:26 Successfully built 93a87c1afac2 20:20:26 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 20:20:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:26 20:20:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:20:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:27 arm64: Pulling from edgex-lftools-log-publisher 20:20:27 8998bd30e6a1: Pulling fs layer 20:20:27 04944245beec: Pulling fs layer 20:20:27 699f458cf7ca: Pulling fs layer 20:20:27 765212b225bb: Pulling fs layer 20:20:27 f23df028b6ca: Pulling fs layer 20:20:27 d65c8cfc05b1: Pulling fs layer 20:20:27 2437ff75d9bd: Pulling fs layer 20:20:27 765212b225bb: Waiting 20:20:27 f23df028b6ca: Waiting 20:20:27 d65c8cfc05b1: Waiting 20:20:27 2437ff75d9bd: Waiting 20:20:27 04944245beec: Verifying Checksum 20:20:27 04944245beec: Download complete 20:20:27 765212b225bb: Verifying Checksum 20:20:27 765212b225bb: Download complete 20:20:27 f23df028b6ca: Verifying Checksum 20:20:27 f23df028b6ca: Download complete 20:20:27 d65c8cfc05b1: Verifying Checksum 20:20:27 d65c8cfc05b1: Download complete 20:20:27 699f458cf7ca: Verifying Checksum 20:20:27 699f458cf7ca: Download complete 20:20:28 8998bd30e6a1: Verifying Checksum 20:20:28 8998bd30e6a1: Download complete 20:20:30 2437ff75d9bd: Verifying Checksum 20:20:30 2437ff75d9bd: Download complete 20:20:32 8998bd30e6a1: Pull complete 20:20:33 04944245beec: Pull complete 20:20:34 699f458cf7ca: Pull complete 20:20:34 765212b225bb: Pull complete 20:20:35 f23df028b6ca: Pull complete 20:20:35 d65c8cfc05b1: Pull complete 20:20:50 2437ff75d9bd: Pull complete 20:20:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:20:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:20:51 prd-ubuntu20.04-docker-arm64-4c-16g-63853 does not seem to be running inside a container 20:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:20:53 $ docker top 24ba6d2c0ae8d2ad61c82f6f7867d0cf67fcae62f97725c46e94218b748de9c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:54 ---> job-cost.sh 20:20:54 lf-activate-venv: SKIPPING 20:20:54 INFO: No Stack... 20:20:55 INFO: Retrieving Pricing Info for: v3-standard-4 20:20:56 INFO: Archiving Costs [Pipeline] sh 20:20:57 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:20:57 + cut -d, -f6 [Pipeline] lock 20:20:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-1-stack-cost] 20:20:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-190-1-stack-cost] did not exist. Created. 20:20:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:20:58 /w/workspace/device-rest-go/1@tmp/durable-25937d19/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:20:58 + echo total: 0.10999999940395355 [Pipeline] stash 20:20:58 Warning: overwriting stash ‘stack-cost’ 20:20:58 Stashed 1 file(s) [Pipeline] } 20:20:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:20:58 $ docker stop --time=1 24ba6d2c0ae8d2ad61c82f6f7867d0cf67fcae62f97725c46e94218b748de9c0 20:21:00 $ docker rm -f 24ba6d2c0ae8d2ad61c82f6f7867d0cf67fcae62f97725c46e94218b748de9c0 [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 20:21:01 provisioning config files... 20:21:01 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config3570605545003896832tmp [Pipeline] { [Pipeline] sh 20:21:02 + set +x 20:21:02 + bash -s -- 20:21:02 + curl -s https://codecov.io/bash 20:21:02 20:21:02 _____ _ 20:21:02 / ____| | | 20:21:02 | | ___ __| | ___ ___ _____ __ 20:21:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:21:02 | |___| (_) | (_| | __/ (_| (_) \ V / 20:21:02 \_____\___/ \__,_|\___|\___\___/ \_/ 20:21:02 Bash-1.0.6 20:21:02 20:21:02 20:21:02 ==> git version 2.25.1 found 20:21:02 ==> 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 20:21:02 Release-Date: 2020-01-08 20:21:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:21:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:21:02 ==> Jenkins CI detected. 20:21:02 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-190 20:21:02 project root: . 20:21:02 --> token set from env 20:21:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:21:02 ==> Running gcov in . (disable via -X gcov) 20:21:02 ==> Python coveragepy not found 20:21:02 ==> Searching for coverage reports in: 20:21:02 + . 20:21:02 -> Found 1 reports 20:21:02 ==> Detecting git/mercurial file structure 20:21:02 ==> Reading reports 20:21:02 + ./coverage.out bytes=9355 20:21:02 ==> Appending adjustments 20:21:02 https://docs.codecov.io/docs/fixing-reports 20:21:02 + Found adjustments 20:21:02 ==> Gzipping contents 20:21:02 4.0K /tmp/codecov.fk8i6w.gz 20:21:02 ==> Uploading reports 20:21:02 url: https://codecov.io 20:21:02 query: branch=PR-190&commit=22dd7cc6891c310929bd15537ed473a29469e419&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= 20:21:02 -> Pinging Codecov 20:21:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-190&commit=22dd7cc6891c310929bd15537ed473a29469e419&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= 20:21:02 -> Uploading to 20:21:02 https://storage.googleapis.com/codecov/v4/raw/2022-05-16/4E5D53B4F1F92C436F7061BF334D961C/22dd7cc6891c310929bd15537ed473a29469e419/f5d22899-cfbb-4692-a230-019379e83eb8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220516T202102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f54bd1b28bb4591bf4d8798721106daa8064ec04389699928b52c397f00c75b0 20:21:02 % Total % Received % Xferd Average Speed Time Time Time Current 20:21:02 Dload Upload Total Spent Left Speed 20:21:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 6789 --:--:-- --:--:-- --:--:-- 6789 20:21:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/22dd7cc6891c310929bd15537ed473a29469e419 [Pipeline] } 20:21:02 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 20:21:04 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-190/archives ] 20:21:04 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives 20:21:04 total 16 20:21:04 drwxr-xr-x 3 root root 4096 May 16 20:11 . 20:21:04 drwxrwxr-x 10 jenkins jenkins 4096 May 16 20:11 .. 20:21:04 drwxr-xr-x 2 root root 4096 May 16 20:11 cost 20:21:04 -rw-r--r-- 1 root root 85 May 16 20:11 cost.csv 20:21:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-190/archives 20:21:04 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives 20:21:04 total 16 20:21:04 drwxr-xr-x 3 jenkins jenkins 4096 May 16 20:11 . 20:21:04 drwxrwxr-x 10 jenkins jenkins 4096 May 16 20:11 .. 20:21:04 drwxr-xr-x 2 jenkins jenkins 4096 May 16 20:11 cost 20:21:04 -rw-r--r-- 1 jenkins jenkins 85 May 16 20:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:21:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:21:05 ---> package-listing.sh 20:21:05 ++ facter osfamily 20:21:05 ++ tr '[:upper:]' '[:lower:]' 20:21:06 + OS_FAMILY=debian 20:21:06 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-190 20:21:06 + START_PACKAGES=/tmp/packages_start.txt 20:21:06 + END_PACKAGES=/tmp/packages_end.txt 20:21:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:21:06 + PACKAGES=/tmp/packages_start.txt 20:21:06 + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' 20:21:06 + PACKAGES=/tmp/packages_end.txt 20:21:06 + case "${OS_FAMILY}" in 20:21:06 + dpkg -l 20:21:06 + grep '^ii' 20:21:06 + '[' -f /tmp/packages_start.txt ']' 20:21:06 + '[' -f /tmp/packages_end.txt ']' 20:21:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:21:06 + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' 20:21:06 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ 20:21:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ [Pipeline] echo 20:21:06 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-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:21:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:21:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:21:07 . [Pipeline] withDockerContainer 20:21:07 prd-ubuntu20.04-docker-8c-8g-63852 does not seem to be running inside a container 20:21:07 $ 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-190/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-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:21:07 $ docker top 7bcf3f3f5c6e7e68c38355c43376c83504b56582b09cbfaa7aee8342a1861d1c -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:07 + touch /tmp/pre-build-complete [Pipeline] sh 20:21:08 + mkdir -p /var/log/sysstat [Pipeline] sh 20:21:08 + ls /var/log/sa-host 20:21:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:08 provisioning config files... 20:21:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config8079585034329744222tmp [Pipeline] { [Pipeline] echo 20:21:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:21:09 ---> create-netrc.sh [Pipeline] } 20:21:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:21:09 ---> python-tools-install.sh [Pipeline] echo 20:21:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:21:09 ---> sudo-logs.sh 20:21:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:21:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:21:10 ---> job-cost.sh 20:21:10 lf-activate-venv: SKIPPING 20:21:10 DEBUG: total: 0.2199999988079071 20:21:10 INFO: Retrieving Stack Cost... 20:21:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:21:11 INFO: Archiving Costs [Pipeline] echo 20:21:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:21:11 ---> logs-deploy.sh 20:21:11 lf-activate-venv: SKIPPING 20:21:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-190/1 20:21:11 INFO: archiving workspace using pattern(s): 20:21:12 Archives upload complete. 20:21:12 INFO: archiving logs to Nexus