cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 970cf146fa6a294cb89ac37a37482cebec6dc33c+1b7989097685cbbb7d11325d5e96f20d406e46c7 (57db7947a0418bbf432b2f9bb2c8440640a8b1a2) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12303070698215193035.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17855285275469124516.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-187/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-187/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17212295235282524694.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5200865494499311501.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-187/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-187/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12511127806858937005.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-44804 in /w/workspace/gexfoundry_device-rest-go_PR-187 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" > git rev-list --no-walk 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:38:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:38:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:38:07 ========================================================= 00:38:07 EdgeX Global Pipelines Version Info 00:38:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:38:07 ------------------- 00:38:07 stable info: 00:38:07 ------------------- 00:38:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:38:07 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 00:38:07 Message: update stable to v1.0.227 00:38:08 ------------------- 00:38:08 experimental info: 00:38:08 ------------------- 00:38:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:38:08 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 00:38:08 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo 00:38:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo 00:38:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 00:38:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 970cf14 [Pipeline] echo 00:38:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:38:09 provisioning config files... 00:38:09 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config7679442407225697054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:38:09 ---> docker-login.sh 00:38:09 nexus3.edgexfoundry.org:10001 00:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:09 Configure a credential helper to remove this warning. See 00:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:09 00:38:09 Login Succeeded 00:38:09 nexus3.edgexfoundry.org:10002 00:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:09 Configure a credential helper to remove this warning. See 00:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:09 00:38:09 Login Succeeded 00:38:09 nexus3.edgexfoundry.org:10003 00:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:10 Configure a credential helper to remove this warning. See 00:38:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:10 00:38:10 Login Succeeded 00:38:10 nexus3.edgexfoundry.org:10004 00:38:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:10 Configure a credential helper to remove this warning. See 00:38:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:10 00:38:10 Login Succeeded 00:38:10 docker.io 00:38:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:10 Configure a credential helper to remove this warning. See 00:38:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:10 00:38:10 Login Succeeded 00:38:10 ---> docker-login.sh ends [Pipeline] } 00:38:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:38:11 + git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 00:38:11 -----------> git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c 970cf146fa6a294cb89ac37a37482cebec6dc33c [false] [Pipeline] sh 00:38:11 + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 00:38:11 ========================================================= 00:38:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:38:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:38:12 + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 00:38:12 [semverPrep] GIT_COMMIT: 970cf146fa6a294cb89ac37a37482cebec6dc33c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 00:38:12 [semverPrep] This is not a build commit. [Pipeline] sh 00:38:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:38:12 + grep -v github /etc/ssh/ssh_known_hosts 00:38:12 + [ -e /tmp/ssh_known_hosts ] 00:38:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:38:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:38:12 + sudo tee -a /etc/ssh/ssh_known_hosts 00:38:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:38:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:38:12 00:38:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:38:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:38:13 latest: Pulling from edgex-devops/py-git-semver 00:38:13 1fe172e4850f: Pulling fs layer 00:38:13 caf521ccaac6: Pulling fs layer 00:38:13 3ead6fa29328: Pulling fs layer 00:38:13 5c2a1cbceb83: Pulling fs layer 00:38:13 a8d5f1318db7: Pulling fs layer 00:38:13 c427282e49a2: Pulling fs layer 00:38:13 1827001aaf11: Pulling fs layer 00:38:13 0714d37db230: Pulling fs layer 00:38:13 ac28cf19c067: Pulling fs layer 00:38:13 ca983d60f3e2: Pulling fs layer 00:38:13 9f894cec8388: Pulling fs layer 00:38:13 a8d5f1318db7: Waiting 00:38:13 c427282e49a2: Waiting 00:38:13 1827001aaf11: Waiting 00:38:13 0714d37db230: Waiting 00:38:13 9f894cec8388: Waiting 00:38:13 ac28cf19c067: Waiting 00:38:13 5c2a1cbceb83: Waiting 00:38:13 caf521ccaac6: Download complete 00:38:13 5c2a1cbceb83: Verifying Checksum 00:38:13 5c2a1cbceb83: Download complete 00:38:13 a8d5f1318db7: Verifying Checksum 00:38:13 a8d5f1318db7: Download complete 00:38:13 3ead6fa29328: Verifying Checksum 00:38:13 3ead6fa29328: Download complete 00:38:13 c427282e49a2: Download complete 00:38:13 0714d37db230: Download complete 00:38:13 ac28cf19c067: Verifying Checksum 00:38:13 ac28cf19c067: Download complete 00:38:13 ca983d60f3e2: Verifying Checksum 00:38:13 ca983d60f3e2: Download complete 00:38:13 9f894cec8388: Verifying Checksum 00:38:13 9f894cec8388: Download complete 00:38:13 1fe172e4850f: Verifying Checksum 00:38:13 1fe172e4850f: Download complete 00:38:14 1827001aaf11: Verifying Checksum 00:38:14 1827001aaf11: Download complete 00:38:14 1fe172e4850f: Pull complete 00:38:14 caf521ccaac6: Pull complete 00:38:15 3ead6fa29328: Pull complete 00:38:15 5c2a1cbceb83: Pull complete 00:38:16 a8d5f1318db7: Pull complete 00:38:16 c427282e49a2: Pull complete 00:38:18 1827001aaf11: Pull complete 00:38:18 0714d37db230: Pull complete 00:38:18 ac28cf19c067: Pull complete 00:38:18 ca983d60f3e2: Pull complete 00:38:18 9f894cec8388: Pull complete 00:38:18 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:38:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:38:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 00:38:18 prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container 00:38:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:38:20 $ docker top 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 -eo pid,comm 00:38:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:38:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:38:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:38:20 [ssh-agent] Looking for ssh-agent implementation... 00:38:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:38:21 $ docker exec 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 ssh-agent 00:38:21 SSH_AUTH_SOCK=/tmp/ssh-toBaADp6qonH/agent.33 00:38:21 SSH_AGENT_PID=40 00:38:21 Running ssh-add (command line suppressed) 00:38:21 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_2914255387704022650.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_2914255387704022650.key) 00:38:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:38:21 + git tag --points-at HEAD [Pipeline] } 00:38:21 $ docker exec --env ******** --env ******** 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 ssh-agent -k 00:38:21 unset SSH_AUTH_SOCK; 00:38:21 unset SSH_AGENT_PID; 00:38:21 echo Agent pid 40 killed; 00:38:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:38:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:38:21 [ssh-agent] Looking for ssh-agent implementation... 00:38:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:38:21 $ docker exec 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 ssh-agent 00:38:22 SSH_AUTH_SOCK=/tmp/ssh-gfIiNxSUDikZ/agent.75 00:38:22 SSH_AGENT_PID=81 00:38:22 Running ssh-add (command line suppressed) 00:38:22 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_4981049507051046400.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_4981049507051046400.key) 00:38:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:38:22 + git semver init 00:38:22 2022-05-10 00:38:22,664 [run_init] DEBUG init version:0.0.0 force:False 00:38:22 2022-05-10 00:38:22,665 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver 00:38:22 2022-05-10 00:38:22,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-187/.semver 00:38:22 2022-05-10 00:38:22,666 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-187/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187, universal_newlines=False, shell=None, istream=None) 00:38:23 2022-05-10 00:38:23,651 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.git/info/exclude 00:38:23 2022-05-10 00:38:23,652 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 with force:False 00:38:23 2022-05-10 00:38:23,652 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 00:38:23 2022-05-10 00:38:23,657 [execute] INFO git cat-file --batch-check 00:38:23 2022-05-10 00:38:23,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) 00:38:23 2022-05-10 00:38:23,664 [execute] INFO git cat-file --batch 00:38:23 2022-05-10 00:38:23,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) 00:38:23 2022-05-10 00:38:23,673 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 00:38:23 0.0.0 [Pipeline] } 00:38:23 $ docker exec --env ******** --env ******** 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 ssh-agent -k 00:38:24 unset SSH_AUTH_SOCK; 00:38:24 unset SSH_AGENT_PID; 00:38:24 echo Agent pid 81 killed; 00:38:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:38:24 + git semver [Pipeline] } 00:38:24 $ docker stop --time=1 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 00:38:26 $ docker rm -f 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 [Pipeline] // withDockerContainer [Pipeline] sh 00:38:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:38:26 Stashed 1 file(s) [Pipeline] echo 00:38:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:38:27 provisioning config files... 00:38:27 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config5023300761134145174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:38:27 ---> docker-login.sh 00:38:27 nexus3.edgexfoundry.org:10001 00:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:27 Configure a credential helper to remove this warning. See 00:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:27 00:38:27 Login Succeeded 00:38:27 nexus3.edgexfoundry.org:10002 00:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:27 Configure a credential helper to remove this warning. See 00:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:27 00:38:27 Login Succeeded 00:38:27 nexus3.edgexfoundry.org:10003 00:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:27 Configure a credential helper to remove this warning. See 00:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:27 00:38:27 Login Succeeded 00:38:27 nexus3.edgexfoundry.org:10004 00:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:27 Configure a credential helper to remove this warning. See 00:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:27 00:38:27 Login Succeeded 00:38:27 docker.io 00:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:28 Configure a credential helper to remove this warning. See 00:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:28 00:38:28 Login Succeeded 00:38:28 ---> docker-login.sh ends [Pipeline] } 00:38:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:38:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:38:28 ========================================================= 00:38:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:38:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:38:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 00:38:28 Sending build context to Docker daemon 10.62MB 00:38:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:38:28 Step 2/12 : FROM ${BASE} AS builder 00:38:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:38:28 59bf1c3509f3: Pulling fs layer 00:38:28 666ba61612fd: Pulling fs layer 00:38:28 8ed8ca486205: Pulling fs layer 00:38:28 4fe6c5a15a65: Pulling fs layer 00:38:28 22a0e8bec74d: Pulling fs layer 00:38:28 ca2b28591e48: Pulling fs layer 00:38:28 a51346096db8: Pulling fs layer 00:38:28 daebc70d1ce1: Pulling fs layer 00:38:28 0e18a0eac166: Pulling fs layer 00:38:28 a51346096db8: Waiting 00:38:28 ca2b28591e48: Waiting 00:38:28 daebc70d1ce1: Waiting 00:38:28 0e18a0eac166: Waiting 00:38:28 4fe6c5a15a65: Waiting 00:38:28 8ed8ca486205: Verifying Checksum 00:38:28 8ed8ca486205: Download complete 00:38:28 666ba61612fd: Verifying Checksum 00:38:28 666ba61612fd: Download complete 00:38:28 22a0e8bec74d: Download complete 00:38:28 ca2b28591e48: Verifying Checksum 00:38:28 ca2b28591e48: Download complete 00:38:28 59bf1c3509f3: Verifying Checksum 00:38:28 a51346096db8: Verifying Checksum 00:38:28 a51346096db8: Download complete 00:38:28 daebc70d1ce1: Verifying Checksum 00:38:28 daebc70d1ce1: Download complete 00:38:28 59bf1c3509f3: Pull complete 00:38:29 666ba61612fd: Pull complete 00:38:29 8ed8ca486205: Pull complete 00:38:29 0e18a0eac166: Verifying Checksum 00:38:29 0e18a0eac166: Download complete 00:38:29 4fe6c5a15a65: Verifying Checksum 00:38:29 4fe6c5a15a65: Download complete 00:38:33 4fe6c5a15a65: Pull complete 00:38:33 22a0e8bec74d: Pull complete 00:38:33 ca2b28591e48: Pull complete 00:38:33 a51346096db8: Pull complete 00:38:33 daebc70d1ce1: Pull complete 00:38:35 0e18a0eac166: Pull complete 00:38:35 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:38:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:38:35 ---> f018257e8ee9 00:38:35 Step 3/12 : ARG MAKE='make build' 00:38:37 ---> Running in 9c42a49f47da 00:38:37 Removing intermediate container 9c42a49f47da 00:38:37 ---> d90abd3a4e6e 00:38:37 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:38:37 ---> Running in 503b04d8ecf1 00:38:37 Removing intermediate container 503b04d8ecf1 00:38:37 ---> 029ff86a4a6d 00:38:37 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:38:37 ---> Running in fe16974cbe8a 00:38:37 Removing intermediate container fe16974cbe8a 00:38:37 ---> b855481adc89 00:38:37 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:38:37 ---> Running in 8352c2dcd6b6 00:38:38 Removing intermediate container 8352c2dcd6b6 00:38:38 ---> 53afa059d87d 00:38:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:38:38 ---> Running in 865a441f930d 00:38:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:38:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:38:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:38:40 (2/4) Installing libedit (20210910.3.1-r0) 00:38:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:38:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:38:40 Executing busybox-1.34.1-r3.trigger 00:38:40 OK: 224 MiB in 56 packages 00:38:41 Removing intermediate container 865a441f930d 00:38:41 ---> fb40361428c9 00:38:41 Step 8/12 : WORKDIR /device-rest-go 00:38:41 ---> Running in 4158c1c12710 00:38:41 Removing intermediate container 4158c1c12710 00:38:41 ---> e4fc23b4d063 00:38:41 Step 9/12 : COPY go.mod vendor* ./ 00:38:41 ---> c1b838f26304 00:38:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:38:41 ---> Running in 075cce505428 00:38:42 Still waiting to schedule task 00:38:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-44801’ 00:38:59 Removing intermediate container 075cce505428 00:38:59 ---> 2c954f69a719 00:38:59 Step 11/12 : COPY . . 00:38:59 ---> ca0b522c8ef0 00:38:59 Step 12/12 : RUN $MAKE 00:38:59 ---> Running in 6c79a06eaa62 00:38:59 noop 00:38:59 Removing intermediate container 6c79a06eaa62 00:38:59 ---> 8997004135cb 00:38:59 Successfully built 8997004135cb 00:38:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:39:00 + docker inspect -f . ci-base-image-x86_64 00:39:00 . [Pipeline] withDockerContainer 00:39:00 prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container 00:39:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:39:00 $ docker top d59846868464b2684bf96f9f35884780a4ebd43046e353e35ab329d9ab2b0b8d -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:00 + go version 00:39:00 go version go1.17.6 linux/amd64 [Pipeline] } 00:39:00 $ docker stop --time=1 d59846868464b2684bf96f9f35884780a4ebd43046e353e35ab329d9ab2b0b8d 00:39:02 $ docker rm -f d59846868464b2684bf96f9f35884780a4ebd43046e353e35ab329d9ab2b0b8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:39:02 + docker inspect -f . ci-base-image-x86_64 00:39:02 . [Pipeline] withDockerContainer 00:39:02 prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container 00:39:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:39:03 $ docker top f7af3d235f235da1598d89f41111ff623be17664088277cf80f76a1b23a31902 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:39:03 + make test 00:39:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:39:03 ? github.com/edgexfoundry/device-rest-go [no test files] 00:39:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:39:13 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 00:39:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:39:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:39:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:39:23 ./bin/test-attribution-txt.sh [Pipeline] echo 00:39:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:39:24 $ docker stop --time=1 f7af3d235f235da1598d89f41111ff623be17664088277cf80f76a1b23a31902 00:39:26 $ docker rm -f f7af3d235f235da1598d89f41111ff623be17664088277cf80f76a1b23a31902 [Pipeline] // withDockerContainer [Pipeline] sh 00:39:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:39:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:39:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:39:27 + ls -al . 00:39:27 total 168 00:39:27 drwxrwxr-x 9 jenkins jenkins 4096 May 10 00:39 . 00:39:27 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:38 .. 00:39:27 -rw-rw-r-- 1 jenkins jenkins 151 May 10 00:38 .dockerignore 00:39:27 drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:38 .git 00:39:27 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:38 .github 00:39:27 -rw-rw-r-- 1 jenkins jenkins 329 May 10 00:38 .gitignore 00:39:27 -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:38 .golangci.yml 00:39:27 drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:38 .semver 00:39:27 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 00:38 Attribution.txt 00:39:27 -rw-rw-r-- 1 jenkins jenkins 7459 May 10 00:38 CHANGELOG.md 00:39:27 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 00:38 Dockerfile 00:39:27 -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:38 GOVERNANCE.md 00:39:27 -rw-rw-r-- 1 jenkins jenkins 680 May 10 00:38 Jenkinsfile 00:39:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:38 LICENSE 00:39:27 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 00:38 Makefile 00:39:27 -rw-rw-r-- 1 jenkins jenkins 620 May 10 00:38 OWNERS.md 00:39:27 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 00:38 README.md 00:39:27 -rw-rw-r-- 1 jenkins jenkins 5 May 10 00:38 VERSION 00:39:27 drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:38 bin 00:39:27 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:38 cmd 00:39:27 -rw-r--r-- 1 jenkins jenkins 9355 May 10 00:39 coverage.out 00:39:27 drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:38 driver 00:39:27 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 00:38 go.mod 00:39:27 -rw-rw-r-- 1 jenkins jenkins 35377 May 10 00:38 go.sum 00:39:27 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:38 snap 00:39:27 -rw-rw-r-- 1 jenkins jenkins 713 May 10 00:38 version.go [Pipeline] isUnix [Pipeline] sh 00:39:27 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=amd64 --label version=0.0.0 . 00:39:27 Sending build context to Docker daemon 10.63MB 00:39:27 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:39:27 Step 2/25 : FROM ${BASE} AS builder 00:39:27 ---> 8997004135cb 00:39:27 Step 3/25 : ARG MAKE='make build' 00:39:28 ---> Running in 402de067f31f 00:39:28 Removing intermediate container 402de067f31f 00:39:28 ---> 66ef4f41b012 00:39:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:39:28 ---> Running in 3f90cb49ceac 00:39:28 Removing intermediate container 3f90cb49ceac 00:39:28 ---> 55952d2603cf 00:39:28 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:39:28 ---> Running in 2b9996b0f154 00:39:28 Removing intermediate container 2b9996b0f154 00:39:28 ---> 7ebba8f1579d 00:39:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:39:28 ---> Running in fd7e45acf5ed 00:39:29 Removing intermediate container fd7e45acf5ed 00:39:29 ---> 6ea287072235 00:39:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:39:29 ---> Running in 63c0e40b6bd7 00:39:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:39:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:39:30 OK: 224 MiB in 56 packages 00:39:31 Removing intermediate container 63c0e40b6bd7 00:39:31 ---> bc92f98bcee4 00:39:31 Step 8/25 : WORKDIR /device-rest-go 00:39:31 ---> Running in 9b1ba937e21d 00:39:31 Removing intermediate container 9b1ba937e21d 00:39:31 ---> 87859a8f4bd3 00:39:31 Step 9/25 : COPY go.mod vendor* ./ 00:39:31 ---> 8bbafdbfe8cd 00:39:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:39:31 ---> Running in b6061e0560d1 00:39:32 Removing intermediate container b6061e0560d1 00:39:32 ---> bb7d17145c14 00:39:32 Step 11/25 : COPY . . 00:39:32 ---> 55657f8fbdef 00:39:32 Step 12/25 : RUN $MAKE 00:39:32 ---> Running in d148fa6d9a37 00:39:33 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 00:39:54 Removing intermediate container d148fa6d9a37 00:39:54 ---> c47f17a3e41e 00:39:54 Step 13/25 : FROM alpine:3.14 00:39:54 3.14: Pulling from library/alpine 00:39:54 8663204ce13b: Pulling fs layer 00:39:54 error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e0/e04c818066afe78a0c9379f62ec65aece28566024fd348242de92760293454b8/data?verify=1652146193-r2glCQ7HgbM0KAYOZpNeaittc7Y%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:39:55 00:39:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:39:55 latest: Pulling from edgex-lftools-log-publisher 00:39:55 5eb5b503b376: Pulling fs layer 00:39:55 5c69ac0246d0: Pulling fs layer 00:39:55 ec43610c2a17: Pulling fs layer 00:39:55 3a2ae6a8a46f: Pulling fs layer 00:39:55 33b1e0a273af: Pulling fs layer 00:39:55 5d3b04190fa2: Pulling fs layer 00:39:55 2f39f015ded8: Pulling fs layer 00:39:55 3a2ae6a8a46f: Waiting 00:39:55 33b1e0a273af: Waiting 00:39:55 5d3b04190fa2: Waiting 00:39:55 2f39f015ded8: Waiting 00:39:55 5c69ac0246d0: Download complete 00:39:55 3a2ae6a8a46f: Verifying Checksum 00:39:55 3a2ae6a8a46f: Download complete 00:39:55 33b1e0a273af: Verifying Checksum 00:39:55 33b1e0a273af: Download complete 00:39:55 5d3b04190fa2: Verifying Checksum 00:39:55 5d3b04190fa2: Download complete 00:39:55 ec43610c2a17: Verifying Checksum 00:39:55 ec43610c2a17: Download complete 00:39:55 5eb5b503b376: Verifying Checksum 00:39:55 5eb5b503b376: Download complete 00:39:56 2f39f015ded8: Verifying Checksum 00:39:56 2f39f015ded8: Download complete 00:39:57 5eb5b503b376: Pull complete 00:39:57 5c69ac0246d0: Pull complete 00:39:58 ec43610c2a17: Pull complete 00:39:58 3a2ae6a8a46f: Pull complete 00:39:58 33b1e0a273af: Pull complete 00:39:58 5d3b04190fa2: Pull complete 00:40:02 2f39f015ded8: Pull complete 00:40:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:40:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:40:02 prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container 00:40:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:40:05 $ docker top 3eea81305c13a14552000bf07577daa1534c4790caccd5c6bf06b183428ed17d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:05 ---> job-cost.sh 00:40:05 lf-activate-venv: SKIPPING 00:40:05 INFO: No Stack... 00:40:06 INFO: Retrieving Pricing Info for: v3-standard-8 00:40:06 INFO: Archiving Costs [Pipeline] sh 00:40:07 + + catcut /w/workspace/gexfoundry_device-rest-go_PR-187/archives/cost.csv -d, 00:40:07 -f6 [Pipeline] lock 00:40:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] 00:40:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] did not exist. Created. 00:40:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:40:07 + echo total: 0.2199999988079071 [Pipeline] stash 00:40:07 Stashed 1 file(s) [Pipeline] } 00:40:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:40:07 $ docker stop --time=1 3eea81305c13a14552000bf07577daa1534c4790caccd5c6bf06b183428ed17d 00:40:08 $ docker rm -f 3eea81305c13a14552000bf07577daa1534c4790caccd5c6bf06b183428ed17d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:40:08 Failed in branch amd64 00:42:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44805 in /w/workspace/gexfoundry_device-rest-go_PR-187 [Pipeline] { [Pipeline] ws 00:42:23 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 00:42:23 The recommended git tool is: git 00:42:29 using credential edgex-jenkins-ssh 00:42:29 Cloning the remote Git repository 00:42:29 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:42:29 > git init /w/workspace/device-rest-go/2 # timeout=10 00:42:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:42:30 > git --version # timeout=10 00:42:30 > git --version # 'git version 2.25.1' 00:42:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:42:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:42:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:42:32 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:42:32 Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c 00:42:33 Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c 00:42:33 Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) 00:42:32 > git config core.sparsecheckout # timeout=10 00:42:32 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 00:42:32 > git remote # timeout=10 00:42:32 > git config --get remote.origin.url # timeout=10 00:42:32 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:32 > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 00:42:33 > git rev-parse HEAD^{commit} # timeout=10 00:42:33 > git config core.sparsecheckout # timeout=10 00:42:33 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 00:42:37 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:42:38 % Total % Received % Xferd Average Speed Time Time Time Current 00:42:38 Dload Upload Total Spent Left Speed 00:42:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh 00:42:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:42:39 + sudo tee /etc/docker/daemon.new 00:42:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:42:39 { 00:42:39 "registry-mirrors": [ 00:42:39 "https://nexus3.edgexfoundry.org:10001" 00:42:39 ], 00:42:39 "bip": "10.250.0.254/24", 00:42:39 "hosts": [ 00:42:39 "tcp://0.0.0.0:5555", 00:42:39 "unix:///var/run/docker.sock" 00:42:39 ], 00:42:39 "mtu": 1458, 00:42:39 "selinux-enabled": true, 00:42:39 "seccomp-profile": "/etc/docker/seccomp.json" 00:42:39 } [Pipeline] sh 00:42:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:42:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:58 provisioning config files... 00:42:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2288175823711079833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:58 ---> docker-login.sh 00:42:58 nexus3.edgexfoundry.org:10001 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:00 Configure a credential helper to remove this warning. See 00:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:00 00:43:00 Login Succeeded 00:43:00 nexus3.edgexfoundry.org:10002 00:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:00 Configure a credential helper to remove this warning. See 00:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:00 00:43:00 Login Succeeded 00:43:00 nexus3.edgexfoundry.org:10003 00:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:00 Configure a credential helper to remove this warning. See 00:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:00 00:43:00 Login Succeeded 00:43:00 nexus3.edgexfoundry.org:10004 00:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:01 Configure a credential helper to remove this warning. See 00:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:01 00:43:01 Login Succeeded 00:43:01 docker.io 00:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:02 Configure a credential helper to remove this warning. See 00:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:02 00:43:02 Login Succeeded 00:43:02 ---> docker-login.sh ends [Pipeline] } 00:43:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:03 ========================================================= 00:43:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:43:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:43:03 + 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 . 00:43:03 Sending build context to Docker daemon 124.4kB 00:43:03 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:43:03 Step 2/12 : FROM ${BASE} AS builder 00:43:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:43:04 9b3977197b4f: Pulling fs layer 00:43:04 1a89e8eeedd5: Pulling fs layer 00:43:04 94645a83ff95: Pulling fs layer 00:43:04 3f3a8bcf1eab: Pulling fs layer 00:43:04 0c92f367c5e7: Pulling fs layer 00:43:04 3096ccb668a1: Pulling fs layer 00:43:04 e8cf19c19ddd: Pulling fs layer 00:43:04 a4caa8a26152: Pulling fs layer 00:43:04 3f3a8bcf1eab: Waiting 00:43:04 0c92f367c5e7: Waiting 00:43:04 3096ccb668a1: Waiting 00:43:04 e8cf19c19ddd: Waiting 00:43:04 a4caa8a26152: Waiting 00:43:04 94645a83ff95: Verifying Checksum 00:43:04 94645a83ff95: Download complete 00:43:04 1a89e8eeedd5: Verifying Checksum 00:43:04 1a89e8eeedd5: Download complete 00:43:04 0c92f367c5e7: Download complete 00:43:04 3096ccb668a1: Verifying Checksum 00:43:04 3096ccb668a1: Download complete 00:43:04 9b3977197b4f: Download complete 00:43:04 e8cf19c19ddd: Verifying Checksum 00:43:04 e8cf19c19ddd: Download complete 00:43:05 9b3977197b4f: Pull complete 00:43:05 1a89e8eeedd5: Pull complete 00:43:05 94645a83ff95: Pull complete 00:43:06 a4caa8a26152: Verifying Checksum 00:43:06 a4caa8a26152: Download complete 00:43:06 3f3a8bcf1eab: Verifying Checksum 00:43:06 3f3a8bcf1eab: Download complete 00:43:19 3f3a8bcf1eab: Pull complete 00:43:19 0c92f367c5e7: Pull complete 00:43:20 3096ccb668a1: Pull complete 00:43:20 e8cf19c19ddd: Pull complete 00:43:27 a4caa8a26152: Pull complete 00:43:27 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:43:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:43:27 ---> 725f1c02e7f9 00:43:27 Step 3/12 : ARG MAKE='make build' 00:43:28 ---> Running in d295e9d02aff 00:43:28 Removing intermediate container d295e9d02aff 00:43:28 ---> 29670386fc89 00:43:28 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:43:28 ---> Running in 591ddcccb4e3 00:43:30 Removing intermediate container 591ddcccb4e3 00:43:30 ---> 53da4199e033 00:43:30 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:43:30 ---> Running in 603899d82cd0 00:43:30 Removing intermediate container 603899d82cd0 00:43:30 ---> da817adc2488 00:43:30 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:30 ---> Running in a6df4060b044 00:43:32 Removing intermediate container a6df4060b044 00:43:32 ---> 16722d65a67e 00:43:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:32 ---> Running in b63a99f7f1ac 00:43:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:43:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:43:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:43:35 (2/4) Installing libedit (20210910.3.1-r0) 00:43:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:43:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:43:36 Executing busybox-1.34.1-r3.trigger 00:43:36 OK: 224 MiB in 56 packages 00:43:37 Removing intermediate container b63a99f7f1ac 00:43:37 ---> 78e831e70476 00:43:37 Step 8/12 : WORKDIR /device-rest-go 00:43:37 ---> Running in 91a6554b9efe 00:43:37 Removing intermediate container 91a6554b9efe 00:43:37 ---> 6e1c605a9487 00:43:37 Step 9/12 : COPY go.mod vendor* ./ 00:43:38 ---> 3d24f1e5bda8 00:43:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:38 ---> Running in 73bb4fac75ba 00:44:35 Removing intermediate container 73bb4fac75ba 00:44:35 ---> e781e4378c0f 00:44:35 Step 11/12 : COPY . . 00:44:35 ---> 21de73192a51 00:44:35 Step 12/12 : RUN $MAKE 00:44:35 ---> Running in 6f521c61c60c 00:44:35 noop 00:44:35 Removing intermediate container 6f521c61c60c 00:44:35 ---> e3733a0913eb 00:44:35 Successfully built e3733a0913eb 00:44:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:44:35 + docker inspect -f . ci-base-image-arm64 00:44:35 . [Pipeline] withDockerContainer 00:44:35 prd-ubuntu20.04-docker-arm64-4c-16g-44805 does not seem to be running inside a container 00:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:44:37 $ docker top 107c51d968896fdbba0622d0891db1c68ebf2e3e9133cfab2f4d3e982d016aa2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:38 + go version 00:44:38 go version go1.17.6 linux/arm64 [Pipeline] } 00:44:38 $ docker stop --time=1 107c51d968896fdbba0622d0891db1c68ebf2e3e9133cfab2f4d3e982d016aa2 00:44:39 $ docker rm -f 107c51d968896fdbba0622d0891db1c68ebf2e3e9133cfab2f4d3e982d016aa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:44:40 + docker inspect -f . ci-base-image-arm64 00:44:40 . [Pipeline] withDockerContainer 00:44:40 prd-ubuntu20.04-docker-arm64-4c-16g-44805 does not seem to be running inside a container 00:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:44:42 $ docker top 9aa1d0e7bd418f697962711363176d10a125a0ed909125a8d76f418bb430a138 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:44:43 + make test 00:44:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:44:45 ? github.com/edgexfoundry/device-rest-go [no test files] 00:46:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:46:22 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements 00:46:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:46:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:46:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:46:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:46:44 ./bin/test-attribution-txt.sh [Pipeline] echo 00:46:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:46:45 $ docker stop --time=1 9aa1d0e7bd418f697962711363176d10a125a0ed909125a8d76f418bb430a138 00:46:47 $ docker rm -f 9aa1d0e7bd418f697962711363176d10a125a0ed909125a8d76f418bb430a138 [Pipeline] // withDockerContainer [Pipeline] sh 00:46:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:46:48 Warning: overwriting stash ‘coverage-report’ 00:46:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:46:50 + ls -al . 00:46:50 total 164 00:46:50 drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:46 . 00:46:50 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:42 .. 00:46:50 -rw-rw-r-- 1 jenkins jenkins 151 May 10 00:42 .dockerignore 00:46:50 drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:42 .git 00:46:50 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:42 .github 00:46:50 -rw-rw-r-- 1 jenkins jenkins 329 May 10 00:42 .gitignore 00:46:50 -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:42 .golangci.yml 00:46:50 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 00:42 Attribution.txt 00:46:50 -rw-rw-r-- 1 jenkins jenkins 7459 May 10 00:42 CHANGELOG.md 00:46:50 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 00:42 Dockerfile 00:46:50 -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:42 GOVERNANCE.md 00:46:50 -rw-rw-r-- 1 jenkins jenkins 680 May 10 00:42 Jenkinsfile 00:46:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:42 LICENSE 00:46:50 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 00:42 Makefile 00:46:50 -rw-rw-r-- 1 jenkins jenkins 620 May 10 00:42 OWNERS.md 00:46:50 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 00:42 README.md 00:46:50 -rw-rw-r-- 1 jenkins jenkins 5 May 10 00:38 VERSION 00:46:50 drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:42 bin 00:46:50 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:42 cmd 00:46:50 -rw-r--r-- 1 jenkins jenkins 9355 May 10 00:46 coverage.out 00:46:50 drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:42 driver 00:46:50 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 00:42 go.mod 00:46:50 -rw-rw-r-- 1 jenkins jenkins 35377 May 10 00:42 go.sum 00:46:50 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:42 snap 00:46:50 -rw-rw-r-- 1 jenkins jenkins 713 May 10 00:42 version.go [Pipeline] isUnix [Pipeline] sh 00:46:50 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=arm64 --label version=0.0.0 . 00:46:50 Sending build context to Docker daemon 134.7kB 00:46:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:46:50 Step 2/25 : FROM ${BASE} AS builder 00:46:50 ---> e3733a0913eb 00:46:50 Step 3/25 : ARG MAKE='make build' 00:46:50 ---> Running in 5e0e7d1710e7 00:46:51 Removing intermediate container 5e0e7d1710e7 00:46:51 ---> f5fb8efacf51 00:46:51 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:46:51 ---> Running in a43325ce079a 00:46:51 Removing intermediate container a43325ce079a 00:46:51 ---> 88108f426d43 00:46:51 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:46:51 ---> Running in 00ae2c8245e1 00:46:52 Removing intermediate container 00ae2c8245e1 00:46:52 ---> 2ac91f2e32f0 00:46:52 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:46:52 ---> Running in 95d656d2fc67 00:46:54 Removing intermediate container 95d656d2fc67 00:46:54 ---> d6c0d488aff2 00:46:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:54 ---> Running in 5ae46ce694cb 00:46:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:46:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:46:57 OK: 224 MiB in 56 packages 00:46:58 Removing intermediate container 5ae46ce694cb 00:46:58 ---> 1a87ad553dca 00:46:58 Step 8/25 : WORKDIR /device-rest-go 00:46:58 ---> Running in 4b2e4b092a5b 00:46:58 Removing intermediate container 4b2e4b092a5b 00:46:58 ---> 382176dd938b 00:46:58 Step 9/25 : COPY go.mod vendor* ./ 00:46:59 ---> 09e212f1e744 00:46:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:59 ---> Running in 923080d6642d 00:47:02 Removing intermediate container 923080d6642d 00:47:02 ---> ac38ddb7c515 00:47:02 Step 11/25 : COPY . . 00:47:02 ---> 2a9eee5f1bbf 00:47:02 Step 12/25 : RUN $MAKE 00:47:02 ---> Running in da73360168e7 00:47: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 00:49:25 Removing intermediate container da73360168e7 00:49:25 ---> 1b40f02bfaa3 00:49:25 Step 13/25 : FROM alpine:3.14 00:49:25 3.14: Pulling from library/alpine 00:49:25 455c02918c45: Pulling fs layer 00:49:25 455c02918c45: Verifying Checksum 00:49:25 455c02918c45: Download complete 00:49:25 455c02918c45: Pull complete 00:49:25 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:49:25 Status: Downloaded newer image for alpine:3.14 00:49:25 ---> ac73e934f311 00:49:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:49:25 ---> Running in 0fe481779394 00:49:25 Removing intermediate container 0fe481779394 00:49:25 ---> 4a50458adb19 00:49:25 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:49:25 ---> Running in dcb45e8ba6b5 00:49:25 Removing intermediate container dcb45e8ba6b5 00:49:25 ---> d771890c42a5 00:49:25 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:49:25 ---> Running in 99926a0d4d64 00:49:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:49:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:49:25 (1/6) Installing dumb-init (1.2.5-r1) 00:49:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:49:25 (3/6) Installing libsodium (1.0.18-r0) 00:49:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:49:25 (5/6) Installing libzmq (4.3.4-r0) 00:49:25 (6/6) Installing zeromq (4.3.4-r0) 00:49:25 Executing busybox-1.33.1-r7.trigger 00:49:25 OK: 8 MiB in 20 packages 00:49:25 Removing intermediate container 99926a0d4d64 00:49:25 ---> 5a8bced220bb 00:49:25 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:49:25 ---> 4f1ab4e16de2 00:49:25 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:49:25 ---> 73092ab1c302 00:49:25 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:49:25 ---> f697c1bbe965 00:49:25 Step 20/25 : EXPOSE 59986 00:49:25 ---> Running in 2aef3e9a7e20 00:49:25 Removing intermediate container 2aef3e9a7e20 00:49:25 ---> 486da92c9574 00:49:25 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:49:25 ---> Running in 98612a14ea56 00:49:26 Removing intermediate container 98612a14ea56 00:49:26 ---> dd55fdbdfd3f 00:49:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:49:26 ---> Running in d5b8a6888582 00:49:26 Removing intermediate container d5b8a6888582 00:49:26 ---> 046c7ce9d486 00:49:26 Step 23/25 : LABEL arch=arm64 00:49:26 ---> Running in f513b2f93a22 00:49:27 Removing intermediate container f513b2f93a22 00:49:27 ---> bbab5e58fb87 00:49:27 Step 24/25 : LABEL git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c 00:49:27 ---> Running in f5b29ec97ca0 00:49:27 Removing intermediate container f5b29ec97ca0 00:49:27 ---> 4285b7663c13 00:49:27 Step 25/25 : LABEL version=0.0.0 00:49:27 ---> Running in 19b731dde245 00:49:27 Removing intermediate container 19b731dde245 00:49:27 ---> 0dc803ce9548 00:49:27 [Warning] One or more build-args [ARCH] were not consumed 00:49:27 Successfully built 0dc803ce9548 00:49:27 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 00:49:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:28 00:49:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:49:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:29 arm64: Pulling from edgex-lftools-log-publisher 00:49:29 8998bd30e6a1: Pulling fs layer 00:49:29 04944245beec: Pulling fs layer 00:49:29 699f458cf7ca: Pulling fs layer 00:49:29 765212b225bb: Pulling fs layer 00:49:29 f23df028b6ca: Pulling fs layer 00:49:29 d65c8cfc05b1: Pulling fs layer 00:49:29 2437ff75d9bd: Pulling fs layer 00:49:29 765212b225bb: Waiting 00:49:29 f23df028b6ca: Waiting 00:49:29 d65c8cfc05b1: Waiting 00:49:29 2437ff75d9bd: Waiting 00:49:29 04944245beec: Verifying Checksum 00:49:29 04944245beec: Download complete 00:49:29 765212b225bb: Verifying Checksum 00:49:29 765212b225bb: Download complete 00:49:29 f23df028b6ca: Download complete 00:49:29 d65c8cfc05b1: Download complete 00:49:29 699f458cf7ca: Verifying Checksum 00:49:29 699f458cf7ca: Download complete 00:49:29 8998bd30e6a1: Verifying Checksum 00:49:29 8998bd30e6a1: Download complete 00:49:32 2437ff75d9bd: Verifying Checksum 00:49:32 2437ff75d9bd: Download complete 00:49:33 8998bd30e6a1: Pull complete 00:49:34 04944245beec: Pull complete 00:49:35 699f458cf7ca: Pull complete 00:49:36 765212b225bb: Pull complete 00:49:37 f23df028b6ca: Pull complete 00:49:37 d65c8cfc05b1: Pull complete 00:49:52 2437ff75d9bd: Pull complete 00:49:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:49:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:49:52 prd-ubuntu20.04-docker-arm64-4c-16g-44805 does not seem to be running inside a container 00:49:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:49:55 $ docker top 35935de0a92936e0af3bb234e141f4c51ebf9ed61d553d93ef456e981c8fb5ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:56 ---> job-cost.sh 00:49:56 lf-activate-venv: SKIPPING 00:49:56 INFO: No Stack... 00:49:57 INFO: Retrieving Pricing Info for: v3-standard-4 00:49:57 INFO: Archiving Costs [Pipeline] sh 00:49:58 + + cut -d, -f6 00:49:58 cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 00:49:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] 00:49:58 Resource [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] did not exist. Created. 00:49:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:49:59 /w/workspace/device-rest-go/2@tmp/durable-4f387427/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:49:59 + echo total: 0.10999999940395355 [Pipeline] stash 00:49:59 Warning: overwriting stash ‘stack-cost’ 00:50:00 Stashed 1 file(s) [Pipeline] } 00:50:00 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:50:00 $ docker stop --time=1 35935de0a92936e0af3bb234e141f4c51ebf9ed61d553d93ef456e981c8fb5ee 00:50:01 $ docker rm -f 35935de0a92936e0af3bb234e141f4c51ebf9ed61d553d93ef456e981c8fb5ee [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:50:02 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-187/archives ] 00:50:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives 00:50:02 total 16 00:50:02 drwxr-xr-x 3 root root 4096 May 10 00:40 . 00:50:02 drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:40 .. 00:50:02 drwxr-xr-x 2 root root 4096 May 10 00:40 cost 00:50:02 -rw-r--r-- 1 root root 85 May 10 00:40 cost.csv 00:50:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-187/archives 00:50:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives 00:50:02 total 16 00:50:02 drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:40 . 00:50:02 drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:40 .. 00:50:02 drwxr-xr-x 2 jenkins jenkins 4096 May 10 00:40 cost 00:50:02 -rw-r--r-- 1 jenkins jenkins 85 May 10 00:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:50:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:50:03 ---> package-listing.sh 00:50:03 ++ facter osfamily 00:50:03 ++ tr '[:upper:]' '[:lower:]' 00:50:04 + OS_FAMILY=debian 00:50:04 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-187 00:50:04 + START_PACKAGES=/tmp/packages_start.txt 00:50:04 + END_PACKAGES=/tmp/packages_end.txt 00:50:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:50:04 + PACKAGES=/tmp/packages_start.txt 00:50:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' 00:50:04 + PACKAGES=/tmp/packages_end.txt 00:50:04 + case "${OS_FAMILY}" in 00:50:04 + dpkg -l 00:50:04 + grep '^ii' 00:50:04 + '[' -f /tmp/packages_start.txt ']' 00:50:04 + '[' -f /tmp/packages_end.txt ']' 00:50:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:50:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' 00:50:04 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ 00:50:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ [Pipeline] echo 00:50:04 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:50:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:50:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:04 . [Pipeline] withDockerContainer 00:50:05 prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container 00:50:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:50:05 $ docker top 008b0fd421883c7d66c67f0024b4440ff539a8a1cf58be1b7df47b04d3ce5d58 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:05 + touch /tmp/pre-build-complete [Pipeline] sh 00:50:05 + mkdir -p /var/log/sysstat [Pipeline] sh 00:50:06 + ls /var/log/sa-host 00:50:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:06 provisioning config files... 00:50:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config7620831495605793165tmp [Pipeline] { [Pipeline] echo 00:50:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:50:06 ---> create-netrc.sh [Pipeline] } 00:50:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:50:07 ---> python-tools-install.sh [Pipeline] echo 00:50:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:50:07 ---> sudo-logs.sh 00:50:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:50:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:50:07 ---> job-cost.sh 00:50:07 lf-activate-venv: SKIPPING 00:50:07 DEBUG: total: 0.2199999988079071 00:50:07 INFO: Retrieving Stack Cost... 00:50:08 INFO: Retrieving Pricing Info for: v3-standard-8 00:50:08 INFO: Archiving Costs [Pipeline] echo 00:50:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:50:08 ---> logs-deploy.sh 00:50:08 lf-activate-venv: SKIPPING 00:50:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-187/2 00:50:08 INFO: archiving workspace using pattern(s): 00:50:09 Archives upload complete. 00:50:09 INFO: archiving logs to Nexus