Pull request #124 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d5df302b6998b34ecca57e19cd19cb322598dcf9+acb551efcb6a1b4088edd326f55b17ef654f475f (566a208556d795a1557206cdef598703b98fb309) Running in Durability level: MAX_SURVIVABILITY 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-ssh2606452397844332245.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-ssh6017906802498796616.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-124/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-124/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3369866456319054805.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-124/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh346932173017957445.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1067246920207504655.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-124/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-124/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh38299204627047905.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 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 ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-565 in /w/workspace/gexfoundry_device-rest-go_PR-124 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-124@tmp/jenkins-gitclient-ssh2450691429201430139.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit d5df302b6998b34ecca57e19cd19cb322598dcf9 Merge succeeded, producing d5df302b6998b34ecca57e19cd19cb322598dcf9 Checking out Revision d5df302b6998b34ecca57e19cd19cb322598dcf9 (PR-124) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-124@tmp/jenkins-gitclient-ssh5575977246712063375.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5df302b6998b34ecca57e19cd19cb322598dcf9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-124@tmp/jenkins-gitclient-ssh8761777325022565502.key > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5df302b6998b34ecca57e19cd19cb322598dcf9 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-28T20:05:34.078Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-28T20:05:34.287Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-28T20:05:34.407Z] ========================================================= [2021-06-28T20:05:34.407Z] EdgeX Global Pipelines Version Info [2021-06-28T20:05:34.407Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:05:35.929Z] ------------------- [2021-06-28T20:05:35.929Z] stable info: [2021-06-28T20:05:35.929Z] ------------------- [2021-06-28T20:05:35.929Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-28T20:05:35.929Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T20:05:35.929Z] Message: update stable to v1.0.195 [2021-06-28T20:05:36.503Z] ------------------- [2021-06-28T20:05:36.503Z] experimental info: [2021-06-28T20:05:36.503Z] ------------------- [2021-06-28T20:05:36.503Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-28T20:05:36.503Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T20:05:36.503Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-28T20:05:36.791Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-28T20:05:36.852Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-28T20:05:36.911Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-28T20:05:36.974Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-28T20:05:37.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-28T20:05:37.105Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-28T20:05:37.166Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-28T20:05:37.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-28T20:05:37.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-28T20:05:37.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-28T20:05:37.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-28T20:05:37.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-28T20:05:37.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-28T20:05:37.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-28T20:05:37.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T20:05:37.765Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T20:05:37.828Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T20:05:37.890Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T20:05:37.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-28T20:05:38.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-28T20:05:38.072Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-28T20:05:38.133Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-28T20:05:38.198Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-28T20:05:38.256Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-28T20:05:38.320Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-28T20:05:38.406Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-28T20:05:38.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2021-06-28T20:05:38.531Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2021-06-28T20:05:38.599Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2021-06-28T20:05:38.668Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5df302b6998b34ecca57e19cd19cb322598dcf9 [Pipeline] echo [2021-06-28T20:05:38.734Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5df302 [Pipeline] echo [2021-06-28T20:05:38.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T20:05:38.982Z] provisioning config files... [2021-06-28T20:05:38.996Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-124@tmp/config7867102123387449979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:05:39.381Z] ---> docker-login.sh [2021-06-28T20:05:39.381Z] nexus3.edgexfoundry.org:10001 [2021-06-28T20:05:40.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:05:40.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:05:40.337Z] Configure a credential helper to remove this warning. See [2021-06-28T20:05:40.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:05:40.337Z] [2021-06-28T20:05:40.337Z] Login Succeeded [2021-06-28T20:05:40.337Z] nexus3.edgexfoundry.org:10002 [2021-06-28T20:05:40.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:05:40.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:05:40.602Z] Configure a credential helper to remove this warning. See [2021-06-28T20:05:40.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:05:40.602Z] [2021-06-28T20:05:40.602Z] Login Succeeded [2021-06-28T20:05:40.602Z] nexus3.edgexfoundry.org:10003 [2021-06-28T20:05:40.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:05:40.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:05:40.867Z] Configure a credential helper to remove this warning. See [2021-06-28T20:05:40.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:05:40.868Z] [2021-06-28T20:05:40.868Z] Login Succeeded [2021-06-28T20:05:40.868Z] nexus3.edgexfoundry.org:10004 [2021-06-28T20:05:40.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:05:40.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:05:40.868Z] Configure a credential helper to remove this warning. See [2021-06-28T20:05:40.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:05:40.868Z] [2021-06-28T20:05:40.868Z] Login Succeeded [2021-06-28T20:05:40.868Z] docker.io [2021-06-28T20:05:41.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:05:41.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:05:41.392Z] Configure a credential helper to remove this warning. See [2021-06-28T20:05:41.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:05:41.392Z] [2021-06-28T20:05:41.392Z] Login Succeeded [2021-06-28T20:05:41.392Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T20:05:41.415Z] 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-28T20:05:42.274Z] + git log --format=format:%s -1 d5df302b6998b34ecca57e19cd19cb322598dcf9 [Pipeline] echo [2021-06-28T20:05:42.334Z] GIT_COMMIT: d5df302b6998b34ecca57e19cd19cb322598dcf9, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-28T20:05:42.379Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:05:43.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T20:05:43.578Z] [2021-06-28T20:05:43.578Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:05:43.934Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T20:05:43.934Z] latest: Pulling from edgex-devops/git-semver [2021-06-28T20:05:43.934Z] 31603596830f: Pulling fs layer [2021-06-28T20:05:43.934Z] 54011a49482f: Pulling fs layer [2021-06-28T20:05:43.934Z] a6820b24f6d8: Pulling fs layer [2021-06-28T20:05:43.934Z] f581987b2513: Pulling fs layer [2021-06-28T20:05:43.934Z] f581987b2513: Waiting [2021-06-28T20:05:43.934Z] 54011a49482f: Verifying Checksum [2021-06-28T20:05:43.934Z] 54011a49482f: Download complete [2021-06-28T20:05:43.934Z] 31603596830f: Verifying Checksum [2021-06-28T20:05:43.934Z] 31603596830f: Download complete [2021-06-28T20:05:44.198Z] f581987b2513: Verifying Checksum [2021-06-28T20:05:44.198Z] f581987b2513: Download complete [2021-06-28T20:05:44.198Z] a6820b24f6d8: Verifying Checksum [2021-06-28T20:05:44.198Z] a6820b24f6d8: Download complete [2021-06-28T20:05:44.198Z] 31603596830f: Pull complete [2021-06-28T20:05:44.470Z] 54011a49482f: Pull complete [2021-06-28T20:05:45.048Z] a6820b24f6d8: Pull complete [2021-06-28T20:05:45.048Z] f581987b2513: Pull complete [2021-06-28T20:05:45.048Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-28T20:05:45.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T20:05:45.048Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-28T20:05:45.155Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2021-06-28T20:05:45.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-124 -v /w/workspace/gexfoundry_device-rest-go_PR-124:/w/workspace/gexfoundry_device-rest-go_PR-124:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-124@tmp:/w/workspace/gexfoundry_device-rest-go_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-28T20:05:46.585Z] $ docker top 066a26c21160b9a61679f813df80303911429ce87cf022222367ae814d2547b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-28T20:05:46.819Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T20:05:46.820Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T20:05:46.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T20:05:46.934Z] $ docker exec 066a26c21160b9a61679f813df80303911429ce87cf022222367ae814d2547b2 ssh-agent [2021-06-28T20:05:47.042Z] SSH_AUTH_SOCK=/tmp/ssh-eFX09n59Lyem/agent.14 [2021-06-28T20:05:47.042Z] SSH_AGENT_PID=21 [2021-06-28T20:05:47.052Z] Running ssh-add (command line suppressed) [2021-06-28T20:05:47.146Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-124@tmp/private_key_1199448703123369751.key (/w/workspace/gexfoundry_device-rest-go_PR-124@tmp/private_key_1199448703123369751.key) [2021-06-28T20:05:47.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T20:05:47.525Z] + git tag --points-at HEAD [Pipeline] } [2021-06-28T20:05:47.547Z] $ docker exec --env ******** --env ******** 066a26c21160b9a61679f813df80303911429ce87cf022222367ae814d2547b2 ssh-agent -k [2021-06-28T20:05:47.638Z] unset SSH_AUTH_SOCK; [2021-06-28T20:05:47.638Z] unset SSH_AGENT_PID; [2021-06-28T20:05:47.639Z] echo Agent pid 21 killed; [2021-06-28T20:05:47.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-28T20:05:47.772Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T20:05:47.772Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T20:05:47.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T20:05:47.872Z] $ docker exec 066a26c21160b9a61679f813df80303911429ce87cf022222367ae814d2547b2 ssh-agent [2021-06-28T20:05:47.983Z] SSH_AUTH_SOCK=/tmp/ssh-uGEdRR1O4ZOP/agent.55 [2021-06-28T20:05:47.983Z] SSH_AGENT_PID=62 [2021-06-28T20:05:47.990Z] Running ssh-add (command line suppressed) [2021-06-28T20:05:48.087Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-124@tmp/private_key_927843237601714953.key (/w/workspace/gexfoundry_device-rest-go_PR-124@tmp/private_key_927843237601714953.key) [2021-06-28T20:05:48.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T20:05:48.459Z] + git semver init [2021-06-28T20:05:48.460Z] # -> Open(): unable to determine branch for HEAD [2021-06-28T20:05:48.460Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-124/.git [2021-06-28T20:05:48.460Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-124 [2021-06-28T20:05:48.460Z] # $SEMVER_REMOTE_NAME = origin [2021-06-28T20:05:48.460Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-28T20:05:48.460Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-28T20:05:48.460Z] # $SEMVER_BRANCH = PR-124 [2021-06-28T20:05:48.460Z] # $SEMVER_TEMP = /tmp/semver-565464060 [2021-06-28T20:05:48.460Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-28T20:05:49.403Z] # '/tmp/semver-565464060' -> '/w/workspace/gexfoundry_device-rest-go_PR-124/.semver' [2021-06-28T20:05:49.403Z] # -> Force: false [2021-06-28T20:05:49.403Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-124/.semver [Pipeline] } [2021-06-28T20:05:49.420Z] $ docker exec --env ******** --env ******** 066a26c21160b9a61679f813df80303911429ce87cf022222367ae814d2547b2 ssh-agent -k [2021-06-28T20:05:49.509Z] unset SSH_AUTH_SOCK; [2021-06-28T20:05:49.509Z] unset SSH_AGENT_PID; [2021-06-28T20:05:49.509Z] echo Agent pid 62 killed; [2021-06-28T20:05:49.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-28T20:05:49.959Z] + git semver [Pipeline] } [2021-06-28T20:05:49.989Z] $ docker stop --time=1 066a26c21160b9a61679f813df80303911429ce87cf022222367ae814d2547b2 [2021-06-28T20:05:51.369Z] $ docker rm -f 066a26c21160b9a61679f813df80303911429ce87cf022222367ae814d2547b2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T20:05:51.799Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-28T20:05:52.273Z] Stashed 1 file(s) [Pipeline] echo [2021-06-28T20:05:52.295Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-28T20:06:07.864Z] Still waiting to schedule task [2021-06-28T20:06:07.864Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-28T20:06:07.914Z] Still waiting to schedule task [2021-06-28T20:06:07.915Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-28T20:07:58.396Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-566 in /w/workspace/gexfoundry_device-rest-go_PR-124 [Pipeline] { [Pipeline] ws [2021-06-28T20:07:58.458Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-28T20:07:58.716Z] The recommended git tool is: git [2021-06-28T20:08:03.949Z] using credential edgex-jenkins-ssh [2021-06-28T20:08:03.970Z] Cloning the remote Git repository [2021-06-28T20:08:04.019Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:08:04.120Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-28T20:08:04.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:08:04.203Z] > git --version # timeout=10 [2021-06-28T20:08:04.217Z] > git --version # 'git version 2.17.1' [2021-06-28T20:08:04.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:08:04.318Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T20:08:05.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-28T20:08:05.834Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T20:08:05.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-28T20:08:05.899Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:08:05.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:08:05.912Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T20:08:06.354Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit d5df302b6998b34ecca57e19cd19cb322598dcf9 [2021-06-28T20:08:06.550Z] Merge succeeded, producing d5df302b6998b34ecca57e19cd19cb322598dcf9 [2021-06-28T20:08:06.551Z] Checking out Revision d5df302b6998b34ecca57e19cd19cb322598dcf9 (PR-124) [2021-06-28T20:08:06.374Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T20:08:06.387Z] > git checkout -f d5df302b6998b34ecca57e19cd19cb322598dcf9 # timeout=10 [2021-06-28T20:08:06.468Z] > git remote # timeout=10 [2021-06-28T20:08:06.487Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T20:08:06.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:08:06.514Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-28T20:08:06.536Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T20:08:06.558Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T20:08:06.569Z] > git checkout -f d5df302b6998b34ecca57e19cd19cb322598dcf9 # timeout=10 [2021-06-28T20:08:10.727Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-28T20:08:10.786Z] > git --version # timeout=10 [2021-06-28T20:08:10.802Z] > git --version # 'git version 2.17.1' [2021-06-28T20:08:10.824Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T20:08:12.288Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-28T20:08:12.698Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T20:08:12.868Z] Running on prd-centos7-docker-4c-2g-568 in /w/workspace/gexfoundry_device-rest-go_PR-124 [Pipeline] { [Pipeline] ws [2021-06-28T20:08:12.926Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-28T20:08:13.060Z] + true [2021-06-28T20:08:13.060Z] + sudo service docker restart [2021-06-28T20:08:13.100Z] The recommended git tool is: git [2021-06-28T20:08:15.757Z] using credential edgex-jenkins-ssh [2021-06-28T20:08:15.769Z] Cloning the remote Git repository [2021-06-28T20:08:15.792Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:08:15.860Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-28T20:08:15.900Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:08:15.901Z] > git --version # timeout=10 [2021-06-28T20:08:15.911Z] > git --version # 'git version 2.24.4' [2021-06-28T20:08:15.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:08:15.944Z] [INFO] Currently running in a labeled security context [2021-06-28T20:08:15.944Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T20:08:15.945Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3540404776825897017.key [2021-06-28T20:08:15.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T20:08:17.340Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit d5df302b6998b34ecca57e19cd19cb322598dcf9 [2021-06-28T20:08:17.427Z] Merge succeeded, producing d5df302b6998b34ecca57e19cd19cb322598dcf9 [2021-06-28T20:08:17.427Z] Checking out Revision d5df302b6998b34ecca57e19cd19cb322598dcf9 (PR-124) [2021-06-28T20:08:16.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-28T20:08:16.926Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T20:08:16.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-28T20:08:16.960Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:08:16.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:08:16.962Z] [INFO] Currently running in a labeled security context [2021-06-28T20:08:16.962Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T20:08:16.962Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6855547893546026091.key [2021-06-28T20:08:16.971Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T20:08:17.348Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T20:08:17.355Z] > git checkout -f d5df302b6998b34ecca57e19cd19cb322598dcf9 # timeout=10 [2021-06-28T20:08:17.386Z] > git remote # timeout=10 [2021-06-28T20:08:17.395Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T20:08:17.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:08:17.402Z] [INFO] Currently running in a labeled security context [2021-06-28T20:08:17.402Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T20:08:17.402Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2274054967916396104.key [2021-06-28T20:08:17.407Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-28T20:08:17.420Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T20:08:17.429Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T20:08:17.433Z] > git checkout -f d5df302b6998b34ecca57e19cd19cb322598dcf9 # timeout=10 [2021-06-28T20:08:21.115Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-28T20:08:21.139Z] > git --version # timeout=10 [2021-06-28T20:08:21.149Z] > git --version # 'git version 2.24.4' [2021-06-28T20:08:21.158Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T20:08:22.382Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-28T20:08:22.724Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T20:08:23.052Z] + sudo service docker restart [2021-06-28T20:08:23.052Z] + true [2021-06-28T20:08:23.052Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T20:08:31.457Z] provisioning config files... [2021-06-28T20:08:31.482Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1467665602494317649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:08:31.903Z] ---> docker-login.sh [2021-06-28T20:08:31.904Z] nexus3.edgexfoundry.org:10001 [2021-06-28T20:08:32.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:33.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:33.160Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:33.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:33.160Z] [2021-06-28T20:08:33.160Z] Login Succeeded [2021-06-28T20:08:33.160Z] nexus3.edgexfoundry.org:10002 [2021-06-28T20:08:33.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:33.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:33.716Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:33.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:33.716Z] [2021-06-28T20:08:33.716Z] Login Succeeded [2021-06-28T20:08:33.716Z] nexus3.edgexfoundry.org:10003 [2021-06-28T20:08:33.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:34.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:34.267Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:34.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:34.267Z] [2021-06-28T20:08:34.267Z] Login Succeeded [2021-06-28T20:08:34.267Z] nexus3.edgexfoundry.org:10004 [2021-06-28T20:08:34.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:34.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:34.821Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:34.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:34.821Z] [2021-06-28T20:08:34.821Z] Login Succeeded [2021-06-28T20:08:34.821Z] docker.io [2021-06-28T20:08:35.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:35.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:35.700Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:35.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:35.700Z] [2021-06-28T20:08:35.700Z] Login Succeeded [2021-06-28T20:08:35.700Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T20:08:35.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T20:08:36.406Z] ========================================================= [2021-06-28T20:08:36.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-28T20:08:36.406Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:08:36.840Z] + 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-28T20:08:36.840Z] Sending build context to Docker daemon 92.16kB [2021-06-28T20:08:37.147Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T20:08:37.147Z] Step 2/10 : FROM ${BASE} [2021-06-28T20:08:37.421Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-28T20:08:37.421Z] 595b0fe564bb: Pulling fs layer [2021-06-28T20:08:37.421Z] 3088b5b3c5c0: Pulling fs layer [2021-06-28T20:08:37.421Z] 5b7225fbf94c: Pulling fs layer [2021-06-28T20:08:37.421Z] ba82ee9f976e: Pulling fs layer [2021-06-28T20:08:37.421Z] 506bd15cee9f: Pulling fs layer [2021-06-28T20:08:37.421Z] 75a0a4a0db45: Pulling fs layer [2021-06-28T20:08:37.421Z] 618dc40b7e24: Pulling fs layer [2021-06-28T20:08:37.421Z] ba82ee9f976e: Waiting [2021-06-28T20:08:37.421Z] 506bd15cee9f: Waiting [2021-06-28T20:08:37.421Z] 75a0a4a0db45: Waiting [2021-06-28T20:08:37.421Z] 618dc40b7e24: Waiting [2021-06-28T20:08:37.421Z] 5b7225fbf94c: Verifying Checksum [2021-06-28T20:08:37.421Z] 5b7225fbf94c: Download complete [2021-06-28T20:08:37.421Z] 3088b5b3c5c0: Download complete [2021-06-28T20:08:37.699Z] 506bd15cee9f: Download complete [2021-06-28T20:08:37.699Z] 595b0fe564bb: Download complete [2021-06-28T20:08:37.699Z] 75a0a4a0db45: Verifying Checksum [2021-06-28T20:08:37.699Z] 75a0a4a0db45: Download complete [2021-06-28T20:08:38.319Z] 595b0fe564bb: Pull complete [2021-06-28T20:08:38.917Z] 3088b5b3c5c0: Pull complete [2021-06-28T20:08:39.517Z] 5b7225fbf94c: Pull complete [2021-06-28T20:08:39.792Z] 618dc40b7e24: Verifying Checksum [2021-06-28T20:08:39.792Z] 618dc40b7e24: Download complete [2021-06-28T20:08:41.233Z] ba82ee9f976e: Verifying Checksum [2021-06-28T20:08:41.233Z] ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T20:08:41.358Z] provisioning config files... [2021-06-28T20:08:41.378Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3155316737172064987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:08:41.765Z] ---> docker-login.sh [2021-06-28T20:08:41.765Z] nexus3.edgexfoundry.org:10001 [2021-06-28T20:08:42.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:42.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:42.027Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:42.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:42.027Z] [2021-06-28T20:08:42.027Z] Login Succeeded [2021-06-28T20:08:42.027Z] nexus3.edgexfoundry.org:10002 [2021-06-28T20:08:42.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:42.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:42.292Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:42.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:42.292Z] [2021-06-28T20:08:42.292Z] Login Succeeded [2021-06-28T20:08:42.292Z] nexus3.edgexfoundry.org:10003 [2021-06-28T20:08:42.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:42.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:42.292Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:42.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:42.292Z] [2021-06-28T20:08:42.292Z] Login Succeeded [2021-06-28T20:08:42.292Z] nexus3.edgexfoundry.org:10004 [2021-06-28T20:08:42.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:42.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:42.556Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:42.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:42.556Z] [2021-06-28T20:08:42.556Z] Login Succeeded [2021-06-28T20:08:42.556Z] docker.io [2021-06-28T20:08:42.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:08:42.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:08:42.818Z] Configure a credential helper to remove this warning. See [2021-06-28T20:08:42.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:08:42.818Z] [2021-06-28T20:08:42.818Z] Login Succeeded [2021-06-28T20:08:42.818Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T20:08:42.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T20:08:43.147Z] ========================================================= [2021-06-28T20:08:43.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-28T20:08:43.147Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:08:43.504Z] + 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-28T20:08:43.504Z] Sending build context to Docker daemon 92.16kB [2021-06-28T20:08:43.504Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T20:08:43.504Z] Step 2/10 : FROM ${BASE} [2021-06-28T20:08:43.504Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-28T20:08:43.504Z] 540db60ca938: Pulling fs layer [2021-06-28T20:08:43.504Z] adcc1eea9eea: Pulling fs layer [2021-06-28T20:08:43.504Z] 4c4ab2625f07: Pulling fs layer [2021-06-28T20:08:43.504Z] 0510c868ecb4: Pulling fs layer [2021-06-28T20:08:43.504Z] afea3b2eda06: Pulling fs layer [2021-06-28T20:08:43.504Z] 7809a108b3ef: Pulling fs layer [2021-06-28T20:08:43.504Z] f706445af74f: Pulling fs layer [2021-06-28T20:08:43.504Z] 0510c868ecb4: Waiting [2021-06-28T20:08:43.504Z] afea3b2eda06: Waiting [2021-06-28T20:08:43.504Z] 7809a108b3ef: Waiting [2021-06-28T20:08:43.504Z] f706445af74f: Waiting [2021-06-28T20:08:43.504Z] 4c4ab2625f07: Verifying Checksum [2021-06-28T20:08:43.504Z] 4c4ab2625f07: Download complete [2021-06-28T20:08:43.504Z] adcc1eea9eea: Download complete [2021-06-28T20:08:43.504Z] afea3b2eda06: Verifying Checksum [2021-06-28T20:08:43.504Z] afea3b2eda06: Download complete [2021-06-28T20:08:43.774Z] 540db60ca938: Verifying Checksum [2021-06-28T20:08:43.774Z] 540db60ca938: Download complete [2021-06-28T20:08:43.774Z] 540db60ca938: Pull complete [2021-06-28T20:08:43.774Z] 7809a108b3ef: Verifying Checksum [2021-06-28T20:08:43.774Z] 7809a108b3ef: Download complete [2021-06-28T20:08:44.042Z] adcc1eea9eea: Pull complete [2021-06-28T20:08:44.042Z] 4c4ab2625f07: Pull complete [2021-06-28T20:08:44.987Z] f706445af74f: Verifying Checksum [2021-06-28T20:08:44.987Z] f706445af74f: Download complete [2021-06-28T20:08:45.562Z] 0510c868ecb4: Verifying Checksum [2021-06-28T20:08:45.562Z] 0510c868ecb4: Download complete [2021-06-28T20:08:48.909Z] 0510c868ecb4: Pull complete [2021-06-28T20:08:48.909Z] afea3b2eda06: Pull complete [2021-06-28T20:08:48.909Z] 7809a108b3ef: Pull complete [2021-06-28T20:08:50.305Z] f706445af74f: Pull complete [2021-06-28T20:08:50.305Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-28T20:08:50.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-28T20:08:50.305Z] ---> b068be0155e3 [2021-06-28T20:08:50.305Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T20:08:51.400Z] ba82ee9f976e: Pull complete [2021-06-28T20:08:51.676Z] 506bd15cee9f: Pull complete [2021-06-28T20:08:52.275Z] 75a0a4a0db45: Pull complete [2021-06-28T20:08:55.625Z] ---> Running in 9ce3a3ef477a [2021-06-28T20:08:55.625Z] Removing intermediate container 9ce3a3ef477a [2021-06-28T20:08:55.625Z] ---> ec0350410d73 [2021-06-28T20:08:55.625Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T20:08:55.890Z] ---> Running in 4e4120de03af [2021-06-28T20:08:55.890Z] Removing intermediate container 4e4120de03af [2021-06-28T20:08:55.890Z] ---> 52d0ab7f9190 [2021-06-28T20:08:55.890Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-28T20:08:55.890Z] ---> Running in c96a0fb558a4 [2021-06-28T20:08:56.152Z] Removing intermediate container c96a0fb558a4 [2021-06-28T20:08:56.152Z] ---> 94ad217bfcc5 [2021-06-28T20:08:56.152Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T20:08:56.152Z] ---> Running in 5176607da774 [2021-06-28T20:08:56.628Z] 618dc40b7e24: Pull complete [2021-06-28T20:08:56.628Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-28T20:08:56.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-28T20:08:56.628Z] ---> a36622ca3599 [2021-06-28T20:08:56.628Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T20:08:56.735Z] Removing intermediate container 5176607da774 [2021-06-28T20:08:56.735Z] ---> 5b4e875fd558 [2021-06-28T20:08:56.735Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T20:08:56.735Z] ---> Running in 67b1f9278a21 [2021-06-28T20:08:56.999Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T20:08:57.944Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T20:08:58.057Z] ---> Running in 93b77bcd3d75 [2021-06-28T20:08:58.330Z] Removing intermediate container 93b77bcd3d75 [2021-06-28T20:08:58.330Z] ---> 867eea3a7e28 [2021-06-28T20:08:58.330Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T20:08:58.519Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-28T20:08:58.519Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-28T20:08:58.607Z] ---> Running in f4983a80a2fc [2021-06-28T20:08:58.780Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-28T20:08:58.780Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-28T20:08:58.780Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T20:08:58.881Z] Removing intermediate container f4983a80a2fc [2021-06-28T20:08:58.881Z] ---> 45f6199cab73 [2021-06-28T20:08:58.881Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-28T20:08:59.045Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-28T20:08:59.046Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-28T20:08:59.166Z] ---> Running in accfbccd1a26 [2021-06-28T20:08:59.311Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-28T20:08:59.446Z] Removing intermediate container accfbccd1a26 [2021-06-28T20:08:59.446Z] ---> 9c9f386d598e [2021-06-28T20:08:59.446Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T20:08:59.581Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-28T20:08:59.581Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T20:08:59.581Z] OK: 154 MiB in 49 packages [2021-06-28T20:08:59.721Z] ---> Running in d7eb5eb3131a [2021-06-28T20:08:59.845Z] Removing intermediate container 67b1f9278a21 [2021-06-28T20:08:59.845Z] ---> e7aff29490c3 [2021-06-28T20:08:59.845Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-28T20:09:00.109Z] ---> Running in d94e2e811ce8 [2021-06-28T20:09:00.109Z] Removing intermediate container d94e2e811ce8 [2021-06-28T20:09:00.109Z] ---> b6d5f186bbd0 [2021-06-28T20:09:00.109Z] Step 9/10 : COPY . . [2021-06-28T20:09:00.374Z] ---> df7513122d64 [2021-06-28T20:09:00.374Z] Step 10/10 : RUN go mod download [2021-06-28T20:09:00.374Z] ---> Running in 34e3b78c09c1 [2021-06-28T20:09:02.354Z] Removing intermediate container d7eb5eb3131a [2021-06-28T20:09:02.354Z] ---> 6f6a0b98d5c1 [2021-06-28T20:09:02.354Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T20:09:02.354Z] ---> Running in da869b7e9fd3 [2021-06-28T20:09:03.792Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T20:09:04.404Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T20:09:05.385Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-28T20:09:05.385Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-28T20:09:05.385Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-28T20:09:05.660Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-28T20:09:05.660Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T20:09:05.660Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-28T20:09:05.933Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-28T20:09:06.211Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-28T20:09:06.211Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-28T20:09:06.211Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T20:09:06.488Z] OK: 144 MiB in 49 packages [2021-06-28T20:09:07.930Z] Removing intermediate container da869b7e9fd3 [2021-06-28T20:09:07.930Z] ---> 6eb6d2a53570 [2021-06-28T20:09:07.930Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-28T20:09:07.930Z] ---> Running in d9a189bb8920 [2021-06-28T20:09:08.534Z] Removing intermediate container d9a189bb8920 [2021-06-28T20:09:08.534Z] ---> 3bc7ff169c06 [2021-06-28T20:09:08.534Z] Step 9/10 : COPY . . [2021-06-28T20:09:09.526Z] ---> 8cb969530c39 [2021-06-28T20:09:09.526Z] Step 10/10 : RUN go mod download [2021-06-28T20:09:09.526Z] ---> Running in a73ceb78963d [2021-06-28T20:09:15.324Z] Removing intermediate container 34e3b78c09c1 [2021-06-28T20:09:15.324Z] ---> b3ef755811da [2021-06-28T20:09:15.324Z] Successfully built b3ef755811da [2021-06-28T20:09:15.324Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:09:15.694Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T20:09:15.694Z] . [Pipeline] withDockerContainer [2021-06-28T20:09:15.806Z] prd-centos7-docker-4c-2g-568 does not seem to be running inside a container [2021-06-28T20:09:15.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T20:09:16.243Z] $ docker top 53546459f865b4d0491e348304f55a32bf90518d030139620f36aa20d333a463 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:09:16.686Z] + go version [2021-06-28T20:09:16.686Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-28T20:09:16.715Z] $ docker stop --time=1 53546459f865b4d0491e348304f55a32bf90518d030139620f36aa20d333a463 [2021-06-28T20:09:17.907Z] $ docker rm -f 53546459f865b4d0491e348304f55a32bf90518d030139620f36aa20d333a463 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:09:18.758Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T20:09:18.758Z] . [Pipeline] withDockerContainer [2021-06-28T20:09:18.865Z] prd-centos7-docker-4c-2g-568 does not seem to be running inside a container [2021-06-28T20:09:18.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T20:09:19.349Z] $ docker top 8a8603237c88fc1c8b94bab58d7d58aef7710ab2edb140f7cbf4492d3fdb2b87 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:09:19.981Z] + go mod tidy [Pipeline] sh [2021-06-28T20:09:20.360Z] + make test [2021-06-28T20:09:20.360Z] go mod tidy [2021-06-28T20:09:20.360Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-28T20:09:20.947Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-28T20:09:36.012Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-28T20:09:36.274Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-28T20:09:36.319Z] Removing intermediate container a73ceb78963d [2021-06-28T20:09:36.319Z] ---> 67037160f0e1 [2021-06-28T20:09:36.319Z] Successfully built 67037160f0e1 [2021-06-28T20:09:36.319Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:09:36.537Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T20:09:36.708Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T20:09:36.708Z] . [Pipeline] withDockerContainer [2021-06-28T20:09:36.948Z] prd-ubuntu18.04-docker-arm64-4c-16g-566 does not seem to be running inside a container [2021-06-28T20:09:37.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T20:09:38.686Z] $ docker top a12b6e5fcc97ae8b8810f4b2c152b1c207255cd0523be9de732051d360620f0b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:09:39.736Z] + go version [2021-06-28T20:09:39.736Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-28T20:09:39.787Z] $ docker stop --time=1 a12b6e5fcc97ae8b8810f4b2c152b1c207255cd0523be9de732051d360620f0b [2021-06-28T20:09:41.610Z] $ docker rm -f a12b6e5fcc97ae8b8810f4b2c152b1c207255cd0523be9de732051d360620f0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:09:42.714Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T20:09:42.714Z] . [Pipeline] withDockerContainer [2021-06-28T20:09:43.009Z] prd-ubuntu18.04-docker-arm64-4c-16g-566 does not seem to be running inside a container [2021-06-28T20:09:43.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T20:09:43.184Z] gofmt -l . [2021-06-28T20:09:43.184Z] [ "`gofmt -l .`" = "" ] [2021-06-28T20:09:43.184Z] ./bin/test-go-mod-tidy.sh [2021-06-28T20:09:43.184Z] ./bin/test-attribution-txt.sh [2021-06-28T20:09:44.760Z] $ docker top b1b49ef54f90da96b634292d6a386acad178aa1d3c73c35789136d40bba84446 -eo pid,comm [Pipeline] { [Pipeline] } [2021-06-28T20:09:45.156Z] $ docker stop --time=1 8a8603237c88fc1c8b94bab58d7d58aef7710ab2edb140f7cbf4492d3fdb2b87 [2021-06-28T20:09:46.846Z] $ docker rm -f 8a8603237c88fc1c8b94bab58d7d58aef7710ab2edb140f7cbf4492d3fdb2b87 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-06-28T20:09:47.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T20:09:47.541Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-06-28T20:09:47.733Z] + go mod tidy [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh [2021-06-28T20:09:50.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T20:09:51.250Z] + make test [2021-06-28T20:09:51.251Z] go mod tidy [2021-06-28T20:09:51.304Z] + ls -al . [2021-06-28T20:09:51.304Z] total 104 [2021-06-28T20:09:51.304Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 28 20:09 . [2021-06-28T20:09:51.304Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 28 20:08 .. [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 28 20:08 Attribution.txt [2021-06-28T20:09:51.304Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 28 20:08 bin [2021-06-28T20:09:51.304Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 28 20:08 cmd [2021-06-28T20:09:51.304Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 28 20:09 coverage.out [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 28 20:08 Dockerfile [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 28 20:08 Dockerfile.build [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 28 20:08 .dockerignore [2021-06-28T20:09:51.304Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 28 20:08 driver [2021-06-28T20:09:51.304Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 28 20:08 .git [2021-06-28T20:09:51.304Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 28 20:08 .github [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 28 20:08 .gitignore [2021-06-28T20:09:51.304Z] -rw-r--r--. 1 jenkins jenkins 278 Jun 28 20:09 go.mod [2021-06-28T20:09:51.304Z] -rw-r--r--. 1 jenkins jenkins 20880 Jun 28 20:09 go.sum [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 28 20:08 Jenkinsfile [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 28 20:08 LICENSE [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 28 20:08 Makefile [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 28 20:08 README.md [2021-06-28T20:09:51.304Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 28 20:08 snap [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 28 20:05 VERSION [2021-06-28T20:09:51.304Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 28 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:09:51.650Z] + 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=d5df302b6998b34ecca57e19cd19cb322598dcf9 --label arch=amd64 --label version=0.0.0 . [2021-06-28T20:09:51.650Z] Sending build context to Docker daemon 101.9kB [2021-06-28T20:09:51.650Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T20:09:51.650Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-28T20:09:51.650Z] ---> b3ef755811da [2021-06-28T20:09:51.650Z] Step 3/25 : ARG MAKE='make build' [2021-06-28T20:09:51.650Z] ---> Running in 84a991dc1349 [2021-06-28T20:09:51.650Z] Removing intermediate container 84a991dc1349 [2021-06-28T20:09:51.650Z] ---> 5bf162b6fae1 [2021-06-28T20:09:51.650Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T20:09:51.854Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-28T20:09:51.920Z] ---> Running in d61aca45a204 [2021-06-28T20:09:51.920Z] Removing intermediate container d61aca45a204 [2021-06-28T20:09:51.920Z] ---> f0ca82828c09 [2021-06-28T20:09:51.920Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T20:09:51.920Z] ---> Running in 734d78ed3115 [2021-06-28T20:09:51.920Z] Removing intermediate container 734d78ed3115 [2021-06-28T20:09:51.920Z] ---> 9330614033ef [2021-06-28T20:09:51.920Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T20:09:51.920Z] ---> Running in e09f7d81ee52 [2021-06-28T20:09:52.492Z] Removing intermediate container e09f7d81ee52 [2021-06-28T20:09:52.492Z] ---> ffb6e7b24381 [2021-06-28T20:09:52.492Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T20:09:52.492Z] ---> Running in 959ad28be852 [2021-06-28T20:09:52.757Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T20:09:52.839Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-28T20:09:53.697Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T20:09:53.959Z] OK: 154 MiB in 49 packages [2021-06-28T20:09:54.221Z] Removing intermediate container 959ad28be852 [2021-06-28T20:09:54.221Z] ---> 2d608a050229 [2021-06-28T20:09:54.221Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-28T20:09:54.221Z] ---> Running in f397fb00e581 [2021-06-28T20:09:54.221Z] Removing intermediate container f397fb00e581 [2021-06-28T20:09:54.221Z] ---> e0ef1e22ecaf [2021-06-28T20:09:54.221Z] Step 9/25 : COPY . . [2021-06-28T20:09:54.483Z] ---> c3210122007c [2021-06-28T20:09:54.483Z] Step 10/25 : RUN go mod tidy [2021-06-28T20:09:54.483Z] ---> Running in 3c05924929dc [2021-06-28T20:09:55.061Z] Removing intermediate container 3c05924929dc [2021-06-28T20:09:55.061Z] ---> 1227c3d5c46a [2021-06-28T20:09:55.061Z] Step 11/25 : RUN make update [2021-06-28T20:09:55.061Z] ---> Running in 3daca99a9946 [2021-06-28T20:09:55.325Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T20:09:55.587Z] Removing intermediate container 3daca99a9946 [2021-06-28T20:09:55.587Z] ---> c738e69af59b [2021-06-28T20:09:55.587Z] Step 12/25 : RUN $MAKE [2021-06-28T20:09:55.850Z] ---> Running in 433452ce2a98 [2021-06-28T20:09:56.110Z] go mod tidy [2021-06-28T20:09:56.110Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-28T20:10:08.457Z] Removing intermediate container 433452ce2a98 [2021-06-28T20:10:08.457Z] ---> 7fb43184871b [2021-06-28T20:10:08.457Z] Step 13/25 : FROM alpine:3.12 [2021-06-28T20:10:08.457Z] 3.12: Pulling from library/alpine [2021-06-28T20:10:08.457Z] 339de151aab4: Pulling fs layer [2021-06-28T20:10:08.457Z] 339de151aab4: Verifying Checksum [2021-06-28T20:10:08.457Z] 339de151aab4: Download complete [2021-06-28T20:10:08.457Z] 339de151aab4: Pull complete [2021-06-28T20:10:08.457Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T20:10:08.457Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T20:10:08.457Z] ---> 13621d1b12d4 [2021-06-28T20:10:08.457Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-28T20:10:08.457Z] ---> Running in fe16e00f6fc8 [2021-06-28T20:10:08.457Z] Removing intermediate container fe16e00f6fc8 [2021-06-28T20:10:08.457Z] ---> 270b50be5ce2 [2021-06-28T20:10:08.457Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-28T20:10:08.457Z] ---> Running in bfe583e58417 [2021-06-28T20:10:08.457Z] Removing intermediate container bfe583e58417 [2021-06-28T20:10:08.457Z] ---> 0bacbcbfad33 [2021-06-28T20:10:08.457Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T20:10:08.457Z] ---> Running in 5eff443e14bb [2021-06-28T20:10:08.718Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-28T20:10:08.718Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-28T20:10:08.718Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T20:10:08.718Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T20:10:08.981Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T20:10:08.981Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T20:10:08.981Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T20:10:08.981Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T20:10:08.981Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T20:10:08.981Z] OK: 8 MiB in 20 packages [2021-06-28T20:10:09.244Z] Removing intermediate container 5eff443e14bb [2021-06-28T20:10:09.244Z] ---> 207c72c16651 [2021-06-28T20:10:09.244Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-28T20:10:10.201Z] ---> bae0bab7fe67 [2021-06-28T20:10:10.201Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-28T20:10:10.201Z] ---> 4e7a861b098e [2021-06-28T20:10:10.201Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-28T20:10:10.201Z] ---> e620b15b7b42 [2021-06-28T20:10:10.201Z] Step 20/25 : EXPOSE 59986 [2021-06-28T20:10:10.201Z] ---> Running in 69df82102603 [2021-06-28T20:10:10.471Z] Removing intermediate container 69df82102603 [2021-06-28T20:10:10.471Z] ---> 06c16d1fc93a [2021-06-28T20:10:10.471Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-28T20:10:10.471Z] ---> Running in 471a8f8f72a9 [2021-06-28T20:10:10.471Z] Removing intermediate container 471a8f8f72a9 [2021-06-28T20:10:10.471Z] ---> 7f81450f48d7 [2021-06-28T20:10:10.471Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T20:10:10.471Z] ---> Running in 9bbbad58a9de [2021-06-28T20:10:10.741Z] Removing intermediate container 9bbbad58a9de [2021-06-28T20:10:10.741Z] ---> dd066dc3e3dc [2021-06-28T20:10:10.741Z] Step 23/25 : LABEL arch=amd64 [2021-06-28T20:10:10.741Z] ---> Running in b50d4afaca14 [2021-06-28T20:10:10.741Z] Removing intermediate container b50d4afaca14 [2021-06-28T20:10:10.741Z] ---> 8e7e450c6b3f [2021-06-28T20:10:10.741Z] Step 24/25 : LABEL git_sha=d5df302b6998b34ecca57e19cd19cb322598dcf9 [2021-06-28T20:10:10.741Z] ---> Running in bc5e0340fdb5 [2021-06-28T20:10:10.741Z] Removing intermediate container bc5e0340fdb5 [2021-06-28T20:10:10.741Z] ---> eb8d36524d61 [2021-06-28T20:10:10.741Z] Step 25/25 : LABEL version=0.0.0 [2021-06-28T20:10:10.741Z] ---> Running in c87cb8257acc [2021-06-28T20:10:11.003Z] Removing intermediate container c87cb8257acc [2021-06-28T20:10:11.003Z] ---> c91394bc3455 [2021-06-28T20:10:11.003Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T20:10:11.003Z] Successfully built c91394bc3455 [2021-06-28T20:10:11.003Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:10:12.264Z] ---> job-cost.sh [2021-06-28T20:10:12.264Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1kDf [2021-06-28T20:10:22.308Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T20:10:34.609Z] lf-activate-venv(): INFO: Adding /tmp/venv-1kDf/bin to PATH [2021-06-28T20:10:34.609Z] INFO: No Stack... [2021-06-28T20:10:35.698Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T20:10:36.272Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T20:10:36.600Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-28T20:10:36.600Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T20:10:36.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-124-1-stack-cost] [2021-06-28T20:10:36.660Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-124-1-stack-cost] did not exist. Created. [2021-06-28T20:10:36.660Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-124-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T20:10:37.102Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-28T20:10:37.200Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T20:10:37.223Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-124-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-28T20:10:49.450Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-28T20:10:49.450Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements [2021-06-28T20:10:49.450Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T20:11:11.705Z] gofmt -l . [2021-06-28T20:11:11.705Z] [ "`gofmt -l .`" = "" ] [2021-06-28T20:11:11.705Z] ./bin/test-go-mod-tidy.sh [2021-06-28T20:11:11.705Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T20:11:12.341Z] $ docker stop --time=1 b1b49ef54f90da96b634292d6a386acad178aa1d3c73c35789136d40bba84446 [2021-06-28T20:11:14.330Z] $ docker rm -f b1b49ef54f90da96b634292d6a386acad178aa1d3c73c35789136d40bba84446 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T20:11:15.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T20:11:15.381Z] Warning: overwriting stash ‘coverage-report’ [2021-06-28T20:11:15.938Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T20:11:16.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T20:11:17.121Z] + ls -al . [2021-06-28T20:11:17.121Z] total 132 [2021-06-28T20:11:17.121Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 20:11 . [2021-06-28T20:11:17.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:08 .. [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 28 20:08 .dockerignore [2021-06-28T20:11:17.121Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 20:08 .git [2021-06-28T20:11:17.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:08 .github [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 28 20:08 .gitignore [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 28 20:08 Attribution.txt [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 28 20:08 Dockerfile [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 28 20:08 Dockerfile.build [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 28 20:08 Jenkinsfile [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 20:08 LICENSE [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 28 20:08 Makefile [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 28 20:08 README.md [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 20:05 VERSION [2021-06-28T20:11:17.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:08 bin [2021-06-28T20:11:17.121Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:08 cmd [2021-06-28T20:11:17.121Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 28 20:10 coverage.out [2021-06-28T20:11:17.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:08 driver [2021-06-28T20:11:17.121Z] -rw-r--r-- 1 jenkins jenkins 278 Jun 28 20:11 go.mod [2021-06-28T20:11:17.121Z] -rw-r--r-- 1 jenkins jenkins 20880 Jun 28 20:09 go.sum [2021-06-28T20:11:17.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:08 snap [2021-06-28T20:11:17.121Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 28 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:11:17.562Z] + 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=d5df302b6998b34ecca57e19cd19cb322598dcf9 --label arch=arm64 --label version=0.0.0 . [2021-06-28T20:11:17.836Z] Sending build context to Docker daemon 101.9kB [2021-06-28T20:11:18.109Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T20:11:18.109Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-28T20:11:18.109Z] ---> 67037160f0e1 [2021-06-28T20:11:18.109Z] Step 3/25 : ARG MAKE='make build' [2021-06-28T20:11:18.383Z] ---> Running in baca8f848615 [2021-06-28T20:11:18.979Z] Removing intermediate container baca8f848615 [2021-06-28T20:11:18.979Z] ---> d00ebda951b8 [2021-06-28T20:11:18.979Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T20:11:18.979Z] ---> Running in 89474d34d5c9 [2021-06-28T20:11:19.578Z] Removing intermediate container 89474d34d5c9 [2021-06-28T20:11:19.578Z] ---> c8fe3bd348d8 [2021-06-28T20:11:19.578Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T20:11:19.578Z] ---> Running in 28bc07067b6f [2021-06-28T20:11:20.559Z] Removing intermediate container 28bc07067b6f [2021-06-28T20:11:20.560Z] ---> bdb06af1630d [2021-06-28T20:11:20.560Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T20:11:20.835Z] ---> Running in d54f159546d1 [2021-06-28T20:11:23.458Z] Removing intermediate container d54f159546d1 [2021-06-28T20:11:23.458Z] ---> 1702012997ea [2021-06-28T20:11:23.458Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T20:11:23.458Z] ---> Running in 53c0189971a1 [2021-06-28T20:11:24.438Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T20:11:25.416Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T20:11:26.856Z] OK: 144 MiB in 49 packages [2021-06-28T20:11:27.837Z] Removing intermediate container 53c0189971a1 [2021-06-28T20:11:27.837Z] ---> 87d8ce255ac6 [2021-06-28T20:11:27.837Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-28T20:11:27.837Z] ---> Running in dcc7913c4be4 [2021-06-28T20:11:28.437Z] Removing intermediate container dcc7913c4be4 [2021-06-28T20:11:28.437Z] ---> f72b95f4d877 [2021-06-28T20:11:28.437Z] Step 9/25 : COPY . . [2021-06-28T20:11:29.420Z] ---> 702ab188fc4c [2021-06-28T20:11:29.420Z] Step 10/25 : RUN go mod tidy [2021-06-28T20:11:29.420Z] ---> Running in ab1b39f10859 [2021-06-28T20:11:32.808Z] Removing intermediate container ab1b39f10859 [2021-06-28T20:11:32.808Z] ---> a4360a0f718e [2021-06-28T20:11:32.808Z] Step 11/25 : RUN make update [2021-06-28T20:11:32.808Z] ---> Running in 3a3faa73f24d [2021-06-28T20:11:33.785Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T20:11:34.764Z] Removing intermediate container 3a3faa73f24d [2021-06-28T20:11:34.764Z] ---> 4637c80c5f09 [2021-06-28T20:11:34.764Z] Step 12/25 : RUN $MAKE [2021-06-28T20:11:35.038Z] ---> Running in 6295b2270cd6 [2021-06-28T20:11:36.476Z] go mod tidy [2021-06-28T20:11:36.752Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-28T20:12:15.774Z] Removing intermediate container 6295b2270cd6 [2021-06-28T20:12:15.774Z] ---> 02be853be86f [2021-06-28T20:12:15.774Z] Step 13/25 : FROM alpine:3.12 [2021-06-28T20:12:15.774Z] 3.12: Pulling from library/alpine [2021-06-28T20:12:15.774Z] d2f70382dc9a: Pulling fs layer [2021-06-28T20:12:15.774Z] d2f70382dc9a: Verifying Checksum [2021-06-28T20:12:15.774Z] d2f70382dc9a: Download complete [2021-06-28T20:12:15.774Z] d2f70382dc9a: Pull complete [2021-06-28T20:12:15.774Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T20:12:15.774Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T20:12:15.774Z] ---> c4fd0aeabfcf [2021-06-28T20:12:15.774Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-28T20:12:15.774Z] ---> Running in 9b8fc4957b3b [2021-06-28T20:12:15.774Z] Removing intermediate container 9b8fc4957b3b [2021-06-28T20:12:15.774Z] ---> 96bf7ddfb1a4 [2021-06-28T20:12:15.774Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-28T20:12:15.774Z] ---> Running in 767420240eff [2021-06-28T20:12:15.774Z] Removing intermediate container 767420240eff [2021-06-28T20:12:15.774Z] ---> 3e747a630b87 [2021-06-28T20:12:15.774Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T20:12:15.774Z] ---> Running in 9083579f936e [2021-06-28T20:12:16.754Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-28T20:12:16.754Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-28T20:12:17.347Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T20:12:17.347Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T20:12:17.347Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T20:12:17.347Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T20:12:17.347Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T20:12:17.347Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T20:12:17.347Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T20:12:17.347Z] OK: 8 MiB in 20 packages [2021-06-28T20:12:18.789Z] Removing intermediate container 9083579f936e [2021-06-28T20:12:18.789Z] ---> adc958dbfff5 [2021-06-28T20:12:18.789Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-28T20:12:19.768Z] ---> 6004ed43b02f [2021-06-28T20:12:19.768Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-28T20:12:20.753Z] ---> a0ba71386761 [2021-06-28T20:12:20.753Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-28T20:12:21.734Z] ---> 627acd4a6e9c [2021-06-28T20:12:21.734Z] Step 20/25 : EXPOSE 59986 [2021-06-28T20:12:21.734Z] ---> Running in b993c61dd0d5 [2021-06-28T20:12:22.329Z] Removing intermediate container b993c61dd0d5 [2021-06-28T20:12:22.329Z] ---> 450600a58024 [2021-06-28T20:12:22.329Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-28T20:12:22.329Z] ---> Running in 544c0c5c6105 [2021-06-28T20:12:22.925Z] Removing intermediate container 544c0c5c6105 [2021-06-28T20:12:22.925Z] ---> 698eb7f39e85 [2021-06-28T20:12:22.925Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T20:12:22.925Z] ---> Running in 85a40a717301 [2021-06-28T20:12:23.521Z] Removing intermediate container 85a40a717301 [2021-06-28T20:12:23.521Z] ---> 01b804d51b29 [2021-06-28T20:12:23.521Z] Step 23/25 : LABEL arch=arm64 [2021-06-28T20:12:23.794Z] ---> Running in 0966282731ed [2021-06-28T20:12:24.080Z] Removing intermediate container 0966282731ed [2021-06-28T20:12:24.080Z] ---> f6897ce41d20 [2021-06-28T20:12:24.080Z] Step 24/25 : LABEL git_sha=d5df302b6998b34ecca57e19cd19cb322598dcf9 [2021-06-28T20:12:24.353Z] ---> Running in 6c68de6a2f4a [2021-06-28T20:12:24.955Z] Removing intermediate container 6c68de6a2f4a [2021-06-28T20:12:24.955Z] ---> e530aa207aac [2021-06-28T20:12:24.955Z] Step 25/25 : LABEL version=0.0.0 [2021-06-28T20:12:24.955Z] ---> Running in 75f3216f8d5e [2021-06-28T20:12:25.551Z] Removing intermediate container 75f3216f8d5e [2021-06-28T20:12:25.551Z] ---> c264937f7007 [2021-06-28T20:12:25.551Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T20:12:25.551Z] Successfully built c264937f7007 [2021-06-28T20:12:25.551Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:12:26.371Z] ---> job-cost.sh [2021-06-28T20:12:26.371Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fXs6 [2021-06-28T20:13:13.322Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T20:15:05.166Z] lf-activate-venv(): INFO: Adding /tmp/venv-fXs6/bin to PATH [2021-06-28T20:15:05.166Z] INFO: No Stack... [2021-06-28T20:15:05.166Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-28T20:15:05.166Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T20:15:05.522Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-28T20:15:05.522Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T20:15:05.612Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-124-1-stack-cost] [2021-06-28T20:15:05.620Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-124-1-stack-cost] did not exist. Created. [2021-06-28T20:15:05.620Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-124-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T20:15:06.075Z] /w/workspace/device-rest-go/1@tmp/durable-3760ee1a/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-3760ee1a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-28T20:15:06.483Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-28T20:15:06.562Z] Warning: overwriting stash ‘stack-cost’ [2021-06-28T20:15:06.788Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T20:15:06.809Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-124-1-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-28T20:15:08.104Z] provisioning config files... [2021-06-28T20:15:08.113Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-124@tmp/config4698387345307006791tmp [Pipeline] { [Pipeline] sh [2021-06-28T20:15:08.487Z] + set +x [2021-06-28T20:15:08.487Z] + curl -s https://codecov.io/bash [2021-06-28T20:15:08.487Z] + bash -s -- [2021-06-28T20:15:08.487Z] [2021-06-28T20:15:08.487Z] _____ _ [2021-06-28T20:15:08.487Z] / ____| | | [2021-06-28T20:15:08.487Z] | | ___ __| | ___ ___ _____ __ [2021-06-28T20:15:08.487Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-28T20:15:08.487Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-28T20:15:08.487Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-28T20:15:08.487Z] Bash-1.0.3 [2021-06-28T20:15:08.487Z] [2021-06-28T20:15:08.487Z] [2021-06-28T20:15:08.487Z] ==> git version 2.24.4 found [2021-06-28T20:15:08.487Z] ==> 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-28T20:15:08.487Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-28T20:15:08.487Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-28T20:15:08.487Z] ==> Jenkins CI detected. [2021-06-28T20:15:08.487Z] project root: . [2021-06-28T20:15:08.487Z] --> token set from env [2021-06-28T20:15:08.487Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-28T20:15:08.487Z] ==> Running gcov in . (disable via -X gcov) [2021-06-28T20:15:08.487Z] ==> Python coveragepy not found [2021-06-28T20:15:08.487Z] ==> Searching for coverage reports in: [2021-06-28T20:15:08.487Z] + . [2021-06-28T20:15:08.487Z] -> Found 1 reports [2021-06-28T20:15:08.487Z] ==> Detecting git/mercurial file structure [2021-06-28T20:15:08.760Z] ==> Reading reports [2021-06-28T20:15:08.760Z] + ./coverage.out bytes=8513 [2021-06-28T20:15:08.760Z] ==> Appending adjustments [2021-06-28T20:15:08.760Z] https://docs.codecov.io/docs/fixing-reports [2021-06-28T20:15:08.760Z] + Found adjustments [2021-06-28T20:15:08.760Z] ==> Gzipping contents [2021-06-28T20:15:08.760Z] 4.0K /tmp/codecov.sBAg0l.gz [2021-06-28T20:15:08.760Z] ==> Uploading reports [2021-06-28T20:15:08.760Z] url: https://codecov.io [2021-06-28T20:15:08.760Z] query: branch=PR-124&commit=d5df302b6998b34ecca57e19cd19cb322598dcf9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-124%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=124&job=&cmd_args= [2021-06-28T20:15:08.760Z] -> Pinging Codecov [2021-06-28T20:15:08.760Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-124&commit=d5df302b6998b34ecca57e19cd19cb322598dcf9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-124%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=124&job=&cmd_args= [2021-06-28T20:15:09.334Z] -> Uploading to [2021-06-28T20:15:09.334Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-28/4E5D53B4F1F92C436F7061BF334D961C/d5df302b6998b34ecca57e19cd19cb322598dcf9/d1becc71-3724-4ca7-a032-6bcd37900a6a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210628T201509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=081594e919f9d43ce62b478ea3ea78f27b697fd279eb6b30afbc353c7a805186 [2021-06-28T20:15:09.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-28T20:15:09.334Z] Dload Upload Total Spent Left Speed [2021-06-28T20:15:09.596Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 3710 --:--:-- --:--:-- --:--:-- 3705 100 1608 0 0 100 1608 0 3709 --:--:-- --:--:-- --:--:-- 3705 [2021-06-28T20:15:09.596Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d5df302b6998b34ecca57e19cd19cb322598dcf9 [Pipeline] } [2021-06-28T20:15:09.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:15:12.898Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:15:13.523Z] ---> package-listing.sh [2021-06-28T20:15:13.523Z] ++ facter osfamily [2021-06-28T20:15:13.523Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-28T20:15:13.792Z] + OS_FAMILY=redhat [2021-06-28T20:15:13.792Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-124 [2021-06-28T20:15:13.792Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-28T20:15:13.792Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-28T20:15:13.792Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-28T20:15:13.792Z] + PACKAGES=/tmp/packages_start.txt [2021-06-28T20:15:13.792Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-124 ']' [2021-06-28T20:15:13.792Z] + PACKAGES=/tmp/packages_end.txt [2021-06-28T20:15:13.792Z] + case "${OS_FAMILY}" in [2021-06-28T20:15:13.792Z] + sort [2021-06-28T20:15:13.792Z] + rpm -qa [2021-06-28T20:15:14.372Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-28T20:15:14.372Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-28T20:15:14.372Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-28T20:15:14.372Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-124 ']' [2021-06-28T20:15:14.372Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-124/archives/ [2021-06-28T20:15:14.372Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-124/archives/ [Pipeline] echo [2021-06-28T20:15:14.410Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-28T20:15:14.733Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:15:15.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T20:15:15.379Z] [2021-06-28T20:15:15.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:15:15.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T20:15:15.764Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-28T20:15:15.764Z] df20fa9351a1: Pulling fs layer [2021-06-28T20:15:15.764Z] 36b3adc4ff6f: Pulling fs layer [2021-06-28T20:15:15.764Z] 8ad3a11d3b57: Pulling fs layer [2021-06-28T20:15:15.764Z] 46f8f816bc3b: Pulling fs layer [2021-06-28T20:15:15.764Z] 93b61091891f: Pulling fs layer [2021-06-28T20:15:15.764Z] 93b9cdb0e59b: Pulling fs layer [2021-06-28T20:15:15.764Z] 5e14af77c1be: Pulling fs layer [2021-06-28T20:15:15.764Z] 01666e4c0597: Pulling fs layer [2021-06-28T20:15:15.764Z] aa168da1d23b: Pulling fs layer [2021-06-28T20:15:15.764Z] 93b9cdb0e59b: Waiting [2021-06-28T20:15:15.764Z] 5e14af77c1be: Waiting [2021-06-28T20:15:15.764Z] 01666e4c0597: Waiting [2021-06-28T20:15:15.764Z] aa168da1d23b: Waiting [2021-06-28T20:15:15.764Z] 46f8f816bc3b: Waiting [2021-06-28T20:15:15.764Z] 93b61091891f: Waiting [2021-06-28T20:15:15.764Z] 36b3adc4ff6f: Download complete [2021-06-28T20:15:15.764Z] 46f8f816bc3b: Verifying Checksum [2021-06-28T20:15:15.764Z] 46f8f816bc3b: Download complete [2021-06-28T20:15:15.764Z] df20fa9351a1: Verifying Checksum [2021-06-28T20:15:15.764Z] 93b9cdb0e59b: Verifying Checksum [2021-06-28T20:15:15.764Z] 93b9cdb0e59b: Download complete [2021-06-28T20:15:15.765Z] 93b61091891f: Verifying Checksum [2021-06-28T20:15:15.765Z] 93b61091891f: Download complete [2021-06-28T20:15:15.765Z] 5e14af77c1be: Verifying Checksum [2021-06-28T20:15:15.765Z] 5e14af77c1be: Download complete [2021-06-28T20:15:16.035Z] 01666e4c0597: Verifying Checksum [2021-06-28T20:15:16.035Z] 01666e4c0597: Download complete [2021-06-28T20:15:16.035Z] df20fa9351a1: Pull complete [2021-06-28T20:15:16.035Z] 8ad3a11d3b57: Verifying Checksum [2021-06-28T20:15:16.035Z] 8ad3a11d3b57: Download complete [2021-06-28T20:15:16.308Z] 36b3adc4ff6f: Pull complete [2021-06-28T20:15:16.895Z] 8ad3a11d3b57: Pull complete [2021-06-28T20:15:16.895Z] 46f8f816bc3b: Pull complete [2021-06-28T20:15:17.161Z] 93b61091891f: Pull complete [2021-06-28T20:15:17.437Z] 93b9cdb0e59b: Pull complete [2021-06-28T20:15:17.437Z] 5e14af77c1be: Pull complete [2021-06-28T20:15:17.437Z] 01666e4c0597: Pull complete [2021-06-28T20:15:17.703Z] aa168da1d23b: Verifying Checksum [2021-06-28T20:15:17.703Z] aa168da1d23b: Download complete [2021-06-28T20:15:21.959Z] aa168da1d23b: Pull complete [2021-06-28T20:15:21.959Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-28T20:15:21.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T20:15:21.959Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-28T20:15:22.067Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2021-06-28T20:15:22.103Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-124 -v /w/workspace/gexfoundry_device-rest-go_PR-124:/w/workspace/gexfoundry_device-rest-go_PR-124:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-124@tmp:/w/workspace/gexfoundry_device-rest-go_PR-124@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-lftools-log-publisher:alpine cat [2021-06-28T20:15:25.407Z] $ docker top bf04d66614ad2f008b44f69bc2ca6761217f482f1261ea231a0ddf794e97f29a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:15:25.852Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-28T20:15:26.178Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-28T20:15:26.500Z] + ls /var/log/sa-host [2021-06-28T20:15:26.500Z] + sadf -c /var/log/sa-host/sa05 [2021-06-28T20:15:26.500Z] file_magic: OK [2021-06-28T20:15:26.500Z] HZ: Using current value: 100 [2021-06-28T20:15:26.500Z] file_header: OK [2021-06-28T20:15:26.500Z] 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-28T20:15:26.500Z] Statistics: [2021-06-28T20:15:26.500Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T20:15:26.500Z] File successfully converted to sysstat format version 12.2.1 [2021-06-28T20:15:26.500Z] + sadf -c /var/log/sa-host/sa28 [2021-06-28T20:15:26.500Z] file_magic: OK [2021-06-28T20:15:26.500Z] HZ: Using current value: 100 [2021-06-28T20:15:26.500Z] file_header: OK [2021-06-28T20:15:26.500Z] 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-28T20:15:26.500Z] Statistics: [2021-06-28T20:15:26.500Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T20:15:26.500Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T20:15:27.386Z] provisioning config files... [2021-06-28T20:15:27.409Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-124@tmp/config4571689963915780150tmp [Pipeline] { [Pipeline] echo [2021-06-28T20:15:27.472Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:15:27.816Z] ---> create-netrc.sh [Pipeline] } [2021-06-28T20:15:27.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:15:28.342Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-28T20:15:28.382Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:15:28.721Z] ---> sudo-logs.sh [2021-06-28T20:15:28.721Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-28T20:15:28.839Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:15:29.189Z] ---> job-cost.sh [2021-06-28T20:15:29.189Z] lf-activate-venv: SKIPPING [2021-06-28T20:15:29.189Z] DEBUG: total: 0.18000000715255737 [2021-06-28T20:15:29.189Z] INFO: Retrieving Stack Cost... [2021-06-28T20:15:30.133Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T20:15:30.713Z] INFO: Archiving Costs [Pipeline] echo [2021-06-28T20:15:30.756Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:15:31.092Z] ---> logs-deploy.sh [2021-06-28T20:15:31.092Z] lf-activate-venv: SKIPPING [2021-06-28T20:15:31.092Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-124/1 [2021-06-28T20:15:31.092Z] INFO: archiving workspace using pattern(s): [2021-06-28T20:15:32.039Z] Archives upload complete. [2021-06-28T20:15:32.039Z] INFO: archiving logs to Nexus