Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Obtained Jenkinsfile from 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4+e449f7094e73ba5d0241c87d9e59db3ba8d69b80 (d28c947217d252556890e04de73ff44b8161884c) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2585133401976545416.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6432702437062979599.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-110/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-110/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2880827841656278144.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3321088675148846848.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-110/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-110/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3933989682887511302.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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: [[centos7-docker-4c-2g, ubuntu18.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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-310 in /w/workspace/gexfoundry_device-rest-go_PR-110 [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-110 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-110@tmp/jenkins-gitclient-ssh8271993009993296246.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e449f7094e73ba5d0241c87d9e59db3ba8d69b80 into PR head commit 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 Merge succeeded, producing 7d1e1fd6766ee151dacfe73b0f00a3ab9092097a Checking out Revision 7d1e1fd6766ee151dacfe73b0f00a3ab9092097a (PR-110) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-110@tmp/jenkins-gitclient-ssh2272097974092300523.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 # timeout=10 > git remote # timeout=10 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-110@tmp/jenkins-gitclient-ssh1077393000410447639.key > git merge e449f7094e73ba5d0241c87d9e59db3ba8d69b80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d1e1fd6766ee151dacfe73b0f00a3ab9092097a # timeout=10 Commit message: "Merge commit 'e449f7094e73ba5d0241c87d9e59db3ba8d69b80' into HEAD" > git rev-list --no-walk 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-03T15:10:04.766Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-03T15:10:04.864Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-03T15:10:04.898Z] ========================================================= [2021-06-03T15:10:04.898Z] EdgeX Global Pipelines Version Info [2021-06-03T15:10:04.898Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:10:06.336Z] ------------------- [2021-06-03T15:10:06.336Z] stable info: [2021-06-03T15:10:06.336Z] ------------------- [2021-06-03T15:10:06.336Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-03T15:10:06.336Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T15:10:06.336Z] Message: update stable to v1.0.193 [2021-06-03T15:10:06.916Z] ------------------- [2021-06-03T15:10:06.916Z] experimental info: [2021-06-03T15:10:06.916Z] ------------------- [2021-06-03T15:10:06.916Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-03T15:10:06.916Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T15:10:06.916Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-03T15:10:07.100Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-03T15:10:07.148Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-03T15:10:07.193Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-03T15:10:07.243Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-03T15:10:07.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-03T15:10:07.344Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-03T15:10:07.394Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-03T15:10:07.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-03T15:10:07.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-03T15:10:07.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-03T15:10:07.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-03T15:10:07.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-03T15:10:07.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-03T15:10:07.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-03T15:10:07.654Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-03T15:10:07.684Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-03T15:10:07.706Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T15:10:07.729Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T15:10:07.757Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-03T15:10:07.779Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-03T15:10:07.800Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-03T15:10:07.822Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-03T15:10:07.844Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-03T15:10:07.866Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-03T15:10:07.888Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-03T15:10:07.937Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-03T15:10:07.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-110 [Pipeline] echo [2021-06-03T15:10:07.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-110 [Pipeline] echo [2021-06-03T15:10:08.009Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-110 [Pipeline] echo [2021-06-03T15:10:08.039Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d1e1fd6766ee151dacfe73b0f00a3ab9092097a [Pipeline] echo [2021-06-03T15:10:08.061Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d1e1fd [Pipeline] echo [2021-06-03T15:10:08.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T15:10:08.163Z] provisioning config files... [2021-06-03T15:10:08.181Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-110@tmp/config9182639502502401424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:10:08.506Z] ---> docker-login.sh [2021-06-03T15:10:08.506Z] nexus3.edgexfoundry.org:10001 [2021-06-03T15:10:08.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:10:09.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:10:09.032Z] Configure a credential helper to remove this warning. See [2021-06-03T15:10:09.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:10:09.032Z] [2021-06-03T15:10:09.032Z] Login Succeeded [2021-06-03T15:10:09.032Z] nexus3.edgexfoundry.org:10002 [2021-06-03T15:10:09.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:10:09.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:10:09.032Z] Configure a credential helper to remove this warning. See [2021-06-03T15:10:09.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:10:09.032Z] [2021-06-03T15:10:09.032Z] Login Succeeded [2021-06-03T15:10:09.032Z] nexus3.edgexfoundry.org:10003 [2021-06-03T15:10:09.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:10:09.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:10:09.295Z] Configure a credential helper to remove this warning. See [2021-06-03T15:10:09.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:10:09.295Z] [2021-06-03T15:10:09.295Z] Login Succeeded [2021-06-03T15:10:09.295Z] nexus3.edgexfoundry.org:10004 [2021-06-03T15:10:09.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:10:09.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:10:09.295Z] Configure a credential helper to remove this warning. See [2021-06-03T15:10:09.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:10:09.295Z] [2021-06-03T15:10:09.295Z] Login Succeeded [2021-06-03T15:10:09.295Z] docker.io [2021-06-03T15:10:09.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:10:09.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:10:09.824Z] Configure a credential helper to remove this warning. See [2021-06-03T15:10:09.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:10:09.824Z] [2021-06-03T15:10:09.824Z] Login Succeeded [2021-06-03T15:10:09.824Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T15:10:09.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T15:10:10.379Z] + git log --format=format:%s -1 7d1e1fd6766ee151dacfe73b0f00a3ab9092097a [Pipeline] echo [2021-06-03T15:10:10.416Z] GIT_COMMIT: 7d1e1fd6766ee151dacfe73b0f00a3ab9092097a, Commit Message: Merge commit 'e449f7094e73ba5d0241c87d9e59db3ba8d69b80' into HEAD [Pipeline] echo [2021-06-03T15:10:10.431Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:10:11.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T15:10:11.383Z] [2021-06-03T15:10:11.383Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:10:11.710Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T15:10:11.711Z] latest: Pulling from edgex-devops/git-semver [2021-06-03T15:10:11.711Z] 31603596830f: Pulling fs layer [2021-06-03T15:10:11.711Z] 54011a49482f: Pulling fs layer [2021-06-03T15:10:11.711Z] a6820b24f6d8: Pulling fs layer [2021-06-03T15:10:11.711Z] f581987b2513: Pulling fs layer [2021-06-03T15:10:11.711Z] f581987b2513: Waiting [2021-06-03T15:10:11.711Z] 54011a49482f: Verifying Checksum [2021-06-03T15:10:11.711Z] 54011a49482f: Download complete [2021-06-03T15:10:11.975Z] 31603596830f: Verifying Checksum [2021-06-03T15:10:11.976Z] 31603596830f: Download complete [2021-06-03T15:10:12.240Z] f581987b2513: Verifying Checksum [2021-06-03T15:10:12.240Z] f581987b2513: Download complete [2021-06-03T15:10:12.240Z] a6820b24f6d8: Verifying Checksum [2021-06-03T15:10:12.240Z] a6820b24f6d8: Download complete [2021-06-03T15:10:12.240Z] 31603596830f: Pull complete [2021-06-03T15:10:12.501Z] 54011a49482f: Pull complete [2021-06-03T15:10:13.077Z] a6820b24f6d8: Pull complete [2021-06-03T15:10:13.339Z] f581987b2513: Pull complete [2021-06-03T15:10:13.339Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-03T15:10:13.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T15:10:13.339Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-03T15:10:13.431Z] prd-centos7-docker-4c-2g-310 does not seem to be running inside a container [2021-06-03T15:10:13.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-110 -v /w/workspace/gexfoundry_device-rest-go_PR-110:/w/workspace/gexfoundry_device-rest-go_PR-110:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-110@tmp:/w/workspace/gexfoundry_device-rest-go_PR-110@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:10004/edgex-devops/git-semver:latest cat [2021-06-03T15:10:14.824Z] $ docker top cf010648f343df9ff1a3d61f35aa9fc25b8bef3c04a0d63d1650b72d1f578411 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-03T15:10:14.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-03T15:10:14.942Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-03T15:10:15.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-03T15:10:15.061Z] $ docker exec cf010648f343df9ff1a3d61f35aa9fc25b8bef3c04a0d63d1650b72d1f578411 ssh-agent [2021-06-03T15:10:15.182Z] SSH_AUTH_SOCK=/tmp/ssh-2v7XquEhgkgs/agent.15 [2021-06-03T15:10:15.182Z] SSH_AGENT_PID=21 [2021-06-03T15:10:15.190Z] Running ssh-add (command line suppressed) [2021-06-03T15:10:15.285Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-110@tmp/private_key_3776857164266533722.key (/w/workspace/gexfoundry_device-rest-go_PR-110@tmp/private_key_3776857164266533722.key) [2021-06-03T15:10:15.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-03T15:10:15.612Z] + git tag --points-at HEAD [Pipeline] } [2021-06-03T15:10:15.624Z] $ docker exec --env ******** --env ******** cf010648f343df9ff1a3d61f35aa9fc25b8bef3c04a0d63d1650b72d1f578411 ssh-agent -k [2021-06-03T15:10:15.714Z] unset SSH_AUTH_SOCK; [2021-06-03T15:10:15.714Z] unset SSH_AGENT_PID; [2021-06-03T15:10:15.715Z] echo Agent pid 21 killed; [2021-06-03T15:10:15.732Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-03T15:10:15.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-03T15:10:15.774Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-03T15:10:15.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-03T15:10:15.890Z] $ docker exec cf010648f343df9ff1a3d61f35aa9fc25b8bef3c04a0d63d1650b72d1f578411 ssh-agent [2021-06-03T15:10:16.001Z] SSH_AUTH_SOCK=/tmp/ssh-hHD1kiaGOMFq/agent.55 [2021-06-03T15:10:16.001Z] SSH_AGENT_PID=62 [2021-06-03T15:10:16.007Z] Running ssh-add (command line suppressed) [2021-06-03T15:10:16.108Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-110@tmp/private_key_2289939723998220774.key (/w/workspace/gexfoundry_device-rest-go_PR-110@tmp/private_key_2289939723998220774.key) [2021-06-03T15:10:16.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-03T15:10:16.431Z] + git semver init [2021-06-03T15:10:16.431Z] # -> Open(): unable to determine branch for HEAD [2021-06-03T15:10:16.431Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-110/.git [2021-06-03T15:10:16.431Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-110 [2021-06-03T15:10:16.431Z] # $SEMVER_REMOTE_NAME = origin [2021-06-03T15:10:16.431Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-03T15:10:16.431Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-03T15:10:16.431Z] # $SEMVER_BRANCH = PR-110 [2021-06-03T15:10:16.431Z] # $SEMVER_TEMP = /tmp/semver-688609503 [2021-06-03T15:10:16.431Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-03T15:10:17.388Z] # '/tmp/semver-688609503' -> '/w/workspace/gexfoundry_device-rest-go_PR-110/.semver' [2021-06-03T15:10:17.388Z] # -> Force: false [2021-06-03T15:10:17.388Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-110/.semver [Pipeline] } [2021-06-03T15:10:17.394Z] $ docker exec --env ******** --env ******** cf010648f343df9ff1a3d61f35aa9fc25b8bef3c04a0d63d1650b72d1f578411 ssh-agent -k [2021-06-03T15:10:17.500Z] unset SSH_AUTH_SOCK; [2021-06-03T15:10:17.500Z] unset SSH_AGENT_PID; [2021-06-03T15:10:17.500Z] echo Agent pid 62 killed; [2021-06-03T15:10:17.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-03T15:10:17.858Z] + git semver [Pipeline] } [2021-06-03T15:10:17.871Z] $ docker stop --time=1 cf010648f343df9ff1a3d61f35aa9fc25b8bef3c04a0d63d1650b72d1f578411 [2021-06-03T15:10:19.783Z] $ docker rm -f cf010648f343df9ff1a3d61f35aa9fc25b8bef3c04a0d63d1650b72d1f578411 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T15:10:20.156Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-03T15:10:20.426Z] Stashed 1 file(s) [Pipeline] echo [2021-06-03T15:10:20.429Z] [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] node [Pipeline] node [2021-06-03T15:10:35.677Z] Still waiting to schedule task [2021-06-03T15:10:35.678Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-03T15:10:35.678Z] ‘prd-centos7-builder-2c-1g-309’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-03T15:10:35.678Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-06-03T15:10:35.678Z] ‘prd-centos7-docker-4c-2g-312’ is offline [2021-06-03T15:10:35.679Z] Still waiting to schedule task [2021-06-03T15:10:35.679Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-03T15:10:46.195Z] Running on prd-centos7-docker-4c-2g-312 in /w/workspace/gexfoundry_device-rest-go_PR-110 [Pipeline] { [Pipeline] ws [2021-06-03T15:10:46.216Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-06-03T15:10:46.347Z] The recommended git tool is: git [2021-06-03T15:10:48.593Z] using credential edgex-jenkins-ssh [2021-06-03T15:10:48.618Z] Cloning the remote Git repository [2021-06-03T15:10:48.651Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T15:10:48.742Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-06-03T15:10:48.781Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T15:10:48.781Z] > git --version # timeout=10 [2021-06-03T15:10:48.790Z] > git --version # 'git version 2.24.4' [2021-06-03T15:10:48.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T15:10:48.819Z] [INFO] Currently running in a labeled security context [2021-06-03T15:10:48.819Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T15:10:48.819Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh5427384534935204851.key [2021-06-03T15:10:48.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T15:10:51.470Z] Merging remotes/origin/master commit e449f7094e73ba5d0241c87d9e59db3ba8d69b80 into PR head commit 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 [2021-06-03T15:10:51.563Z] Merge succeeded, producing 0056217a08a02dd5528c871b32d39fe47ba1e14b [2021-06-03T15:10:51.563Z] Checking out Revision 0056217a08a02dd5528c871b32d39fe47ba1e14b (PR-110) [2021-06-03T15:10:51.023Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-03T15:10:51.030Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T15:10:51.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-03T15:10:51.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T15:10:51.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T15:10:51.056Z] [INFO] Currently running in a labeled security context [2021-06-03T15:10:51.057Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T15:10:51.057Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh3891146288446514397.key [2021-06-03T15:10:51.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-03T15:10:51.477Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T15:10:51.487Z] > git checkout -f 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 # timeout=10 [2021-06-03T15:10:51.511Z] > git remote # timeout=10 [2021-06-03T15:10:51.516Z] > git config --get remote.origin.url # timeout=10 [2021-06-03T15:10:51.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T15:10:51.527Z] [INFO] Currently running in a labeled security context [2021-06-03T15:10:51.527Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T15:10:51.527Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh5571412930192423853.key [2021-06-03T15:10:51.534Z] > git merge e449f7094e73ba5d0241c87d9e59db3ba8d69b80 # timeout=10 [2021-06-03T15:10:51.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-03T15:10:51.561Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T15:10:51.568Z] > git checkout -f 0056217a08a02dd5528c871b32d39fe47ba1e14b # timeout=10 [2021-06-03T15:10:55.118Z] Commit message: "Merge commit 'e449f7094e73ba5d0241c87d9e59db3ba8d69b80' into HEAD" [2021-06-03T15:10:55.117Z] > git rev-list --no-walk 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T15:10:56.177Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-03T15:10:56.501Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-03T15:10:56.797Z] + sudo service docker restart [2021-06-03T15:10:56.797Z] + true [2021-06-03T15:10:56.797Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T15:11:14.997Z] provisioning config files... [2021-06-03T15:11:15.017Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config8970729187231305720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:11:15.353Z] ---> docker-login.sh [2021-06-03T15:11:15.353Z] nexus3.edgexfoundry.org:10001 [2021-06-03T15:11:15.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:11:15.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:11:15.615Z] Configure a credential helper to remove this warning. See [2021-06-03T15:11:15.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:11:15.615Z] [2021-06-03T15:11:15.615Z] Login Succeeded [2021-06-03T15:11:15.615Z] nexus3.edgexfoundry.org:10002 [2021-06-03T15:11:15.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:11:15.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:11:15.878Z] Configure a credential helper to remove this warning. See [2021-06-03T15:11:15.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:11:15.878Z] [2021-06-03T15:11:15.878Z] Login Succeeded [2021-06-03T15:11:15.878Z] nexus3.edgexfoundry.org:10003 [2021-06-03T15:11:15.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:11:15.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:11:15.878Z] Configure a credential helper to remove this warning. See [2021-06-03T15:11:15.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:11:15.878Z] [2021-06-03T15:11:15.878Z] Login Succeeded [2021-06-03T15:11:15.878Z] nexus3.edgexfoundry.org:10004 [2021-06-03T15:11:16.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:11:16.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:11:16.141Z] Configure a credential helper to remove this warning. See [2021-06-03T15:11:16.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:11:16.141Z] [2021-06-03T15:11:16.141Z] Login Succeeded [2021-06-03T15:11:16.141Z] docker.io [2021-06-03T15:11:16.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:11:16.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:11:16.402Z] Configure a credential helper to remove this warning. See [2021-06-03T15:11:16.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:11:16.402Z] [2021-06-03T15:11:16.402Z] Login Succeeded [2021-06-03T15:11:16.402Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T15:11:16.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-03T15:11:16.586Z] ========================================================= [2021-06-03T15:11:16.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-03T15:11:16.586Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:11:16.893Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-03T15:11:16.893Z] Sending build context to Docker daemon 92.16kB [2021-06-03T15:11:16.893Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T15:11:16.893Z] Step 2/10 : FROM ${BASE} [2021-06-03T15:11:16.893Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-03T15:11:16.893Z] 540db60ca938: Pulling fs layer [2021-06-03T15:11:16.893Z] adcc1eea9eea: Pulling fs layer [2021-06-03T15:11:16.893Z] 4c4ab2625f07: Pulling fs layer [2021-06-03T15:11:16.893Z] 0510c868ecb4: Pulling fs layer [2021-06-03T15:11:16.893Z] afea3b2eda06: Pulling fs layer [2021-06-03T15:11:16.893Z] 7809a108b3ef: Pulling fs layer [2021-06-03T15:11:16.893Z] f706445af74f: Pulling fs layer [2021-06-03T15:11:16.893Z] afea3b2eda06: Waiting [2021-06-03T15:11:16.893Z] 7809a108b3ef: Waiting [2021-06-03T15:11:16.893Z] f706445af74f: Waiting [2021-06-03T15:11:16.893Z] 0510c868ecb4: Waiting [2021-06-03T15:11:16.893Z] 4c4ab2625f07: Verifying Checksum [2021-06-03T15:11:16.893Z] 4c4ab2625f07: Download complete [2021-06-03T15:11:16.893Z] adcc1eea9eea: Verifying Checksum [2021-06-03T15:11:16.893Z] adcc1eea9eea: Download complete [2021-06-03T15:11:17.157Z] afea3b2eda06: Verifying Checksum [2021-06-03T15:11:17.157Z] afea3b2eda06: Download complete [2021-06-03T15:11:17.157Z] 7809a108b3ef: Verifying Checksum [2021-06-03T15:11:17.157Z] 7809a108b3ef: Download complete [2021-06-03T15:11:17.157Z] 540db60ca938: Download complete [2021-06-03T15:11:17.157Z] 540db60ca938: Pull complete [2021-06-03T15:11:17.419Z] adcc1eea9eea: Pull complete [2021-06-03T15:11:17.681Z] 4c4ab2625f07: Pull complete [2021-06-03T15:11:19.074Z] f706445af74f: Verifying Checksum [2021-06-03T15:11:19.074Z] f706445af74f: Download complete [2021-06-03T15:11:19.644Z] 0510c868ecb4: Verifying Checksum [2021-06-03T15:11:19.645Z] 0510c868ecb4: Download complete [2021-06-03T15:11:22.956Z] 0510c868ecb4: Pull complete [2021-06-03T15:11:22.956Z] afea3b2eda06: Pull complete [2021-06-03T15:11:22.956Z] 7809a108b3ef: Pull complete [2021-06-03T15:11:24.355Z] f706445af74f: Pull complete [2021-06-03T15:11:24.355Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-03T15:11:24.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-03T15:11:24.355Z] ---> b068be0155e3 [2021-06-03T15:11:24.355Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T15:11:29.654Z] ---> Running in d7555784cbdb [2021-06-03T15:11:29.654Z] Removing intermediate container d7555784cbdb [2021-06-03T15:11:29.654Z] ---> d45e7e0119d7 [2021-06-03T15:11:29.654Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T15:11:29.654Z] ---> Running in 75c17d61f912 [2021-06-03T15:11:29.654Z] Removing intermediate container 75c17d61f912 [2021-06-03T15:11:29.654Z] ---> 8e6dab0f2e5d [2021-06-03T15:11:29.654Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-03T15:11:29.654Z] ---> Running in 9b21ee219383 [2021-06-03T15:11:29.654Z] Removing intermediate container 9b21ee219383 [2021-06-03T15:11:29.654Z] ---> 4bfdc496b7c9 [2021-06-03T15:11:29.654Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T15:11:29.654Z] ---> Running in 09fa4b5598bb [2021-06-03T15:11:29.914Z] Removing intermediate container 09fa4b5598bb [2021-06-03T15:11:29.914Z] ---> 37a98ce36d99 [2021-06-03T15:11:29.914Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T15:11:29.914Z] ---> Running in 68de0ff180d8 [2021-06-03T15:11:30.177Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-03T15:11:31.123Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-03T15:11:31.696Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-03T15:11:31.696Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-03T15:11:31.696Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-03T15:11:31.696Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-03T15:11:31.959Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-03T15:11:31.959Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-03T15:11:32.222Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-03T15:11:32.488Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-03T15:11:32.488Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-03T15:11:32.488Z] Executing busybox-1.32.1-r6.trigger [2021-06-03T15:11:32.488Z] OK: 154 MiB in 49 packages [2021-06-03T15:11:33.067Z] Removing intermediate container 68de0ff180d8 [2021-06-03T15:11:33.067Z] ---> 12232469c4ba [2021-06-03T15:11:33.067Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-03T15:11:33.067Z] ---> Running in cbec884d16cf [2021-06-03T15:11:33.067Z] Removing intermediate container cbec884d16cf [2021-06-03T15:11:33.067Z] ---> 9f1f487b9fb5 [2021-06-03T15:11:33.067Z] Step 9/10 : COPY . . [2021-06-03T15:11:33.340Z] ---> f8727382e556 [2021-06-03T15:11:33.340Z] Step 10/10 : RUN go mod download [2021-06-03T15:11:33.340Z] ---> Running in 15b0476b6c4b [2021-06-03T15:11:55.336Z] Removing intermediate container 15b0476b6c4b [2021-06-03T15:11:55.337Z] ---> 785e4c3cafa4 [2021-06-03T15:11:55.337Z] Successfully built 785e4c3cafa4 [2021-06-03T15:11:55.337Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:11:55.746Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-03T15:11:55.746Z] . [Pipeline] withDockerContainer [2021-06-03T15:11:55.833Z] prd-centos7-docker-4c-2g-312 does not seem to be running inside a container [2021-06-03T15:11:55.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-03T15:11:56.301Z] $ docker top f9ae10088b38774222c840a79f812a6f25d74337819be90a35846fddd88a07ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T15:11:56.698Z] + go version [2021-06-03T15:11:56.698Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-03T15:11:56.708Z] $ docker stop --time=1 f9ae10088b38774222c840a79f812a6f25d74337819be90a35846fddd88a07ea [2021-06-03T15:11:57.952Z] $ docker rm -f f9ae10088b38774222c840a79f812a6f25d74337819be90a35846fddd88a07ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:11:58.569Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-03T15:11:58.569Z] . [Pipeline] withDockerContainer [2021-06-03T15:11:58.651Z] prd-centos7-docker-4c-2g-312 does not seem to be running inside a container [2021-06-03T15:11:58.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-03T15:11:59.155Z] $ docker top e4a8034b8bce9ac0146563684c21919d2b937a6c6d8a22ae1938581e6cc617fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T15:11:59.685Z] + go mod tidy [Pipeline] sh [2021-06-03T15:12:00.092Z] + make test [2021-06-03T15:12:00.092Z] go mod tidy [2021-06-03T15:12:00.092Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-03T15:12:00.670Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-03T15:12:15.650Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-03T15:12:16.232Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-03T15:12:16.232Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-03T15:12:22.921Z] gofmt -l . [2021-06-03T15:12:22.921Z] [ "`gofmt -l .`" = "" ] [2021-06-03T15:12:22.921Z] ./bin/test-go-mod-tidy.sh [2021-06-03T15:12:22.921Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-03T15:12:22.929Z] $ docker stop --time=1 e4a8034b8bce9ac0146563684c21919d2b937a6c6d8a22ae1938581e6cc617fb [2021-06-03T15:12:24.395Z] $ docker rm -f e4a8034b8bce9ac0146563684c21919d2b937a6c6d8a22ae1938581e6cc617fb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T15:12:24.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-03T15:12:24.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-03T15:12:27.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-03T15:12:27.898Z] + ls -al . [2021-06-03T15:12:27.898Z] total 104 [2021-06-03T15:12:27.898Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 3 15:12 . [2021-06-03T15:12:27.898Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 3 15:10 .. [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 3 15:10 Attribution.txt [2021-06-03T15:12:27.898Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 3 15:10 bin [2021-06-03T15:12:27.898Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 3 15:10 cmd [2021-06-03T15:12:27.898Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 3 15:12 coverage.out [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 3 15:10 Dockerfile [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 3 15:10 Dockerfile.build [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 3 15:10 .dockerignore [2021-06-03T15:12:27.898Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 3 15:10 driver [2021-06-03T15:12:27.898Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 3 15:10 .git [2021-06-03T15:12:27.898Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 3 15:10 .github [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 3 15:10 .gitignore [2021-06-03T15:12:27.898Z] -rw-r--r--. 1 jenkins jenkins 285 Jun 3 15:12 go.mod [2021-06-03T15:12:27.898Z] -rw-r--r--. 1 jenkins jenkins 20755 Jun 3 15:11 go.sum [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 3 15:10 Jenkinsfile [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 3 15:10 LICENSE [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 3 15:10 Makefile [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 3 15:10 README.md [2021-06-03T15:12:27.898Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 3 15:10 snap [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 3 15:10 VERSION [2021-06-03T15:12:27.898Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 3 15:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:12:28.203Z] + 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=0056217a08a02dd5528c871b32d39fe47ba1e14b --label arch=amd64 --label version=0.0.0 . [2021-06-03T15:12:28.203Z] Sending build context to Docker daemon 101.9kB [2021-06-03T15:12:28.203Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T15:12:28.203Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-03T15:12:28.203Z] ---> 785e4c3cafa4 [2021-06-03T15:12:28.203Z] Step 3/25 : ARG MAKE='make build' [2021-06-03T15:12:28.203Z] ---> Running in 3b45dabc464a [2021-06-03T15:12:28.466Z] Removing intermediate container 3b45dabc464a [2021-06-03T15:12:28.466Z] ---> fa0589241ca8 [2021-06-03T15:12:28.466Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T15:12:28.466Z] ---> Running in de183380e45d [2021-06-03T15:12:28.466Z] Removing intermediate container de183380e45d [2021-06-03T15:12:28.466Z] ---> af7284cbd9c6 [2021-06-03T15:12:28.466Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T15:12:28.466Z] ---> Running in 5297c06ad1e5 [2021-06-03T15:12:28.466Z] Removing intermediate container 5297c06ad1e5 [2021-06-03T15:12:28.466Z] ---> fc6de2afbab1 [2021-06-03T15:12:28.466Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T15:12:28.728Z] ---> Running in ff9d1b02855e [2021-06-03T15:12:28.991Z] Removing intermediate container ff9d1b02855e [2021-06-03T15:12:28.991Z] ---> 9ecc0e57c48a [2021-06-03T15:12:28.991Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T15:12:29.257Z] ---> Running in b432f4cd717d [2021-06-03T15:12:29.519Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-03T15:12:30.089Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-03T15:12:30.664Z] OK: 154 MiB in 49 packages [2021-06-03T15:12:30.929Z] Removing intermediate container b432f4cd717d [2021-06-03T15:12:30.929Z] ---> ca4f91117e4e [2021-06-03T15:12:30.929Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-03T15:12:30.929Z] ---> Running in 76493d263a19 [2021-06-03T15:12:30.929Z] Removing intermediate container 76493d263a19 [2021-06-03T15:12:30.929Z] ---> 172d74ee1837 [2021-06-03T15:12:30.929Z] Step 9/25 : COPY . . [2021-06-03T15:12:31.195Z] ---> 9933256647c5 [2021-06-03T15:12:31.195Z] Step 10/25 : RUN go mod tidy [2021-06-03T15:12:31.195Z] ---> Running in 2f4ed4c7c370 [2021-06-03T15:12:31.777Z] Removing intermediate container 2f4ed4c7c370 [2021-06-03T15:12:31.777Z] ---> 5cd1a6a0ecf3 [2021-06-03T15:12:31.777Z] Step 11/25 : RUN make update [2021-06-03T15:12:31.777Z] ---> Running in 9617e0209e20 [2021-06-03T15:12:32.046Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-03T15:12:32.310Z] Removing intermediate container 9617e0209e20 [2021-06-03T15:12:32.310Z] ---> af415884167e [2021-06-03T15:12:32.310Z] Step 12/25 : RUN $MAKE [2021-06-03T15:12:32.310Z] ---> Running in e84b4dd77914 [2021-06-03T15:12:32.576Z] go mod tidy [2021-06-03T15:12:32.841Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-03T15:12:42.027Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-313 in /w/workspace/gexfoundry_device-rest-go_PR-110 [Pipeline] { [Pipeline] ws [2021-06-03T15:12:42.044Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-06-03T15:12:42.277Z] The recommended git tool is: git [2021-06-03T15:12:45.137Z] Removing intermediate container e84b4dd77914 [2021-06-03T15:12:45.138Z] ---> c4588a4b1002 [2021-06-03T15:12:45.138Z] Step 13/25 : FROM alpine:3.12 [2021-06-03T15:12:45.138Z] 3.12: Pulling from library/alpine [2021-06-03T15:12:45.138Z] 339de151aab4: Pulling fs layer [2021-06-03T15:12:45.138Z] 339de151aab4: Verifying Checksum [2021-06-03T15:12:45.138Z] 339de151aab4: Download complete [2021-06-03T15:12:45.138Z] 339de151aab4: Pull complete [2021-06-03T15:12:45.138Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-03T15:12:45.138Z] Status: Downloaded newer image for alpine:3.12 [2021-06-03T15:12:45.138Z] ---> 13621d1b12d4 [2021-06-03T15:12:45.138Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-03T15:12:45.138Z] ---> Running in 744a4157e77e [2021-06-03T15:12:45.138Z] Removing intermediate container 744a4157e77e [2021-06-03T15:12:45.138Z] ---> 458bba484182 [2021-06-03T15:12:45.138Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-03T15:12:45.138Z] ---> Running in 6c76ad49698b [2021-06-03T15:12:45.138Z] Removing intermediate container 6c76ad49698b [2021-06-03T15:12:45.138Z] ---> faf6cf198cca [2021-06-03T15:12:45.138Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-03T15:12:45.138Z] ---> Running in e22da7aec1c2 [2021-06-03T15:12:45.138Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-03T15:12:45.138Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-03T15:12:45.138Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-03T15:12:45.138Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-03T15:12:45.138Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-03T15:12:45.399Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-03T15:12:45.399Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-03T15:12:45.399Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-03T15:12:45.399Z] Executing busybox-1.31.1-r20.trigger [2021-06-03T15:12:45.399Z] OK: 8 MiB in 20 packages [2021-06-03T15:12:45.658Z] Removing intermediate container e22da7aec1c2 [2021-06-03T15:12:45.658Z] ---> da7324865643 [2021-06-03T15:12:45.658Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-03T15:12:45.928Z] ---> 69b9f103bf25 [2021-06-03T15:12:45.928Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-03T15:12:46.191Z] ---> e60264a00831 [2021-06-03T15:12:46.191Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-03T15:12:46.191Z] ---> 0cfe30ce040d [2021-06-03T15:12:46.191Z] Step 20/25 : EXPOSE 59986 [2021-06-03T15:12:46.191Z] ---> Running in 989898fd6678 [2021-06-03T15:12:46.455Z] Removing intermediate container 989898fd6678 [2021-06-03T15:12:46.455Z] ---> 4b197504039e [2021-06-03T15:12:46.455Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-03T15:12:46.455Z] ---> Running in 946a79a59e57 [2021-06-03T15:12:46.455Z] Removing intermediate container 946a79a59e57 [2021-06-03T15:12:46.455Z] ---> 5906cdba4a71 [2021-06-03T15:12:46.455Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-03T15:12:46.455Z] ---> Running in 73718903e91d [2021-06-03T15:12:46.455Z] Removing intermediate container 73718903e91d [2021-06-03T15:12:46.455Z] ---> b5b8243780b6 [2021-06-03T15:12:46.455Z] Step 23/25 : LABEL arch=amd64 [2021-06-03T15:12:46.719Z] ---> Running in ebef2a969090 [2021-06-03T15:12:46.719Z] Removing intermediate container ebef2a969090 [2021-06-03T15:12:46.719Z] ---> 9ccd10436fa6 [2021-06-03T15:12:46.719Z] Step 24/25 : LABEL git_sha=0056217a08a02dd5528c871b32d39fe47ba1e14b [2021-06-03T15:12:46.719Z] ---> Running in 4bb05bf65cef [2021-06-03T15:12:46.719Z] Removing intermediate container 4bb05bf65cef [2021-06-03T15:12:46.719Z] ---> 8474523b0679 [2021-06-03T15:12:46.719Z] Step 25/25 : LABEL version=0.0.0 [2021-06-03T15:12:46.980Z] ---> Running in aa8249c72c72 [2021-06-03T15:12:46.980Z] Removing intermediate container aa8249c72c72 [2021-06-03T15:12:46.980Z] ---> 1a61e16e1b7d [2021-06-03T15:12:46.980Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-03T15:12:46.980Z] Successfully built 1a61e16e1b7d [2021-06-03T15:12:46.980Z] 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] libraryResource [Pipeline] sh [2021-06-03T15:12:47.882Z] ---> job-cost.sh [2021-06-03T15:12:47.882Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dT6L [2021-06-03T15:12:48.289Z] using credential edgex-jenkins-ssh [2021-06-03T15:12:48.308Z] Cloning the remote Git repository [2021-06-03T15:12:48.409Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T15:12:48.614Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-06-03T15:12:48.724Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T15:12:48.726Z] > git --version # timeout=10 [2021-06-03T15:12:48.744Z] > git --version # 'git version 2.17.1' [2021-06-03T15:12:48.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T15:12:48.841Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T15:12:50.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-03T15:12:50.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T15:12:50.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-03T15:12:50.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T15:12:50.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T15:12:50.691Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-03T15:12:51.269Z] Merging remotes/origin/master commit e449f7094e73ba5d0241c87d9e59db3ba8d69b80 into PR head commit 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 [2021-06-03T15:12:51.501Z] Merge succeeded, producing 0e09784b114fd49916b41a662cb3dfba096ab9e8 [2021-06-03T15:12:51.502Z] Checking out Revision 0e09784b114fd49916b41a662cb3dfba096ab9e8 (PR-110) [2021-06-03T15:12:51.283Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T15:12:51.300Z] > git checkout -f 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 # timeout=10 [2021-06-03T15:12:51.379Z] > git remote # timeout=10 [2021-06-03T15:12:51.403Z] > git config --get remote.origin.url # timeout=10 [2021-06-03T15:12:51.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T15:12:51.438Z] > git merge e449f7094e73ba5d0241c87d9e59db3ba8d69b80 # timeout=10 [2021-06-03T15:12:51.481Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-03T15:12:51.501Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T15:12:51.511Z] > git checkout -f 0e09784b114fd49916b41a662cb3dfba096ab9e8 # timeout=10 [2021-06-03T15:12:55.681Z] Commit message: "Merge commit 'e449f7094e73ba5d0241c87d9e59db3ba8d69b80' into HEAD" [2021-06-03T15:12:55.683Z] > git rev-list --no-walk 1f0643742481ff0e21ccc33afea41dd8c1a8a1b4 # timeout=10 [2021-06-03T15:12:56.257Z] [2021-06-03T15:12:56.257Z] GitHub has been notified of this commit’s build result [2021-06-03T15:12:56.257Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T15:12:57.245Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-03T15:12:57.660Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-03T15:12:57.914Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-03T15:12:58.052Z] + sudo service docker restart [2021-06-03T15:12:58.052Z] + true [2021-06-03T15:13:10.188Z] lf-activate-venv(): INFO: Adding /tmp/venv-dT6L/bin to PATH [2021-06-03T15:13:10.188Z] INFO: No Stack... [2021-06-03T15:13:11.140Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-03T15:13:11.714Z] INFO: Archiving Costs [Pipeline] sh [2021-06-03T15:13:12.009Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-06-03T15:13:12.009Z] + cut -d, -f6 [Pipeline] lock [2021-06-03T15:13:12.037Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-110-4-stack-cost] [2021-06-03T15:13:12.123Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-110-4-stack-cost] did not exist. Created. [2021-06-03T15:13:12.123Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-110-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-03T15:13:12.445Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-03T15:13:12.511Z] Stashed 1 file(s) [Pipeline] } [2021-06-03T15:13:12.565Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-110-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T15:13:16.420Z] provisioning config files... [2021-06-03T15:13:16.451Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config1823302476097168412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:13:16.841Z] ---> docker-login.sh [2021-06-03T15:13:16.841Z] nexus3.edgexfoundry.org:10001 [2021-06-03T15:13:17.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:13:18.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:13:18.426Z] Configure a credential helper to remove this warning. See [2021-06-03T15:13:18.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:13:18.426Z] [2021-06-03T15:13:18.426Z] Login Succeeded [2021-06-03T15:13:18.426Z] nexus3.edgexfoundry.org:10002 [2021-06-03T15:13:18.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:13:18.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:13:18.976Z] Configure a credential helper to remove this warning. See [2021-06-03T15:13:18.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:13:18.976Z] [2021-06-03T15:13:18.976Z] Login Succeeded [2021-06-03T15:13:18.976Z] nexus3.edgexfoundry.org:10003 [2021-06-03T15:13:19.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:13:19.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:13:19.599Z] Configure a credential helper to remove this warning. See [2021-06-03T15:13:19.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:13:19.599Z] [2021-06-03T15:13:19.599Z] Login Succeeded [2021-06-03T15:13:19.599Z] nexus3.edgexfoundry.org:10004 [2021-06-03T15:13:19.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:13:20.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:13:20.152Z] Configure a credential helper to remove this warning. See [2021-06-03T15:13:20.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:13:20.152Z] [2021-06-03T15:13:20.152Z] Login Succeeded [2021-06-03T15:13:20.152Z] docker.io [2021-06-03T15:13:20.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T15:13:21.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T15:13:21.024Z] Configure a credential helper to remove this warning. See [2021-06-03T15:13:21.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T15:13:21.024Z] [2021-06-03T15:13:21.024Z] Login Succeeded [2021-06-03T15:13:21.024Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T15:13:21.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-03T15:13:21.538Z] ========================================================= [2021-06-03T15:13:21.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-03T15:13:21.538Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:13:21.968Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-03T15:13:21.968Z] Sending build context to Docker daemon 92.16kB [2021-06-03T15:13:22.244Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T15:13:22.244Z] Step 2/10 : FROM ${BASE} [2021-06-03T15:13:22.517Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-03T15:13:22.517Z] 595b0fe564bb: Pulling fs layer [2021-06-03T15:13:22.517Z] 7186ed65a4f7: Pulling fs layer [2021-06-03T15:13:22.517Z] 316046926c0a: Pulling fs layer [2021-06-03T15:13:22.517Z] 4ebd0625c992: Pulling fs layer [2021-06-03T15:13:22.517Z] 207e8628e3a3: Pulling fs layer [2021-06-03T15:13:22.517Z] c791037a9be2: Pulling fs layer [2021-06-03T15:13:22.517Z] ffd874e62e21: Pulling fs layer [2021-06-03T15:13:22.517Z] 207e8628e3a3: Waiting [2021-06-03T15:13:22.517Z] c791037a9be2: Waiting [2021-06-03T15:13:22.517Z] ffd874e62e21: Waiting [2021-06-03T15:13:22.517Z] 4ebd0625c992: Waiting [2021-06-03T15:13:22.517Z] 316046926c0a: Verifying Checksum [2021-06-03T15:13:22.517Z] 316046926c0a: Download complete [2021-06-03T15:13:22.517Z] 7186ed65a4f7: Verifying Checksum [2021-06-03T15:13:22.517Z] 7186ed65a4f7: Download complete [2021-06-03T15:13:22.517Z] 207e8628e3a3: Verifying Checksum [2021-06-03T15:13:22.517Z] 207e8628e3a3: Download complete [2021-06-03T15:13:22.517Z] c791037a9be2: Verifying Checksum [2021-06-03T15:13:22.517Z] c791037a9be2: Download complete [2021-06-03T15:13:22.517Z] 595b0fe564bb: Verifying Checksum [2021-06-03T15:13:22.517Z] 595b0fe564bb: Download complete [2021-06-03T15:13:23.114Z] 595b0fe564bb: Pull complete [2021-06-03T15:13:23.716Z] 7186ed65a4f7: Pull complete [2021-06-03T15:13:23.991Z] 316046926c0a: Pull complete [2021-06-03T15:13:25.425Z] ffd874e62e21: Verifying Checksum [2021-06-03T15:13:25.425Z] ffd874e62e21: Download complete [2021-06-03T15:13:26.408Z] 4ebd0625c992: Download complete [2021-06-03T15:13:36.608Z] 4ebd0625c992: Pull complete [2021-06-03T15:13:36.884Z] 207e8628e3a3: Pull complete [2021-06-03T15:13:37.171Z] c791037a9be2: Pull complete [2021-06-03T15:13:40.608Z] ffd874e62e21: Pull complete [2021-06-03T15:13:40.608Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-03T15:13:40.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-03T15:13:40.608Z] ---> cfc18b08335c [2021-06-03T15:13:40.608Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T15:13:42.636Z] ---> Running in 9399618feedf [2021-06-03T15:13:43.234Z] Removing intermediate container 9399618feedf [2021-06-03T15:13:43.234Z] ---> 8f5ebb4357f1 [2021-06-03T15:13:43.234Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T15:13:43.508Z] ---> Running in 344966d10883 [2021-06-03T15:13:44.112Z] Removing intermediate container 344966d10883 [2021-06-03T15:13:44.112Z] ---> 699746ecd3e6 [2021-06-03T15:13:44.112Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-03T15:13:44.112Z] ---> Running in 8465aaa2ddf7 [2021-06-03T15:13:44.707Z] Removing intermediate container 8465aaa2ddf7 [2021-06-03T15:13:44.707Z] ---> 508d750fe937 [2021-06-03T15:13:44.707Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T15:13:44.707Z] ---> Running in 616ca9b92b90 [2021-06-03T15:13:47.320Z] Removing intermediate container 616ca9b92b90 [2021-06-03T15:13:47.320Z] ---> e7d5faffcf2a [2021-06-03T15:13:47.320Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T15:13:47.320Z] ---> Running in 45db5befeeb7 [2021-06-03T15:13:48.293Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-03T15:13:49.266Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-03T15:13:50.695Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-03T15:13:50.695Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-03T15:13:50.695Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-03T15:13:50.695Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-03T15:13:50.967Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-03T15:13:50.968Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-03T15:13:50.968Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-03T15:13:51.572Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-03T15:13:51.572Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-03T15:13:51.572Z] Executing busybox-1.32.1-r6.trigger [2021-06-03T15:13:51.847Z] OK: 144 MiB in 49 packages [2021-06-03T15:13:53.311Z] Removing intermediate container 45db5befeeb7 [2021-06-03T15:13:53.311Z] ---> a204321fd7e9 [2021-06-03T15:13:53.311Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-03T15:13:53.311Z] ---> Running in aaabedaa893e [2021-06-03T15:13:53.913Z] Removing intermediate container aaabedaa893e [2021-06-03T15:13:53.913Z] ---> 8f627894b5a5 [2021-06-03T15:13:53.913Z] Step 9/10 : COPY . . [2021-06-03T15:13:54.928Z] ---> 09de6d5240e1 [2021-06-03T15:13:54.928Z] Step 10/10 : RUN go mod download [2021-06-03T15:13:54.928Z] ---> Running in 769aa47cc6d6 [2021-06-03T15:14:21.772Z] Removing intermediate container 769aa47cc6d6 [2021-06-03T15:14:21.772Z] ---> d6a3c892c7d1 [2021-06-03T15:14:21.772Z] Successfully built d6a3c892c7d1 [2021-06-03T15:14:21.772Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:14:22.128Z] + docker inspect -f . ci-base-image-arm64 [2021-06-03T15:14:22.128Z] . [Pipeline] withDockerContainer [2021-06-03T15:14:22.412Z] prd-ubuntu18.04-docker-arm64-4c-16g-313 does not seem to be running inside a container [2021-06-03T15:14:22.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-03T15:14:24.224Z] $ docker top 76d83f78f9b43d7670eb409f811c44d35494eafcfaeaff1cab08193cf20beb5c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T15:14:25.266Z] + go version [2021-06-03T15:14:25.266Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-03T15:14:25.286Z] $ docker stop --time=1 76d83f78f9b43d7670eb409f811c44d35494eafcfaeaff1cab08193cf20beb5c [2021-06-03T15:14:27.158Z] $ docker rm -f 76d83f78f9b43d7670eb409f811c44d35494eafcfaeaff1cab08193cf20beb5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:14:28.012Z] + docker inspect -f . ci-base-image-arm64 [2021-06-03T15:14:28.012Z] . [Pipeline] withDockerContainer [2021-06-03T15:14:28.281Z] prd-ubuntu18.04-docker-arm64-4c-16g-313 does not seem to be running inside a container [2021-06-03T15:14:28.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-03T15:14:30.032Z] $ docker top 4cb4739dcd8e5242f875037ddfa6b4c0c48f5ef5f7dfc325d69a48d37ea1547e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T15:14:31.048Z] + go mod tidy [Pipeline] sh [2021-06-03T15:14:32.322Z] + make test [2021-06-03T15:14:32.322Z] go mod tidy [2021-06-03T15:14:32.934Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-03T15:14:34.391Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-03T15:15:31.063Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-03T15:15:31.063Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements [2021-06-03T15:15:31.063Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-03T15:15:57.853Z] gofmt -l . [2021-06-03T15:15:57.853Z] [ "`gofmt -l .`" = "" ] [2021-06-03T15:15:57.853Z] ./bin/test-go-mod-tidy.sh [2021-06-03T15:15:57.853Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-03T15:15:57.873Z] $ docker stop --time=1 4cb4739dcd8e5242f875037ddfa6b4c0c48f5ef5f7dfc325d69a48d37ea1547e [2021-06-03T15:15:59.835Z] $ docker rm -f 4cb4739dcd8e5242f875037ddfa6b4c0c48f5ef5f7dfc325d69a48d37ea1547e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T15:16:00.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-03T15:16:00.771Z] Warning: overwriting stash ‘coverage-report’ [2021-06-03T15:16:01.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T15:16:01.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-03T15:16:02.167Z] + ls -al . [2021-06-03T15:16:02.167Z] total 132 [2021-06-03T15:16:02.167Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 15:15 . [2021-06-03T15:16:02.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 15:12 .. [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 3 15:12 .dockerignore [2021-06-03T15:16:02.167Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 15:12 .git [2021-06-03T15:16:02.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 15:12 .github [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 3 15:12 .gitignore [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 3 15:12 Attribution.txt [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 3 15:12 Dockerfile [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 3 15:12 Dockerfile.build [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 3 15:12 Jenkinsfile [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 15:12 LICENSE [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 3 15:12 Makefile [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 3 15:12 README.md [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 15:10 VERSION [2021-06-03T15:16:02.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 15:12 bin [2021-06-03T15:16:02.167Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 15:12 cmd [2021-06-03T15:16:02.167Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 3 15:15 coverage.out [2021-06-03T15:16:02.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 15:12 driver [2021-06-03T15:16:02.167Z] -rw-r--r-- 1 jenkins jenkins 285 Jun 3 15:15 go.mod [2021-06-03T15:16:02.167Z] -rw-r--r-- 1 jenkins jenkins 20755 Jun 3 15:14 go.sum [2021-06-03T15:16:02.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 15:12 snap [2021-06-03T15:16:02.167Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 3 15:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:16:02.519Z] + 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=0e09784b114fd49916b41a662cb3dfba096ab9e8 --label arch=arm64 --label version=0.0.0 . [2021-06-03T15:16:02.519Z] Sending build context to Docker daemon 101.9kB [2021-06-03T15:16:02.803Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T15:16:02.803Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-03T15:16:02.803Z] ---> d6a3c892c7d1 [2021-06-03T15:16:02.803Z] Step 3/25 : ARG MAKE='make build' [2021-06-03T15:16:03.078Z] ---> Running in b55c3b7bd5ad [2021-06-03T15:16:03.672Z] Removing intermediate container b55c3b7bd5ad [2021-06-03T15:16:03.672Z] ---> e10d7e39ed25 [2021-06-03T15:16:03.672Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T15:16:03.948Z] ---> Running in 68f06d160688 [2021-06-03T15:16:04.220Z] Removing intermediate container 68f06d160688 [2021-06-03T15:16:04.220Z] ---> 1f75e9752a83 [2021-06-03T15:16:04.220Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T15:16:04.495Z] ---> Running in f7203ad29003 [2021-06-03T15:16:05.096Z] Removing intermediate container f7203ad29003 [2021-06-03T15:16:05.096Z] ---> bcdb4cd2636e [2021-06-03T15:16:05.096Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T15:16:05.096Z] ---> Running in 36e51de45301 [2021-06-03T15:16:07.724Z] Removing intermediate container 36e51de45301 [2021-06-03T15:16:07.724Z] ---> 268ffac079c4 [2021-06-03T15:16:07.724Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T15:16:07.724Z] ---> Running in f077a686a706 [2021-06-03T15:16:08.708Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-03T15:16:10.142Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-03T15:16:11.142Z] OK: 144 MiB in 49 packages [2021-06-03T15:16:12.122Z] Removing intermediate container f077a686a706 [2021-06-03T15:16:12.122Z] ---> 9c37241411e9 [2021-06-03T15:16:12.122Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-03T15:16:12.122Z] ---> Running in 9c12d612e36c [2021-06-03T15:16:12.720Z] Removing intermediate container 9c12d612e36c [2021-06-03T15:16:12.720Z] ---> a75870b37932 [2021-06-03T15:16:12.720Z] Step 9/25 : COPY . . [2021-06-03T15:16:13.715Z] ---> d91096093ed6 [2021-06-03T15:16:13.715Z] Step 10/25 : RUN go mod tidy [2021-06-03T15:16:13.715Z] ---> Running in 50b1a62c13bf [2021-06-03T15:16:17.125Z] Removing intermediate container 50b1a62c13bf [2021-06-03T15:16:17.125Z] ---> 3702b72b2b8f [2021-06-03T15:16:17.125Z] Step 11/25 : RUN make update [2021-06-03T15:16:17.125Z] ---> Running in ca956116bad5 [2021-06-03T15:16:18.112Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-03T15:16:19.547Z] Removing intermediate container ca956116bad5 [2021-06-03T15:16:19.547Z] ---> b7262983655c [2021-06-03T15:16:19.547Z] Step 12/25 : RUN $MAKE [2021-06-03T15:16:19.547Z] ---> Running in 081865c667f7 [2021-06-03T15:16:20.982Z] go mod tidy [2021-06-03T15:16:21.257Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-03T15:17:00.336Z] Removing intermediate container 081865c667f7 [2021-06-03T15:17:00.336Z] ---> 08454fa5f72f [2021-06-03T15:17:00.336Z] Step 13/25 : FROM alpine:3.12 [2021-06-03T15:17:00.336Z] 3.12: Pulling from library/alpine [2021-06-03T15:17:00.336Z] d2f70382dc9a: Pulling fs layer [2021-06-03T15:17:00.336Z] d2f70382dc9a: Verifying Checksum [2021-06-03T15:17:00.336Z] d2f70382dc9a: Download complete [2021-06-03T15:17:00.336Z] d2f70382dc9a: Pull complete [2021-06-03T15:17:00.336Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-03T15:17:00.336Z] Status: Downloaded newer image for alpine:3.12 [2021-06-03T15:17:00.336Z] ---> 9852663dfa18 [2021-06-03T15:17:00.336Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-03T15:17:00.336Z] ---> Running in 889a334ff8b2 [2021-06-03T15:17:00.610Z] Removing intermediate container 889a334ff8b2 [2021-06-03T15:17:00.610Z] ---> 0f020f5aca0c [2021-06-03T15:17:00.610Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-03T15:17:00.884Z] ---> Running in c7bca28664e3 [2021-06-03T15:17:01.481Z] Removing intermediate container c7bca28664e3 [2021-06-03T15:17:01.481Z] ---> ad80a830730a [2021-06-03T15:17:01.481Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-03T15:17:01.481Z] ---> Running in 01a965d58fbf [2021-06-03T15:17:02.920Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-03T15:17:02.920Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-03T15:17:03.513Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-03T15:17:03.513Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-03T15:17:03.513Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-03T15:17:03.513Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-03T15:17:03.513Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-03T15:17:03.513Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-03T15:17:03.513Z] Executing busybox-1.31.1-r20.trigger [2021-06-03T15:17:03.513Z] OK: 8 MiB in 20 packages [2021-06-03T15:17:04.948Z] Removing intermediate container 01a965d58fbf [2021-06-03T15:17:04.948Z] ---> cfe354b24ee8 [2021-06-03T15:17:04.948Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-03T15:17:05.933Z] ---> 0b911b67884c [2021-06-03T15:17:05.933Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-03T15:17:06.913Z] ---> 40cbf4b96ac4 [2021-06-03T15:17:06.913Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-03T15:17:07.896Z] ---> 8057d0e9443b [2021-06-03T15:17:07.896Z] Step 20/25 : EXPOSE 59986 [2021-06-03T15:17:07.896Z] ---> Running in 91be7f04f798 [2021-06-03T15:17:08.494Z] Removing intermediate container 91be7f04f798 [2021-06-03T15:17:08.494Z] ---> 3543e09d3ca6 [2021-06-03T15:17:08.494Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-03T15:17:08.494Z] ---> Running in f895ff84944a [2021-06-03T15:17:09.091Z] Removing intermediate container f895ff84944a [2021-06-03T15:17:09.092Z] ---> 79f53c8ce7b4 [2021-06-03T15:17:09.092Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-03T15:17:09.092Z] ---> Running in 66276998b772 [2021-06-03T15:17:09.691Z] Removing intermediate container 66276998b772 [2021-06-03T15:17:09.691Z] ---> b6fd6dc4f839 [2021-06-03T15:17:09.691Z] Step 23/25 : LABEL arch=arm64 [2021-06-03T15:17:09.691Z] ---> Running in 665d557e29fb [2021-06-03T15:17:10.299Z] Removing intermediate container 665d557e29fb [2021-06-03T15:17:10.299Z] ---> 95dfcb662949 [2021-06-03T15:17:10.299Z] Step 24/25 : LABEL git_sha=0e09784b114fd49916b41a662cb3dfba096ab9e8 [2021-06-03T15:17:10.299Z] ---> Running in 7a705f4f4df0 [2021-06-03T15:17:10.897Z] Removing intermediate container 7a705f4f4df0 [2021-06-03T15:17:10.897Z] ---> 87e67fc39c9b [2021-06-03T15:17:10.897Z] Step 25/25 : LABEL version=0.0.0 [2021-06-03T15:17:11.171Z] ---> Running in 7367d1494306 [2021-06-03T15:17:11.446Z] Removing intermediate container 7367d1494306 [2021-06-03T15:17:11.446Z] ---> ee359942ed0b [2021-06-03T15:17:11.446Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-03T15:17:11.446Z] Successfully built ee359942ed0b [2021-06-03T15:17:11.446Z] 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] libraryResource [Pipeline] sh [2021-06-03T15:17:12.094Z] ---> job-cost.sh [2021-06-03T15:17:12.094Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NvPb [2021-06-03T15:17:59.108Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-03T15:19:50.937Z] lf-activate-venv(): INFO: Adding /tmp/venv-NvPb/bin to PATH [2021-06-03T15:19:50.937Z] INFO: No Stack... [2021-06-03T15:19:50.937Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-03T15:19:50.937Z] INFO: Archiving Costs [Pipeline] sh [2021-06-03T15:19:51.288Z] + cut -d, -f6 [2021-06-03T15:19:51.288Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [Pipeline] lock [2021-06-03T15:19:51.361Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-110-4-stack-cost] [2021-06-03T15:19:51.368Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-110-4-stack-cost] did not exist. Created. [2021-06-03T15:19:51.368Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-110-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-03T15:19:51.750Z] /w/workspace/device-rest-go/4@tmp/durable-af5a7007/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-af5a7007/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-03T15:19:52.107Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-03T15:19:52.139Z] Warning: overwriting stash ‘stack-cost’ [2021-06-03T15:19:52.303Z] Stashed 1 file(s) [Pipeline] } [2021-06-03T15:19:52.314Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-110-4-stack-cost] [Pipeline] // lock [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 [2021-06-03T15:19:53.041Z] provisioning config files... [2021-06-03T15:19:53.050Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-110@tmp/config1214276538369887251tmp [Pipeline] { [Pipeline] sh [2021-06-03T15:19:53.366Z] + set +x [2021-06-03T15:19:53.366Z] + curl -s https://codecov.io/bash [2021-06-03T15:19:53.366Z] + bash -s -- [2021-06-03T15:19:53.366Z] [2021-06-03T15:19:53.366Z] _____ _ [2021-06-03T15:19:53.366Z] / ____| | | [2021-06-03T15:19:53.366Z] | | ___ __| | ___ ___ _____ __ [2021-06-03T15:19:53.366Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-03T15:19:53.366Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-03T15:19:53.366Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-03T15:19:53.366Z] Bash-1.0.3 [2021-06-03T15:19:53.366Z] [2021-06-03T15:19:53.366Z] [2021-06-03T15:19:53.366Z] ==> git version 2.24.4 found [2021-06-03T15:19:53.366Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-03T15:19:53.366Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-03T15:19:53.366Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-03T15:19:53.366Z] ==> Jenkins CI detected. [2021-06-03T15:19:53.366Z] project root: . [2021-06-03T15:19:53.366Z] --> token set from env [2021-06-03T15:19:53.629Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-03T15:19:53.629Z] ==> Running gcov in . (disable via -X gcov) [2021-06-03T15:19:53.629Z] ==> Python coveragepy not found [2021-06-03T15:19:53.629Z] ==> Searching for coverage reports in: [2021-06-03T15:19:53.629Z] + . [2021-06-03T15:19:53.629Z] -> Found 1 reports [2021-06-03T15:19:53.629Z] ==> Detecting git/mercurial file structure [2021-06-03T15:19:53.629Z] ==> Reading reports [2021-06-03T15:19:53.629Z] + ./coverage.out bytes=8513 [2021-06-03T15:19:53.629Z] ==> Appending adjustments [2021-06-03T15:19:53.629Z] https://docs.codecov.io/docs/fixing-reports [2021-06-03T15:19:53.629Z] + Found adjustments [2021-06-03T15:19:53.629Z] ==> Gzipping contents [2021-06-03T15:19:53.629Z] 4.0K /tmp/codecov.MUw56Z.gz [2021-06-03T15:19:53.629Z] ==> Uploading reports [2021-06-03T15:19:53.629Z] url: https://codecov.io [2021-06-03T15:19:53.629Z] query: branch=PR-110&commit=7d1e1fd6766ee151dacfe73b0f00a3ab9092097a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-110%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=110&job=&cmd_args= [2021-06-03T15:19:53.629Z] -> Pinging Codecov [2021-06-03T15:19:53.629Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-110&commit=7d1e1fd6766ee151dacfe73b0f00a3ab9092097a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-110%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=110&job=&cmd_args= [2021-06-03T15:19:53.891Z] -> Uploading to [2021-06-03T15:19:53.891Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-03/4E5D53B4F1F92C436F7061BF334D961C/7d1e1fd6766ee151dacfe73b0f00a3ab9092097a/ee8c0204-e69a-4f36-b3e2-47413f0d1337.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210603T151953Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49ac59d458990d012fe10a5a8974321f0b87d71048ac543aa3761e43f5619875 [2021-06-03T15:19:54.152Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-03T15:19:54.152Z] Dload Upload Total Spent Left Speed [2021-06-03T15:19:54.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 3697 --:--:-- --:--:-- --:--:-- 3703 [2021-06-03T15:19:54.413Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7d1e1fd6766ee151dacfe73b0f00a3ab9092097a [Pipeline] } [2021-06-03T15:19:54.421Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:19:56.033Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:19:56.608Z] ---> package-listing.sh [2021-06-03T15:19:56.608Z] ++ facter osfamily [2021-06-03T15:19:56.608Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-03T15:19:56.873Z] + OS_FAMILY=redhat [2021-06-03T15:19:56.873Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-110 [2021-06-03T15:19:56.873Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-03T15:19:56.873Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-03T15:19:56.873Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-03T15:19:56.873Z] + PACKAGES=/tmp/packages_start.txt [2021-06-03T15:19:56.873Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-110 ']' [2021-06-03T15:19:56.873Z] + PACKAGES=/tmp/packages_end.txt [2021-06-03T15:19:56.873Z] + case "${OS_FAMILY}" in [2021-06-03T15:19:56.873Z] + rpm -qa [2021-06-03T15:19:56.873Z] + sort [2021-06-03T15:19:57.460Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-03T15:19:57.460Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-03T15:19:57.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-03T15:19:57.460Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-110 ']' [2021-06-03T15:19:57.460Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-110/archives/ [2021-06-03T15:19:57.460Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-110/archives/ [Pipeline] echo [2021-06-03T15:19:57.473Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-110/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-03T15:19:57.759Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:19:58.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T15:19:58.324Z] [2021-06-03T15:19:58.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-03T15:19:58.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T15:19:58.636Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-03T15:19:58.636Z] df20fa9351a1: Pulling fs layer [2021-06-03T15:19:58.636Z] 36b3adc4ff6f: Pulling fs layer [2021-06-03T15:19:58.636Z] 8ad3a11d3b57: Pulling fs layer [2021-06-03T15:19:58.636Z] 46f8f816bc3b: Pulling fs layer [2021-06-03T15:19:58.636Z] 93b61091891f: Pulling fs layer [2021-06-03T15:19:58.636Z] 93b9cdb0e59b: Pulling fs layer [2021-06-03T15:19:58.636Z] 5e14af77c1be: Pulling fs layer [2021-06-03T15:19:58.636Z] 01666e4c0597: Pulling fs layer [2021-06-03T15:19:58.636Z] aa168da1d23b: Pulling fs layer [2021-06-03T15:19:58.636Z] 46f8f816bc3b: Waiting [2021-06-03T15:19:58.636Z] 93b61091891f: Waiting [2021-06-03T15:19:58.636Z] 93b9cdb0e59b: Waiting [2021-06-03T15:19:58.636Z] 5e14af77c1be: Waiting [2021-06-03T15:19:58.636Z] 01666e4c0597: Waiting [2021-06-03T15:19:58.636Z] aa168da1d23b: Waiting [2021-06-03T15:19:58.636Z] 36b3adc4ff6f: Verifying Checksum [2021-06-03T15:19:58.636Z] 36b3adc4ff6f: Download complete [2021-06-03T15:19:58.636Z] 46f8f816bc3b: Verifying Checksum [2021-06-03T15:19:58.636Z] 46f8f816bc3b: Download complete [2021-06-03T15:19:58.903Z] df20fa9351a1: Verifying Checksum [2021-06-03T15:19:58.903Z] 93b9cdb0e59b: Verifying Checksum [2021-06-03T15:19:58.903Z] 93b9cdb0e59b: Download complete [2021-06-03T15:19:58.903Z] 5e14af77c1be: Verifying Checksum [2021-06-03T15:19:58.903Z] 5e14af77c1be: Download complete [2021-06-03T15:19:58.903Z] 93b61091891f: Verifying Checksum [2021-06-03T15:19:58.903Z] 93b61091891f: Download complete [2021-06-03T15:19:58.903Z] 01666e4c0597: Verifying Checksum [2021-06-03T15:19:58.903Z] 01666e4c0597: Download complete [2021-06-03T15:19:58.903Z] df20fa9351a1: Pull complete [2021-06-03T15:19:58.903Z] 8ad3a11d3b57: Verifying Checksum [2021-06-03T15:19:58.903Z] 8ad3a11d3b57: Download complete [2021-06-03T15:19:59.168Z] 36b3adc4ff6f: Pull complete [2021-06-03T15:19:59.745Z] 8ad3a11d3b57: Pull complete [2021-06-03T15:19:59.745Z] 46f8f816bc3b: Pull complete [2021-06-03T15:20:00.021Z] 93b61091891f: Pull complete [2021-06-03T15:20:00.021Z] 93b9cdb0e59b: Pull complete [2021-06-03T15:20:00.284Z] 5e14af77c1be: Pull complete [2021-06-03T15:20:00.284Z] 01666e4c0597: Pull complete [2021-06-03T15:20:01.229Z] aa168da1d23b: Verifying Checksum [2021-06-03T15:20:01.229Z] aa168da1d23b: Download complete [2021-06-03T15:20:05.509Z] aa168da1d23b: Pull complete [2021-06-03T15:20:05.509Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-03T15:20:05.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T15:20:05.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-03T15:20:05.598Z] prd-centos7-docker-4c-2g-310 does not seem to be running inside a container [2021-06-03T15:20:05.632Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-110/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-110 -v /w/workspace/gexfoundry_device-rest-go_PR-110:/w/workspace/gexfoundry_device-rest-go_PR-110:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-110@tmp:/w/workspace/gexfoundry_device-rest-go_PR-110@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-03T15:20:09.153Z] $ docker top a0eb3a86362a7594c1d79524e23075634ea0be946e0a0c52465217eff6ace987 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T15:20:09.544Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-03T15:20:09.855Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-03T15:20:10.161Z] + ls /var/log/sa-host [2021-06-03T15:20:10.161Z] + sadf -c /var/log/sa-host/sa03 [2021-06-03T15:20:10.161Z] file_magic: OK [2021-06-03T15:20:10.161Z] HZ: Using current value: 100 [2021-06-03T15:20:10.161Z] file_header: OK [2021-06-03T15:20:10.161Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-03T15:20:10.161Z] Statistics: [2021-06-03T15:20:10.161Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-03T15:20:10.161Z] File successfully converted to sysstat format version 12.2.1 [2021-06-03T15:20:10.161Z] + sadf -c /var/log/sa-host/sa05 [2021-06-03T15:20:10.161Z] file_magic: OK [2021-06-03T15:20:10.161Z] HZ: Using current value: 100 [2021-06-03T15:20:10.161Z] file_header: OK [2021-06-03T15:20:10.161Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-03T15:20:10.161Z] Statistics: [2021-06-03T15:20:10.161Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-03T15:20:10.161Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T15:20:10.799Z] provisioning config files... [2021-06-03T15:20:10.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-110@tmp/config459146953304047740tmp [Pipeline] { [Pipeline] echo [2021-06-03T15:20:10.838Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:20:11.139Z] ---> create-netrc.sh [Pipeline] } [2021-06-03T15:20:11.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-03T15:20:11.181Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:20:11.476Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-03T15:20:11.486Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:20:11.796Z] ---> sudo-logs.sh [2021-06-03T15:20:11.796Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-03T15:20:11.845Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:20:12.136Z] ---> job-cost.sh [2021-06-03T15:20:12.136Z] lf-activate-venv: SKIPPING [2021-06-03T15:20:12.136Z] DEBUG: total: 0.18000000715255737 [2021-06-03T15:20:12.136Z] INFO: Retrieving Stack Cost... [2021-06-03T15:20:13.081Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-03T15:20:13.653Z] INFO: Archiving Costs [Pipeline] echo [2021-06-03T15:20:13.665Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T15:20:13.970Z] ---> logs-deploy.sh [2021-06-03T15:20:13.970Z] lf-activate-venv: SKIPPING [2021-06-03T15:20:13.970Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-110/4 [2021-06-03T15:20:13.970Z] INFO: archiving workspace using pattern(s): [2021-06-03T15:20:14.916Z] Archives upload complete. [2021-06-03T15:20:14.916Z] INFO: archiving logs to Nexus