Pull request #101 updated 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from efff53f423d649766e26e3e18a07a36f52fe3c00+8ab618566fd99c79b3e6b1ee7b4c674816e04a15 (f2553730c1af94196d684e21d0f819a4fff40d57) 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-ssh4451150729401016474.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh7971437655077306818.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 9d0281235b943b7ad605f650702698f9078b2862 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-101/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-101/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8546463002235218179.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh1748264013314803823.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-101/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-101/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5052279909035977887.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14853 in /w/workspace/gexfoundry_device-rest-go_PR-101 [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-101 # 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-101@tmp/jenkins-gitclient-ssh5520776980961543294.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-101@tmp/jenkins-gitclient-ssh7780453910106785887.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/101/head:refs/remotes/origin/PR-101 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 into PR head commit efff53f423d649766e26e3e18a07a36f52fe3c00 Merge succeeded, producing efff53f423d649766e26e3e18a07a36f52fe3c00 Checking out Revision efff53f423d649766e26e3e18a07a36f52fe3c00 (PR-101) > git config core.sparsecheckout # timeout=10 > git checkout -f efff53f423d649766e26e3e18a07a36f52fe3c00 # 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-101@tmp/jenkins-gitclient-ssh2770151647177861931.key > git merge 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efff53f423d649766e26e3e18a07a36f52fe3c00 # timeout=10 Commit message: "refactor: final go.mod update" > git rev-list --no-walk dd015441476b5b57af5e4a873d1a596b340a5c28 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-18T21:20:11.826Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-18T21:20:11.941Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-18T21:20:11.972Z] ========================================================= [2021-05-18T21:20:11.972Z] EdgeX Global Pipelines Version Info [2021-05-18T21:20:11.972Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:20:13.383Z] ------------------- [2021-05-18T21:20:13.383Z] stable info: [2021-05-18T21:20:13.383Z] ------------------- [2021-05-18T21:20:13.383Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-18T21:20:13.383Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T21:20:13.383Z] Message: update stable to v1.0.192 [2021-05-18T21:20:13.958Z] ------------------- [2021-05-18T21:20:13.958Z] experimental info: [2021-05-18T21:20:13.958Z] ------------------- [2021-05-18T21:20:13.958Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-18T21:20:13.958Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T21:20:13.958Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-18T21:20:14.134Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-18T21:20:14.166Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-18T21:20:14.189Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-18T21:20:14.225Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-18T21:20:14.269Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-18T21:20:14.293Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-18T21:20:14.318Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-18T21:20:14.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-18T21:20:14.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-18T21:20:14.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-18T21:20:14.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-18T21:20:14.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-18T21:20:14.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-18T21:20:14.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-18T21:20:14.601Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T21:20:14.625Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T21:20:14.667Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T21:20:14.704Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T21:20:14.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-18T21:20:14.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-18T21:20:14.803Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-18T21:20:14.848Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-18T21:20:14.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-18T21:20:14.895Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-18T21:20:14.957Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-18T21:20:14.983Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-18T21:20:15.012Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-101 [Pipeline] echo [2021-05-18T21:20:15.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-101 [Pipeline] echo [2021-05-18T21:20:15.069Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-101 [Pipeline] echo [2021-05-18T21:20:15.114Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efff53f423d649766e26e3e18a07a36f52fe3c00 [Pipeline] echo [2021-05-18T21:20:15.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efff53f [Pipeline] echo [2021-05-18T21:20:15.184Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T21:20:15.260Z] provisioning config files... [2021-05-18T21:20:15.286Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-101@tmp/config7108561964432991859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:20:15.616Z] ---> docker-login.sh [2021-05-18T21:20:15.616Z] nexus3.edgexfoundry.org:10001 [2021-05-18T21:20:15.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:20:15.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:20:15.883Z] Configure a credential helper to remove this warning. See [2021-05-18T21:20:15.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:20:15.883Z] [2021-05-18T21:20:15.883Z] Login Succeeded [2021-05-18T21:20:15.883Z] nexus3.edgexfoundry.org:10002 [2021-05-18T21:20:15.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:20:15.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:20:15.883Z] Configure a credential helper to remove this warning. See [2021-05-18T21:20:15.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:20:15.883Z] [2021-05-18T21:20:15.883Z] Login Succeeded [2021-05-18T21:20:15.883Z] nexus3.edgexfoundry.org:10003 [2021-05-18T21:20:16.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:20:16.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:20:16.145Z] Configure a credential helper to remove this warning. See [2021-05-18T21:20:16.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:20:16.145Z] [2021-05-18T21:20:16.145Z] Login Succeeded [2021-05-18T21:20:16.145Z] nexus3.edgexfoundry.org:10004 [2021-05-18T21:20:16.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:20:16.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:20:16.145Z] Configure a credential helper to remove this warning. See [2021-05-18T21:20:16.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:20:16.145Z] [2021-05-18T21:20:16.145Z] Login Succeeded [2021-05-18T21:20:16.145Z] docker.io [2021-05-18T21:20:16.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:20:16.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:20:16.672Z] Configure a credential helper to remove this warning. See [2021-05-18T21:20:16.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:20:16.672Z] [2021-05-18T21:20:16.672Z] Login Succeeded [2021-05-18T21:20:16.672Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T21:20:16.682Z] 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-05-18T21:20:17.234Z] + git log --format=format:%s -1 efff53f423d649766e26e3e18a07a36f52fe3c00 [Pipeline] echo [2021-05-18T21:20:17.276Z] GIT_COMMIT: efff53f423d649766e26e3e18a07a36f52fe3c00, Commit Message: refactor: final go.mod update [Pipeline] echo [2021-05-18T21:20:17.293Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:20:17.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T21:20:17.974Z] [2021-05-18T21:20:17.974Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:20:18.308Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T21:20:18.308Z] latest: Pulling from edgex-devops/git-semver [2021-05-18T21:20:18.308Z] 31603596830f: Pulling fs layer [2021-05-18T21:20:18.308Z] 54011a49482f: Pulling fs layer [2021-05-18T21:20:18.308Z] a6820b24f6d8: Pulling fs layer [2021-05-18T21:20:18.308Z] f581987b2513: Pulling fs layer [2021-05-18T21:20:18.308Z] f581987b2513: Waiting [2021-05-18T21:20:18.308Z] 54011a49482f: Verifying Checksum [2021-05-18T21:20:18.308Z] 54011a49482f: Download complete [2021-05-18T21:20:18.574Z] 31603596830f: Verifying Checksum [2021-05-18T21:20:18.574Z] 31603596830f: Download complete [2021-05-18T21:20:18.574Z] f581987b2513: Verifying Checksum [2021-05-18T21:20:18.574Z] f581987b2513: Download complete [2021-05-18T21:20:18.574Z] 31603596830f: Pull complete [2021-05-18T21:20:18.837Z] a6820b24f6d8: Verifying Checksum [2021-05-18T21:20:18.837Z] a6820b24f6d8: Download complete [2021-05-18T21:20:18.837Z] 54011a49482f: Pull complete [2021-05-18T21:20:19.427Z] a6820b24f6d8: Pull complete [2021-05-18T21:20:19.689Z] f581987b2513: Pull complete [2021-05-18T21:20:19.689Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-18T21:20:19.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T21:20:19.689Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-18T21:20:19.776Z] prd-centos7-docker-4c-2g-14853 does not seem to be running inside a container [2021-05-18T21:20:19.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-101 -v /w/workspace/gexfoundry_device-rest-go_PR-101:/w/workspace/gexfoundry_device-rest-go_PR-101:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-101@tmp:/w/workspace/gexfoundry_device-rest-go_PR-101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T21:20:23.223Z] $ docker top 1c4706483a0246b3990c6fa6bbc6391c9fb373458ffebc97adb90d046c81de6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T21:20:23.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T21:20:23.349Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T21:20:23.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T21:20:23.473Z] $ docker exec 1c4706483a0246b3990c6fa6bbc6391c9fb373458ffebc97adb90d046c81de6e ssh-agent [2021-05-18T21:20:23.577Z] SSH_AUTH_SOCK=/tmp/ssh-iAN76vtKBtZ6/agent.13 [2021-05-18T21:20:23.577Z] SSH_AGENT_PID=20 [2021-05-18T21:20:23.585Z] Running ssh-add (command line suppressed) [2021-05-18T21:20:23.684Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-101@tmp/private_key_6555645214710191507.key (/w/workspace/gexfoundry_device-rest-go_PR-101@tmp/private_key_6555645214710191507.key) [2021-05-18T21:20:23.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T21:20:24.014Z] + git tag --points-at HEAD [Pipeline] } [2021-05-18T21:20:24.030Z] $ docker exec --env ******** --env ******** 1c4706483a0246b3990c6fa6bbc6391c9fb373458ffebc97adb90d046c81de6e ssh-agent -k [2021-05-18T21:20:24.135Z] unset SSH_AUTH_SOCK; [2021-05-18T21:20:24.135Z] unset SSH_AGENT_PID; [2021-05-18T21:20:24.135Z] echo Agent pid 20 killed; [2021-05-18T21:20:24.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-18T21:20:24.185Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T21:20:24.185Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T21:20:24.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T21:20:24.307Z] $ docker exec 1c4706483a0246b3990c6fa6bbc6391c9fb373458ffebc97adb90d046c81de6e ssh-agent [2021-05-18T21:20:24.414Z] SSH_AUTH_SOCK=/tmp/ssh-MWCbhsHGtBL4/agent.55 [2021-05-18T21:20:24.414Z] SSH_AGENT_PID=62 [2021-05-18T21:20:24.419Z] Running ssh-add (command line suppressed) [2021-05-18T21:20:24.518Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-101@tmp/private_key_1884151128780759463.key (/w/workspace/gexfoundry_device-rest-go_PR-101@tmp/private_key_1884151128780759463.key) [2021-05-18T21:20:24.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T21:20:24.849Z] + git semver init [2021-05-18T21:20:24.849Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T21:20:24.849Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-101/.git [2021-05-18T21:20:24.849Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-101 [2021-05-18T21:20:24.849Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T21:20:24.849Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T21:20:24.849Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T21:20:24.849Z] # $SEMVER_BRANCH = PR-101 [2021-05-18T21:20:24.849Z] # $SEMVER_TEMP = /tmp/semver-412993982 [2021-05-18T21:20:24.849Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-18T21:20:25.822Z] # '/tmp/semver-412993982' -> '/w/workspace/gexfoundry_device-rest-go_PR-101/.semver' [2021-05-18T21:20:25.822Z] # -> Force: false [2021-05-18T21:20:25.822Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-101/.semver [Pipeline] } [2021-05-18T21:20:25.834Z] $ docker exec --env ******** --env ******** 1c4706483a0246b3990c6fa6bbc6391c9fb373458ffebc97adb90d046c81de6e ssh-agent -k [2021-05-18T21:20:25.931Z] unset SSH_AUTH_SOCK; [2021-05-18T21:20:25.933Z] unset SSH_AGENT_PID; [2021-05-18T21:20:25.933Z] echo Agent pid 62 killed; [2021-05-18T21:20:25.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T21:20:26.279Z] + git semver [Pipeline] } [2021-05-18T21:20:26.294Z] $ docker stop --time=1 1c4706483a0246b3990c6fa6bbc6391c9fb373458ffebc97adb90d046c81de6e [2021-05-18T21:20:27.631Z] $ docker rm -f 1c4706483a0246b3990c6fa6bbc6391c9fb373458ffebc97adb90d046c81de6e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T21:20:28.003Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-18T21:20:28.295Z] Stashed 1 file(s) [Pipeline] echo [2021-05-18T21:20:28.299Z] [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-05-18T21:20:43.624Z] Still waiting to schedule task [2021-05-18T21:20:43.624Z] Executor slot already in use [2021-05-18T21:20:43.624Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-18T21:20:43.625Z] ‘prd-centos7-docker-4c-2g-14856’ is offline [2021-05-18T21:20:43.625Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-18T21:20:43.625Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14854’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-18T21:20:43.628Z] Still waiting to schedule task [2021-05-18T21:20:43.628Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14854’ is offline [2021-05-18T21:21:32.629Z] Running on prd-centos7-docker-4c-2g-14857 in /w/workspace/gexfoundry_device-rest-go_PR-101 [Pipeline] { [Pipeline] ws [2021-05-18T21:21:32.651Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-05-18T21:21:32.772Z] The recommended git tool is: git [2021-05-18T21:21:34.909Z] using credential edgex-jenkins-ssh [2021-05-18T21:21:34.923Z] Cloning the remote Git repository [2021-05-18T21:21:33.917Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T21:21:33.981Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-05-18T21:21:34.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T21:21:34.008Z] > git --version # timeout=10 [2021-05-18T21:21:34.014Z] > git --version # 'git version 2.24.4' [2021-05-18T21:21:34.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T21:21:34.042Z] [INFO] Currently running in a labeled security context [2021-05-18T21:21:34.042Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T21:21:34.042Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh7428684260422909395.key [2021-05-18T21:21:34.069Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T21:21:36.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-18T21:21:36.036Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T21:21:36.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-18T21:21:36.059Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T21:21:36.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T21:21:36.060Z] [INFO] Currently running in a labeled security context [2021-05-18T21:21:36.060Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T21:21:36.060Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh1072059853352765723.key [2021-05-18T21:21:36.070Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/101/head:refs/remotes/origin/PR-101 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-18T21:21:36.514Z] Merging remotes/origin/master commit 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 into PR head commit efff53f423d649766e26e3e18a07a36f52fe3c00 [2021-05-18T21:21:36.596Z] Merge succeeded, producing efff53f423d649766e26e3e18a07a36f52fe3c00 [2021-05-18T21:21:36.597Z] Checking out Revision efff53f423d649766e26e3e18a07a36f52fe3c00 (PR-101) [2021-05-18T21:21:36.524Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T21:21:36.532Z] > git checkout -f efff53f423d649766e26e3e18a07a36f52fe3c00 # timeout=10 [2021-05-18T21:21:36.556Z] > git remote # timeout=10 [2021-05-18T21:21:36.562Z] > git config --get remote.origin.url # timeout=10 [2021-05-18T21:21:36.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T21:21:36.571Z] [INFO] Currently running in a labeled security context [2021-05-18T21:21:36.571Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T21:21:36.571Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh7000847823360986109.key [2021-05-18T21:21:36.580Z] > git merge 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [2021-05-18T21:21:36.590Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-18T21:21:36.603Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T21:21:36.621Z] > git checkout -f efff53f423d649766e26e3e18a07a36f52fe3c00 # timeout=10 [2021-05-18T21:21:40.166Z] Commit message: "refactor: final go.mod update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T21:21:41.168Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-18T21:21:41.494Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T21:21:41.789Z] + sudo service docker restart [2021-05-18T21:21:41.789Z] + true [2021-05-18T21:21:41.789Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T21:21:59.961Z] provisioning config files... [2021-05-18T21:21:59.975Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config3507763520381308068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:22:00.301Z] ---> docker-login.sh [2021-05-18T21:22:00.301Z] nexus3.edgexfoundry.org:10001 [2021-05-18T21:22:00.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:22:00.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:22:00.570Z] Configure a credential helper to remove this warning. See [2021-05-18T21:22:00.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:22:00.570Z] [2021-05-18T21:22:00.570Z] Login Succeeded [2021-05-18T21:22:00.570Z] nexus3.edgexfoundry.org:10002 [2021-05-18T21:22:00.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:22:00.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:22:00.570Z] Configure a credential helper to remove this warning. See [2021-05-18T21:22:00.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:22:00.570Z] [2021-05-18T21:22:00.570Z] Login Succeeded [2021-05-18T21:22:00.570Z] nexus3.edgexfoundry.org:10003 [2021-05-18T21:22:00.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:22:00.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:22:00.833Z] Configure a credential helper to remove this warning. See [2021-05-18T21:22:00.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:22:00.833Z] [2021-05-18T21:22:00.833Z] Login Succeeded [2021-05-18T21:22:00.833Z] nexus3.edgexfoundry.org:10004 [2021-05-18T21:22:00.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:22:00.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:22:00.833Z] Configure a credential helper to remove this warning. See [2021-05-18T21:22:00.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:22:00.833Z] [2021-05-18T21:22:00.833Z] Login Succeeded [2021-05-18T21:22:00.833Z] docker.io [2021-05-18T21:22:01.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:22:01.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:22:01.356Z] Configure a credential helper to remove this warning. See [2021-05-18T21:22:01.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:22:01.356Z] [2021-05-18T21:22:01.356Z] Login Succeeded [2021-05-18T21:22:01.356Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T21:22:01.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T21:22:01.519Z] ========================================================= [2021-05-18T21:22:01.519Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-18T21:22:01.519Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:22:01.851Z] + 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-05-18T21:22:01.851Z] Sending build context to Docker daemon 92.16kB [2021-05-18T21:22:01.851Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T21:22:01.851Z] Step 2/10 : FROM ${BASE} [2021-05-18T21:22:01.851Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-18T21:22:01.851Z] 540db60ca938: Pulling fs layer [2021-05-18T21:22:01.851Z] adcc1eea9eea: Pulling fs layer [2021-05-18T21:22:01.851Z] 4c4ab2625f07: Pulling fs layer [2021-05-18T21:22:01.851Z] 0510c868ecb4: Pulling fs layer [2021-05-18T21:22:01.851Z] afea3b2eda06: Pulling fs layer [2021-05-18T21:22:01.851Z] 7809a108b3ef: Pulling fs layer [2021-05-18T21:22:01.851Z] f706445af74f: Pulling fs layer [2021-05-18T21:22:01.851Z] afea3b2eda06: Waiting [2021-05-18T21:22:01.851Z] 7809a108b3ef: Waiting [2021-05-18T21:22:01.851Z] f706445af74f: Waiting [2021-05-18T21:22:01.851Z] 0510c868ecb4: Waiting [2021-05-18T21:22:01.851Z] 4c4ab2625f07: Verifying Checksum [2021-05-18T21:22:01.851Z] 4c4ab2625f07: Download complete [2021-05-18T21:22:02.115Z] adcc1eea9eea: Verifying Checksum [2021-05-18T21:22:02.115Z] adcc1eea9eea: Download complete [2021-05-18T21:22:02.115Z] afea3b2eda06: Verifying Checksum [2021-05-18T21:22:02.115Z] afea3b2eda06: Download complete [2021-05-18T21:22:02.115Z] 540db60ca938: Verifying Checksum [2021-05-18T21:22:02.115Z] 540db60ca938: Download complete [2021-05-18T21:22:02.115Z] 7809a108b3ef: Verifying Checksum [2021-05-18T21:22:02.115Z] 7809a108b3ef: Download complete [2021-05-18T21:22:02.115Z] 540db60ca938: Pull complete [2021-05-18T21:22:02.375Z] adcc1eea9eea: Pull complete [2021-05-18T21:22:02.375Z] 4c4ab2625f07: Pull complete [2021-05-18T21:22:03.783Z] f706445af74f: Verifying Checksum [2021-05-18T21:22:03.783Z] f706445af74f: Download complete [2021-05-18T21:22:04.354Z] 0510c868ecb4: Verifying Checksum [2021-05-18T21:22:04.354Z] 0510c868ecb4: Download complete [2021-05-18T21:22:07.699Z] 0510c868ecb4: Pull complete [2021-05-18T21:22:07.699Z] afea3b2eda06: Pull complete [2021-05-18T21:22:07.699Z] 7809a108b3ef: Pull complete [2021-05-18T21:22:09.631Z] f706445af74f: Pull complete [2021-05-18T21:22:09.631Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-18T21:22:09.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-18T21:22:09.893Z] ---> b068be0155e3 [2021-05-18T21:22:09.893Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T21:22:16.495Z] ---> Running in d6ab1e7ef065 [2021-05-18T21:22:16.495Z] Removing intermediate container d6ab1e7ef065 [2021-05-18T21:22:16.495Z] ---> 8166ac59a098 [2021-05-18T21:22:16.495Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T21:22:16.760Z] ---> Running in d480170b344a [2021-05-18T21:22:16.760Z] Removing intermediate container d480170b344a [2021-05-18T21:22:16.760Z] ---> 1ac253dc40d7 [2021-05-18T21:22:16.760Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-18T21:22:16.760Z] ---> Running in 3062a7c11126 [2021-05-18T21:22:17.026Z] Removing intermediate container 3062a7c11126 [2021-05-18T21:22:17.026Z] ---> b783964e1b28 [2021-05-18T21:22:17.026Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T21:22:17.026Z] ---> Running in 00d5949a164c [2021-05-18T21:22:17.599Z] Removing intermediate container 00d5949a164c [2021-05-18T21:22:17.599Z] ---> d90fde14d10c [2021-05-18T21:22:17.599Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T21:22:17.599Z] ---> Running in 0728eda981e1 [2021-05-18T21:22:18.172Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T21:22:19.132Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T21:22:19.709Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-18T21:22:19.970Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-18T21:22:19.970Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-18T21:22:19.970Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-18T21:22:20.233Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T21:22:20.233Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-18T21:22:20.496Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-18T21:22:21.908Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-18T21:22:21.908Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-18T21:22:21.908Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T21:22:21.908Z] OK: 154 MiB in 49 packages [2021-05-18T21:22:22.485Z] Removing intermediate container 0728eda981e1 [2021-05-18T21:22:22.485Z] ---> 2a1d9ccc13cb [2021-05-18T21:22:22.485Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-18T21:22:22.485Z] ---> Running in 02162358dca3 [2021-05-18T21:22:22.485Z] Removing intermediate container 02162358dca3 [2021-05-18T21:22:22.485Z] ---> 893a27c37e13 [2021-05-18T21:22:22.485Z] Step 9/10 : COPY . . [2021-05-18T21:22:22.749Z] ---> dc81835247c4 [2021-05-18T21:22:22.749Z] Step 10/10 : RUN go mod download [2021-05-18T21:22:22.749Z] ---> Running in 14bf56c5924a [2021-05-18T21:22:37.684Z] Removing intermediate container 14bf56c5924a [2021-05-18T21:22:37.684Z] ---> 49224a7db5d0 [2021-05-18T21:22:37.684Z] Successfully built 49224a7db5d0 [2021-05-18T21:22:37.684Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:22:37.987Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-18T21:22:37.987Z] . [Pipeline] withDockerContainer [2021-05-18T21:22:38.071Z] prd-centos7-docker-4c-2g-14857 does not seem to be running inside a container [2021-05-18T21:22:38.120Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-18T21:22:38.550Z] $ docker top ab81de1e18ab198254bc34b4f1c80fd5361ccbbb9155ac064a1e301a26cae610 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T21:22:38.932Z] + go version [2021-05-18T21:22:38.932Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-18T21:22:38.946Z] $ docker stop --time=1 ab81de1e18ab198254bc34b4f1c80fd5361ccbbb9155ac064a1e301a26cae610 [2021-05-18T21:22:40.253Z] $ docker rm -f ab81de1e18ab198254bc34b4f1c80fd5361ccbbb9155ac064a1e301a26cae610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:22:40.870Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-18T21:22:40.870Z] . [Pipeline] withDockerContainer [2021-05-18T21:22:40.941Z] prd-centos7-docker-4c-2g-14857 does not seem to be running inside a container [2021-05-18T21:22:40.984Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-18T21:22:41.336Z] $ docker top 743f8ba9df6563d14942068f0528e457b975edede1820c815b93e71db52c03e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T21:22:41.727Z] + go mod tidy [Pipeline] sh [2021-05-18T21:22:42.297Z] + make test [2021-05-18T21:22:42.297Z] go mod tidy [2021-05-18T21:22:42.297Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-18T21:22:42.877Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-18T21:23:01.156Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-18T21:23:01.156Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-05-18T21:23:01.156Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-18T21:23:06.516Z] gofmt -l . [2021-05-18T21:23:06.516Z] [ "`gofmt -l .`" = "" ] [2021-05-18T21:23:06.516Z] ./bin/test-go-mod-tidy.sh [2021-05-18T21:23:06.516Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-18T21:23:06.528Z] $ docker stop --time=1 743f8ba9df6563d14942068f0528e457b975edede1820c815b93e71db52c03e1 [2021-05-18T21:23:08.056Z] $ docker rm -f 743f8ba9df6563d14942068f0528e457b975edede1820c815b93e71db52c03e1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T21:23:08.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-18T21:23:08.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-18T21:23:09.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-18T21:23:10.246Z] + ls -al . [2021-05-18T21:23:10.246Z] total 104 [2021-05-18T21:23:10.246Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 18 21:23 . [2021-05-18T21:23:10.246Z] drwxrwxr-x. 4 jenkins jenkins 28 May 18 21:21 .. [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 18 21:21 Attribution.txt [2021-05-18T21:23:10.246Z] drwxrwxr-x. 2 jenkins jenkins 64 May 18 21:21 bin [2021-05-18T21:23:10.246Z] drwxrwxr-x. 3 jenkins jenkins 32 May 18 21:21 cmd [2021-05-18T21:23:10.246Z] -rw-r--r--. 1 jenkins jenkins 8513 May 18 21:22 coverage.out [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 18 21:21 Dockerfile [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 18 21:21 Dockerfile.build [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 151 May 18 21:21 .dockerignore [2021-05-18T21:23:10.246Z] drwxrwxr-x. 2 jenkins jenkins 76 May 18 21:21 driver [2021-05-18T21:23:10.246Z] drwxrwxr-x. 8 jenkins jenkins 179 May 18 21:21 .git [2021-05-18T21:23:10.246Z] drwxrwxr-x. 2 jenkins jenkins 103 May 18 21:21 .github [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 336 May 18 21:21 .gitignore [2021-05-18T21:23:10.246Z] -rw-r--r--. 1 jenkins jenkins 285 May 18 21:23 go.mod [2021-05-18T21:23:10.246Z] -rw-r--r--. 1 jenkins jenkins 21177 May 18 21:22 go.sum [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 680 May 18 21:21 Jenkinsfile [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 18 21:21 LICENSE [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 996 May 18 21:21 Makefile [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 18 21:21 README.md [2021-05-18T21:23:10.246Z] drwxrwxr-x. 4 jenkins jenkins 71 May 18 21:21 snap [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 5 May 18 21:20 VERSION [2021-05-18T21:23:10.246Z] -rw-rw-r--. 1 jenkins jenkins 713 May 18 21:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:23:10.552Z] + 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=efff53f423d649766e26e3e18a07a36f52fe3c00 --label arch=amd64 --label version=0.0.0 . [2021-05-18T21:23:10.552Z] Sending build context to Docker daemon 101.9kB [2021-05-18T21:23:10.552Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T21:23:10.552Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-18T21:23:10.552Z] ---> 49224a7db5d0 [2021-05-18T21:23:10.552Z] Step 3/25 : ARG MAKE='make build' [2021-05-18T21:23:10.552Z] ---> Running in 4401f4f139f7 [2021-05-18T21:23:10.811Z] Removing intermediate container 4401f4f139f7 [2021-05-18T21:23:10.811Z] ---> 366b4a87414b [2021-05-18T21:23:10.811Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T21:23:10.811Z] ---> Running in c466b12e6f34 [2021-05-18T21:23:10.811Z] Removing intermediate container c466b12e6f34 [2021-05-18T21:23:10.811Z] ---> 9691112a2516 [2021-05-18T21:23:10.811Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T21:23:10.811Z] ---> Running in 08a45e93d71a [2021-05-18T21:23:10.811Z] Removing intermediate container 08a45e93d71a [2021-05-18T21:23:10.811Z] ---> 3dabf73b690e [2021-05-18T21:23:10.811Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T21:23:10.811Z] ---> Running in 285b088e766d [2021-05-18T21:23:11.771Z] Removing intermediate container 285b088e766d [2021-05-18T21:23:11.771Z] ---> 839fe800a129 [2021-05-18T21:23:11.771Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T21:23:11.771Z] ---> Running in d18b016b54f4 [2021-05-18T21:23:12.032Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T21:23:12.976Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T21:23:13.237Z] OK: 154 MiB in 49 packages [2021-05-18T21:23:13.500Z] Removing intermediate container d18b016b54f4 [2021-05-18T21:23:13.500Z] ---> 95d7790b4560 [2021-05-18T21:23:13.500Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-18T21:23:13.500Z] ---> Running in b971d87488f1 [2021-05-18T21:23:13.763Z] Removing intermediate container b971d87488f1 [2021-05-18T21:23:13.763Z] ---> 2d9844873d5c [2021-05-18T21:23:13.763Z] Step 9/25 : COPY . . [2021-05-18T21:23:14.027Z] ---> afcee131ce14 [2021-05-18T21:23:14.027Z] Step 10/25 : RUN go mod tidy [2021-05-18T21:23:14.027Z] ---> Running in 1a952fd86289 [2021-05-18T21:23:14.601Z] Removing intermediate container 1a952fd86289 [2021-05-18T21:23:14.601Z] ---> 7549e84536ca [2021-05-18T21:23:14.601Z] Step 11/25 : RUN make update [2021-05-18T21:23:14.601Z] ---> Running in 4bb4a64910c1 [2021-05-18T21:23:14.861Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-18T21:23:15.436Z] Removing intermediate container 4bb4a64910c1 [2021-05-18T21:23:15.436Z] ---> d23a8de004eb [2021-05-18T21:23:15.436Z] Step 12/25 : RUN $MAKE [2021-05-18T21:23:15.436Z] ---> Running in bb384e82c27a [2021-05-18T21:23:15.700Z] go mod tidy [2021-05-18T21:23:15.966Z] 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-05-18T21:23:20.996Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14858 in /w/workspace/gexfoundry_device-rest-go_PR-101 [Pipeline] { [Pipeline] ws [2021-05-18T21:23:21.016Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-05-18T21:23:21.222Z] The recommended git tool is: git [2021-05-18T21:23:26.159Z] using credential edgex-jenkins-ssh [2021-05-18T21:23:26.179Z] Cloning the remote Git repository [2021-05-18T21:23:26.231Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T21:23:26.331Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-05-18T21:23:26.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T21:23:26.416Z] > git --version # timeout=10 [2021-05-18T21:23:26.431Z] > git --version # 'git version 2.17.1' [2021-05-18T21:23:26.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T21:23:26.557Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T21:23:28.368Z] Removing intermediate container bb384e82c27a [2021-05-18T21:23:28.368Z] ---> 0de7dae0d873 [2021-05-18T21:23:28.368Z] Step 13/25 : FROM alpine:3.12 [2021-05-18T21:23:28.368Z] 3.12: Pulling from library/alpine [2021-05-18T21:23:28.368Z] 339de151aab4: Pulling fs layer [2021-05-18T21:23:28.368Z] 339de151aab4: Verifying Checksum [2021-05-18T21:23:28.368Z] 339de151aab4: Download complete [2021-05-18T21:23:28.368Z] 339de151aab4: Pull complete [2021-05-18T21:23:28.368Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-18T21:23:28.368Z] Status: Downloaded newer image for alpine:3.12 [2021-05-18T21:23:28.368Z] ---> 13621d1b12d4 [2021-05-18T21:23:28.368Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-18T21:23:28.368Z] ---> Running in 49fdfb3a301a [2021-05-18T21:23:28.368Z] Removing intermediate container 49fdfb3a301a [2021-05-18T21:23:28.368Z] ---> edef58b5681a [2021-05-18T21:23:28.368Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-18T21:23:28.368Z] ---> Running in b57fc9b8eede [2021-05-18T21:23:28.368Z] Removing intermediate container b57fc9b8eede [2021-05-18T21:23:28.368Z] ---> c90abde5c8d4 [2021-05-18T21:23:28.368Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-18T21:23:28.368Z] ---> Running in d1ed87632c14 [2021-05-18T21:23:28.368Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-18T21:23:28.084Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-18T21:23:28.113Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T21:23:28.138Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-18T21:23:28.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T21:23:28.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T21:23:28.190Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/101/head:refs/remotes/origin/PR-101 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-18T21:23:28.629Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-18T21:23:28.629Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-18T21:23:28.629Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-18T21:23:28.629Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-18T21:23:28.629Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-18T21:23:28.629Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-18T21:23:28.629Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-18T21:23:28.629Z] Executing busybox-1.31.1-r20.trigger [2021-05-18T21:23:28.629Z] OK: 8 MiB in 20 packages [2021-05-18T21:23:28.766Z] Merging remotes/origin/master commit 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 into PR head commit efff53f423d649766e26e3e18a07a36f52fe3c00 [2021-05-18T21:23:28.891Z] Removing intermediate container d1ed87632c14 [2021-05-18T21:23:28.891Z] ---> fc6e85bca26e [2021-05-18T21:23:28.891Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-18T21:23:28.961Z] Merge succeeded, producing efff53f423d649766e26e3e18a07a36f52fe3c00 [2021-05-18T21:23:28.962Z] Checking out Revision efff53f423d649766e26e3e18a07a36f52fe3c00 (PR-101) [2021-05-18T21:23:29.463Z] ---> e89dc5372e36 [2021-05-18T21:23:29.463Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-18T21:23:29.463Z] ---> 7856b259a5e4 [2021-05-18T21:23:29.463Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-18T21:23:29.729Z] ---> a53423185038 [2021-05-18T21:23:29.729Z] Step 20/25 : EXPOSE 49986 [2021-05-18T21:23:29.729Z] ---> Running in ffe689a2bb8f [2021-05-18T21:23:29.729Z] Removing intermediate container ffe689a2bb8f [2021-05-18T21:23:29.729Z] ---> 7c20e96ba24f [2021-05-18T21:23:29.729Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-18T21:23:29.729Z] ---> Running in a185ebd130dd [2021-05-18T21:23:28.785Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T21:23:28.803Z] > git checkout -f efff53f423d649766e26e3e18a07a36f52fe3c00 # timeout=10 [2021-05-18T21:23:28.880Z] > git remote # timeout=10 [2021-05-18T21:23:28.900Z] > git config --get remote.origin.url # timeout=10 [2021-05-18T21:23:28.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T21:23:28.924Z] > git merge 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [2021-05-18T21:23:28.945Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-18T21:23:28.967Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T21:23:28.982Z] > git checkout -f efff53f423d649766e26e3e18a07a36f52fe3c00 # timeout=10 [2021-05-18T21:23:29.991Z] Removing intermediate container a185ebd130dd [2021-05-18T21:23:29.991Z] ---> 0e1c7cf98f63 [2021-05-18T21:23:29.991Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-18T21:23:29.992Z] ---> Running in 6e00686e4bc9 [2021-05-18T21:23:29.992Z] Removing intermediate container 6e00686e4bc9 [2021-05-18T21:23:29.992Z] ---> 416b4a59886d [2021-05-18T21:23:29.992Z] Step 23/25 : LABEL arch=amd64 [2021-05-18T21:23:30.255Z] ---> Running in b69c67f1534d [2021-05-18T21:23:30.255Z] Removing intermediate container b69c67f1534d [2021-05-18T21:23:30.255Z] ---> 09566778b887 [2021-05-18T21:23:30.255Z] Step 24/25 : LABEL git_sha=efff53f423d649766e26e3e18a07a36f52fe3c00 [2021-05-18T21:23:30.517Z] ---> Running in a705d589c8eb [2021-05-18T21:23:30.517Z] Removing intermediate container a705d589c8eb [2021-05-18T21:23:30.517Z] ---> de901d57e449 [2021-05-18T21:23:30.517Z] Step 25/25 : LABEL version=0.0.0 [2021-05-18T21:23:30.517Z] ---> Running in 88e76d4e2ab3 [2021-05-18T21:23:30.779Z] Removing intermediate container 88e76d4e2ab3 [2021-05-18T21:23:30.779Z] ---> 943677c8aa45 [2021-05-18T21:23:30.779Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-18T21:23:30.779Z] Successfully built 943677c8aa45 [2021-05-18T21:23:30.779Z] 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-05-18T21:23:31.736Z] ---> job-cost.sh [2021-05-18T21:23:31.736Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-g6DZ [2021-05-18T21:23:33.185Z] Commit message: "refactor: final go.mod update" [2021-05-18T21:23:33.525Z] [2021-05-18T21:23:33.525Z] GitHub has been notified of this commit’s build result [2021-05-18T21:23:33.525Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T21:23:34.479Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-18T21:23:34.952Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T21:23:35.296Z] + true [2021-05-18T21:23:35.296Z] + sudo service docker restart [2021-05-18T21:23:41.755Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T21:23:53.645Z] provisioning config files... [2021-05-18T21:23:53.671Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config4715091163916251648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:23:54.047Z] ---> docker-login.sh [2021-05-18T21:23:54.047Z] nexus3.edgexfoundry.org:10001 [2021-05-18T21:23:55.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:23:55.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:23:55.304Z] Configure a credential helper to remove this warning. See [2021-05-18T21:23:55.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:23:55.304Z] [2021-05-18T21:23:55.304Z] Login Succeeded [2021-05-18T21:23:55.304Z] nexus3.edgexfoundry.org:10002 [2021-05-18T21:23:55.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:23:55.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:23:55.853Z] Configure a credential helper to remove this warning. See [2021-05-18T21:23:55.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:23:55.853Z] [2021-05-18T21:23:55.853Z] Login Succeeded [2021-05-18T21:23:55.853Z] nexus3.edgexfoundry.org:10003 [2021-05-18T21:23:56.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:23:56.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:23:56.408Z] Configure a credential helper to remove this warning. See [2021-05-18T21:23:56.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:23:56.408Z] [2021-05-18T21:23:56.408Z] Login Succeeded [2021-05-18T21:23:56.408Z] nexus3.edgexfoundry.org:10004 [2021-05-18T21:23:56.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:23:56.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:23:56.956Z] Configure a credential helper to remove this warning. See [2021-05-18T21:23:56.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:23:56.956Z] [2021-05-18T21:23:56.956Z] Login Succeeded [2021-05-18T21:23:56.956Z] docker.io [2021-05-18T21:23:57.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T21:23:57.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T21:23:57.825Z] Configure a credential helper to remove this warning. See [2021-05-18T21:23:57.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T21:23:57.825Z] [2021-05-18T21:23:57.825Z] Login Succeeded [2021-05-18T21:23:57.825Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T21:23:57.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T21:23:58.131Z] ========================================================= [2021-05-18T21:23:58.131Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-18T21:23:58.131Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:23:58.472Z] + 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-05-18T21:23:58.473Z] Sending build context to Docker daemon 92.16kB [2021-05-18T21:23:58.748Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T21:23:58.748Z] Step 2/10 : FROM ${BASE} [2021-05-18T21:23:59.022Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-18T21:23:59.022Z] 595b0fe564bb: Pulling fs layer [2021-05-18T21:23:59.022Z] 7186ed65a4f7: Pulling fs layer [2021-05-18T21:23:59.022Z] 316046926c0a: Pulling fs layer [2021-05-18T21:23:59.022Z] 4ebd0625c992: Pulling fs layer [2021-05-18T21:23:59.022Z] 207e8628e3a3: Pulling fs layer [2021-05-18T21:23:59.022Z] c791037a9be2: Pulling fs layer [2021-05-18T21:23:59.022Z] ffd874e62e21: Pulling fs layer [2021-05-18T21:23:59.022Z] 207e8628e3a3: Waiting [2021-05-18T21:23:59.022Z] c791037a9be2: Waiting [2021-05-18T21:23:59.022Z] 4ebd0625c992: Waiting [2021-05-18T21:23:59.022Z] ffd874e62e21: Waiting [2021-05-18T21:23:59.022Z] 316046926c0a: Download complete [2021-05-18T21:23:59.022Z] 7186ed65a4f7: Verifying Checksum [2021-05-18T21:23:59.022Z] 7186ed65a4f7: Download complete [2021-05-18T21:23:59.022Z] 207e8628e3a3: Verifying Checksum [2021-05-18T21:23:59.022Z] 207e8628e3a3: Download complete [2021-05-18T21:23:59.022Z] c791037a9be2: Verifying Checksum [2021-05-18T21:23:59.022Z] c791037a9be2: Download complete [2021-05-18T21:23:59.302Z] 595b0fe564bb: Verifying Checksum [2021-05-18T21:23:59.302Z] 595b0fe564bb: Download complete [2021-05-18T21:23:59.900Z] 595b0fe564bb: Pull complete [2021-05-18T21:24:00.505Z] 7186ed65a4f7: Pull complete [2021-05-18T21:24:00.786Z] 316046926c0a: Pull complete [2021-05-18T21:24:01.779Z] ffd874e62e21: Verifying Checksum [2021-05-18T21:24:01.779Z] ffd874e62e21: Download complete [2021-05-18T21:24:03.228Z] 4ebd0625c992: Verifying Checksum [2021-05-18T21:24:03.228Z] 4ebd0625c992: Download complete [2021-05-18T21:24:13.409Z] 4ebd0625c992: Pull complete [2021-05-18T21:24:13.682Z] 207e8628e3a3: Pull complete [2021-05-18T21:24:13.915Z] lf-activate-venv(): INFO: Adding /tmp/venv-g6DZ/bin to PATH [2021-05-18T21:24:13.915Z] INFO: No Stack... [2021-05-18T21:24:13.915Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T21:24:13.915Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T21:24:14.221Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-05-18T21:24:14.221Z] + cut -d, -f6 [Pipeline] lock [2021-05-18T21:24:14.250Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-101-4-stack-cost] [2021-05-18T21:24:14.258Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-101-4-stack-cost] did not exist. Created. [2021-05-18T21:24:14.258Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-101-4-stack-cost] [Pipeline] { [Pipeline] unstash [2021-05-18T21:24:14.283Z] c791037a9be2: Pull complete [Pipeline] sh [2021-05-18T21:24:14.589Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-18T21:24:14.684Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T21:24:14.698Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-101-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-18T21:24:17.679Z] ffd874e62e21: Pull complete [2021-05-18T21:24:17.956Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-18T21:24:17.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-18T21:24:17.956Z] ---> cfc18b08335c [2021-05-18T21:24:17.956Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T21:24:20.014Z] ---> Running in e8c5909e6218 [2021-05-18T21:24:20.317Z] Removing intermediate container e8c5909e6218 [2021-05-18T21:24:20.317Z] ---> 84edc56b8942 [2021-05-18T21:24:20.317Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T21:24:20.591Z] ---> Running in dee39a8ccd60 [2021-05-18T21:24:21.190Z] Removing intermediate container dee39a8ccd60 [2021-05-18T21:24:21.190Z] ---> ead999ce9ce2 [2021-05-18T21:24:21.190Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-18T21:24:21.190Z] ---> Running in b1e79855c230 [2021-05-18T21:24:21.787Z] Removing intermediate container b1e79855c230 [2021-05-18T21:24:21.787Z] ---> 10ab304274df [2021-05-18T21:24:21.787Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T21:24:21.787Z] ---> Running in 1860e28542cf [2021-05-18T21:24:24.411Z] Removing intermediate container 1860e28542cf [2021-05-18T21:24:24.411Z] ---> a0334d4b5a50 [2021-05-18T21:24:24.411Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T21:24:24.411Z] ---> Running in 40d3008ce8d6 [2021-05-18T21:24:25.847Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T21:24:26.823Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T21:24:27.428Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-18T21:24:27.699Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-18T21:24:27.699Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-18T21:24:27.699Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-18T21:24:27.970Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T21:24:27.970Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-18T21:24:28.242Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-18T21:24:28.515Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-18T21:24:28.515Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-18T21:24:28.787Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T21:24:28.787Z] OK: 144 MiB in 49 packages [2021-05-18T21:24:30.232Z] Removing intermediate container 40d3008ce8d6 [2021-05-18T21:24:30.232Z] ---> cb35f6347586 [2021-05-18T21:24:30.232Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-18T21:24:30.232Z] ---> Running in 80092245602b [2021-05-18T21:24:30.857Z] Removing intermediate container 80092245602b [2021-05-18T21:24:30.857Z] ---> fc5b4d6a1c9d [2021-05-18T21:24:30.857Z] Step 9/10 : COPY . . [2021-05-18T21:24:31.458Z] ---> a56de6563a6c [2021-05-18T21:24:31.459Z] Step 10/10 : RUN go mod download [2021-05-18T21:24:31.731Z] ---> Running in 2cc36b41c3ce [2021-05-18T21:24:58.533Z] Removing intermediate container 2cc36b41c3ce [2021-05-18T21:24:58.533Z] ---> e03e81afa03b [2021-05-18T21:24:58.533Z] Successfully built e03e81afa03b [2021-05-18T21:24:58.533Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:24:58.879Z] + docker inspect -f . ci-base-image-arm64 [2021-05-18T21:24:58.879Z] . [Pipeline] withDockerContainer [2021-05-18T21:24:59.154Z] prd-ubuntu18.04-docker-arm64-4c-16g-14858 does not seem to be running inside a container [2021-05-18T21:24:59.232Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-18T21:25:00.840Z] $ docker top fad2c9d8b992081e1fc217f67fdeb60e9cd0656f751cc4a48792fd8995948bda -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T21:25:01.845Z] + go version [2021-05-18T21:25:01.845Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-18T21:25:01.866Z] $ docker stop --time=1 fad2c9d8b992081e1fc217f67fdeb60e9cd0656f751cc4a48792fd8995948bda [2021-05-18T21:25:03.741Z] $ docker rm -f fad2c9d8b992081e1fc217f67fdeb60e9cd0656f751cc4a48792fd8995948bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:25:04.562Z] + docker inspect -f . ci-base-image-arm64 [2021-05-18T21:25:04.562Z] . [Pipeline] withDockerContainer [2021-05-18T21:25:04.822Z] prd-ubuntu18.04-docker-arm64-4c-16g-14858 does not seem to be running inside a container [2021-05-18T21:25:04.901Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-18T21:25:06.524Z] $ docker top 5a94a153a98e180f895bd15fc722849f8bdacd07f0aab8194f98ae87fed58187 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T21:25:07.507Z] + go mod tidy [Pipeline] sh [2021-05-18T21:25:08.769Z] + make test [2021-05-18T21:25:08.770Z] go mod tidy [2021-05-18T21:25:09.369Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-18T21:25:10.814Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-18T21:26:07.417Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-18T21:26:07.417Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements [2021-05-18T21:26:07.417Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-18T21:26:29.680Z] gofmt -l . [2021-05-18T21:26:29.680Z] [ "`gofmt -l .`" = "" ] [2021-05-18T21:26:29.680Z] ./bin/test-go-mod-tidy.sh [2021-05-18T21:26:29.680Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-18T21:26:30.672Z] $ docker stop --time=1 5a94a153a98e180f895bd15fc722849f8bdacd07f0aab8194f98ae87fed58187 [2021-05-18T21:26:32.686Z] $ docker rm -f 5a94a153a98e180f895bd15fc722849f8bdacd07f0aab8194f98ae87fed58187 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T21:26:33.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-18T21:26:33.596Z] Warning: overwriting stash ‘coverage-report’ [2021-05-18T21:26:34.081Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T21:26:34.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-18T21:26:34.902Z] + ls -al . [2021-05-18T21:26:34.902Z] total 132 [2021-05-18T21:26:34.902Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 21:26 . [2021-05-18T21:26:34.902Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:23 .. [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 151 May 18 21:23 .dockerignore [2021-05-18T21:26:34.902Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 21:23 .git [2021-05-18T21:26:34.902Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:23 .github [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 336 May 18 21:23 .gitignore [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 18 21:23 Attribution.txt [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 18 21:23 Dockerfile [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 18 21:23 Dockerfile.build [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 680 May 18 21:23 Jenkinsfile [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 18 21:23 LICENSE [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 996 May 18 21:23 Makefile [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 18 21:23 README.md [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 5 May 18 21:20 VERSION [2021-05-18T21:26:34.902Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:23 bin [2021-05-18T21:26:34.902Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 21:23 cmd [2021-05-18T21:26:34.902Z] -rw-r--r-- 1 jenkins jenkins 8513 May 18 21:26 coverage.out [2021-05-18T21:26:34.902Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:23 driver [2021-05-18T21:26:34.902Z] -rw-r--r-- 1 jenkins jenkins 285 May 18 21:26 go.mod [2021-05-18T21:26:34.902Z] -rw-r--r-- 1 jenkins jenkins 21177 May 18 21:25 go.sum [2021-05-18T21:26:34.902Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:23 snap [2021-05-18T21:26:34.902Z] -rw-rw-r-- 1 jenkins jenkins 713 May 18 21:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:26:35.243Z] + 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=efff53f423d649766e26e3e18a07a36f52fe3c00 --label arch=arm64 --label version=0.0.0 . [2021-05-18T21:26:35.243Z] Sending build context to Docker daemon 101.9kB [2021-05-18T21:26:35.518Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T21:26:35.518Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-18T21:26:35.518Z] ---> e03e81afa03b [2021-05-18T21:26:35.518Z] Step 3/25 : ARG MAKE='make build' [2021-05-18T21:26:35.792Z] ---> Running in 238b966168f6 [2021-05-18T21:26:36.391Z] Removing intermediate container 238b966168f6 [2021-05-18T21:26:36.391Z] ---> 8f40f821a4e8 [2021-05-18T21:26:36.391Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T21:26:36.391Z] ---> Running in 478601ea374c [2021-05-18T21:26:36.986Z] Removing intermediate container 478601ea374c [2021-05-18T21:26:36.986Z] ---> c4fc27bde46c [2021-05-18T21:26:36.986Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T21:26:36.986Z] ---> Running in 5c6c80015025 [2021-05-18T21:26:37.580Z] Removing intermediate container 5c6c80015025 [2021-05-18T21:26:37.581Z] ---> e5d0db61ffc0 [2021-05-18T21:26:37.581Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T21:26:37.581Z] ---> Running in f0e3752a7a23 [2021-05-18T21:26:40.286Z] Removing intermediate container f0e3752a7a23 [2021-05-18T21:26:40.286Z] ---> 1105f5dcc642 [2021-05-18T21:26:40.286Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T21:26:40.286Z] ---> Running in 28d7b77c7e7a [2021-05-18T21:26:41.298Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T21:26:42.273Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T21:26:43.259Z] OK: 144 MiB in 49 packages [2021-05-18T21:26:44.233Z] Removing intermediate container 28d7b77c7e7a [2021-05-18T21:26:44.233Z] ---> 3f2bef278b94 [2021-05-18T21:26:44.233Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-18T21:26:44.505Z] ---> Running in a9ec5d4a507d [2021-05-18T21:26:44.789Z] Removing intermediate container a9ec5d4a507d [2021-05-18T21:26:44.789Z] ---> aa916d1483a3 [2021-05-18T21:26:44.789Z] Step 9/25 : COPY . . [2021-05-18T21:26:45.767Z] ---> b4a1b32d5d67 [2021-05-18T21:26:45.767Z] Step 10/25 : RUN go mod tidy [2021-05-18T21:26:45.767Z] ---> Running in 4edb54438388 [2021-05-18T21:26:48.398Z] Removing intermediate container 4edb54438388 [2021-05-18T21:26:48.398Z] ---> ed68bc69257d [2021-05-18T21:26:48.398Z] Step 11/25 : RUN make update [2021-05-18T21:26:48.398Z] ---> Running in bff6237fba66 [2021-05-18T21:26:49.830Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-18T21:26:50.810Z] Removing intermediate container bff6237fba66 [2021-05-18T21:26:50.810Z] ---> ff62c5873a36 [2021-05-18T21:26:50.810Z] Step 12/25 : RUN $MAKE [2021-05-18T21:26:51.083Z] ---> Running in 810ff349a8e2 [2021-05-18T21:26:52.513Z] go mod tidy [2021-05-18T21:26:52.789Z] 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-05-18T21:27:31.817Z] Removing intermediate container 810ff349a8e2 [2021-05-18T21:27:31.817Z] ---> a37a57f5d89e [2021-05-18T21:27:31.817Z] Step 13/25 : FROM alpine:3.12 [2021-05-18T21:27:31.817Z] 3.12: Pulling from library/alpine [2021-05-18T21:27:31.817Z] d2f70382dc9a: Pulling fs layer [2021-05-18T21:27:31.817Z] d2f70382dc9a: Verifying Checksum [2021-05-18T21:27:31.817Z] d2f70382dc9a: Download complete [2021-05-18T21:27:31.817Z] d2f70382dc9a: Pull complete [2021-05-18T21:27:31.817Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-18T21:27:31.817Z] Status: Downloaded newer image for alpine:3.12 [2021-05-18T21:27:31.817Z] ---> 9852663dfa18 [2021-05-18T21:27:31.817Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-18T21:27:31.817Z] ---> Running in d046e294060b [2021-05-18T21:27:31.817Z] Removing intermediate container d046e294060b [2021-05-18T21:27:31.817Z] ---> e1397e8a0dfb [2021-05-18T21:27:31.817Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-18T21:27:31.817Z] ---> Running in 44ffa7045fa6 [2021-05-18T21:27:31.817Z] Removing intermediate container 44ffa7045fa6 [2021-05-18T21:27:31.817Z] ---> afab6ab30d06 [2021-05-18T21:27:31.817Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-18T21:27:31.817Z] ---> Running in 772f248385dd [2021-05-18T21:27:31.817Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-18T21:27:31.817Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-18T21:27:32.089Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-18T21:27:32.089Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-18T21:27:32.089Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-18T21:27:32.089Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-18T21:27:32.362Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-18T21:27:32.362Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-18T21:27:32.362Z] Executing busybox-1.31.1-r20.trigger [2021-05-18T21:27:32.362Z] OK: 8 MiB in 20 packages [2021-05-18T21:27:33.339Z] Removing intermediate container 772f248385dd [2021-05-18T21:27:33.339Z] ---> e30e7b6b68ec [2021-05-18T21:27:33.339Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-18T21:27:34.770Z] ---> 95f758e9aa92 [2021-05-18T21:27:34.770Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-18T21:27:35.787Z] ---> 6235cc287c2d [2021-05-18T21:27:35.787Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-18T21:27:36.381Z] ---> 352da007c680 [2021-05-18T21:27:36.381Z] Step 20/25 : EXPOSE 49986 [2021-05-18T21:27:36.381Z] ---> Running in 5072be2a4b5b [2021-05-18T21:27:36.976Z] Removing intermediate container 5072be2a4b5b [2021-05-18T21:27:36.976Z] ---> 50a555e138c3 [2021-05-18T21:27:36.976Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-18T21:27:36.976Z] ---> Running in 8b431579a0a9 [2021-05-18T21:27:37.251Z] Removing intermediate container 8b431579a0a9 [2021-05-18T21:27:37.251Z] ---> 5e05096f987b [2021-05-18T21:27:37.251Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-18T21:27:37.524Z] ---> Running in db50e40e864b [2021-05-18T21:27:38.120Z] Removing intermediate container db50e40e864b [2021-05-18T21:27:38.120Z] ---> f39b2acebdf5 [2021-05-18T21:27:38.120Z] Step 23/25 : LABEL arch=arm64 [2021-05-18T21:27:38.120Z] ---> Running in 5ce48e82808d [2021-05-18T21:27:38.714Z] Removing intermediate container 5ce48e82808d [2021-05-18T21:27:38.714Z] ---> 1081ab096cf3 [2021-05-18T21:27:38.714Z] Step 24/25 : LABEL git_sha=efff53f423d649766e26e3e18a07a36f52fe3c00 [2021-05-18T21:27:38.714Z] ---> Running in 14371d34e03c [2021-05-18T21:27:39.309Z] Removing intermediate container 14371d34e03c [2021-05-18T21:27:39.309Z] ---> cbb5ae1e6c5a [2021-05-18T21:27:39.309Z] Step 25/25 : LABEL version=0.0.0 [2021-05-18T21:27:39.309Z] ---> Running in 13a044144e65 [2021-05-18T21:27:39.902Z] Removing intermediate container 13a044144e65 [2021-05-18T21:27:39.902Z] ---> acd9e0f9297f [2021-05-18T21:27:39.902Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-18T21:27:39.902Z] Successfully built acd9e0f9297f [2021-05-18T21:27:39.902Z] 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-05-18T21:27:40.523Z] ---> job-cost.sh [2021-05-18T21:27:40.523Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AzrQ [2021-05-18T21:28:19.482Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T21:29:41.200Z] lf-activate-venv(): INFO: Adding /tmp/venv-AzrQ/bin to PATH [2021-05-18T21:29:41.200Z] INFO: No Stack... [2021-05-18T21:29:41.200Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-18T21:29:41.200Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T21:29:41.538Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-05-18T21:29:41.538Z] + cut -d, -f6 [Pipeline] lock [2021-05-18T21:29:41.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-101-4-stack-cost] [2021-05-18T21:29:41.609Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-101-4-stack-cost] did not exist. Created. [2021-05-18T21:29:41.609Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-101-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T21:29:41.988Z] /w/workspace/device-rest-go/4@tmp/durable-dfe4ec51/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-dfe4ec51/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-18T21:29:42.387Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-18T21:29:42.427Z] Warning: overwriting stash ‘stack-cost’ [2021-05-18T21:29:42.569Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T21:29:42.587Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-101-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-05-18T21:29:43.273Z] provisioning config files... [2021-05-18T21:29:43.286Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-101@tmp/config3516370144485395359tmp [Pipeline] { [Pipeline] sh [2021-05-18T21:29:43.612Z] + set +x [2021-05-18T21:29:43.612Z] + curl -s https://codecov.io/bash [2021-05-18T21:29:43.612Z] + bash -s -- [2021-05-18T21:29:43.612Z] [2021-05-18T21:29:43.612Z] _____ _ [2021-05-18T21:29:43.612Z] / ____| | | [2021-05-18T21:29:43.612Z] | | ___ __| | ___ ___ _____ __ [2021-05-18T21:29:43.612Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-18T21:29:43.612Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-18T21:29:43.612Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-18T21:29:43.612Z] Bash-1.0.2 [2021-05-18T21:29:43.612Z] [2021-05-18T21:29:43.612Z] [2021-05-18T21:29:43.612Z] ==> git version 2.24.4 found [2021-05-18T21:29:43.612Z] ==> 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-05-18T21:29:43.612Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-18T21:29:43.612Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-18T21:29:43.612Z] ==> Jenkins CI detected. [2021-05-18T21:29:43.612Z] project root: . [2021-05-18T21:29:43.612Z] --> token set from env [2021-05-18T21:29:43.880Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-18T21:29:43.880Z] ==> Running gcov in . (disable via -X gcov) [2021-05-18T21:29:43.880Z] ==> Python coveragepy not found [2021-05-18T21:29:43.880Z] ==> Searching for coverage reports in: [2021-05-18T21:29:43.880Z] + . [2021-05-18T21:29:43.880Z] -> Found 1 reports [2021-05-18T21:29:43.880Z] ==> Detecting git/mercurial file structure [2021-05-18T21:29:43.880Z] ==> Reading reports [2021-05-18T21:29:43.880Z] + ./coverage.out bytes=8513 [2021-05-18T21:29:43.880Z] ==> Appending adjustments [2021-05-18T21:29:43.880Z] https://docs.codecov.io/docs/fixing-reports [2021-05-18T21:29:43.880Z] + Found adjustments [2021-05-18T21:29:43.880Z] ==> Gzipping contents [2021-05-18T21:29:43.880Z] 4.0K /tmp/codecov.Rc5dTH.gz [2021-05-18T21:29:43.880Z] ==> Uploading reports [2021-05-18T21:29:43.880Z] url: https://codecov.io [2021-05-18T21:29:43.880Z] query: branch=PR-101&commit=efff53f423d649766e26e3e18a07a36f52fe3c00&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-101%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=101&job=&cmd_args= [2021-05-18T21:29:43.880Z] -> Pinging Codecov [2021-05-18T21:29:43.880Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-101&commit=efff53f423d649766e26e3e18a07a36f52fe3c00&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-101%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=101&job=&cmd_args= [2021-05-18T21:29:44.457Z] -> Uploading to [2021-05-18T21:29:44.457Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-18/4E5D53B4F1F92C436F7061BF334D961C/efff53f423d649766e26e3e18a07a36f52fe3c00/0ad35929-6efc-48d6-a1d6-474f0e528796.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210518T212944Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=687542e2e888cfb4610b0d701e2de22fb1bbc9f9f33e6e7f51c616ec4fb7bb69 [2021-05-18T21:29:44.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-18T21:29:44.457Z] Dload Upload Total Spent Left Speed [2021-05-18T21:29:44.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 1611 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4192 --:--:-- --:--:-- --:--:-- 4184 [2021-05-18T21:29:44.718Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/efff53f423d649766e26e3e18a07a36f52fe3c00 [Pipeline] } [2021-05-18T21:29:44.727Z] 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-05-18T21:29:46.448Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:29:47.039Z] ---> package-listing.sh [2021-05-18T21:29:47.039Z] ++ facter osfamily [2021-05-18T21:29:47.039Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-18T21:29:47.304Z] + OS_FAMILY=redhat [2021-05-18T21:29:47.304Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-101 [2021-05-18T21:29:47.304Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-18T21:29:47.304Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-18T21:29:47.304Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-18T21:29:47.304Z] + PACKAGES=/tmp/packages_start.txt [2021-05-18T21:29:47.304Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-101 ']' [2021-05-18T21:29:47.304Z] + PACKAGES=/tmp/packages_end.txt [2021-05-18T21:29:47.304Z] + case "${OS_FAMILY}" in [2021-05-18T21:29:47.304Z] + rpm -qa [2021-05-18T21:29:47.304Z] + sort [2021-05-18T21:29:47.877Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-18T21:29:47.877Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-18T21:29:47.877Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-18T21:29:47.877Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-101 ']' [2021-05-18T21:29:47.877Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-101/archives/ [2021-05-18T21:29:47.877Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-101/archives/ [Pipeline] echo [2021-05-18T21:29:47.889Z] 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-101/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-18T21:29:48.172Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:29:48.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T21:29:48.757Z] [2021-05-18T21:29:48.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-18T21:29:49.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T21:29:49.091Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-18T21:29:49.091Z] df20fa9351a1: Pulling fs layer [2021-05-18T21:29:49.091Z] 36b3adc4ff6f: Pulling fs layer [2021-05-18T21:29:49.091Z] 8ad3a11d3b57: Pulling fs layer [2021-05-18T21:29:49.091Z] 46f8f816bc3b: Pulling fs layer [2021-05-18T21:29:49.091Z] 93b61091891f: Pulling fs layer [2021-05-18T21:29:49.091Z] 93b9cdb0e59b: Pulling fs layer [2021-05-18T21:29:49.091Z] 5e14af77c1be: Pulling fs layer [2021-05-18T21:29:49.091Z] 01666e4c0597: Pulling fs layer [2021-05-18T21:29:49.091Z] aa168da1d23b: Pulling fs layer [2021-05-18T21:29:49.091Z] 93b61091891f: Waiting [2021-05-18T21:29:49.091Z] 93b9cdb0e59b: Waiting [2021-05-18T21:29:49.091Z] 5e14af77c1be: Waiting [2021-05-18T21:29:49.091Z] 01666e4c0597: Waiting [2021-05-18T21:29:49.091Z] aa168da1d23b: Waiting [2021-05-18T21:29:49.091Z] 46f8f816bc3b: Waiting [2021-05-18T21:29:49.091Z] 36b3adc4ff6f: Verifying Checksum [2021-05-18T21:29:49.091Z] 36b3adc4ff6f: Download complete [2021-05-18T21:29:49.091Z] 46f8f816bc3b: Verifying Checksum [2021-05-18T21:29:49.091Z] 46f8f816bc3b: Download complete [2021-05-18T21:29:49.091Z] df20fa9351a1: Verifying Checksum [2021-05-18T21:29:49.091Z] df20fa9351a1: Download complete [2021-05-18T21:29:49.091Z] 93b9cdb0e59b: Verifying Checksum [2021-05-18T21:29:49.091Z] 93b9cdb0e59b: Download complete [2021-05-18T21:29:49.359Z] 5e14af77c1be: Verifying Checksum [2021-05-18T21:29:49.360Z] 5e14af77c1be: Download complete [2021-05-18T21:29:49.360Z] 93b61091891f: Verifying Checksum [2021-05-18T21:29:49.360Z] 93b61091891f: Download complete [2021-05-18T21:29:49.360Z] 01666e4c0597: Verifying Checksum [2021-05-18T21:29:49.360Z] 01666e4c0597: Download complete [2021-05-18T21:29:49.360Z] df20fa9351a1: Pull complete [2021-05-18T21:29:49.641Z] 8ad3a11d3b57: Verifying Checksum [2021-05-18T21:29:49.641Z] 8ad3a11d3b57: Download complete [2021-05-18T21:29:49.641Z] 36b3adc4ff6f: Pull complete [2021-05-18T21:29:50.229Z] 8ad3a11d3b57: Pull complete [2021-05-18T21:29:50.229Z] 46f8f816bc3b: Pull complete [2021-05-18T21:29:50.491Z] 93b61091891f: Pull complete [2021-05-18T21:29:50.491Z] 93b9cdb0e59b: Pull complete [2021-05-18T21:29:50.750Z] 5e14af77c1be: Pull complete [2021-05-18T21:29:50.750Z] 01666e4c0597: Pull complete [2021-05-18T21:29:51.336Z] aa168da1d23b: Verifying Checksum [2021-05-18T21:29:51.336Z] aa168da1d23b: Download complete [2021-05-18T21:29:55.570Z] aa168da1d23b: Pull complete [2021-05-18T21:29:55.570Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-18T21:29:55.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T21:29:55.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-18T21:29:55.657Z] prd-centos7-docker-4c-2g-14853 does not seem to be running inside a container [2021-05-18T21:29:55.702Z] $ 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-101/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-101 -v /w/workspace/gexfoundry_device-rest-go_PR-101:/w/workspace/gexfoundry_device-rest-go_PR-101:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-101@tmp:/w/workspace/gexfoundry_device-rest-go_PR-101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-18T21:29:58.929Z] $ docker top 4ed2931fbf8791f1b0758cebae12c08281bcbdbfacff8b88bd227e3581247a9f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T21:29:59.319Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-18T21:29:59.617Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-18T21:29:59.918Z] + ls /var/log/sa-host [2021-05-18T21:29:59.918Z] + sadf -c /var/log/sa-host/sa05 [2021-05-18T21:29:59.918Z] file_magic: OK [2021-05-18T21:29:59.918Z] HZ: Using current value: 100 [2021-05-18T21:29:59.918Z] file_header: OK [2021-05-18T21:29:59.918Z] 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-05-18T21:29:59.918Z] Statistics: [2021-05-18T21:29:59.918Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T21:29:59.918Z] File successfully converted to sysstat format version 12.2.1 [2021-05-18T21:29:59.918Z] + sadf -c /var/log/sa-host/sa18 [2021-05-18T21:29:59.918Z] file_magic: OK [2021-05-18T21:29:59.918Z] HZ: Using current value: 100 [2021-05-18T21:29:59.918Z] file_header: OK [2021-05-18T21:29:59.918Z] 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-05-18T21:29:59.918Z] Statistics: [2021-05-18T21:29:59.918Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T21:29:59.918Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T21:30:00.729Z] provisioning config files... [2021-05-18T21:30:00.745Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-101@tmp/config754734291586284861tmp [Pipeline] { [Pipeline] echo [2021-05-18T21:30:00.787Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:30:01.088Z] ---> create-netrc.sh [Pipeline] } [2021-05-18T21:30:01.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-18T21:30:01.125Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:30:01.435Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-18T21:30:01.446Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:30:01.752Z] ---> sudo-logs.sh [2021-05-18T21:30:01.753Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-18T21:30:01.786Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:30:02.100Z] ---> job-cost.sh [2021-05-18T21:30:02.100Z] lf-activate-venv: SKIPPING [2021-05-18T21:30:02.100Z] DEBUG: total: 0.18000000715255737 [2021-05-18T21:30:02.100Z] INFO: Retrieving Stack Cost... [2021-05-18T21:30:04.018Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T21:30:04.281Z] INFO: Archiving Costs [Pipeline] echo [2021-05-18T21:30:04.296Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T21:30:04.599Z] ---> logs-deploy.sh [2021-05-18T21:30:04.599Z] lf-activate-venv: SKIPPING [2021-05-18T21:30:04.599Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-101/4 [2021-05-18T21:30:04.599Z] INFO: archiving workspace using pattern(s): [2021-05-18T21:30:05.724Z] Archives upload complete. [2021-05-18T21:30:05.724Z] INFO: archiving logs to Nexus