Pull request #104 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c3b2fef99a74ce7813b49848a75e829beb75cd22+a0a7eec39b0c4269a0e577821221e71b45f7e5c7 (0af5cc5d064dbd7fabfa5bca639d8f906ec0f0d2) 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-ssh1437554683576393584.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-ssh4518380098227784090.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-104/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-104/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6736679816782675112.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-ssh5653090666801161461.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-104/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-104/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4356938907727548451.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-364 in /w/workspace/gexfoundry_device-rest-go_PR-104 [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-104 # 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-104@tmp/jenkins-gitclient-ssh2900025087318326616.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 Merge succeeded, producing c3b2fef99a74ce7813b49848a75e829beb75cd22 Checking out Revision c3b2fef99a74ce7813b49848a75e829beb75cd22 (PR-104) > 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-104@tmp/jenkins-gitclient-ssh4015785560119867810.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # 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-104@tmp/jenkins-gitclient-ssh6762769697437251731.key > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-26T03:53:09.906Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T03:53:09.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T03:53:10.028Z] ========================================================= [2021-05-26T03:53:10.028Z] EdgeX Global Pipelines Version Info [2021-05-26T03:53:10.028Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f02d3dc7e1b428c0c81d050d3d9c108c1c930965 # timeout=10 [2021-05-26T03:53:11.495Z] ------------------- [2021-05-26T03:53:11.495Z] stable info: [2021-05-26T03:53:11.495Z] ------------------- [2021-05-26T03:53:11.495Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T03:53:11.495Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T03:53:11.495Z] Message: update stable to v1.0.192 [2021-05-26T03:53:12.078Z] ------------------- [2021-05-26T03:53:12.078Z] experimental info: [2021-05-26T03:53:12.078Z] ------------------- [2021-05-26T03:53:12.078Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T03:53:12.078Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T03:53:12.078Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T03:53:12.230Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-26T03:53:12.261Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-26T03:53:12.287Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T03:53:12.334Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T03:53:12.361Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T03:53:12.395Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T03:53:12.423Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T03:53:12.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T03:53:12.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-26T03:53:12.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T03:53:12.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T03:53:12.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-26T03:53:12.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T03:53:12.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T03:53:12.633Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T03:53:12.656Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T03:53:12.679Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T03:53:12.707Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T03:53:12.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T03:53:12.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-26T03:53:12.779Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-26T03:53:12.803Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-26T03:53:12.827Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-26T03:53:12.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-26T03:53:12.880Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-26T03:53:12.906Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T03:53:12.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-104 [Pipeline] echo [2021-05-26T03:53:12.953Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-104 [Pipeline] echo [2021-05-26T03:53:12.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-104 [Pipeline] echo [2021-05-26T03:53:13.046Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3b2fef99a74ce7813b49848a75e829beb75cd22 [Pipeline] echo [2021-05-26T03:53:13.072Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3b2fef [Pipeline] echo [2021-05-26T03:53:13.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T03:53:13.192Z] provisioning config files... [2021-05-26T03:53:13.207Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config3178122379825869141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:53:13.529Z] ---> docker-login.sh [2021-05-26T03:53:13.529Z] nexus3.edgexfoundry.org:10001 [2021-05-26T03:53:13.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:53:13.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:53:13.796Z] Configure a credential helper to remove this warning. See [2021-05-26T03:53:13.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:53:13.796Z] [2021-05-26T03:53:13.796Z] Login Succeeded [2021-05-26T03:53:13.796Z] nexus3.edgexfoundry.org:10002 [2021-05-26T03:53:14.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:53:14.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:53:14.066Z] Configure a credential helper to remove this warning. See [2021-05-26T03:53:14.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:53:14.066Z] [2021-05-26T03:53:14.066Z] Login Succeeded [2021-05-26T03:53:14.066Z] nexus3.edgexfoundry.org:10003 [2021-05-26T03:53:14.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:53:14.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:53:14.066Z] Configure a credential helper to remove this warning. See [2021-05-26T03:53:14.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:53:14.066Z] [2021-05-26T03:53:14.066Z] Login Succeeded [2021-05-26T03:53:14.066Z] nexus3.edgexfoundry.org:10004 [2021-05-26T03:53:14.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:53:14.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:53:14.331Z] Configure a credential helper to remove this warning. See [2021-05-26T03:53:14.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:53:14.331Z] [2021-05-26T03:53:14.331Z] Login Succeeded [2021-05-26T03:53:14.331Z] docker.io [2021-05-26T03:53:14.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:53:14.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:53:14.593Z] Configure a credential helper to remove this warning. See [2021-05-26T03:53:14.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:53:14.594Z] [2021-05-26T03:53:15.540Z] Login Succeeded [2021-05-26T03:53:15.540Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T03:53:15.549Z] 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-26T03:53:16.023Z] + git log --format=format:%s -1 c3b2fef99a74ce7813b49848a75e829beb75cd22 [Pipeline] echo [2021-05-26T03:53:16.070Z] GIT_COMMIT: c3b2fef99a74ce7813b49848a75e829beb75cd22, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-26T03:53:16.112Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:53:16.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T03:53:16.668Z] [2021-05-26T03:53:16.668Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:53:16.985Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T03:53:16.985Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T03:53:16.985Z] 31603596830f: Pulling fs layer [2021-05-26T03:53:16.985Z] 54011a49482f: Pulling fs layer [2021-05-26T03:53:16.985Z] a6820b24f6d8: Pulling fs layer [2021-05-26T03:53:16.985Z] f581987b2513: Pulling fs layer [2021-05-26T03:53:16.985Z] f581987b2513: Waiting [2021-05-26T03:53:16.985Z] 54011a49482f: Verifying Checksum [2021-05-26T03:53:16.985Z] 54011a49482f: Download complete [2021-05-26T03:53:16.985Z] 31603596830f: Verifying Checksum [2021-05-26T03:53:16.985Z] 31603596830f: Download complete [2021-05-26T03:53:17.252Z] f581987b2513: Verifying Checksum [2021-05-26T03:53:17.252Z] f581987b2513: Download complete [2021-05-26T03:53:17.252Z] a6820b24f6d8: Verifying Checksum [2021-05-26T03:53:17.252Z] a6820b24f6d8: Download complete [2021-05-26T03:53:17.252Z] 31603596830f: Pull complete [2021-05-26T03:53:17.526Z] 54011a49482f: Pull complete [2021-05-26T03:53:18.109Z] a6820b24f6d8: Pull complete [2021-05-26T03:53:18.370Z] f581987b2513: Pull complete [2021-05-26T03:53:18.370Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T03:53:18.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T03:53:18.630Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T03:53:18.711Z] prd-centos7-docker-4c-2g-364 does not seem to be running inside a container [2021-05-26T03:53:18.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-104 -v /w/workspace/gexfoundry_device-rest-go_PR-104:/w/workspace/gexfoundry_device-rest-go_PR-104:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-104@tmp:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T03:53:21.208Z] $ docker top b274c943d61637e58b0e3e15ec4a801c797d324310de0bfe3eca99f4e91fb62e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T03:53:21.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T03:53:21.345Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T03:53:21.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T03:53:21.465Z] $ docker exec b274c943d61637e58b0e3e15ec4a801c797d324310de0bfe3eca99f4e91fb62e ssh-agent [2021-05-26T03:53:21.570Z] SSH_AUTH_SOCK=/tmp/ssh-0ni54bPWiRli/agent.12 [2021-05-26T03:53:21.570Z] SSH_AGENT_PID=18 [2021-05-26T03:53:21.581Z] Running ssh-add (command line suppressed) [2021-05-26T03:53:21.680Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_5297375492041746223.key (/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_5297375492041746223.key) [2021-05-26T03:53:21.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T03:53:22.003Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T03:53:22.018Z] $ docker exec --env ******** --env ******** b274c943d61637e58b0e3e15ec4a801c797d324310de0bfe3eca99f4e91fb62e ssh-agent -k [2021-05-26T03:53:22.130Z] unset SSH_AUTH_SOCK; [2021-05-26T03:53:22.130Z] unset SSH_AGENT_PID; [2021-05-26T03:53:22.130Z] echo Agent pid 18 killed; [2021-05-26T03:53:22.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T03:53:22.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T03:53:22.197Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T03:53:22.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T03:53:22.318Z] $ docker exec b274c943d61637e58b0e3e15ec4a801c797d324310de0bfe3eca99f4e91fb62e ssh-agent [2021-05-26T03:53:22.452Z] SSH_AUTH_SOCK=/tmp/ssh-SNsmrtG2MUwt/agent.53 [2021-05-26T03:53:22.452Z] SSH_AGENT_PID=59 [2021-05-26T03:53:22.461Z] Running ssh-add (command line suppressed) [2021-05-26T03:53:22.571Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_776583966825815056.key (/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_776583966825815056.key) [2021-05-26T03:53:22.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T03:53:22.895Z] + git semver init [2021-05-26T03:53:22.895Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T03:53:22.895Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-104/.git [2021-05-26T03:53:22.895Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-104 [2021-05-26T03:53:22.895Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T03:53:22.895Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T03:53:22.895Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T03:53:22.895Z] # $SEMVER_BRANCH = PR-104 [2021-05-26T03:53:22.895Z] # $SEMVER_TEMP = /tmp/semver-237972569 [2021-05-26T03:53:22.895Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-26T03:53:23.842Z] # '/tmp/semver-237972569' -> '/w/workspace/gexfoundry_device-rest-go_PR-104/.semver' [2021-05-26T03:53:23.842Z] # -> Force: false [2021-05-26T03:53:23.842Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-104/.semver [Pipeline] } [2021-05-26T03:53:23.855Z] $ docker exec --env ******** --env ******** b274c943d61637e58b0e3e15ec4a801c797d324310de0bfe3eca99f4e91fb62e ssh-agent -k [2021-05-26T03:53:23.961Z] unset SSH_AUTH_SOCK; [2021-05-26T03:53:23.962Z] unset SSH_AGENT_PID; [2021-05-26T03:53:23.962Z] echo Agent pid 59 killed; [2021-05-26T03:53:23.972Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T03:53:24.310Z] + git semver [Pipeline] } [2021-05-26T03:53:24.324Z] $ docker stop --time=1 b274c943d61637e58b0e3e15ec4a801c797d324310de0bfe3eca99f4e91fb62e [2021-05-26T03:53:26.242Z] $ docker rm -f b274c943d61637e58b0e3e15ec4a801c797d324310de0bfe3eca99f4e91fb62e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T03:53:26.662Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T03:53:26.925Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T03:53:26.928Z] [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-26T03:53:42.107Z] Still waiting to schedule task [2021-05-26T03:53:42.108Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-26T03:53:42.110Z] Still waiting to schedule task [2021-05-26T03:53:42.111Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-26T03:56:34.015Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-367 in /w/workspace/gexfoundry_device-rest-go_PR-104 [Pipeline] { [Pipeline] ws [2021-05-26T03:56:34.034Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-26T03:56:34.285Z] The recommended git tool is: git [2021-05-26T03:56:39.363Z] using credential edgex-jenkins-ssh [2021-05-26T03:56:39.383Z] Cloning the remote Git repository [2021-05-26T03:56:39.429Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:56:39.535Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-26T03:56:39.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:56:39.613Z] > git --version # timeout=10 [2021-05-26T03:56:39.628Z] > git --version # 'git version 2.17.1' [2021-05-26T03:56:39.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T03:56:39.764Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T03:56:41.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T03:56:41.364Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T03:56:41.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T03:56:41.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:56:41.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T03:56:41.447Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-26T03:56:41.913Z] Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 [2021-05-26T03:56:42.110Z] Merge succeeded, producing c3b2fef99a74ce7813b49848a75e829beb75cd22 [2021-05-26T03:56:42.111Z] Checking out Revision c3b2fef99a74ce7813b49848a75e829beb75cd22 (PR-104) [2021-05-26T03:56:41.926Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T03:56:41.938Z] > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [2021-05-26T03:56:42.015Z] > git remote # timeout=10 [2021-05-26T03:56:42.038Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T03:56:42.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T03:56:42.073Z] > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [2021-05-26T03:56:42.094Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T03:56:42.114Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T03:56:42.132Z] > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [2021-05-26T03:56:46.436Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T03:56:47.647Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T03:56:48.084Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T03:56:48.435Z] + sudo service docker restart [2021-05-26T03:56:48.435Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T03:57:06.777Z] provisioning config files... [2021-05-26T03:57:06.803Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config39309185416074927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:57:07.175Z] ---> docker-login.sh [2021-05-26T03:57:07.176Z] nexus3.edgexfoundry.org:10001 [2021-05-26T03:57:08.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:57:08.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:57:08.428Z] Configure a credential helper to remove this warning. See [2021-05-26T03:57:08.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:57:08.428Z] [2021-05-26T03:57:08.428Z] Login Succeeded [2021-05-26T03:57:08.428Z] nexus3.edgexfoundry.org:10002 [2021-05-26T03:57:08.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:57:08.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:57:08.975Z] Configure a credential helper to remove this warning. See [2021-05-26T03:57:08.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:57:08.975Z] [2021-05-26T03:57:08.975Z] Login Succeeded [2021-05-26T03:57:08.975Z] nexus3.edgexfoundry.org:10003 [2021-05-26T03:57:09.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:57:09.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:57:09.539Z] Configure a credential helper to remove this warning. See [2021-05-26T03:57:09.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:57:09.539Z] [2021-05-26T03:57:09.539Z] Login Succeeded [2021-05-26T03:57:09.539Z] nexus3.edgexfoundry.org:10004 [2021-05-26T03:57:09.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:57:10.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:57:10.089Z] Configure a credential helper to remove this warning. See [2021-05-26T03:57:10.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:57:10.089Z] [2021-05-26T03:57:10.089Z] Login Succeeded [2021-05-26T03:57:10.089Z] docker.io [2021-05-26T03:57:10.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:57:10.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:57:10.956Z] Configure a credential helper to remove this warning. See [2021-05-26T03:57:10.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:57:10.956Z] [2021-05-26T03:57:10.956Z] Login Succeeded [2021-05-26T03:57:10.956Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T03:57:10.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T03:57:11.264Z] ========================================================= [2021-05-26T03:57:11.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T03:57:11.264Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:57:11.611Z] + 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-26T03:57:11.612Z] Sending build context to Docker daemon 92.16kB [2021-05-26T03:57:11.885Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T03:57:11.885Z] Step 2/10 : FROM ${BASE} [2021-05-26T03:57:12.176Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T03:57:12.176Z] 595b0fe564bb: Pulling fs layer [2021-05-26T03:57:12.176Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T03:57:12.176Z] 316046926c0a: Pulling fs layer [2021-05-26T03:57:12.176Z] 4ebd0625c992: Pulling fs layer [2021-05-26T03:57:12.176Z] 207e8628e3a3: Pulling fs layer [2021-05-26T03:57:12.176Z] c791037a9be2: Pulling fs layer [2021-05-26T03:57:12.176Z] ffd874e62e21: Pulling fs layer [2021-05-26T03:57:12.176Z] 4ebd0625c992: Waiting [2021-05-26T03:57:12.176Z] c791037a9be2: Waiting [2021-05-26T03:57:12.176Z] 207e8628e3a3: Waiting [2021-05-26T03:57:12.176Z] ffd874e62e21: Waiting [2021-05-26T03:57:12.176Z] 316046926c0a: Verifying Checksum [2021-05-26T03:57:12.176Z] 316046926c0a: Download complete [2021-05-26T03:57:12.176Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T03:57:12.176Z] 7186ed65a4f7: Download complete [2021-05-26T03:57:12.176Z] 207e8628e3a3: Verifying Checksum [2021-05-26T03:57:12.176Z] 207e8628e3a3: Download complete [2021-05-26T03:57:12.451Z] c791037a9be2: Verifying Checksum [2021-05-26T03:57:12.451Z] c791037a9be2: Download complete [2021-05-26T03:57:12.451Z] 595b0fe564bb: Verifying Checksum [2021-05-26T03:57:12.451Z] 595b0fe564bb: Download complete [2021-05-26T03:57:13.063Z] 595b0fe564bb: Pull complete [2021-05-26T03:57:13.675Z] 7186ed65a4f7: Pull complete [2021-05-26T03:57:14.285Z] 316046926c0a: Pull complete [2021-05-26T03:57:14.561Z] ffd874e62e21: Verifying Checksum [2021-05-26T03:57:14.561Z] ffd874e62e21: Download complete [2021-05-26T03:57:15.988Z] 4ebd0625c992: Verifying Checksum [2021-05-26T03:57:15.988Z] 4ebd0625c992: Download complete [2021-05-26T03:57:26.137Z] 4ebd0625c992: Pull complete [2021-05-26T03:57:26.137Z] 207e8628e3a3: Pull complete [2021-05-26T03:57:26.412Z] c791037a9be2: Pull complete [2021-05-26T03:57:30.729Z] ffd874e62e21: Pull complete [2021-05-26T03:57:30.729Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T03:57:30.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T03:57:30.729Z] ---> cfc18b08335c [2021-05-26T03:57:30.729Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T03:57:32.163Z] ---> Running in a4506050d7bf [2021-05-26T03:57:32.783Z] Removing intermediate container a4506050d7bf [2021-05-26T03:57:32.783Z] ---> fac1c755e25f [2021-05-26T03:57:32.783Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T03:57:32.783Z] ---> Running in ef70d7e36695 [2021-05-26T03:57:33.383Z] Removing intermediate container ef70d7e36695 [2021-05-26T03:57:33.383Z] ---> d14ec3bb36fe [2021-05-26T03:57:33.383Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T03:57:33.383Z] ---> Running in f13d252a2ac8 [2021-05-26T03:57:33.980Z] Removing intermediate container f13d252a2ac8 [2021-05-26T03:57:33.980Z] ---> ab8dd5bde774 [2021-05-26T03:57:33.980Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T03:57:33.980Z] ---> Running in 215140bc1ee4 [2021-05-26T03:57:34.008Z] Running on prd-centos7-docker-4c-2g-368 in /w/workspace/gexfoundry_device-rest-go_PR-104 [Pipeline] { [Pipeline] ws [2021-05-26T03:57:34.029Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-26T03:57:36.047Z] The recommended git tool is: git [2021-05-26T03:57:36.317Z] Removing intermediate container 215140bc1ee4 [2021-05-26T03:57:36.317Z] ---> c8ce65057793 [2021-05-26T03:57:36.317Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T03:57:36.317Z] ---> Running in beeac2bab941 [2021-05-26T03:57:37.762Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T03:57:38.490Z] using credential edgex-jenkins-ssh [2021-05-26T03:57:38.504Z] Cloning the remote Git repository [2021-05-26T03:57:38.748Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T03:57:39.346Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-26T03:57:39.346Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-26T03:57:39.346Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-26T03:57:38.528Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:57:38.598Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-26T03:57:38.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:57:38.635Z] > git --version # timeout=10 [2021-05-26T03:57:38.640Z] > git --version # 'git version 2.24.4' [2021-05-26T03:57:38.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T03:57:38.663Z] [INFO] Currently running in a labeled security context [2021-05-26T03:57:38.663Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T03:57:38.663Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh989742950804089653.key [2021-05-26T03:57:38.673Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T03:57:39.618Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-26T03:57:39.618Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T03:57:39.889Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-26T03:57:39.889Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-26T03:57:40.038Z] Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit c3b2fef99a74ce7813b49848a75e829beb75cd22 [2021-05-26T03:57:40.145Z] Merge succeeded, producing c3b2fef99a74ce7813b49848a75e829beb75cd22 [2021-05-26T03:57:40.146Z] Checking out Revision c3b2fef99a74ce7813b49848a75e829beb75cd22 (PR-104) [2021-05-26T03:57:40.171Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-26T03:57:40.171Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-26T03:57:40.444Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T03:57:40.444Z] OK: 144 MiB in 49 packages [2021-05-26T03:57:39.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T03:57:39.576Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T03:57:39.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T03:57:39.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:57:39.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T03:57:39.602Z] [INFO] Currently running in a labeled security context [2021-05-26T03:57:39.602Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T03:57:39.602Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh7641757586000192713.key [2021-05-26T03:57:39.617Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-26T03:57:40.045Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T03:57:40.057Z] > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [2021-05-26T03:57:40.091Z] > git remote # timeout=10 [2021-05-26T03:57:40.103Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T03:57:40.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T03:57:40.116Z] [INFO] Currently running in a labeled security context [2021-05-26T03:57:40.116Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T03:57:40.116Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh8315461008721279547.key [2021-05-26T03:57:40.125Z] > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [2021-05-26T03:57:40.138Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T03:57:40.146Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T03:57:40.152Z] > git checkout -f c3b2fef99a74ce7813b49848a75e829beb75cd22 # timeout=10 [2021-05-26T03:57:41.880Z] Removing intermediate container beeac2bab941 [2021-05-26T03:57:41.880Z] ---> 370ad43d83fc [2021-05-26T03:57:41.880Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-26T03:57:41.881Z] ---> Running in 066d289ee63b [2021-05-26T03:57:42.169Z] Removing intermediate container 066d289ee63b [2021-05-26T03:57:42.169Z] ---> 7104764b204b [2021-05-26T03:57:42.169Z] Step 9/10 : COPY . . [2021-05-26T03:57:43.159Z] ---> 24f4e985e49b [2021-05-26T03:57:43.159Z] Step 10/10 : RUN go mod download [2021-05-26T03:57:43.159Z] ---> Running in 546fda23e45f [2021-05-26T03:57:43.724Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T03:57:44.737Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T03:57:45.063Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T03:57:45.362Z] + sudo service docker restart [2021-05-26T03:57:45.362Z] + true [2021-05-26T03:57:45.362Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T03:58:03.561Z] provisioning config files... [2021-05-26T03:58:03.577Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2609121052183013902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:58:03.907Z] ---> docker-login.sh [2021-05-26T03:58:03.907Z] nexus3.edgexfoundry.org:10001 [2021-05-26T03:58:04.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:58:04.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:58:04.169Z] Configure a credential helper to remove this warning. See [2021-05-26T03:58:04.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:58:04.169Z] [2021-05-26T03:58:04.169Z] Login Succeeded [2021-05-26T03:58:04.169Z] nexus3.edgexfoundry.org:10002 [2021-05-26T03:58:04.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:58:04.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:58:04.436Z] Configure a credential helper to remove this warning. See [2021-05-26T03:58:04.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:58:04.436Z] [2021-05-26T03:58:04.436Z] Login Succeeded [2021-05-26T03:58:04.436Z] nexus3.edgexfoundry.org:10003 [2021-05-26T03:58:04.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:58:04.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:58:04.696Z] Configure a credential helper to remove this warning. See [2021-05-26T03:58:04.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:58:04.696Z] [2021-05-26T03:58:04.696Z] Login Succeeded [2021-05-26T03:58:04.696Z] nexus3.edgexfoundry.org:10004 [2021-05-26T03:58:04.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:58:04.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:58:04.696Z] Configure a credential helper to remove this warning. See [2021-05-26T03:58:04.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:58:04.696Z] [2021-05-26T03:58:04.696Z] Login Succeeded [2021-05-26T03:58:04.696Z] docker.io [2021-05-26T03:58:04.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:58:05.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:58:05.271Z] Configure a credential helper to remove this warning. See [2021-05-26T03:58:05.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:58:05.271Z] [2021-05-26T03:58:05.271Z] Login Succeeded [2021-05-26T03:58:05.271Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T03:58:05.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T03:58:05.466Z] ========================================================= [2021-05-26T03:58:05.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T03:58:05.466Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:58:05.775Z] + 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-26T03:58:05.776Z] Sending build context to Docker daemon 92.16kB [2021-05-26T03:58:05.776Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T03:58:05.776Z] Step 2/10 : FROM ${BASE} [2021-05-26T03:58:05.776Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T03:58:05.776Z] 540db60ca938: Pulling fs layer [2021-05-26T03:58:05.776Z] adcc1eea9eea: Pulling fs layer [2021-05-26T03:58:05.776Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T03:58:05.776Z] 0510c868ecb4: Pulling fs layer [2021-05-26T03:58:05.776Z] afea3b2eda06: Pulling fs layer [2021-05-26T03:58:05.776Z] 7809a108b3ef: Pulling fs layer [2021-05-26T03:58:05.776Z] f706445af74f: Pulling fs layer [2021-05-26T03:58:05.776Z] 0510c868ecb4: Waiting [2021-05-26T03:58:05.776Z] afea3b2eda06: Waiting [2021-05-26T03:58:05.776Z] 7809a108b3ef: Waiting [2021-05-26T03:58:05.776Z] f706445af74f: Waiting [2021-05-26T03:58:05.776Z] 4c4ab2625f07: Download complete [2021-05-26T03:58:05.776Z] adcc1eea9eea: Verifying Checksum [2021-05-26T03:58:05.776Z] adcc1eea9eea: Download complete [2021-05-26T03:58:06.038Z] afea3b2eda06: Verifying Checksum [2021-05-26T03:58:06.038Z] afea3b2eda06: Download complete [2021-05-26T03:58:06.039Z] 7809a108b3ef: Verifying Checksum [2021-05-26T03:58:06.039Z] 7809a108b3ef: Download complete [2021-05-26T03:58:06.039Z] 540db60ca938: Verifying Checksum [2021-05-26T03:58:06.039Z] 540db60ca938: Download complete [2021-05-26T03:58:06.300Z] 540db60ca938: Pull complete [2021-05-26T03:58:06.300Z] adcc1eea9eea: Pull complete [2021-05-26T03:58:06.561Z] 4c4ab2625f07: Pull complete [2021-05-26T03:58:07.507Z] f706445af74f: Verifying Checksum [2021-05-26T03:58:07.507Z] f706445af74f: Download complete [2021-05-26T03:58:08.458Z] 0510c868ecb4: Verifying Checksum [2021-05-26T03:58:08.458Z] 0510c868ecb4: Download complete [2021-05-26T03:58:09.969Z] Removing intermediate container 546fda23e45f [2021-05-26T03:58:09.969Z] ---> 2b02e2c81f4c [2021-05-26T03:58:09.969Z] Successfully built 2b02e2c81f4c [2021-05-26T03:58:09.969Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:58:10.319Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T03:58:10.319Z] . [Pipeline] withDockerContainer [2021-05-26T03:58:10.582Z] prd-ubuntu18.04-docker-arm64-4c-16g-367 does not seem to be running inside a container [2021-05-26T03:58:10.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T03:58:12.262Z] $ docker top 32ddf33df4db4a671e68ce8fcc096f5a560f97dcc0a00d3604089155c18fed96 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T03:58:12.728Z] 0510c868ecb4: Pull complete [2021-05-26T03:58:12.729Z] afea3b2eda06: Pull complete [2021-05-26T03:58:12.729Z] 7809a108b3ef: Pull complete [2021-05-26T03:58:13.211Z] + go version [2021-05-26T03:58:13.211Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-26T03:58:13.237Z] $ docker stop --time=1 32ddf33df4db4a671e68ce8fcc096f5a560f97dcc0a00d3604089155c18fed96 [2021-05-26T03:58:14.131Z] f706445af74f: Pull complete [2021-05-26T03:58:14.131Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T03:58:14.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T03:58:14.131Z] ---> b068be0155e3 [2021-05-26T03:58:14.131Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T03:58:14.998Z] $ docker rm -f 32ddf33df4db4a671e68ce8fcc096f5a560f97dcc0a00d3604089155c18fed96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:58:15.663Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T03:58:15.663Z] . [Pipeline] withDockerContainer [2021-05-26T03:58:15.924Z] prd-ubuntu18.04-docker-arm64-4c-16g-367 does not seem to be running inside a container [2021-05-26T03:58:16.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T03:58:17.681Z] $ docker top 78b138b259155977f292337781f3b044cae439a63faba31f03961176ff310b6b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T03:58:18.623Z] + go mod tidy [Pipeline] sh [2021-05-26T03:58:19.442Z] ---> Running in c361b1d0d9cf [2021-05-26T03:58:19.442Z] Removing intermediate container c361b1d0d9cf [2021-05-26T03:58:19.442Z] ---> 75d581c661a4 [2021-05-26T03:58:19.442Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T03:58:19.442Z] ---> Running in b824809c6268 [2021-05-26T03:58:19.442Z] Removing intermediate container b824809c6268 [2021-05-26T03:58:19.442Z] ---> f5c48378725e [2021-05-26T03:58:19.442Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T03:58:19.442Z] ---> Running in 998497fdab5c [2021-05-26T03:58:19.442Z] Removing intermediate container 998497fdab5c [2021-05-26T03:58:19.442Z] ---> 191e2038ae38 [2021-05-26T03:58:19.442Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T03:58:19.442Z] ---> Running in 28a767917c2c [2021-05-26T03:58:19.876Z] + make test [2021-05-26T03:58:19.877Z] go mod tidy [2021-05-26T03:58:20.387Z] Removing intermediate container 28a767917c2c [2021-05-26T03:58:20.387Z] ---> 07fa5fc6bd4e [2021-05-26T03:58:20.387Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T03:58:20.387Z] ---> Running in 3af0147ae111 [2021-05-26T03:58:20.387Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T03:58:20.471Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-26T03:58:21.383Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T03:58:21.469Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-26T03:58:21.647Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-26T03:58:21.950Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-26T03:58:21.950Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-26T03:58:21.950Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-26T03:58:21.950Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T03:58:22.212Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-26T03:58:22.212Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-26T03:58:22.477Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-26T03:58:22.477Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-26T03:58:22.739Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T03:58:22.739Z] OK: 154 MiB in 49 packages [2021-05-26T03:58:23.315Z] Removing intermediate container 3af0147ae111 [2021-05-26T03:58:23.315Z] ---> e84e784063e1 [2021-05-26T03:58:23.315Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-26T03:58:23.315Z] ---> Running in ded1375dc01c [2021-05-26T03:58:23.315Z] Removing intermediate container ded1375dc01c [2021-05-26T03:58:23.315Z] ---> 5e4fe7ade797 [2021-05-26T03:58:23.315Z] Step 9/10 : COPY . . [2021-05-26T03:58:23.579Z] ---> 2c5cb0a223c1 [2021-05-26T03:58:23.579Z] Step 10/10 : RUN go mod download [2021-05-26T03:58:23.579Z] ---> Running in e162cb8e9eb8 [2021-05-26T03:58:38.532Z] Removing intermediate container e162cb8e9eb8 [2021-05-26T03:58:38.532Z] ---> 4c4137a83a97 [2021-05-26T03:58:38.532Z] Successfully built 4c4137a83a97 [2021-05-26T03:58:38.532Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:58:38.849Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T03:58:38.849Z] . [Pipeline] withDockerContainer [2021-05-26T03:58:38.943Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2021-05-26T03:58:38.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T03:58:39.409Z] $ docker top 9a41cda0e8052b2802f27b389addb0547eac3a456ae37bd7731d075ac8641fb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T03:58:39.813Z] + go version [2021-05-26T03:58:39.813Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T03:58:39.824Z] $ docker stop --time=1 9a41cda0e8052b2802f27b389addb0547eac3a456ae37bd7731d075ac8641fb7 [2021-05-26T03:58:41.029Z] $ docker rm -f 9a41cda0e8052b2802f27b389addb0547eac3a456ae37bd7731d075ac8641fb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:58:41.511Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T03:58:41.511Z] . [Pipeline] withDockerContainer [2021-05-26T03:58:41.603Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2021-05-26T03:58:41.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T03:58:42.052Z] $ docker top a33b3f54ecd893ab8eecb10e65b11b67aa336cc9a96358398d3906919c2db996 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T03:58:42.477Z] + go mod tidy [Pipeline] sh [2021-05-26T03:58:43.052Z] + make test [2021-05-26T03:58:43.052Z] go mod tidy [2021-05-26T03:58:43.316Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-26T03:58:43.577Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-26T03:59:01.809Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-26T03:59:01.809Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 54.0% of statements [2021-05-26T03:59:01.809Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T03:59:10.012Z] gofmt -l . [2021-05-26T03:59:10.012Z] [ "`gofmt -l .`" = "" ] [2021-05-26T03:59:10.012Z] ./bin/test-go-mod-tidy.sh [2021-05-26T03:59:10.012Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T03:59:10.024Z] $ docker stop --time=1 a33b3f54ecd893ab8eecb10e65b11b67aa336cc9a96358398d3906919c2db996 [2021-05-26T03:59:11.568Z] $ docker rm -f a33b3f54ecd893ab8eecb10e65b11b67aa336cc9a96358398d3906919c2db996 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T03:59:12.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T03:59:12.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-26T03:59:13.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T03:59:13.581Z] + ls -al . [2021-05-26T03:59:13.581Z] total 104 [2021-05-26T03:59:13.581Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 26 03:59 . [2021-05-26T03:59:13.581Z] drwxrwxr-x. 4 jenkins jenkins 28 May 26 03:57 .. [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 26 03:57 Attribution.txt [2021-05-26T03:59:13.581Z] drwxrwxr-x. 2 jenkins jenkins 64 May 26 03:57 bin [2021-05-26T03:59:13.581Z] drwxrwxr-x. 3 jenkins jenkins 32 May 26 03:57 cmd [2021-05-26T03:59:13.581Z] -rw-r--r--. 1 jenkins jenkins 8513 May 26 03:59 coverage.out [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 26 03:57 Dockerfile [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 26 03:57 Dockerfile.build [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 151 May 26 03:57 .dockerignore [2021-05-26T03:59:13.581Z] drwxrwxr-x. 2 jenkins jenkins 76 May 26 03:57 driver [2021-05-26T03:59:13.581Z] drwxrwxr-x. 8 jenkins jenkins 179 May 26 03:57 .git [2021-05-26T03:59:13.581Z] drwxrwxr-x. 2 jenkins jenkins 103 May 26 03:57 .github [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 336 May 26 03:57 .gitignore [2021-05-26T03:59:13.581Z] -rw-r--r--. 1 jenkins jenkins 285 May 26 03:59 go.mod [2021-05-26T03:59:13.581Z] -rw-r--r--. 1 jenkins jenkins 21295 May 26 03:58 go.sum [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 680 May 26 03:57 Jenkinsfile [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 26 03:57 LICENSE [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 996 May 26 03:57 Makefile [2021-05-26T03:59:13.581Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 26 03:57 README.md [2021-05-26T03:59:13.581Z] drwxrwxr-x. 4 jenkins jenkins 71 May 26 03:57 snap [2021-05-26T03:59:13.582Z] -rw-rw-r--. 1 jenkins jenkins 5 May 26 03:53 VERSION [2021-05-26T03:59:13.582Z] -rw-rw-r--. 1 jenkins jenkins 713 May 26 03:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:13.904Z] + 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=c3b2fef99a74ce7813b49848a75e829beb75cd22 --label arch=amd64 --label version=0.0.0 . [2021-05-26T03:59:13.905Z] Sending build context to Docker daemon 101.9kB [2021-05-26T03:59:13.905Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T03:59:13.905Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-26T03:59:13.905Z] ---> 4c4137a83a97 [2021-05-26T03:59:13.905Z] Step 3/25 : ARG MAKE='make build' [2021-05-26T03:59:13.905Z] ---> Running in 81a7cfdd3828 [2021-05-26T03:59:14.168Z] Removing intermediate container 81a7cfdd3828 [2021-05-26T03:59:14.168Z] ---> 975664d5ffa1 [2021-05-26T03:59:14.168Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T03:59:14.168Z] ---> Running in c3004c4b1a56 [2021-05-26T03:59:14.168Z] Removing intermediate container c3004c4b1a56 [2021-05-26T03:59:14.168Z] ---> 624a816880cc [2021-05-26T03:59:14.168Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T03:59:14.168Z] ---> Running in 4095af151f08 [2021-05-26T03:59:14.168Z] Removing intermediate container 4095af151f08 [2021-05-26T03:59:14.168Z] ---> 94a2ffcb786a [2021-05-26T03:59:14.168Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T03:59:14.430Z] ---> Running in ab577a31759b [2021-05-26T03:59:15.017Z] Removing intermediate container ab577a31759b [2021-05-26T03:59:15.017Z] ---> b4e90489058a [2021-05-26T03:59:15.017Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T03:59:15.017Z] ---> Running in fd40914a8e13 [2021-05-26T03:59:15.281Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T03:59:16.227Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T03:59:16.490Z] OK: 154 MiB in 49 packages [2021-05-26T03:59:16.754Z] Removing intermediate container fd40914a8e13 [2021-05-26T03:59:16.754Z] ---> a2bfbfc205f9 [2021-05-26T03:59:16.754Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-26T03:59:16.754Z] ---> Running in ca2add929434 [2021-05-26T03:59:16.754Z] Removing intermediate container ca2add929434 [2021-05-26T03:59:16.754Z] ---> 2907a96b7ee4 [2021-05-26T03:59:16.754Z] Step 9/25 : COPY . . [2021-05-26T03:59:17.014Z] ---> 03a62dccbe9f [2021-05-26T03:59:17.014Z] Step 10/25 : RUN go mod tidy [2021-05-26T03:59:17.014Z] ---> Running in d06c93038b75 [2021-05-26T03:59:17.959Z] Removing intermediate container d06c93038b75 [2021-05-26T03:59:17.959Z] ---> 7dca45259aac [2021-05-26T03:59:17.959Z] Step 11/25 : RUN make update [2021-05-26T03:59:17.959Z] ---> Running in cc31305b1601 [2021-05-26T03:59:18.193Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-26T03:59:18.193Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 54.0% of statements [2021-05-26T03:59:18.193Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T03:59:18.220Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T03:59:18.484Z] Removing intermediate container cc31305b1601 [2021-05-26T03:59:18.484Z] ---> 207cf045afec [2021-05-26T03:59:18.484Z] Step 12/25 : RUN $MAKE [2021-05-26T03:59:18.484Z] ---> Running in 49de197eb405 [2021-05-26T03:59:18.751Z] go mod tidy [2021-05-26T03:59:19.022Z] 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-26T03:59:34.006Z] Removing intermediate container 49de197eb405 [2021-05-26T03:59:34.006Z] ---> 893e51e190f6 [2021-05-26T03:59:34.006Z] Step 13/25 : FROM alpine:3.12 [2021-05-26T03:59:34.006Z] 3.12: Pulling from library/alpine [2021-05-26T03:59:34.006Z] 339de151aab4: Pulling fs layer [2021-05-26T03:59:34.006Z] 339de151aab4: Verifying Checksum [2021-05-26T03:59:34.006Z] 339de151aab4: Download complete [2021-05-26T03:59:34.006Z] 339de151aab4: Pull complete [2021-05-26T03:59:34.006Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T03:59:34.006Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T03:59:34.006Z] ---> 13621d1b12d4 [2021-05-26T03:59:34.006Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T03:59:34.006Z] ---> Running in 2e971dba8d75 [2021-05-26T03:59:34.006Z] Removing intermediate container 2e971dba8d75 [2021-05-26T03:59:34.006Z] ---> 253d796d18a1 [2021-05-26T03:59:34.006Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-26T03:59:34.006Z] ---> Running in 63ec789c6d6d [2021-05-26T03:59:34.006Z] Removing intermediate container 63ec789c6d6d [2021-05-26T03:59:34.006Z] ---> b1617bc7d12e [2021-05-26T03:59:34.006Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T03:59:34.006Z] ---> Running in da3865f2ac99 [2021-05-26T03:59:34.006Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-26T03:59:34.006Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-26T03:59:34.006Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T03:59:34.006Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T03:59:34.006Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T03:59:34.006Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T03:59:34.006Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T03:59:34.006Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T03:59:34.006Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T03:59:34.006Z] OK: 8 MiB in 20 packages [2021-05-26T03:59:34.270Z] Removing intermediate container da3865f2ac99 [2021-05-26T03:59:34.270Z] ---> 1c4e69e5215c [2021-05-26T03:59:34.270Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-26T03:59:34.844Z] ---> cc6ecd839f91 [2021-05-26T03:59:34.844Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-26T03:59:35.115Z] ---> 7085361895b5 [2021-05-26T03:59:35.115Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-26T03:59:35.115Z] ---> a3c91db7f852 [2021-05-26T03:59:35.115Z] Step 20/25 : EXPOSE 59986 [2021-05-26T03:59:35.115Z] ---> Running in 6d5207cb6c46 [2021-05-26T03:59:35.381Z] Removing intermediate container 6d5207cb6c46 [2021-05-26T03:59:35.381Z] ---> 12fb83df3fdf [2021-05-26T03:59:35.381Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-26T03:59:35.381Z] ---> Running in 46c120bef6b9 [2021-05-26T03:59:35.381Z] Removing intermediate container 46c120bef6b9 [2021-05-26T03:59:35.381Z] ---> af9885a13afd [2021-05-26T03:59:35.381Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T03:59:35.381Z] ---> Running in e78e78f1eb6c [2021-05-26T03:59:35.645Z] Removing intermediate container e78e78f1eb6c [2021-05-26T03:59:35.645Z] ---> fba7aafed6e5 [2021-05-26T03:59:35.645Z] Step 23/25 : LABEL arch=amd64 [2021-05-26T03:59:35.645Z] ---> Running in 2705cb7e292f [2021-05-26T03:59:35.645Z] Removing intermediate container 2705cb7e292f [2021-05-26T03:59:35.645Z] ---> f3067fd2e81a [2021-05-26T03:59:35.645Z] Step 24/25 : LABEL git_sha=c3b2fef99a74ce7813b49848a75e829beb75cd22 [2021-05-26T03:59:35.645Z] ---> Running in 75ae4407d8d8 [2021-05-26T03:59:35.909Z] Removing intermediate container 75ae4407d8d8 [2021-05-26T03:59:35.909Z] ---> df31f4cb14e4 [2021-05-26T03:59:35.909Z] Step 25/25 : LABEL version=0.0.0 [2021-05-26T03:59:35.909Z] ---> Running in 40956766f23b [2021-05-26T03:59:35.909Z] Removing intermediate container 40956766f23b [2021-05-26T03:59:35.909Z] ---> a62e196b85d2 [2021-05-26T03:59:35.909Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T03:59:35.909Z] Successfully built a62e196b85d2 [2021-05-26T03:59:35.909Z] 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-26T03:59:36.622Z] ---> job-cost.sh [2021-05-26T03:59:36.622Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-seRt [2021-05-26T03:59:45.026Z] gofmt -l . [2021-05-26T03:59:45.026Z] [ "`gofmt -l .`" = "" ] [2021-05-26T03:59:45.026Z] ./bin/test-go-mod-tidy.sh [2021-05-26T03:59:45.026Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T03:59:46.032Z] $ docker stop --time=1 78b138b259155977f292337781f3b044cae439a63faba31f03961176ff310b6b [2021-05-26T03:59:46.664Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T03:59:47.943Z] $ docker rm -f 78b138b259155977f292337781f3b044cae439a63faba31f03961176ff310b6b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T03:59:48.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T03:59:48.790Z] Warning: overwriting stash ‘coverage-report’ [2021-05-26T03:59:49.267Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T03:59:49.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T03:59:50.019Z] + ls -al . [2021-05-26T03:59:50.019Z] total 132 [2021-05-26T03:59:50.019Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 03:59 . [2021-05-26T03:59:50.019Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 03:56 .. [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 151 May 26 03:56 .dockerignore [2021-05-26T03:59:50.019Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 03:56 .git [2021-05-26T03:59:50.019Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:56 .github [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 336 May 26 03:56 .gitignore [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 26 03:56 Attribution.txt [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 26 03:56 Dockerfile [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 26 03:56 Dockerfile.build [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 680 May 26 03:56 Jenkinsfile [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 26 03:56 LICENSE [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 996 May 26 03:56 Makefile [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 26 03:56 README.md [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 5 May 26 03:53 VERSION [2021-05-26T03:59:50.019Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:56 bin [2021-05-26T03:59:50.019Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 03:56 cmd [2021-05-26T03:59:50.019Z] -rw-r--r-- 1 jenkins jenkins 8513 May 26 03:59 coverage.out [2021-05-26T03:59:50.019Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:56 driver [2021-05-26T03:59:50.019Z] -rw-r--r-- 1 jenkins jenkins 285 May 26 03:59 go.mod [2021-05-26T03:59:50.019Z] -rw-r--r-- 1 jenkins jenkins 21295 May 26 03:58 go.sum [2021-05-26T03:59:50.019Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 03:56 snap [2021-05-26T03:59:50.019Z] -rw-rw-r-- 1 jenkins jenkins 713 May 26 03:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:50.358Z] + 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=c3b2fef99a74ce7813b49848a75e829beb75cd22 --label arch=arm64 --label version=0.0.0 . [2021-05-26T03:59:50.358Z] Sending build context to Docker daemon 101.9kB [2021-05-26T03:59:50.632Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T03:59:50.632Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-26T03:59:50.632Z] ---> 2b02e2c81f4c [2021-05-26T03:59:50.632Z] Step 3/25 : ARG MAKE='make build' [2021-05-26T03:59:50.904Z] ---> Running in 552692faccdf [2021-05-26T03:59:51.495Z] Removing intermediate container 552692faccdf [2021-05-26T03:59:51.496Z] ---> 2d10a67780c4 [2021-05-26T03:59:51.496Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T03:59:51.496Z] ---> Running in 8c698bec5a41 [2021-05-26T03:59:52.085Z] Removing intermediate container 8c698bec5a41 [2021-05-26T03:59:52.085Z] ---> 1fc40bae9b94 [2021-05-26T03:59:52.085Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T03:59:52.085Z] ---> Running in 3694d2ca281a [2021-05-26T03:59:52.360Z] Removing intermediate container 3694d2ca281a [2021-05-26T03:59:52.360Z] ---> 039652062647 [2021-05-26T03:59:52.360Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T03:59:52.631Z] ---> Running in 8710d6ef5a9c [2021-05-26T03:59:54.611Z] Removing intermediate container 8710d6ef5a9c [2021-05-26T03:59:54.611Z] ---> 798ecc95f13a [2021-05-26T03:59:54.611Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T03:59:54.884Z] ---> Running in b7ef67430a04 [2021-05-26T03:59:55.863Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T03:59:56.837Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T03:59:57.810Z] OK: 144 MiB in 49 packages [2021-05-26T03:59:58.796Z] Removing intermediate container b7ef67430a04 [2021-05-26T03:59:58.796Z] ---> 0cac65c704bd [2021-05-26T03:59:58.796Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-26T03:59:58.796Z] ---> Running in d7c7b1fcbfa7 [2021-05-26T03:59:59.393Z] Removing intermediate container d7c7b1fcbfa7 [2021-05-26T03:59:59.393Z] ---> 378ef67caaf0 [2021-05-26T03:59:59.393Z] Step 9/25 : COPY . . [2021-05-26T04:00:00.369Z] ---> b8ee7ce2dbeb [2021-05-26T04:00:00.369Z] Step 10/25 : RUN go mod tidy [2021-05-26T04:00:00.369Z] ---> Running in 91846f974cfc [2021-05-26T04:00:01.668Z] lf-activate-venv(): INFO: Adding /tmp/venv-seRt/bin to PATH [2021-05-26T04:00:01.668Z] INFO: No Stack... [2021-05-26T04:00:01.668Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T04:00:01.668Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T04:00:01.972Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-26T04:00:01.972Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T04:00:02.009Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-104-2-stack-cost] [2021-05-26T04:00:02.029Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-104-2-stack-cost] did not exist. Created. [2021-05-26T04:00:02.029Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-104-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T04:00:02.370Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-26T04:00:02.436Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T04:00:02.453Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-104-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-26T04:00:02.991Z] Removing intermediate container 91846f974cfc [2021-05-26T04:00:02.992Z] ---> dd6ed8d688f6 [2021-05-26T04:00:02.992Z] Step 11/25 : RUN make update [2021-05-26T04:00:02.992Z] ---> Running in 1cc4c0ddf9bd [2021-05-26T04:00:04.417Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T04:00:05.391Z] Removing intermediate container 1cc4c0ddf9bd [2021-05-26T04:00:05.391Z] ---> 94134023b735 [2021-05-26T04:00:05.391Z] Step 12/25 : RUN $MAKE [2021-05-26T04:00:05.391Z] ---> Running in e07c3a68f7f4 [2021-05-26T04:00:06.370Z] go mod tidy [2021-05-26T04:00:06.972Z] 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-26T04:00:45.985Z] Removing intermediate container e07c3a68f7f4 [2021-05-26T04:00:45.985Z] ---> b2d8bde8a4c1 [2021-05-26T04:00:45.985Z] Step 13/25 : FROM alpine:3.12 [2021-05-26T04:00:45.985Z] 3.12: Pulling from library/alpine [2021-05-26T04:00:45.985Z] d2f70382dc9a: Pulling fs layer [2021-05-26T04:00:45.985Z] d2f70382dc9a: Verifying Checksum [2021-05-26T04:00:45.985Z] d2f70382dc9a: Pull complete [2021-05-26T04:00:45.985Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T04:00:45.985Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T04:00:45.985Z] ---> 9852663dfa18 [2021-05-26T04:00:45.985Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T04:00:45.985Z] ---> Running in 39e945884d3a [2021-05-26T04:00:45.985Z] Removing intermediate container 39e945884d3a [2021-05-26T04:00:45.985Z] ---> 4faae126c70e [2021-05-26T04:00:45.985Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-26T04:00:45.985Z] ---> Running in ac0729780ac9 [2021-05-26T04:00:45.985Z] Removing intermediate container ac0729780ac9 [2021-05-26T04:00:45.985Z] ---> 98b054fd84f1 [2021-05-26T04:00:45.985Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T04:00:45.985Z] ---> Running in b9a8dfc5ee8f [2021-05-26T04:00:45.985Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-26T04:00:45.985Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-26T04:00:45.985Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T04:00:45.985Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T04:00:45.985Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T04:00:45.985Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T04:00:45.985Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T04:00:45.985Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T04:00:45.985Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T04:00:45.985Z] OK: 8 MiB in 20 packages [2021-05-26T04:00:46.958Z] Removing intermediate container b9a8dfc5ee8f [2021-05-26T04:00:46.958Z] ---> 64f5ff890b00 [2021-05-26T04:00:46.958Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-26T04:00:48.403Z] ---> 96398f49369e [2021-05-26T04:00:48.403Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-26T04:00:48.995Z] ---> a6969dbb175a [2021-05-26T04:00:48.995Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-26T04:00:49.599Z] ---> a6a2ba4de04a [2021-05-26T04:00:49.599Z] Step 20/25 : EXPOSE 59986 [2021-05-26T04:00:49.871Z] ---> Running in 4dd7c47ca283 [2021-05-26T04:00:50.461Z] Removing intermediate container 4dd7c47ca283 [2021-05-26T04:00:50.461Z] ---> 42c203e96c5e [2021-05-26T04:00:50.461Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-26T04:00:50.461Z] ---> Running in 6a756fad5a74 [2021-05-26T04:00:51.055Z] Removing intermediate container 6a756fad5a74 [2021-05-26T04:00:51.055Z] ---> 225565e4a7ab [2021-05-26T04:00:51.055Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T04:00:51.055Z] ---> Running in 3631c57c44c3 [2021-05-26T04:00:51.649Z] Removing intermediate container 3631c57c44c3 [2021-05-26T04:00:51.649Z] ---> 9ca4ba67187b [2021-05-26T04:00:51.649Z] Step 23/25 : LABEL arch=arm64 [2021-05-26T04:00:51.649Z] ---> Running in da4177b0dc56 [2021-05-26T04:00:52.244Z] Removing intermediate container da4177b0dc56 [2021-05-26T04:00:52.244Z] ---> 0ab7b0fd2660 [2021-05-26T04:00:52.244Z] Step 24/25 : LABEL git_sha=c3b2fef99a74ce7813b49848a75e829beb75cd22 [2021-05-26T04:00:52.516Z] ---> Running in d41884453ba7 [2021-05-26T04:00:52.789Z] Removing intermediate container d41884453ba7 [2021-05-26T04:00:52.789Z] ---> 38206fc9ad74 [2021-05-26T04:00:52.789Z] Step 25/25 : LABEL version=0.0.0 [2021-05-26T04:00:53.064Z] ---> Running in 4eb0e5668ee8 [2021-05-26T04:00:53.656Z] Removing intermediate container 4eb0e5668ee8 [2021-05-26T04:00:53.656Z] ---> 7ae5a768ebae [2021-05-26T04:00:53.656Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T04:00:53.656Z] Successfully built 7ae5a768ebae [2021-05-26T04:00:53.656Z] 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-26T04:00:54.118Z] ---> job-cost.sh [2021-05-26T04:00:54.119Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4Hke [2021-05-26T04:01:33.115Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T04:02:54.834Z] lf-activate-venv(): INFO: Adding /tmp/venv-4Hke/bin to PATH [2021-05-26T04:02:54.834Z] INFO: No Stack... [2021-05-26T04:02:54.834Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T04:02:54.834Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T04:02:55.176Z] + cut -d, -f6 [2021-05-26T04:02:55.176Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2021-05-26T04:02:55.236Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-104-2-stack-cost] [2021-05-26T04:02:55.252Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-104-2-stack-cost] did not exist. Created. [2021-05-26T04:02:55.253Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-104-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T04:02:55.614Z] /w/workspace/device-rest-go/2@tmp/durable-fb4ee6c6/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-fb4ee6c6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-26T04:02:55.957Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T04:02:55.997Z] Warning: overwriting stash ‘stack-cost’ [2021-05-26T04:02:56.153Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T04:02:56.174Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-104-2-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-26T04:02:56.580Z] provisioning config files... [2021-05-26T04:02:56.588Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config7658277771488925668tmp [Pipeline] { [Pipeline] sh [2021-05-26T04:02:56.911Z] + set +x [2021-05-26T04:02:56.911Z] + curl -s https://codecov.io/bash [2021-05-26T04:02:56.911Z] + bash -s -- [2021-05-26T04:02:56.911Z] [2021-05-26T04:02:56.911Z] _____ _ [2021-05-26T04:02:56.911Z] / ____| | | [2021-05-26T04:02:56.911Z] | | ___ __| | ___ ___ _____ __ [2021-05-26T04:02:56.911Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-26T04:02:56.911Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-26T04:02:56.911Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-26T04:02:56.911Z] Bash-1.0.3 [2021-05-26T04:02:56.911Z] [2021-05-26T04:02:56.911Z] [2021-05-26T04:02:56.912Z] ==> git version 2.24.4 found [2021-05-26T04:02:56.912Z] ==> 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-26T04:02:56.912Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-26T04:02:56.912Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-26T04:02:56.912Z] ==> Jenkins CI detected. [2021-05-26T04:02:56.912Z] project root: . [2021-05-26T04:02:56.912Z] --> token set from env [2021-05-26T04:02:56.912Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-26T04:02:56.912Z] ==> Running gcov in . (disable via -X gcov) [2021-05-26T04:02:56.912Z] ==> Python coveragepy not found [2021-05-26T04:02:56.912Z] ==> Searching for coverage reports in: [2021-05-26T04:02:56.912Z] + . [2021-05-26T04:02:56.912Z] -> Found 1 reports [2021-05-26T04:02:56.912Z] ==> Detecting git/mercurial file structure [2021-05-26T04:02:57.173Z] ==> Reading reports [2021-05-26T04:02:57.173Z] + ./coverage.out bytes=8513 [2021-05-26T04:02:57.173Z] ==> Appending adjustments [2021-05-26T04:02:57.173Z] https://docs.codecov.io/docs/fixing-reports [2021-05-26T04:02:57.173Z] + Found adjustments [2021-05-26T04:02:57.173Z] ==> Gzipping contents [2021-05-26T04:02:57.173Z] 4.0K /tmp/codecov.P81eB9.gz [2021-05-26T04:02:57.173Z] ==> Uploading reports [2021-05-26T04:02:57.173Z] url: https://codecov.io [2021-05-26T04:02:57.173Z] query: branch=PR-104&commit=c3b2fef99a74ce7813b49848a75e829beb75cd22&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-104%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=104&job=&cmd_args= [2021-05-26T04:02:57.173Z] -> Pinging Codecov [2021-05-26T04:02:57.173Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-104&commit=c3b2fef99a74ce7813b49848a75e829beb75cd22&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-104%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=104&job=&cmd_args= [2021-05-26T04:02:57.744Z] -> Uploading to [2021-05-26T04:02:57.744Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-26/4E5D53B4F1F92C436F7061BF334D961C/c3b2fef99a74ce7813b49848a75e829beb75cd22/8f8c0075-6422-47ff-ba64-89d0bab5662b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T040257Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7fc634bc48043e2023e9c87470e17332b6f6f7ff2efab8a135736b169cbf8e3 [2021-05-26T04:02:57.744Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-26T04:02:57.744Z] Dload Upload Total Spent Left Speed [2021-05-26T04:02:58.004Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4729 --:--:-- --:--:-- --:--:-- 4738 [2021-05-26T04:02:58.004Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c3b2fef99a74ce7813b49848a75e829beb75cd22 [Pipeline] } [2021-05-26T04:02:58.013Z] 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-26T04:02:59.135Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:02:59.699Z] ---> package-listing.sh [2021-05-26T04:02:59.699Z] ++ facter osfamily [2021-05-26T04:02:59.699Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T04:02:59.963Z] + OS_FAMILY=redhat [2021-05-26T04:02:59.963Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-104 [2021-05-26T04:02:59.963Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T04:02:59.963Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T04:02:59.963Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T04:02:59.963Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T04:02:59.963Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-104 ']' [2021-05-26T04:02:59.963Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T04:02:59.963Z] + case "${OS_FAMILY}" in [2021-05-26T04:02:59.963Z] + sort [2021-05-26T04:02:59.963Z] + rpm -qa [2021-05-26T04:03:00.536Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T04:03:00.536Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T04:03:00.536Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T04:03:00.536Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-104 ']' [2021-05-26T04:03:00.536Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-104/archives/ [2021-05-26T04:03:00.536Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-104/archives/ [Pipeline] echo [2021-05-26T04:03:00.551Z] 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-104/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-26T04:03:00.836Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:03:01.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T04:03:01.464Z] [2021-05-26T04:03:01.464Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:03:01.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T04:03:01.814Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T04:03:01.814Z] df20fa9351a1: Pulling fs layer [2021-05-26T04:03:01.814Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T04:03:01.814Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T04:03:01.814Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T04:03:01.814Z] 93b61091891f: Pulling fs layer [2021-05-26T04:03:01.814Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T04:03:01.814Z] 5e14af77c1be: Pulling fs layer [2021-05-26T04:03:01.814Z] 01666e4c0597: Pulling fs layer [2021-05-26T04:03:01.814Z] aa168da1d23b: Pulling fs layer [2021-05-26T04:03:01.814Z] 46f8f816bc3b: Waiting [2021-05-26T04:03:01.814Z] 93b61091891f: Waiting [2021-05-26T04:03:01.814Z] 93b9cdb0e59b: Waiting [2021-05-26T04:03:01.814Z] 5e14af77c1be: Waiting [2021-05-26T04:03:01.814Z] 01666e4c0597: Waiting [2021-05-26T04:03:01.814Z] aa168da1d23b: Waiting [2021-05-26T04:03:01.814Z] 36b3adc4ff6f: Verifying Checksum [2021-05-26T04:03:01.814Z] 36b3adc4ff6f: Download complete [2021-05-26T04:03:01.814Z] 46f8f816bc3b: Verifying Checksum [2021-05-26T04:03:01.814Z] 46f8f816bc3b: Download complete [2021-05-26T04:03:01.814Z] df20fa9351a1: Verifying Checksum [2021-05-26T04:03:01.814Z] df20fa9351a1: Download complete [2021-05-26T04:03:01.814Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T04:03:01.814Z] 93b9cdb0e59b: Download complete [2021-05-26T04:03:01.814Z] 93b61091891f: Verifying Checksum [2021-05-26T04:03:01.814Z] 93b61091891f: Download complete [2021-05-26T04:03:02.077Z] 01666e4c0597: Verifying Checksum [2021-05-26T04:03:02.077Z] 01666e4c0597: Download complete [2021-05-26T04:03:02.077Z] 5e14af77c1be: Verifying Checksum [2021-05-26T04:03:02.077Z] 5e14af77c1be: Download complete [2021-05-26T04:03:02.077Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T04:03:02.077Z] 8ad3a11d3b57: Download complete [2021-05-26T04:03:02.077Z] df20fa9351a1: Pull complete [2021-05-26T04:03:02.339Z] 36b3adc4ff6f: Pull complete [2021-05-26T04:03:02.620Z] 8ad3a11d3b57: Pull complete [2021-05-26T04:03:02.882Z] 46f8f816bc3b: Pull complete [2021-05-26T04:03:03.144Z] 93b61091891f: Pull complete [2021-05-26T04:03:03.144Z] 93b9cdb0e59b: Pull complete [2021-05-26T04:03:03.405Z] 5e14af77c1be: Pull complete [2021-05-26T04:03:03.405Z] 01666e4c0597: Pull complete [2021-05-26T04:03:03.977Z] aa168da1d23b: Verifying Checksum [2021-05-26T04:03:03.977Z] aa168da1d23b: Download complete [2021-05-26T04:03:08.231Z] aa168da1d23b: Pull complete [2021-05-26T04:03:08.231Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T04:03:08.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T04:03:08.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T04:03:08.302Z] prd-centos7-docker-4c-2g-364 does not seem to be running inside a container [2021-05-26T04:03:08.337Z] $ 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-104/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-104 -v /w/workspace/gexfoundry_device-rest-go_PR-104:/w/workspace/gexfoundry_device-rest-go_PR-104:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-104@tmp:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-26T04:03:10.337Z] $ docker top b553f15fadd88457f977d66afe407b0688b74ecca4807ec6ab85de3a1c0bbc15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T04:03:10.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T04:03:11.009Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T04:03:11.304Z] + ls /var/log/sa-host [2021-05-26T04:03:11.304Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T04:03:11.304Z] file_magic: OK [2021-05-26T04:03:11.304Z] HZ: Using current value: 100 [2021-05-26T04:03:11.304Z] file_header: OK [2021-05-26T04:03:11.304Z] 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-26T04:03:11.304Z] Statistics: [2021-05-26T04:03:11.304Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T04:03:11.304Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T04:03:11.304Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T04:03:11.304Z] file_magic: OK [2021-05-26T04:03:11.304Z] HZ: Using current value: 100 [2021-05-26T04:03:11.304Z] file_header: OK [2021-05-26T04:03:11.304Z] 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-26T04:03:11.304Z] Statistics: [2021-05-26T04:03:11.304Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T04:03:11.304Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T04:03:11.479Z] provisioning config files... [2021-05-26T04:03:11.491Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config52538231366834087tmp [Pipeline] { [Pipeline] echo [2021-05-26T04:03:11.515Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:11.812Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T04:03:11.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T04:03:11.849Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:12.142Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T04:03:12.152Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:12.455Z] ---> sudo-logs.sh [2021-05-26T04:03:12.455Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T04:03:12.482Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:12.782Z] ---> job-cost.sh [2021-05-26T04:03:12.782Z] lf-activate-venv: SKIPPING [2021-05-26T04:03:12.782Z] DEBUG: total: 0.18000000715255737 [2021-05-26T04:03:12.782Z] INFO: Retrieving Stack Cost... [2021-05-26T04:03:14.201Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T04:03:14.462Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T04:03:14.474Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:14.786Z] ---> logs-deploy.sh [2021-05-26T04:03:14.786Z] lf-activate-venv: SKIPPING [2021-05-26T04:03:14.786Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-104/2 [2021-05-26T04:03:14.786Z] INFO: archiving workspace using pattern(s): [2021-05-26T04:03:15.737Z] Archives upload complete. [2021-05-26T04:03:15.737Z] INFO: archiving logs to Nexus [2021-05-26T04:03:16.309Z] ---> uname -a: [2021-05-26T04:03:16.309Z] Linux prd-centos7-docker-4c-2g-364.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-05-26T04:03:16.309Z] [2021-05-26T04:03:16.309Z] [2021-05-26T04:03:16.309Z] ---> lscpu: [2021-05-26T04:03:16.309Z] Architecture: x86_64 [2021-05-26T04:03:16.309Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-26T04:03:16.309Z] Byte Order: Little Endian [2021-05-26T04:03:16.309Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-26T04:03:16.309Z] CPU(s): 2 [2021-05-26T04:03:16.309Z] On-line CPU(s) list: 0,1 [2021-05-26T04:03:16.309Z] Thread(s) per core: 1 [2021-05-26T04:03:16.309Z] Core(s) per socket: 1 [2021-05-26T04:03:16.309Z] Socket(s): 2 [2021-05-26T04:03:16.309Z] NUMA node(s): 1 [2021-05-26T04:03:16.309Z] Vendor ID: AuthenticAMD [2021-05-26T04:03:16.309Z] CPU family: 23 [2021-05-26T04:03:16.309Z] Model: 49 [2021-05-26T04:03:16.309Z] Model name: AMD EPYC-Rome Processor [2021-05-26T04:03:16.309Z] Stepping: 0 [2021-05-26T04:03:16.309Z] CPU MHz: 2799.998 [2021-05-26T04:03:16.309Z] BogoMIPS: 5599.99 [2021-05-26T04:03:16.309Z] Virtualization: AMD-V [2021-05-26T04:03:16.309Z] Hypervisor vendor: KVM [2021-05-26T04:03:16.309Z] Virtualization type: full [2021-05-26T04:03:16.309Z] L1d cache: 64 KiB [2021-05-26T04:03:16.309Z] L1i cache: 64 KiB [2021-05-26T04:03:16.309Z] L2 cache: 1 MiB [2021-05-26T04:03:16.309Z] L3 cache: 32 MiB [2021-05-26T04:03:16.309Z] NUMA node0 CPU(s): 0,1 [2021-05-26T04:03:16.309Z] Vulnerability Itlb multihit: Not affected [2021-05-26T04:03:16.309Z] Vulnerability L1tf: Not affected [2021-05-26T04:03:16.309Z] Vulnerability Mds: Not affected [2021-05-26T04:03:16.309Z] Vulnerability Meltdown: Not affected [2021-05-26T04:03:16.309Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-26T04:03:16.309Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-26T04:03:16.309Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-26T04:03:16.309Z] Vulnerability Srbds: Not affected [2021-05-26T04:03:16.309Z] Vulnerability Tsx async abort: Not affected [2021-05-26T04:03:16.309Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-05-26T04:03:16.309Z] [2021-05-26T04:03:16.309Z] [2021-05-26T04:03:16.309Z] ---> nproc: [2021-05-26T04:03:16.309Z] 2 [2021-05-26T04:03:16.309Z] [2021-05-26T04:03:16.309Z]