Started by upstream project "edgexfoundry/cd-management/release" build number 61 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ac4b371315fba0b9546dc2a95c8393f838fbe7e4 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-ssh956597473885537544.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-ssh4561301117418433234.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-ssh6464641272841230139.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-ssh7773778770303371011.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-ssh5631110361385661862.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 ‘prd-centos7-docker-4c-2g-1051’ Running on prd-centos7-docker-4c-2g-1056 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-ssh4705687210704611278.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 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (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 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 Commit message: "Merge pull request #127 from siggiskulason/snap-v2" > git rev-list --no-walk ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-30T23:39:07.433Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-30T23:39:07.526Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T23:39:07.554Z] ========================================================= [2021-06-30T23:39:07.554Z] EdgeX Global Pipelines Version Info [2021-06-30T23:39:07.554Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:39:09.009Z] ------------------- [2021-06-30T23:39:09.009Z] stable info: [2021-06-30T23:39:09.009Z] ------------------- [2021-06-30T23:39:09.009Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-30T23:39:09.009Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T23:39:09.009Z] Message: update stable to v1.0.195 [2021-06-30T23:39:09.585Z] ------------------- [2021-06-30T23:39:09.585Z] experimental info: [2021-06-30T23:39:09.585Z] ------------------- [2021-06-30T23:39:09.585Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-30T23:39:09.585Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T23:39:09.585Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-30T23:39:09.707Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-30T23:39:09.730Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-30T23:39:09.753Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-30T23:39:09.776Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-30T23:39:09.798Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-30T23:39:09.820Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-30T23:39:09.843Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-30T23:39:09.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-30T23:39:09.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-30T23:39:09.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-30T23:39:09.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-30T23:39:09.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-30T23:39:09.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-30T23:39:10.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-30T23:39:10.025Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T23:39:10.049Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T23:39:10.095Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T23:39:10.120Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T23:39:10.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-30T23:39:10.167Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-30T23:39:10.192Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-30T23:39:10.216Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-30T23:39:10.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-30T23:39:10.264Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-30T23:39:10.287Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-30T23:39:10.311Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-30T23:39:10.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-30T23:39:10.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-30T23:39:10.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-30T23:39:10.405Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] echo [2021-06-30T23:39:10.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac4b371 [Pipeline] echo [2021-06-30T23:39:10.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:39:10.529Z] provisioning config files... [2021-06-30T23:39:10.546Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4702323344538205730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:39:10.869Z] ---> docker-login.sh [2021-06-30T23:39:10.869Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:39:10.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:39:11.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:39:11.135Z] Configure a credential helper to remove this warning. See [2021-06-30T23:39:11.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:39:11.135Z] [2021-06-30T23:39:11.135Z] Login Succeeded [2021-06-30T23:39:11.135Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:39:11.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:39:11.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:39:11.135Z] Configure a credential helper to remove this warning. See [2021-06-30T23:39:11.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:39:11.135Z] [2021-06-30T23:39:11.135Z] Login Succeeded [2021-06-30T23:39:11.135Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:39:11.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:39:11.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:39:11.396Z] Configure a credential helper to remove this warning. See [2021-06-30T23:39:11.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:39:11.396Z] [2021-06-30T23:39:11.396Z] Login Succeeded [2021-06-30T23:39:11.396Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:39:11.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:39:11.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:39:11.658Z] Configure a credential helper to remove this warning. See [2021-06-30T23:39:11.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:39:11.658Z] [2021-06-30T23:39:11.658Z] Login Succeeded [2021-06-30T23:39:11.658Z] docker.io [2021-06-30T23:39:11.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:39:11.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:39:11.921Z] Configure a credential helper to remove this warning. See [2021-06-30T23:39:11.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:39:11.921Z] [2021-06-30T23:39:11.921Z] Login Succeeded [2021-06-30T23:39:11.921Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:39:11.930Z] 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-30T23:39:12.437Z] + git log --format=format:%s -1 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] echo [2021-06-30T23:39:12.481Z] GIT_COMMIT: ac4b371315fba0b9546dc2a95c8393f838fbe7e4, Commit Message: Merge pull request #127 from siggiskulason/snap-v2 [Pipeline] echo [2021-06-30T23:39:16.573Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:39:17.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:39:17.195Z] [2021-06-30T23:39:17.195Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:39:17.511Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:39:17.511Z] latest: Pulling from edgex-devops/git-semver [2021-06-30T23:39:17.511Z] 31603596830f: Pulling fs layer [2021-06-30T23:39:17.511Z] 54011a49482f: Pulling fs layer [2021-06-30T23:39:17.511Z] a6820b24f6d8: Pulling fs layer [2021-06-30T23:39:17.511Z] f581987b2513: Pulling fs layer [2021-06-30T23:39:17.511Z] f581987b2513: Waiting [2021-06-30T23:39:17.511Z] 54011a49482f: Verifying Checksum [2021-06-30T23:39:17.511Z] 54011a49482f: Download complete [2021-06-30T23:39:17.774Z] 31603596830f: Verifying Checksum [2021-06-30T23:39:17.774Z] 31603596830f: Download complete [2021-06-30T23:39:17.774Z] f581987b2513: Verifying Checksum [2021-06-30T23:39:17.774Z] f581987b2513: Download complete [2021-06-30T23:39:17.774Z] a6820b24f6d8: Verifying Checksum [2021-06-30T23:39:17.774Z] a6820b24f6d8: Download complete [2021-06-30T23:39:18.036Z] 31603596830f: Pull complete [2021-06-30T23:39:18.036Z] 54011a49482f: Pull complete [2021-06-30T23:39:18.623Z] a6820b24f6d8: Pull complete [2021-06-30T23:39:18.886Z] f581987b2513: Pull complete [2021-06-30T23:39:18.886Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-30T23:39:18.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:39:18.886Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-30T23:39:18.969Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2021-06-30T23:39:19.012Z] $ 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-30T23:39:20.001Z] $ docker top e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-30T23:39:20.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T23:39:20.136Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T23:39:20.262Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T23:39:20.262Z] $ docker exec e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 ssh-agent [2021-06-30T23:39:20.402Z] SSH_AUTH_SOCK=/tmp/ssh-u6MJhQIxn51z/agent.14 [2021-06-30T23:39:20.402Z] SSH_AGENT_PID=21 [2021-06-30T23:39:20.412Z] Running ssh-add (command line suppressed) [2021-06-30T23:39:20.529Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8870175731263671999.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8870175731263671999.key) [2021-06-30T23:39:20.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T23:39:20.860Z] + git tag --points-at HEAD [Pipeline] } [2021-06-30T23:39:20.873Z] $ docker exec --env ******** --env ******** e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 ssh-agent -k [2021-06-30T23:39:20.980Z] unset SSH_AUTH_SOCK; [2021-06-30T23:39:20.981Z] unset SSH_AGENT_PID; [2021-06-30T23:39:20.981Z] echo Agent pid 21 killed; [2021-06-30T23:39:20.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-06-30T23:39:21.032Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.2.2-dev.22|v2.0.0' [Pipeline] sshagent [2021-06-30T23:39:21.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T23:39:21.061Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T23:39:21.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T23:39:21.191Z] $ docker exec e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 ssh-agent [2021-06-30T23:39:21.313Z] SSH_AUTH_SOCK=/tmp/ssh-tAvJv3r4UJLu/agent.54 [2021-06-30T23:39:21.313Z] SSH_AGENT_PID=60 [2021-06-30T23:39:21.319Z] Running ssh-add (command line suppressed) [2021-06-30T23:39:21.426Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_566925915453964005.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_566925915453964005.key) [2021-06-30T23:39:21.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T23:39:21.926Z] + git semver init [2021-06-30T23:39:21.926Z] # -> Open(): unable to determine branch for HEAD [2021-06-30T23:39:21.926Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-30T23:39:21.926Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-30T23:39:21.926Z] # $SEMVER_REMOTE_NAME = origin [2021-06-30T23:39:21.926Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-30T23:39:21.926Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-30T23:39:21.926Z] # $SEMVER_BRANCH = master [2021-06-30T23:39:21.926Z] # $SEMVER_TEMP = /tmp/semver-140374920 [2021-06-30T23:39:21.926Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-30T23:39:22.883Z] # '/tmp/semver-140374920' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-06-30T23:39:22.883Z] # -> Force: false [2021-06-30T23:39:22.883Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-06-30T23:39:22.899Z] $ docker exec --env ******** --env ******** e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 ssh-agent -k [2021-06-30T23:39:23.013Z] unset SSH_AUTH_SOCK; [2021-06-30T23:39:23.013Z] unset SSH_AGENT_PID; [2021-06-30T23:39:23.013Z] echo Agent pid 60 killed; [2021-06-30T23:39:23.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T23:39:23.381Z] + git semver [Pipeline] } [2021-06-30T23:39:23.401Z] $ docker stop --time=1 e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 [2021-06-30T23:39:24.756Z] $ docker rm -f e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T23:39:25.140Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-30T23:39:25.431Z] Stashed 1 file(s) [Pipeline] echo [2021-06-30T23:39:25.435Z] [edgeXSemver]: initialized semver on version 2.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-30T23:39:40.689Z] Still waiting to schedule task [2021-06-30T23:39:40.690Z] ‘prd-centos7-docker-4c-2g-1060’ is offline [2021-06-30T23:39:40.690Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1059’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-30T23:39:40.693Z] Still waiting to schedule task [2021-06-30T23:39:40.693Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1059’ is offline [2021-06-30T23:41:19.924Z] Running on prd-centos7-docker-4c-2g-1065 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-06-30T23:41:19.943Z] Running in /w/workspace/device-rest-go/57 [Pipeline] { [Pipeline] checkout [2021-06-30T23:41:20.043Z] The recommended git tool is: git [2021-06-30T23:41:22.442Z] using credential edgex-jenkins-ssh [2021-06-30T23:41:22.465Z] Cloning the remote Git repository [2021-06-30T23:41:22.479Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T23:41:22.611Z] > git init /w/workspace/device-rest-go/57 # timeout=10 [2021-06-30T23:41:22.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T23:41:22.643Z] > git --version # timeout=10 [2021-06-30T23:41:22.650Z] > git --version # 'git version 2.24.4' [2021-06-30T23:41:22.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T23:41:22.675Z] [INFO] Currently running in a labeled security context [2021-06-30T23:41:22.675Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T23:41:22.676Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/57@tmp/jenkins-gitclient-ssh6948465303263168804.key [2021-06-30T23:41:22.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T23:41:23.594Z] Avoid second fetch [2021-06-30T23:41:23.595Z] Checking out Revision ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (master) [2021-06-30T23:41:23.570Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T23:41:23.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T23:41:23.598Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T23:41:23.608Z] > git checkout -f ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [2021-06-30T23:41:27.227Z] Commit message: "Merge pull request #127 from siggiskulason/snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T23:41:30.388Z] + git checkout ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:41:30.388Z] HEAD is now at ac4b371 Merge pull request #127 from siggiskulason/snap-v2 [Pipeline] sh [2021-06-30T23:41:30.721Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-30T23:41:31.026Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T23:41:31.342Z] + sudo service docker restart [2021-06-30T23:41:31.342Z] + true [2021-06-30T23:41:31.342Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:41:49.542Z] provisioning config files... [2021-06-30T23:41:49.566Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/57@tmp/config3985499331298345768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:41:49.925Z] ---> docker-login.sh [2021-06-30T23:41:49.925Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:41:49.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:50.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:50.187Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:50.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:50.187Z] [2021-06-30T23:41:50.187Z] Login Succeeded [2021-06-30T23:41:50.187Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:41:50.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:50.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:50.187Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:50.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:50.187Z] [2021-06-30T23:41:50.187Z] Login Succeeded [2021-06-30T23:41:50.187Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:41:50.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:50.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:50.448Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:50.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:50.448Z] [2021-06-30T23:41:50.448Z] Login Succeeded [2021-06-30T23:41:50.448Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:41:50.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:50.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:50.448Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:50.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:50.448Z] [2021-06-30T23:41:50.448Z] Login Succeeded [2021-06-30T23:41:50.448Z] docker.io [2021-06-30T23:41:50.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:41:50.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:41:50.983Z] Configure a credential helper to remove this warning. See [2021-06-30T23:41:50.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:41:50.983Z] [2021-06-30T23:41:50.983Z] Login Succeeded [2021-06-30T23:41:50.983Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:41:50.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T23:41:51.209Z] ========================================================= [2021-06-30T23:41:51.209Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-30T23:41:51.209Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:41:51.551Z] + 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-30T23:41:51.551Z] Sending build context to Docker daemon 116.2kB [2021-06-30T23:41:51.551Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T23:41:51.551Z] Step 2/10 : FROM ${BASE} [2021-06-30T23:41:51.551Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-30T23:41:51.551Z] 540db60ca938: Pulling fs layer [2021-06-30T23:41:51.551Z] adcc1eea9eea: Pulling fs layer [2021-06-30T23:41:51.551Z] 4c4ab2625f07: Pulling fs layer [2021-06-30T23:41:51.551Z] 0510c868ecb4: Pulling fs layer [2021-06-30T23:41:51.551Z] afea3b2eda06: Pulling fs layer [2021-06-30T23:41:51.551Z] 7809a108b3ef: Pulling fs layer [2021-06-30T23:41:51.551Z] f706445af74f: Pulling fs layer [2021-06-30T23:41:51.551Z] afea3b2eda06: Waiting [2021-06-30T23:41:51.551Z] 7809a108b3ef: Waiting [2021-06-30T23:41:51.551Z] f706445af74f: Waiting [2021-06-30T23:41:51.551Z] 0510c868ecb4: Waiting [2021-06-30T23:41:51.551Z] 4c4ab2625f07: Verifying Checksum [2021-06-30T23:41:51.551Z] 4c4ab2625f07: Download complete [2021-06-30T23:41:51.551Z] adcc1eea9eea: Verifying Checksum [2021-06-30T23:41:51.551Z] adcc1eea9eea: Download complete [2021-06-30T23:41:51.817Z] afea3b2eda06: Verifying Checksum [2021-06-30T23:41:51.817Z] afea3b2eda06: Download complete [2021-06-30T23:41:51.817Z] 540db60ca938: Verifying Checksum [2021-06-30T23:41:51.817Z] 7809a108b3ef: Verifying Checksum [2021-06-30T23:41:51.817Z] 7809a108b3ef: Download complete [2021-06-30T23:41:51.817Z] 540db60ca938: Pull complete [2021-06-30T23:41:52.083Z] adcc1eea9eea: Pull complete [2021-06-30T23:41:52.083Z] 4c4ab2625f07: Pull complete [2021-06-30T23:41:54.660Z] f706445af74f: Verifying Checksum [2021-06-30T23:41:54.660Z] f706445af74f: Download complete [2021-06-30T23:41:54.660Z] 0510c868ecb4: Verifying Checksum [2021-06-30T23:41:54.660Z] 0510c868ecb4: Download complete [2021-06-30T23:41:57.243Z] 0510c868ecb4: Pull complete [2021-06-30T23:41:57.243Z] afea3b2eda06: Pull complete [2021-06-30T23:41:57.243Z] 7809a108b3ef: Pull complete [2021-06-30T23:41:58.652Z] f706445af74f: Pull complete [2021-06-30T23:41:58.652Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-30T23:41:58.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-30T23:41:58.652Z] ---> b068be0155e3 [2021-06-30T23:41:58.652Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T23:42:03.928Z] ---> Running in aebd3ec1952d [2021-06-30T23:42:03.928Z] Removing intermediate container aebd3ec1952d [2021-06-30T23:42:03.928Z] ---> 5a41c3333178 [2021-06-30T23:42:03.928Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T23:42:04.195Z] ---> Running in 8eaf9cfa3e80 [2021-06-30T23:42:04.195Z] Removing intermediate container 8eaf9cfa3e80 [2021-06-30T23:42:04.195Z] ---> f239d3c0d2be [2021-06-30T23:42:04.196Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T23:42:04.196Z] ---> Running in b41a594e62e5 [2021-06-30T23:42:04.455Z] Removing intermediate container b41a594e62e5 [2021-06-30T23:42:04.456Z] ---> 692e075513ad [2021-06-30T23:42:04.456Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:42:04.456Z] ---> Running in 07fa8f177d8d [2021-06-30T23:42:05.030Z] Removing intermediate container 07fa8f177d8d [2021-06-30T23:42:05.030Z] ---> a408b73082b7 [2021-06-30T23:42:05.030Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T23:42:05.030Z] ---> Running in 68f755e67570 [2021-06-30T23:42:05.294Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T23:42:06.246Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T23:42:06.824Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T23:42:06.824Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T23:42:06.824Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T23:42:07.085Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T23:42:07.085Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T23:42:07.348Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T23:42:07.348Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T23:42:07.611Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T23:42:07.874Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T23:42:07.874Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T23:42:07.874Z] OK: 154 MiB in 49 packages [2021-06-30T23:42:08.452Z] Removing intermediate container 68f755e67570 [2021-06-30T23:42:08.452Z] ---> e7c377f8330c [2021-06-30T23:42:08.452Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T23:42:08.452Z] ---> Running in 806e7450df41 [2021-06-30T23:42:08.452Z] Removing intermediate container 806e7450df41 [2021-06-30T23:42:08.452Z] ---> d197eace378d [2021-06-30T23:42:08.452Z] Step 9/10 : COPY . . [2021-06-30T23:42:08.718Z] ---> 5727b818bdfd [2021-06-30T23:42:08.718Z] Step 10/10 : RUN go mod download [2021-06-30T23:42:08.718Z] ---> Running in 3eea98bd948e [2021-06-30T23:42:23.891Z] Removing intermediate container 3eea98bd948e [2021-06-30T23:42:23.891Z] ---> 2fb026ad32f5 [2021-06-30T23:42:23.891Z] Successfully built 2fb026ad32f5 [2021-06-30T23:42:23.891Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:42:24.198Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T23:42:24.198Z] . [Pipeline] withDockerContainer [2021-06-30T23:42:24.280Z] prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container [2021-06-30T23:42:24.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/57 -v /w/workspace/device-rest-go/57:/w/workspace/device-rest-go/57:rw,z -v /w/workspace/device-rest-go/57@tmp:/w/workspace/device-rest-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T23:42:24.702Z] $ docker top 4d5431ca9fea261665f14c45100b83b6c15f81c7baae3b482af2ea3744dca062 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:42:25.079Z] + go version [2021-06-30T23:42:25.079Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-30T23:42:25.086Z] $ docker stop --time=1 4d5431ca9fea261665f14c45100b83b6c15f81c7baae3b482af2ea3744dca062 [2021-06-30T23:42:26.264Z] $ docker rm -f 4d5431ca9fea261665f14c45100b83b6c15f81c7baae3b482af2ea3744dca062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:42:26.834Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T23:42:26.834Z] . [Pipeline] withDockerContainer [2021-06-30T23:42:26.914Z] prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container [2021-06-30T23:42:26.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/57 -v /w/workspace/device-rest-go/57:/w/workspace/device-rest-go/57:rw,z -v /w/workspace/device-rest-go/57@tmp:/w/workspace/device-rest-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T23:42:27.287Z] $ docker top 6b5cca84111ccd233d294def727d28fa69d3482b32ac0a77df104633d5474a94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:42:27.680Z] + go mod tidy [Pipeline] sh [2021-06-30T23:42:30.335Z] + make test [2021-06-30T23:42:30.336Z] go mod tidy [2021-06-30T23:42:30.336Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T23:42:30.920Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T23:42:45.932Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T23:42:46.194Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 54.0% of statements [2021-06-30T23:42:46.194Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T23:42:53.608Z] gofmt -l . [2021-06-30T23:42:53.608Z] [ "`gofmt -l .`" = "" ] [2021-06-30T23:42:53.608Z] ./bin/test-go-mod-tidy.sh [2021-06-30T23:42:53.608Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T23:42:53.615Z] $ docker stop --time=1 6b5cca84111ccd233d294def727d28fa69d3482b32ac0a77df104633d5474a94 [2021-06-30T23:42:55.130Z] $ docker rm -f 6b5cca84111ccd233d294def727d28fa69d3482b32ac0a77df104633d5474a94 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T23:42:55.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T23:42:55.739Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-30T23:42:56.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T23:42:57.137Z] + ls -al . [2021-06-30T23:42:57.137Z] total 112 [2021-06-30T23:42:57.137Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 30 23:42 . [2021-06-30T23:42:57.137Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 30 23:41 .. [2021-06-30T23:42:57.137Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 30 23:41 Attribution.txt [2021-06-30T23:42:57.138Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 23:41 bin [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jun 30 23:41 CHANGELOG.md [2021-06-30T23:42:57.138Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 23:41 cmd [2021-06-30T23:42:57.138Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 30 23:42 coverage.out [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 30 23:41 Dockerfile [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 30 23:41 Dockerfile.build [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 30 23:41 .dockerignore [2021-06-30T23:42:57.138Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 30 23:41 driver [2021-06-30T23:42:57.138Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 30 23:41 .git [2021-06-30T23:42:57.138Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 23:41 .github [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 30 23:41 .gitignore [2021-06-30T23:42:57.138Z] -rw-r--r--. 1 jenkins jenkins 271 Jun 30 23:42 go.mod [2021-06-30T23:42:57.138Z] -rw-r--r--. 1 jenkins jenkins 20570 Jun 30 23:42 go.sum [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 30 23:41 Jenkinsfile [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 23:41 LICENSE [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 30 23:41 Makefile [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 30 23:41 README.md [2021-06-30T23:42:57.138Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 23:41 snap [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 23:39 VERSION [2021-06-30T23:42:57.138Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 30 23:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:42:57.446Z] + 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=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 --label arch=amd64 --label version=2.0.0 . [2021-06-30T23:42:57.446Z] Sending build context to Docker daemon 126kB [2021-06-30T23:42:57.446Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T23:42:57.446Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T23:42:57.446Z] ---> 2fb026ad32f5 [2021-06-30T23:42:57.446Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T23:42:57.446Z] ---> Running in 56586f4c04a0 [2021-06-30T23:42:57.446Z] Removing intermediate container 56586f4c04a0 [2021-06-30T23:42:57.446Z] ---> 9489d3ab817c [2021-06-30T23:42:57.446Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T23:42:57.715Z] ---> Running in 8244a122af5c [2021-06-30T23:42:57.715Z] Removing intermediate container 8244a122af5c [2021-06-30T23:42:57.715Z] ---> ea1dc1bd08a8 [2021-06-30T23:42:57.715Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T23:42:57.715Z] ---> Running in 6d9b788a0ec2 [2021-06-30T23:42:57.715Z] Removing intermediate container 6d9b788a0ec2 [2021-06-30T23:42:57.715Z] ---> 2bb31db56d56 [2021-06-30T23:42:57.715Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:42:57.715Z] ---> Running in eb0fae3b450a [2021-06-30T23:42:58.296Z] Removing intermediate container eb0fae3b450a [2021-06-30T23:42:58.296Z] ---> 944007860d89 [2021-06-30T23:42:58.296Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T23:42:58.296Z] ---> Running in 0fe438ec32fc [2021-06-30T23:42:58.568Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T23:42:58.753Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1068 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-06-30T23:42:58.775Z] Running in /w/workspace/device-rest-go/57 [Pipeline] { [Pipeline] checkout [2021-06-30T23:42:58.986Z] The recommended git tool is: git [2021-06-30T23:42:59.510Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T23:43:00.084Z] OK: 154 MiB in 49 packages [2021-06-30T23:43:00.084Z] Removing intermediate container 0fe438ec32fc [2021-06-30T23:43:00.084Z] ---> 6cc4dc3d36e7 [2021-06-30T23:43:00.084Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T23:43:00.084Z] ---> Running in 007f48ce60e5 [2021-06-30T23:43:02.694Z] Removing intermediate container 007f48ce60e5 [2021-06-30T23:43:02.694Z] ---> 6c5f0f1d4c42 [2021-06-30T23:43:02.694Z] Step 9/25 : COPY . . [2021-06-30T23:43:02.694Z] ---> 7fb117d8fdeb [2021-06-30T23:43:02.694Z] Step 10/25 : RUN go mod tidy [2021-06-30T23:43:02.694Z] ---> Running in 7632ad080854 [2021-06-30T23:43:02.694Z] Removing intermediate container 7632ad080854 [2021-06-30T23:43:02.694Z] ---> 1ff877e9853e [2021-06-30T23:43:02.694Z] Step 11/25 : RUN make update [2021-06-30T23:43:02.694Z] ---> Running in 30b6326093e7 [2021-06-30T23:43:02.694Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T23:43:02.694Z] Removing intermediate container 30b6326093e7 [2021-06-30T23:43:02.694Z] ---> 45593bdde2fe [2021-06-30T23:43:02.694Z] Step 12/25 : RUN $MAKE [2021-06-30T23:43:02.694Z] ---> Running in ca2dced06aa8 [2021-06-30T23:43:02.694Z] go mod tidy [2021-06-30T23:43:02.694Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.0" -o cmd/device-rest ./cmd [2021-06-30T23:43:07.023Z] using credential edgex-jenkins-ssh [2021-06-30T23:43:07.053Z] Cloning the remote Git repository [2021-06-30T23:43:07.104Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T23:43:07.208Z] > git init /w/workspace/device-rest-go/57 # timeout=10 [2021-06-30T23:43:07.276Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T23:43:07.277Z] > git --version # timeout=10 [2021-06-30T23:43:07.298Z] > git --version # 'git version 2.17.1' [2021-06-30T23:43:07.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T23:43:07.383Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T23:43:08.943Z] Avoid second fetch [2021-06-30T23:43:08.944Z] Checking out Revision ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (master) [2021-06-30T23:43:08.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T23:43:08.925Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T23:43:08.969Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T23:43:08.980Z] > git checkout -f ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [2021-06-30T23:43:12.784Z] Removing intermediate container ca2dced06aa8 [2021-06-30T23:43:12.784Z] ---> 86077cdbbb92 [2021-06-30T23:43:12.784Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T23:43:12.784Z] 3.12: Pulling from library/alpine [2021-06-30T23:43:13.054Z] 339de151aab4: Pulling fs layer [2021-06-30T23:43:13.054Z] 339de151aab4: Verifying Checksum [2021-06-30T23:43:13.054Z] 339de151aab4: Download complete [2021-06-30T23:43:13.225Z] Commit message: "Merge pull request #127 from siggiskulason/snap-v2" [2021-06-30T23:43:13.316Z] 339de151aab4: Pull complete [2021-06-30T23:43:13.316Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T23:43:13.316Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T23:43:13.316Z] ---> 13621d1b12d4 [2021-06-30T23:43:13.316Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T23:43:13.316Z] ---> Running in c0307f08e557 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2021-06-30T23:43:13.584Z] Removing intermediate container c0307f08e557 [2021-06-30T23:43:13.585Z] ---> 8e315ec1525d [2021-06-30T23:43:13.585Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T23:43:13.585Z] ---> Running in a871b2810685 [2021-06-30T23:43:13.585Z] Removing intermediate container a871b2810685 [2021-06-30T23:43:13.585Z] ---> fb28ec43b0e4 [2021-06-30T23:43:13.585Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T23:43:13.585Z] ---> Running in 518b14c8e81d [Pipeline] { [Pipeline] sh [2021-06-30T23:43:13.859Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-30T23:43:13.859Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-30T23:43:13.859Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T23:43:13.859Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T23:43:13.859Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T23:43:14.121Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T23:43:14.121Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T23:43:14.121Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T23:43:14.121Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T23:43:14.121Z] OK: 8 MiB in 20 packages [2021-06-30T23:43:14.382Z] Removing intermediate container 518b14c8e81d [2021-06-30T23:43:14.382Z] ---> af4faf361b03 [2021-06-30T23:43:14.382Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T23:43:14.407Z] + git checkout ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:43:14.407Z] HEAD is now at ac4b371 Merge pull request #127 from siggiskulason/snap-v2 [Pipeline] sh [2021-06-30T23:43:14.649Z] ---> 55662c3658eb [2021-06-30T23:43:14.649Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T23:43:14.649Z] ---> f7eae4a5aec9 [2021-06-30T23:43:14.649Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T23:43:14.858Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-30T23:43:14.912Z] ---> acc3446bc365 [2021-06-30T23:43:14.912Z] Step 20/25 : EXPOSE 59986 [2021-06-30T23:43:14.912Z] ---> Running in 00b6d2df4c1b [2021-06-30T23:43:14.912Z] Removing intermediate container 00b6d2df4c1b [2021-06-30T23:43:14.912Z] ---> 940b73243663 [2021-06-30T23:43:14.912Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T23:43:14.912Z] ---> Running in 4850336d989b [2021-06-30T23:43:15.173Z] Removing intermediate container 4850336d989b [2021-06-30T23:43:15.173Z] ---> 94a0e07a05a3 [2021-06-30T23:43:15.173Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T23:43:15.173Z] ---> Running in 027d3f1c9ce9 [2021-06-30T23:43:15.173Z] Removing intermediate container 027d3f1c9ce9 [2021-06-30T23:43:15.173Z] ---> 5668c900bbdb [2021-06-30T23:43:15.173Z] Step 23/25 : LABEL arch=amd64 [2021-06-30T23:43:15.207Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T23:43:15.437Z] ---> Running in c5fe3f370f3f [2021-06-30T23:43:15.437Z] Removing intermediate container c5fe3f370f3f [2021-06-30T23:43:15.437Z] ---> efc43287cfee [2021-06-30T23:43:15.437Z] Step 24/25 : LABEL git_sha=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:43:15.437Z] ---> Running in fefcbd01b2b6 [2021-06-30T23:43:15.437Z] Removing intermediate container fefcbd01b2b6 [2021-06-30T23:43:15.437Z] ---> 13e0869be5b8 [2021-06-30T23:43:15.437Z] Step 25/25 : LABEL version=2.0.0 [2021-06-30T23:43:15.437Z] ---> Running in 390c45f21132 [2021-06-30T23:43:15.552Z] + true [2021-06-30T23:43:15.552Z] + sudo service docker restart [2021-06-30T23:43:15.697Z] Removing intermediate container 390c45f21132 [2021-06-30T23:43:15.697Z] ---> 3c6f4fdd38ac [2021-06-30T23:43:15.697Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T23:43:15.697Z] Successfully built 3c6f4fdd38ac [2021-06-30T23:43:15.697Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:43:15.946Z] provisioning config files... [2021-06-30T23:43:15.958Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/57@tmp/config3600165301861606171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:43:16.281Z] ---> docker-login.sh [2021-06-30T23:43:16.281Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:43:16.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:16.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:16.281Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:16.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:16.281Z] [2021-06-30T23:43:16.281Z] Login Succeeded [2021-06-30T23:43:16.281Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:43:16.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:16.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:16.542Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:16.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:16.542Z] [2021-06-30T23:43:16.542Z] Login Succeeded [2021-06-30T23:43:16.542Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:43:16.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:16.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:16.542Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:16.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:16.542Z] [2021-06-30T23:43:16.542Z] Login Succeeded [2021-06-30T23:43:16.542Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:43:16.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:16.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:16.802Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:16.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:16.802Z] [2021-06-30T23:43:16.802Z] Login Succeeded [2021-06-30T23:43:16.802Z] docker.io [2021-06-30T23:43:16.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:17.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:17.064Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:17.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:17.064Z] [2021-06-30T23:43:17.064Z] Login Succeeded [2021-06-30T23:43:17.064Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:43:17.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-30T23:43:19.251Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-06-30T23:43:19.251Z] ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:43:19.251Z] latest [2021-06-30T23:43:19.251Z] 2.0.0 [2021-06-30T23:43:19.251Z] ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [2021-06-30T23:43:19.251Z] master [2021-06-30T23:43:19.251Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:19.631Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:19.938Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:43:19.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-30T23:43:19.938Z] 3206dc43fcc1: Preparing [2021-06-30T23:43:19.938Z] 5a88ef158781: Preparing [2021-06-30T23:43:19.938Z] fd0c6ee4f606: Preparing [2021-06-30T23:43:19.938Z] a5ca5e091e1f: Preparing [2021-06-30T23:43:19.938Z] 32f366d666a5: Preparing [2021-06-30T23:43:19.938Z] 32f366d666a5: Layer already exists [2021-06-30T23:43:20.204Z] 5a88ef158781: Pushed [2021-06-30T23:43:20.204Z] 3206dc43fcc1: Pushed [2021-06-30T23:43:20.204Z] a5ca5e091e1f: Pushed [2021-06-30T23:43:21.602Z] fd0c6ee4f606: Pushed [2021-06-30T23:43:21.602Z] ac4b371315fba0b9546dc2a95c8393f838fbe7e4: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:21.909Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:22.218Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-06-30T23:43:22.218Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-30T23:43:22.218Z] 3206dc43fcc1: Preparing [2021-06-30T23:43:22.218Z] 5a88ef158781: Preparing [2021-06-30T23:43:22.218Z] fd0c6ee4f606: Preparing [2021-06-30T23:43:22.218Z] a5ca5e091e1f: Preparing [2021-06-30T23:43:22.218Z] 32f366d666a5: Preparing [2021-06-30T23:43:22.218Z] fd0c6ee4f606: Layer already exists [2021-06-30T23:43:22.218Z] a5ca5e091e1f: Layer already exists [2021-06-30T23:43:22.218Z] 5a88ef158781: Layer already exists [2021-06-30T23:43:22.218Z] 3206dc43fcc1: Layer already exists [2021-06-30T23:43:22.218Z] 32f366d666a5: Layer already exists [2021-06-30T23:43:22.218Z] latest: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:22.525Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:22.823Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.0 [2021-06-30T23:43:22.823Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-30T23:43:22.823Z] 3206dc43fcc1: Preparing [2021-06-30T23:43:22.823Z] 5a88ef158781: Preparing [2021-06-30T23:43:22.823Z] fd0c6ee4f606: Preparing [2021-06-30T23:43:22.823Z] a5ca5e091e1f: Preparing [2021-06-30T23:43:22.823Z] 32f366d666a5: Preparing [2021-06-30T23:43:22.823Z] 3206dc43fcc1: Layer already exists [2021-06-30T23:43:22.823Z] a5ca5e091e1f: Layer already exists [2021-06-30T23:43:22.823Z] 32f366d666a5: Layer already exists [2021-06-30T23:43:22.823Z] fd0c6ee4f606: Layer already exists [2021-06-30T23:43:22.823Z] 5a88ef158781: Layer already exists [2021-06-30T23:43:22.823Z] 2.0.0: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:23.129Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:23.434Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [2021-06-30T23:43:23.434Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-30T23:43:23.434Z] 3206dc43fcc1: Preparing [2021-06-30T23:43:23.434Z] 5a88ef158781: Preparing [2021-06-30T23:43:23.434Z] fd0c6ee4f606: Preparing [2021-06-30T23:43:23.434Z] a5ca5e091e1f: Preparing [2021-06-30T23:43:23.434Z] 32f366d666a5: Preparing [2021-06-30T23:43:23.434Z] a5ca5e091e1f: Layer already exists [2021-06-30T23:43:23.434Z] fd0c6ee4f606: Layer already exists [2021-06-30T23:43:23.434Z] 5a88ef158781: Layer already exists [2021-06-30T23:43:23.434Z] 3206dc43fcc1: Layer already exists [2021-06-30T23:43:23.434Z] 32f366d666a5: Layer already exists [2021-06-30T23:43:23.434Z] ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:23.747Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:24.054Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-06-30T23:43:24.054Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-30T23:43:24.054Z] 3206dc43fcc1: Preparing [2021-06-30T23:43:24.054Z] 5a88ef158781: Preparing [2021-06-30T23:43:24.054Z] fd0c6ee4f606: Preparing [2021-06-30T23:43:24.054Z] a5ca5e091e1f: Preparing [2021-06-30T23:43:24.054Z] 32f366d666a5: Preparing [2021-06-30T23:43:24.054Z] fd0c6ee4f606: Layer already exists [2021-06-30T23:43:24.054Z] a5ca5e091e1f: Layer already exists [2021-06-30T23:43:24.054Z] 5a88ef158781: Layer already exists [2021-06-30T23:43:24.054Z] 3206dc43fcc1: Layer already exists [2021-06-30T23:43:24.054Z] 32f366d666a5: Layer already exists [2021-06-30T23:43:24.054Z] master: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-30T23:43:24.114Z] ===================================================== [Pipeline] echo [2021-06-30T23:43:24.130Z] taggedImages: [2021-06-30T23:43:24.130Z] - nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:43:24.130Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-06-30T23:43:24.130Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.0 [2021-06-30T23:43:24.130Z] - nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [2021-06-30T23:43:24.130Z] - 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-30T23:43:24.916Z] ---> job-cost.sh [2021-06-30T23:43:24.917Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AJXV [2021-06-30T23:43:33.074Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:43:38.092Z] provisioning config files... [2021-06-30T23:43:38.118Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/57@tmp/config365896038742433658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:43:38.493Z] ---> docker-login.sh [2021-06-30T23:43:38.493Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:43:39.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:39.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:39.695Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:39.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:39.695Z] [2021-06-30T23:43:39.695Z] Login Succeeded [2021-06-30T23:43:39.695Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:43:39.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:40.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:40.249Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:40.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:40.249Z] [2021-06-30T23:43:40.249Z] Login Succeeded [2021-06-30T23:43:40.249Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:43:40.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:40.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:40.797Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:40.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:40.797Z] [2021-06-30T23:43:40.797Z] Login Succeeded [2021-06-30T23:43:40.797Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:43:41.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:41.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:41.350Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:41.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:41.350Z] [2021-06-30T23:43:41.350Z] Login Succeeded [2021-06-30T23:43:41.350Z] docker.io [2021-06-30T23:43:41.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:43:42.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:43:42.224Z] Configure a credential helper to remove this warning. See [2021-06-30T23:43:42.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:43:42.224Z] [2021-06-30T23:43:42.224Z] Login Succeeded [2021-06-30T23:43:42.224Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:43:42.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T23:43:42.531Z] ========================================================= [2021-06-30T23:43:42.532Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-30T23:43:42.532Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:43:42.887Z] + 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-30T23:43:42.887Z] Sending build context to Docker daemon 116.2kB [2021-06-30T23:43:43.479Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T23:43:43.480Z] Step 2/10 : FROM ${BASE} [2021-06-30T23:43:43.752Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-30T23:43:43.752Z] 595b0fe564bb: Pulling fs layer [2021-06-30T23:43:43.752Z] 3088b5b3c5c0: Pulling fs layer [2021-06-30T23:43:43.752Z] 5b7225fbf94c: Pulling fs layer [2021-06-30T23:43:43.752Z] ba82ee9f976e: Pulling fs layer [2021-06-30T23:43:43.752Z] 506bd15cee9f: Pulling fs layer [2021-06-30T23:43:43.752Z] 75a0a4a0db45: Pulling fs layer [2021-06-30T23:43:43.752Z] 618dc40b7e24: Pulling fs layer [2021-06-30T23:43:43.752Z] 506bd15cee9f: Waiting [2021-06-30T23:43:43.752Z] 75a0a4a0db45: Waiting [2021-06-30T23:43:43.752Z] 618dc40b7e24: Waiting [2021-06-30T23:43:43.752Z] ba82ee9f976e: Waiting [2021-06-30T23:43:43.752Z] 5b7225fbf94c: Verifying Checksum [2021-06-30T23:43:43.752Z] 5b7225fbf94c: Download complete [2021-06-30T23:43:43.752Z] 3088b5b3c5c0: Download complete [2021-06-30T23:43:44.025Z] 506bd15cee9f: Verifying Checksum [2021-06-30T23:43:44.025Z] 506bd15cee9f: Download complete [2021-06-30T23:43:44.025Z] 75a0a4a0db45: Verifying Checksum [2021-06-30T23:43:44.025Z] 75a0a4a0db45: Download complete [2021-06-30T23:43:44.025Z] 595b0fe564bb: Verifying Checksum [2021-06-30T23:43:44.025Z] 595b0fe564bb: Download complete [2021-06-30T23:43:44.631Z] 595b0fe564bb: Pull complete [2021-06-30T23:43:45.235Z] 3088b5b3c5c0: Pull complete [2021-06-30T23:43:45.514Z] 5b7225fbf94c: Pull complete [2021-06-30T23:43:46.505Z] 618dc40b7e24: Verifying Checksum [2021-06-30T23:43:47.765Z] lf-activate-venv(): INFO: Adding /tmp/venv-AJXV/bin to PATH [2021-06-30T23:43:47.765Z] INFO: No Stack... [2021-06-30T23:43:47.765Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T23:43:47.765Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T23:43:47.946Z] ba82ee9f976e: Verifying Checksum [2021-06-30T23:43:47.946Z] ba82ee9f976e: Download complete [2021-06-30T23:43:48.061Z] + cat /w/workspace/device-rest-go/57/archives/cost.csv [2021-06-30T23:43:48.061Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T23:43:48.092Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] [2021-06-30T23:43:48.110Z] Resource [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] did not exist. Created. [2021-06-30T23:43:48.110Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T23:43:48.439Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-30T23:43:48.501Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T23:43:48.518Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T23:44:00.389Z] ba82ee9f976e: Pull complete [2021-06-30T23:44:00.389Z] 506bd15cee9f: Pull complete [2021-06-30T23:44:00.389Z] 75a0a4a0db45: Pull complete [2021-06-30T23:44:03.035Z] 618dc40b7e24: Pull complete [2021-06-30T23:44:03.035Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-30T23:44:03.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-30T23:44:03.035Z] ---> a36622ca3599 [2021-06-30T23:44:03.035Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T23:44:05.294Z] ---> Running in 07e7451b82d3 [2021-06-30T23:44:05.572Z] Removing intermediate container 07e7451b82d3 [2021-06-30T23:44:05.572Z] ---> a6aa5df12e4f [2021-06-30T23:44:05.572Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T23:44:05.572Z] ---> Running in d6fca8e47143 [2021-06-30T23:44:06.168Z] Removing intermediate container d6fca8e47143 [2021-06-30T23:44:06.168Z] ---> e66283c4cac8 [2021-06-30T23:44:06.168Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T23:44:06.168Z] ---> Running in 44736adfd511 [2021-06-30T23:44:06.766Z] Removing intermediate container 44736adfd511 [2021-06-30T23:44:06.766Z] ---> d9ca95742b57 [2021-06-30T23:44:06.766Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:44:06.766Z] ---> Running in c8725f75c2ad [2021-06-30T23:44:09.388Z] Removing intermediate container c8725f75c2ad [2021-06-30T23:44:09.388Z] ---> f9ca15313a3a [2021-06-30T23:44:09.388Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T23:44:09.388Z] ---> Running in 962f7c56c488 [2021-06-30T23:44:11.805Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T23:44:11.805Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T23:44:11.805Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T23:44:12.076Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T23:44:12.076Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T23:44:12.076Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T23:44:12.349Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T23:44:12.349Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T23:44:12.349Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T23:44:12.950Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T23:44:12.950Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T23:44:12.950Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T23:44:12.950Z] OK: 144 MiB in 49 packages [2021-06-30T23:44:14.392Z] Removing intermediate container 962f7c56c488 [2021-06-30T23:44:14.392Z] ---> f6c92a9c2850 [2021-06-30T23:44:14.392Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T23:44:14.667Z] ---> Running in 449ebbfdafac [2021-06-30T23:44:15.263Z] Removing intermediate container 449ebbfdafac [2021-06-30T23:44:15.264Z] ---> 27cc9b02a520 [2021-06-30T23:44:15.264Z] Step 9/10 : COPY . . [2021-06-30T23:44:15.866Z] ---> 5f5e808dc069 [2021-06-30T23:44:15.866Z] Step 10/10 : RUN go mod download [2021-06-30T23:44:15.866Z] ---> Running in e006d232ddac [2021-06-30T23:44:42.701Z] Removing intermediate container e006d232ddac [2021-06-30T23:44:42.701Z] ---> f494105c5881 [2021-06-30T23:44:42.701Z] Successfully built f494105c5881 [2021-06-30T23:44:42.701Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:44:43.042Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T23:44:43.042Z] . [Pipeline] withDockerContainer [2021-06-30T23:44:43.303Z] prd-ubuntu18.04-docker-arm64-4c-16g-1068 does not seem to be running inside a container [2021-06-30T23:44:43.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/57 -v /w/workspace/device-rest-go/57:/w/workspace/device-rest-go/57:rw,z -v /w/workspace/device-rest-go/57@tmp:/w/workspace/device-rest-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-30T23:44:44.931Z] $ docker top ba7c75237fe97c6a332958a794cdf99cdb18743d6ebb720b9e837b78e615757d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:44:45.912Z] + go version [2021-06-30T23:44:45.912Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-30T23:44:45.944Z] $ docker stop --time=1 ba7c75237fe97c6a332958a794cdf99cdb18743d6ebb720b9e837b78e615757d [2021-06-30T23:44:47.746Z] $ docker rm -f ba7c75237fe97c6a332958a794cdf99cdb18743d6ebb720b9e837b78e615757d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:44:48.539Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T23:44:48.539Z] . [Pipeline] withDockerContainer [2021-06-30T23:44:48.811Z] prd-ubuntu18.04-docker-arm64-4c-16g-1068 does not seem to be running inside a container [2021-06-30T23:44:48.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/57 -v /w/workspace/device-rest-go/57:/w/workspace/device-rest-go/57:rw,z -v /w/workspace/device-rest-go/57@tmp:/w/workspace/device-rest-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-30T23:44:50.529Z] $ docker top 1320fc9fc5af6294853dfc2358619ed30604dfc8366130e7c407ba264da825cf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:44:51.513Z] + go mod tidy [Pipeline] sh [2021-06-30T23:44:52.790Z] + make test [2021-06-30T23:44:52.790Z] go mod tidy [2021-06-30T23:44:53.388Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T23:44:54.383Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T23:45:43.440Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T23:45:45.430Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 54.0% of statements [2021-06-30T23:45:45.705Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T23:46:11.070Z] gofmt -l . [2021-06-30T23:46:11.070Z] [ "`gofmt -l .`" = "" ] [2021-06-30T23:46:11.070Z] ./bin/test-go-mod-tidy.sh [2021-06-30T23:46:11.070Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T23:46:15.084Z] $ docker stop --time=1 1320fc9fc5af6294853dfc2358619ed30604dfc8366130e7c407ba264da825cf [2021-06-30T23:46:16.954Z] $ docker rm -f 1320fc9fc5af6294853dfc2358619ed30604dfc8366130e7c407ba264da825cf [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T23:46:17.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T23:46:17.787Z] Warning: overwriting stash ‘coverage-report’ [2021-06-30T23:46:18.271Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T23:46:18.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T23:46:19.107Z] + ls -al . [2021-06-30T23:46:19.107Z] total 140 [2021-06-30T23:46:19.107Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 23:46 . [2021-06-30T23:46:19.107Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 23:43 .. [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 30 23:43 .dockerignore [2021-06-30T23:46:19.107Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 23:43 .git [2021-06-30T23:46:19.107Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:43 .github [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 30 23:43 .gitignore [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 30 23:43 Attribution.txt [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 30 23:43 CHANGELOG.md [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 30 23:43 Dockerfile [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 30 23:43 Dockerfile.build [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 30 23:43 Jenkinsfile [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 23:43 LICENSE [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 30 23:43 Makefile [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 30 23:43 README.md [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 23:39 VERSION [2021-06-30T23:46:19.107Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:43 bin [2021-06-30T23:46:19.107Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 23:43 cmd [2021-06-30T23:46:19.107Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 30 23:45 coverage.out [2021-06-30T23:46:19.107Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:43 driver [2021-06-30T23:46:19.107Z] -rw-r--r-- 1 jenkins jenkins 271 Jun 30 23:46 go.mod [2021-06-30T23:46:19.107Z] -rw-r--r-- 1 jenkins jenkins 20570 Jun 30 23:44 go.sum [2021-06-30T23:46:19.107Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 23:43 snap [2021-06-30T23:46:19.107Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 30 23:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:46:19.450Z] + 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=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 --label arch=arm64 --label version=2.0.0 . [2021-06-30T23:46:19.450Z] Sending build context to Docker daemon 126kB [2021-06-30T23:46:19.721Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T23:46:19.721Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T23:46:19.721Z] ---> f494105c5881 [2021-06-30T23:46:19.721Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T23:46:19.992Z] ---> Running in cdf403d8d7b7 [2021-06-30T23:46:20.592Z] Removing intermediate container cdf403d8d7b7 [2021-06-30T23:46:20.593Z] ---> bbde4584d8c4 [2021-06-30T23:46:20.593Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T23:46:20.593Z] ---> Running in f04347018682 [2021-06-30T23:46:21.186Z] Removing intermediate container f04347018682 [2021-06-30T23:46:21.186Z] ---> 9f719c604fbe [2021-06-30T23:46:21.186Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T23:46:21.186Z] ---> Running in 2a90ab337403 [2021-06-30T23:46:21.465Z] Removing intermediate container 2a90ab337403 [2021-06-30T23:46:21.465Z] ---> 21c9ee9cf6b4 [2021-06-30T23:46:21.465Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T23:46:21.738Z] ---> Running in a5defa82dd8a [2021-06-30T23:46:23.720Z] Removing intermediate container a5defa82dd8a [2021-06-30T23:46:23.720Z] ---> 1e2a77750d3f [2021-06-30T23:46:23.720Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T23:46:23.997Z] ---> Running in 14f04ce6c348 [2021-06-30T23:46:24.993Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T23:46:25.964Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T23:46:27.032Z] OK: 144 MiB in 49 packages [2021-06-30T23:46:28.070Z] Removing intermediate container 14f04ce6c348 [2021-06-30T23:46:28.070Z] ---> 70163f66e40a [2021-06-30T23:46:28.070Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T23:46:28.070Z] ---> Running in ea1f2d66b096 [2021-06-30T23:46:28.675Z] Removing intermediate container ea1f2d66b096 [2021-06-30T23:46:28.675Z] ---> ef2f844f25ad [2021-06-30T23:46:28.675Z] Step 9/25 : COPY . . [2021-06-30T23:46:29.650Z] ---> 4873baef3ad8 [2021-06-30T23:46:29.650Z] Step 10/25 : RUN go mod tidy [2021-06-30T23:46:29.650Z] ---> Running in f53cf023103b [2021-06-30T23:46:32.278Z] Removing intermediate container f53cf023103b [2021-06-30T23:46:32.278Z] ---> 9ad43fc8422d [2021-06-30T23:46:32.278Z] Step 11/25 : RUN make update [2021-06-30T23:46:32.550Z] ---> Running in fc6f895e7381 [2021-06-30T23:46:33.525Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T23:46:38.246Z] Removing intermediate container fc6f895e7381 [2021-06-30T23:46:38.246Z] ---> a241d5ac0a28 [2021-06-30T23:46:38.246Z] Step 12/25 : RUN $MAKE [2021-06-30T23:46:38.246Z] ---> Running in 2e004434e341 [2021-06-30T23:46:38.246Z] go mod tidy [2021-06-30T23:46:38.246Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.0" -o cmd/device-rest ./cmd [2021-06-30T23:47:10.614Z] Removing intermediate container 2e004434e341 [2021-06-30T23:47:10.614Z] ---> f1e2295365ef [2021-06-30T23:47:10.614Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T23:47:10.614Z] 3.12: Pulling from library/alpine [2021-06-30T23:47:10.889Z] d2f70382dc9a: Pulling fs layer [2021-06-30T23:47:11.164Z] d2f70382dc9a: Download complete [2021-06-30T23:47:11.761Z] d2f70382dc9a: Pull complete [2021-06-30T23:47:11.761Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T23:47:11.761Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T23:47:11.761Z] ---> c4fd0aeabfcf [2021-06-30T23:47:11.761Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T23:47:12.035Z] ---> Running in 6dc2ca7118dc [2021-06-30T23:47:12.634Z] Removing intermediate container 6dc2ca7118dc [2021-06-30T23:47:12.634Z] ---> 2727a475e3ba [2021-06-30T23:47:12.634Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T23:47:12.634Z] ---> Running in dbd0137124ce [2021-06-30T23:47:13.229Z] Removing intermediate container dbd0137124ce [2021-06-30T23:47:13.229Z] ---> 47026110d78a [2021-06-30T23:47:13.229Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T23:47:13.229Z] ---> Running in a699a53d31b3 [2021-06-30T23:47:14.657Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-30T23:47:14.657Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-30T23:47:15.252Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T23:47:15.252Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T23:47:15.252Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T23:47:15.252Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T23:47:15.252Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T23:47:15.252Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T23:47:15.252Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T23:47:15.252Z] OK: 8 MiB in 20 packages [2021-06-30T23:47:16.234Z] Removing intermediate container a699a53d31b3 [2021-06-30T23:47:16.234Z] ---> 41f3b40b3c17 [2021-06-30T23:47:16.234Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T23:47:17.670Z] ---> 4759cccc252c [2021-06-30T23:47:17.670Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T23:47:18.263Z] ---> 49e1fa4d1fd6 [2021-06-30T23:47:18.263Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T23:47:18.856Z] ---> 8bd9aff1d8d2 [2021-06-30T23:47:18.856Z] Step 20/25 : EXPOSE 59986 [2021-06-30T23:47:19.128Z] ---> Running in 1ac2ef746296 [2021-06-30T23:47:19.402Z] Removing intermediate container 1ac2ef746296 [2021-06-30T23:47:19.402Z] ---> 42b5df469b11 [2021-06-30T23:47:19.402Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T23:47:19.675Z] ---> Running in ade1efcfebc4 [2021-06-30T23:47:20.275Z] Removing intermediate container ade1efcfebc4 [2021-06-30T23:47:20.275Z] ---> c86309d5030d [2021-06-30T23:47:20.275Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T23:47:20.275Z] ---> Running in ad5fe3cf9b74 [2021-06-30T23:47:20.886Z] Removing intermediate container ad5fe3cf9b74 [2021-06-30T23:47:20.887Z] ---> 9ea729a89502 [2021-06-30T23:47:20.887Z] Step 23/25 : LABEL arch=arm64 [2021-06-30T23:47:20.887Z] ---> Running in bbb261f01a30 [2021-06-30T23:47:21.483Z] Removing intermediate container bbb261f01a30 [2021-06-30T23:47:21.483Z] ---> c33eba231ea8 [2021-06-30T23:47:21.483Z] Step 24/25 : LABEL git_sha=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:47:21.483Z] ---> Running in c7851eb6500c [2021-06-30T23:47:22.079Z] Removing intermediate container c7851eb6500c [2021-06-30T23:47:22.079Z] ---> 2cdaf6b3bc1e [2021-06-30T23:47:22.079Z] Step 25/25 : LABEL version=2.0.0 [2021-06-30T23:47:22.079Z] ---> Running in d51d06fa41bd [2021-06-30T23:47:22.675Z] Removing intermediate container d51d06fa41bd [2021-06-30T23:47:22.675Z] ---> 7cc653d3efc2 [2021-06-30T23:47:22.675Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T23:47:22.675Z] Successfully built 7cc653d3efc2 [2021-06-30T23:47:22.675Z] 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-30T23:47:25.077Z] provisioning config files... [2021-06-30T23:47:25.095Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/57@tmp/config4273066297934726509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:47:25.450Z] ---> docker-login.sh [2021-06-30T23:47:25.450Z] nexus3.edgexfoundry.org:10001 [2021-06-30T23:47:25.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:47:25.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:47:25.994Z] Configure a credential helper to remove this warning. See [2021-06-30T23:47:25.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:47:25.994Z] [2021-06-30T23:47:25.994Z] Login Succeeded [2021-06-30T23:47:25.994Z] nexus3.edgexfoundry.org:10002 [2021-06-30T23:47:26.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:47:26.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:47:26.544Z] Configure a credential helper to remove this warning. See [2021-06-30T23:47:26.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:47:26.544Z] [2021-06-30T23:47:26.544Z] Login Succeeded [2021-06-30T23:47:26.544Z] nexus3.edgexfoundry.org:10003 [2021-06-30T23:47:26.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:47:27.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:47:27.090Z] Configure a credential helper to remove this warning. See [2021-06-30T23:47:27.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:47:27.090Z] [2021-06-30T23:47:27.090Z] Login Succeeded [2021-06-30T23:47:27.090Z] nexus3.edgexfoundry.org:10004 [2021-06-30T23:47:27.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:47:27.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:47:27.642Z] Configure a credential helper to remove this warning. See [2021-06-30T23:47:27.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:47:27.642Z] [2021-06-30T23:47:27.642Z] Login Succeeded [2021-06-30T23:47:27.642Z] docker.io [2021-06-30T23:47:28.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T23:47:28.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T23:47:28.505Z] Configure a credential helper to remove this warning. See [2021-06-30T23:47:28.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T23:47:28.505Z] [2021-06-30T23:47:28.505Z] Login Succeeded [2021-06-30T23:47:28.505Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T23:47:28.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-30T23:47:28.593Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-06-30T23:47:28.593Z] ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:47:28.593Z] latest [2021-06-30T23:47:28.593Z] 2.0.0 [2021-06-30T23:47:28.593Z] ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [2021-06-30T23:47:28.593Z] master [2021-06-30T23:47:28.593Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:28.968Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:29.302Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:47:29.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-30T23:47:29.303Z] 4818ccfa84d3: Preparing [2021-06-30T23:47:29.303Z] 35ac109cc697: Preparing [2021-06-30T23:47:29.303Z] 436ec40847d7: Preparing [2021-06-30T23:47:29.303Z] c3d33f7f5714: Preparing [2021-06-30T23:47:29.303Z] 3fbe34a1663b: Preparing [2021-06-30T23:47:29.576Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:47:29.576Z] 35ac109cc697: Pushed [2021-06-30T23:47:29.576Z] 4818ccfa84d3: Pushed [2021-06-30T23:47:30.173Z] c3d33f7f5714: Pushed [2021-06-30T23:47:32.781Z] 436ec40847d7: Pushed [2021-06-30T23:47:32.781Z] ac4b371315fba0b9546dc2a95c8393f838fbe7e4: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:33.129Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:33.472Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-06-30T23:47:33.472Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-30T23:47:33.472Z] 4818ccfa84d3: Preparing [2021-06-30T23:47:33.472Z] 35ac109cc697: Preparing [2021-06-30T23:47:33.472Z] 436ec40847d7: Preparing [2021-06-30T23:47:33.472Z] c3d33f7f5714: Preparing [2021-06-30T23:47:33.472Z] 3fbe34a1663b: Preparing [2021-06-30T23:47:33.472Z] 436ec40847d7: Layer already exists [2021-06-30T23:47:33.472Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:47:33.472Z] 35ac109cc697: Layer already exists [2021-06-30T23:47:33.472Z] 4818ccfa84d3: Layer already exists [2021-06-30T23:47:33.747Z] c3d33f7f5714: Layer already exists [2021-06-30T23:47:33.747Z] latest: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:34.088Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:34.427Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.0 [2021-06-30T23:47:34.427Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-30T23:47:34.427Z] 4818ccfa84d3: Preparing [2021-06-30T23:47:34.427Z] 35ac109cc697: Preparing [2021-06-30T23:47:34.427Z] 436ec40847d7: Preparing [2021-06-30T23:47:34.427Z] c3d33f7f5714: Preparing [2021-06-30T23:47:34.427Z] 3fbe34a1663b: Preparing [2021-06-30T23:47:34.427Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:47:34.427Z] 4818ccfa84d3: Layer already exists [2021-06-30T23:47:34.427Z] c3d33f7f5714: Layer already exists [2021-06-30T23:47:34.427Z] 35ac109cc697: Layer already exists [2021-06-30T23:47:34.427Z] 436ec40847d7: Layer already exists [2021-06-30T23:47:34.702Z] 2.0.0: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:35.040Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:35.373Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [2021-06-30T23:47:35.373Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-30T23:47:35.373Z] 4818ccfa84d3: Preparing [2021-06-30T23:47:35.373Z] 35ac109cc697: Preparing [2021-06-30T23:47:35.373Z] 436ec40847d7: Preparing [2021-06-30T23:47:35.373Z] c3d33f7f5714: Preparing [2021-06-30T23:47:35.373Z] 3fbe34a1663b: Preparing [2021-06-30T23:47:35.373Z] c3d33f7f5714: Layer already exists [2021-06-30T23:47:35.373Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:47:35.373Z] 4818ccfa84d3: Layer already exists [2021-06-30T23:47:35.373Z] 436ec40847d7: Layer already exists [2021-06-30T23:47:35.373Z] 35ac109cc697: Layer already exists [2021-06-30T23:47:35.644Z] ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:35.989Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:47:36.324Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-06-30T23:47:36.324Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-30T23:47:36.324Z] 4818ccfa84d3: Preparing [2021-06-30T23:47:36.324Z] 35ac109cc697: Preparing [2021-06-30T23:47:36.324Z] 436ec40847d7: Preparing [2021-06-30T23:47:36.324Z] c3d33f7f5714: Preparing [2021-06-30T23:47:36.324Z] 3fbe34a1663b: Preparing [2021-06-30T23:47:36.324Z] 3fbe34a1663b: Layer already exists [2021-06-30T23:47:36.324Z] 436ec40847d7: Layer already exists [2021-06-30T23:47:36.324Z] 4818ccfa84d3: Layer already exists [2021-06-30T23:47:36.324Z] c3d33f7f5714: Layer already exists [2021-06-30T23:47:36.324Z] 35ac109cc697: Layer already exists [2021-06-30T23:47:36.595Z] master: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-30T23:47:36.662Z] ===================================================== [Pipeline] echo [2021-06-30T23:47:36.679Z] taggedImages: [2021-06-30T23:47:36.679Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [2021-06-30T23:47:36.679Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-06-30T23:47:36.679Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.0 [2021-06-30T23:47:36.679Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [2021-06-30T23:47:36.679Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:47:37.173Z] ---> job-cost.sh [2021-06-30T23:47:37.173Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-05IK [2021-06-30T23:48:16.128Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T23:49:39.232Z] lf-activate-venv(): INFO: Adding /tmp/venv-05IK/bin to PATH [2021-06-30T23:49:39.232Z] INFO: No Stack... [2021-06-30T23:49:39.232Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-30T23:49:39.232Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T23:49:39.572Z] + cat /w/workspace/device-rest-go/57/archives/cost.csv [2021-06-30T23:49:39.573Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T23:49:39.637Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] [2021-06-30T23:49:39.650Z] Resource [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] did not exist. Created. [2021-06-30T23:49:39.650Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T23:49:40.028Z] /w/workspace/device-rest-go/57@tmp/durable-d1b37fb6/script.sh: 1: /w/workspace/device-rest-go/57@tmp/durable-d1b37fb6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-30T23:49:40.381Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-30T23:49:40.419Z] Warning: overwriting stash ‘stack-cost’ [2021-06-30T23:49:40.567Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T23:49:40.593Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-57-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-30T23:49:41.203Z] provisioning config files... [2021-06-30T23:49:41.213Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5936300115510189252tmp [Pipeline] { [Pipeline] sh [2021-06-30T23:49:41.540Z] + set +x [2021-06-30T23:49:41.540Z] + curl -s https://codecov.io/bash [2021-06-30T23:49:41.540Z] + bash -s -- [2021-06-30T23:49:41.540Z] [2021-06-30T23:49:41.540Z] _____ _ [2021-06-30T23:49:41.540Z] / ____| | | [2021-06-30T23:49:41.540Z] | | ___ __| | ___ ___ _____ __ [2021-06-30T23:49:41.540Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-30T23:49:41.540Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-30T23:49:41.540Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-30T23:49:41.540Z] Bash-1.0.3 [2021-06-30T23:49:41.540Z] [2021-06-30T23:49:41.540Z] [2021-06-30T23:49:41.540Z] ==> git version 2.24.4 found [2021-06-30T23:49:41.540Z] ==> 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-30T23:49:41.540Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-30T23:49:41.540Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-30T23:49:41.540Z] ==> Jenkins CI detected. [2021-06-30T23:49:41.540Z] project root: . [2021-06-30T23:49:41.540Z] --> token set from env [2021-06-30T23:49:41.540Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-30T23:49:41.540Z] ==> Running gcov in . (disable via -X gcov) [2021-06-30T23:49:41.540Z] ==> Python coveragepy not found [2021-06-30T23:49:41.540Z] ==> Searching for coverage reports in: [2021-06-30T23:49:41.540Z] + . [2021-06-30T23:49:41.540Z] -> Found 1 reports [2021-06-30T23:49:41.540Z] ==> Detecting git/mercurial file structure [2021-06-30T23:49:41.801Z] ==> Reading reports [2021-06-30T23:49:41.802Z] + ./coverage.out bytes=8513 [2021-06-30T23:49:41.802Z] ==> Appending adjustments [2021-06-30T23:49:41.802Z] https://docs.codecov.io/docs/fixing-reports [2021-06-30T23:49:41.802Z] + Found adjustments [2021-06-30T23:49:41.802Z] ==> Gzipping contents [2021-06-30T23:49:41.802Z] 4.0K /tmp/codecov.Zm7fkZ.gz [2021-06-30T23:49:41.802Z] ==> Uploading reports [2021-06-30T23:49:41.802Z] url: https://codecov.io [2021-06-30T23:49:41.802Z] query: branch=master&commit=ac4b371315fba0b9546dc2a95c8393f838fbe7e4&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-30T23:49:41.802Z] -> Pinging Codecov [2021-06-30T23:49:41.802Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=ac4b371315fba0b9546dc2a95c8393f838fbe7e4&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-30T23:49:42.377Z] -> Uploading to [2021-06-30T23:49:42.377Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-30/4E5D53B4F1F92C436F7061BF334D961C/ac4b371315fba0b9546dc2a95c8393f838fbe7e4/6bb035b3-c405-42ac-af17-e45a889eb67c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T234942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=979e09600ae3c57712d78c9332ce975c4bd74d58eb040c877b1960623ed8e640 [2021-06-30T23:49:42.377Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-30T23:49:42.377Z] Dload Upload Total Spent Left Speed [2021-06-30T23:49:42.647Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1793 0 0 100 1793 0 4701 --:--:-- --:--:-- --:--:-- 4693 100 1793 0 0 100 1793 0 4700 --:--:-- --:--:-- --:--:-- 4693 [2021-06-30T23:49:42.647Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] } [2021-06-30T23:49:42.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-30T23:49:42.984Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-30T23:49:43.001Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:49:43.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-30T23:49:43.313Z] [2021-06-30T23:49:43.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:49:43.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-30T23:49:43.631Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-30T23:49:43.631Z] 188c0c94c7c5: Pulling fs layer [2021-06-30T23:49:43.631Z] 0ef7d3d256c8: Pulling fs layer [2021-06-30T23:49:43.631Z] de9db76c5a1d: Pulling fs layer [2021-06-30T23:49:43.631Z] 0eba1c9be4d2: Pulling fs layer [2021-06-30T23:49:43.631Z] 0d57e429df01: Pulling fs layer [2021-06-30T23:49:43.631Z] 4e4be7b47b0d: Pulling fs layer [2021-06-30T23:49:43.631Z] e1f770b5df2f: Pulling fs layer [2021-06-30T23:49:43.631Z] 85a0685a4137: Pulling fs layer [2021-06-30T23:49:43.631Z] 0eba1c9be4d2: Waiting [2021-06-30T23:49:43.631Z] 0d57e429df01: Waiting [2021-06-30T23:49:43.631Z] 4e4be7b47b0d: Waiting [2021-06-30T23:49:43.631Z] e1f770b5df2f: Waiting [2021-06-30T23:49:43.631Z] 85a0685a4137: Waiting [2021-06-30T23:49:43.631Z] de9db76c5a1d: Download complete [2021-06-30T23:49:43.631Z] 0ef7d3d256c8: Verifying Checksum [2021-06-30T23:49:43.631Z] 0ef7d3d256c8: Download complete [2021-06-30T23:49:43.631Z] 0d57e429df01: Verifying Checksum [2021-06-30T23:49:43.631Z] 0d57e429df01: Download complete [2021-06-30T23:49:43.631Z] 4e4be7b47b0d: Verifying Checksum [2021-06-30T23:49:43.631Z] 4e4be7b47b0d: Download complete [2021-06-30T23:49:43.631Z] 188c0c94c7c5: Verifying Checksum [2021-06-30T23:49:43.631Z] 188c0c94c7c5: Download complete [2021-06-30T23:49:43.892Z] 188c0c94c7c5: Pull complete [2021-06-30T23:49:44.169Z] 0ef7d3d256c8: Pull complete [2021-06-30T23:49:44.169Z] de9db76c5a1d: Pull complete [2021-06-30T23:49:45.112Z] e1f770b5df2f: Verifying Checksum [2021-06-30T23:49:45.112Z] e1f770b5df2f: Download complete [2021-06-30T23:49:48.411Z] 0eba1c9be4d2: Verifying Checksum [2021-06-30T23:49:48.411Z] 0eba1c9be4d2: Download complete [2021-06-30T23:49:48.411Z] 85a0685a4137: Verifying Checksum [2021-06-30T23:49:48.411Z] 85a0685a4137: Download complete [2021-06-30T23:49:49.821Z] 0eba1c9be4d2: Pull complete [2021-06-30T23:49:49.821Z] 0d57e429df01: Pull complete [2021-06-30T23:49:50.096Z] 4e4be7b47b0d: Pull complete [2021-06-30T23:49:50.465Z] e1f770b5df2f: Pull complete [2021-06-30T23:49:53.893Z] 85a0685a4137: Pull complete [2021-06-30T23:49:53.894Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-30T23:49:53.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-30T23:49:53.894Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-30T23:49:53.978Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2021-06-30T23:49:54.026Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-30T23:49:56.886Z] $ docker top 2389a3f71750a080b34c3ecf88eada16f0ab3c3a5a82bf51221ac0da7b03e686 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-30T23:49:56.996Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-30T23:49:57.295Z] + set -o pipefail [2021-06-30T23:49:57.295Z] + snyk monitor '--org=edgex-jenkins' [2021-06-30T23:50:02.602Z] [2021-06-30T23:50:02.602Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-06-30T23:50:02.602Z] [2021-06-30T23:50:02.602Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/521739d0-dad0-452d-9362-6e66c51bfa1e [2021-06-30T23:50:02.602Z] [2021-06-30T23:50:02.602Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-06-30T23:50:02.602Z] [2021-06-30T23:50:02.602Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-30T23:50:02.602Z] [2021-06-30T23:50:02.865Z] [Pipeline] } [2021-06-30T23:50:02.881Z] $ docker stop --time=1 2389a3f71750a080b34c3ecf88eada16f0ab3c3a5a82bf51221ac0da7b03e686 [2021-06-30T23:50:05.059Z] $ docker rm -f 2389a3f71750a080b34c3ecf88eada16f0ab3c3a5a82bf51221ac0da7b03e686 [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-30T23:50:06.205Z] + git log --format=format:%s -1 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:06.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:50:06.529Z] . [Pipeline] withDockerContainer [2021-06-30T23:50:06.616Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2021-06-30T23:50:06.680Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T23:50:07.109Z] $ docker top 5e7e2af814ae6e22ed35fa26d56bbc477c91c4ad16abd78d3ef3d962f2a0dc0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T23:50:07.245Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T23:50:07.576Z] + git semver [Pipeline] } [2021-06-30T23:50:07.590Z] $ docker stop --time=1 5e7e2af814ae6e22ed35fa26d56bbc477c91c4ad16abd78d3ef3d962f2a0dc0c [2021-06-30T23:50:08.800Z] $ docker rm -f 5e7e2af814ae6e22ed35fa26d56bbc477c91c4ad16abd78d3ef3d962f2a0dc0c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:11.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-30T23:50:11.430Z] [2021-06-30T23:50:11.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:11.749Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-30T23:50:11.749Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-30T23:50:11.749Z] ab5ef0e58194: Pulling fs layer [2021-06-30T23:50:11.749Z] 9712f1f96733: Pulling fs layer [2021-06-30T23:50:11.749Z] 63f879dbbcfc: Pulling fs layer [2021-06-30T23:50:11.749Z] 0d9ebad4ef96: Pulling fs layer [2021-06-30T23:50:11.749Z] e9a5061849ea: Pulling fs layer [2021-06-30T23:50:11.749Z] d747dcd14b5f: Pulling fs layer [2021-06-30T23:50:11.749Z] 2de7ff778b66: Pulling fs layer [2021-06-30T23:50:11.749Z] 0d9ebad4ef96: Waiting [2021-06-30T23:50:11.749Z] e9a5061849ea: Waiting [2021-06-30T23:50:11.749Z] d747dcd14b5f: Waiting [2021-06-30T23:50:11.749Z] 2de7ff778b66: Waiting [2021-06-30T23:50:11.749Z] 9712f1f96733: Verifying Checksum [2021-06-30T23:50:11.749Z] 9712f1f96733: Download complete [2021-06-30T23:50:14.301Z] 63f879dbbcfc: Verifying Checksum [2021-06-30T23:50:14.301Z] 63f879dbbcfc: Download complete [2021-06-30T23:50:14.301Z] e9a5061849ea: Verifying Checksum [2021-06-30T23:50:14.301Z] e9a5061849ea: Download complete [2021-06-30T23:50:14.301Z] d747dcd14b5f: Verifying Checksum [2021-06-30T23:50:14.301Z] d747dcd14b5f: Download complete [2021-06-30T23:50:15.254Z] 0d9ebad4ef96: Verifying Checksum [2021-06-30T23:50:15.254Z] 0d9ebad4ef96: Download complete [2021-06-30T23:50:15.254Z] 2de7ff778b66: Verifying Checksum [2021-06-30T23:50:15.254Z] 2de7ff778b66: Download complete [2021-06-30T23:50:15.559Z] ab5ef0e58194: Verifying Checksum [2021-06-30T23:50:15.559Z] ab5ef0e58194: Download complete [2021-06-30T23:50:18.888Z] ab5ef0e58194: Pull complete [2021-06-30T23:50:18.888Z] 9712f1f96733: Pull complete [2021-06-30T23:50:19.468Z] 63f879dbbcfc: Pull complete [2021-06-30T23:50:22.830Z] 0d9ebad4ef96: Pull complete [2021-06-30T23:50:23.405Z] e9a5061849ea: Pull complete [2021-06-30T23:50:23.405Z] d747dcd14b5f: Pull complete [2021-06-30T23:50:24.356Z] 2de7ff778b66: Pull complete [2021-06-30T23:50:24.356Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-30T23:50:24.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-30T23:50:24.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-30T23:50:24.443Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2021-06-30T23:50:24.484Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-30T23:50:28.596Z] $ docker top bd324938cb4692bfd37d854d0ffa2ec1e6134756c4208f1bf1bf9e487921adc2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:50:28.707Z] provisioning config files... [2021-06-30T23:50:28.716Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5933303411856979839tmp [2021-06-30T23:50:28.729Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4279854276327166471tmp [2021-06-30T23:50:28.752Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4862050928418456407tmp [Pipeline] { [Pipeline] echo [2021-06-30T23:50:28.775Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:29.081Z] ---> sigul-configuration.sh [2021-06-30T23:50:29.082Z] gpg: directory `/root/.gnupg' created [2021-06-30T23:50:29.082Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-30T23:50:29.082Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-30T23:50:29.082Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-30T23:50:29.082Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-30T23:50:29.082Z] gpg: CAST5 encrypted data [2021-06-30T23:50:29.082Z] gpg: encrypted with 1 passphrase [2021-06-30T23:50:29.082Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-30T23:50:29.386Z] + mkdir /home/jenkins [2021-06-30T23:50:29.386Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-30T23:50:29.689Z] + 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-30T23:50:29.700Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:32.240Z] ---> sigul-install.sh [2021-06-30T23:50:34.170Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-30T23:50:34.468Z] + git tag --list [2021-06-30T23:50:34.471Z] v1.0.0 [2021-06-30T23:50:34.471Z] v1.1.0 [2021-06-30T23:50:34.471Z] v1.1.1 [2021-06-30T23:50:34.471Z] v1.1.2 [2021-06-30T23:50:34.471Z] v1.2.0 [2021-06-30T23:50:34.471Z] v1.2.1 [2021-06-30T23:50:34.471Z] v1.2.1-dev.1 [2021-06-30T23:50:34.471Z] v1.2.1-dev.2 [2021-06-30T23:50:34.471Z] v1.2.1-dev.3 [2021-06-30T23:50:34.471Z] v1.2.1-dev.4 [2021-06-30T23:50:34.471Z] v1.2.2-dev.1 [2021-06-30T23:50:34.471Z] v1.2.2-dev.10 [2021-06-30T23:50:34.471Z] v1.2.2-dev.11 [2021-06-30T23:50:34.471Z] v1.2.2-dev.12 [2021-06-30T23:50:34.471Z] v1.2.2-dev.13 [2021-06-30T23:50:34.471Z] v1.2.2-dev.14 [2021-06-30T23:50:34.471Z] v1.2.2-dev.15 [2021-06-30T23:50:34.471Z] v1.2.2-dev.16 [2021-06-30T23:50:34.471Z] v1.2.2-dev.17 [2021-06-30T23:50:34.471Z] v1.2.2-dev.18 [2021-06-30T23:50:34.471Z] v1.2.2-dev.19 [2021-06-30T23:50:34.471Z] v1.2.2-dev.2 [2021-06-30T23:50:34.471Z] v1.2.2-dev.20 [2021-06-30T23:50:34.471Z] v1.2.2-dev.21 [2021-06-30T23:50:34.471Z] v1.2.2-dev.22 [2021-06-30T23:50:34.471Z] v1.2.2-dev.3 [2021-06-30T23:50:34.471Z] v1.2.2-dev.4 [2021-06-30T23:50:34.471Z] v1.2.2-dev.5 [2021-06-30T23:50:34.471Z] v1.2.2-dev.6 [2021-06-30T23:50:34.471Z] v1.2.2-dev.7 [2021-06-30T23:50:34.471Z] v1.2.2-dev.8 [2021-06-30T23:50:34.471Z] v1.2.2-dev.9 [2021-06-30T23:50:34.471Z] v2.0.0 [Pipeline] sh [2021-06-30T23:50:34.782Z] + lftools sign git-tag v2.0.0 [2021-06-30T23:50:35.358Z] Signing Git tag with Sigul... [2021-06-30T23:50:35.358Z] Signing v2.0.0 [Pipeline] echo [2021-06-30T23:50:36.313Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:36.617Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-30T23:50:36.626Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-30T23:50:36.655Z] $ docker stop --time=1 bd324938cb4692bfd37d854d0ffa2ec1e6134756c4208f1bf1bf9e487921adc2 [2021-06-30T23:50:38.500Z] $ docker rm -f bd324938cb4692bfd37d854d0ffa2ec1e6134756c4208f1bf1bf9e487921adc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:39.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:50:39.171Z] . [Pipeline] withDockerContainer [2021-06-30T23:50:39.266Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2021-06-30T23:50:39.307Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T23:50:39.906Z] $ docker top 9da85afcc3fae4dd242bb272defae7b3f2932aa8afcac48929919082c1175ee2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T23:50:40.117Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T23:50:42.874Z] + git semver [Pipeline] } [2021-06-30T23:50:42.889Z] $ docker stop --time=1 9da85afcc3fae4dd242bb272defae7b3f2932aa8afcac48929919082c1175ee2 [2021-06-30T23:50:44.097Z] $ docker rm -f 9da85afcc3fae4dd242bb272defae7b3f2932aa8afcac48929919082c1175ee2 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:44.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T23:50:44.500Z] . [Pipeline] withDockerContainer [2021-06-30T23:50:44.587Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2021-06-30T23:50:44.630Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T23:50:45.032Z] $ docker top 117ed0e6a63b87ba0b7fcb416bc21ab9512c73a098adc2207f923fb1d8dabfdf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T23:50:45.152Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T23:50:45.461Z] + git semver [Pipeline] } [2021-06-30T23:50:45.474Z] $ docker stop --time=1 117ed0e6a63b87ba0b7fcb416bc21ab9512c73a098adc2207f923fb1d8dabfdf [2021-06-30T23:50:46.709Z] $ docker rm -f 117ed0e6a63b87ba0b7fcb416bc21ab9512c73a098adc2207f923fb1d8dabfdf [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-30T23:50:47.750Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:50:48.372Z] ---> package-listing.sh [2021-06-30T23:50:48.372Z] ++ facter osfamily [2021-06-30T23:50:48.372Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-30T23:50:48.635Z] + OS_FAMILY=redhat [2021-06-30T23:50:48.635Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-06-30T23:50:48.635Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-30T23:50:48.635Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-30T23:50:48.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-30T23:50:48.635Z] + PACKAGES=/tmp/packages_start.txt [2021-06-30T23:50:48.635Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-06-30T23:50:48.635Z] + PACKAGES=/tmp/packages_end.txt [2021-06-30T23:50:48.635Z] + case "${OS_FAMILY}" in [2021-06-30T23:50:48.635Z] + rpm -qa [2021-06-30T23:50:48.635Z] + sort [2021-06-30T23:50:49.209Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-30T23:50:49.209Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-30T23:50:49.209Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-30T23:50:49.209Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-06-30T23:50:49.209Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-06-30T23:50:49.209Z] + 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-30T23:50:49.223Z] 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-30T23:50:49.515Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:50.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T23:50:50.088Z] [2021-06-30T23:50:50.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-30T23:50:50.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T23:50:50.405Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-30T23:50:50.405Z] df20fa9351a1: Pulling fs layer [2021-06-30T23:50:50.405Z] 36b3adc4ff6f: Pulling fs layer [2021-06-30T23:50:50.405Z] 8ad3a11d3b57: Pulling fs layer [2021-06-30T23:50:50.405Z] 46f8f816bc3b: Pulling fs layer [2021-06-30T23:50:50.405Z] 93b61091891f: Pulling fs layer [2021-06-30T23:50:50.405Z] 93b9cdb0e59b: Pulling fs layer [2021-06-30T23:50:50.405Z] 5e14af77c1be: Pulling fs layer [2021-06-30T23:50:50.405Z] 01666e4c0597: Pulling fs layer [2021-06-30T23:50:50.405Z] aa168da1d23b: Pulling fs layer [2021-06-30T23:50:50.405Z] 46f8f816bc3b: Waiting [2021-06-30T23:50:50.405Z] 93b61091891f: Waiting [2021-06-30T23:50:50.405Z] 93b9cdb0e59b: Waiting [2021-06-30T23:50:50.405Z] 5e14af77c1be: Waiting [2021-06-30T23:50:50.405Z] 01666e4c0597: Waiting [2021-06-30T23:50:50.405Z] aa168da1d23b: Waiting [2021-06-30T23:50:50.405Z] 36b3adc4ff6f: Verifying Checksum [2021-06-30T23:50:50.405Z] 36b3adc4ff6f: Download complete [2021-06-30T23:50:50.669Z] 46f8f816bc3b: Verifying Checksum [2021-06-30T23:50:50.669Z] 46f8f816bc3b: Download complete [2021-06-30T23:50:50.669Z] df20fa9351a1: Verifying Checksum [2021-06-30T23:50:50.669Z] df20fa9351a1: Download complete [2021-06-30T23:50:50.669Z] 93b9cdb0e59b: Verifying Checksum [2021-06-30T23:50:50.669Z] 93b9cdb0e59b: Download complete [2021-06-30T23:50:50.669Z] 5e14af77c1be: Verifying Checksum [2021-06-30T23:50:50.669Z] 5e14af77c1be: Download complete [2021-06-30T23:50:50.669Z] 01666e4c0597: Verifying Checksum [2021-06-30T23:50:50.669Z] 01666e4c0597: Download complete [2021-06-30T23:50:50.669Z] 93b61091891f: Verifying Checksum [2021-06-30T23:50:50.669Z] 93b61091891f: Download complete [2021-06-30T23:50:50.934Z] df20fa9351a1: Pull complete [2021-06-30T23:50:50.934Z] 36b3adc4ff6f: Pull complete [2021-06-30T23:50:50.934Z] 8ad3a11d3b57: Verifying Checksum [2021-06-30T23:50:50.934Z] 8ad3a11d3b57: Download complete [2021-06-30T23:50:53.599Z] 8ad3a11d3b57: Pull complete [2021-06-30T23:50:53.599Z] 46f8f816bc3b: Pull complete [2021-06-30T23:50:53.599Z] 93b61091891f: Pull complete [2021-06-30T23:50:53.599Z] 93b9cdb0e59b: Pull complete [2021-06-30T23:50:53.599Z] 5e14af77c1be: Pull complete [2021-06-30T23:50:53.599Z] 01666e4c0597: Pull complete [2021-06-30T23:50:53.599Z] aa168da1d23b: Verifying Checksum [2021-06-30T23:50:53.599Z] aa168da1d23b: Download complete [2021-06-30T23:50:57.847Z] aa168da1d23b: Pull complete [2021-06-30T23:50:57.847Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-30T23:50:57.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T23:50:57.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-30T23:50:57.937Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2021-06-30T23:50:57.978Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-30T23:51:00.814Z] $ docker top eef76058d90b567bd16b503f6636a7ab308651ab86d04aa16b6c1495d36d6aaf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T23:51:01.213Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-30T23:51:01.510Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-30T23:51:01.813Z] + ls /var/log/sa-host [2021-06-30T23:51:01.813Z] + sadf -c /var/log/sa-host/sa05 [2021-06-30T23:51:01.813Z] file_magic: OK [2021-06-30T23:51:01.813Z] HZ: Using current value: 100 [2021-06-30T23:51:01.813Z] file_header: OK [2021-06-30T23:51:01.813Z] 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-30T23:51:01.813Z] Statistics: [2021-06-30T23:51:01.813Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T23:51:01.813Z] File successfully converted to sysstat format version 12.2.1 [2021-06-30T23:51:01.813Z] + sadf -c /var/log/sa-host/sa30 [2021-06-30T23:51:01.813Z] file_magic: OK [2021-06-30T23:51:01.813Z] HZ: Using current value: 100 [2021-06-30T23:51:01.813Z] file_header: OK [2021-06-30T23:51:01.813Z] 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-30T23:51:01.813Z] Statistics: [2021-06-30T23:51:01.813Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T23:51:01.813Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T23:51:02.018Z] provisioning config files... [2021-06-30T23:51:02.030Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8988569267986112083tmp [Pipeline] { [Pipeline] echo [2021-06-30T23:51:02.051Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:51:02.349Z] ---> create-netrc.sh [Pipeline] } [2021-06-30T23:51:02.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:51:02.741Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-30T23:51:02.753Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:51:03.061Z] ---> sudo-logs.sh [2021-06-30T23:51:03.061Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-30T23:51:03.097Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:51:03.410Z] ---> job-cost.sh [2021-06-30T23:51:03.410Z] lf-activate-venv: SKIPPING [2021-06-30T23:51:03.410Z] DEBUG: total: 0.18000000715255737 [2021-06-30T23:51:03.410Z] INFO: Retrieving Stack Cost... [2021-06-30T23:51:03.984Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T23:51:04.557Z] INFO: Archiving Costs [Pipeline] echo [2021-06-30T23:51:04.572Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T23:51:04.890Z] ---> logs-deploy.sh [2021-06-30T23:51:04.890Z] lf-activate-venv: SKIPPING [2021-06-30T23:51:04.890Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/57 [2021-06-30T23:51:04.890Z] INFO: archiving workspace using pattern(s): [2021-06-30T23:51:05.849Z] Archives upload complete. [2021-06-30T23:51:05.849Z] INFO: archiving logs to Nexus