Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b2078d70396c9de247bd59d3b559c7f9e74995c9 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > 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: docker-device-rest-go 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-2538 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b2078d70396c9de247bd59d3b559c7f9e74995c9 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 Commit message: "Merge pull request #83 from lenny-intel/paths" > git rev-list --no-walk 7785bfdac8204e7db57f1c60391832de77af91bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-30T22:53:23.221Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-30T22:53:23.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-30T22:53:23.352Z] ========================================================= [2021-04-30T22:53:23.352Z] EdgeX Global Pipelines Version Info [2021-04-30T22:53:23.352Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-30T22:53:24.939Z] ------------------- [2021-04-30T22:53:24.939Z] stable info: [2021-04-30T22:53:24.939Z] ------------------- [2021-04-30T22:53:24.939Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-30T22:53:24.939Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-04-30T22:53:24.939Z] Message: update stable to v1.0.191 [2021-04-30T22:53:25.889Z] ------------------- [2021-04-30T22:53:25.889Z] experimental info: [2021-04-30T22:53:25.889Z] ------------------- [2021-04-30T22:53:25.889Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-30T22:53:25.889Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-04-30T22:53:25.889Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-30T22:53:26.031Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-04-30T22:53:26.054Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-04-30T22:53:26.076Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-30T22:53:26.099Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-30T22:53:26.120Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-30T22:53:26.145Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-04-30T22:53:26.170Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-30T22:53:26.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-04-30T22:53:26.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-30T22:53:26.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-30T22:53:26.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-30T22:53:26.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-04-30T22:53:26.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-30T22:53:26.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-30T22:53:26.375Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-30T22:53:26.398Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-30T22:53:26.422Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-30T22:53:26.445Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-30T22:53:26.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-30T22:53:26.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-30T22:53:26.511Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-30T22:53:26.534Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-30T22:53:26.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-30T22:53:26.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-30T22:53:26.606Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-30T22:53:26.629Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-30T22:53:26.652Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-30T22:53:26.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-30T22:53:26.700Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-30T22:53:26.725Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2078d70396c9de247bd59d3b559c7f9e74995c9 [Pipeline] echo [2021-04-30T22:53:26.747Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2078d7 [Pipeline] echo [2021-04-30T22:53:26.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T22:53:26.845Z] provisioning config files... [2021-04-30T22:53:26.877Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8425020356015061663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T22:53:27.225Z] ---> docker-login.sh [2021-04-30T22:53:27.225Z] nexus3.edgexfoundry.org:10001 [2021-04-30T22:53:27.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:53:27.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:53:27.760Z] Configure a credential helper to remove this warning. See [2021-04-30T22:53:27.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:53:27.760Z] [2021-04-30T22:53:27.760Z] Login Succeeded [2021-04-30T22:53:27.760Z] nexus3.edgexfoundry.org:10002 [2021-04-30T22:53:28.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:53:28.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:53:28.025Z] Configure a credential helper to remove this warning. See [2021-04-30T22:53:28.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:53:28.025Z] [2021-04-30T22:53:28.025Z] Login Succeeded [2021-04-30T22:53:28.025Z] nexus3.edgexfoundry.org:10003 [2021-04-30T22:53:28.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:53:28.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:53:28.289Z] Configure a credential helper to remove this warning. See [2021-04-30T22:53:28.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:53:28.289Z] [2021-04-30T22:53:28.289Z] Login Succeeded [2021-04-30T22:53:28.289Z] nexus3.edgexfoundry.org:10004 [2021-04-30T22:53:28.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:53:28.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:53:28.289Z] Configure a credential helper to remove this warning. See [2021-04-30T22:53:28.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:53:28.289Z] [2021-04-30T22:53:28.289Z] Login Succeeded [2021-04-30T22:53:28.289Z] docker.io [2021-04-30T22:53:28.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:53:28.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:53:28.821Z] Configure a credential helper to remove this warning. See [2021-04-30T22:53:28.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:53:28.821Z] [2021-04-30T22:53:28.821Z] Login Succeeded [2021-04-30T22:53:28.821Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T22:53:28.834Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T22:53:29.298Z] + git log --format=format:%s -1 b2078d70396c9de247bd59d3b559c7f9e74995c9 [Pipeline] echo [2021-04-30T22:53:29.388Z] GIT_COMMIT: b2078d70396c9de247bd59d3b559c7f9e74995c9, Commit Message: Merge pull request #83 from lenny-intel/paths [Pipeline] echo [2021-04-30T22:53:29.420Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:53:30.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T22:53:30.354Z] [2021-04-30T22:53:30.354Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:53:30.672Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T22:53:30.672Z] latest: Pulling from edgex-devops/git-semver [2021-04-30T22:53:30.672Z] 31603596830f: Pulling fs layer [2021-04-30T22:53:30.672Z] 54011a49482f: Pulling fs layer [2021-04-30T22:53:30.672Z] a6820b24f6d8: Pulling fs layer [2021-04-30T22:53:30.672Z] f581987b2513: Pulling fs layer [2021-04-30T22:53:30.672Z] f581987b2513: Waiting [2021-04-30T22:53:30.672Z] 54011a49482f: Verifying Checksum [2021-04-30T22:53:30.672Z] 54011a49482f: Download complete [2021-04-30T22:53:30.939Z] 31603596830f: Verifying Checksum [2021-04-30T22:53:30.939Z] 31603596830f: Download complete [2021-04-30T22:53:30.939Z] f581987b2513: Verifying Checksum [2021-04-30T22:53:30.939Z] f581987b2513: Download complete [2021-04-30T22:53:30.939Z] a6820b24f6d8: Verifying Checksum [2021-04-30T22:53:30.939Z] a6820b24f6d8: Download complete [2021-04-30T22:53:31.204Z] 31603596830f: Pull complete [2021-04-30T22:53:31.204Z] 54011a49482f: Pull complete [2021-04-30T22:53:32.164Z] a6820b24f6d8: Pull complete [2021-04-30T22:53:32.428Z] f581987b2513: Pull complete [2021-04-30T22:53:32.428Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-04-30T22:53:32.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T22:53:32.428Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-30T22:53:32.564Z] prd-centos7-docker-4c-2g-2538 does not seem to be running inside a container [2021-04-30T22:53:32.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T22:53:34.413Z] $ docker top 1795405765f7b21df47de6af6dfc31f28c103d687eed54dbf69d9c29dbc291c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T22:53:34.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T22:53:34.569Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T22:53:34.818Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T22:53:34.823Z] $ docker exec 1795405765f7b21df47de6af6dfc31f28c103d687eed54dbf69d9c29dbc291c2 ssh-agent [2021-04-30T22:53:35.027Z] SSH_AUTH_SOCK=/tmp/ssh-jUfCbDfEoobI/agent.12 [2021-04-30T22:53:35.028Z] SSH_AGENT_PID=17 [2021-04-30T22:53:35.040Z] Running ssh-add (command line suppressed) [2021-04-30T22:53:35.178Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7494901229116937606.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7494901229116937606.key) [2021-04-30T22:53:35.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T22:53:35.539Z] + git tag --points-at HEAD [Pipeline] } [2021-04-30T22:53:35.563Z] $ docker exec --env ******** --env ******** 1795405765f7b21df47de6af6dfc31f28c103d687eed54dbf69d9c29dbc291c2 ssh-agent -k [2021-04-30T22:53:35.694Z] unset SSH_AUTH_SOCK; [2021-04-30T22:53:35.694Z] unset SSH_AGENT_PID; [2021-04-30T22:53:35.694Z] echo Agent pid 17 killed; [2021-04-30T22:53:35.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-30T22:53:35.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T22:53:35.825Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T22:53:36.011Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T22:53:36.016Z] $ docker exec 1795405765f7b21df47de6af6dfc31f28c103d687eed54dbf69d9c29dbc291c2 ssh-agent [2021-04-30T22:53:36.187Z] SSH_AUTH_SOCK=/tmp/ssh-KkeqdT8zs52K/agent.48 [2021-04-30T22:53:36.187Z] SSH_AGENT_PID=53 [2021-04-30T22:53:36.196Z] Running ssh-add (command line suppressed) [2021-04-30T22:53:36.326Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3224227708483590975.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3224227708483590975.key) [2021-04-30T22:53:36.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T22:53:36.690Z] + git semver init [2021-04-30T22:53:36.690Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T22:53:36.690Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-04-30T22:53:36.690Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-04-30T22:53:36.690Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T22:53:36.690Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T22:53:36.690Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T22:53:36.690Z] # $SEMVER_BRANCH = master [2021-04-30T22:53:36.690Z] # $SEMVER_TEMP = /tmp/semver-209517058 [2021-04-30T22:53:36.690Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-04-30T22:53:38.088Z] # '/tmp/semver-209517058' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-04-30T22:53:38.088Z] # -> Force: false [2021-04-30T22:53:38.088Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-04-30T22:53:38.103Z] $ docker exec --env ******** --env ******** 1795405765f7b21df47de6af6dfc31f28c103d687eed54dbf69d9c29dbc291c2 ssh-agent -k [2021-04-30T22:53:38.221Z] unset SSH_AUTH_SOCK; [2021-04-30T22:53:38.222Z] unset SSH_AGENT_PID; [2021-04-30T22:53:38.223Z] echo Agent pid 53 killed; [2021-04-30T22:53:38.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T22:53:38.639Z] + git semver [Pipeline] } [2021-04-30T22:53:38.659Z] $ docker stop --time=1 1795405765f7b21df47de6af6dfc31f28c103d687eed54dbf69d9c29dbc291c2 [2021-04-30T22:53:40.174Z] $ docker rm -f 1795405765f7b21df47de6af6dfc31f28c103d687eed54dbf69d9c29dbc291c2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T22:53:40.578Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-30T22:53:40.907Z] Stashed 1 file(s) [Pipeline] echo [2021-04-30T22:53:40.910Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.5 [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-04-30T22:53:56.102Z] Still waiting to schedule task [2021-04-30T22:53:56.102Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-30T22:53:56.105Z] Still waiting to schedule task [2021-04-30T22:53:56.105Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-30T22:55:43.562Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2539 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-04-30T22:55:43.586Z] Running in /w/workspace/device-rest-go/37 [Pipeline] { [Pipeline] checkout [2021-04-30T22:55:49.184Z] using credential edgex-jenkins-ssh [2021-04-30T22:55:49.202Z] Cloning the remote Git repository [2021-04-30T22:55:49.238Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T22:55:49.360Z] > git init /w/workspace/device-rest-go/37 # timeout=10 [2021-04-30T22:55:49.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T22:55:49.442Z] > git --version # timeout=10 [2021-04-30T22:55:49.469Z] > git --version # 'git version 2.17.1' [2021-04-30T22:55:49.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T22:55:49.525Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T22:55:51.123Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T22:55:51.147Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T22:55:51.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T22:55:51.719Z] Checking out Revision b2078d70396c9de247bd59d3b559c7f9e74995c9 (master) [2021-04-30T22:55:51.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T22:55:51.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T22:55:51.238Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-30T22:55:51.723Z] > git config core.sparsecheckout # timeout=10 [2021-04-30T22:55:51.758Z] > git checkout -f b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 [2021-04-30T22:55:55.977Z] Commit message: "Merge pull request #83 from lenny-intel/paths" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T22:55:57.441Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-30T22:55:57.849Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-30T22:55:58.195Z] + sudo service docker restart [2021-04-30T22:55:58.195Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T22:56:00.864Z] provisioning config files... [2021-04-30T22:56:00.910Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/37@tmp/config5813286974131494689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T22:56:01.302Z] ---> docker-login.sh [2021-04-30T22:56:01.302Z] nexus3.edgexfoundry.org:10001 [2021-04-30T22:56:02.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:56:02.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:56:02.567Z] Configure a credential helper to remove this warning. See [2021-04-30T22:56:02.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:56:02.567Z] [2021-04-30T22:56:02.567Z] Login Succeeded [2021-04-30T22:56:02.567Z] nexus3.edgexfoundry.org:10002 [2021-04-30T22:56:02.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:56:03.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:56:03.118Z] Configure a credential helper to remove this warning. See [2021-04-30T22:56:03.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:56:03.118Z] [2021-04-30T22:56:03.118Z] Login Succeeded [2021-04-30T22:56:03.118Z] nexus3.edgexfoundry.org:10003 [2021-04-30T22:56:03.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:56:03.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:56:03.666Z] Configure a credential helper to remove this warning. See [2021-04-30T22:56:03.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:56:03.666Z] [2021-04-30T22:56:03.666Z] Login Succeeded [2021-04-30T22:56:03.666Z] nexus3.edgexfoundry.org:10004 [2021-04-30T22:56:03.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:56:03.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:56:03.941Z] Configure a credential helper to remove this warning. See [2021-04-30T22:56:03.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:56:03.941Z] [2021-04-30T22:56:03.941Z] Login Succeeded [2021-04-30T22:56:03.941Z] docker.io [2021-04-30T22:56:04.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:56:04.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:56:04.812Z] Configure a credential helper to remove this warning. See [2021-04-30T22:56:04.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:56:04.812Z] [2021-04-30T22:56:04.812Z] Login Succeeded [2021-04-30T22:56:04.812Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T22:56:04.830Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-30T22:56:05.117Z] ========================================================= [2021-04-30T22:56:05.117Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-04-30T22:56:05.117Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:56:05.468Z] + 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-04-30T22:56:05.468Z] Sending build context to Docker daemon 93.18kB [2021-04-30T22:56:05.755Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T22:56:05.755Z] Step 2/10 : FROM ${BASE} [2021-04-30T22:56:05.755Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-30T22:56:05.755Z] 595b0fe564bb: Pulling fs layer [2021-04-30T22:56:05.755Z] 7186ed65a4f7: Pulling fs layer [2021-04-30T22:56:05.755Z] 316046926c0a: Pulling fs layer [2021-04-30T22:56:05.755Z] 4ebd0625c992: Pulling fs layer [2021-04-30T22:56:05.755Z] 207e8628e3a3: Pulling fs layer [2021-04-30T22:56:05.755Z] c791037a9be2: Pulling fs layer [2021-04-30T22:56:05.755Z] ffd874e62e21: Pulling fs layer [2021-04-30T22:56:05.755Z] 207e8628e3a3: Waiting [2021-04-30T22:56:05.755Z] c791037a9be2: Waiting [2021-04-30T22:56:05.755Z] ffd874e62e21: Waiting [2021-04-30T22:56:05.755Z] 4ebd0625c992: Waiting [2021-04-30T22:56:05.755Z] 316046926c0a: Verifying Checksum [2021-04-30T22:56:05.755Z] 316046926c0a: Download complete [2021-04-30T22:56:05.755Z] 7186ed65a4f7: Download complete [2021-04-30T22:56:05.755Z] 207e8628e3a3: Verifying Checksum [2021-04-30T22:56:05.755Z] 207e8628e3a3: Download complete [2021-04-30T22:56:06.030Z] c791037a9be2: Download complete [2021-04-30T22:56:06.030Z] 595b0fe564bb: Verifying Checksum [2021-04-30T22:56:06.030Z] 595b0fe564bb: Download complete [2021-04-30T22:56:06.625Z] 595b0fe564bb: Pull complete [2021-04-30T22:56:07.224Z] 7186ed65a4f7: Pull complete [2021-04-30T22:56:07.832Z] 316046926c0a: Pull complete [2021-04-30T22:56:08.434Z] ffd874e62e21: Verifying Checksum [2021-04-30T22:56:08.434Z] ffd874e62e21: Download complete [2021-04-30T22:56:09.434Z] 4ebd0625c992: Verifying Checksum [2021-04-30T22:56:09.434Z] 4ebd0625c992: Download complete [2021-04-30T22:56:19.615Z] 4ebd0625c992: Pull complete [2021-04-30T22:56:19.615Z] 207e8628e3a3: Pull complete [2021-04-30T22:56:19.891Z] c791037a9be2: Pull complete [2021-04-30T22:56:24.195Z] ffd874e62e21: Pull complete [2021-04-30T22:56:24.196Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-04-30T22:56:24.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-04-30T22:56:24.196Z] ---> cfc18b08335c [2021-04-30T22:56:24.196Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T22:56:26.813Z] ---> Running in ad691d1ba0db [2021-04-30T22:56:26.813Z] Removing intermediate container ad691d1ba0db [2021-04-30T22:56:26.813Z] ---> 73ea280e7253 [2021-04-30T22:56:26.813Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T22:56:26.813Z] ---> Running in 19ce7aa3c0c2 [2021-04-30T22:56:27.405Z] Removing intermediate container 19ce7aa3c0c2 [2021-04-30T22:56:27.405Z] ---> 0669b2dcd452 [2021-04-30T22:56:27.405Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T22:56:27.405Z] ---> Running in 0448405a269b [2021-04-30T22:56:28.005Z] Removing intermediate container 0448405a269b [2021-04-30T22:56:28.005Z] ---> 3b06ebf7536a [2021-04-30T22:56:28.005Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T22:56:28.005Z] ---> Running in a67f6b33fc18 [2021-04-30T22:56:30.646Z] Removing intermediate container a67f6b33fc18 [2021-04-30T22:56:30.647Z] ---> 2ddaf5306298 [2021-04-30T22:56:30.647Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T22:56:30.647Z] ---> Running in ae0861d032cd [2021-04-30T22:56:31.632Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-04-30T22:56:32.227Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-04-30T22:56:33.655Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-30T22:56:33.655Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-30T22:56:33.655Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-04-30T22:56:33.655Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-30T22:56:33.655Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-04-30T22:56:33.930Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-04-30T22:56:33.930Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-04-30T22:56:34.202Z] (8/9) Installing libzmq (4.3.3-r1) [2021-04-30T22:56:34.473Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-04-30T22:56:34.473Z] Executing busybox-1.32.1-r6.trigger [2021-04-30T22:56:34.473Z] OK: 144 MiB in 49 packages [2021-04-30T22:56:35.910Z] Removing intermediate container ae0861d032cd [2021-04-30T22:56:35.910Z] ---> b9580e4e017f [2021-04-30T22:56:35.910Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-30T22:56:36.184Z] ---> Running in b1b59959b95a [2021-04-30T22:56:36.777Z] Removing intermediate container b1b59959b95a [2021-04-30T22:56:36.777Z] ---> fc3ccd5e315d [2021-04-30T22:56:36.777Z] Step 9/10 : COPY . . [2021-04-30T22:56:37.373Z] ---> 6b25e1e8b738 [2021-04-30T22:56:37.373Z] Step 10/10 : RUN go mod download [2021-04-30T22:56:37.373Z] ---> Running in daecefcd7516 [2021-04-30T22:57:04.183Z] Removing intermediate container daecefcd7516 [2021-04-30T22:57:04.183Z] ---> 87c7157346a3 [2021-04-30T22:57:04.183Z] Successfully built 87c7157346a3 [2021-04-30T22:57:04.183Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:57:04.533Z] + docker inspect -f . ci-base-image-arm64 [2021-04-30T22:57:04.534Z] . [Pipeline] withDockerContainer [2021-04-30T22:57:04.776Z] prd-ubuntu18.04-docker-arm64-4c-16g-2539 does not seem to be running inside a container [2021-04-30T22:57:04.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@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 ******** ci-base-image-arm64 cat [2021-04-30T22:57:06.357Z] $ docker top e01d5fcb87685a17864805f956d35cf605b2af679d2312e27884e72b00b2049b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T22:57:07.280Z] + go version [2021-04-30T22:57:07.280Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-04-30T22:57:07.302Z] $ docker stop --time=1 e01d5fcb87685a17864805f956d35cf605b2af679d2312e27884e72b00b2049b [2021-04-30T22:57:09.202Z] $ docker rm -f e01d5fcb87685a17864805f956d35cf605b2af679d2312e27884e72b00b2049b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:57:09.868Z] + docker inspect -f . ci-base-image-arm64 [2021-04-30T22:57:09.868Z] . [Pipeline] withDockerContainer [2021-04-30T22:57:10.106Z] prd-ubuntu18.04-docker-arm64-4c-16g-2539 does not seem to be running inside a container [2021-04-30T22:57:10.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@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 ******** ci-base-image-arm64 cat [2021-04-30T22:57:11.671Z] $ docker top 46ad9d0d1dbb27e805561a791ac73bceeb5b9934fdbac896e05476d51b5f300d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T22:57:12.647Z] + go mod tidy [Pipeline] sh [2021-04-30T22:57:13.913Z] + make test [2021-04-30T22:57:13.913Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-30T22:57:14.895Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-30T22:57:44.774Z] Running on prd-centos7-docker-4c-2g-2540 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-04-30T22:57:44.794Z] Running in /w/workspace/device-rest-go/37 [Pipeline] { [Pipeline] checkout [2021-04-30T22:57:52.048Z] using credential edgex-jenkins-ssh [2021-04-30T22:57:52.082Z] Cloning the remote Git repository [2021-04-30T22:57:52.146Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T22:57:52.272Z] > git init /w/workspace/device-rest-go/37 # timeout=10 [2021-04-30T22:57:52.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T22:57:52.417Z] > git --version # timeout=10 [2021-04-30T22:57:52.445Z] > git --version # 'git version 2.24.3' [2021-04-30T22:57:52.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T22:57:52.513Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T22:57:54.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T22:57:54.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T22:57:54.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T22:57:54.160Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T22:57:54.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T22:57:54.168Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-30T22:57:54.701Z] Checking out Revision b2078d70396c9de247bd59d3b559c7f9e74995c9 (master) [2021-04-30T22:57:54.729Z] > git config core.sparsecheckout # timeout=10 [2021-04-30T22:57:54.820Z] > git checkout -f b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 [2021-04-30T22:57:59.842Z] Commit message: "Merge pull request #83 from lenny-intel/paths" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T22:58:01.557Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-30T22:58:02.333Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-30T22:58:02.731Z] + sudo service docker restart [2021-04-30T22:58:02.731Z] + true [2021-04-30T22:58:02.731Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T22:58:03.768Z] provisioning config files... [2021-04-30T22:58:03.820Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/37@tmp/config2651068877933739594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T22:58:04.212Z] ---> docker-login.sh [2021-04-30T22:58:04.212Z] nexus3.edgexfoundry.org:10001 [2021-04-30T22:58:04.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:58:05.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:58:05.107Z] Configure a credential helper to remove this warning. See [2021-04-30T22:58:05.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:58:05.107Z] [2021-04-30T22:58:05.107Z] Login Succeeded [2021-04-30T22:58:05.107Z] nexus3.edgexfoundry.org:10002 [2021-04-30T22:58:05.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:58:05.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:58:05.391Z] Configure a credential helper to remove this warning. See [2021-04-30T22:58:05.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:58:05.391Z] [2021-04-30T22:58:05.391Z] Login Succeeded [2021-04-30T22:58:05.391Z] nexus3.edgexfoundry.org:10003 [2021-04-30T22:58:05.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:58:05.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:58:05.706Z] Configure a credential helper to remove this warning. See [2021-04-30T22:58:05.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:58:05.706Z] [2021-04-30T22:58:05.706Z] Login Succeeded [2021-04-30T22:58:05.706Z] nexus3.edgexfoundry.org:10004 [2021-04-30T22:58:06.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:58:06.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:58:06.787Z] Configure a credential helper to remove this warning. See [2021-04-30T22:58:06.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:58:06.787Z] [2021-04-30T22:58:06.787Z] Login Succeeded [2021-04-30T22:58:06.787Z] docker.io [2021-04-30T22:58:07.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:58:07.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:58:07.352Z] Configure a credential helper to remove this warning. See [2021-04-30T22:58:07.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:58:07.352Z] [2021-04-30T22:58:07.352Z] Login Succeeded [2021-04-30T22:58:07.352Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T22:58:07.401Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-30T22:58:07.748Z] ========================================================= [2021-04-30T22:58:07.748Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-04-30T22:58:07.748Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:58:08.161Z] + 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-04-30T22:58:08.161Z] Sending build context to Docker daemon 93.18kB [2021-04-30T22:58:08.161Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T22:58:08.161Z] Step 2/10 : FROM ${BASE} [2021-04-30T22:58:08.426Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-30T22:58:08.426Z] 540db60ca938: Pulling fs layer [2021-04-30T22:58:08.426Z] adcc1eea9eea: Pulling fs layer [2021-04-30T22:58:08.426Z] 4c4ab2625f07: Pulling fs layer [2021-04-30T22:58:08.426Z] 0510c868ecb4: Pulling fs layer [2021-04-30T22:58:08.426Z] afea3b2eda06: Pulling fs layer [2021-04-30T22:58:08.426Z] 7809a108b3ef: Pulling fs layer [2021-04-30T22:58:08.426Z] f706445af74f: Pulling fs layer [2021-04-30T22:58:08.426Z] afea3b2eda06: Waiting [2021-04-30T22:58:08.426Z] 7809a108b3ef: Waiting [2021-04-30T22:58:08.426Z] f706445af74f: Waiting [2021-04-30T22:58:08.426Z] 0510c868ecb4: Waiting [2021-04-30T22:58:08.426Z] 4c4ab2625f07: Download complete [2021-04-30T22:58:08.426Z] adcc1eea9eea: Verifying Checksum [2021-04-30T22:58:08.426Z] adcc1eea9eea: Download complete [2021-04-30T22:58:08.426Z] afea3b2eda06: Verifying Checksum [2021-04-30T22:58:08.426Z] afea3b2eda06: Download complete [2021-04-30T22:58:08.426Z] 7809a108b3ef: Verifying Checksum [2021-04-30T22:58:08.426Z] 7809a108b3ef: Download complete [2021-04-30T22:58:08.426Z] 540db60ca938: Verifying Checksum [2021-04-30T22:58:08.426Z] 540db60ca938: Download complete [2021-04-30T22:58:09.045Z] 540db60ca938: Pull complete [2021-04-30T22:58:09.045Z] adcc1eea9eea: Pull complete [2021-04-30T22:58:09.318Z] 4c4ab2625f07: Pull complete [2021-04-30T22:58:11.494Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-30T22:58:11.494Z] ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 54.0% of statements [2021-04-30T22:58:11.494Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-30T22:58:11.949Z] f706445af74f: Verifying Checksum [2021-04-30T22:58:11.949Z] f706445af74f: Download complete [2021-04-30T22:58:13.951Z] 0510c868ecb4: Verifying Checksum [2021-04-30T22:58:13.951Z] 0510c868ecb4: Download complete [2021-04-30T22:58:20.698Z] 0510c868ecb4: Pull complete [2021-04-30T22:58:20.967Z] afea3b2eda06: Pull complete [2021-04-30T22:58:20.967Z] 7809a108b3ef: Pull complete [2021-04-30T22:58:29.240Z] f706445af74f: Pull complete [2021-04-30T22:58:29.240Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-04-30T22:58:29.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-04-30T22:58:29.240Z] ---> b068be0155e3 [2021-04-30T22:58:29.240Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T22:58:29.846Z] ---> Running in 18661959e3e7 [2021-04-30T22:58:30.467Z] Removing intermediate container 18661959e3e7 [2021-04-30T22:58:30.467Z] ---> e05c90d6dbbd [2021-04-30T22:58:30.467Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T22:58:30.467Z] ---> Running in 385589a53838 [2021-04-30T22:58:30.754Z] Removing intermediate container 385589a53838 [2021-04-30T22:58:30.754Z] ---> 1881336620fc [2021-04-30T22:58:30.754Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T22:58:30.754Z] ---> Running in 8573e7aec67a [2021-04-30T22:58:31.051Z] Removing intermediate container 8573e7aec67a [2021-04-30T22:58:31.051Z] ---> 06c426b90375 [2021-04-30T22:58:31.051Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T22:58:31.051Z] ---> Running in 09ca14d45981 [2021-04-30T22:58:33.051Z] Removing intermediate container 09ca14d45981 [2021-04-30T22:58:33.052Z] ---> ac36e168616c [2021-04-30T22:58:33.052Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T22:58:33.052Z] ---> Running in 20ef2edf4e6c [2021-04-30T22:58:34.052Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-04-30T22:58:34.679Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-04-30T22:58:35.372Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-30T22:58:35.372Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-30T22:58:35.372Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-04-30T22:58:35.684Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-30T22:58:35.684Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-04-30T22:58:35.684Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-04-30T22:58:36.038Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-04-30T22:58:36.627Z] (8/9) Installing libzmq (4.3.3-r1) [2021-04-30T22:58:36.960Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-04-30T22:58:36.960Z] Executing busybox-1.32.1-r6.trigger [2021-04-30T22:58:36.960Z] OK: 154 MiB in 49 packages [2021-04-30T22:58:38.070Z] Removing intermediate container 20ef2edf4e6c [2021-04-30T22:58:38.070Z] ---> 5e64d40f0242 [2021-04-30T22:58:38.070Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-30T22:58:38.328Z] gofmt -l . [2021-04-30T22:58:38.328Z] [ "`gofmt -l .`" = "" ] [2021-04-30T22:58:38.328Z] ./bin/test-go-mod-tidy.sh [2021-04-30T22:58:38.328Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-30T22:58:38.355Z] ---> Running in 8427fb1c15a0 [2021-04-30T22:58:38.355Z] Removing intermediate container 8427fb1c15a0 [2021-04-30T22:58:38.355Z] ---> 30b2fdc66668 [2021-04-30T22:58:38.355Z] Step 9/10 : COPY . . [2021-04-30T22:58:38.356Z] $ docker stop --time=1 46ad9d0d1dbb27e805561a791ac73bceeb5b9934fdbac896e05476d51b5f300d [2021-04-30T22:58:38.671Z] ---> ae856d13463e [2021-04-30T22:58:38.671Z] Step 10/10 : RUN go mod download [2021-04-30T22:58:38.945Z] ---> Running in 572d555fa0e1 [2021-04-30T22:58:40.629Z] $ docker rm -f 46ad9d0d1dbb27e805561a791ac73bceeb5b9934fdbac896e05476d51b5f300d [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T22:58:41.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-30T22:58:42.418Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T22:58:44.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-30T22:58:45.189Z] + ls -al . [2021-04-30T22:58:45.189Z] total 132 [2021-04-30T22:58:45.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 22:58 . [2021-04-30T22:58:45.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 22:55 .. [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 30 22:55 .dockerignore [2021-04-30T22:58:45.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 22:55 .git [2021-04-30T22:58:45.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 22:55 .github [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 339 Apr 30 22:55 .gitignore [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 6792 Apr 30 22:55 Attribution.txt [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 1602 Apr 30 22:55 Dockerfile [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 1087 Apr 30 22:55 Dockerfile.build [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 30 22:55 Jenkinsfile [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 30 22:55 LICENSE [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 996 Apr 30 22:55 Makefile [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 7667 Apr 30 22:55 README.md [2021-04-30T22:58:45.189Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 30 22:53 VERSION [2021-04-30T22:58:45.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 22:55 bin [2021-04-30T22:58:45.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 30 22:55 cmd [2021-04-30T22:58:45.190Z] -rw-r--r-- 1 jenkins jenkins 8513 Apr 30 22:58 coverage.out [2021-04-30T22:58:45.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 22:55 driver [2021-04-30T22:58:45.190Z] -rw-r--r-- 1 jenkins jenkins 285 Apr 30 22:58 go.mod [2021-04-30T22:58:45.190Z] -rw-r--r-- 1 jenkins jenkins 21331 Apr 30 22:57 go.sum [2021-04-30T22:58:45.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 22:55 snap [2021-04-30T22:58:45.190Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 30 22:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:58:45.591Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b2078d70396c9de247bd59d3b559c7f9e74995c9 --label arch=arm64 --label version=1.2.2-dev.5 . [2021-04-30T22:58:45.591Z] Sending build context to Docker daemon 102.9kB [2021-04-30T22:58:46.229Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T22:58:46.229Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-30T22:58:46.229Z] ---> 87c7157346a3 [2021-04-30T22:58:46.229Z] Step 3/24 : ARG MAKE='make build' [2021-04-30T22:58:46.229Z] ---> Running in 0db050ce4a9e [2021-04-30T22:58:46.827Z] Removing intermediate container 0db050ce4a9e [2021-04-30T22:58:46.827Z] ---> 067223fd4541 [2021-04-30T22:58:46.827Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T22:58:46.827Z] ---> Running in 3f330f0f20e5 [2021-04-30T22:58:47.101Z] Removing intermediate container 3f330f0f20e5 [2021-04-30T22:58:47.101Z] ---> bde548f9af31 [2021-04-30T22:58:47.101Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T22:58:47.374Z] ---> Running in 377ad7cbecaf [2021-04-30T22:58:47.972Z] Removing intermediate container 377ad7cbecaf [2021-04-30T22:58:47.972Z] ---> c2e33c2a4d3b [2021-04-30T22:58:47.972Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T22:58:47.972Z] ---> Running in a92f6f887ae2 [2021-04-30T22:58:50.597Z] Removing intermediate container a92f6f887ae2 [2021-04-30T22:58:50.597Z] ---> 54b312270121 [2021-04-30T22:58:50.597Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T22:58:50.597Z] ---> Running in 18fcb434a97d [2021-04-30T22:58:51.577Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-04-30T22:58:52.553Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-04-30T22:58:53.545Z] OK: 144 MiB in 49 packages [2021-04-30T22:58:54.522Z] Removing intermediate container 18fcb434a97d [2021-04-30T22:58:54.522Z] ---> 9172d8b659f0 [2021-04-30T22:58:54.522Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-30T22:58:54.522Z] ---> Running in 4e2088dceb01 [2021-04-30T22:58:55.115Z] Removing intermediate container 4e2088dceb01 [2021-04-30T22:58:55.116Z] ---> e2d2bc7ab07e [2021-04-30T22:58:55.116Z] Step 9/24 : COPY . . [2021-04-30T22:58:56.092Z] ---> 0a251b290ff5 [2021-04-30T22:58:56.092Z] Step 10/24 : RUN make update [2021-04-30T22:58:56.092Z] ---> Running in ff8880fe9a17 [2021-04-30T22:58:57.074Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-30T22:58:58.518Z] Removing intermediate container ff8880fe9a17 [2021-04-30T22:58:58.518Z] ---> 05479f52cdf0 [2021-04-30T22:58:58.518Z] Step 11/24 : RUN $MAKE [2021-04-30T22:58:58.518Z] ---> Running in 96ab8c0f25ad [2021-04-30T22:58:59.500Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.5" -o cmd/device-rest-go ./cmd [2021-04-30T22:59:11.775Z] Removing intermediate container 572d555fa0e1 [2021-04-30T22:59:11.775Z] ---> a96e30e260bc [2021-04-30T22:59:11.775Z] Successfully built a96e30e260bc [2021-04-30T22:59:11.775Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:12.173Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-30T22:59:12.174Z] . [Pipeline] withDockerContainer [2021-04-30T22:59:12.319Z] prd-centos7-docker-4c-2g-2540 does not seem to be running inside a container [2021-04-30T22:59:12.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@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 ******** ci-base-image-x86_64 cat [2021-04-30T22:59:13.372Z] $ docker top c73a5fd8344f15715df6d5e0480be82392d1a129981a544b8a2ae2a2916b9097 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T22:59:13.905Z] + go version [2021-04-30T22:59:13.906Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-04-30T22:59:13.927Z] $ docker stop --time=1 c73a5fd8344f15715df6d5e0480be82392d1a129981a544b8a2ae2a2916b9097 [2021-04-30T22:59:15.406Z] $ docker rm -f c73a5fd8344f15715df6d5e0480be82392d1a129981a544b8a2ae2a2916b9097 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:15.966Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-30T22:59:15.966Z] . [Pipeline] withDockerContainer [2021-04-30T22:59:16.197Z] prd-centos7-docker-4c-2g-2540 does not seem to be running inside a container [2021-04-30T22:59:16.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@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 ******** ci-base-image-x86_64 cat [2021-04-30T22:59:17.222Z] $ docker top 76e96ff58e17b96b94baa7a46cf09ff1f41544ded5c38812c19c3acb9f246dda -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T22:59:18.253Z] + go mod tidy [Pipeline] sh [2021-04-30T22:59:19.999Z] + make test [2021-04-30T22:59:19.999Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-30T22:59:20.976Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-30T22:59:38.527Z] Removing intermediate container 96ab8c0f25ad [2021-04-30T22:59:38.527Z] ---> da47b465c299 [2021-04-30T22:59:38.527Z] Step 12/24 : FROM alpine:3.12 [2021-04-30T22:59:38.527Z] 3.12: Pulling from library/alpine [2021-04-30T22:59:38.527Z] d2f70382dc9a: Pulling fs layer [2021-04-30T22:59:38.527Z] d2f70382dc9a: Verifying Checksum [2021-04-30T22:59:38.527Z] d2f70382dc9a: Download complete [2021-04-30T22:59:38.527Z] d2f70382dc9a: Pull complete [2021-04-30T22:59:38.527Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-30T22:59:38.527Z] Status: Downloaded newer image for alpine:3.12 [2021-04-30T22:59:38.527Z] ---> 9852663dfa18 [2021-04-30T22:59:38.527Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T22:59:38.527Z] ---> Running in a721ebdaf46b [2021-04-30T22:59:38.527Z] Removing intermediate container a721ebdaf46b [2021-04-30T22:59:38.527Z] ---> a04c0663d874 [2021-04-30T22:59:38.527Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-30T22:59:38.527Z] ---> Running in 23ddff50bb21 [2021-04-30T22:59:38.527Z] Removing intermediate container 23ddff50bb21 [2021-04-30T22:59:38.527Z] ---> a88152d34d12 [2021-04-30T22:59:38.527Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-30T22:59:38.527Z] ---> Running in 85b579df630e [2021-04-30T22:59:38.527Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-30T22:59:38.799Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-30T22:59:39.399Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-30T22:59:39.399Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-30T22:59:39.399Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-30T22:59:39.399Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-30T22:59:39.399Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-30T22:59:39.399Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-30T22:59:39.399Z] Executing busybox-1.31.1-r20.trigger [2021-04-30T22:59:39.399Z] OK: 8 MiB in 20 packages [2021-04-30T22:59:40.831Z] Removing intermediate container 85b579df630e [2021-04-30T22:59:40.831Z] ---> 9762a17f15ab [2021-04-30T22:59:40.831Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-30T22:59:42.265Z] ---> 07714d581c5f [2021-04-30T22:59:42.265Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-30T22:59:42.858Z] ---> 2bc9d7dece8a [2021-04-30T22:59:42.858Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-30T22:59:43.465Z] ---> aafadf1130ee [2021-04-30T22:59:43.465Z] Step 19/24 : EXPOSE 49986 [2021-04-30T22:59:43.465Z] ---> Running in 0ecba5dff724 [2021-04-30T22:59:44.072Z] Removing intermediate container 0ecba5dff724 [2021-04-30T22:59:44.072Z] ---> 33b64fd85a0e [2021-04-30T22:59:44.072Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-30T22:59:44.072Z] ---> Running in c73386d2e114 [2021-04-30T22:59:44.667Z] Removing intermediate container c73386d2e114 [2021-04-30T22:59:44.667Z] ---> 992dc84c7c0c [2021-04-30T22:59:44.667Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-30T22:59:44.667Z] ---> Running in a9dcc9e81859 [2021-04-30T22:59:45.260Z] Removing intermediate container a9dcc9e81859 [2021-04-30T22:59:45.260Z] ---> 441c188a1606 [2021-04-30T22:59:45.260Z] Step 22/24 : LABEL arch=arm64 [2021-04-30T22:59:45.260Z] ---> Running in adf37b5e5987 [2021-04-30T22:59:45.852Z] Removing intermediate container adf37b5e5987 [2021-04-30T22:59:45.852Z] ---> 513e771d52f6 [2021-04-30T22:59:45.852Z] Step 23/24 : LABEL git_sha=b2078d70396c9de247bd59d3b559c7f9e74995c9 [2021-04-30T22:59:45.852Z] ---> Running in 656e35a4d7b1 [2021-04-30T22:59:46.447Z] Removing intermediate container 656e35a4d7b1 [2021-04-30T22:59:46.447Z] ---> 45131e1500d6 [2021-04-30T22:59:46.447Z] Step 24/24 : LABEL version=1.2.2-dev.5 [2021-04-30T22:59:46.447Z] ---> Running in 573e95dc6c52 [2021-04-30T22:59:47.040Z] Removing intermediate container 573e95dc6c52 [2021-04-30T22:59:47.040Z] ---> 40cf88fb5933 [2021-04-30T22:59:47.040Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-30T22:59:47.040Z] Successfully built 40cf88fb5933 [2021-04-30T22:59:47.040Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T22:59:47.219Z] provisioning config files... [2021-04-30T22:59:47.252Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/37@tmp/config5433176103823858616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T22:59:47.602Z] ---> docker-login.sh [2021-04-30T22:59:47.602Z] nexus3.edgexfoundry.org:10001 [2021-04-30T22:59:47.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:59:48.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:59:48.143Z] Configure a credential helper to remove this warning. See [2021-04-30T22:59:48.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:59:48.143Z] [2021-04-30T22:59:48.143Z] Login Succeeded [2021-04-30T22:59:48.143Z] nexus3.edgexfoundry.org:10002 [2021-04-30T22:59:48.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:59:48.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:59:48.691Z] Configure a credential helper to remove this warning. See [2021-04-30T22:59:48.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:59:48.691Z] [2021-04-30T22:59:48.691Z] Login Succeeded [2021-04-30T22:59:48.691Z] nexus3.edgexfoundry.org:10003 [2021-04-30T22:59:48.948Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-30T22:59:48.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:59:49.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:59:49.238Z] Configure a credential helper to remove this warning. See [2021-04-30T22:59:49.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:59:49.238Z] [2021-04-30T22:59:49.238Z] Login Succeeded [2021-04-30T22:59:49.238Z] nexus3.edgexfoundry.org:10004 [2021-04-30T22:59:49.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:59:49.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:59:49.512Z] Configure a credential helper to remove this warning. See [2021-04-30T22:59:49.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:59:49.512Z] [2021-04-30T22:59:49.512Z] Login Succeeded [2021-04-30T22:59:49.512Z] docker.io [2021-04-30T22:59:49.934Z] ok github.com/edgexfoundry/device-rest-go/driver 0.031s coverage: 54.0% of statements [2021-04-30T22:59:50.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T22:59:50.204Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-30T22:59:50.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T22:59:50.376Z] Configure a credential helper to remove this warning. See [2021-04-30T22:59:50.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T22:59:50.376Z] [2021-04-30T22:59:50.376Z] Login Succeeded [2021-04-30T22:59:50.376Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T22:59:50.393Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-30T22:59:50.467Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2021-04-30T22:59:50.467Z] b2078d70396c9de247bd59d3b559c7f9e74995c9 [2021-04-30T22:59:50.467Z] latest [2021-04-30T22:59:50.467Z] 1.2.2-dev.5 [2021-04-30T22:59:50.467Z] b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5 [2021-04-30T22:59:50.467Z] master [2021-04-30T22:59:50.467Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:50.867Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b2078d70396c9de247bd59d3b559c7f9e74995c9 [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:51.202Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b2078d70396c9de247bd59d3b559c7f9e74995c9 [2021-04-30T22:59:51.203Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T22:59:51.203Z] f806eff81f8e: Preparing [2021-04-30T22:59:51.203Z] 553d65b561fa: Preparing [2021-04-30T22:59:51.203Z] 7871618edc87: Preparing [2021-04-30T22:59:51.203Z] cf7070397348: Preparing [2021-04-30T22:59:51.203Z] 3fbe34a1663b: Preparing [2021-04-30T22:59:51.475Z] 3fbe34a1663b: Layer already exists [2021-04-30T22:59:51.475Z] f806eff81f8e: Pushed [2021-04-30T22:59:51.475Z] 553d65b561fa: Pushed [2021-04-30T22:59:52.066Z] cf7070397348: Pushed [2021-04-30T22:59:54.031Z] 7871618edc87: Pushed [2021-04-30T22:59:54.302Z] b2078d70396c9de247bd59d3b559c7f9e74995c9: digest: sha256:d854f7e59b7e1c3a6c2938868ae446a55269804f34b8e06e6d164c033246af69 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:54.651Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:54.984Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-04-30T22:59:54.984Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T22:59:54.984Z] f806eff81f8e: Preparing [2021-04-30T22:59:54.984Z] 553d65b561fa: Preparing [2021-04-30T22:59:54.984Z] 7871618edc87: Preparing [2021-04-30T22:59:54.984Z] cf7070397348: Preparing [2021-04-30T22:59:54.984Z] 3fbe34a1663b: Preparing [2021-04-30T22:59:54.984Z] 7871618edc87: Layer already exists [2021-04-30T22:59:54.984Z] cf7070397348: Layer already exists [2021-04-30T22:59:54.984Z] f806eff81f8e: Layer already exists [2021-04-30T22:59:54.984Z] 553d65b561fa: Layer already exists [2021-04-30T22:59:55.255Z] 3fbe34a1663b: Layer already exists [2021-04-30T22:59:55.255Z] latest: digest: sha256:d854f7e59b7e1c3a6c2938868ae446a55269804f34b8e06e6d164c033246af69 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:55.598Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:55.939Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.5 [2021-04-30T22:59:55.939Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T22:59:55.939Z] f806eff81f8e: Preparing [2021-04-30T22:59:55.939Z] 553d65b561fa: Preparing [2021-04-30T22:59:55.939Z] 7871618edc87: Preparing [2021-04-30T22:59:55.939Z] cf7070397348: Preparing [2021-04-30T22:59:55.939Z] 3fbe34a1663b: Preparing [2021-04-30T22:59:55.939Z] 3fbe34a1663b: Layer already exists [2021-04-30T22:59:55.939Z] 553d65b561fa: Layer already exists [2021-04-30T22:59:55.939Z] cf7070397348: Layer already exists [2021-04-30T22:59:55.939Z] f806eff81f8e: Layer already exists [2021-04-30T22:59:55.939Z] 7871618edc87: Layer already exists [2021-04-30T22:59:56.210Z] 1.2.2-dev.5: digest: sha256:d854f7e59b7e1c3a6c2938868ae446a55269804f34b8e06e6d164c033246af69 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:56.554Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:56.895Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5 [2021-04-30T22:59:56.895Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T22:59:56.895Z] f806eff81f8e: Preparing [2021-04-30T22:59:56.895Z] 553d65b561fa: Preparing [2021-04-30T22:59:56.895Z] 7871618edc87: Preparing [2021-04-30T22:59:56.895Z] cf7070397348: Preparing [2021-04-30T22:59:56.895Z] 3fbe34a1663b: Preparing [2021-04-30T22:59:57.166Z] 553d65b561fa: Layer already exists [2021-04-30T22:59:57.166Z] cf7070397348: Layer already exists [2021-04-30T22:59:57.166Z] 7871618edc87: Layer already exists [2021-04-30T22:59:57.166Z] f806eff81f8e: Layer already exists [2021-04-30T22:59:57.166Z] 3fbe34a1663b: Layer already exists [2021-04-30T22:59:57.166Z] b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5: digest: sha256:d854f7e59b7e1c3a6c2938868ae446a55269804f34b8e06e6d164c033246af69 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:57.509Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-30T22:59:57.843Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2021-04-30T22:59:57.843Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T22:59:57.843Z] f806eff81f8e: Preparing [2021-04-30T22:59:57.843Z] 553d65b561fa: Preparing [2021-04-30T22:59:57.843Z] 7871618edc87: Preparing [2021-04-30T22:59:57.843Z] cf7070397348: Preparing [2021-04-30T22:59:57.843Z] 3fbe34a1663b: Preparing [2021-04-30T22:59:57.843Z] 7871618edc87: Layer already exists [2021-04-30T22:59:57.843Z] cf7070397348: Layer already exists [2021-04-30T22:59:57.843Z] f806eff81f8e: Layer already exists [2021-04-30T22:59:57.843Z] 553d65b561fa: Layer already exists [2021-04-30T22:59:57.843Z] 3fbe34a1663b: Layer already exists [2021-04-30T22:59:58.114Z] master: digest: sha256:d854f7e59b7e1c3a6c2938868ae446a55269804f34b8e06e6d164c033246af69 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-30T22:59:58.179Z] ===================================================== [Pipeline] echo [2021-04-30T22:59:58.196Z] taggedImages: [2021-04-30T22:59:58.196Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b2078d70396c9de247bd59d3b559c7f9e74995c9 [2021-04-30T22:59:58.196Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-04-30T22:59:58.196Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.5 [2021-04-30T22:59:58.196Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5 [2021-04-30T22:59:58.196Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-30T22:59:58.744Z] ---> job-cost.sh [2021-04-30T22:59:58.744Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-f539 [2021-04-30T23:00:05.420Z] gofmt -l . [2021-04-30T23:00:05.421Z] [ "`gofmt -l .`" = "" ] [2021-04-30T23:00:05.421Z] ./bin/test-go-mod-tidy.sh [2021-04-30T23:00:05.421Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-30T23:00:05.451Z] $ docker stop --time=1 76e96ff58e17b96b94baa7a46cf09ff1f41544ded5c38812c19c3acb9f246dda [2021-04-30T23:00:07.645Z] $ docker rm -f 76e96ff58e17b96b94baa7a46cf09ff1f41544ded5c38812c19c3acb9f246dda [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T23:00:08.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-30T23:00:08.509Z] Warning: overwriting stash ‘coverage-report’ [2021-04-30T23:00:09.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-30T23:00:09.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-30T23:00:10.266Z] + ls -al . [2021-04-30T23:00:10.266Z] total 104 [2021-04-30T23:00:10.266Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 30 23:00 . [2021-04-30T23:00:10.266Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 30 22:57 .. [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 6792 Apr 30 22:57 Attribution.txt [2021-04-30T23:00:10.266Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 30 22:57 bin [2021-04-30T23:00:10.266Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 30 22:57 cmd [2021-04-30T23:00:10.266Z] -rw-r--r--. 1 jenkins jenkins 8513 Apr 30 22:59 coverage.out [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 1602 Apr 30 22:57 Dockerfile [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 1087 Apr 30 22:57 Dockerfile.build [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 151 Apr 30 22:57 .dockerignore [2021-04-30T23:00:10.266Z] drwxrwxr-x. 2 jenkins jenkins 76 Apr 30 22:57 driver [2021-04-30T23:00:10.266Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 30 22:57 .git [2021-04-30T23:00:10.266Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 30 22:57 .github [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 339 Apr 30 22:57 .gitignore [2021-04-30T23:00:10.266Z] -rw-r--r--. 1 jenkins jenkins 285 Apr 30 23:00 go.mod [2021-04-30T23:00:10.266Z] -rw-r--r--. 1 jenkins jenkins 21331 Apr 30 22:59 go.sum [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 680 Apr 30 22:57 Jenkinsfile [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 30 22:57 LICENSE [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 996 Apr 30 22:57 Makefile [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 7667 Apr 30 22:57 README.md [2021-04-30T23:00:10.266Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 30 22:57 snap [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 30 22:53 VERSION [2021-04-30T23:00:10.266Z] -rw-rw-r--. 1 jenkins jenkins 713 Apr 30 22:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:10.609Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=b2078d70396c9de247bd59d3b559c7f9e74995c9 --label arch=amd64 --label version=1.2.2-dev.5 . [2021-04-30T23:00:10.610Z] Sending build context to Docker daemon 102.9kB [2021-04-30T23:00:10.897Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T23:00:10.897Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-30T23:00:10.897Z] ---> a96e30e260bc [2021-04-30T23:00:10.897Z] Step 3/24 : ARG MAKE='make build' [2021-04-30T23:00:10.897Z] ---> Running in 16665d927cde [2021-04-30T23:00:11.223Z] Removing intermediate container 16665d927cde [2021-04-30T23:00:11.223Z] ---> 3273b1787155 [2021-04-30T23:00:11.223Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T23:00:11.223Z] ---> Running in 9d54265489d1 [2021-04-30T23:00:11.508Z] Removing intermediate container 9d54265489d1 [2021-04-30T23:00:11.508Z] ---> de842da08351 [2021-04-30T23:00:11.508Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T23:00:11.786Z] ---> Running in 15db2ca369d7 [2021-04-30T23:00:11.786Z] Removing intermediate container 15db2ca369d7 [2021-04-30T23:00:11.786Z] ---> 16200f61a364 [2021-04-30T23:00:11.786Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T23:00:12.057Z] ---> Running in 7b42b54da637 [2021-04-30T23:00:13.546Z] Removing intermediate container 7b42b54da637 [2021-04-30T23:00:13.546Z] ---> fcda9080c7e1 [2021-04-30T23:00:13.546Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T23:00:13.546Z] ---> Running in 10ad9a6d8ec2 [2021-04-30T23:00:14.173Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-04-30T23:00:15.177Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-04-30T23:00:15.797Z] OK: 154 MiB in 49 packages [2021-04-30T23:00:16.390Z] Removing intermediate container 10ad9a6d8ec2 [2021-04-30T23:00:16.390Z] ---> 6e3d74da5a56 [2021-04-30T23:00:16.390Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-30T23:00:16.672Z] ---> Running in ce98aef3e4fa [2021-04-30T23:00:16.672Z] Removing intermediate container ce98aef3e4fa [2021-04-30T23:00:16.672Z] ---> f19fb6e13497 [2021-04-30T23:00:16.672Z] Step 9/24 : COPY . . [2021-04-30T23:00:17.338Z] ---> 53754e8e57b5 [2021-04-30T23:00:17.338Z] Step 10/24 : RUN make update [2021-04-30T23:00:17.338Z] ---> Running in 057aab9b0081 [2021-04-30T23:00:18.371Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-30T23:00:19.109Z] Removing intermediate container 057aab9b0081 [2021-04-30T23:00:19.109Z] ---> e25af1dc1c2b [2021-04-30T23:00:19.109Z] Step 11/24 : RUN $MAKE [2021-04-30T23:00:19.109Z] ---> Running in ed6ef3fe922e [2021-04-30T23:00:19.726Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.5" -o cmd/device-rest-go ./cmd [2021-04-30T23:00:37.689Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-30T23:00:42.276Z] Removing intermediate container ed6ef3fe922e [2021-04-30T23:00:42.277Z] ---> 707907eca136 [2021-04-30T23:00:42.277Z] Step 12/24 : FROM alpine:3.12 [2021-04-30T23:00:42.277Z] 3.12: Pulling from library/alpine [2021-04-30T23:00:42.277Z] 339de151aab4: Pulling fs layer [2021-04-30T23:00:42.277Z] 339de151aab4: Download complete [2021-04-30T23:00:42.277Z] 339de151aab4: Pull complete [2021-04-30T23:00:42.277Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-30T23:00:42.277Z] Status: Downloaded newer image for alpine:3.12 [2021-04-30T23:00:42.277Z] ---> 13621d1b12d4 [2021-04-30T23:00:42.277Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T23:00:42.277Z] ---> Running in d0f3eae77fb7 [2021-04-30T23:00:42.277Z] Removing intermediate container d0f3eae77fb7 [2021-04-30T23:00:42.277Z] ---> 9139639bf837 [2021-04-30T23:00:42.277Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-30T23:00:42.277Z] ---> Running in 30e550fd6283 [2021-04-30T23:00:42.277Z] Removing intermediate container 30e550fd6283 [2021-04-30T23:00:42.277Z] ---> 501daf3491c2 [2021-04-30T23:00:42.277Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-30T23:00:42.277Z] ---> Running in c1f738f44c59 [2021-04-30T23:00:43.005Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-30T23:00:43.005Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-30T23:00:43.289Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-30T23:00:43.289Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-30T23:00:43.289Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-30T23:00:43.289Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-30T23:00:43.289Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-30T23:00:43.571Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-30T23:00:43.571Z] Executing busybox-1.31.1-r20.trigger [2021-04-30T23:00:43.571Z] OK: 8 MiB in 20 packages [2021-04-30T23:00:45.060Z] Removing intermediate container c1f738f44c59 [2021-04-30T23:00:45.060Z] ---> eed9ed56a3a1 [2021-04-30T23:00:45.060Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-30T23:00:46.156Z] ---> 93f41cf68548 [2021-04-30T23:00:46.156Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-30T23:00:47.236Z] ---> 0eaa69a9ac1f [2021-04-30T23:00:47.236Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-30T23:00:47.848Z] ---> dbf5bb6dd58e [2021-04-30T23:00:47.848Z] Step 19/24 : EXPOSE 49986 [2021-04-30T23:00:47.848Z] ---> Running in 2bba4e96130a [2021-04-30T23:00:48.114Z] Removing intermediate container 2bba4e96130a [2021-04-30T23:00:48.114Z] ---> 2a34153309c7 [2021-04-30T23:00:48.114Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-30T23:00:48.114Z] ---> Running in 68c1b40ce172 [2021-04-30T23:00:48.398Z] Removing intermediate container 68c1b40ce172 [2021-04-30T23:00:48.398Z] ---> a960064fe03e [2021-04-30T23:00:48.398Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-30T23:00:48.398Z] ---> Running in c98c6003d174 [2021-04-30T23:00:48.666Z] Removing intermediate container c98c6003d174 [2021-04-30T23:00:48.666Z] ---> 3c0b80629be2 [2021-04-30T23:00:48.667Z] Step 22/24 : LABEL arch=amd64 [2021-04-30T23:00:48.667Z] ---> Running in 021f05e096ea [2021-04-30T23:00:48.969Z] Removing intermediate container 021f05e096ea [2021-04-30T23:00:48.970Z] ---> a591794c1811 [2021-04-30T23:00:48.970Z] Step 23/24 : LABEL git_sha=b2078d70396c9de247bd59d3b559c7f9e74995c9 [2021-04-30T23:00:48.970Z] ---> Running in 2ed793004c10 [2021-04-30T23:00:49.270Z] Removing intermediate container 2ed793004c10 [2021-04-30T23:00:49.270Z] ---> 84d60094da48 [2021-04-30T23:00:49.270Z] Step 24/24 : LABEL version=1.2.2-dev.5 [2021-04-30T23:00:49.270Z] ---> Running in a63b74d0e8a7 [2021-04-30T23:00:49.570Z] Removing intermediate container a63b74d0e8a7 [2021-04-30T23:00:49.570Z] ---> 829437de91e5 [2021-04-30T23:00:49.570Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-30T23:00:49.570Z] Successfully built 829437de91e5 [2021-04-30T23:00:49.634Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T23:00:49.754Z] provisioning config files... [2021-04-30T23:00:49.841Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/37@tmp/config9133243305359250583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:00:50.281Z] ---> docker-login.sh [2021-04-30T23:00:50.281Z] nexus3.edgexfoundry.org:10001 [2021-04-30T23:00:50.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T23:00:50.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T23:00:50.869Z] Configure a credential helper to remove this warning. See [2021-04-30T23:00:50.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T23:00:50.869Z] [2021-04-30T23:00:50.869Z] Login Succeeded [2021-04-30T23:00:50.869Z] nexus3.edgexfoundry.org:10002 [2021-04-30T23:00:51.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T23:00:51.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T23:00:51.569Z] Configure a credential helper to remove this warning. See [2021-04-30T23:00:51.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T23:00:51.569Z] [2021-04-30T23:00:51.569Z] Login Succeeded [2021-04-30T23:00:51.569Z] nexus3.edgexfoundry.org:10003 [2021-04-30T23:00:52.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T23:00:52.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T23:00:52.555Z] Configure a credential helper to remove this warning. See [2021-04-30T23:00:52.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T23:00:52.555Z] [2021-04-30T23:00:52.555Z] Login Succeeded [2021-04-30T23:00:52.555Z] nexus3.edgexfoundry.org:10004 [2021-04-30T23:00:52.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T23:00:52.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T23:00:52.875Z] Configure a credential helper to remove this warning. See [2021-04-30T23:00:52.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T23:00:52.875Z] [2021-04-30T23:00:52.875Z] Login Succeeded [2021-04-30T23:00:52.875Z] docker.io [2021-04-30T23:00:53.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T23:00:53.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T23:00:53.827Z] Configure a credential helper to remove this warning. See [2021-04-30T23:00:53.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T23:00:53.827Z] [2021-04-30T23:00:53.827Z] Login Succeeded [2021-04-30T23:00:53.827Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T23:00:53.857Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-30T23:00:53.932Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2021-04-30T23:00:53.932Z] b2078d70396c9de247bd59d3b559c7f9e74995c9 [2021-04-30T23:00:53.932Z] latest [2021-04-30T23:00:53.932Z] 1.2.2-dev.5 [2021-04-30T23:00:53.932Z] b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5 [2021-04-30T23:00:53.932Z] master [2021-04-30T23:00:53.932Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:54.312Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:b2078d70396c9de247bd59d3b559c7f9e74995c9 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:54.646Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:b2078d70396c9de247bd59d3b559c7f9e74995c9 [2021-04-30T23:00:54.646Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T23:00:54.646Z] d2b0f6460fc7: Preparing [2021-04-30T23:00:54.646Z] d0a0d5ef6041: Preparing [2021-04-30T23:00:54.646Z] 25278162c5c7: Preparing [2021-04-30T23:00:54.646Z] 56e8107753c9: Preparing [2021-04-30T23:00:54.646Z] 32f366d666a5: Preparing [2021-04-30T23:00:54.646Z] 32f366d666a5: Layer already exists [2021-04-30T23:00:54.912Z] d0a0d5ef6041: Pushed [2021-04-30T23:00:54.912Z] d2b0f6460fc7: Pushed [2021-04-30T23:00:54.912Z] 56e8107753c9: Pushed [2021-04-30T23:00:56.363Z] 25278162c5c7: Pushed [2021-04-30T23:00:56.363Z] b2078d70396c9de247bd59d3b559c7f9e74995c9: digest: sha256:e0dd84772213a0e237c8e32e62dfaf31a0bfbd2f18fe183fb5d480edda7325a2 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:56.814Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:57.160Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-04-30T23:00:57.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T23:00:57.160Z] d2b0f6460fc7: Preparing [2021-04-30T23:00:57.160Z] d0a0d5ef6041: Preparing [2021-04-30T23:00:57.160Z] 25278162c5c7: Preparing [2021-04-30T23:00:57.160Z] 56e8107753c9: Preparing [2021-04-30T23:00:57.160Z] 32f366d666a5: Preparing [2021-04-30T23:00:57.160Z] d0a0d5ef6041: Layer already exists [2021-04-30T23:00:57.160Z] 56e8107753c9: Layer already exists [2021-04-30T23:00:57.160Z] d2b0f6460fc7: Layer already exists [2021-04-30T23:00:57.160Z] 25278162c5c7: Layer already exists [2021-04-30T23:00:57.160Z] 32f366d666a5: Layer already exists [2021-04-30T23:00:57.160Z] latest: digest: sha256:e0dd84772213a0e237c8e32e62dfaf31a0bfbd2f18fe183fb5d480edda7325a2 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:57.546Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:57.989Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.5 [2021-04-30T23:00:58.301Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T23:00:58.301Z] d2b0f6460fc7: Preparing [2021-04-30T23:00:58.301Z] d0a0d5ef6041: Preparing [2021-04-30T23:00:58.301Z] 25278162c5c7: Preparing [2021-04-30T23:00:58.301Z] 56e8107753c9: Preparing [2021-04-30T23:00:58.301Z] 32f366d666a5: Preparing [2021-04-30T23:00:58.301Z] d0a0d5ef6041: Layer already exists [2021-04-30T23:00:58.301Z] 25278162c5c7: Layer already exists [2021-04-30T23:00:58.301Z] 32f366d666a5: Layer already exists [2021-04-30T23:00:58.301Z] d2b0f6460fc7: Layer already exists [2021-04-30T23:00:58.301Z] 56e8107753c9: Layer already exists [2021-04-30T23:00:58.301Z] 1.2.2-dev.5: digest: sha256:e0dd84772213a0e237c8e32e62dfaf31a0bfbd2f18fe183fb5d480edda7325a2 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:58.671Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:59.124Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5 [2021-04-30T23:00:59.124Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T23:00:59.124Z] d2b0f6460fc7: Preparing [2021-04-30T23:00:59.124Z] d0a0d5ef6041: Preparing [2021-04-30T23:00:59.124Z] 25278162c5c7: Preparing [2021-04-30T23:00:59.124Z] 56e8107753c9: Preparing [2021-04-30T23:00:59.124Z] 32f366d666a5: Preparing [2021-04-30T23:00:59.124Z] 56e8107753c9: Layer already exists [2021-04-30T23:00:59.124Z] 25278162c5c7: Layer already exists [2021-04-30T23:00:59.124Z] d2b0f6460fc7: Layer already exists [2021-04-30T23:00:59.124Z] d0a0d5ef6041: Layer already exists [2021-04-30T23:00:59.124Z] 32f366d666a5: Layer already exists [2021-04-30T23:00:59.124Z] b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5: digest: sha256:e0dd84772213a0e237c8e32e62dfaf31a0bfbd2f18fe183fb5d480edda7325a2 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:00:59.603Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:01:00.258Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2021-04-30T23:01:00.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T23:01:00.258Z] d2b0f6460fc7: Preparing [2021-04-30T23:01:00.258Z] d0a0d5ef6041: Preparing [2021-04-30T23:01:00.258Z] 25278162c5c7: Preparing [2021-04-30T23:01:00.258Z] 56e8107753c9: Preparing [2021-04-30T23:01:00.258Z] 32f366d666a5: Preparing [2021-04-30T23:01:00.258Z] 56e8107753c9: Layer already exists [2021-04-30T23:01:00.258Z] 25278162c5c7: Layer already exists [2021-04-30T23:01:00.258Z] 32f366d666a5: Layer already exists [2021-04-30T23:01:00.258Z] d2b0f6460fc7: Layer already exists [2021-04-30T23:01:00.258Z] d0a0d5ef6041: Layer already exists [2021-04-30T23:01:00.536Z] master: digest: sha256:e0dd84772213a0e237c8e32e62dfaf31a0bfbd2f18fe183fb5d480edda7325a2 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-30T23:01:00.603Z] ===================================================== [Pipeline] echo [2021-04-30T23:01:00.621Z] taggedImages: [2021-04-30T23:01:00.621Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:b2078d70396c9de247bd59d3b559c7f9e74995c9 [2021-04-30T23:01:00.621Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-04-30T23:01:00.621Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.5 [2021-04-30T23:01:00.621Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:b2078d70396c9de247bd59d3b559c7f9e74995c9-1.2.2-dev.5 [2021-04-30T23:01:00.621Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:01:01.083Z] ---> job-cost.sh [2021-04-30T23:01:01.083Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6kHy [2021-04-30T23:01:23.373Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-30T23:01:55.624Z] lf-activate-venv(): INFO: Adding /tmp/venv-6kHy/bin to PATH [2021-04-30T23:01:55.624Z] INFO: No Stack... [2021-04-30T23:01:55.909Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-30T23:01:57.068Z] INFO: Archiving Costs [Pipeline] sh [2021-04-30T23:01:57.736Z] + cat /w/workspace/device-rest-go/37/archives/cost.csv [2021-04-30T23:01:57.736Z] + cut -d, -f6 [Pipeline] lock [2021-04-30T23:01:57.882Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-37-stack-cost] [2021-04-30T23:01:57.893Z] Resource [jenkins-edgexfoundry-device-rest-go-master-37-stack-cost] did not exist. Created. [2021-04-30T23:01:57.893Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-30T23:01:58.322Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-30T23:01:58.469Z] Stashed 1 file(s) [Pipeline] } [2021-04-30T23:01:58.487Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-37-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-30T23:01:59.432Z] lf-activate-venv(): INFO: Adding /tmp/venv-f539/bin to PATH [2021-04-30T23:01:59.432Z] INFO: No Stack... [2021-04-30T23:02:00.405Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-30T23:02:00.674Z] INFO: Archiving Costs [Pipeline] sh [2021-04-30T23:02:01.027Z] + cat /w/workspace/device-rest-go/37/archives/cost.csv [2021-04-30T23:02:01.027Z] + cut -d, -f6 [Pipeline] lock [2021-04-30T23:02:01.136Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-37-stack-cost] [2021-04-30T23:02:01.145Z] Resource [jenkins-edgexfoundry-device-rest-go-master-37-stack-cost] did not exist. Created. [2021-04-30T23:02:01.145Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-30T23:02:01.523Z] /w/workspace/device-rest-go/37@tmp/durable-c7ab9a3a/script.sh: 1: /w/workspace/device-rest-go/37@tmp/durable-c7ab9a3a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-30T23:02:01.873Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-30T23:02:01.905Z] Warning: overwriting stash ‘stack-cost’ [2021-04-30T23:02:02.071Z] Stashed 1 file(s) [Pipeline] } [2021-04-30T23:02:02.187Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-37-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] wrap [2021-04-30T23:02:02.736Z] provisioning config files... [2021-04-30T23:02:02.749Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3747514884573323631tmp [Pipeline] { [Pipeline] sh [2021-04-30T23:02:03.091Z] + set +x [2021-04-30T23:02:03.092Z] + curl -s https://codecov.io/bash [2021-04-30T23:02:03.092Z] + bash -s -- [2021-04-30T23:02:03.355Z] [2021-04-30T23:02:03.355Z] _____ _ [2021-04-30T23:02:03.355Z] / ____| | | [2021-04-30T23:02:03.355Z] | | ___ __| | ___ ___ _____ __ [2021-04-30T23:02:03.355Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-30T23:02:03.355Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-30T23:02:03.355Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-30T23:02:03.355Z] Bash-1.0.2 [2021-04-30T23:02:03.355Z] [2021-04-30T23:02:03.355Z] [2021-04-30T23:02:03.355Z] ==> git version 2.24.3 found [2021-04-30T23:02:03.355Z] ==> 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-04-30T23:02:03.355Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-30T23:02:03.355Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-30T23:02:03.355Z] ==> Jenkins CI detected. [2021-04-30T23:02:03.355Z] project root: . [2021-04-30T23:02:03.355Z] --> token set from env [2021-04-30T23:02:03.355Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-30T23:02:03.355Z] ==> Running gcov in . (disable via -X gcov) [2021-04-30T23:02:03.355Z] ==> Python coveragepy not found [2021-04-30T23:02:03.355Z] ==> Searching for coverage reports in: [2021-04-30T23:02:03.355Z] + . [2021-04-30T23:02:03.355Z] -> Found 1 reports [2021-04-30T23:02:03.355Z] ==> Detecting git/mercurial file structure [2021-04-30T23:02:03.355Z] ==> Reading reports [2021-04-30T23:02:03.355Z] + ./coverage.out bytes=8513 [2021-04-30T23:02:03.355Z] ==> Appending adjustments [2021-04-30T23:02:03.355Z] https://docs.codecov.io/docs/fixing-reports [2021-04-30T23:02:03.621Z] + Found adjustments [2021-04-30T23:02:03.621Z] ==> Gzipping contents [2021-04-30T23:02:03.621Z] 4.0K /tmp/codecov.uzapFZ.gz [2021-04-30T23:02:03.621Z] ==> Uploading reports [2021-04-30T23:02:03.621Z] url: https://codecov.io [2021-04-30T23:02:03.621Z] query: branch=master&commit=b2078d70396c9de247bd59d3b559c7f9e74995c9&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-30T23:02:03.621Z] -> Pinging Codecov [2021-04-30T23:02:03.621Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=b2078d70396c9de247bd59d3b559c7f9e74995c9&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-30T23:02:04.203Z] -> Uploading to [2021-04-30T23:02:04.203Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-30/4E5D53B4F1F92C436F7061BF334D961C/b2078d70396c9de247bd59d3b559c7f9e74995c9/14ff2c00-b255-45ce-b29e-4cc730db696a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210430%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210430T230203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=850639ced4def4bc3f65ccaf5c5494106e2635b6db44dfa785a9cab476cbf55c [2021-04-30T23:02:04.203Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-30T23:02:04.203Z] Dload Upload Total Spent Left Speed [2021-04-30T23:02:04.466Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3915 --:--:-- --:--:-- --:--:-- 3919 [2021-04-30T23:02:04.466Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b2078d70396c9de247bd59d3b559c7f9e74995c9 [Pipeline] } [2021-04-30T23:02:04.476Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-30T23:02:05.092Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-30T23:02:05.119Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:02:05.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-30T23:02:05.446Z] [2021-04-30T23:02:05.446Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:02:05.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-30T23:02:05.774Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-30T23:02:05.774Z] 188c0c94c7c5: Pulling fs layer [2021-04-30T23:02:05.774Z] 0ef7d3d256c8: Pulling fs layer [2021-04-30T23:02:05.774Z] de9db76c5a1d: Pulling fs layer [2021-04-30T23:02:05.774Z] 0eba1c9be4d2: Pulling fs layer [2021-04-30T23:02:05.774Z] 0d57e429df01: Pulling fs layer [2021-04-30T23:02:05.774Z] 4e4be7b47b0d: Pulling fs layer [2021-04-30T23:02:05.774Z] e1f770b5df2f: Pulling fs layer [2021-04-30T23:02:05.774Z] 85a0685a4137: Pulling fs layer [2021-04-30T23:02:05.774Z] 0eba1c9be4d2: Waiting [2021-04-30T23:02:05.774Z] 0d57e429df01: Waiting [2021-04-30T23:02:05.774Z] 4e4be7b47b0d: Waiting [2021-04-30T23:02:05.774Z] e1f770b5df2f: Waiting [2021-04-30T23:02:05.774Z] 85a0685a4137: Waiting [2021-04-30T23:02:05.774Z] de9db76c5a1d: Verifying Checksum [2021-04-30T23:02:05.774Z] de9db76c5a1d: Download complete [2021-04-30T23:02:05.775Z] 0ef7d3d256c8: Verifying Checksum [2021-04-30T23:02:05.775Z] 0ef7d3d256c8: Download complete [2021-04-30T23:02:06.049Z] 0d57e429df01: Verifying Checksum [2021-04-30T23:02:06.049Z] 0d57e429df01: Download complete [2021-04-30T23:02:06.049Z] 4e4be7b47b0d: Verifying Checksum [2021-04-30T23:02:06.049Z] 4e4be7b47b0d: Download complete [2021-04-30T23:02:06.049Z] 188c0c94c7c5: Verifying Checksum [2021-04-30T23:02:06.312Z] 188c0c94c7c5: Pull complete [2021-04-30T23:02:06.577Z] 0ef7d3d256c8: Pull complete [2021-04-30T23:02:06.840Z] de9db76c5a1d: Pull complete [2021-04-30T23:02:07.424Z] e1f770b5df2f: Verifying Checksum [2021-04-30T23:02:07.424Z] e1f770b5df2f: Download complete [2021-04-30T23:02:09.697Z] 0eba1c9be4d2: Verifying Checksum [2021-04-30T23:02:09.697Z] 0eba1c9be4d2: Download complete [2021-04-30T23:02:09.697Z] 85a0685a4137: Verifying Checksum [2021-04-30T23:02:09.697Z] 85a0685a4137: Download complete [2021-04-30T23:02:16.316Z] 0eba1c9be4d2: Pull complete [2021-04-30T23:02:16.316Z] 0d57e429df01: Pull complete [2021-04-30T23:02:16.316Z] 4e4be7b47b0d: Pull complete [2021-04-30T23:02:17.714Z] e1f770b5df2f: Pull complete [2021-04-30T23:02:25.922Z] 85a0685a4137: Pull complete [2021-04-30T23:02:25.922Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-30T23:02:25.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-30T23:02:25.922Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-30T23:02:26.127Z] prd-centos7-docker-4c-2g-2538 does not seem to be running inside a container [2021-04-30T23:02:26.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-30T23:02:27.210Z] $ docker top e1739917bcb1cf56e8d5babce45831b62699d0c7fdef05ac06c81ab5c0f828e0 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-30T23:02:27.401Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-30T23:02:27.703Z] + set -o pipefail [2021-04-30T23:02:27.704Z] + snyk monitor '--org=edgex-jenkins' [2021-04-30T23:02:37.755Z] [2021-04-30T23:02:37.755Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-04-30T23:02:37.755Z] [2021-04-30T23:02:37.755Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/d745b436-4a41-447f-aa4e-49ad5bb6d956 [2021-04-30T23:02:37.755Z] [2021-04-30T23:02:37.755Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-30T23:02:37.755Z] [2021-04-30T23:02:37.755Z] [Pipeline] } [2021-04-30T23:02:37.772Z] $ docker stop --time=1 e1739917bcb1cf56e8d5babce45831b62699d0c7fdef05ac06c81ab5c0f828e0 [2021-04-30T23:02:40.131Z] $ docker rm -f e1739917bcb1cf56e8d5babce45831b62699d0c7fdef05ac06c81ab5c0f828e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-30T23:02:41.352Z] + git log --format=format:%s -1 b2078d70396c9de247bd59d3b559c7f9e74995c9 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:02:41.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T23:02:41.668Z] . [Pipeline] withDockerContainer [2021-04-30T23:02:41.784Z] prd-centos7-docker-4c-2g-2538 does not seem to be running inside a container [2021-04-30T23:02:41.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T23:02:42.746Z] $ docker top ce361b0b3e2f2a108b0a0346e4402bdc9374e092ea30691b1699d8bee11a2b69 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T23:02:42.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T23:02:42.965Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T23:02:43.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T23:02:43.213Z] $ docker exec ce361b0b3e2f2a108b0a0346e4402bdc9374e092ea30691b1699d8bee11a2b69 ssh-agent [2021-04-30T23:02:43.395Z] SSH_AUTH_SOCK=/tmp/ssh-AaH5GycOdzOJ/agent.12 [2021-04-30T23:02:43.395Z] SSH_AGENT_PID=17 [2021-04-30T23:02:43.403Z] Running ssh-add (command line suppressed) [2021-04-30T23:02:43.555Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4336250694364506344.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4336250694364506344.key) [2021-04-30T23:02:43.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T23:02:43.939Z] + git semver tag [2021-04-30T23:02:43.939Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T23:02:43.939Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-04-30T23:02:43.939Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-04-30T23:02:43.939Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T23:02:43.939Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T23:02:43.939Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T23:02:43.939Z] # $SEMVER_BRANCH = master [2021-04-30T23:02:43.939Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-04-30T23:02:43.939Z] # b2078d70396c9de247bd59d3b559c7f9e74995c9 HEAD [2021-04-30T23:02:43.939Z] # -> Force: false [2021-04-30T23:02:43.939Z] # 44ba0a0f6f3b6bd012fe194a9858a7174cadeae6 refs/tags/v1.2.2-dev.5 [Pipeline] } [2021-04-30T23:02:43.953Z] $ docker exec --env ******** --env ******** ce361b0b3e2f2a108b0a0346e4402bdc9374e092ea30691b1699d8bee11a2b69 ssh-agent -k [2021-04-30T23:02:44.128Z] unset SSH_AUTH_SOCK; [2021-04-30T23:02:44.128Z] unset SSH_AGENT_PID; [2021-04-30T23:02:44.128Z] echo Agent pid 17 killed; [2021-04-30T23:02:44.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T23:02:44.523Z] + git semver [Pipeline] } [2021-04-30T23:02:44.542Z] $ docker stop --time=1 ce361b0b3e2f2a108b0a0346e4402bdc9374e092ea30691b1699d8bee11a2b69 [2021-04-30T23:02:45.912Z] $ docker rm -f ce361b0b3e2f2a108b0a0346e4402bdc9374e092ea30691b1699d8bee11a2b69 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:02:46.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-30T23:02:46.447Z] [2021-04-30T23:02:46.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:02:46.766Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-30T23:02:46.766Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-30T23:02:46.766Z] ab5ef0e58194: Pulling fs layer [2021-04-30T23:02:46.766Z] 9712f1f96733: Pulling fs layer [2021-04-30T23:02:46.766Z] 63f879dbbcfc: Pulling fs layer [2021-04-30T23:02:46.766Z] 0d9ebad4ef96: Pulling fs layer [2021-04-30T23:02:46.767Z] e9a5061849ea: Pulling fs layer [2021-04-30T23:02:46.767Z] d747dcd14b5f: Pulling fs layer [2021-04-30T23:02:46.767Z] 2de7ff778b66: Pulling fs layer [2021-04-30T23:02:46.767Z] e9a5061849ea: Waiting [2021-04-30T23:02:46.767Z] d747dcd14b5f: Waiting [2021-04-30T23:02:46.767Z] 0d9ebad4ef96: Waiting [2021-04-30T23:02:46.767Z] 2de7ff778b66: Waiting [2021-04-30T23:02:46.767Z] 9712f1f96733: Download complete [2021-04-30T23:02:48.723Z] 63f879dbbcfc: Verifying Checksum [2021-04-30T23:02:48.723Z] 63f879dbbcfc: Download complete [2021-04-30T23:02:48.723Z] e9a5061849ea: Verifying Checksum [2021-04-30T23:02:48.723Z] e9a5061849ea: Download complete [2021-04-30T23:02:48.723Z] d747dcd14b5f: Verifying Checksum [2021-04-30T23:02:48.723Z] d747dcd14b5f: Download complete [2021-04-30T23:02:49.316Z] 2de7ff778b66: Verifying Checksum [2021-04-30T23:02:49.316Z] 2de7ff778b66: Download complete [2021-04-30T23:02:49.316Z] 0d9ebad4ef96: Verifying Checksum [2021-04-30T23:02:49.316Z] 0d9ebad4ef96: Download complete [2021-04-30T23:02:49.579Z] ab5ef0e58194: Download complete [2021-04-30T23:02:54.896Z] ab5ef0e58194: Pull complete [2021-04-30T23:02:54.896Z] 9712f1f96733: Pull complete [2021-04-30T23:02:58.220Z] 63f879dbbcfc: Pull complete [2021-04-30T23:03:04.864Z] 0d9ebad4ef96: Pull complete [2021-04-30T23:03:08.196Z] e9a5061849ea: Pull complete [2021-04-30T23:03:08.460Z] d747dcd14b5f: Pull complete [2021-04-30T23:03:10.401Z] 2de7ff778b66: Pull complete [2021-04-30T23:03:10.401Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-30T23:03:10.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-30T23:03:10.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-30T23:03:10.620Z] prd-centos7-docker-4c-2g-2538 does not seem to be running inside a container [2021-04-30T23:03:10.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-30T23:03:13.552Z] $ docker top d28af2eb44804b9efa13b5f75e881d8d1073b30ac1e7ed19995f55089474d9b7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-30T23:03:13.693Z] provisioning config files... [2021-04-30T23:03:13.706Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config225528027520651086tmp [2021-04-30T23:03:13.727Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4012073726638128578tmp [2021-04-30T23:03:13.743Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8648843273909598459tmp [Pipeline] { [Pipeline] echo [2021-04-30T23:03:13.768Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:03:14.075Z] ---> sigul-configuration.sh [2021-04-30T23:03:14.075Z] gpg: directory `/root/.gnupg' created [2021-04-30T23:03:14.075Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-30T23:03:14.075Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-30T23:03:14.075Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-30T23:03:14.075Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-30T23:03:14.075Z] gpg: CAST5 encrypted data [2021-04-30T23:03:14.339Z] gpg: encrypted with 1 passphrase [2021-04-30T23:03:14.339Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-30T23:03:14.643Z] + mkdir /home/jenkins [2021-04-30T23:03:14.643Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-30T23:03:14.945Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-04-30T23:03:14.957Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:03:15.258Z] ---> sigul-install.sh [2021-04-30T23:03:21.864Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-30T23:03:22.172Z] + git tag --list [2021-04-30T23:03:22.172Z] v1.0.0 [2021-04-30T23:03:22.172Z] v1.1.0 [2021-04-30T23:03:22.172Z] v1.1.1 [2021-04-30T23:03:22.172Z] v1.1.2 [2021-04-30T23:03:22.172Z] v1.2.0 [2021-04-30T23:03:22.172Z] v1.2.1 [2021-04-30T23:03:22.172Z] v1.2.1-dev.1 [2021-04-30T23:03:22.172Z] v1.2.1-dev.2 [2021-04-30T23:03:22.172Z] v1.2.1-dev.3 [2021-04-30T23:03:22.172Z] v1.2.1-dev.4 [2021-04-30T23:03:22.172Z] v1.2.2-dev.1 [2021-04-30T23:03:22.172Z] v1.2.2-dev.2 [2021-04-30T23:03:22.172Z] v1.2.2-dev.3 [2021-04-30T23:03:22.172Z] v1.2.2-dev.4 [2021-04-30T23:03:22.172Z] v1.2.2-dev.5 [Pipeline] sh [2021-04-30T23:03:22.475Z] + lftools sign git-tag v1.2.2-dev.5 [2021-04-30T23:03:23.869Z] Signing Git tag with Sigul... [2021-04-30T23:03:23.869Z] Signing v1.2.2-dev.5 [Pipeline] echo [2021-04-30T23:03:24.829Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:03:25.135Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-30T23:03:25.182Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-30T23:03:25.225Z] $ docker stop --time=1 d28af2eb44804b9efa13b5f75e881d8d1073b30ac1e7ed19995f55089474d9b7 [2021-04-30T23:03:26.807Z] $ docker rm -f d28af2eb44804b9efa13b5f75e881d8d1073b30ac1e7ed19995f55089474d9b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:03:27.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T23:03:27.438Z] . [Pipeline] withDockerContainer [2021-04-30T23:03:27.576Z] prd-centos7-docker-4c-2g-2538 does not seem to be running inside a container [2021-04-30T23:03:27.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T23:03:28.415Z] $ docker top 5952a76e264fa1c22ffe431417723f3c82ada543667474860b5bb92b7368efdd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T23:03:28.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T23:03:28.599Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T23:03:28.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T23:03:28.830Z] $ docker exec 5952a76e264fa1c22ffe431417723f3c82ada543667474860b5bb92b7368efdd ssh-agent [2021-04-30T23:03:29.026Z] SSH_AUTH_SOCK=/tmp/ssh-exsgfRrUT6Tj/agent.12 [2021-04-30T23:03:29.027Z] SSH_AGENT_PID=17 [2021-04-30T23:03:29.035Z] Running ssh-add (command line suppressed) [2021-04-30T23:03:29.168Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3397987542832906347.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3397987542832906347.key) [2021-04-30T23:03:29.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T23:03:29.537Z] + git semver bump pre [2021-04-30T23:03:29.538Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T23:03:29.538Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-04-30T23:03:29.538Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-04-30T23:03:29.538Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T23:03:29.538Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T23:03:29.538Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T23:03:29.538Z] # $SEMVER_BRANCH = master [2021-04-30T23:03:29.538Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-04-30T23:03:29.538Z] 1.2.2-dev.6 [Pipeline] } [2021-04-30T23:03:29.552Z] $ docker exec --env ******** --env ******** 5952a76e264fa1c22ffe431417723f3c82ada543667474860b5bb92b7368efdd ssh-agent -k [2021-04-30T23:03:29.697Z] unset SSH_AUTH_SOCK; [2021-04-30T23:03:29.698Z] unset SSH_AGENT_PID; [2021-04-30T23:03:29.698Z] echo Agent pid 17 killed; [2021-04-30T23:03:29.757Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T23:03:30.102Z] + git semver [Pipeline] } [2021-04-30T23:03:30.122Z] $ docker stop --time=1 5952a76e264fa1c22ffe431417723f3c82ada543667474860b5bb92b7368efdd [2021-04-30T23:03:31.542Z] $ docker rm -f 5952a76e264fa1c22ffe431417723f3c82ada543667474860b5bb92b7368efdd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:03:31.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T23:03:31.980Z] . [Pipeline] withDockerContainer [2021-04-30T23:03:32.087Z] prd-centos7-docker-4c-2g-2538 does not seem to be running inside a container [2021-04-30T23:03:32.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T23:03:32.769Z] $ docker top 02085fcfa3252e9f95a0167892eb1460e3badf248f3683c3f5a39d75bb8bc684 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T23:03:32.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T23:03:32.928Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T23:03:33.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T23:03:33.142Z] $ docker exec 02085fcfa3252e9f95a0167892eb1460e3badf248f3683c3f5a39d75bb8bc684 ssh-agent [2021-04-30T23:03:33.335Z] SSH_AUTH_SOCK=/tmp/ssh-c5QbdTjZz5bX/agent.11 [2021-04-30T23:03:33.335Z] SSH_AGENT_PID=16 [2021-04-30T23:03:33.342Z] Running ssh-add (command line suppressed) [2021-04-30T23:03:33.476Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1500385036978531431.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1500385036978531431.key) [2021-04-30T23:03:33.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T23:03:33.842Z] + git semver push [2021-04-30T23:03:33.842Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T23:03:33.842Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-04-30T23:03:33.842Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-04-30T23:03:33.842Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T23:03:33.842Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T23:03:33.842Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T23:03:33.842Z] # $SEMVER_BRANCH = master [2021-04-30T23:03:33.842Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-04-30T23:03:38.084Z] $ docker exec --env ******** --env ******** 02085fcfa3252e9f95a0167892eb1460e3badf248f3683c3f5a39d75bb8bc684 ssh-agent -k [2021-04-30T23:03:38.212Z] unset SSH_AUTH_SOCK; [2021-04-30T23:03:38.214Z] unset SSH_AGENT_PID; [2021-04-30T23:03:38.214Z] echo Agent pid 16 killed; [2021-04-30T23:03:38.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T23:03:38.610Z] + git semver [Pipeline] } [2021-04-30T23:03:38.630Z] $ docker stop --time=1 02085fcfa3252e9f95a0167892eb1460e3badf248f3683c3f5a39d75bb8bc684 [2021-04-30T23:03:40.011Z] $ docker rm -f 02085fcfa3252e9f95a0167892eb1460e3badf248f3683c3f5a39d75bb8bc684 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-04-30T23:03:40.773Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:03:41.664Z] ---> package-listing.sh [2021-04-30T23:03:41.664Z] ++ facter osfamily [2021-04-30T23:03:41.664Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-30T23:03:41.664Z] + OS_FAMILY=redhat [2021-04-30T23:03:41.664Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-04-30T23:03:41.664Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-30T23:03:41.664Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-30T23:03:41.664Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-30T23:03:41.664Z] + PACKAGES=/tmp/packages_start.txt [2021-04-30T23:03:41.664Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-04-30T23:03:41.664Z] + PACKAGES=/tmp/packages_end.txt [2021-04-30T23:03:41.664Z] + case "${OS_FAMILY}" in [2021-04-30T23:03:41.664Z] + rpm -qa [2021-04-30T23:03:41.664Z] + sort [2021-04-30T23:03:46.989Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-30T23:03:46.989Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-30T23:03:46.989Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-30T23:03:46.989Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-04-30T23:03:46.989Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-04-30T23:03:46.989Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo [2021-04-30T23:03:47.003Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-30T23:03:47.308Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:03:47.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T23:03:47.621Z] [2021-04-30T23:03:47.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-30T23:03:47.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T23:03:47.940Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-30T23:03:47.940Z] df20fa9351a1: Pulling fs layer [2021-04-30T23:03:47.940Z] 36b3adc4ff6f: Pulling fs layer [2021-04-30T23:03:47.940Z] 8ad3a11d3b57: Pulling fs layer [2021-04-30T23:03:47.940Z] 46f8f816bc3b: Pulling fs layer [2021-04-30T23:03:47.940Z] 93b61091891f: Pulling fs layer [2021-04-30T23:03:47.940Z] 93b9cdb0e59b: Pulling fs layer [2021-04-30T23:03:47.940Z] 5e14af77c1be: Pulling fs layer [2021-04-30T23:03:47.940Z] 01666e4c0597: Pulling fs layer [2021-04-30T23:03:47.940Z] aa168da1d23b: Pulling fs layer [2021-04-30T23:03:47.940Z] 5e14af77c1be: Waiting [2021-04-30T23:03:47.940Z] 46f8f816bc3b: Waiting [2021-04-30T23:03:47.940Z] 93b9cdb0e59b: Waiting [2021-04-30T23:03:47.940Z] 93b61091891f: Waiting [2021-04-30T23:03:47.940Z] aa168da1d23b: Waiting [2021-04-30T23:03:47.940Z] 01666e4c0597: Waiting [2021-04-30T23:03:47.940Z] 36b3adc4ff6f: Download complete [2021-04-30T23:03:47.940Z] 46f8f816bc3b: Verifying Checksum [2021-04-30T23:03:47.940Z] 46f8f816bc3b: Download complete [2021-04-30T23:03:48.204Z] df20fa9351a1: Verifying Checksum [2021-04-30T23:03:48.204Z] df20fa9351a1: Download complete [2021-04-30T23:03:48.204Z] 93b9cdb0e59b: Verifying Checksum [2021-04-30T23:03:48.204Z] 93b9cdb0e59b: Download complete [2021-04-30T23:03:48.204Z] 5e14af77c1be: Download complete [2021-04-30T23:03:48.204Z] 93b61091891f: Verifying Checksum [2021-04-30T23:03:48.204Z] 93b61091891f: Download complete [2021-04-30T23:03:48.204Z] 01666e4c0597: Verifying Checksum [2021-04-30T23:03:48.204Z] 01666e4c0597: Download complete [2021-04-30T23:03:48.204Z] 8ad3a11d3b57: Verifying Checksum [2021-04-30T23:03:48.204Z] 8ad3a11d3b57: Download complete [2021-04-30T23:03:48.468Z] df20fa9351a1: Pull complete [2021-04-30T23:03:48.751Z] 36b3adc4ff6f: Pull complete [2021-04-30T23:03:50.161Z] 8ad3a11d3b57: Pull complete [2021-04-30T23:03:50.161Z] 46f8f816bc3b: Pull complete [2021-04-30T23:03:50.424Z] aa168da1d23b: Download complete [2021-04-30T23:03:51.001Z] 93b61091891f: Pull complete [2021-04-30T23:03:51.264Z] 93b9cdb0e59b: Pull complete [2021-04-30T23:03:51.264Z] 5e14af77c1be: Pull complete [2021-04-30T23:03:51.264Z] 01666e4c0597: Pull complete [2021-04-30T23:04:01.310Z] aa168da1d23b: Pull complete [2021-04-30T23:04:01.310Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-30T23:04:01.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T23:04:01.310Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-30T23:04:01.487Z] prd-centos7-docker-4c-2g-2538 does not seem to be running inside a container [2021-04-30T23:04:01.549Z] $ 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_master/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_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-30T23:04:04.283Z] $ docker top 07559df81fd9b3dd30bf4899c8cdbcd8d9b5cc2ec3f35c31de44effab1c027d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T23:04:04.774Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-30T23:04:05.075Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-30T23:04:05.399Z] + ls /var/log/sa-host [2021-04-30T23:04:05.399Z] + sadf -c /var/log/sa-host/sa23 [2021-04-30T23:04:05.399Z] file_magic: OK [2021-04-30T23:04:05.399Z] HZ: Using current value: 100 [2021-04-30T23:04:05.399Z] file_header: OK [2021-04-30T23:04:05.399Z] 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-04-30T23:04:05.399Z] Statistics: [2021-04-30T23:04:05.399Z] Hnuu...uuuununununu... [2021-04-30T23:04:05.399Z] File successfully converted to sysstat format version 12.2.1 [2021-04-30T23:04:05.399Z] + sadf -c /var/log/sa-host/sa30 [2021-04-30T23:04:05.399Z] file_magic: OK [2021-04-30T23:04:05.399Z] HZ: Using current value: 100 [2021-04-30T23:04:05.399Z] file_header: OK [2021-04-30T23:04:05.399Z] 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-04-30T23:04:05.399Z] Statistics: [2021-04-30T23:04:05.399Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-30T23:04:05.399Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-30T23:04:05.599Z] provisioning config files... [2021-04-30T23:04:05.623Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1088365999193607074tmp [Pipeline] { [Pipeline] echo [2021-04-30T23:04:05.667Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:04:05.978Z] ---> create-netrc.sh [Pipeline] } [2021-04-30T23:04:05.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-30T23:04:06.017Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:04:06.323Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-30T23:04:06.336Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:04:06.636Z] ---> sudo-logs.sh [2021-04-30T23:04:06.637Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-30T23:04:06.665Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:04:06.962Z] ---> job-cost.sh [2021-04-30T23:04:06.962Z] lf-activate-venv: SKIPPING [2021-04-30T23:04:06.962Z] DEBUG: total: 0.20999999344348907 [2021-04-30T23:04:06.962Z] INFO: Retrieving Stack Cost... [2021-04-30T23:04:08.895Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-30T23:04:09.475Z] INFO: Archiving Costs [Pipeline] echo [2021-04-30T23:04:09.492Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T23:04:09.803Z] ---> logs-deploy.sh [2021-04-30T23:04:09.803Z] lf-activate-venv: SKIPPING [2021-04-30T23:04:09.803Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/37 [2021-04-30T23:04:09.803Z] INFO: archiving workspace using pattern(s): [2021-04-30T23:04:11.728Z] Archives upload complete. [2021-04-30T23:04:11.728Z] INFO: archiving logs to Nexus