Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7785bfdac8204e7db57f1c60391832de77af91bc 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 ‘prd-centos7-docker-4c-2g-2522’ is offline Running on prd-centos7-docker-4c-2g-2525 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 7785bfdac8204e7db57f1c60391832de77af91bc (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 7785bfdac8204e7db57f1c60391832de77af91bc # timeout=10 Commit message: "Merge pull request #81 from lenny-intel/SecretStoreType" > git rev-list --no-walk 2bfdbb9be6a64d461ffb65b0ff1f908881de038e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-30T21:47:44.019Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-30T21:47:44.128Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-30T21:47:44.157Z] ========================================================= [2021-04-30T21:47:44.158Z] EdgeX Global Pipelines Version Info [2021-04-30T21:47:44.158Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:47:47.729Z] ------------------- [2021-04-30T21:47:47.729Z] stable info: [2021-04-30T21:47:47.729Z] ------------------- [2021-04-30T21:47:47.729Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-30T21:47:47.729Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-04-30T21:47:47.729Z] Message: update stable to v1.0.191 [2021-04-30T21:47:48.734Z] ------------------- [2021-04-30T21:47:48.734Z] experimental info: [2021-04-30T21:47:48.734Z] ------------------- [2021-04-30T21:47:48.734Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-30T21:47:48.734Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-04-30T21:47:48.734Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-30T21:47:48.896Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-04-30T21:47:48.922Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-04-30T21:47:48.946Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-30T21:47:48.970Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-30T21:47:48.995Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-30T21:47:49.020Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-04-30T21:47:49.044Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-30T21:47:49.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-04-30T21:47:49.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-30T21:47:49.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-30T21:47:49.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-30T21:47:49.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-04-30T21:47:49.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-30T21:47:49.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-30T21:47:49.236Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-30T21:47:49.261Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-30T21:47:49.287Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-30T21:47:49.311Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-30T21:47:49.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-30T21:47:49.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-30T21:47:49.383Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-30T21:47:49.408Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-30T21:47:49.434Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-30T21:47:49.459Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-30T21:47:49.482Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-30T21:47:49.506Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-30T21:47:49.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-30T21:47:49.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-30T21:47:49.599Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-30T21:47:49.623Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7785bfdac8204e7db57f1c60391832de77af91bc [Pipeline] echo [2021-04-30T21:47:49.647Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7785bfd [Pipeline] echo [2021-04-30T21:47:49.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T21:47:49.743Z] provisioning config files... [2021-04-30T21:47:49.800Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4033150446445970684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:47:50.215Z] ---> docker-login.sh [2021-04-30T21:47:50.215Z] nexus3.edgexfoundry.org:10001 [2021-04-30T21:47:50.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:47:51.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:47:51.106Z] Configure a credential helper to remove this warning. See [2021-04-30T21:47:51.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:47:51.106Z] [2021-04-30T21:47:51.106Z] Login Succeeded [2021-04-30T21:47:51.106Z] nexus3.edgexfoundry.org:10002 [2021-04-30T21:47:51.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:47:51.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:47:51.686Z] Configure a credential helper to remove this warning. See [2021-04-30T21:47:51.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:47:51.686Z] [2021-04-30T21:47:51.686Z] Login Succeeded [2021-04-30T21:47:51.686Z] nexus3.edgexfoundry.org:10003 [2021-04-30T21:47:51.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:47:51.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:47:51.990Z] Configure a credential helper to remove this warning. See [2021-04-30T21:47:51.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:47:51.990Z] [2021-04-30T21:47:51.990Z] Login Succeeded [2021-04-30T21:47:51.990Z] nexus3.edgexfoundry.org:10004 [2021-04-30T21:47:52.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:47:52.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:47:52.265Z] Configure a credential helper to remove this warning. See [2021-04-30T21:47:52.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:47:52.265Z] [2021-04-30T21:47:52.265Z] Login Succeeded [2021-04-30T21:47:52.265Z] docker.io [2021-04-30T21:47:52.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:47:53.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:47:53.236Z] Configure a credential helper to remove this warning. See [2021-04-30T21:47:53.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:47:53.236Z] [2021-04-30T21:47:53.236Z] Login Succeeded [2021-04-30T21:47:53.236Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T21:47:53.270Z] 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-30T21:47:53.856Z] + git log --format=format:%s -1 7785bfdac8204e7db57f1c60391832de77af91bc [Pipeline] echo [2021-04-30T21:47:54.087Z] GIT_COMMIT: 7785bfdac8204e7db57f1c60391832de77af91bc, Commit Message: Merge pull request #81 from lenny-intel/SecretStoreType [Pipeline] echo [2021-04-30T21:47:54.102Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:47:55.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T21:47:55.072Z] [2021-04-30T21:47:55.072Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:47:55.408Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T21:47:55.408Z] latest: Pulling from edgex-devops/git-semver [2021-04-30T21:47:55.408Z] 31603596830f: Pulling fs layer [2021-04-30T21:47:55.408Z] 54011a49482f: Pulling fs layer [2021-04-30T21:47:55.408Z] a6820b24f6d8: Pulling fs layer [2021-04-30T21:47:55.408Z] f581987b2513: Pulling fs layer [2021-04-30T21:47:55.408Z] f581987b2513: Waiting [2021-04-30T21:47:55.408Z] 54011a49482f: Download complete [2021-04-30T21:47:55.702Z] 31603596830f: Verifying Checksum [2021-04-30T21:47:55.702Z] 31603596830f: Download complete [2021-04-30T21:47:56.018Z] f581987b2513: Verifying Checksum [2021-04-30T21:47:56.018Z] f581987b2513: Download complete [2021-04-30T21:47:56.317Z] a6820b24f6d8: Verifying Checksum [2021-04-30T21:47:56.317Z] a6820b24f6d8: Download complete [2021-04-30T21:47:56.970Z] 31603596830f: Pull complete [2021-04-30T21:47:57.247Z] 54011a49482f: Pull complete [2021-04-30T21:47:59.251Z] a6820b24f6d8: Pull complete [2021-04-30T21:47:59.251Z] f581987b2513: Pull complete [2021-04-30T21:47:59.251Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-04-30T21:47:59.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T21:47:59.251Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-30T21:47:59.450Z] prd-centos7-docker-4c-2g-2525 does not seem to be running inside a container [2021-04-30T21:47:59.584Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T21:48:02.517Z] $ docker top 7101a07a4470ac5b0bc34b88446f7e7c378776810aa7949813094f16c889f593 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T21:48:02.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T21:48:02.744Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T21:48:03.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T21:48:03.157Z] $ docker exec 7101a07a4470ac5b0bc34b88446f7e7c378776810aa7949813094f16c889f593 ssh-agent [2021-04-30T21:48:03.639Z] SSH_AUTH_SOCK=/tmp/ssh-am1oxE2d6IrQ/agent.12 [2021-04-30T21:48:03.639Z] SSH_AGENT_PID=18 [2021-04-30T21:48:03.655Z] Running ssh-add (command line suppressed) [2021-04-30T21:48:04.115Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_943054038867963211.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_943054038867963211.key) [2021-04-30T21:48:04.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T21:48:04.587Z] + git tag --points-at HEAD [Pipeline] } [2021-04-30T21:48:04.611Z] $ docker exec --env ******** --env ******** 7101a07a4470ac5b0bc34b88446f7e7c378776810aa7949813094f16c889f593 ssh-agent -k [2021-04-30T21:48:04.793Z] unset SSH_AUTH_SOCK; [2021-04-30T21:48:04.794Z] unset SSH_AGENT_PID; [2021-04-30T21:48:04.794Z] echo Agent pid 18 killed; [2021-04-30T21:48:04.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-30T21:48:04.929Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T21:48:04.929Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T21:48:05.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T21:48:05.194Z] $ docker exec 7101a07a4470ac5b0bc34b88446f7e7c378776810aa7949813094f16c889f593 ssh-agent [2021-04-30T21:48:05.462Z] SSH_AUTH_SOCK=/tmp/ssh-noMTHhRnbmXC/agent.48 [2021-04-30T21:48:05.462Z] SSH_AGENT_PID=53 [2021-04-30T21:48:05.473Z] Running ssh-add (command line suppressed) [2021-04-30T21:48:05.683Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1185281893913079900.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1185281893913079900.key) [2021-04-30T21:48:05.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T21:48:06.172Z] + git semver init [2021-04-30T21:48:06.172Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T21:48:06.172Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-04-30T21:48:06.172Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-04-30T21:48:06.172Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T21:48:06.172Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T21:48:06.172Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T21:48:06.172Z] # $SEMVER_BRANCH = master [2021-04-30T21:48:06.172Z] # $SEMVER_TEMP = /tmp/semver-518851264 [2021-04-30T21:48:06.172Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-04-30T21:48:08.229Z] # '/tmp/semver-518851264' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-04-30T21:48:08.229Z] # -> Force: false [2021-04-30T21:48:08.229Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-04-30T21:48:08.246Z] $ docker exec --env ******** --env ******** 7101a07a4470ac5b0bc34b88446f7e7c378776810aa7949813094f16c889f593 ssh-agent -k [2021-04-30T21:48:08.484Z] unset SSH_AUTH_SOCK; [2021-04-30T21:48:08.484Z] unset SSH_AGENT_PID; [2021-04-30T21:48:08.484Z] echo Agent pid 53 killed; [2021-04-30T21:48:08.699Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T21:48:09.378Z] + git semver [Pipeline] } [2021-04-30T21:48:09.402Z] $ docker stop --time=1 7101a07a4470ac5b0bc34b88446f7e7c378776810aa7949813094f16c889f593 [2021-04-30T21:48:11.182Z] $ docker rm -f 7101a07a4470ac5b0bc34b88446f7e7c378776810aa7949813094f16c889f593 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T21:48:11.820Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-30T21:48:12.442Z] Stashed 1 file(s) [Pipeline] echo [2021-04-30T21:48:12.445Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.4 [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-30T21:48:27.633Z] Still waiting to schedule task [2021-04-30T21:48:27.633Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2525’ [2021-04-30T21:48:27.636Z] Still waiting to schedule task [2021-04-30T21:48:27.636Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline [2021-04-30T21:50:17.654Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2526 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-04-30T21:50:17.675Z] Running in /w/workspace/device-rest-go/36 [Pipeline] { [Pipeline] checkout [2021-04-30T21:50:23.458Z] using credential edgex-jenkins-ssh [2021-04-30T21:50:23.477Z] Cloning the remote Git repository [2021-04-30T21:50:23.620Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T21:50:23.900Z] > git init /w/workspace/device-rest-go/36 # timeout=10 [2021-04-30T21:50:23.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T21:50:23.985Z] > git --version # timeout=10 [2021-04-30T21:50:24.007Z] > git --version # 'git version 2.17.1' [2021-04-30T21:50:24.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T21:50:24.105Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T21:50:26.247Z] Checking out Revision 7785bfdac8204e7db57f1c60391832de77af91bc (master) [2021-04-30T21:50:25.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T21:50:25.723Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T21:50:25.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T21:50:25.787Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T21:50:25.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T21:50:25.803Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-30T21:50:26.285Z] > git config core.sparsecheckout # timeout=10 [2021-04-30T21:50:26.301Z] > git checkout -f 7785bfdac8204e7db57f1c60391832de77af91bc # timeout=10 [2021-04-30T21:50:30.672Z] Commit message: "Merge pull request #81 from lenny-intel/SecretStoreType" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T21:50:32.156Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-30T21:50:32.561Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-30T21:50:32.897Z] + + true [2021-04-30T21:50:32.897Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T21:50:34.914Z] provisioning config files... [2021-04-30T21:50:34.955Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/36@tmp/config5252011828638238567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:50:35.340Z] ---> docker-login.sh [2021-04-30T21:50:35.340Z] nexus3.edgexfoundry.org:10001 [2021-04-30T21:50:36.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:36.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:36.599Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:36.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:36.599Z] [2021-04-30T21:50:36.599Z] Login Succeeded [2021-04-30T21:50:36.599Z] nexus3.edgexfoundry.org:10002 [2021-04-30T21:50:36.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:37.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:37.146Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:37.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:37.146Z] [2021-04-30T21:50:37.146Z] Login Succeeded [2021-04-30T21:50:37.146Z] nexus3.edgexfoundry.org:10003 [2021-04-30T21:50:37.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:37.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:37.419Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:37.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:37.419Z] [2021-04-30T21:50:37.419Z] Login Succeeded [2021-04-30T21:50:37.419Z] nexus3.edgexfoundry.org:10004 [2021-04-30T21:50:38.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:38.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:38.014Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:38.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:38.014Z] [2021-04-30T21:50:38.014Z] Login Succeeded [2021-04-30T21:50:38.014Z] docker.io [2021-04-30T21:50:38.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:38.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:38.889Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:38.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:38.889Z] [2021-04-30T21:50:38.889Z] Login Succeeded [2021-04-30T21:50:38.889Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T21:50:38.907Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-30T21:50:39.199Z] ========================================================= [2021-04-30T21:50:39.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-04-30T21:50:39.199Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:50:39.541Z] + 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-30T21:50:39.541Z] Sending build context to Docker daemon 93.18kB [2021-04-30T21:50:39.827Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T21:50:39.828Z] Step 2/10 : FROM ${BASE} [2021-04-30T21:50:39.828Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-30T21:50:39.828Z] 595b0fe564bb: Pulling fs layer [2021-04-30T21:50:39.828Z] 7186ed65a4f7: Pulling fs layer [2021-04-30T21:50:39.828Z] 316046926c0a: Pulling fs layer [2021-04-30T21:50:39.828Z] 4ebd0625c992: Pulling fs layer [2021-04-30T21:50:39.828Z] 207e8628e3a3: Pulling fs layer [2021-04-30T21:50:39.828Z] c791037a9be2: Pulling fs layer [2021-04-30T21:50:39.828Z] ffd874e62e21: Pulling fs layer [2021-04-30T21:50:39.828Z] 207e8628e3a3: Waiting [2021-04-30T21:50:39.828Z] c791037a9be2: Waiting [2021-04-30T21:50:39.828Z] ffd874e62e21: Waiting [2021-04-30T21:50:39.828Z] 4ebd0625c992: Waiting [2021-04-30T21:50:40.108Z] 316046926c0a: Verifying Checksum [2021-04-30T21:50:40.108Z] 316046926c0a: Download complete [2021-04-30T21:50:40.108Z] 7186ed65a4f7: Verifying Checksum [2021-04-30T21:50:40.108Z] 7186ed65a4f7: Download complete [2021-04-30T21:50:40.108Z] 207e8628e3a3: Verifying Checksum [2021-04-30T21:50:40.108Z] 207e8628e3a3: Download complete [2021-04-30T21:50:40.108Z] c791037a9be2: Download complete [2021-04-30T21:50:40.108Z] 595b0fe564bb: Download complete [2021-04-30T21:50:40.719Z] 595b0fe564bb: Pull complete [2021-04-30T21:50:41.331Z] 7186ed65a4f7: Pull complete [2021-04-30T21:50:41.605Z] 316046926c0a: Pull complete [2021-04-30T21:50:42.597Z] ffd874e62e21: Verifying Checksum [2021-04-30T21:50:42.597Z] ffd874e62e21: Download complete [2021-04-30T21:50:44.036Z] 4ebd0625c992: Verifying Checksum [2021-04-30T21:50:44.036Z] 4ebd0625c992: Download complete [2021-04-30T21:50:44.690Z] Running on prd-centos7-docker-4c-2g-2527 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-04-30T21:50:44.711Z] Running in /w/workspace/device-rest-go/36 [Pipeline] { [Pipeline] checkout [2021-04-30T21:50:47.263Z] using credential edgex-jenkins-ssh [2021-04-30T21:50:47.277Z] Cloning the remote Git repository [2021-04-30T21:50:47.221Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T21:50:47.289Z] > git init /w/workspace/device-rest-go/36 # timeout=10 [2021-04-30T21:50:47.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T21:50:47.355Z] > git --version # timeout=10 [2021-04-30T21:50:47.363Z] > git --version # 'git version 2.24.3' [2021-04-30T21:50:47.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T21:50:47.389Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T21:50:48.705Z] Checking out Revision 7785bfdac8204e7db57f1c60391832de77af91bc (master) [2021-04-30T21:50:48.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T21:50:48.277Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T21:50:48.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T21:50:48.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T21:50:48.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T21:50:48.308Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-30T21:50:48.714Z] > git config core.sparsecheckout # timeout=10 [2021-04-30T21:50:48.719Z] > git checkout -f 7785bfdac8204e7db57f1c60391832de77af91bc # timeout=10 [2021-04-30T21:50:52.322Z] Commit message: "Merge pull request #81 from lenny-intel/SecretStoreType" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T21:50:53.300Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-30T21:50:53.639Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-30T21:50:53.941Z] + sudo service docker restart [2021-04-30T21:50:53.941Z] + true [2021-04-30T21:50:53.941Z] Redirecting to /bin/systemctl restart docker.service [2021-04-30T21:50:54.189Z] 4ebd0625c992: Pull complete [2021-04-30T21:50:54.189Z] 207e8628e3a3: Pull complete [2021-04-30T21:50:54.460Z] c791037a9be2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T21:50:54.916Z] provisioning config files... [2021-04-30T21:50:54.944Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/36@tmp/config9042729257162669594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:50:55.261Z] ---> docker-login.sh [2021-04-30T21:50:55.261Z] nexus3.edgexfoundry.org:10001 [2021-04-30T21:50:55.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:55.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:55.524Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:55.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:55.524Z] [2021-04-30T21:50:55.524Z] Login Succeeded [2021-04-30T21:50:55.524Z] nexus3.edgexfoundry.org:10002 [2021-04-30T21:50:55.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:55.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:55.787Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:55.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:55.787Z] [2021-04-30T21:50:55.787Z] Login Succeeded [2021-04-30T21:50:55.787Z] nexus3.edgexfoundry.org:10003 [2021-04-30T21:50:55.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:55.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:55.787Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:55.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:55.787Z] [2021-04-30T21:50:55.787Z] Login Succeeded [2021-04-30T21:50:55.787Z] nexus3.edgexfoundry.org:10004 [2021-04-30T21:50:56.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:56.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:56.049Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:56.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:56.049Z] [2021-04-30T21:50:56.049Z] Login Succeeded [2021-04-30T21:50:56.049Z] docker.io [2021-04-30T21:50:56.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:50:56.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:50:56.310Z] Configure a credential helper to remove this warning. See [2021-04-30T21:50:56.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:50:56.310Z] [2021-04-30T21:50:56.310Z] Login Succeeded [2021-04-30T21:50:56.310Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T21:50:56.319Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-30T21:50:56.479Z] ========================================================= [2021-04-30T21:50:56.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-04-30T21:50:56.479Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:50:56.792Z] + 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-30T21:50:56.792Z] Sending build context to Docker daemon 93.18kB [2021-04-30T21:50:56.792Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T21:50:56.792Z] Step 2/10 : FROM ${BASE} [2021-04-30T21:50:56.792Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-30T21:50:56.792Z] 540db60ca938: Pulling fs layer [2021-04-30T21:50:56.792Z] adcc1eea9eea: Pulling fs layer [2021-04-30T21:50:56.792Z] 4c4ab2625f07: Pulling fs layer [2021-04-30T21:50:56.792Z] 0510c868ecb4: Pulling fs layer [2021-04-30T21:50:56.792Z] afea3b2eda06: Pulling fs layer [2021-04-30T21:50:56.792Z] 7809a108b3ef: Pulling fs layer [2021-04-30T21:50:56.792Z] f706445af74f: Pulling fs layer [2021-04-30T21:50:56.792Z] afea3b2eda06: Waiting [2021-04-30T21:50:56.792Z] 7809a108b3ef: Waiting [2021-04-30T21:50:56.792Z] f706445af74f: Waiting [2021-04-30T21:50:56.792Z] 0510c868ecb4: Waiting [2021-04-30T21:50:56.792Z] 4c4ab2625f07: Verifying Checksum [2021-04-30T21:50:56.792Z] 4c4ab2625f07: Download complete [2021-04-30T21:50:56.792Z] adcc1eea9eea: Download complete [2021-04-30T21:50:56.792Z] afea3b2eda06: Verifying Checksum [2021-04-30T21:50:56.792Z] afea3b2eda06: Download complete [2021-04-30T21:50:57.054Z] 540db60ca938: Verifying Checksum [2021-04-30T21:50:57.054Z] 7809a108b3ef: Verifying Checksum [2021-04-30T21:50:57.054Z] 7809a108b3ef: Download complete [2021-04-30T21:50:57.054Z] 540db60ca938: Pull complete [2021-04-30T21:50:57.325Z] adcc1eea9eea: Pull complete [2021-04-30T21:50:57.588Z] 4c4ab2625f07: Pull complete [2021-04-30T21:50:57.844Z] ffd874e62e21: Pull complete [2021-04-30T21:50:57.844Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-04-30T21:50:57.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-04-30T21:50:57.844Z] ---> cfc18b08335c [2021-04-30T21:50:57.844Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T21:50:58.534Z] f706445af74f: Verifying Checksum [2021-04-30T21:50:58.534Z] f706445af74f: Download complete [2021-04-30T21:50:59.107Z] 0510c868ecb4: Verifying Checksum [2021-04-30T21:50:59.107Z] 0510c868ecb4: Download complete [2021-04-30T21:51:00.453Z] ---> Running in 60ccf61ee40a [2021-04-30T21:51:00.726Z] Removing intermediate container 60ccf61ee40a [2021-04-30T21:51:00.726Z] ---> c5db39b9a43e [2021-04-30T21:51:00.726Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T21:51:01.001Z] ---> Running in 2a07524e4150 [2021-04-30T21:51:01.284Z] Removing intermediate container 2a07524e4150 [2021-04-30T21:51:01.284Z] ---> bd76d4519313 [2021-04-30T21:51:01.284Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T21:51:01.559Z] ---> Running in 3e6094c15f35 [2021-04-30T21:51:02.156Z] Removing intermediate container 3e6094c15f35 [2021-04-30T21:51:02.156Z] ---> 235c9a567110 [2021-04-30T21:51:02.156Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T21:51:02.156Z] ---> Running in 5e8014fd5ae9 [2021-04-30T21:51:04.433Z] 0510c868ecb4: Pull complete [2021-04-30T21:51:04.433Z] afea3b2eda06: Pull complete [2021-04-30T21:51:04.433Z] 7809a108b3ef: Pull complete [2021-04-30T21:51:04.788Z] Removing intermediate container 5e8014fd5ae9 [2021-04-30T21:51:04.788Z] ---> af326fbd5d0f [2021-04-30T21:51:04.788Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T21:51:04.788Z] ---> Running in 6e0af155f455 [2021-04-30T21:51:05.765Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-04-30T21:51:06.737Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-04-30T21:51:08.170Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-30T21:51:08.170Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-30T21:51:08.170Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-04-30T21:51:08.444Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-30T21:51:08.444Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-04-30T21:51:08.444Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-04-30T21:51:08.721Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-04-30T21:51:08.992Z] (8/9) Installing libzmq (4.3.3-r1) [2021-04-30T21:51:08.992Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-04-30T21:51:09.264Z] Executing busybox-1.32.1-r6.trigger [2021-04-30T21:51:09.264Z] OK: 144 MiB in 49 packages [2021-04-30T21:51:09.734Z] f706445af74f: Pull complete [2021-04-30T21:51:09.734Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-04-30T21:51:09.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-04-30T21:51:09.734Z] ---> b068be0155e3 [2021-04-30T21:51:09.735Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T21:51:10.306Z] ---> Running in 1ab228333aea [2021-04-30T21:51:10.567Z] Removing intermediate container 1ab228333aea [2021-04-30T21:51:10.567Z] ---> 81bd92d6a368 [2021-04-30T21:51:10.567Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T21:51:10.567Z] ---> Running in edab0cfafb9b [2021-04-30T21:51:10.697Z] Removing intermediate container 6e0af155f455 [2021-04-30T21:51:10.697Z] ---> 873428c569fc [2021-04-30T21:51:10.697Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-30T21:51:10.829Z] Removing intermediate container edab0cfafb9b [2021-04-30T21:51:10.829Z] ---> 536f00fa4914 [2021-04-30T21:51:10.829Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T21:51:10.829Z] ---> Running in e834c85c1dda [2021-04-30T21:51:10.970Z] ---> Running in 9a6b3bb86945 [2021-04-30T21:51:11.091Z] Removing intermediate container e834c85c1dda [2021-04-30T21:51:11.092Z] ---> 42ed1e8be354 [2021-04-30T21:51:11.092Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T21:51:11.092Z] ---> Running in 790fdff36888 [2021-04-30T21:51:11.242Z] Removing intermediate container 9a6b3bb86945 [2021-04-30T21:51:11.242Z] ---> 20477e2a0953 [2021-04-30T21:51:11.242Z] Step 9/10 : COPY . . [2021-04-30T21:51:12.041Z] Removing intermediate container 790fdff36888 [2021-04-30T21:51:12.041Z] ---> b0c7636dd9be [2021-04-30T21:51:12.041Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T21:51:12.041Z] ---> Running in 31916af55e7f [2021-04-30T21:51:12.227Z] ---> 86bd7cb1ae23 [2021-04-30T21:51:12.227Z] Step 10/10 : RUN go mod download [2021-04-30T21:51:12.227Z] ---> Running in 9fe6b961ee23 [2021-04-30T21:51:12.986Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-04-30T21:51:13.931Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-04-30T21:51:14.193Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-30T21:51:14.193Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-30T21:51:14.455Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-04-30T21:51:14.455Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-30T21:51:14.716Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-04-30T21:51:14.716Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-04-30T21:51:14.716Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-04-30T21:51:14.978Z] (8/9) Installing libzmq (4.3.3-r1) [2021-04-30T21:51:15.240Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-04-30T21:51:15.240Z] Executing busybox-1.32.1-r6.trigger [2021-04-30T21:51:15.240Z] OK: 154 MiB in 49 packages [2021-04-30T21:51:16.187Z] Removing intermediate container 31916af55e7f [2021-04-30T21:51:16.187Z] ---> 7c3e1d1c589d [2021-04-30T21:51:16.187Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-30T21:51:16.187Z] ---> Running in e41b81fb56c3 [2021-04-30T21:51:16.187Z] Removing intermediate container e41b81fb56c3 [2021-04-30T21:51:16.187Z] ---> 70dc584970d9 [2021-04-30T21:51:16.187Z] Step 9/10 : COPY . . [2021-04-30T21:51:16.451Z] ---> e943f03d07f4 [2021-04-30T21:51:16.451Z] Step 10/10 : RUN go mod download [2021-04-30T21:51:16.451Z] ---> Running in fb0449ebbec7 [2021-04-30T21:51:38.450Z] Removing intermediate container fb0449ebbec7 [2021-04-30T21:51:38.450Z] ---> 1b03f9775007 [2021-04-30T21:51:38.450Z] Successfully built 1b03f9775007 [2021-04-30T21:51:38.450Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:51:38.765Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-30T21:51:38.766Z] . [Pipeline] withDockerContainer [2021-04-30T21:51:38.873Z] prd-centos7-docker-4c-2g-2527 does not seem to be running inside a container [2021-04-30T21:51:38.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/36 -v /w/workspace/device-rest-go/36:/w/workspace/device-rest-go/36:rw,z -v /w/workspace/device-rest-go/36@tmp:/w/workspace/device-rest-go/36@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-x86_64 cat [2021-04-30T21:51:39.066Z] Removing intermediate container 9fe6b961ee23 [2021-04-30T21:51:39.067Z] ---> 1c877a6ee62f [2021-04-30T21:51:39.067Z] Successfully built 1c877a6ee62f [2021-04-30T21:51:39.067Z] Successfully tagged ci-base-image-arm64:latest [2021-04-30T21:51:39.525Z] $ docker top 79f1ec6d87dbe80da4ea56d8e4a29bad57d01d6f6903e804ac98334100c59bf0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:51:39.949Z] + go version [2021-04-30T21:51:39.949Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-04-30T21:51:39.964Z] $ docker stop --time=1 79f1ec6d87dbe80da4ea56d8e4a29bad57d01d6f6903e804ac98334100c59bf0 [2021-04-30T21:51:40.027Z] + docker inspect -f . ci-base-image-arm64 [2021-04-30T21:51:40.028Z] . [2021-04-30T21:51:41.296Z] $ docker rm -f 79f1ec6d87dbe80da4ea56d8e4a29bad57d01d6f6903e804ac98334100c59bf0 [Pipeline] // withDockerContainer [Pipeline] withDockerContainer [2021-04-30T21:51:41.601Z] prd-ubuntu18.04-docker-arm64-4c-16g-2526 does not seem to be running inside a container [2021-04-30T21:51:41.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/36 -v /w/workspace/device-rest-go/36:/w/workspace/device-rest-go/36:rw,z -v /w/workspace/device-rest-go/36@tmp:/w/workspace/device-rest-go/36@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-30T21:51:43.148Z] $ docker top 5aa946f9a636c62e2ebf0ebb3fe6cf381b411ca9aa8fe5f2f9d56c9917880350 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:51:43.813Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-30T21:51:43.813Z] . [Pipeline] withDockerContainer [2021-04-30T21:51:43.904Z] prd-centos7-docker-4c-2g-2527 does not seem to be running inside a container [2021-04-30T21:51:43.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/36 -v /w/workspace/device-rest-go/36:/w/workspace/device-rest-go/36:rw,z -v /w/workspace/device-rest-go/36@tmp:/w/workspace/device-rest-go/36@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-x86_64 cat [2021-04-30T21:51:44.039Z] + go version [2021-04-30T21:51:44.039Z] go version go1.16.3 linux/arm64 [2021-04-30T21:51:44.538Z] $ docker top 1e0fadb75799e8c9891f0cc7fa3f500d2af5aa777cd0a74b7c5a63fb72966f35 -eo pid,comm [Pipeline] { [Pipeline] } [2021-04-30T21:51:44.685Z] $ docker stop --time=1 5aa946f9a636c62e2ebf0ebb3fe6cf381b411ca9aa8fe5f2f9d56c9917880350 [2021-04-30T21:51:46.552Z] $ docker rm -f 5aa946f9a636c62e2ebf0ebb3fe6cf381b411ca9aa8fe5f2f9d56c9917880350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:51:47.074Z] + go mod tidy [2021-04-30T21:51:47.235Z] + docker inspect -f . ci-base-image-arm64 [2021-04-30T21:51:47.235Z] . [Pipeline] withDockerContainer [2021-04-30T21:51:47.472Z] prd-ubuntu18.04-docker-arm64-4c-16g-2526 does not seem to be running inside a container [2021-04-30T21:51:47.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/36 -v /w/workspace/device-rest-go/36:/w/workspace/device-rest-go/36:rw,z -v /w/workspace/device-rest-go/36@tmp:/w/workspace/device-rest-go/36@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-30T21:51:49.040Z] $ docker top f39905cc37b2be3b0754fbe6946889f26b99f8863b618e04e6310c71d5abcee9 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-04-30T21:51:49.611Z] + make test [2021-04-30T21:51:49.611Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-30T21:51:50.011Z] + go mod tidy [2021-04-30T21:51:50.255Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] sh [2021-04-30T21:51:51.290Z] + make test [2021-04-30T21:51:51.290Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-30T21:51:52.727Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-30T21:52:08.636Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-30T21:52:08.637Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 54.0% of statements [2021-04-30T21:52:08.637Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-30T21:52:18.703Z] gofmt -l . [2021-04-30T21:52:18.703Z] [ "`gofmt -l .`" = "" ] [2021-04-30T21:52:18.703Z] ./bin/test-go-mod-tidy.sh [2021-04-30T21:52:18.703Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-30T21:52:18.720Z] $ docker stop --time=1 1e0fadb75799e8c9891f0cc7fa3f500d2af5aa777cd0a74b7c5a63fb72966f35 [2021-04-30T21:52:20.444Z] $ docker rm -f 1e0fadb75799e8c9891f0cc7fa3f500d2af5aa777cd0a74b7c5a63fb72966f35 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T21:52:20.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-30T21:52:21.296Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-30T21:52:23.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-30T21:52:24.005Z] + ls -al . [2021-04-30T21:52:24.005Z] total 104 [2021-04-30T21:52:24.005Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 30 21:52 . [2021-04-30T21:52:24.005Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 30 21:50 .. [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 6792 Apr 30 21:50 Attribution.txt [2021-04-30T21:52:24.005Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 30 21:50 bin [2021-04-30T21:52:24.005Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 30 21:50 cmd [2021-04-30T21:52:24.005Z] -rw-r--r--. 1 jenkins jenkins 8513 Apr 30 21:52 coverage.out [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 1602 Apr 30 21:50 Dockerfile [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 1087 Apr 30 21:50 Dockerfile.build [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 151 Apr 30 21:50 .dockerignore [2021-04-30T21:52:24.005Z] drwxrwxr-x. 2 jenkins jenkins 76 Apr 30 21:50 driver [2021-04-30T21:52:24.005Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 30 21:50 .git [2021-04-30T21:52:24.005Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 30 21:50 .github [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 339 Apr 30 21:50 .gitignore [2021-04-30T21:52:24.005Z] -rw-r--r--. 1 jenkins jenkins 285 Apr 30 21:52 go.mod [2021-04-30T21:52:24.005Z] -rw-r--r--. 1 jenkins jenkins 21331 Apr 30 21:51 go.sum [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 680 Apr 30 21:50 Jenkinsfile [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 30 21:50 LICENSE [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 996 Apr 30 21:50 Makefile [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 7667 Apr 30 21:50 README.md [2021-04-30T21:52:24.005Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 30 21:50 snap [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 30 21:48 VERSION [2021-04-30T21:52:24.005Z] -rw-rw-r--. 1 jenkins jenkins 713 Apr 30 21:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:24.308Z] + 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=7785bfdac8204e7db57f1c60391832de77af91bc --label arch=amd64 --label version=1.2.2-dev.4 . [2021-04-30T21:52:24.308Z] Sending build context to Docker daemon 102.9kB [2021-04-30T21:52:24.308Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T21:52:24.308Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-30T21:52:24.308Z] ---> 1b03f9775007 [2021-04-30T21:52:24.308Z] Step 3/24 : ARG MAKE='make build' [2021-04-30T21:52:24.308Z] ---> Running in 6a2148a5341a [2021-04-30T21:52:24.568Z] Removing intermediate container 6a2148a5341a [2021-04-30T21:52:24.568Z] ---> c097349791ab [2021-04-30T21:52:24.568Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T21:52:24.568Z] ---> Running in 1dc757141f17 [2021-04-30T21:52:24.832Z] Removing intermediate container 1dc757141f17 [2021-04-30T21:52:24.832Z] ---> b1d5878f18c9 [2021-04-30T21:52:24.832Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T21:52:24.832Z] ---> Running in 892e8f88115a [2021-04-30T21:52:25.093Z] Removing intermediate container 892e8f88115a [2021-04-30T21:52:25.093Z] ---> c24659d3cad4 [2021-04-30T21:52:25.093Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T21:52:25.093Z] ---> Running in 6eb60b007042 [2021-04-30T21:52:26.039Z] Removing intermediate container 6eb60b007042 [2021-04-30T21:52:26.039Z] ---> 6c34fb319674 [2021-04-30T21:52:26.039Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T21:52:26.039Z] ---> Running in 381bff36dc98 [2021-04-30T21:52:26.612Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-04-30T21:52:27.183Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-04-30T21:52:27.762Z] OK: 154 MiB in 49 packages [2021-04-30T21:52:28.336Z] Removing intermediate container 381bff36dc98 [2021-04-30T21:52:28.336Z] ---> b1cba73eb8e4 [2021-04-30T21:52:28.336Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-30T21:52:28.336Z] ---> Running in b391df41f4fd [2021-04-30T21:52:28.602Z] Removing intermediate container b391df41f4fd [2021-04-30T21:52:28.602Z] ---> 01b1d0f590e8 [2021-04-30T21:52:28.602Z] Step 9/24 : COPY . . [2021-04-30T21:52:28.864Z] ---> 92d321844dc9 [2021-04-30T21:52:28.864Z] Step 10/24 : RUN make update [2021-04-30T21:52:28.864Z] ---> Running in 8e21703814ec [2021-04-30T21:52:29.436Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-30T21:52:30.011Z] Removing intermediate container 8e21703814ec [2021-04-30T21:52:30.011Z] ---> b9565560bbc3 [2021-04-30T21:52:30.011Z] Step 11/24 : RUN $MAKE [2021-04-30T21:52:30.011Z] ---> Running in 8d2b923584ad [2021-04-30T21:52:30.276Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.4" -o cmd/device-rest-go ./cmd [2021-04-30T21:52:45.354Z] Removing intermediate container 8d2b923584ad [2021-04-30T21:52:45.354Z] ---> c732ad308932 [2021-04-30T21:52:45.354Z] Step 12/24 : FROM alpine:3.12 [2021-04-30T21:52:45.354Z] 3.12: Pulling from library/alpine [2021-04-30T21:52:45.354Z] 339de151aab4: Pulling fs layer [2021-04-30T21:52:45.354Z] 339de151aab4: Verifying Checksum [2021-04-30T21:52:45.354Z] 339de151aab4: Download complete [2021-04-30T21:52:45.354Z] 339de151aab4: Pull complete [2021-04-30T21:52:45.354Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-30T21:52:45.354Z] Status: Downloaded newer image for alpine:3.12 [2021-04-30T21:52:45.354Z] ---> 13621d1b12d4 [2021-04-30T21:52:45.354Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T21:52:45.354Z] ---> Running in b64a50d16f99 [2021-04-30T21:52:45.354Z] Removing intermediate container b64a50d16f99 [2021-04-30T21:52:45.354Z] ---> 43f74e177817 [2021-04-30T21:52:45.354Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-30T21:52:45.354Z] ---> Running in 6a258247dd77 [2021-04-30T21:52:45.354Z] Removing intermediate container 6a258247dd77 [2021-04-30T21:52:45.354Z] ---> 958b15afa2db [2021-04-30T21:52:45.354Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-30T21:52:45.354Z] ---> Running in 0d4e1a5ca701 [2021-04-30T21:52:45.354Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-30T21:52:45.354Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-30T21:52:45.354Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-30T21:52:45.354Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-30T21:52:45.354Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-30T21:52:45.354Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-30T21:52:45.354Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-30T21:52:45.354Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-30T21:52:45.354Z] Executing busybox-1.31.1-r20.trigger [2021-04-30T21:52:45.354Z] OK: 8 MiB in 20 packages [2021-04-30T21:52:45.927Z] Removing intermediate container 0d4e1a5ca701 [2021-04-30T21:52:45.927Z] ---> 7c949de9d2ac [2021-04-30T21:52:45.927Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-30T21:52:46.500Z] ---> 49992899ed0b [2021-04-30T21:52:46.500Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-30T21:52:46.762Z] ---> 1c6ef415a794 [2021-04-30T21:52:46.762Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-30T21:52:47.023Z] ---> 73808ce441b1 [2021-04-30T21:52:47.023Z] Step 19/24 : EXPOSE 49986 [2021-04-30T21:52:47.023Z] ---> Running in a9eab3353dfe [2021-04-30T21:52:47.023Z] Removing intermediate container a9eab3353dfe [2021-04-30T21:52:47.023Z] ---> 5192995da994 [2021-04-30T21:52:47.023Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-30T21:52:47.283Z] ---> Running in 5c1f4fa1f11c [2021-04-30T21:52:47.283Z] Removing intermediate container 5c1f4fa1f11c [2021-04-30T21:52:47.283Z] ---> e56ce3840aef [2021-04-30T21:52:47.283Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-30T21:52:47.545Z] ---> Running in c9d3061fae2d [2021-04-30T21:52:47.545Z] Removing intermediate container c9d3061fae2d [2021-04-30T21:52:47.545Z] ---> 52b74f2a39c5 [2021-04-30T21:52:47.545Z] Step 22/24 : LABEL arch=amd64 [2021-04-30T21:52:47.805Z] ---> Running in 555daff78280 [2021-04-30T21:52:47.806Z] Removing intermediate container 555daff78280 [2021-04-30T21:52:47.806Z] ---> 63647ab4ecad [2021-04-30T21:52:47.806Z] Step 23/24 : LABEL git_sha=7785bfdac8204e7db57f1c60391832de77af91bc [2021-04-30T21:52:48.067Z] ---> Running in ef36ce06527a [2021-04-30T21:52:48.067Z] Removing intermediate container ef36ce06527a [2021-04-30T21:52:48.067Z] ---> 71111230f300 [2021-04-30T21:52:48.067Z] Step 24/24 : LABEL version=1.2.2-dev.4 [2021-04-30T21:52:48.067Z] ---> Running in d0ad00ed8b14 [2021-04-30T21:52:48.329Z] Removing intermediate container d0ad00ed8b14 [2021-04-30T21:52:48.329Z] ---> a2b1675c8dc0 [2021-04-30T21:52:48.329Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-30T21:52:48.329Z] Successfully built a2b1675c8dc0 [2021-04-30T21:52:48.329Z] 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-30T21:52:48.492Z] provisioning config files... [2021-04-30T21:52:48.522Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/36@tmp/config2075095841203104056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:52:48.850Z] ---> docker-login.sh [2021-04-30T21:52:48.850Z] nexus3.edgexfoundry.org:10001 [2021-04-30T21:52:48.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:52:48.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:52:48.850Z] Configure a credential helper to remove this warning. See [2021-04-30T21:52:48.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:52:48.850Z] [2021-04-30T21:52:48.850Z] Login Succeeded [2021-04-30T21:52:48.850Z] nexus3.edgexfoundry.org:10002 [2021-04-30T21:52:49.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:52:49.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:52:49.115Z] Configure a credential helper to remove this warning. See [2021-04-30T21:52:49.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:52:49.115Z] [2021-04-30T21:52:49.115Z] Login Succeeded [2021-04-30T21:52:49.115Z] nexus3.edgexfoundry.org:10003 [2021-04-30T21:52:49.302Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-30T21:52:49.302Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements [2021-04-30T21:52:49.302Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-30T21:52:49.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:52:49.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:52:49.377Z] Configure a credential helper to remove this warning. See [2021-04-30T21:52:49.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:52:49.377Z] [2021-04-30T21:52:49.377Z] Login Succeeded [2021-04-30T21:52:49.377Z] nexus3.edgexfoundry.org:10004 [2021-04-30T21:52:49.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:52:49.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:52:49.638Z] Configure a credential helper to remove this warning. See [2021-04-30T21:52:49.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:52:49.638Z] [2021-04-30T21:52:49.638Z] Login Succeeded [2021-04-30T21:52:49.638Z] docker.io [2021-04-30T21:52:49.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:52:49.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:52:49.899Z] Configure a credential helper to remove this warning. See [2021-04-30T21:52:49.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:52:49.899Z] [2021-04-30T21:52:49.899Z] Login Succeeded [2021-04-30T21:52:49.899Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T21:52:49.910Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-30T21:52:49.981Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2021-04-30T21:52:49.981Z] 7785bfdac8204e7db57f1c60391832de77af91bc [2021-04-30T21:52:49.981Z] latest [2021-04-30T21:52:49.981Z] 1.2.2-dev.4 [2021-04-30T21:52:49.981Z] 7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4 [2021-04-30T21:52:49.981Z] master [2021-04-30T21:52:49.981Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:50.332Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:7785bfdac8204e7db57f1c60391832de77af91bc [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:50.631Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:7785bfdac8204e7db57f1c60391832de77af91bc [2021-04-30T21:52:50.631Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T21:52:50.631Z] f0747cc4a790: Preparing [2021-04-30T21:52:50.631Z] 93838713b01c: Preparing [2021-04-30T21:52:50.631Z] bf10280cfdea: Preparing [2021-04-30T21:52:50.631Z] a7d67f8e9ac9: Preparing [2021-04-30T21:52:50.631Z] 32f366d666a5: Preparing [2021-04-30T21:52:50.631Z] 32f366d666a5: Layer already exists [2021-04-30T21:52:50.893Z] 93838713b01c: Pushed [2021-04-30T21:52:50.893Z] f0747cc4a790: Pushed [2021-04-30T21:52:50.893Z] a7d67f8e9ac9: Pushed [2021-04-30T21:52:51.836Z] bf10280cfdea: Pushed [2021-04-30T21:52:52.097Z] 7785bfdac8204e7db57f1c60391832de77af91bc: digest: sha256:15ec3ff5008665e6a8f09dbd0b863beabc16774d43f57beee4d86b4fcabfc2f3 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:52.404Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:52.710Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-04-30T21:52:52.711Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T21:52:52.711Z] f0747cc4a790: Preparing [2021-04-30T21:52:52.711Z] 93838713b01c: Preparing [2021-04-30T21:52:52.711Z] bf10280cfdea: Preparing [2021-04-30T21:52:52.711Z] a7d67f8e9ac9: Preparing [2021-04-30T21:52:52.711Z] 32f366d666a5: Preparing [2021-04-30T21:52:52.711Z] bf10280cfdea: Layer already exists [2021-04-30T21:52:52.711Z] 93838713b01c: Layer already exists [2021-04-30T21:52:52.711Z] a7d67f8e9ac9: Layer already exists [2021-04-30T21:52:52.711Z] f0747cc4a790: Layer already exists [2021-04-30T21:52:52.711Z] 32f366d666a5: Layer already exists [2021-04-30T21:52:52.711Z] latest: digest: sha256:15ec3ff5008665e6a8f09dbd0b863beabc16774d43f57beee4d86b4fcabfc2f3 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:53.039Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:53.334Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.4 [2021-04-30T21:52:53.334Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T21:52:53.334Z] f0747cc4a790: Preparing [2021-04-30T21:52:53.334Z] 93838713b01c: Preparing [2021-04-30T21:52:53.334Z] bf10280cfdea: Preparing [2021-04-30T21:52:53.334Z] a7d67f8e9ac9: Preparing [2021-04-30T21:52:53.334Z] 32f366d666a5: Preparing [2021-04-30T21:52:53.334Z] 93838713b01c: Layer already exists [2021-04-30T21:52:53.334Z] 32f366d666a5: Layer already exists [2021-04-30T21:52:53.334Z] f0747cc4a790: Layer already exists [2021-04-30T21:52:53.334Z] bf10280cfdea: Layer already exists [2021-04-30T21:52:53.334Z] a7d67f8e9ac9: Layer already exists [2021-04-30T21:52:53.334Z] 1.2.2-dev.4: digest: sha256:15ec3ff5008665e6a8f09dbd0b863beabc16774d43f57beee4d86b4fcabfc2f3 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:53.636Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:53.933Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4 [2021-04-30T21:52:53.933Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T21:52:53.933Z] f0747cc4a790: Preparing [2021-04-30T21:52:53.934Z] 93838713b01c: Preparing [2021-04-30T21:52:53.934Z] bf10280cfdea: Preparing [2021-04-30T21:52:53.934Z] a7d67f8e9ac9: Preparing [2021-04-30T21:52:53.934Z] 32f366d666a5: Preparing [2021-04-30T21:52:53.934Z] f0747cc4a790: Layer already exists [2021-04-30T21:52:53.934Z] 32f366d666a5: Layer already exists [2021-04-30T21:52:53.934Z] a7d67f8e9ac9: Layer already exists [2021-04-30T21:52:53.934Z] 93838713b01c: Layer already exists [2021-04-30T21:52:53.934Z] bf10280cfdea: Layer already exists [2021-04-30T21:52:53.934Z] 7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4: digest: sha256:15ec3ff5008665e6a8f09dbd0b863beabc16774d43f57beee4d86b4fcabfc2f3 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:54.236Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:52:54.536Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2021-04-30T21:52:54.536Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-04-30T21:52:54.536Z] f0747cc4a790: Preparing [2021-04-30T21:52:54.536Z] 93838713b01c: Preparing [2021-04-30T21:52:54.536Z] bf10280cfdea: Preparing [2021-04-30T21:52:54.536Z] a7d67f8e9ac9: Preparing [2021-04-30T21:52:54.536Z] 32f366d666a5: Preparing [2021-04-30T21:52:54.536Z] 32f366d666a5: Layer already exists [2021-04-30T21:52:54.536Z] 93838713b01c: Layer already exists [2021-04-30T21:52:54.536Z] f0747cc4a790: Layer already exists [2021-04-30T21:52:54.536Z] a7d67f8e9ac9: Layer already exists [2021-04-30T21:52:54.536Z] bf10280cfdea: Layer already exists [2021-04-30T21:52:54.536Z] master: digest: sha256:15ec3ff5008665e6a8f09dbd0b863beabc16774d43f57beee4d86b4fcabfc2f3 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-30T21:52:54.597Z] ===================================================== [Pipeline] echo [2021-04-30T21:52:54.614Z] taggedImages: [2021-04-30T21:52:54.614Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:7785bfdac8204e7db57f1c60391832de77af91bc [2021-04-30T21:52:54.614Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-04-30T21:52:54.614Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.4 [2021-04-30T21:52:54.614Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4 [2021-04-30T21:52:54.614Z] - 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-30T21:52:55.174Z] ---> job-cost.sh [2021-04-30T21:52:55.174Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zzY0 [2021-04-30T21:53:10.090Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-30T21:53:11.552Z] gofmt -l . [2021-04-30T21:53:11.552Z] [ "`gofmt -l .`" = "" ] [2021-04-30T21:53:11.552Z] ./bin/test-go-mod-tidy.sh [2021-04-30T21:53:11.552Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-30T21:53:13.063Z] $ docker stop --time=1 f39905cc37b2be3b0754fbe6946889f26b99f8863b618e04e6310c71d5abcee9 [2021-04-30T21:53:15.095Z] $ docker rm -f f39905cc37b2be3b0754fbe6946889f26b99f8863b618e04e6310c71d5abcee9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T21:53:15.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-30T21:53:15.896Z] Warning: overwriting stash ‘coverage-report’ [2021-04-30T21:53:16.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T21:53:17.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-30T21:53:17.632Z] + ls -al . [2021-04-30T21:53:17.632Z] total 132 [2021-04-30T21:53:17.632Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 21:53 . [2021-04-30T21:53:17.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 21:50 .. [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 30 21:50 .dockerignore [2021-04-30T21:53:17.632Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 21:50 .git [2021-04-30T21:53:17.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 21:50 .github [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 339 Apr 30 21:50 .gitignore [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 6792 Apr 30 21:50 Attribution.txt [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 1602 Apr 30 21:50 Dockerfile [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 1087 Apr 30 21:50 Dockerfile.build [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 30 21:50 Jenkinsfile [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 30 21:50 LICENSE [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 996 Apr 30 21:50 Makefile [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 7667 Apr 30 21:50 README.md [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 30 21:48 VERSION [2021-04-30T21:53:17.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 21:50 bin [2021-04-30T21:53:17.632Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 30 21:50 cmd [2021-04-30T21:53:17.632Z] -rw-r--r-- 1 jenkins jenkins 8513 Apr 30 21:52 coverage.out [2021-04-30T21:53:17.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 21:50 driver [2021-04-30T21:53:17.632Z] -rw-r--r-- 1 jenkins jenkins 285 Apr 30 21:53 go.mod [2021-04-30T21:53:17.632Z] -rw-r--r-- 1 jenkins jenkins 21331 Apr 30 21:51 go.sum [2021-04-30T21:53:17.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 21:50 snap [2021-04-30T21:53:17.632Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 30 21:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:53:18.129Z] + 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=7785bfdac8204e7db57f1c60391832de77af91bc --label arch=arm64 --label version=1.2.2-dev.4 . [2021-04-30T21:53:18.406Z] Sending build context to Docker daemon 102.9kB [2021-04-30T21:53:18.712Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T21:53:18.712Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-30T21:53:18.712Z] ---> 1c877a6ee62f [2021-04-30T21:53:18.712Z] Step 3/24 : ARG MAKE='make build' [2021-04-30T21:53:18.712Z] ---> Running in 3b5c4b8e4222 [2021-04-30T21:53:19.321Z] Removing intermediate container 3b5c4b8e4222 [2021-04-30T21:53:19.321Z] ---> 27f84ae4db8e [2021-04-30T21:53:19.321Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T21:53:19.601Z] ---> Running in 43f62dac6a7b [2021-04-30T21:53:19.873Z] Removing intermediate container 43f62dac6a7b [2021-04-30T21:53:19.873Z] ---> e74783b9ad4f [2021-04-30T21:53:19.873Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T21:53:20.145Z] ---> Running in 37a78dd3f369 [2021-04-30T21:53:20.418Z] Removing intermediate container 37a78dd3f369 [2021-04-30T21:53:20.418Z] ---> fddca8aba362 [2021-04-30T21:53:20.418Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T21:53:20.690Z] ---> Running in e8e8b0126c02 [2021-04-30T21:53:22.664Z] Removing intermediate container e8e8b0126c02 [2021-04-30T21:53:22.664Z] ---> afdb5885d830 [2021-04-30T21:53:22.664Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T21:53:22.939Z] ---> Running in 0af937aac9a6 [2021-04-30T21:53:23.917Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-04-30T21:53:24.889Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-04-30T21:53:25.872Z] OK: 144 MiB in 49 packages [2021-04-30T21:53:26.855Z] Removing intermediate container 0af937aac9a6 [2021-04-30T21:53:26.855Z] ---> ed516e1bff57 [2021-04-30T21:53:26.855Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-30T21:53:26.855Z] ---> Running in 70d0fc481ba0 [2021-04-30T21:53:27.451Z] Removing intermediate container 70d0fc481ba0 [2021-04-30T21:53:27.451Z] ---> 166e888fee67 [2021-04-30T21:53:27.451Z] Step 9/24 : COPY . . [2021-04-30T21:53:28.440Z] ---> ef4eff5bec54 [2021-04-30T21:53:28.441Z] Step 10/24 : RUN make update [2021-04-30T21:53:28.441Z] ---> Running in 7423f27ff0be [2021-04-30T21:53:29.416Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-30T21:53:30.400Z] Removing intermediate container 7423f27ff0be [2021-04-30T21:53:30.400Z] ---> 74a19c2c3fd0 [2021-04-30T21:53:30.400Z] Step 11/24 : RUN $MAKE [2021-04-30T21:53:30.672Z] ---> Running in fdec96091e4b [2021-04-30T21:53:31.657Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.4" -o cmd/device-rest-go ./cmd [2021-04-30T21:53:36.901Z] lf-activate-venv(): INFO: Adding /tmp/venv-zzY0/bin to PATH [2021-04-30T21:53:36.901Z] INFO: No Stack... [2021-04-30T21:53:36.901Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-30T21:53:36.901Z] INFO: Archiving Costs [Pipeline] sh [2021-04-30T21:53:37.206Z] + cat /w/workspace/device-rest-go/36/archives/cost.csv [2021-04-30T21:53:37.206Z] + cut -d, -f6 [Pipeline] lock [2021-04-30T21:53:37.284Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-36-stack-cost] [2021-04-30T21:53:37.299Z] Resource [jenkins-edgexfoundry-device-rest-go-master-36-stack-cost] did not exist. Created. [2021-04-30T21:53:37.299Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-30T21:53:37.628Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-30T21:53:37.735Z] Stashed 1 file(s) [Pipeline] } [2021-04-30T21:53:37.751Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-36-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-30T21:54:10.686Z] Removing intermediate container fdec96091e4b [2021-04-30T21:54:10.686Z] ---> 4cdc43407cf2 [2021-04-30T21:54:10.686Z] Step 12/24 : FROM alpine:3.12 [2021-04-30T21:54:10.686Z] 3.12: Pulling from library/alpine [2021-04-30T21:54:10.686Z] d2f70382dc9a: Pulling fs layer [2021-04-30T21:54:10.686Z] d2f70382dc9a: Verifying Checksum [2021-04-30T21:54:10.686Z] d2f70382dc9a: Download complete [2021-04-30T21:54:10.686Z] d2f70382dc9a: Pull complete [2021-04-30T21:54:10.686Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-30T21:54:10.686Z] Status: Downloaded newer image for alpine:3.12 [2021-04-30T21:54:10.686Z] ---> 9852663dfa18 [2021-04-30T21:54:10.686Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T21:54:10.686Z] ---> Running in 02dfbfbc9fce [2021-04-30T21:54:10.686Z] Removing intermediate container 02dfbfbc9fce [2021-04-30T21:54:10.686Z] ---> 7f7d7cff039c [2021-04-30T21:54:10.686Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-30T21:54:10.686Z] ---> Running in a4f3d065f4c8 [2021-04-30T21:54:10.686Z] Removing intermediate container a4f3d065f4c8 [2021-04-30T21:54:10.686Z] ---> e54544bd2ab9 [2021-04-30T21:54:10.686Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-30T21:54:10.686Z] ---> Running in 97631bcb058b [2021-04-30T21:54:10.686Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-30T21:54:10.958Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-30T21:54:11.551Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-30T21:54:11.551Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-30T21:54:11.551Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-30T21:54:11.551Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-30T21:54:11.551Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-30T21:54:11.551Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-30T21:54:11.551Z] Executing busybox-1.31.1-r20.trigger [2021-04-30T21:54:11.551Z] OK: 8 MiB in 20 packages [2021-04-30T21:54:12.988Z] Removing intermediate container 97631bcb058b [2021-04-30T21:54:12.988Z] ---> 395a7e0dda25 [2021-04-30T21:54:12.988Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-30T21:54:13.964Z] ---> 45f8a453764c [2021-04-30T21:54:13.964Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-30T21:54:14.942Z] ---> 0cd5b6b94d48 [2021-04-30T21:54:14.942Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-30T21:54:15.534Z] ---> c76ec5a3b01e [2021-04-30T21:54:15.534Z] Step 19/24 : EXPOSE 49986 [2021-04-30T21:54:15.806Z] ---> Running in 934b3ba85af6 [2021-04-30T21:54:16.078Z] Removing intermediate container 934b3ba85af6 [2021-04-30T21:54:16.078Z] ---> 7cf8ef6fc19a [2021-04-30T21:54:16.078Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-30T21:54:16.350Z] ---> Running in 40e9f2eae735 [2021-04-30T21:54:16.943Z] Removing intermediate container 40e9f2eae735 [2021-04-30T21:54:16.943Z] ---> 654610db3717 [2021-04-30T21:54:16.943Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-30T21:54:16.943Z] ---> Running in 44deeeba4f1b [2021-04-30T21:54:17.537Z] Removing intermediate container 44deeeba4f1b [2021-04-30T21:54:17.537Z] ---> 50a892117170 [2021-04-30T21:54:17.537Z] Step 22/24 : LABEL arch=arm64 [2021-04-30T21:54:17.537Z] ---> Running in 3d0c240b9d81 [2021-04-30T21:54:18.132Z] Removing intermediate container 3d0c240b9d81 [2021-04-30T21:54:18.132Z] ---> 0f3fe54f37be [2021-04-30T21:54:18.132Z] Step 23/24 : LABEL git_sha=7785bfdac8204e7db57f1c60391832de77af91bc [2021-04-30T21:54:18.132Z] ---> Running in a0f5ca63abec [2021-04-30T21:54:18.727Z] Removing intermediate container a0f5ca63abec [2021-04-30T21:54:18.727Z] ---> 1bfb960e12ce [2021-04-30T21:54:18.727Z] Step 24/24 : LABEL version=1.2.2-dev.4 [2021-04-30T21:54:18.727Z] ---> Running in 88e2ba1e72db [2021-04-30T21:54:19.320Z] Removing intermediate container 88e2ba1e72db [2021-04-30T21:54:19.321Z] ---> 0077646cae6c [2021-04-30T21:54:19.321Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-30T21:54:19.321Z] Successfully built 0077646cae6c [2021-04-30T21:54:19.321Z] 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-30T21:54:19.464Z] provisioning config files... [2021-04-30T21:54:19.500Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/36@tmp/config7000434574589589396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:54:19.857Z] ---> docker-login.sh [2021-04-30T21:54:19.857Z] nexus3.edgexfoundry.org:10001 [2021-04-30T21:54:20.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:54:20.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:54:20.402Z] Configure a credential helper to remove this warning. See [2021-04-30T21:54:20.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:54:20.402Z] [2021-04-30T21:54:20.402Z] Login Succeeded [2021-04-30T21:54:20.402Z] nexus3.edgexfoundry.org:10002 [2021-04-30T21:54:20.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:54:20.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:54:20.949Z] Configure a credential helper to remove this warning. See [2021-04-30T21:54:20.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:54:20.949Z] [2021-04-30T21:54:20.949Z] Login Succeeded [2021-04-30T21:54:20.949Z] nexus3.edgexfoundry.org:10003 [2021-04-30T21:54:21.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:54:21.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:54:21.497Z] Configure a credential helper to remove this warning. See [2021-04-30T21:54:21.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:54:21.497Z] [2021-04-30T21:54:21.497Z] Login Succeeded [2021-04-30T21:54:21.497Z] nexus3.edgexfoundry.org:10004 [2021-04-30T21:54:21.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:54:22.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:54:22.044Z] Configure a credential helper to remove this warning. See [2021-04-30T21:54:22.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:54:22.044Z] [2021-04-30T21:54:22.044Z] Login Succeeded [2021-04-30T21:54:22.044Z] docker.io [2021-04-30T21:54:22.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T21:54:22.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T21:54:22.589Z] Configure a credential helper to remove this warning. See [2021-04-30T21:54:22.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T21:54:22.589Z] [2021-04-30T21:54:22.589Z] Login Succeeded [2021-04-30T21:54:22.589Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T21:54:22.606Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-30T21:54:22.677Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2021-04-30T21:54:22.677Z] 7785bfdac8204e7db57f1c60391832de77af91bc [2021-04-30T21:54:22.677Z] latest [2021-04-30T21:54:22.677Z] 1.2.2-dev.4 [2021-04-30T21:54:22.677Z] 7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4 [2021-04-30T21:54:22.677Z] master [2021-04-30T21:54:22.677Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:23.059Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:7785bfdac8204e7db57f1c60391832de77af91bc [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:23.395Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:7785bfdac8204e7db57f1c60391832de77af91bc [2021-04-30T21:54:23.395Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T21:54:23.395Z] 640ee5171153: Preparing [2021-04-30T21:54:23.395Z] d68bc488476c: Preparing [2021-04-30T21:54:23.395Z] f3568446e1e9: Preparing [2021-04-30T21:54:23.395Z] 2eaa380fdecd: Preparing [2021-04-30T21:54:23.395Z] 3fbe34a1663b: Preparing [2021-04-30T21:54:23.395Z] 3fbe34a1663b: Layer already exists [2021-04-30T21:54:23.671Z] 640ee5171153: Pushed [2021-04-30T21:54:23.671Z] d68bc488476c: Pushed [2021-04-30T21:54:24.268Z] 2eaa380fdecd: Pushed [2021-04-30T21:54:26.867Z] f3568446e1e9: Pushed [2021-04-30T21:54:26.867Z] 7785bfdac8204e7db57f1c60391832de77af91bc: digest: sha256:a279686721b69c4666446796795e271ebbd8daf61497375aaac8b6047a80b706 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:27.208Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:27.544Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-04-30T21:54:27.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T21:54:27.544Z] 640ee5171153: Preparing [2021-04-30T21:54:27.544Z] d68bc488476c: Preparing [2021-04-30T21:54:27.544Z] f3568446e1e9: Preparing [2021-04-30T21:54:27.544Z] 2eaa380fdecd: Preparing [2021-04-30T21:54:27.544Z] 3fbe34a1663b: Preparing [2021-04-30T21:54:27.544Z] 2eaa380fdecd: Layer already exists [2021-04-30T21:54:27.544Z] f3568446e1e9: Layer already exists [2021-04-30T21:54:27.544Z] 640ee5171153: Layer already exists [2021-04-30T21:54:27.544Z] 3fbe34a1663b: Layer already exists [2021-04-30T21:54:27.544Z] d68bc488476c: Layer already exists [2021-04-30T21:54:27.814Z] latest: digest: sha256:a279686721b69c4666446796795e271ebbd8daf61497375aaac8b6047a80b706 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:28.155Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:28.489Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.4 [2021-04-30T21:54:28.489Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T21:54:28.489Z] 640ee5171153: Preparing [2021-04-30T21:54:28.489Z] d68bc488476c: Preparing [2021-04-30T21:54:28.489Z] f3568446e1e9: Preparing [2021-04-30T21:54:28.489Z] 2eaa380fdecd: Preparing [2021-04-30T21:54:28.489Z] 3fbe34a1663b: Preparing [2021-04-30T21:54:28.489Z] 640ee5171153: Layer already exists [2021-04-30T21:54:28.489Z] 3fbe34a1663b: Layer already exists [2021-04-30T21:54:28.489Z] d68bc488476c: Layer already exists [2021-04-30T21:54:28.489Z] f3568446e1e9: Layer already exists [2021-04-30T21:54:28.489Z] 2eaa380fdecd: Layer already exists [2021-04-30T21:54:28.761Z] 1.2.2-dev.4: digest: sha256:a279686721b69c4666446796795e271ebbd8daf61497375aaac8b6047a80b706 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:29.101Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:29.440Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4 [2021-04-30T21:54:29.440Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T21:54:29.440Z] 640ee5171153: Preparing [2021-04-30T21:54:29.440Z] d68bc488476c: Preparing [2021-04-30T21:54:29.440Z] f3568446e1e9: Preparing [2021-04-30T21:54:29.440Z] 2eaa380fdecd: Preparing [2021-04-30T21:54:29.440Z] 3fbe34a1663b: Preparing [2021-04-30T21:54:29.440Z] 640ee5171153: Layer already exists [2021-04-30T21:54:29.440Z] f3568446e1e9: Layer already exists [2021-04-30T21:54:29.440Z] 3fbe34a1663b: Layer already exists [2021-04-30T21:54:29.440Z] 2eaa380fdecd: Layer already exists [2021-04-30T21:54:29.440Z] d68bc488476c: Layer already exists [2021-04-30T21:54:29.710Z] 7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4: digest: sha256:a279686721b69c4666446796795e271ebbd8daf61497375aaac8b6047a80b706 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:30.049Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:54:30.381Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2021-04-30T21:54:30.381Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-04-30T21:54:30.381Z] 640ee5171153: Preparing [2021-04-30T21:54:30.381Z] d68bc488476c: Preparing [2021-04-30T21:54:30.381Z] f3568446e1e9: Preparing [2021-04-30T21:54:30.381Z] 2eaa380fdecd: Preparing [2021-04-30T21:54:30.381Z] 3fbe34a1663b: Preparing [2021-04-30T21:54:30.381Z] 640ee5171153: Layer already exists [2021-04-30T21:54:30.381Z] 2eaa380fdecd: Layer already exists [2021-04-30T21:54:30.652Z] f3568446e1e9: Layer already exists [2021-04-30T21:54:30.652Z] d68bc488476c: Layer already exists [2021-04-30T21:54:30.652Z] 3fbe34a1663b: Layer already exists [2021-04-30T21:54:30.652Z] master: digest: sha256:a279686721b69c4666446796795e271ebbd8daf61497375aaac8b6047a80b706 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-30T21:54:30.720Z] ===================================================== [Pipeline] echo [2021-04-30T21:54:30.736Z] taggedImages: [2021-04-30T21:54:30.736Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:7785bfdac8204e7db57f1c60391832de77af91bc [2021-04-30T21:54:30.736Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-04-30T21:54:30.736Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.4 [2021-04-30T21:54:30.736Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:7785bfdac8204e7db57f1c60391832de77af91bc-1.2.2-dev.4 [2021-04-30T21:54:30.736Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:54:31.110Z] ---> job-cost.sh [2021-04-30T21:54:31.110Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-C7Mq [2021-04-30T21:55:10.049Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-30T21:56:31.788Z] lf-activate-venv(): INFO: Adding /tmp/venv-C7Mq/bin to PATH [2021-04-30T21:56:31.788Z] INFO: No Stack... [2021-04-30T21:56:32.758Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-30T21:56:33.348Z] INFO: Archiving Costs [Pipeline] sh [2021-04-30T21:56:33.689Z] + cat /w/workspace/device-rest-go/36/archives/cost.csv [2021-04-30T21:56:33.689Z] + cut -d, -f6 [Pipeline] lock [2021-04-30T21:56:33.809Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-36-stack-cost] [2021-04-30T21:56:33.825Z] Resource [jenkins-edgexfoundry-device-rest-go-master-36-stack-cost] did not exist. Created. [2021-04-30T21:56:33.825Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-30T21:56:34.200Z] /w/workspace/device-rest-go/36@tmp/durable-42171374/script.sh: 1: /w/workspace/device-rest-go/36@tmp/durable-42171374/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-30T21:56:34.547Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-30T21:56:34.569Z] Warning: overwriting stash ‘stack-cost’ [2021-04-30T21:56:34.725Z] Stashed 1 file(s) [Pipeline] } [2021-04-30T21:56:34.741Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-36-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-30T21:56:35.427Z] provisioning config files... [2021-04-30T21:56:35.444Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1552644106875729883tmp [Pipeline] { [Pipeline] sh [2021-04-30T21:56:35.792Z] + set +x [2021-04-30T21:56:35.792Z] + curl -s https://codecov.io/bash [2021-04-30T21:56:35.792Z] + bash -s -- [2021-04-30T21:56:36.071Z] [2021-04-30T21:56:36.071Z] _____ _ [2021-04-30T21:56:36.071Z] / ____| | | [2021-04-30T21:56:36.071Z] | | ___ __| | ___ ___ _____ __ [2021-04-30T21:56:36.071Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-30T21:56:36.071Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-30T21:56:36.071Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-30T21:56:36.071Z] Bash-1.0.2 [2021-04-30T21:56:36.071Z] [2021-04-30T21:56:36.071Z] [2021-04-30T21:56:36.071Z] ==> git version 2.24.3 found [2021-04-30T21:56:36.071Z] ==> 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-30T21:56:36.071Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-30T21:56:36.071Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-30T21:56:36.071Z] ==> Jenkins CI detected. [2021-04-30T21:56:36.071Z] project root: . [2021-04-30T21:56:36.071Z] --> token set from env [2021-04-30T21:56:36.071Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-30T21:56:36.071Z] ==> Running gcov in . (disable via -X gcov) [2021-04-30T21:56:36.352Z] ==> Python coveragepy not found [2021-04-30T21:56:36.352Z] ==> Searching for coverage reports in: [2021-04-30T21:56:36.352Z] + . [2021-04-30T21:56:36.352Z] -> Found 1 reports [2021-04-30T21:56:36.352Z] ==> Detecting git/mercurial file structure [2021-04-30T21:56:36.352Z] ==> Reading reports [2021-04-30T21:56:36.353Z] + ./coverage.out bytes=8513 [2021-04-30T21:56:36.353Z] ==> Appending adjustments [2021-04-30T21:56:36.353Z] https://docs.codecov.io/docs/fixing-reports [2021-04-30T21:56:36.353Z] + Found adjustments [2021-04-30T21:56:36.353Z] ==> Gzipping contents [2021-04-30T21:56:36.353Z] 4.0K /tmp/codecov.fCEQEm.gz [2021-04-30T21:56:36.353Z] ==> Uploading reports [2021-04-30T21:56:36.353Z] url: https://codecov.io [2021-04-30T21:56:36.353Z] query: branch=master&commit=7785bfdac8204e7db57f1c60391832de77af91bc&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-30T21:56:36.353Z] -> Pinging Codecov [2021-04-30T21:56:36.353Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=7785bfdac8204e7db57f1c60391832de77af91bc&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-30T21:56:37.336Z] -> Uploading to [2021-04-30T21:56:37.336Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-30/4E5D53B4F1F92C436F7061BF334D961C/7785bfdac8204e7db57f1c60391832de77af91bc/62cc49ce-3a7e-4c7c-9973-5df2acbd8fbe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210430%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210430T215637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ac8111c870689aff88ea2234f4b3ccb75e4e691d1e84aa5c653eaa22550058f [2021-04-30T21:56:37.336Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-30T21:56:37.336Z] Dload Upload Total Spent Left Speed [2021-04-30T21:56:37.950Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 3501 --:--:-- --:--:-- --:--:-- 3495 100 1622 0 0 100 1622 0 3498 --:--:-- --:--:-- --:--:-- 3495 [2021-04-30T21:56:37.950Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7785bfdac8204e7db57f1c60391832de77af91bc [Pipeline] } [2021-04-30T21:56:37.967Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-30T21:56:38.618Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-30T21:56:38.647Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:56:39.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-30T21:56:39.324Z] [2021-04-30T21:56:39.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:56:39.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-30T21:56:39.684Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-30T21:56:39.684Z] 188c0c94c7c5: Pulling fs layer [2021-04-30T21:56:39.684Z] 0ef7d3d256c8: Pulling fs layer [2021-04-30T21:56:39.684Z] de9db76c5a1d: Pulling fs layer [2021-04-30T21:56:39.684Z] 0eba1c9be4d2: Pulling fs layer [2021-04-30T21:56:39.684Z] 0d57e429df01: Pulling fs layer [2021-04-30T21:56:39.684Z] 4e4be7b47b0d: Pulling fs layer [2021-04-30T21:56:39.684Z] e1f770b5df2f: Pulling fs layer [2021-04-30T21:56:39.684Z] 85a0685a4137: Pulling fs layer [2021-04-30T21:56:39.684Z] 0d57e429df01: Waiting [2021-04-30T21:56:39.684Z] 4e4be7b47b0d: Waiting [2021-04-30T21:56:39.684Z] e1f770b5df2f: Waiting [2021-04-30T21:56:39.684Z] 85a0685a4137: Waiting [2021-04-30T21:56:39.684Z] 0eba1c9be4d2: Waiting [2021-04-30T21:56:39.684Z] de9db76c5a1d: Verifying Checksum [2021-04-30T21:56:39.684Z] de9db76c5a1d: Download complete [2021-04-30T21:56:39.684Z] 0ef7d3d256c8: Verifying Checksum [2021-04-30T21:56:39.684Z] 0ef7d3d256c8: Download complete [2021-04-30T21:56:39.684Z] 0d57e429df01: Verifying Checksum [2021-04-30T21:56:39.684Z] 0d57e429df01: Download complete [2021-04-30T21:56:40.003Z] 4e4be7b47b0d: Verifying Checksum [2021-04-30T21:56:40.003Z] 4e4be7b47b0d: Download complete [2021-04-30T21:56:40.003Z] 188c0c94c7c5: Verifying Checksum [2021-04-30T21:56:40.003Z] 188c0c94c7c5: Download complete [2021-04-30T21:56:40.620Z] 188c0c94c7c5: Pull complete [2021-04-30T21:56:41.238Z] 0ef7d3d256c8: Pull complete [2021-04-30T21:56:41.529Z] de9db76c5a1d: Pull complete [2021-04-30T21:56:41.802Z] e1f770b5df2f: Verifying Checksum [2021-04-30T21:56:41.802Z] e1f770b5df2f: Download complete [2021-04-30T21:56:46.224Z] 85a0685a4137: Verifying Checksum [2021-04-30T21:56:46.224Z] 85a0685a4137: Download complete [2021-04-30T21:56:46.508Z] 0eba1c9be4d2: Verifying Checksum [2021-04-30T21:56:46.508Z] 0eba1c9be4d2: Download complete [2021-04-30T21:56:59.061Z] 0eba1c9be4d2: Pull complete [2021-04-30T21:56:59.061Z] 0d57e429df01: Pull complete [2021-04-30T21:56:59.061Z] 4e4be7b47b0d: Pull complete [2021-04-30T21:57:01.726Z] e1f770b5df2f: Pull complete [2021-04-30T21:57:14.936Z] 85a0685a4137: Pull complete [2021-04-30T21:57:14.936Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-30T21:57:14.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-30T21:57:14.936Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-30T21:57:15.375Z] prd-centos7-docker-4c-2g-2525 does not seem to be running inside a container [2021-04-30T21:57:15.495Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-30T21:57:17.319Z] $ docker top e7e99fa6edcee2aae2ad36e1bb7ba7407e39b2f75e2b3fa41c8bc5627c5083d9 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-30T21:57:17.580Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-30T21:57:17.923Z] + set -o pipefail [2021-04-30T21:57:17.923Z] + snyk monitor '--org=edgex-jenkins' [2021-04-30T21:57:33.087Z] [2021-04-30T21:57:33.087Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-04-30T21:57:33.087Z] [2021-04-30T21:57:33.087Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/e5706327-be02-40f1-bd95-8787eed8c011 [2021-04-30T21:57:33.087Z] [2021-04-30T21:57:33.087Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-30T21:57:33.087Z] [2021-04-30T21:57:33.087Z] [Pipeline] } [2021-04-30T21:57:33.113Z] $ docker stop --time=1 e7e99fa6edcee2aae2ad36e1bb7ba7407e39b2f75e2b3fa41c8bc5627c5083d9 [2021-04-30T21:57:35.455Z] $ docker rm -f e7e99fa6edcee2aae2ad36e1bb7ba7407e39b2f75e2b3fa41c8bc5627c5083d9 [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-30T21:57:37.276Z] + git log --format=format:%s -1 7785bfdac8204e7db57f1c60391832de77af91bc [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:57:37.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T21:57:37.705Z] . [Pipeline] withDockerContainer [2021-04-30T21:57:38.225Z] prd-centos7-docker-4c-2g-2525 does not seem to be running inside a container [2021-04-30T21:57:38.394Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T21:57:40.235Z] $ docker top 6eff43cd92e294d6112c90b750c4468b37bdf025c826411f037419dfe5b26ef1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T21:57:40.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T21:57:40.438Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T21:57:40.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T21:57:40.895Z] $ docker exec 6eff43cd92e294d6112c90b750c4468b37bdf025c826411f037419dfe5b26ef1 ssh-agent [2021-04-30T21:57:41.420Z] SSH_AUTH_SOCK=/tmp/ssh-Vz5yS80kRqZm/agent.12 [2021-04-30T21:57:41.420Z] SSH_AGENT_PID=17 [2021-04-30T21:57:41.430Z] Running ssh-add (command line suppressed) [2021-04-30T21:57:41.757Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7502530838009884675.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7502530838009884675.key) [2021-04-30T21:57:41.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T21:57:42.565Z] + git semver tag [2021-04-30T21:57:42.565Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T21:57:42.565Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-04-30T21:57:42.565Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-04-30T21:57:42.565Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T21:57:42.565Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T21:57:42.565Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T21:57:42.565Z] # $SEMVER_BRANCH = master [2021-04-30T21:57:42.565Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-04-30T21:57:42.565Z] # 7785bfdac8204e7db57f1c60391832de77af91bc HEAD [2021-04-30T21:57:42.565Z] # -> Force: false [2021-04-30T21:57:42.565Z] # 71b49629278e7503ef6465dfbeb8a27cd6febcae refs/tags/v1.2.2-dev.4 [Pipeline] } [2021-04-30T21:57:42.591Z] $ docker exec --env ******** --env ******** 6eff43cd92e294d6112c90b750c4468b37bdf025c826411f037419dfe5b26ef1 ssh-agent -k [2021-04-30T21:57:42.881Z] unset SSH_AUTH_SOCK; [2021-04-30T21:57:42.882Z] unset SSH_AGENT_PID; [2021-04-30T21:57:42.882Z] echo Agent pid 17 killed; [2021-04-30T21:57:43.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T21:57:43.431Z] + git semver [Pipeline] } [2021-04-30T21:57:43.482Z] $ docker stop --time=1 6eff43cd92e294d6112c90b750c4468b37bdf025c826411f037419dfe5b26ef1 [2021-04-30T21:57:45.264Z] $ docker rm -f 6eff43cd92e294d6112c90b750c4468b37bdf025c826411f037419dfe5b26ef1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:57:45.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-30T21:57:45.989Z] [2021-04-30T21:57:45.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:57:46.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-30T21:57:46.676Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-30T21:57:46.677Z] ab5ef0e58194: Pulling fs layer [2021-04-30T21:57:46.677Z] 9712f1f96733: Pulling fs layer [2021-04-30T21:57:46.677Z] 63f879dbbcfc: Pulling fs layer [2021-04-30T21:57:46.677Z] 0d9ebad4ef96: Pulling fs layer [2021-04-30T21:57:46.677Z] e9a5061849ea: Pulling fs layer [2021-04-30T21:57:46.677Z] d747dcd14b5f: Pulling fs layer [2021-04-30T21:57:46.677Z] 2de7ff778b66: Pulling fs layer [2021-04-30T21:57:46.677Z] 0d9ebad4ef96: Waiting [2021-04-30T21:57:46.677Z] e9a5061849ea: Waiting [2021-04-30T21:57:46.677Z] d747dcd14b5f: Waiting [2021-04-30T21:57:46.677Z] 2de7ff778b66: Waiting [2021-04-30T21:57:46.677Z] 9712f1f96733: Verifying Checksum [2021-04-30T21:57:46.677Z] 9712f1f96733: Download complete [2021-04-30T21:57:49.379Z] 63f879dbbcfc: Verifying Checksum [2021-04-30T21:57:49.379Z] 63f879dbbcfc: Download complete [2021-04-30T21:57:50.020Z] e9a5061849ea: Verifying Checksum [2021-04-30T21:57:50.020Z] e9a5061849ea: Download complete [2021-04-30T21:57:50.020Z] d747dcd14b5f: Verifying Checksum [2021-04-30T21:57:50.020Z] d747dcd14b5f: Download complete [2021-04-30T21:57:50.303Z] 0d9ebad4ef96: Verifying Checksum [2021-04-30T21:57:50.303Z] 0d9ebad4ef96: Download complete [2021-04-30T21:57:50.945Z] 2de7ff778b66: Verifying Checksum [2021-04-30T21:57:50.945Z] 2de7ff778b66: Download complete [2021-04-30T21:57:51.241Z] ab5ef0e58194: Verifying Checksum [2021-04-30T21:57:51.241Z] ab5ef0e58194: Download complete [2021-04-30T21:58:01.646Z] ab5ef0e58194: Pull complete [2021-04-30T21:58:01.944Z] 9712f1f96733: Pull complete [2021-04-30T21:58:06.329Z] 63f879dbbcfc: Pull complete [2021-04-30T21:58:18.833Z] 0d9ebad4ef96: Pull complete [2021-04-30T21:58:22.230Z] e9a5061849ea: Pull complete [2021-04-30T21:58:22.511Z] d747dcd14b5f: Pull complete [2021-04-30T21:58:26.900Z] 2de7ff778b66: Pull complete [2021-04-30T21:58:26.900Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-30T21:58:26.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-30T21:58:26.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-30T21:58:27.412Z] prd-centos7-docker-4c-2g-2525 does not seem to be running inside a container [2021-04-30T21:58:27.678Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-30T21:58:32.284Z] $ docker top fbb55b998e1cbce52a0de74c6aada7523ac22b9bb51155900f2231ff99912c2b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-30T21:58:32.558Z] provisioning config files... [2021-04-30T21:58:32.577Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7546375163977085664tmp [2021-04-30T21:58:32.603Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5436611817131824191tmp [2021-04-30T21:58:32.624Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2156430105569930861tmp [Pipeline] { [Pipeline] echo [2021-04-30T21:58:32.648Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:58:33.295Z] ---> sigul-configuration.sh [2021-04-30T21:58:33.295Z] gpg: directory `/root/.gnupg' created [2021-04-30T21:58:33.295Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-30T21:58:33.295Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-30T21:58:33.295Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-30T21:58:33.295Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-30T21:58:33.295Z] gpg: CAST5 encrypted data [2021-04-30T21:58:33.564Z] gpg: encrypted with 1 passphrase [2021-04-30T21:58:33.564Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-30T21:58:33.915Z] + mkdir /home/jenkins [2021-04-30T21:58:33.915Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-30T21:58:34.261Z] + 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-30T21:58:34.277Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:58:35.355Z] ---> sigul-install.sh [2021-04-30T21:58:45.488Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-30T21:58:45.815Z] + git tag --list [2021-04-30T21:58:45.816Z] v1.0.0 [2021-04-30T21:58:45.816Z] v1.1.0 [2021-04-30T21:58:45.816Z] v1.1.1 [2021-04-30T21:58:45.816Z] v1.1.2 [2021-04-30T21:58:45.816Z] v1.2.0 [2021-04-30T21:58:45.816Z] v1.2.1 [2021-04-30T21:58:45.816Z] v1.2.1-dev.1 [2021-04-30T21:58:45.816Z] v1.2.1-dev.2 [2021-04-30T21:58:45.816Z] v1.2.1-dev.3 [2021-04-30T21:58:45.816Z] v1.2.1-dev.4 [2021-04-30T21:58:45.816Z] v1.2.2-dev.1 [2021-04-30T21:58:45.816Z] v1.2.2-dev.2 [2021-04-30T21:58:45.816Z] v1.2.2-dev.3 [2021-04-30T21:58:45.816Z] v1.2.2-dev.4 [Pipeline] sh [2021-04-30T21:58:46.509Z] + lftools sign git-tag v1.2.2-dev.4 [2021-04-30T21:58:48.960Z] Signing Git tag with Sigul... [2021-04-30T21:58:48.960Z] Signing v1.2.2-dev.4 [Pipeline] echo [2021-04-30T21:58:50.411Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:58:51.474Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-30T21:58:51.499Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-30T21:58:51.558Z] $ docker stop --time=1 fbb55b998e1cbce52a0de74c6aada7523ac22b9bb51155900f2231ff99912c2b [2021-04-30T21:58:53.536Z] $ docker rm -f fbb55b998e1cbce52a0de74c6aada7523ac22b9bb51155900f2231ff99912c2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:58:54.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T21:58:54.708Z] . [Pipeline] withDockerContainer [2021-04-30T21:58:54.925Z] prd-centos7-docker-4c-2g-2525 does not seem to be running inside a container [2021-04-30T21:58:55.052Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T21:58:56.402Z] $ docker top 25ca3cf696abad97319f88730c15290ebbdf899d1e1e8aac273e2ab9c7f09e9c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T21:58:56.721Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T21:58:56.721Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T21:58:57.067Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T21:58:57.073Z] $ docker exec 25ca3cf696abad97319f88730c15290ebbdf899d1e1e8aac273e2ab9c7f09e9c ssh-agent [2021-04-30T21:58:57.451Z] SSH_AUTH_SOCK=/tmp/ssh-ovmpHItYPDVJ/agent.13 [2021-04-30T21:58:57.451Z] SSH_AGENT_PID=18 [2021-04-30T21:58:57.469Z] Running ssh-add (command line suppressed) [2021-04-30T21:58:57.809Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_167167942866395458.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_167167942866395458.key) [2021-04-30T21:58:57.961Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T21:58:58.651Z] + git semver bump pre [2021-04-30T21:58:58.651Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T21:58:58.651Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-04-30T21:58:58.651Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-04-30T21:58:58.651Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T21:58:58.651Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T21:58:58.651Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T21:58:58.651Z] # $SEMVER_BRANCH = master [2021-04-30T21:58:58.651Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-04-30T21:58:58.651Z] 1.2.2-dev.5 [Pipeline] } [2021-04-30T21:58:58.676Z] $ docker exec --env ******** --env ******** 25ca3cf696abad97319f88730c15290ebbdf899d1e1e8aac273e2ab9c7f09e9c ssh-agent -k [2021-04-30T21:58:59.128Z] unset SSH_AUTH_SOCK; [2021-04-30T21:58:59.129Z] unset SSH_AGENT_PID; [2021-04-30T21:58:59.129Z] echo Agent pid 18 killed; [2021-04-30T21:58:59.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T21:58:59.914Z] + git semver [Pipeline] } [2021-04-30T21:58:59.947Z] $ docker stop --time=1 25ca3cf696abad97319f88730c15290ebbdf899d1e1e8aac273e2ab9c7f09e9c [2021-04-30T21:59:01.899Z] $ docker rm -f 25ca3cf696abad97319f88730c15290ebbdf899d1e1e8aac273e2ab9c7f09e9c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:59:02.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T21:59:02.919Z] . [Pipeline] withDockerContainer [2021-04-30T21:59:03.189Z] prd-centos7-docker-4c-2g-2525 does not seem to be running inside a container [2021-04-30T21:59:03.343Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T21:59:04.818Z] $ docker top 72129aa1e24de0bfcb3a3f32207d2aaaf269853787ac6d4c3d4f42796dfc039b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T21:59:05.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T21:59:05.203Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T21:59:05.635Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T21:59:05.642Z] $ docker exec 72129aa1e24de0bfcb3a3f32207d2aaaf269853787ac6d4c3d4f42796dfc039b ssh-agent [2021-04-30T21:59:05.989Z] SSH_AUTH_SOCK=/tmp/ssh-cI8oNeygHT2Y/agent.11 [2021-04-30T21:59:05.989Z] SSH_AGENT_PID=16 [2021-04-30T21:59:06.007Z] Running ssh-add (command line suppressed) [2021-04-30T21:59:06.531Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7142007810051679261.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7142007810051679261.key) [2021-04-30T21:59:06.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T21:59:07.540Z] + git semver push [2021-04-30T21:59:07.540Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T21:59:07.540Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-04-30T21:59:07.540Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-04-30T21:59:07.540Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T21:59:07.540Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T21:59:07.540Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T21:59:07.540Z] # $SEMVER_BRANCH = master [2021-04-30T21:59:07.540Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-04-30T21:59:11.845Z] $ docker exec --env ******** --env ******** 72129aa1e24de0bfcb3a3f32207d2aaaf269853787ac6d4c3d4f42796dfc039b ssh-agent -k [2021-04-30T21:59:12.118Z] unset SSH_AUTH_SOCK; [2021-04-30T21:59:12.123Z] unset SSH_AGENT_PID; [2021-04-30T21:59:12.123Z] echo Agent pid 16 killed; [2021-04-30T21:59:12.236Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T21:59:12.618Z] + git semver [Pipeline] } [2021-04-30T21:59:12.638Z] $ docker stop --time=1 72129aa1e24de0bfcb3a3f32207d2aaaf269853787ac6d4c3d4f42796dfc039b [2021-04-30T21:59:14.258Z] $ docker rm -f 72129aa1e24de0bfcb3a3f32207d2aaaf269853787ac6d4c3d4f42796dfc039b [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-30T21:59:15.428Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:59:16.788Z] ---> package-listing.sh [2021-04-30T21:59:16.788Z] ++ facter osfamily [2021-04-30T21:59:16.788Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-30T21:59:17.058Z] + OS_FAMILY=redhat [2021-04-30T21:59:17.058Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-04-30T21:59:17.058Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-30T21:59:17.058Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-30T21:59:17.058Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-30T21:59:17.058Z] + PACKAGES=/tmp/packages_start.txt [2021-04-30T21:59:17.058Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-04-30T21:59:17.058Z] + PACKAGES=/tmp/packages_end.txt [2021-04-30T21:59:17.058Z] + case "${OS_FAMILY}" in [2021-04-30T21:59:17.058Z] + rpm -qa [2021-04-30T21:59:17.058Z] + sort [2021-04-30T21:59:23.807Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-30T21:59:23.807Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-30T21:59:23.807Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-30T21:59:23.807Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-04-30T21:59:23.807Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-04-30T21:59:23.807Z] + 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-30T21:59:23.828Z] 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-30T21:59:24.185Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:59:24.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T21:59:25.103Z] [2021-04-30T21:59:25.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-30T21:59:25.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T21:59:25.806Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-30T21:59:25.806Z] df20fa9351a1: Pulling fs layer [2021-04-30T21:59:25.806Z] 36b3adc4ff6f: Pulling fs layer [2021-04-30T21:59:25.806Z] 8ad3a11d3b57: Pulling fs layer [2021-04-30T21:59:25.806Z] 46f8f816bc3b: Pulling fs layer [2021-04-30T21:59:25.806Z] 93b61091891f: Pulling fs layer [2021-04-30T21:59:25.806Z] 93b9cdb0e59b: Pulling fs layer [2021-04-30T21:59:25.806Z] 5e14af77c1be: Pulling fs layer [2021-04-30T21:59:25.806Z] 01666e4c0597: Pulling fs layer [2021-04-30T21:59:25.806Z] aa168da1d23b: Pulling fs layer [2021-04-30T21:59:25.806Z] 93b9cdb0e59b: Waiting [2021-04-30T21:59:25.806Z] 5e14af77c1be: Waiting [2021-04-30T21:59:25.806Z] 01666e4c0597: Waiting [2021-04-30T21:59:25.806Z] aa168da1d23b: Waiting [2021-04-30T21:59:25.806Z] 46f8f816bc3b: Waiting [2021-04-30T21:59:25.806Z] 93b61091891f: Waiting [2021-04-30T21:59:25.806Z] 36b3adc4ff6f: Verifying Checksum [2021-04-30T21:59:25.806Z] 36b3adc4ff6f: Download complete [2021-04-30T21:59:25.806Z] 46f8f816bc3b: Verifying Checksum [2021-04-30T21:59:25.806Z] 46f8f816bc3b: Download complete [2021-04-30T21:59:26.133Z] df20fa9351a1: Verifying Checksum [2021-04-30T21:59:26.133Z] df20fa9351a1: Download complete [2021-04-30T21:59:26.133Z] 93b9cdb0e59b: Verifying Checksum [2021-04-30T21:59:26.133Z] 93b9cdb0e59b: Download complete [2021-04-30T21:59:26.133Z] 5e14af77c1be: Verifying Checksum [2021-04-30T21:59:26.133Z] 5e14af77c1be: Download complete [2021-04-30T21:59:26.133Z] 01666e4c0597: Verifying Checksum [2021-04-30T21:59:26.133Z] 01666e4c0597: Download complete [2021-04-30T21:59:26.428Z] 93b61091891f: Download complete [2021-04-30T21:59:26.750Z] df20fa9351a1: Pull complete [2021-04-30T21:59:26.750Z] 8ad3a11d3b57: Verifying Checksum [2021-04-30T21:59:26.750Z] 8ad3a11d3b57: Download complete [2021-04-30T21:59:27.058Z] 36b3adc4ff6f: Pull complete [2021-04-30T21:59:29.125Z] 8ad3a11d3b57: Pull complete [2021-04-30T21:59:29.456Z] 46f8f816bc3b: Pull complete [2021-04-30T21:59:30.172Z] 93b61091891f: Pull complete [2021-04-30T21:59:30.611Z] 93b9cdb0e59b: Pull complete [2021-04-30T21:59:31.421Z] 5e14af77c1be: Pull complete [2021-04-30T21:59:31.421Z] 01666e4c0597: Pull complete [2021-04-30T21:59:32.031Z] aa168da1d23b: Verifying Checksum [2021-04-30T21:59:32.031Z] aa168da1d23b: Download complete [2021-04-30T21:59:47.401Z] aa168da1d23b: Pull complete [2021-04-30T21:59:47.401Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-30T21:59:47.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T21:59:47.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-30T21:59:47.698Z] prd-centos7-docker-4c-2g-2525 does not seem to be running inside a container [2021-04-30T21:59:47.828Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-30T21:59:51.278Z] $ docker top 9418825b9f0de3d3a883c4d070e7f3028bcbc70669b55fcd961d096379e8f892 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T21:59:52.239Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-30T21:59:53.053Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-30T21:59:53.537Z] + ls /var/log/sa-host [2021-04-30T21:59:53.537Z] + sadf -c /var/log/sa-host/sa23 [2021-04-30T21:59:53.537Z] file_magic: OK [2021-04-30T21:59:53.537Z] HZ: Using current value: 100 [2021-04-30T21:59:53.537Z] file_header: OK [2021-04-30T21:59:53.537Z] 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-30T21:59:53.537Z] Statistics: [2021-04-30T21:59:53.537Z] Hnuu...uuuununununu... [2021-04-30T21:59:53.537Z] File successfully converted to sysstat format version 12.2.1 [2021-04-30T21:59:53.537Z] + sadf -c /var/log/sa-host/sa30 [2021-04-30T21:59:53.537Z] file_magic: OK [2021-04-30T21:59:53.537Z] HZ: Using current value: 100 [2021-04-30T21:59:53.537Z] file_header: OK [2021-04-30T21:59:53.537Z] 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-30T21:59:53.537Z] Statistics: [2021-04-30T21:59:53.537Z] HRHnuu...uuuununununu...Hnuu...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-30T21:59:53.537Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-30T21:59:54.223Z] provisioning config files... [2021-04-30T21:59:54.253Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4901663974972002644tmp [Pipeline] { [Pipeline] echo [2021-04-30T21:59:54.284Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:59:54.940Z] ---> create-netrc.sh [Pipeline] } [2021-04-30T21:59:54.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-30T21:59:54.976Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:59:55.306Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-30T21:59:55.319Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:59:55.632Z] ---> sudo-logs.sh [2021-04-30T21:59:55.633Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-30T21:59:55.679Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:59:56.019Z] ---> job-cost.sh [2021-04-30T21:59:56.288Z] lf-activate-venv: SKIPPING [2021-04-30T21:59:56.288Z] DEBUG: total: 0.20999999344348907 [2021-04-30T21:59:56.288Z] INFO: Retrieving Stack Cost... [2021-04-30T21:59:57.279Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-30T21:59:57.873Z] INFO: Archiving Costs [Pipeline] echo [2021-04-30T21:59:57.891Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T21:59:58.264Z] ---> logs-deploy.sh [2021-04-30T21:59:58.264Z] lf-activate-venv: SKIPPING [2021-04-30T21:59:58.264Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/36 [2021-04-30T21:59:58.264Z] INFO: archiving workspace using pattern(s): [2021-04-30T22:00:00.941Z] Archives upload complete. [2021-04-30T22:00:01.342Z] INFO: archiving logs to Nexus