Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from acb551efcb6a1b4088edd326f55b17ef654f475f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4937423106792623558.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6998190131470412558.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4736513265815962084.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7402804493031849631.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6003102383141834924.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_master@tmp/jenkins-gitclient-ssh1843654591992786647.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision acb551efcb6a1b4088edd326f55b17ef654f475f (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 core.sparsecheckout # timeout=10 > git checkout -f acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 Commit message: "Merge pull request #120 from lenny-intel/defaut-to-publish" > git rev-list --no-walk 597d67ccc6e047abbec756f631c33e19ce59cb1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-17T18:09:16.392Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-17T18:09:16.517Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-17T18:09:16.546Z] ========================================================= [2021-06-17T18:09:16.546Z] EdgeX Global Pipelines Version Info [2021-06-17T18:09:16.546Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:09:18.151Z] ------------------- [2021-06-17T18:09:18.151Z] stable info: [2021-06-17T18:09:18.151Z] ------------------- [2021-06-17T18:09:18.151Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-17T18:09:18.151Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:09:18.151Z] Message: update stable to v1.0.195 [2021-06-17T18:09:18.736Z] ------------------- [2021-06-17T18:09:18.736Z] experimental info: [2021-06-17T18:09:18.736Z] ------------------- [2021-06-17T18:09:18.736Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-17T18:09:18.736Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:09:18.736Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-17T18:09:18.876Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-17T18:09:18.909Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-17T18:09:18.935Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-17T18:09:18.963Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-17T18:09:18.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-17T18:09:19.018Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-17T18:09:19.043Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-17T18:09:19.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-17T18:09:19.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-17T18:09:19.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-17T18:09:19.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-17T18:09:19.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-17T18:09:19.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-17T18:09:19.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-17T18:09:19.287Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:09:19.312Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:09:19.357Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:09:19.382Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:09:19.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-17T18:09:19.428Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-17T18:09:19.452Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-17T18:09:19.477Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-17T18:09:19.500Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-17T18:09:19.526Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-17T18:09:19.557Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-17T18:09:19.582Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-17T18:09:19.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-17T18:09:19.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-17T18:09:19.675Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-17T18:09:19.702Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acb551efcb6a1b4088edd326f55b17ef654f475f [Pipeline] echo [2021-06-17T18:09:19.728Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acb551e [Pipeline] echo [2021-06-17T18:09:19.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:09:19.855Z] provisioning config files... [2021-06-17T18:09:19.870Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4737175463034864161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:09:20.190Z] ---> docker-login.sh [2021-06-17T18:09:20.190Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:09:20.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:09:20.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:09:20.190Z] Configure a credential helper to remove this warning. See [2021-06-17T18:09:20.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:09:20.190Z] [2021-06-17T18:09:20.190Z] Login Succeeded [2021-06-17T18:09:20.453Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:09:20.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:09:20.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:09:20.453Z] Configure a credential helper to remove this warning. See [2021-06-17T18:09:20.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:09:20.453Z] [2021-06-17T18:09:20.453Z] Login Succeeded [2021-06-17T18:09:20.453Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:09:20.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:09:20.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:09:20.716Z] Configure a credential helper to remove this warning. See [2021-06-17T18:09:20.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:09:20.716Z] [2021-06-17T18:09:20.716Z] Login Succeeded [2021-06-17T18:09:20.716Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:09:20.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:09:20.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:09:20.716Z] Configure a credential helper to remove this warning. See [2021-06-17T18:09:20.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:09:20.716Z] [2021-06-17T18:09:20.716Z] Login Succeeded [2021-06-17T18:09:20.716Z] docker.io [2021-06-17T18:09:20.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:09:20.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:09:20.979Z] Configure a credential helper to remove this warning. See [2021-06-17T18:09:20.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:09:20.979Z] [2021-06-17T18:09:20.979Z] Login Succeeded [2021-06-17T18:09:20.979Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:09:20.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:09:21.525Z] + git log --format=format:%s -1 acb551efcb6a1b4088edd326f55b17ef654f475f [Pipeline] echo [2021-06-17T18:09:21.572Z] GIT_COMMIT: acb551efcb6a1b4088edd326f55b17ef654f475f, Commit Message: Merge pull request #120 from lenny-intel/defaut-to-publish [Pipeline] echo [2021-06-17T18:09:21.587Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:09:22.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:09:22.715Z] [2021-06-17T18:09:22.715Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:09:23.065Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:09:23.065Z] latest: Pulling from edgex-devops/git-semver [2021-06-17T18:09:23.065Z] 31603596830f: Pulling fs layer [2021-06-17T18:09:23.065Z] 54011a49482f: Pulling fs layer [2021-06-17T18:09:23.065Z] a6820b24f6d8: Pulling fs layer [2021-06-17T18:09:23.065Z] f581987b2513: Pulling fs layer [2021-06-17T18:09:23.065Z] 54011a49482f: Verifying Checksum [2021-06-17T18:09:23.065Z] 54011a49482f: Download complete [2021-06-17T18:09:23.065Z] 31603596830f: Verifying Checksum [2021-06-17T18:09:23.065Z] 31603596830f: Download complete [2021-06-17T18:09:23.336Z] f581987b2513: Verifying Checksum [2021-06-17T18:09:23.336Z] f581987b2513: Download complete [2021-06-17T18:09:23.336Z] 31603596830f: Pull complete [2021-06-17T18:09:23.336Z] a6820b24f6d8: Verifying Checksum [2021-06-17T18:09:23.336Z] a6820b24f6d8: Download complete [2021-06-17T18:09:23.336Z] 54011a49482f: Pull complete [2021-06-17T18:09:23.935Z] a6820b24f6d8: Pull complete [2021-06-17T18:09:24.199Z] f581987b2513: Pull complete [2021-06-17T18:09:24.199Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-17T18:09:24.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:09:24.199Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-17T18:09:24.277Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-06-17T18:09:24.318Z] $ 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-06-17T18:09:25.230Z] $ docker top 7c645dc2362b77227091e9318c4ae173f531e4c729e872fe4c1f0d7c440b85f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:09:25.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:09:25.399Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:09:25.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:09:25.547Z] $ docker exec 7c645dc2362b77227091e9318c4ae173f531e4c729e872fe4c1f0d7c440b85f1 ssh-agent [2021-06-17T18:09:25.670Z] SSH_AUTH_SOCK=/tmp/ssh-uvXa5tjjAkBF/agent.14 [2021-06-17T18:09:25.670Z] SSH_AGENT_PID=21 [2021-06-17T18:09:25.678Z] Running ssh-add (command line suppressed) [2021-06-17T18:09:25.795Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3637080120135066166.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3637080120135066166.key) [2021-06-17T18:09:25.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:09:26.120Z] + git tag --points-at HEAD [Pipeline] } [2021-06-17T18:09:26.140Z] $ docker exec --env ******** --env ******** 7c645dc2362b77227091e9318c4ae173f531e4c729e872fe4c1f0d7c440b85f1 ssh-agent -k [2021-06-17T18:09:26.245Z] unset SSH_AUTH_SOCK; [2021-06-17T18:09:26.245Z] unset SSH_AGENT_PID; [2021-06-17T18:09:26.245Z] echo Agent pid 21 killed; [2021-06-17T18:09:26.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-17T18:09:26.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:09:26.304Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:09:26.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:09:26.427Z] $ docker exec 7c645dc2362b77227091e9318c4ae173f531e4c729e872fe4c1f0d7c440b85f1 ssh-agent [2021-06-17T18:09:26.548Z] SSH_AUTH_SOCK=/tmp/ssh-zYEQrwJ8yxgM/agent.56 [2021-06-17T18:09:26.548Z] SSH_AGENT_PID=63 [2021-06-17T18:09:26.554Z] Running ssh-add (command line suppressed) [2021-06-17T18:09:26.668Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5633947136265267638.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5633947136265267638.key) [2021-06-17T18:09:26.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:09:26.999Z] + git semver init [2021-06-17T18:09:27.000Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:09:27.000Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-17T18:09:27.000Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-17T18:09:27.000Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:09:27.000Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:09:27.000Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:09:27.000Z] # $SEMVER_BRANCH = master [2021-06-17T18:09:27.000Z] # $SEMVER_TEMP = /tmp/semver-096264261 [2021-06-17T18:09:27.000Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-17T18:09:27.955Z] # '/tmp/semver-096264261' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-06-17T18:09:27.955Z] # -> Force: false [2021-06-17T18:09:27.955Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-06-17T18:09:27.963Z] $ docker exec --env ******** --env ******** 7c645dc2362b77227091e9318c4ae173f531e4c729e872fe4c1f0d7c440b85f1 ssh-agent -k [2021-06-17T18:09:28.072Z] unset SSH_AUTH_SOCK; [2021-06-17T18:09:28.072Z] unset SSH_AGENT_PID; [2021-06-17T18:09:28.072Z] echo Agent pid 63 killed; [2021-06-17T18:09:28.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:09:28.442Z] + git semver [Pipeline] } [2021-06-17T18:09:28.455Z] $ docker stop --time=1 7c645dc2362b77227091e9318c4ae173f531e4c729e872fe4c1f0d7c440b85f1 [2021-06-17T18:09:29.747Z] $ docker rm -f 7c645dc2362b77227091e9318c4ae173f531e4c729e872fe4c1f0d7c440b85f1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:09:30.138Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-17T18:09:30.672Z] Stashed 1 file(s) [Pipeline] echo [2021-06-17T18:09:30.676Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.19 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-17T18:09:46.091Z] Still waiting to schedule task [2021-06-17T18:09:46.091Z] ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-17T18:09:46.091Z] ‘prd-centos7-builder-2c-1g-22’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-17T18:09:46.091Z] ‘prd-centos7-docker-4c-2g-17’ is offline [2021-06-17T18:09:46.091Z] ‘prd-centos7-docker-4c-2g-1825’ is offline [2021-06-17T18:09:46.092Z] ‘prd-centos7-docker-4c-2g-28’ is offline [2021-06-17T18:09:46.092Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-17T18:09:46.092Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-17T18:09:46.094Z] Still waiting to schedule task [2021-06-17T18:09:46.094Z] ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-17T18:09:46.094Z] ‘prd-centos7-builder-2c-1g-22’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-17T18:09:46.094Z] ‘prd-centos7-docker-4c-2g-17’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-17T18:09:46.094Z] ‘prd-centos7-docker-4c-2g-1825’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-17T18:09:46.094Z] ‘prd-centos7-docker-4c-2g-28’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-17T18:09:46.095Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13’ is offline [2021-06-17T18:09:46.095Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26’ is offline [2021-06-17T18:11:04.211Z] Running on prd-centos7-docker-4c-2g-30 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-06-17T18:11:04.231Z] Running in /w/workspace/device-rest-go/53 [Pipeline] { [Pipeline] checkout [2021-06-17T18:11:04.334Z] The recommended git tool is: git [2021-06-17T18:11:06.828Z] using credential edgex-jenkins-ssh [2021-06-17T18:11:06.843Z] Cloning the remote Git repository [2021-06-17T18:11:06.253Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T18:11:06.318Z] > git init /w/workspace/device-rest-go/53 # timeout=10 [2021-06-17T18:11:06.347Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T18:11:06.347Z] > git --version # timeout=10 [2021-06-17T18:11:06.356Z] > git --version # 'git version 2.24.4' [2021-06-17T18:11:06.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:11:06.401Z] [INFO] Currently running in a labeled security context [2021-06-17T18:11:06.401Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T18:11:06.401Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/53@tmp/jenkins-gitclient-ssh6016366229169711765.key [2021-06-17T18:11:06.427Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:11:08.056Z] Avoid second fetch [2021-06-17T18:11:08.057Z] Checking out Revision acb551efcb6a1b4088edd326f55b17ef654f475f (master) [2021-06-17T18:11:07.429Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-17T18:11:07.436Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:11:07.456Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:11:07.463Z] > git checkout -f acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-17T18:11:11.603Z] Commit message: "Merge pull request #120 from lenny-intel/defaut-to-publish" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:11:12.551Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:11:12.877Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:11:13.189Z] + sudo service docker restart [2021-06-17T18:11:13.189Z] + true [2021-06-17T18:11:13.189Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:11:31.387Z] provisioning config files... [2021-06-17T18:11:31.402Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/53@tmp/config4908822561056687786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:11:31.723Z] ---> docker-login.sh [2021-06-17T18:11:31.723Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:11:31.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:11:31.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:11:31.986Z] Configure a credential helper to remove this warning. See [2021-06-17T18:11:31.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:11:31.986Z] [2021-06-17T18:11:31.986Z] Login Succeeded [2021-06-17T18:11:31.986Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:11:31.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:11:31.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:11:31.986Z] Configure a credential helper to remove this warning. See [2021-06-17T18:11:31.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:11:31.986Z] [2021-06-17T18:11:31.986Z] Login Succeeded [2021-06-17T18:11:31.986Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:11:31.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:11:32.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:11:32.247Z] Configure a credential helper to remove this warning. See [2021-06-17T18:11:32.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:11:32.247Z] [2021-06-17T18:11:32.247Z] Login Succeeded [2021-06-17T18:11:32.247Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:11:32.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:11:32.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:11:32.248Z] Configure a credential helper to remove this warning. See [2021-06-17T18:11:32.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:11:32.248Z] [2021-06-17T18:11:32.248Z] Login Succeeded [2021-06-17T18:11:32.248Z] docker.io [2021-06-17T18:11:32.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:11:32.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:11:32.821Z] Configure a credential helper to remove this warning. See [2021-06-17T18:11:32.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:11:32.821Z] [2021-06-17T18:11:32.821Z] Login Succeeded [2021-06-17T18:11:32.821Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:11:32.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T18:11:33.017Z] ========================================================= [2021-06-17T18:11:33.018Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-17T18:11:33.018Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:11:33.344Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-17T18:11:33.344Z] Sending build context to Docker daemon 92.16kB [2021-06-17T18:11:33.344Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:11:33.344Z] Step 2/10 : FROM ${BASE} [2021-06-17T18:11:33.344Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-17T18:11:33.344Z] 540db60ca938: Pulling fs layer [2021-06-17T18:11:33.344Z] adcc1eea9eea: Pulling fs layer [2021-06-17T18:11:33.344Z] 4c4ab2625f07: Pulling fs layer [2021-06-17T18:11:33.344Z] 0510c868ecb4: Pulling fs layer [2021-06-17T18:11:33.344Z] afea3b2eda06: Pulling fs layer [2021-06-17T18:11:33.344Z] 7809a108b3ef: Pulling fs layer [2021-06-17T18:11:33.344Z] f706445af74f: Pulling fs layer [2021-06-17T18:11:33.344Z] 0510c868ecb4: Waiting [2021-06-17T18:11:33.344Z] afea3b2eda06: Waiting [2021-06-17T18:11:33.344Z] 7809a108b3ef: Waiting [2021-06-17T18:11:33.344Z] f706445af74f: Waiting [2021-06-17T18:11:33.344Z] 4c4ab2625f07: Verifying Checksum [2021-06-17T18:11:33.344Z] 4c4ab2625f07: Download complete [2021-06-17T18:11:33.344Z] adcc1eea9eea: Download complete [2021-06-17T18:11:33.617Z] afea3b2eda06: Verifying Checksum [2021-06-17T18:11:33.617Z] afea3b2eda06: Download complete [2021-06-17T18:11:33.617Z] 540db60ca938: Verifying Checksum [2021-06-17T18:11:33.617Z] 540db60ca938: Download complete [2021-06-17T18:11:33.617Z] 7809a108b3ef: Verifying Checksum [2021-06-17T18:11:33.617Z] 7809a108b3ef: Download complete [2021-06-17T18:11:33.617Z] 540db60ca938: Pull complete [2021-06-17T18:11:33.889Z] adcc1eea9eea: Pull complete [2021-06-17T18:11:33.889Z] 4c4ab2625f07: Pull complete [2021-06-17T18:11:34.831Z] f706445af74f: Verifying Checksum [2021-06-17T18:11:34.831Z] f706445af74f: Download complete [2021-06-17T18:11:35.404Z] 0510c868ecb4: Verifying Checksum [2021-06-17T18:11:35.404Z] 0510c868ecb4: Download complete [2021-06-17T18:11:38.736Z] 0510c868ecb4: Pull complete [2021-06-17T18:11:38.736Z] afea3b2eda06: Pull complete [2021-06-17T18:11:38.736Z] 7809a108b3ef: Pull complete [2021-06-17T18:11:40.133Z] f706445af74f: Pull complete [2021-06-17T18:11:40.394Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-17T18:11:40.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-17T18:11:40.395Z] ---> b068be0155e3 [2021-06-17T18:11:40.395Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:11:43.706Z] ---> Running in 2c9a4ff211cd [2021-06-17T18:11:43.706Z] Removing intermediate container 2c9a4ff211cd [2021-06-17T18:11:43.706Z] ---> c753c9e3f1df [2021-06-17T18:11:43.706Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:11:43.706Z] ---> Running in 0627c5698732 [2021-06-17T18:11:43.706Z] Removing intermediate container 0627c5698732 [2021-06-17T18:11:43.706Z] ---> 7344a58684d5 [2021-06-17T18:11:43.706Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-17T18:11:43.706Z] ---> Running in 56986ad7e311 [2021-06-17T18:11:43.706Z] Removing intermediate container 56986ad7e311 [2021-06-17T18:11:43.706Z] ---> f5621b5f3e62 [2021-06-17T18:11:43.706Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:11:43.706Z] ---> Running in 462e8372d444 [2021-06-17T18:11:44.282Z] Removing intermediate container 462e8372d444 [2021-06-17T18:11:44.282Z] ---> f82f3531e149 [2021-06-17T18:11:44.282Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:11:44.282Z] ---> Running in f963f91cdb9f [2021-06-17T18:11:44.542Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:11:45.484Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:11:46.059Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-17T18:11:46.059Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-17T18:11:46.059Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-17T18:11:46.059Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-17T18:11:46.321Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T18:11:46.321Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-17T18:11:46.321Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-17T18:11:46.901Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-17T18:11:46.901Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-17T18:11:46.901Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T18:11:46.901Z] OK: 154 MiB in 49 packages [2021-06-17T18:11:47.476Z] Removing intermediate container f963f91cdb9f [2021-06-17T18:11:47.476Z] ---> cf2ad3057596 [2021-06-17T18:11:47.476Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-17T18:11:47.476Z] ---> Running in 27706f2a8f89 [2021-06-17T18:11:47.476Z] Removing intermediate container 27706f2a8f89 [2021-06-17T18:11:47.476Z] ---> 5580ea1c0a37 [2021-06-17T18:11:47.476Z] Step 9/10 : COPY . . [2021-06-17T18:11:47.736Z] ---> a9198a0a8837 [2021-06-17T18:11:47.736Z] Step 10/10 : RUN go mod download [2021-06-17T18:11:47.736Z] ---> Running in 70e2234bb24b [2021-06-17T18:12:00.004Z] Removing intermediate container 70e2234bb24b [2021-06-17T18:12:00.004Z] ---> ee0472b3a08c [2021-06-17T18:12:00.004Z] Successfully built ee0472b3a08c [2021-06-17T18:12:00.004Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:00.310Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T18:12:00.310Z] . [Pipeline] withDockerContainer [2021-06-17T18:12:00.385Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-06-17T18:12:00.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T18:12:00.738Z] $ docker top c970e3d6665a773eebe5d0b9249e4e273060d432f78275a695048a2ee3a2cb2e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:12:01.116Z] + go version [2021-06-17T18:12:01.117Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-17T18:12:01.127Z] $ docker stop --time=1 c970e3d6665a773eebe5d0b9249e4e273060d432f78275a695048a2ee3a2cb2e [2021-06-17T18:12:02.312Z] $ docker rm -f c970e3d6665a773eebe5d0b9249e4e273060d432f78275a695048a2ee3a2cb2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:02.932Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T18:12:02.932Z] . [Pipeline] withDockerContainer [2021-06-17T18:12:03.014Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-06-17T18:12:03.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T18:12:03.426Z] $ docker top 01b5bf78fae0a3913379d3e1a03bf73490315caad12acbdb194569a790f73c86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:12:03.825Z] + go mod tidy [Pipeline] sh [2021-06-17T18:12:04.397Z] + make test [2021-06-17T18:12:04.397Z] go mod tidy [2021-06-17T18:12:04.397Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-17T18:12:04.978Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-17T18:12:20.014Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-17T18:12:20.277Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-17T18:12:20.551Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T18:12:27.250Z] gofmt -l . [2021-06-17T18:12:27.250Z] [ "`gofmt -l .`" = "" ] [2021-06-17T18:12:27.250Z] ./bin/test-go-mod-tidy.sh [2021-06-17T18:12:27.250Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-17T18:12:27.838Z] $ docker stop --time=1 01b5bf78fae0a3913379d3e1a03bf73490315caad12acbdb194569a790f73c86 [2021-06-17T18:12:29.195Z] $ docker rm -f 01b5bf78fae0a3913379d3e1a03bf73490315caad12acbdb194569a790f73c86 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:12:29.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T18:12:29.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-17T18:12:31.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T18:12:31.541Z] + ls -al . [2021-06-17T18:12:31.542Z] total 104 [2021-06-17T18:12:31.542Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 17 18:12 . [2021-06-17T18:12:31.542Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 17 18:11 .. [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 17 18:11 Attribution.txt [2021-06-17T18:12:31.542Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 18:11 bin [2021-06-17T18:12:31.542Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 18:11 cmd [2021-06-17T18:12:31.542Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 17 18:12 coverage.out [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 17 18:11 Dockerfile [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 17 18:11 Dockerfile.build [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 17 18:11 .dockerignore [2021-06-17T18:12:31.542Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 17 18:11 driver [2021-06-17T18:12:31.542Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 17 18:11 .git [2021-06-17T18:12:31.542Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 18:11 .github [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 17 18:11 .gitignore [2021-06-17T18:12:31.542Z] -rw-r--r--. 1 jenkins jenkins 286 Jun 17 18:12 go.mod [2021-06-17T18:12:31.542Z] -rw-r--r--. 1 jenkins jenkins 20777 Jun 17 18:12 go.sum [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 17 18:11 Jenkinsfile [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 18:11 LICENSE [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 17 18:11 Makefile [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 17 18:11 README.md [2021-06-17T18:12:31.542Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 17 18:11 snap [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 17 18:09 VERSION [2021-06-17T18:12:31.542Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 17 18:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:31.868Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=acb551efcb6a1b4088edd326f55b17ef654f475f --label arch=amd64 --label version=1.2.2-dev.19 . [2021-06-17T18:12:31.868Z] Sending build context to Docker daemon 101.9kB [2021-06-17T18:12:31.868Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:12:31.868Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-17T18:12:31.868Z] ---> ee0472b3a08c [2021-06-17T18:12:31.868Z] Step 3/25 : ARG MAKE='make build' [2021-06-17T18:12:31.868Z] ---> Running in d51c6d1f5fdf [2021-06-17T18:12:31.868Z] Removing intermediate container d51c6d1f5fdf [2021-06-17T18:12:31.868Z] ---> 7c06069e7c8d [2021-06-17T18:12:31.868Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:12:31.868Z] ---> Running in b78b1f8f6717 [2021-06-17T18:12:32.131Z] Removing intermediate container b78b1f8f6717 [2021-06-17T18:12:32.131Z] ---> 40c0ae7f653a [2021-06-17T18:12:32.131Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:12:32.131Z] ---> Running in 691f45385d30 [2021-06-17T18:12:32.131Z] Removing intermediate container 691f45385d30 [2021-06-17T18:12:32.131Z] ---> 776d9bee6d4a [2021-06-17T18:12:32.131Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:12:32.131Z] ---> Running in fc9011dbc9ea [2021-06-17T18:12:32.702Z] Removing intermediate container fc9011dbc9ea [2021-06-17T18:12:32.702Z] ---> 0b6ac7dbe625 [2021-06-17T18:12:32.702Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:12:32.702Z] ---> Running in 91d6c2594e83 [2021-06-17T18:12:32.964Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:12:33.910Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:12:34.485Z] OK: 154 MiB in 49 packages [2021-06-17T18:12:34.750Z] Removing intermediate container 91d6c2594e83 [2021-06-17T18:12:34.750Z] ---> e3a7be66129a [2021-06-17T18:12:34.750Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-17T18:12:34.750Z] ---> Running in 6bcbac40f7dd [2021-06-17T18:12:34.750Z] Removing intermediate container 6bcbac40f7dd [2021-06-17T18:12:34.750Z] ---> 6d35d1da69fd [2021-06-17T18:12:34.750Z] Step 9/25 : COPY . . [2021-06-17T18:12:35.018Z] ---> fc06fccd8177 [2021-06-17T18:12:35.018Z] Step 10/25 : RUN go mod tidy [2021-06-17T18:12:35.018Z] ---> Running in ca324309714c [2021-06-17T18:12:35.596Z] Removing intermediate container ca324309714c [2021-06-17T18:12:35.596Z] ---> 56eced582555 [2021-06-17T18:12:35.596Z] Step 11/25 : RUN make update [2021-06-17T18:12:35.596Z] ---> Running in b11c5dec4209 [2021-06-17T18:12:35.862Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-17T18:12:36.125Z] Removing intermediate container b11c5dec4209 [2021-06-17T18:12:36.125Z] ---> c22ea4106218 [2021-06-17T18:12:36.125Z] Step 12/25 : RUN $MAKE [2021-06-17T18:12:36.125Z] ---> Running in f667422cb51f [2021-06-17T18:12:36.396Z] go mod tidy [2021-06-17T18:12:36.658Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.19" -o cmd/device-rest ./cmd [2021-06-17T18:12:49.052Z] Removing intermediate container f667422cb51f [2021-06-17T18:12:49.052Z] ---> d71d7e0174bd [2021-06-17T18:12:49.052Z] Step 13/25 : FROM alpine:3.12 [2021-06-17T18:12:49.052Z] 3.12: Pulling from library/alpine [2021-06-17T18:12:49.052Z] 339de151aab4: Pulling fs layer [2021-06-17T18:12:49.052Z] 339de151aab4: Verifying Checksum [2021-06-17T18:12:49.052Z] 339de151aab4: Download complete [2021-06-17T18:12:49.052Z] 339de151aab4: Pull complete [2021-06-17T18:12:49.052Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T18:12:49.052Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T18:12:49.052Z] ---> 13621d1b12d4 [2021-06-17T18:12:49.052Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-17T18:12:49.052Z] ---> Running in 47bbf0b528b7 [2021-06-17T18:12:49.052Z] Removing intermediate container 47bbf0b528b7 [2021-06-17T18:12:49.052Z] ---> 485512c38079 [2021-06-17T18:12:49.052Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-17T18:12:49.052Z] ---> Running in fbc4442e23c2 [2021-06-17T18:12:49.052Z] Removing intermediate container fbc4442e23c2 [2021-06-17T18:12:49.052Z] ---> 3c43e7ba5144 [2021-06-17T18:12:49.052Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T18:12:49.052Z] ---> Running in 5c543ae56901 [2021-06-17T18:12:49.052Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:12:49.052Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:12:49.052Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T18:12:49.052Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T18:12:49.052Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T18:12:49.052Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T18:12:49.052Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T18:12:49.052Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T18:12:49.052Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T18:12:49.052Z] OK: 8 MiB in 20 packages [2021-06-17T18:12:49.052Z] Removing intermediate container 5c543ae56901 [2021-06-17T18:12:49.052Z] ---> 1a34880055d4 [2021-06-17T18:12:49.052Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-17T18:12:49.316Z] ---> cbc10ea75df4 [2021-06-17T18:12:49.316Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-17T18:12:49.316Z] ---> d263400d9bd2 [2021-06-17T18:12:49.316Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-17T18:12:49.581Z] ---> cbda2535e05c [2021-06-17T18:12:49.581Z] Step 20/25 : EXPOSE 59986 [2021-06-17T18:12:49.581Z] ---> Running in 82cf08708d37 [2021-06-17T18:12:49.581Z] Removing intermediate container 82cf08708d37 [2021-06-17T18:12:49.581Z] ---> c8afc4253d79 [2021-06-17T18:12:49.581Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-17T18:12:49.846Z] ---> Running in 90206f9cf3db [2021-06-17T18:12:49.846Z] Removing intermediate container 90206f9cf3db [2021-06-17T18:12:49.846Z] ---> 5705ed828302 [2021-06-17T18:12:49.846Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-17T18:12:49.846Z] ---> Running in 8af45225da32 [2021-06-17T18:12:49.846Z] Removing intermediate container 8af45225da32 [2021-06-17T18:12:49.846Z] ---> 7e44073b2e51 [2021-06-17T18:12:49.846Z] Step 23/25 : LABEL arch=amd64 [2021-06-17T18:12:49.846Z] ---> Running in 8ea89fdfb76a [2021-06-17T18:12:50.114Z] Removing intermediate container 8ea89fdfb76a [2021-06-17T18:12:50.114Z] ---> 5840e93e034e [2021-06-17T18:12:50.114Z] Step 24/25 : LABEL git_sha=acb551efcb6a1b4088edd326f55b17ef654f475f [2021-06-17T18:12:50.114Z] ---> Running in 26c8d6a0414b [2021-06-17T18:12:50.114Z] Removing intermediate container 26c8d6a0414b [2021-06-17T18:12:50.114Z] ---> 05eee71bdd30 [2021-06-17T18:12:50.114Z] Step 25/25 : LABEL version=1.2.2-dev.19 [2021-06-17T18:12:50.114Z] ---> Running in 6c202fc23857 [2021-06-17T18:12:50.377Z] Removing intermediate container 6c202fc23857 [2021-06-17T18:12:50.377Z] ---> 2a1a82e95b67 [2021-06-17T18:12:50.377Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T18:12:50.377Z] Successfully built 2a1a82e95b67 [2021-06-17T18:12:50.377Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:12:50.631Z] provisioning config files... [2021-06-17T18:12:50.650Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/53@tmp/config5552186320845676504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:12:50.982Z] ---> docker-login.sh [2021-06-17T18:12:50.982Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:12:50.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:12:50.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:12:50.982Z] Configure a credential helper to remove this warning. See [2021-06-17T18:12:50.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:12:50.982Z] [2021-06-17T18:12:50.982Z] Login Succeeded [2021-06-17T18:12:50.982Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:12:50.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:12:51.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:12:51.248Z] Configure a credential helper to remove this warning. See [2021-06-17T18:12:51.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:12:51.248Z] [2021-06-17T18:12:51.248Z] Login Succeeded [2021-06-17T18:12:51.248Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:12:51.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:12:51.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:12:51.248Z] Configure a credential helper to remove this warning. See [2021-06-17T18:12:51.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:12:51.248Z] [2021-06-17T18:12:51.248Z] Login Succeeded [2021-06-17T18:12:51.248Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:12:51.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:12:51.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:12:51.514Z] Configure a credential helper to remove this warning. See [2021-06-17T18:12:51.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:12:51.514Z] [2021-06-17T18:12:51.514Z] Login Succeeded [2021-06-17T18:12:51.514Z] docker.io [2021-06-17T18:12:51.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:12:51.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:12:51.779Z] Configure a credential helper to remove this warning. See [2021-06-17T18:12:51.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:12:51.779Z] [2021-06-17T18:12:51.779Z] Login Succeeded [2021-06-17T18:12:51.779Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:12:51.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T18:12:51.872Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-06-17T18:12:51.873Z] acb551efcb6a1b4088edd326f55b17ef654f475f [2021-06-17T18:12:51.873Z] latest [2021-06-17T18:12:51.873Z] 1.2.2-dev.19 [2021-06-17T18:12:51.873Z] acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19 [2021-06-17T18:12:51.873Z] master [2021-06-17T18:12:51.873Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:52.259Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:acb551efcb6a1b4088edd326f55b17ef654f475f [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:52.577Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:acb551efcb6a1b4088edd326f55b17ef654f475f [2021-06-17T18:12:52.577Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-17T18:12:52.577Z] 454e418cdabe: Preparing [2021-06-17T18:12:52.577Z] 339e1afd15bb: Preparing [2021-06-17T18:12:52.577Z] 60e45765433d: Preparing [2021-06-17T18:12:52.577Z] 64a37e475007: Preparing [2021-06-17T18:12:52.577Z] 32f366d666a5: Preparing [2021-06-17T18:12:52.577Z] 32f366d666a5: Layer already exists [2021-06-17T18:12:52.879Z] 339e1afd15bb: Pushed [2021-06-17T18:12:52.879Z] 454e418cdabe: Pushed [2021-06-17T18:12:52.879Z] 64a37e475007: Pushed [2021-06-17T18:12:53.838Z] 60e45765433d: Pushed [2021-06-17T18:12:54.100Z] acb551efcb6a1b4088edd326f55b17ef654f475f: digest: sha256:61319c9e5932b61eeaad93c8d30413f2779d156898c3a93c172979e60d703ba3 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:54.423Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:54.722Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-06-17T18:12:54.722Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-17T18:12:54.722Z] 454e418cdabe: Preparing [2021-06-17T18:12:54.722Z] 339e1afd15bb: Preparing [2021-06-17T18:12:54.722Z] 60e45765433d: Preparing [2021-06-17T18:12:54.722Z] 64a37e475007: Preparing [2021-06-17T18:12:54.722Z] 32f366d666a5: Preparing [2021-06-17T18:12:54.722Z] 64a37e475007: Layer already exists [2021-06-17T18:12:54.722Z] 32f366d666a5: Layer already exists [2021-06-17T18:12:54.722Z] 339e1afd15bb: Layer already exists [2021-06-17T18:12:54.722Z] 60e45765433d: Layer already exists [2021-06-17T18:12:54.722Z] 454e418cdabe: Layer already exists [2021-06-17T18:12:54.722Z] latest: digest: sha256:61319c9e5932b61eeaad93c8d30413f2779d156898c3a93c172979e60d703ba3 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:55.059Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:55.358Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.19 [2021-06-17T18:12:55.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-17T18:12:55.362Z] 454e418cdabe: Preparing [2021-06-17T18:12:55.362Z] 339e1afd15bb: Preparing [2021-06-17T18:12:55.362Z] 60e45765433d: Preparing [2021-06-17T18:12:55.362Z] 64a37e475007: Preparing [2021-06-17T18:12:55.362Z] 32f366d666a5: Preparing [2021-06-17T18:12:55.362Z] 64a37e475007: Layer already exists [2021-06-17T18:12:55.362Z] 454e418cdabe: Layer already exists [2021-06-17T18:12:55.362Z] 339e1afd15bb: Layer already exists [2021-06-17T18:12:55.362Z] 32f366d666a5: Layer already exists [2021-06-17T18:12:55.362Z] 60e45765433d: Layer already exists [2021-06-17T18:12:55.362Z] 1.2.2-dev.19: digest: sha256:61319c9e5932b61eeaad93c8d30413f2779d156898c3a93c172979e60d703ba3 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:55.673Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:55.982Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19 [2021-06-17T18:12:55.983Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-17T18:12:55.983Z] 454e418cdabe: Preparing [2021-06-17T18:12:55.983Z] 339e1afd15bb: Preparing [2021-06-17T18:12:55.983Z] 60e45765433d: Preparing [2021-06-17T18:12:55.983Z] 64a37e475007: Preparing [2021-06-17T18:12:55.983Z] 32f366d666a5: Preparing [2021-06-17T18:12:55.983Z] 454e418cdabe: Layer already exists [2021-06-17T18:12:55.983Z] 32f366d666a5: Layer already exists [2021-06-17T18:12:55.983Z] 60e45765433d: Layer already exists [2021-06-17T18:12:55.983Z] 339e1afd15bb: Layer already exists [2021-06-17T18:12:55.983Z] 64a37e475007: Layer already exists [2021-06-17T18:12:55.983Z] acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19: digest: sha256:61319c9e5932b61eeaad93c8d30413f2779d156898c3a93c172979e60d703ba3 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:56.295Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:12:56.613Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-06-17T18:12:56.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-17T18:12:56.613Z] 454e418cdabe: Preparing [2021-06-17T18:12:56.613Z] 339e1afd15bb: Preparing [2021-06-17T18:12:56.613Z] 60e45765433d: Preparing [2021-06-17T18:12:56.613Z] 64a37e475007: Preparing [2021-06-17T18:12:56.613Z] 32f366d666a5: Preparing [2021-06-17T18:12:56.613Z] 64a37e475007: Layer already exists [2021-06-17T18:12:56.613Z] 339e1afd15bb: Layer already exists [2021-06-17T18:12:56.613Z] 454e418cdabe: Layer already exists [2021-06-17T18:12:56.613Z] 60e45765433d: Layer already exists [2021-06-17T18:12:56.613Z] 32f366d666a5: Layer already exists [2021-06-17T18:12:56.613Z] master: digest: sha256:61319c9e5932b61eeaad93c8d30413f2779d156898c3a93c172979e60d703ba3 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T18:12:56.684Z] ===================================================== [Pipeline] echo [2021-06-17T18:12:56.704Z] taggedImages: [2021-06-17T18:12:56.704Z] - nexus3.edgexfoundry.org:10004/device-rest:acb551efcb6a1b4088edd326f55b17ef654f475f [2021-06-17T18:12:56.704Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-06-17T18:12:56.704Z] - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.19 [2021-06-17T18:12:56.704Z] - nexus3.edgexfoundry.org:10004/device-rest:acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19 [2021-06-17T18:12:56.704Z] - nexus3.edgexfoundry.org:10004/device-rest: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-06-17T18:12:57.274Z] ---> job-cost.sh [2021-06-17T18:12:57.274Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-53kl [2021-06-17T18:13:05.455Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T18:13:10.067Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-06-17T18:13:10.086Z] Running in /w/workspace/device-rest-go/53 [Pipeline] { [Pipeline] checkout [2021-06-17T18:13:10.395Z] The recommended git tool is: git [2021-06-17T18:13:16.785Z] using credential edgex-jenkins-ssh [2021-06-17T18:13:16.806Z] Cloning the remote Git repository [2021-06-17T18:13:16.859Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T18:13:16.994Z] > git init /w/workspace/device-rest-go/53 # timeout=10 [2021-06-17T18:13:17.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T18:13:17.162Z] > git --version # timeout=10 [2021-06-17T18:13:17.212Z] > git --version # 'git version 2.17.1' [2021-06-17T18:13:17.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:13:17.378Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:13:19.316Z] Avoid second fetch [2021-06-17T18:13:19.318Z] Checking out Revision acb551efcb6a1b4088edd326f55b17ef654f475f (master) [2021-06-17T18:13:20.432Z] lf-activate-venv(): INFO: Adding /tmp/venv-53kl/bin to PATH [2021-06-17T18:13:20.432Z] INFO: No Stack... [2021-06-17T18:13:20.432Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T18:13:20.432Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T18:13:19.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-17T18:13:19.276Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:13:19.333Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:13:19.354Z] > git checkout -f acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-17T18:13:20.754Z] + cut -d, -f6 [2021-06-17T18:13:20.755Z] + cat /w/workspace/device-rest-go/53/archives/cost.csv [Pipeline] lock [2021-06-17T18:13:20.791Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-53-stack-cost] [2021-06-17T18:13:20.799Z] Resource [jenkins-edgexfoundry-device-rest-go-master-53-stack-cost] did not exist. Created. [2021-06-17T18:13:20.799Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T18:13:21.125Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-17T18:13:21.206Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T18:13:21.218Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-53-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-17T18:13:23.918Z] Commit message: "Merge pull request #120 from lenny-intel/defaut-to-publish" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:13:25.190Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:13:25.629Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:13:25.989Z] + sudo service docker restart [2021-06-17T18:13:25.990Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:13:44.392Z] provisioning config files... [2021-06-17T18:13:44.434Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/53@tmp/config6160396058625106974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:13:44.873Z] ---> docker-login.sh [2021-06-17T18:13:44.873Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:13:45.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:13:46.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:13:46.143Z] Configure a credential helper to remove this warning. See [2021-06-17T18:13:46.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:13:46.143Z] [2021-06-17T18:13:46.143Z] Login Succeeded [2021-06-17T18:13:46.143Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:13:46.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:13:46.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:13:46.747Z] Configure a credential helper to remove this warning. See [2021-06-17T18:13:46.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:13:46.747Z] [2021-06-17T18:13:46.747Z] Login Succeeded [2021-06-17T18:13:46.747Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:13:47.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:13:47.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:13:47.363Z] Configure a credential helper to remove this warning. See [2021-06-17T18:13:47.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:13:47.363Z] [2021-06-17T18:13:47.363Z] Login Succeeded [2021-06-17T18:13:47.363Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:13:47.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:13:47.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:13:47.973Z] Configure a credential helper to remove this warning. See [2021-06-17T18:13:47.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:13:47.973Z] [2021-06-17T18:13:47.973Z] Login Succeeded [2021-06-17T18:13:47.973Z] docker.io [2021-06-17T18:13:48.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:13:48.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:13:48.858Z] Configure a credential helper to remove this warning. See [2021-06-17T18:13:48.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:13:48.858Z] [2021-06-17T18:13:48.858Z] Login Succeeded [2021-06-17T18:13:48.858Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:13:48.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T18:13:49.264Z] ========================================================= [2021-06-17T18:13:49.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-17T18:13:49.265Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:13:49.633Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-17T18:13:49.633Z] Sending build context to Docker daemon 92.16kB [2021-06-17T18:13:49.928Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:13:49.928Z] Step 2/10 : FROM ${BASE} [2021-06-17T18:13:50.207Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-17T18:13:50.207Z] 595b0fe564bb: Pulling fs layer [2021-06-17T18:13:50.207Z] 3088b5b3c5c0: Pulling fs layer [2021-06-17T18:13:50.207Z] 5b7225fbf94c: Pulling fs layer [2021-06-17T18:13:50.207Z] ba82ee9f976e: Pulling fs layer [2021-06-17T18:13:50.207Z] 506bd15cee9f: Pulling fs layer [2021-06-17T18:13:50.207Z] 75a0a4a0db45: Pulling fs layer [2021-06-17T18:13:50.207Z] 618dc40b7e24: Pulling fs layer [2021-06-17T18:13:50.207Z] ba82ee9f976e: Waiting [2021-06-17T18:13:50.207Z] 506bd15cee9f: Waiting [2021-06-17T18:13:50.207Z] 75a0a4a0db45: Waiting [2021-06-17T18:13:50.207Z] 618dc40b7e24: Waiting [2021-06-17T18:13:50.207Z] 5b7225fbf94c: Verifying Checksum [2021-06-17T18:13:50.207Z] 5b7225fbf94c: Download complete [2021-06-17T18:13:50.207Z] 3088b5b3c5c0: Download complete [2021-06-17T18:13:50.485Z] 506bd15cee9f: Verifying Checksum [2021-06-17T18:13:50.485Z] 506bd15cee9f: Download complete [2021-06-17T18:13:50.485Z] 75a0a4a0db45: Verifying Checksum [2021-06-17T18:13:50.485Z] 75a0a4a0db45: Download complete [2021-06-17T18:13:50.485Z] 595b0fe564bb: Download complete [2021-06-17T18:13:51.113Z] 595b0fe564bb: Pull complete [2021-06-17T18:13:51.721Z] 3088b5b3c5c0: Pull complete [2021-06-17T18:13:52.327Z] 5b7225fbf94c: Pull complete [2021-06-17T18:13:52.927Z] 618dc40b7e24: Verifying Checksum [2021-06-17T18:13:52.927Z] 618dc40b7e24: Download complete [2021-06-17T18:13:54.369Z] ba82ee9f976e: Verifying Checksum [2021-06-17T18:13:54.369Z] ba82ee9f976e: Download complete [2021-06-17T18:14:04.549Z] ba82ee9f976e: Pull complete [2021-06-17T18:14:04.824Z] 506bd15cee9f: Pull complete [2021-06-17T18:14:05.100Z] 75a0a4a0db45: Pull complete [2021-06-17T18:14:09.439Z] 618dc40b7e24: Pull complete [2021-06-17T18:14:09.439Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-17T18:14:09.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-17T18:14:09.439Z] ---> a36622ca3599 [2021-06-17T18:14:09.439Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:14:11.421Z] ---> Running in 5c23047780f6 [2021-06-17T18:14:11.718Z] Removing intermediate container 5c23047780f6 [2021-06-17T18:14:11.718Z] ---> df34195c11b4 [2021-06-17T18:14:11.718Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:14:12.245Z] ---> Running in f9b3cd4fb88e [2021-06-17T18:14:12.562Z] Removing intermediate container f9b3cd4fb88e [2021-06-17T18:14:12.562Z] ---> 4ddffa0aa08e [2021-06-17T18:14:12.562Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-17T18:14:12.562Z] ---> Running in 3979fe747423 [2021-06-17T18:14:13.163Z] Removing intermediate container 3979fe747423 [2021-06-17T18:14:13.163Z] ---> 59fbb1806cb2 [2021-06-17T18:14:13.163Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:14:13.163Z] ---> Running in 312e23bfc159 [2021-06-17T18:14:15.817Z] Removing intermediate container 312e23bfc159 [2021-06-17T18:14:15.817Z] ---> bf6b9981ab43 [2021-06-17T18:14:15.817Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:14:15.817Z] ---> Running in f115d850dad4 [2021-06-17T18:14:17.264Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:14:17.866Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:14:18.847Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-17T18:14:18.847Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-17T18:14:18.847Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-17T18:14:19.121Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-17T18:14:19.121Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T18:14:19.429Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-17T18:14:19.429Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-17T18:14:19.716Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-17T18:14:19.716Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-17T18:14:19.716Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T18:14:19.998Z] OK: 144 MiB in 49 packages [2021-06-17T18:14:21.453Z] Removing intermediate container f115d850dad4 [2021-06-17T18:14:21.454Z] ---> d04d89938975 [2021-06-17T18:14:21.454Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-17T18:14:21.454Z] ---> Running in dea95b066f18 [2021-06-17T18:14:22.072Z] Removing intermediate container dea95b066f18 [2021-06-17T18:14:22.072Z] ---> 67061e129d79 [2021-06-17T18:14:22.072Z] Step 9/10 : COPY . . [2021-06-17T18:14:22.672Z] ---> c43899ae23c4 [2021-06-17T18:14:22.673Z] Step 10/10 : RUN go mod download [2021-06-17T18:14:22.954Z] ---> Running in 943153a6e2cf [2021-06-17T18:14:49.851Z] Removing intermediate container 943153a6e2cf [2021-06-17T18:14:49.851Z] ---> 89c69c276566 [2021-06-17T18:14:49.851Z] Successfully built 89c69c276566 [2021-06-17T18:14:49.851Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:14:50.201Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T18:14:50.201Z] . [Pipeline] withDockerContainer [2021-06-17T18:14:50.455Z] prd-ubuntu18.04-docker-arm64-4c-16g-32 does not seem to be running inside a container [2021-06-17T18:14:50.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-17T18:14:52.102Z] $ docker top 31b09adb52d6b908e1b0f49808490d594fee5ad53cd1c02e68418db72b99cd5b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:14:53.066Z] + go version [2021-06-17T18:14:53.066Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-17T18:14:53.095Z] $ docker stop --time=1 31b09adb52d6b908e1b0f49808490d594fee5ad53cd1c02e68418db72b99cd5b [2021-06-17T18:14:54.967Z] $ docker rm -f 31b09adb52d6b908e1b0f49808490d594fee5ad53cd1c02e68418db72b99cd5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:14:55.801Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T18:14:55.801Z] . [Pipeline] withDockerContainer [2021-06-17T18:14:56.073Z] prd-ubuntu18.04-docker-arm64-4c-16g-32 does not seem to be running inside a container [2021-06-17T18:14:56.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-17T18:14:57.663Z] $ docker top 264df6e47d12dd6d64090825acee8f8d06ac464663761e4805f7017ba3e0282a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:14:58.585Z] + go mod tidy [Pipeline] sh [2021-06-17T18:14:59.879Z] + make test [2021-06-17T18:14:59.879Z] go mod tidy [2021-06-17T18:15:00.481Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-17T18:15:01.463Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-17T18:15:58.121Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-17T18:15:58.121Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 54.0% of statements [2021-06-17T18:15:58.121Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T18:16:24.971Z] gofmt -l . [2021-06-17T18:16:24.971Z] [ "`gofmt -l .`" = "" ] [2021-06-17T18:16:24.971Z] ./bin/test-go-mod-tidy.sh [2021-06-17T18:16:24.971Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-17T18:16:26.441Z] $ docker stop --time=1 264df6e47d12dd6d64090825acee8f8d06ac464663761e4805f7017ba3e0282a [2021-06-17T18:16:28.478Z] $ docker rm -f 264df6e47d12dd6d64090825acee8f8d06ac464663761e4805f7017ba3e0282a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:16:29.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T18:16:29.464Z] Warning: overwriting stash ‘coverage-report’ [2021-06-17T18:16:30.052Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:16:30.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T18:16:31.044Z] + ls -al . [2021-06-17T18:16:31.044Z] total 132 [2021-06-17T18:16:31.044Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:16 . [2021-06-17T18:16:31.044Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:13 .. [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 18:13 .dockerignore [2021-06-17T18:16:31.044Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:13 .git [2021-06-17T18:16:31.044Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:13 .github [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 17 18:13 .gitignore [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 17 18:13 Attribution.txt [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 17 18:13 Dockerfile [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 17 18:13 Dockerfile.build [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 17 18:13 Jenkinsfile [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 18:13 LICENSE [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 17 18:13 Makefile [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 17 18:13 README.md [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 17 18:09 VERSION [2021-06-17T18:16:31.044Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:13 bin [2021-06-17T18:16:31.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:13 cmd [2021-06-17T18:16:31.044Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 17 18:15 coverage.out [2021-06-17T18:16:31.044Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:13 driver [2021-06-17T18:16:31.044Z] -rw-r--r-- 1 jenkins jenkins 286 Jun 17 18:16 go.mod [2021-06-17T18:16:31.044Z] -rw-r--r-- 1 jenkins jenkins 20777 Jun 17 18:14 go.sum [2021-06-17T18:16:31.044Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:13 snap [2021-06-17T18:16:31.044Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 18:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:16:31.412Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=acb551efcb6a1b4088edd326f55b17ef654f475f --label arch=arm64 --label version=1.2.2-dev.19 . [2021-06-17T18:16:31.414Z] Sending build context to Docker daemon 101.9kB [2021-06-17T18:16:31.697Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:16:31.697Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-17T18:16:31.697Z] ---> 89c69c276566 [2021-06-17T18:16:31.697Z] Step 3/25 : ARG MAKE='make build' [2021-06-17T18:16:31.972Z] ---> Running in f6255d974f30 [2021-06-17T18:16:32.590Z] Removing intermediate container f6255d974f30 [2021-06-17T18:16:32.590Z] ---> b1fb530acd33 [2021-06-17T18:16:32.590Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:16:32.590Z] ---> Running in f0293ab2c6c6 [2021-06-17T18:16:33.201Z] Removing intermediate container f0293ab2c6c6 [2021-06-17T18:16:33.201Z] ---> b1ec81cad6dc [2021-06-17T18:16:33.201Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:16:33.201Z] ---> Running in f3c405c2c83e [2021-06-17T18:16:33.828Z] Removing intermediate container f3c405c2c83e [2021-06-17T18:16:33.828Z] ---> 06e21c69572b [2021-06-17T18:16:33.828Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:16:33.828Z] ---> Running in d009167f6b7e [2021-06-17T18:16:36.481Z] Removing intermediate container d009167f6b7e [2021-06-17T18:16:36.481Z] ---> f245fdf08936 [2021-06-17T18:16:36.481Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:16:36.481Z] ---> Running in 8652c67dc8fd [2021-06-17T18:16:37.916Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:16:38.899Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:16:39.495Z] OK: 144 MiB in 49 packages [2021-06-17T18:16:40.941Z] Removing intermediate container 8652c67dc8fd [2021-06-17T18:16:40.941Z] ---> 67727674650f [2021-06-17T18:16:40.941Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-17T18:16:40.941Z] ---> Running in b1b643723693 [2021-06-17T18:16:41.560Z] Removing intermediate container b1b643723693 [2021-06-17T18:16:41.561Z] ---> e019ab356ea9 [2021-06-17T18:16:41.561Z] Step 9/25 : COPY . . [2021-06-17T18:16:42.563Z] ---> 6f7db48f5110 [2021-06-17T18:16:42.563Z] Step 10/25 : RUN go mod tidy [2021-06-17T18:16:42.563Z] ---> Running in ad46c43bab4e [2021-06-17T18:16:45.987Z] Removing intermediate container ad46c43bab4e [2021-06-17T18:16:45.987Z] ---> 494de3b3aa7c [2021-06-17T18:16:45.987Z] Step 11/25 : RUN make update [2021-06-17T18:16:45.987Z] ---> Running in 52cdf3820619 [2021-06-17T18:16:46.969Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-17T18:16:47.953Z] Removing intermediate container 52cdf3820619 [2021-06-17T18:16:47.953Z] ---> f00910c0f30f [2021-06-17T18:16:47.953Z] Step 12/25 : RUN $MAKE [2021-06-17T18:16:48.227Z] ---> Running in 20e6f9b16624 [2021-06-17T18:16:49.666Z] go mod tidy [2021-06-17T18:16:49.943Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.19" -o cmd/device-rest ./cmd [2021-06-17T18:17:29.025Z] Removing intermediate container 20e6f9b16624 [2021-06-17T18:17:29.025Z] ---> 5f9ffdf578a4 [2021-06-17T18:17:29.025Z] Step 13/25 : FROM alpine:3.12 [2021-06-17T18:17:29.025Z] 3.12: Pulling from library/alpine [2021-06-17T18:17:29.025Z] d2f70382dc9a: Pulling fs layer [2021-06-17T18:17:29.308Z] d2f70382dc9a: Verifying Checksum [2021-06-17T18:17:29.308Z] d2f70382dc9a: Download complete [2021-06-17T18:17:29.912Z] d2f70382dc9a: Pull complete [2021-06-17T18:17:29.912Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T18:17:29.912Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T18:17:29.912Z] ---> c4fd0aeabfcf [2021-06-17T18:17:29.912Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-17T18:17:30.191Z] ---> Running in 27c2aed58a85 [2021-06-17T18:17:30.810Z] Removing intermediate container 27c2aed58a85 [2021-06-17T18:17:30.810Z] ---> 8ce7d83143ce [2021-06-17T18:17:30.810Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-17T18:17:31.095Z] ---> Running in 71a2b3cd55fb [2021-06-17T18:17:31.375Z] Removing intermediate container 71a2b3cd55fb [2021-06-17T18:17:31.375Z] ---> 040c00253322 [2021-06-17T18:17:31.375Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T18:17:31.649Z] ---> Running in ca53eed236a3 [2021-06-17T18:17:33.084Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:17:33.680Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:17:34.278Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T18:17:34.278Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T18:17:34.278Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T18:17:34.278Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T18:17:34.278Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T18:17:34.278Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T18:17:34.278Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T18:17:34.278Z] OK: 8 MiB in 20 packages [2021-06-17T18:17:35.724Z] Removing intermediate container ca53eed236a3 [2021-06-17T18:17:35.724Z] ---> 5d0fa37b8443 [2021-06-17T18:17:35.724Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-17T18:17:37.161Z] ---> 6db9e2b5860d [2021-06-17T18:17:37.161Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-17T18:17:37.759Z] ---> b18d7f3ae72d [2021-06-17T18:17:37.759Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-17T18:17:38.740Z] ---> 556cebac92bb [2021-06-17T18:17:38.740Z] Step 20/25 : EXPOSE 59986 [2021-06-17T18:17:38.740Z] ---> Running in 8447e1a9ed80 [2021-06-17T18:17:39.340Z] Removing intermediate container 8447e1a9ed80 [2021-06-17T18:17:39.340Z] ---> 780d2d8da8d6 [2021-06-17T18:17:39.340Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-17T18:17:39.340Z] ---> Running in e8a66b379953 [2021-06-17T18:17:39.938Z] Removing intermediate container e8a66b379953 [2021-06-17T18:17:39.938Z] ---> 4fd4bce065f2 [2021-06-17T18:17:39.938Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-17T18:17:39.938Z] ---> Running in 5e2a85013605 [2021-06-17T18:17:40.536Z] Removing intermediate container 5e2a85013605 [2021-06-17T18:17:40.536Z] ---> a5f35a2516da [2021-06-17T18:17:40.536Z] Step 23/25 : LABEL arch=arm64 [2021-06-17T18:17:40.536Z] ---> Running in 7e5ec4fcdbfa [2021-06-17T18:17:41.131Z] Removing intermediate container 7e5ec4fcdbfa [2021-06-17T18:17:41.131Z] ---> 96a201492496 [2021-06-17T18:17:41.131Z] Step 24/25 : LABEL git_sha=acb551efcb6a1b4088edd326f55b17ef654f475f [2021-06-17T18:17:41.404Z] ---> Running in 96e7d91d6ec0 [2021-06-17T18:17:41.689Z] Removing intermediate container 96e7d91d6ec0 [2021-06-17T18:17:41.689Z] ---> e74353b18b14 [2021-06-17T18:17:41.689Z] Step 25/25 : LABEL version=1.2.2-dev.19 [2021-06-17T18:17:41.964Z] ---> Running in 233c56a61446 [2021-06-17T18:17:42.561Z] Removing intermediate container 233c56a61446 [2021-06-17T18:17:42.561Z] ---> 7f2045dbe61e [2021-06-17T18:17:42.561Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T18:17:42.561Z] Successfully built 7f2045dbe61e [2021-06-17T18:17:42.561Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:17:42.776Z] provisioning config files... [2021-06-17T18:17:42.798Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/53@tmp/config7707900274950552180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:17:43.170Z] ---> docker-login.sh [2021-06-17T18:17:43.171Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:17:43.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:17:43.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:17:43.725Z] Configure a credential helper to remove this warning. See [2021-06-17T18:17:43.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:17:43.725Z] [2021-06-17T18:17:43.725Z] Login Succeeded [2021-06-17T18:17:43.725Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:17:44.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:17:44.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:17:44.277Z] Configure a credential helper to remove this warning. See [2021-06-17T18:17:44.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:17:44.277Z] [2021-06-17T18:17:44.277Z] Login Succeeded [2021-06-17T18:17:44.277Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:17:44.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:17:44.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:17:44.876Z] Configure a credential helper to remove this warning. See [2021-06-17T18:17:44.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:17:44.876Z] [2021-06-17T18:17:44.876Z] Login Succeeded [2021-06-17T18:17:44.876Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:17:45.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:17:45.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:17:45.475Z] Configure a credential helper to remove this warning. See [2021-06-17T18:17:45.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:17:45.475Z] [2021-06-17T18:17:45.475Z] Login Succeeded [2021-06-17T18:17:45.475Z] docker.io [2021-06-17T18:17:46.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:17:46.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:17:46.353Z] Configure a credential helper to remove this warning. See [2021-06-17T18:17:46.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:17:46.353Z] [2021-06-17T18:17:46.353Z] Login Succeeded [2021-06-17T18:17:46.353Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:17:46.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T18:17:46.444Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-06-17T18:17:46.444Z] acb551efcb6a1b4088edd326f55b17ef654f475f [2021-06-17T18:17:46.444Z] latest [2021-06-17T18:17:46.444Z] 1.2.2-dev.19 [2021-06-17T18:17:46.444Z] acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19 [2021-06-17T18:17:46.444Z] master [2021-06-17T18:17:46.444Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:46.848Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:acb551efcb6a1b4088edd326f55b17ef654f475f [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:47.201Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:acb551efcb6a1b4088edd326f55b17ef654f475f [2021-06-17T18:17:47.201Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-17T18:17:47.201Z] 5333fc75e06f: Preparing [2021-06-17T18:17:47.201Z] 1f44797d2b34: Preparing [2021-06-17T18:17:47.202Z] 6b46ae181f3b: Preparing [2021-06-17T18:17:47.202Z] df9b4290ed9f: Preparing [2021-06-17T18:17:47.202Z] 3fbe34a1663b: Preparing [2021-06-17T18:17:47.479Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:17:47.479Z] 1f44797d2b34: Pushed [2021-06-17T18:17:47.479Z] 5333fc75e06f: Pushed [2021-06-17T18:17:48.461Z] df9b4290ed9f: Pushed [2021-06-17T18:17:50.453Z] 6b46ae181f3b: Pushed [2021-06-17T18:17:50.728Z] acb551efcb6a1b4088edd326f55b17ef654f475f: digest: sha256:90bb17dbd102166a4254abcd95025ae746bd1544d84190460112c924a463d44a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:51.088Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:51.436Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-06-17T18:17:51.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-17T18:17:51.436Z] 5333fc75e06f: Preparing [2021-06-17T18:17:51.436Z] 1f44797d2b34: Preparing [2021-06-17T18:17:51.436Z] 6b46ae181f3b: Preparing [2021-06-17T18:17:51.436Z] df9b4290ed9f: Preparing [2021-06-17T18:17:51.436Z] 3fbe34a1663b: Preparing [2021-06-17T18:17:51.710Z] 1f44797d2b34: Layer already exists [2021-06-17T18:17:51.710Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:17:51.710Z] 6b46ae181f3b: Layer already exists [2021-06-17T18:17:51.710Z] 5333fc75e06f: Layer already exists [2021-06-17T18:17:51.710Z] df9b4290ed9f: Layer already exists [2021-06-17T18:17:51.710Z] latest: digest: sha256:90bb17dbd102166a4254abcd95025ae746bd1544d84190460112c924a463d44a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:52.067Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:52.421Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.19 [2021-06-17T18:17:52.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-17T18:17:52.421Z] 5333fc75e06f: Preparing [2021-06-17T18:17:52.421Z] 1f44797d2b34: Preparing [2021-06-17T18:17:52.421Z] 6b46ae181f3b: Preparing [2021-06-17T18:17:52.421Z] df9b4290ed9f: Preparing [2021-06-17T18:17:52.421Z] 3fbe34a1663b: Preparing [2021-06-17T18:17:52.701Z] 6b46ae181f3b: Layer already exists [2021-06-17T18:17:52.701Z] 1f44797d2b34: Layer already exists [2021-06-17T18:17:52.701Z] 5333fc75e06f: Layer already exists [2021-06-17T18:17:52.701Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:17:52.701Z] df9b4290ed9f: Layer already exists [2021-06-17T18:17:52.701Z] 1.2.2-dev.19: digest: sha256:90bb17dbd102166a4254abcd95025ae746bd1544d84190460112c924a463d44a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:53.068Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:53.432Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19 [2021-06-17T18:17:53.432Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-17T18:17:53.432Z] 5333fc75e06f: Preparing [2021-06-17T18:17:53.432Z] 1f44797d2b34: Preparing [2021-06-17T18:17:53.432Z] 6b46ae181f3b: Preparing [2021-06-17T18:17:53.432Z] df9b4290ed9f: Preparing [2021-06-17T18:17:53.432Z] 3fbe34a1663b: Preparing [2021-06-17T18:17:53.711Z] df9b4290ed9f: Layer already exists [2021-06-17T18:17:53.711Z] 1f44797d2b34: Layer already exists [2021-06-17T18:17:53.711Z] 5333fc75e06f: Layer already exists [2021-06-17T18:17:53.711Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:17:53.711Z] 6b46ae181f3b: Layer already exists [2021-06-17T18:17:53.711Z] acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19: digest: sha256:90bb17dbd102166a4254abcd95025ae746bd1544d84190460112c924a463d44a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:54.076Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:17:54.432Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-06-17T18:17:54.432Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-17T18:17:54.432Z] 5333fc75e06f: Preparing [2021-06-17T18:17:54.432Z] 1f44797d2b34: Preparing [2021-06-17T18:17:54.432Z] 6b46ae181f3b: Preparing [2021-06-17T18:17:54.432Z] df9b4290ed9f: Preparing [2021-06-17T18:17:54.432Z] 3fbe34a1663b: Preparing [2021-06-17T18:17:54.709Z] 1f44797d2b34: Layer already exists [2021-06-17T18:17:54.709Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:17:54.709Z] 6b46ae181f3b: Layer already exists [2021-06-17T18:17:54.709Z] df9b4290ed9f: Layer already exists [2021-06-17T18:17:54.709Z] 5333fc75e06f: Layer already exists [2021-06-17T18:17:54.709Z] master: digest: sha256:90bb17dbd102166a4254abcd95025ae746bd1544d84190460112c924a463d44a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T18:17:54.811Z] ===================================================== [Pipeline] echo [2021-06-17T18:17:54.831Z] taggedImages: [2021-06-17T18:17:54.831Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:acb551efcb6a1b4088edd326f55b17ef654f475f [2021-06-17T18:17:54.831Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-06-17T18:17:54.831Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.19 [2021-06-17T18:17:54.831Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:acb551efcb6a1b4088edd326f55b17ef654f475f-1.2.2-dev.19 [2021-06-17T18:17:54.831Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:17:55.370Z] ---> job-cost.sh [2021-06-17T18:17:55.371Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yijQ [2021-06-17T18:18:42.375Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T18:20:34.272Z] lf-activate-venv(): INFO: Adding /tmp/venv-yijQ/bin to PATH [2021-06-17T18:20:34.272Z] INFO: No Stack... [2021-06-17T18:20:34.870Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-17T18:20:35.468Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T18:20:35.816Z] + cat /w/workspace/device-rest-go/53/archives/cost.csv [2021-06-17T18:20:35.816Z] + cut -d, -f6 [Pipeline] lock [2021-06-17T18:20:35.881Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-53-stack-cost] [2021-06-17T18:20:35.891Z] Resource [jenkins-edgexfoundry-device-rest-go-master-53-stack-cost] did not exist. Created. [2021-06-17T18:20:35.891Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T18:20:36.261Z] /w/workspace/device-rest-go/53@tmp/durable-e964d8bc/script.sh: 1: /w/workspace/device-rest-go/53@tmp/durable-e964d8bc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-17T18:20:36.650Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-17T18:20:36.698Z] Warning: overwriting stash ‘stack-cost’ [2021-06-17T18:20:36.975Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T18:20:36.994Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-53-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-17T18:20:37.615Z] provisioning config files... [2021-06-17T18:20:37.624Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8705959694551924260tmp [Pipeline] { [Pipeline] sh [2021-06-17T18:20:37.935Z] + set +x [2021-06-17T18:20:37.935Z] + curl -s https://codecov.io/bash [2021-06-17T18:20:37.935Z] + bash -s -- [2021-06-17T18:20:37.935Z] [2021-06-17T18:20:37.935Z] _____ _ [2021-06-17T18:20:37.935Z] / ____| | | [2021-06-17T18:20:37.935Z] | | ___ __| | ___ ___ _____ __ [2021-06-17T18:20:37.935Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-17T18:20:37.935Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-17T18:20:37.935Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-17T18:20:37.935Z] Bash-1.0.3 [2021-06-17T18:20:37.935Z] [2021-06-17T18:20:37.935Z] [2021-06-17T18:20:37.935Z] ==> git version 2.24.4 found [2021-06-17T18:20:37.935Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-17T18:20:37.935Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-17T18:20:37.935Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-17T18:20:37.935Z] ==> Jenkins CI detected. [2021-06-17T18:20:37.935Z] project root: . [2021-06-17T18:20:37.935Z] --> token set from env [2021-06-17T18:20:37.935Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-17T18:20:37.935Z] ==> Running gcov in . (disable via -X gcov) [2021-06-17T18:20:37.935Z] ==> Python coveragepy not found [2021-06-17T18:20:37.935Z] ==> Searching for coverage reports in: [2021-06-17T18:20:37.935Z] + . [2021-06-17T18:20:37.935Z] -> Found 1 reports [2021-06-17T18:20:37.935Z] ==> Detecting git/mercurial file structure [2021-06-17T18:20:38.199Z] ==> Reading reports [2021-06-17T18:20:38.199Z] + ./coverage.out bytes=8513 [2021-06-17T18:20:38.199Z] ==> Appending adjustments [2021-06-17T18:20:38.199Z] https://docs.codecov.io/docs/fixing-reports [2021-06-17T18:20:38.199Z] + Found adjustments [2021-06-17T18:20:38.199Z] ==> Gzipping contents [2021-06-17T18:20:38.199Z] 4.0K /tmp/codecov.YdH31C.gz [2021-06-17T18:20:38.199Z] ==> Uploading reports [2021-06-17T18:20:38.199Z] url: https://codecov.io [2021-06-17T18:20:38.199Z] query: branch=master&commit=acb551efcb6a1b4088edd326f55b17ef654f475f&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-17T18:20:38.199Z] -> Pinging Codecov [2021-06-17T18:20:38.200Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=acb551efcb6a1b4088edd326f55b17ef654f475f&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-17T18:20:38.773Z] -> Uploading to [2021-06-17T18:20:38.773Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-17/4E5D53B4F1F92C436F7061BF334D961C/acb551efcb6a1b4088edd326f55b17ef654f475f/8ab3dcde-946e-420f-a461-b81dd59c7c9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T182038Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=829c28c316af0333b3d0e80f2d9a43d12a146a2f881dd00da39ad5d78456b7fa [2021-06-17T18:20:38.773Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-17T18:20:38.773Z] Dload Upload Total Spent Left Speed [2021-06-17T18:20:39.037Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 4626 --:--:-- --:--:-- --:--:-- 4634 [2021-06-17T18:20:39.037Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/acb551efcb6a1b4088edd326f55b17ef654f475f [Pipeline] } [2021-06-17T18:20:39.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-17T18:20:42.197Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-17T18:20:42.273Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:20:42.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T18:20:42.592Z] [2021-06-17T18:20:42.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:20:42.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T18:20:42.917Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-17T18:20:42.917Z] 188c0c94c7c5: Pulling fs layer [2021-06-17T18:20:42.917Z] 0ef7d3d256c8: Pulling fs layer [2021-06-17T18:20:42.917Z] de9db76c5a1d: Pulling fs layer [2021-06-17T18:20:42.917Z] 0eba1c9be4d2: Pulling fs layer [2021-06-17T18:20:42.917Z] 0d57e429df01: Pulling fs layer [2021-06-17T18:20:42.917Z] 4e4be7b47b0d: Pulling fs layer [2021-06-17T18:20:42.917Z] e1f770b5df2f: Pulling fs layer [2021-06-17T18:20:42.917Z] 85a0685a4137: Pulling fs layer [2021-06-17T18:20:42.917Z] 0eba1c9be4d2: Waiting [2021-06-17T18:20:42.917Z] 0d57e429df01: Waiting [2021-06-17T18:20:42.917Z] 4e4be7b47b0d: Waiting [2021-06-17T18:20:42.917Z] e1f770b5df2f: Waiting [2021-06-17T18:20:42.917Z] 85a0685a4137: Waiting [2021-06-17T18:20:42.917Z] de9db76c5a1d: Verifying Checksum [2021-06-17T18:20:42.917Z] de9db76c5a1d: Download complete [2021-06-17T18:20:42.917Z] 0ef7d3d256c8: Verifying Checksum [2021-06-17T18:20:42.917Z] 0ef7d3d256c8: Download complete [2021-06-17T18:20:42.917Z] 0d57e429df01: Verifying Checksum [2021-06-17T18:20:42.917Z] 0d57e429df01: Download complete [2021-06-17T18:20:42.917Z] 4e4be7b47b0d: Verifying Checksum [2021-06-17T18:20:42.917Z] 4e4be7b47b0d: Download complete [2021-06-17T18:20:42.917Z] 188c0c94c7c5: Verifying Checksum [2021-06-17T18:20:42.917Z] 188c0c94c7c5: Download complete [2021-06-17T18:20:43.188Z] 188c0c94c7c5: Pull complete [2021-06-17T18:20:43.449Z] 0ef7d3d256c8: Pull complete [2021-06-17T18:20:43.449Z] de9db76c5a1d: Pull complete [2021-06-17T18:20:44.021Z] e1f770b5df2f: Verifying Checksum [2021-06-17T18:20:44.021Z] e1f770b5df2f: Download complete [2021-06-17T18:20:45.939Z] 0eba1c9be4d2: Download complete [2021-06-17T18:20:46.200Z] 85a0685a4137: Verifying Checksum [2021-06-17T18:20:46.200Z] 85a0685a4137: Download complete [2021-06-17T18:20:49.546Z] 0eba1c9be4d2: Pull complete [2021-06-17T18:20:49.546Z] 0d57e429df01: Pull complete [2021-06-17T18:20:49.546Z] 4e4be7b47b0d: Pull complete [2021-06-17T18:20:49.822Z] e1f770b5df2f: Pull complete [2021-06-17T18:20:53.144Z] 85a0685a4137: Pull complete [2021-06-17T18:20:53.144Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-17T18:20:53.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T18:20:53.145Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-17T18:20:53.227Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-06-17T18:20:53.268Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-17T18:20:55.431Z] $ docker top 7052089197b3bab8b027b3fd4cd3e0096d1ac6ae2262df779bc179f93ad49c56 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-17T18:20:55.526Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-17T18:20:55.818Z] + set -o pipefail [2021-06-17T18:20:55.818Z] + snyk monitor '--org=edgex-jenkins' [2021-06-17T18:21:04.015Z] [2021-06-17T18:21:04.015Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-06-17T18:21:04.015Z] [2021-06-17T18:21:04.015Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/24543b87-8580-40e4-bce6-ac92de494375 [2021-06-17T18:21:04.015Z] [2021-06-17T18:21:04.015Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-17T18:21:04.015Z] [2021-06-17T18:21:04.015Z] [Pipeline] } [2021-06-17T18:21:04.029Z] $ docker stop --time=1 7052089197b3bab8b027b3fd4cd3e0096d1ac6ae2262df779bc179f93ad49c56 [2021-06-17T18:21:05.843Z] $ docker rm -f 7052089197b3bab8b027b3fd4cd3e0096d1ac6ae2262df779bc179f93ad49c56 [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-06-17T18:21:06.851Z] + git log --format=format:%s -1 acb551efcb6a1b4088edd326f55b17ef654f475f [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:21:07.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:21:07.163Z] . [Pipeline] withDockerContainer [2021-06-17T18:21:07.241Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-06-17T18:21:07.280Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T18:21:07.649Z] $ docker top 6cf1c4c002f9d5d185ff49cd85aabe306de0d8ba05d0ff7495813cf4fb21e5a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:21:07.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:21:07.797Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:21:07.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:21:07.920Z] $ docker exec 6cf1c4c002f9d5d185ff49cd85aabe306de0d8ba05d0ff7495813cf4fb21e5a0 ssh-agent [2021-06-17T18:21:08.034Z] SSH_AUTH_SOCK=/tmp/ssh-2RGsPmonsals/agent.13 [2021-06-17T18:21:08.034Z] SSH_AGENT_PID=20 [2021-06-17T18:21:08.040Z] Running ssh-add (command line suppressed) [2021-06-17T18:21:08.128Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5622803321665889581.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5622803321665889581.key) [2021-06-17T18:21:08.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:21:08.454Z] + git semver tag [2021-06-17T18:21:08.454Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:21:08.454Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-17T18:21:08.454Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-17T18:21:08.454Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:21:08.454Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:21:08.454Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:21:08.454Z] # $SEMVER_BRANCH = master [2021-06-17T18:21:08.454Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-06-17T18:21:08.454Z] # acb551efcb6a1b4088edd326f55b17ef654f475f HEAD [2021-06-17T18:21:08.454Z] # -> Force: false [2021-06-17T18:21:08.454Z] # 06192420a4bd535ae57718755f1734fc973fecf6 refs/tags/v1.2.2-dev.19 [Pipeline] } [2021-06-17T18:21:08.462Z] $ docker exec --env ******** --env ******** 6cf1c4c002f9d5d185ff49cd85aabe306de0d8ba05d0ff7495813cf4fb21e5a0 ssh-agent -k [2021-06-17T18:21:08.564Z] unset SSH_AUTH_SOCK; [2021-06-17T18:21:08.565Z] unset SSH_AGENT_PID; [2021-06-17T18:21:08.565Z] echo Agent pid 20 killed; [2021-06-17T18:21:08.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:21:08.935Z] + git semver [Pipeline] } [2021-06-17T18:21:08.955Z] $ docker stop --time=1 6cf1c4c002f9d5d185ff49cd85aabe306de0d8ba05d0ff7495813cf4fb21e5a0 [2021-06-17T18:21:10.145Z] $ docker rm -f 6cf1c4c002f9d5d185ff49cd85aabe306de0d8ba05d0ff7495813cf4fb21e5a0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:21:10.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T18:21:10.763Z] [2021-06-17T18:21:10.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:21:11.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T18:21:11.087Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-17T18:21:11.087Z] ab5ef0e58194: Pulling fs layer [2021-06-17T18:21:11.087Z] 9712f1f96733: Pulling fs layer [2021-06-17T18:21:11.087Z] 63f879dbbcfc: Pulling fs layer [2021-06-17T18:21:11.087Z] 0d9ebad4ef96: Pulling fs layer [2021-06-17T18:21:11.087Z] e9a5061849ea: Pulling fs layer [2021-06-17T18:21:11.087Z] d747dcd14b5f: Pulling fs layer [2021-06-17T18:21:11.087Z] 2de7ff778b66: Pulling fs layer [2021-06-17T18:21:11.087Z] 0d9ebad4ef96: Waiting [2021-06-17T18:21:11.087Z] e9a5061849ea: Waiting [2021-06-17T18:21:11.087Z] d747dcd14b5f: Waiting [2021-06-17T18:21:11.087Z] 2de7ff778b66: Waiting [2021-06-17T18:21:11.087Z] 9712f1f96733: Verifying Checksum [2021-06-17T18:21:11.087Z] 9712f1f96733: Download complete [2021-06-17T18:21:12.480Z] 63f879dbbcfc: Verifying Checksum [2021-06-17T18:21:12.480Z] 63f879dbbcfc: Download complete [2021-06-17T18:21:12.480Z] e9a5061849ea: Verifying Checksum [2021-06-17T18:21:12.480Z] e9a5061849ea: Download complete [2021-06-17T18:21:12.480Z] d747dcd14b5f: Verifying Checksum [2021-06-17T18:21:12.480Z] d747dcd14b5f: Download complete [2021-06-17T18:21:12.744Z] 2de7ff778b66: Verifying Checksum [2021-06-17T18:21:12.744Z] 2de7ff778b66: Download complete [2021-06-17T18:21:13.013Z] ab5ef0e58194: Verifying Checksum [2021-06-17T18:21:13.013Z] ab5ef0e58194: Download complete [2021-06-17T18:21:13.284Z] 0d9ebad4ef96: Verifying Checksum [2021-06-17T18:21:13.284Z] 0d9ebad4ef96: Download complete [2021-06-17T18:21:15.898Z] ab5ef0e58194: Pull complete [2021-06-17T18:21:15.898Z] 9712f1f96733: Pull complete [2021-06-17T18:21:16.481Z] 63f879dbbcfc: Pull complete [2021-06-17T18:21:19.810Z] 0d9ebad4ef96: Pull complete [2021-06-17T18:21:19.810Z] e9a5061849ea: Pull complete [2021-06-17T18:21:19.810Z] d747dcd14b5f: Pull complete [2021-06-17T18:21:20.775Z] 2de7ff778b66: Pull complete [2021-06-17T18:21:20.776Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-17T18:21:20.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T18:21:20.776Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-17T18:21:20.865Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-06-17T18:21:20.922Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-17T18:21:23.964Z] $ docker top 227ddab970e313d9814fc51061c765347c72661f92004b663d2e9fbdc0cbe537 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:21:24.072Z] provisioning config files... [2021-06-17T18:21:24.088Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6179855211262933858tmp [2021-06-17T18:21:24.104Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8372441638643225982tmp [2021-06-17T18:21:24.122Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config288924670710342978tmp [Pipeline] { [Pipeline] echo [2021-06-17T18:21:24.155Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:21:24.471Z] ---> sigul-configuration.sh [2021-06-17T18:21:24.471Z] gpg: directory `/root/.gnupg' created [2021-06-17T18:21:24.471Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-17T18:21:24.471Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-17T18:21:24.471Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-17T18:21:24.472Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-17T18:21:24.472Z] gpg: CAST5 encrypted data [2021-06-17T18:21:24.472Z] gpg: encrypted with 1 passphrase [2021-06-17T18:21:24.472Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-17T18:21:24.772Z] + mkdir /home/jenkins [2021-06-17T18:21:24.773Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-17T18:21:25.319Z] + 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-06-17T18:21:25.332Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:21:25.655Z] ---> sigul-install.sh [2021-06-17T18:21:29.941Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-17T18:21:30.245Z] + git tag --list [2021-06-17T18:21:30.246Z] v1.0.0 [2021-06-17T18:21:30.246Z] v1.1.0 [2021-06-17T18:21:30.246Z] v1.1.1 [2021-06-17T18:21:30.246Z] v1.1.2 [2021-06-17T18:21:30.246Z] v1.2.0 [2021-06-17T18:21:30.246Z] v1.2.1 [2021-06-17T18:21:30.246Z] v1.2.1-dev.1 [2021-06-17T18:21:30.246Z] v1.2.1-dev.2 [2021-06-17T18:21:30.246Z] v1.2.1-dev.3 [2021-06-17T18:21:30.246Z] v1.2.1-dev.4 [2021-06-17T18:21:30.246Z] v1.2.2-dev.1 [2021-06-17T18:21:30.246Z] v1.2.2-dev.10 [2021-06-17T18:21:30.246Z] v1.2.2-dev.11 [2021-06-17T18:21:30.246Z] v1.2.2-dev.12 [2021-06-17T18:21:30.246Z] v1.2.2-dev.13 [2021-06-17T18:21:30.246Z] v1.2.2-dev.14 [2021-06-17T18:21:30.246Z] v1.2.2-dev.15 [2021-06-17T18:21:30.246Z] v1.2.2-dev.16 [2021-06-17T18:21:30.246Z] v1.2.2-dev.17 [2021-06-17T18:21:30.246Z] v1.2.2-dev.18 [2021-06-17T18:21:30.246Z] v1.2.2-dev.19 [2021-06-17T18:21:30.246Z] v1.2.2-dev.2 [2021-06-17T18:21:30.246Z] v1.2.2-dev.3 [2021-06-17T18:21:30.246Z] v1.2.2-dev.4 [2021-06-17T18:21:30.246Z] v1.2.2-dev.5 [2021-06-17T18:21:30.246Z] v1.2.2-dev.6 [2021-06-17T18:21:30.246Z] v1.2.2-dev.7 [2021-06-17T18:21:30.246Z] v1.2.2-dev.8 [2021-06-17T18:21:30.246Z] v1.2.2-dev.9 [Pipeline] sh [2021-06-17T18:21:30.541Z] + lftools sign git-tag v1.2.2-dev.19 [2021-06-17T18:21:31.127Z] Signing Git tag with Sigul... [2021-06-17T18:21:31.127Z] Signing v1.2.2-dev.19 [Pipeline] echo [2021-06-17T18:21:31.717Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:21:32.027Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-17T18:21:32.038Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-17T18:21:32.087Z] $ docker stop --time=1 227ddab970e313d9814fc51061c765347c72661f92004b663d2e9fbdc0cbe537 [2021-06-17T18:21:33.576Z] $ docker rm -f 227ddab970e313d9814fc51061c765347c72661f92004b663d2e9fbdc0cbe537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:21:34.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:21:34.209Z] . [Pipeline] withDockerContainer [2021-06-17T18:21:34.348Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-06-17T18:21:34.401Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T18:21:34.853Z] $ docker top b60bb30cfb99f40576498e13cc36e201547f9f1de1e2e5d61b6b6d3ddceece97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:21:35.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:21:35.001Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:21:35.129Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:21:35.129Z] $ docker exec b60bb30cfb99f40576498e13cc36e201547f9f1de1e2e5d61b6b6d3ddceece97 ssh-agent [2021-06-17T18:21:35.267Z] SSH_AUTH_SOCK=/tmp/ssh-M9hPICBr9hnF/agent.13 [2021-06-17T18:21:35.267Z] SSH_AGENT_PID=19 [2021-06-17T18:21:35.277Z] Running ssh-add (command line suppressed) [2021-06-17T18:21:35.399Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4148433646750022004.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4148433646750022004.key) [2021-06-17T18:21:35.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:21:35.727Z] + git semver bump pre [2021-06-17T18:21:35.727Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:21:35.727Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-17T18:21:35.727Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-17T18:21:35.727Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:21:35.727Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:21:35.727Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:21:35.727Z] # $SEMVER_BRANCH = master [2021-06-17T18:21:35.727Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-06-17T18:21:35.727Z] 1.2.2-dev.20 [Pipeline] } [2021-06-17T18:21:35.736Z] $ docker exec --env ******** --env ******** b60bb30cfb99f40576498e13cc36e201547f9f1de1e2e5d61b6b6d3ddceece97 ssh-agent -k [2021-06-17T18:21:35.849Z] unset SSH_AUTH_SOCK; [2021-06-17T18:21:35.850Z] unset SSH_AGENT_PID; [2021-06-17T18:21:35.850Z] echo Agent pid 19 killed; [2021-06-17T18:21:35.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:21:36.212Z] + git semver [Pipeline] } [2021-06-17T18:21:36.226Z] $ docker stop --time=1 b60bb30cfb99f40576498e13cc36e201547f9f1de1e2e5d61b6b6d3ddceece97 [2021-06-17T18:21:37.451Z] $ docker rm -f b60bb30cfb99f40576498e13cc36e201547f9f1de1e2e5d61b6b6d3ddceece97 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:21:37.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:21:37.849Z] . [Pipeline] withDockerContainer [2021-06-17T18:21:37.931Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-06-17T18:21:37.969Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T18:21:38.323Z] $ docker top dbbf572b345c7a5546fc6b6baf20fe1986eecd55b2f1b2246a4807bd31005353 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:21:38.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:21:38.450Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:21:38.575Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:21:38.577Z] $ docker exec dbbf572b345c7a5546fc6b6baf20fe1986eecd55b2f1b2246a4807bd31005353 ssh-agent [2021-06-17T18:21:38.690Z] SSH_AUTH_SOCK=/tmp/ssh-ZGllu3h4w5ZI/agent.15 [2021-06-17T18:21:38.690Z] SSH_AGENT_PID=22 [2021-06-17T18:21:38.695Z] Running ssh-add (command line suppressed) [2021-06-17T18:21:38.800Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7327018706908275590.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7327018706908275590.key) [2021-06-17T18:21:38.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:21:39.129Z] + git semver push [2021-06-17T18:21:39.129Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:21:39.129Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-17T18:21:39.129Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-17T18:21:39.129Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:21:39.129Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:21:39.129Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:21:39.129Z] # $SEMVER_BRANCH = master [2021-06-17T18:21:39.129Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-06-17T18:21:44.441Z] $ docker exec --env ******** --env ******** dbbf572b345c7a5546fc6b6baf20fe1986eecd55b2f1b2246a4807bd31005353 ssh-agent -k [2021-06-17T18:21:44.545Z] unset SSH_AUTH_SOCK; [2021-06-17T18:21:44.545Z] unset SSH_AGENT_PID; [2021-06-17T18:21:44.545Z] echo Agent pid 22 killed; [2021-06-17T18:21:44.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:21:44.896Z] + git semver [Pipeline] } [2021-06-17T18:21:44.910Z] $ docker stop --time=1 dbbf572b345c7a5546fc6b6baf20fe1986eecd55b2f1b2246a4807bd31005353 [2021-06-17T18:21:46.092Z] $ docker rm -f dbbf572b345c7a5546fc6b6baf20fe1986eecd55b2f1b2246a4807bd31005353 [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-06-17T18:21:47.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:21:47.756Z] ---> package-listing.sh [2021-06-17T18:21:47.756Z] ++ facter osfamily [2021-06-17T18:21:47.756Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-17T18:21:48.019Z] + OS_FAMILY=redhat [2021-06-17T18:21:48.019Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-06-17T18:21:48.019Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-17T18:21:48.019Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-17T18:21:48.019Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-17T18:21:48.019Z] + PACKAGES=/tmp/packages_start.txt [2021-06-17T18:21:48.019Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-06-17T18:21:48.019Z] + PACKAGES=/tmp/packages_end.txt [2021-06-17T18:21:48.019Z] + case "${OS_FAMILY}" in [2021-06-17T18:21:48.019Z] + rpm -qa [2021-06-17T18:21:48.019Z] + sort [2021-06-17T18:21:48.595Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-17T18:21:48.595Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-17T18:21:48.595Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-17T18:21:48.595Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-06-17T18:21:48.595Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-06-17T18:21:48.595Z] + 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-06-17T18:21:48.611Z] 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-06-17T18:21:48.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:21:49.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:21:49.606Z] [2021-06-17T18:21:49.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:21:50.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:21:50.000Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-17T18:21:50.000Z] df20fa9351a1: Pulling fs layer [2021-06-17T18:21:50.000Z] 36b3adc4ff6f: Pulling fs layer [2021-06-17T18:21:50.000Z] 8ad3a11d3b57: Pulling fs layer [2021-06-17T18:21:50.000Z] 46f8f816bc3b: Pulling fs layer [2021-06-17T18:21:50.000Z] 93b61091891f: Pulling fs layer [2021-06-17T18:21:50.000Z] 93b9cdb0e59b: Pulling fs layer [2021-06-17T18:21:50.000Z] 5e14af77c1be: Pulling fs layer [2021-06-17T18:21:50.000Z] 01666e4c0597: Pulling fs layer [2021-06-17T18:21:50.000Z] aa168da1d23b: Pulling fs layer [2021-06-17T18:21:50.000Z] 46f8f816bc3b: Waiting [2021-06-17T18:21:50.000Z] 93b61091891f: Waiting [2021-06-17T18:21:50.000Z] 93b9cdb0e59b: Waiting [2021-06-17T18:21:50.000Z] 5e14af77c1be: Waiting [2021-06-17T18:21:50.000Z] 01666e4c0597: Waiting [2021-06-17T18:21:50.000Z] aa168da1d23b: Waiting [2021-06-17T18:21:50.000Z] 36b3adc4ff6f: Verifying Checksum [2021-06-17T18:21:50.000Z] 36b3adc4ff6f: Download complete [2021-06-17T18:21:50.000Z] 46f8f816bc3b: Verifying Checksum [2021-06-17T18:21:50.000Z] 46f8f816bc3b: Download complete [2021-06-17T18:21:50.000Z] df20fa9351a1: Verifying Checksum [2021-06-17T18:21:50.000Z] df20fa9351a1: Download complete [2021-06-17T18:21:50.000Z] 93b61091891f: Verifying Checksum [2021-06-17T18:21:50.000Z] 93b61091891f: Download complete [2021-06-17T18:21:50.000Z] 93b9cdb0e59b: Verifying Checksum [2021-06-17T18:21:50.000Z] 93b9cdb0e59b: Download complete [2021-06-17T18:21:50.270Z] 5e14af77c1be: Verifying Checksum [2021-06-17T18:21:50.270Z] 5e14af77c1be: Download complete [2021-06-17T18:21:50.270Z] 01666e4c0597: Verifying Checksum [2021-06-17T18:21:50.270Z] 01666e4c0597: Download complete [2021-06-17T18:21:50.270Z] df20fa9351a1: Pull complete [2021-06-17T18:21:50.270Z] 8ad3a11d3b57: Verifying Checksum [2021-06-17T18:21:50.270Z] 8ad3a11d3b57: Download complete [2021-06-17T18:21:50.535Z] 36b3adc4ff6f: Pull complete [2021-06-17T18:21:51.117Z] 8ad3a11d3b57: Pull complete [2021-06-17T18:21:51.117Z] 46f8f816bc3b: Pull complete [2021-06-17T18:21:51.379Z] 93b61091891f: Pull complete [2021-06-17T18:21:51.379Z] 93b9cdb0e59b: Pull complete [2021-06-17T18:21:51.379Z] 5e14af77c1be: Pull complete [2021-06-17T18:21:51.641Z] 01666e4c0597: Pull complete [2021-06-17T18:21:51.907Z] aa168da1d23b: Verifying Checksum [2021-06-17T18:21:51.907Z] aa168da1d23b: Download complete [2021-06-17T18:21:56.167Z] aa168da1d23b: Pull complete [2021-06-17T18:21:56.167Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-17T18:21:56.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:21:56.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-17T18:21:56.247Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-06-17T18:21:56.286Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-17T18:21:58.413Z] $ docker top 54a628484f158660899e393f2547e8fab6e7bba3650b909a2a3eac6b7090724f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:21:58.796Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-17T18:21:59.106Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-17T18:21:59.401Z] + ls /var/log/sa-host [2021-06-17T18:21:59.401Z] + sadf -c /var/log/sa-host/sa05 [2021-06-17T18:21:59.401Z] file_magic: OK [2021-06-17T18:21:59.401Z] HZ: Using current value: 100 [2021-06-17T18:21:59.401Z] file_header: OK [2021-06-17T18:21:59.401Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-17T18:21:59.401Z] Statistics: [2021-06-17T18:21:59.401Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T18:21:59.401Z] File successfully converted to sysstat format version 12.2.1 [2021-06-17T18:21:59.401Z] + sadf -c /var/log/sa-host/sa17 [2021-06-17T18:21:59.401Z] file_magic: OK [2021-06-17T18:21:59.401Z] HZ: Using current value: 100 [2021-06-17T18:21:59.401Z] file_header: OK [2021-06-17T18:21:59.401Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-17T18:21:59.401Z] Statistics: [2021-06-17T18:21:59.401Z] 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-06-17T18:21:59.401Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:21:59.610Z] provisioning config files... [2021-06-17T18:21:59.622Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3547516274204050396tmp [Pipeline] { [Pipeline] echo [2021-06-17T18:21:59.642Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:21:59.940Z] ---> create-netrc.sh [Pipeline] } [2021-06-17T18:21:59.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:22:00.325Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-17T18:22:00.336Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:22:00.640Z] ---> sudo-logs.sh [2021-06-17T18:22:00.640Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-17T18:22:00.692Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:22:00.991Z] ---> job-cost.sh [2021-06-17T18:22:00.992Z] lf-activate-venv: SKIPPING [2021-06-17T18:22:00.992Z] DEBUG: total: 0.18000000715255737 [2021-06-17T18:22:00.992Z] INFO: Retrieving Stack Cost... [2021-06-17T18:22:01.940Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T18:22:02.208Z] INFO: Archiving Costs [Pipeline] echo [2021-06-17T18:22:02.222Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:22:02.520Z] ---> logs-deploy.sh [2021-06-17T18:22:02.520Z] lf-activate-venv: SKIPPING [2021-06-17T18:22:02.520Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/53 [2021-06-17T18:22:02.520Z] INFO: archiving workspace using pattern(s): [2021-06-17T18:22:03.471Z] Archives upload complete. [2021-06-17T18:22:03.471Z] INFO: archiving logs to Nexus [2021-06-17T18:22:04.049Z] ---> uname -a: [2021-06-17T18:22:04.049Z] Linux prd-centos7-docker-4c-2g-27.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-17T18:22:04.049Z] [2021-06-17T18:22:04.049Z]