Pull request #85 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 569624fb81c2ae69bc90c383ac6b8d5090c026b7+b2078d70396c9de247bd59d3b559c7f9e74995c9 (d5bd5f78568002c10ee3c8cc4dee145e6922a594) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh 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-85/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh 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-85/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2571’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2685’ is offline; ‘prd-centos7-docker-4c-2g-2687’ is offline; ‘prd-centos7-docker-4c-2g-2694’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2684’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2703 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-85 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 Merge succeeded, producing 569624fb81c2ae69bc90c383ac6b8d5090c026b7 Checking out Revision 569624fb81c2ae69bc90c383ac6b8d5090c026b7 (PR-85) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:04:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:04:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:04:41 ========================================================= 06:04:41 EdgeX Global Pipelines Version Info 06:04:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:04:42 ------------------- 06:04:42 stable info: 06:04:42 ------------------- 06:04:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:04:42 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:04:42 Message: update stable to v1.0.191 06:04:44 ------------------- 06:04:44 experimental info: 06:04:44 ------------------- 06:04:44 Commited By: **** collab-it+edgex@linuxfoundation.org 06:04:44 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:04:44 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:04:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-85 [Pipeline] echo 06:04:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-85 [Pipeline] echo 06:04:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-85 [Pipeline] echo 06:04:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [Pipeline] echo 06:04:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 569624f [Pipeline] echo 06:04:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:04:46 provisioning config files... 06:04:46 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config396937951783097850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:46 ---> docker-login.sh 06:04:46 nexus3.edgexfoundry.org:10001 06:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:47 Configure a credential helper to remove this warning. See 06:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:47 06:04:47 Login Succeeded 06:04:47 nexus3.edgexfoundry.org:10002 06:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:47 Configure a credential helper to remove this warning. See 06:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:47 06:04:47 Login Succeeded 06:04:47 nexus3.edgexfoundry.org:10003 06:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:47 Configure a credential helper to remove this warning. See 06:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:47 06:04:47 Login Succeeded 06:04:47 nexus3.edgexfoundry.org:10004 06:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:48 Configure a credential helper to remove this warning. See 06:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:48 06:04:48 Login Succeeded 06:04:48 docker.io 06:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:49 Configure a credential helper to remove this warning. See 06:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:49 06:04:49 Login Succeeded 06:04:49 ---> docker-login.sh ends [Pipeline] } 06:04:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:50 + git log --format=format:%s -1 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [Pipeline] echo 06:04:50 GIT_COMMIT: 569624fb81c2ae69bc90c383ac6b8d5090c026b7, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 06:04:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:04:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:04:50 06:04:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:04:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:04:51 latest: Pulling from edgex-devops/git-semver 06:04:51 31603596830f: Pulling fs layer 06:04:51 54011a49482f: Pulling fs layer 06:04:51 a6820b24f6d8: Pulling fs layer 06:04:51 f581987b2513: Pulling fs layer 06:04:51 f581987b2513: Waiting 06:04:51 54011a49482f: Verifying Checksum 06:04:51 54011a49482f: Download complete 06:04:51 31603596830f: Download complete 06:04:51 f581987b2513: Verifying Checksum 06:04:51 f581987b2513: Download complete 06:04:51 31603596830f: Pull complete 06:04:51 a6820b24f6d8: Verifying Checksum 06:04:51 a6820b24f6d8: Download complete 06:04:52 54011a49482f: Pull complete 06:04:53 a6820b24f6d8: Pull complete 06:04:53 f581987b2513: Pull complete 06:04:53 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 06:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:04:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:04:53 prd-centos7-docker-4c-2g-2703 does not seem to be running inside a container 06:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-85 -v /w/workspace/dgexfoundry_device-rest-go_PR-85:/w/workspace/dgexfoundry_device-rest-go_PR-85:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:04:55 $ docker top 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:04:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:56 [ssh-agent] Looking for ssh-agent implementation... 06:04:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:56 $ docker exec 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 ssh-agent 06:04:56 SSH_AUTH_SOCK=/tmp/ssh-0XqOJPzXEQdl/agent.11 06:04:56 SSH_AGENT_PID=17 06:04:56 Running ssh-add (command line suppressed) 06:04:56 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_2168126956465017059.key (/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_2168126956465017059.key) 06:04:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:57 + git tag --points-at HEAD [Pipeline] } 06:04:57 $ docker exec --env ******** --env ******** 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 ssh-agent -k 06:04:57 unset SSH_AUTH_SOCK; 06:04:57 unset SSH_AGENT_PID; 06:04:57 echo Agent pid 17 killed; 06:04:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:04:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:57 [ssh-agent] Looking for ssh-agent implementation... 06:04:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:57 $ docker exec 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 ssh-agent 06:04:57 SSH_AUTH_SOCK=/tmp/ssh-k69ejmxrTJCk/agent.46 06:04:57 SSH_AGENT_PID=51 06:04:57 Running ssh-add (command line suppressed) 06:04:57 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_3809381927162244945.key (/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_3809381927162244945.key) 06:04:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:58 + git semver init 06:04:58 # -> Open(): unable to determine branch for HEAD 06:04:58 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-85/.git 06:04:58 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-85 06:04:58 # $SEMVER_REMOTE_NAME = origin 06:04:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:04:58 # $SEMVER_USER_NAME = edgex-jenkins 06:04:58 # $SEMVER_BRANCH = PR-85 06:04:58 # $SEMVER_TEMP = /tmp/semver-387002143 06:04:58 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:05:00 # '/tmp/semver-387002143' -> '/w/workspace/dgexfoundry_device-rest-go_PR-85/.semver' 06:05:00 # -> Force: false 06:05:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-85/.semver [Pipeline] } 06:05:00 $ docker exec --env ******** --env ******** 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 ssh-agent -k 06:05:00 unset SSH_AUTH_SOCK; 06:05:00 unset SSH_AGENT_PID; 06:05:00 echo Agent pid 51 killed; 06:05:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:05:01 + git semver [Pipeline] } 06:05:01 $ docker stop --time=1 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 06:05:02 $ docker rm -f 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:05:03 Stashed 1 file(s) [Pipeline] echo 06:05:03 [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 06:05:19 Still waiting to schedule task 06:05:19 ‘prd-centos7-blackbox-4c-2g-2571’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2681’ is offline; ‘prd-centos7-docker-4c-2g-2683’ is offline; ‘prd-centos7-docker-4c-2g-2685’ is offline; ‘prd-centos7-docker-4c-2g-2687’ is offline; ‘prd-centos7-docker-4c-2g-2692’ is offline; ‘prd-centos7-docker-4c-2g-2700’ is offline; ‘prd-centos7-docker-4c-2g-2701’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2684’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2689’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2704’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2706’ doesn’t have label ‘centos7-docker-4c-2g’ 06:05:19 Still waiting to schedule task 06:05:19 ‘prd-centos7-blackbox-4c-2g-2571’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2681’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2683’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2685’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2687’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2692’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2700’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2701’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2684’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2689’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2704’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2706’ is offline 06:06:44 Running on prd-centos7-docker-4c-2g-2707 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] ws 06:06:44 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:06:57 using credential edgex-jenkins-ssh 06:06:57 Cloning the remote Git repository 06:06:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:06:58 > git init /w/workspace/device-rest-go/1 # timeout=10 06:06:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:06:58 > git --version # timeout=10 06:06:58 > git --version # 'git version 2.24.3' 06:06:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:00 Merging remotes/origin/master commit b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 06:07:01 Merge succeeded, producing 569624fb81c2ae69bc90c383ac6b8d5090c026b7 06:07:01 Checking out Revision 569624fb81c2ae69bc90c383ac6b8d5090c026b7 (PR-85) 06:06:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:07:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:07:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:07:00 > git config core.sparsecheckout # timeout=10 06:07:00 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 06:07:00 > git remote # timeout=10 06:07:00 > git config --get remote.origin.url # timeout=10 06:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:00 > git merge b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 06:07:00 > git rev-parse HEAD^{commit} # timeout=10 06:07:01 > git config core.sparsecheckout # timeout=10 06:07:01 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 06:07:05 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 06:07:05 > git --version # timeout=10 06:07:05 > git --version # 'git version 2.24.3' 06:07:05 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:08 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:07:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:07:09 + sudo service docker restart 06:07:09 + true 06:07:09 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:07:11 provisioning config files... 06:07:12 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config861546448500179084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:12 ---> docker-login.sh 06:07:12 nexus3.edgexfoundry.org:10001 06:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:14 Configure a credential helper to remove this warning. See 06:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:14 06:07:14 Login Succeeded 06:07:14 nexus3.edgexfoundry.org:10002 06:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:15 Configure a credential helper to remove this warning. See 06:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:15 06:07:15 Login Succeeded 06:07:15 nexus3.edgexfoundry.org:10003 06:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:16 Configure a credential helper to remove this warning. See 06:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:16 06:07:16 Login Succeeded 06:07:16 nexus3.edgexfoundry.org:10004 06:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:16 Configure a credential helper to remove this warning. See 06:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:16 06:07:16 Login Succeeded 06:07:16 docker.io 06:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:18 Configure a credential helper to remove this warning. See 06:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:18 06:07:18 Login Succeeded 06:07:18 ---> docker-login.sh ends [Pipeline] } 06:07:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:07:18 ========================================================= 06:07:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:07:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:07:19 + 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 . 06:07:19 Sending build context to Docker daemon 93.18kB 06:07:19 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 06:07:19 Step 2/10 : FROM ${BASE} 06:07:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:07:19 540db60ca938: Pulling fs layer 06:07:19 adcc1eea9eea: Pulling fs layer 06:07:19 4c4ab2625f07: Pulling fs layer 06:07:19 0510c868ecb4: Pulling fs layer 06:07:19 afea3b2eda06: Pulling fs layer 06:07:19 7809a108b3ef: Pulling fs layer 06:07:19 f706445af74f: Pulling fs layer 06:07:19 afea3b2eda06: Waiting 06:07:19 0510c868ecb4: Waiting 06:07:19 7809a108b3ef: Waiting 06:07:19 f706445af74f: Waiting 06:07:19 4c4ab2625f07: Verifying Checksum 06:07:19 4c4ab2625f07: Download complete 06:07:19 adcc1eea9eea: Verifying Checksum 06:07:19 adcc1eea9eea: Download complete 06:07:19 afea3b2eda06: Verifying Checksum 06:07:19 afea3b2eda06: Download complete 06:07:20 7809a108b3ef: Verifying Checksum 06:07:20 7809a108b3ef: Download complete 06:07:20 540db60ca938: Verifying Checksum 06:07:20 540db60ca938: Download complete 06:07:21 540db60ca938: Pull complete 06:07:21 adcc1eea9eea: Pull complete 06:07:22 4c4ab2625f07: Pull complete 06:07:25 f706445af74f: Verifying Checksum 06:07:25 f706445af74f: Download complete 06:07:28 0510c868ecb4: Verifying Checksum 06:07:28 0510c868ecb4: Download complete 06:07:41 0510c868ecb4: Pull complete 06:07:41 afea3b2eda06: Pull complete 06:07:41 7809a108b3ef: Pull complete 06:07:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2713 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] ws 06:07:42 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:07:48 using credential edgex-jenkins-ssh 06:07:48 Cloning the remote Git repository 06:07:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:07:48 > git init /w/workspace/device-rest-go/1 # timeout=10 06:07:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:07:48 > git --version # timeout=10 06:07:48 > git --version # 'git version 2.17.1' 06:07:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:50 f706445af74f: Pull complete 06:07:50 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 06:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:07:50 ---> b068be0155e3 06:07:50 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:07:50 ---> Running in acd162f5f108 06:07:50 Removing intermediate container acd162f5f108 06:07:50 ---> bdca3c76cd4f 06:07:50 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:07:50 ---> Running in 97bf529bf51b 06:07:51 Removing intermediate container 97bf529bf51b 06:07:51 ---> 6567ac69a421 06:07:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:07:51 Merging remotes/origin/master commit b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 06:07:51 ---> Running in b1ffc94c3f3c 06:07:51 Merge succeeded, producing 569624fb81c2ae69bc90c383ac6b8d5090c026b7 06:07:51 Checking out Revision 569624fb81c2ae69bc90c383ac6b8d5090c026b7 (PR-85) 06:07:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:07:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:07:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:07:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:07:51 > git config core.sparsecheckout # timeout=10 06:07:51 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 06:07:51 > git remote # timeout=10 06:07:51 > git config --get remote.origin.url # timeout=10 06:07:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:51 > git merge b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 06:07:51 > git rev-parse HEAD^{commit} # timeout=10 06:07:51 > git config core.sparsecheckout # timeout=10 06:07:51 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 06:07:51 Removing intermediate container b1ffc94c3f3c 06:07:51 ---> a8def8a630e4 06:07:51 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:51 ---> Running in 734b697e8960 06:07:53 Removing intermediate container 734b697e8960 06:07:53 ---> e09b0007237e 06:07:53 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:07:53 ---> Running in a673ae947dd1 06:07:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:07:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:07:56 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 06:07:56 > git --version # timeout=10 06:07:56 > git --version # 'git version 2.17.1' 06:07:56 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:57 (1/9) Installing libc-dev (0.7.2-r3) 06:07:57 (2/9) Installing libsodium (1.0.18-r0) 06:07:57 (3/9) Installing pkgconf (1.7.3-r0) 06:07:57 (4/9) Installing libsodium-dev (1.0.18-r0) 06:07:57 (5/9) Installing openssh-keygen (8.4_p1-r3) 06:07:58 (6/9) Installing libedit (20191231.3.1-r1) 06:07:58 (7/9) Installing openssh-client (8.4_p1-r3) 06:07:58 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:07:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:07:59 + true 06:07:59 + sudo service docker restart 06:07:59 (8/9) Installing libzmq (4.3.3-r1) 06:07:59 (9/9) Installing zeromq-dev (4.3.3-r1) 06:07:59 Executing busybox-1.32.1-r6.trigger 06:07:59 OK: 154 MiB in 49 packages 06:08:01 Removing intermediate container a673ae947dd1 06:08:01 ---> 8e28bbe85b58 06:08:01 Step 8/10 : WORKDIR /device-rest-go 06:08:01 ---> Running in b239215bc29a 06:08:01 Removing intermediate container b239215bc29a 06:08:01 ---> 11ce837ed8aa 06:08:01 Step 9/10 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:08:01 provisioning config files... 06:08:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5455129997454792990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:02 ---> docker-login.sh 06:08:02 nexus3.edgexfoundry.org:10001 06:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:03 ---> 1814eccd04ce 06:08:03 Step 10/10 : RUN go mod download 06:08:03 ---> Running in d2b0761dfbde 06:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:03 Configure a credential helper to remove this warning. See 06:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:03 06:08:03 Login Succeeded 06:08:03 nexus3.edgexfoundry.org:10002 06:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:04 Configure a credential helper to remove this warning. See 06:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:04 06:08:04 Login Succeeded 06:08:04 nexus3.edgexfoundry.org:10003 06:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:05 Configure a credential helper to remove this warning. See 06:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:05 06:08:05 Login Succeeded 06:08:05 nexus3.edgexfoundry.org:10004 06:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:05 Configure a credential helper to remove this warning. See 06:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:05 06:08:05 Login Succeeded 06:08:05 docker.io 06:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:06 Configure a credential helper to remove this warning. See 06:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:06 06:08:06 Login Succeeded 06:08:06 ---> docker-login.sh ends [Pipeline] } 06:08:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:07 ========================================================= 06:08:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:08:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:08:07 + 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 . 06:08:07 Sending build context to Docker daemon 93.18kB 06:08:08 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 06:08:08 Step 2/10 : FROM ${BASE} 06:08:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:08:08 595b0fe564bb: Pulling fs layer 06:08:08 7186ed65a4f7: Pulling fs layer 06:08:08 316046926c0a: Pulling fs layer 06:08:08 4ebd0625c992: Pulling fs layer 06:08:08 207e8628e3a3: Pulling fs layer 06:08:08 c791037a9be2: Pulling fs layer 06:08:08 ffd874e62e21: Pulling fs layer 06:08:08 207e8628e3a3: Waiting 06:08:08 c791037a9be2: Waiting 06:08:08 ffd874e62e21: Waiting 06:08:08 4ebd0625c992: Waiting 06:08:08 316046926c0a: Verifying Checksum 06:08:08 316046926c0a: Download complete 06:08:08 7186ed65a4f7: Verifying Checksum 06:08:08 7186ed65a4f7: Download complete 06:08:08 207e8628e3a3: Verifying Checksum 06:08:08 207e8628e3a3: Download complete 06:08:08 c791037a9be2: Download complete 06:08:08 595b0fe564bb: Verifying Checksum 06:08:08 595b0fe564bb: Download complete 06:08:08 595b0fe564bb: Pull complete 06:08:09 7186ed65a4f7: Pull complete 06:08:10 316046926c0a: Pull complete 06:08:10 ffd874e62e21: Verifying Checksum 06:08:10 ffd874e62e21: Download complete 06:08:12 4ebd0625c992: Verifying Checksum 06:08:12 4ebd0625c992: Download complete 06:08:22 4ebd0625c992: Pull complete 06:08:22 207e8628e3a3: Pull complete 06:08:22 c791037a9be2: Pull complete 06:08:25 ffd874e62e21: Pull complete 06:08:25 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 06:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:08:25 ---> cfc18b08335c 06:08:25 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:08:29 ---> Running in 12182ae091f2 06:08:29 Removing intermediate container 12182ae091f2 06:08:29 ---> e28832f3d152 06:08:29 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:08:29 ---> Running in 96c50c15a51b 06:08:30 Removing intermediate container 96c50c15a51b 06:08:30 ---> ccd7c77d96e8 06:08:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:08:30 ---> Running in aed773ca5e0f 06:08:31 Removing intermediate container aed773ca5e0f 06:08:31 ---> 68908da1ac41 06:08:31 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:08:31 ---> Running in 8dbafec1ce4c 06:08:33 Removing intermediate container 8dbafec1ce4c 06:08:33 ---> 6964f4a71651 06:08:33 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:08:34 ---> Running in 8fd48e0b22ad 06:08:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:08:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:08:37 (1/9) Installing libc-dev (0.7.2-r3) 06:08:37 (2/9) Installing libsodium (1.0.18-r0) 06:08:37 (3/9) Installing pkgconf (1.7.3-r0) 06:08:37 (4/9) Installing libsodium-dev (1.0.18-r0) 06:08:37 (5/9) Installing openssh-keygen (8.4_p1-r3) 06:08:37 (6/9) Installing libedit (20191231.3.1-r1) 06:08:37 (7/9) Installing openssh-client (8.4_p1-r3) 06:08:38 (8/9) Installing libzmq (4.3.3-r1) 06:08:38 (9/9) Installing zeromq-dev (4.3.3-r1) 06:08:38 Executing busybox-1.32.1-r6.trigger 06:08:38 OK: 144 MiB in 49 packages 06:08:40 Removing intermediate container 8fd48e0b22ad 06:08:40 ---> e31202f411e5 06:08:40 Step 8/10 : WORKDIR /device-rest-go 06:08:40 ---> Running in 388418fc7dc4 06:08:41 Removing intermediate container 388418fc7dc4 06:08:41 ---> 064d34e43b23 06:08:41 Step 9/10 : COPY . . 06:08:42 ---> 750910463cdc 06:08:42 Step 10/10 : RUN go mod download 06:08:42 ---> Running in 7c706cb04018 06:08:52 Removing intermediate container d2b0761dfbde 06:08:52 ---> f8f7cc6edf85 06:08:52 Successfully built f8f7cc6edf85 06:08:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:08:52 + docker inspect -f . ci-base-image-x86_64 06:08:52 . [Pipeline] withDockerContainer 06:08:53 prd-centos7-docker-4c-2g-2707 does not seem to be running inside a container 06:08:53 $ 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 ******** ci-base-image-x86_64 cat 06:08:55 $ docker top d001a972871c9610d107951f263a9bdea41ae7760c0fcabb9cc585094a451882 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:57 + go version 06:08:57 go version go1.16.3 linux/amd64 [Pipeline] } 06:08:57 $ docker stop --time=1 d001a972871c9610d107951f263a9bdea41ae7760c0fcabb9cc585094a451882 06:08:59 $ docker rm -f d001a972871c9610d107951f263a9bdea41ae7760c0fcabb9cc585094a451882 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:09:00 + docker inspect -f . ci-base-image-x86_64 06:09:00 . [Pipeline] withDockerContainer 06:09:01 prd-centos7-docker-4c-2g-2707 does not seem to be running inside a container 06:09:02 $ 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 ******** ci-base-image-x86_64 cat 06:09:03 $ docker top 26dab584601519f93fd9f8baf67fadcdf71fc083efedeec0a6a0241e89b593a6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:05 + go mod tidy [Pipeline] sh 06:09:08 + make test 06:09:08 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:09:10 ? github.com/edgexfoundry/device-rest-go [no test files] 06:09:14 Removing intermediate container 7c706cb04018 06:09:14 ---> 4ec180a6077b 06:09:14 Successfully built 4ec180a6077b 06:09:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:09:14 + docker inspect -f . ci-base-image-arm64 06:09:14 . [Pipeline] withDockerContainer 06:09:15 prd-ubuntu18.04-docker-arm64-4c-16g-2713 does not seem to be running inside a container 06:09:15 $ 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 ******** ci-base-image-arm64 cat 06:09:16 $ docker top af2bde56b77f342104a14a8b5194dc51f7eab63f0d84951fbfc956c16263a8f2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:18 + go version 06:09:18 go version go1.16.3 linux/arm64 [Pipeline] } 06:09:18 $ docker stop --time=1 af2bde56b77f342104a14a8b5194dc51f7eab63f0d84951fbfc956c16263a8f2 06:09:20 $ docker rm -f af2bde56b77f342104a14a8b5194dc51f7eab63f0d84951fbfc956c16263a8f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:09:21 + docker inspect -f . ci-base-image-arm64 06:09:21 . [Pipeline] withDockerContainer 06:09:21 prd-ubuntu18.04-docker-arm64-4c-16g-2713 does not seem to be running inside a container 06:09:21 $ 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 ******** ci-base-image-arm64 cat 06:09:23 $ docker top b721b7ad7506655dc965cae95d5de565194a52f1817a42fd657ce1a1d11c2340 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:24 + go mod tidy [Pipeline] sh 06:09:26 + make test 06:09:26 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:09:28 ? github.com/edgexfoundry/device-rest-go [no test files] 06:10:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:10:09 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 54.0% of statements 06:10:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:10:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:10:26 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 54.0% of statements 06:10:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:10:43 gofmt -l . 06:10:43 [ "`gofmt -l .`" = "" ] 06:10:43 ./bin/test-go-mod-tidy.sh 06:10:43 ./bin/test-attribution-txt.sh [Pipeline] } 06:10:43 $ docker stop --time=1 26dab584601519f93fd9f8baf67fadcdf71fc083efedeec0a6a0241e89b593a6 06:10:45 $ docker rm -f 26dab584601519f93fd9f8baf67fadcdf71fc083efedeec0a6a0241e89b593a6 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:10:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:50 + ls -al . 06:10:50 total 104 06:10:50 drwxrwxr-x. 8 jenkins jenkins 4096 May 3 06:10 . 06:10:50 drwxrwxr-x. 4 jenkins jenkins 28 May 3 06:06 .. 06:10:50 -rw-rw-r--. 1 jenkins jenkins 6792 May 3 06:07 Attribution.txt 06:10:50 drwxrwxr-x. 2 jenkins jenkins 64 May 3 06:07 bin 06:10:50 drwxrwxr-x. 3 jenkins jenkins 32 May 3 06:07 cmd 06:10:50 -rw-r--r--. 1 jenkins jenkins 8513 May 3 06:10 coverage.out 06:10:50 -rw-rw-r--. 1 jenkins jenkins 1602 May 3 06:07 Dockerfile 06:10:50 -rw-rw-r--. 1 jenkins jenkins 1087 May 3 06:07 Dockerfile.build 06:10:50 -rw-rw-r--. 1 jenkins jenkins 151 May 3 06:07 .dockerignore 06:10:50 drwxrwxr-x. 2 jenkins jenkins 76 May 3 06:07 driver 06:10:50 drwxrwxr-x. 8 jenkins jenkins 179 May 3 06:07 .git 06:10:50 drwxrwxr-x. 2 jenkins jenkins 103 May 3 06:07 .github 06:10:50 -rw-rw-r--. 1 jenkins jenkins 339 May 3 06:07 .gitignore 06:10:50 -rw-r--r--. 1 jenkins jenkins 285 May 3 06:10 go.mod 06:10:50 -rw-r--r--. 1 jenkins jenkins 21331 May 3 06:09 go.sum 06:10:50 -rw-rw-r--. 1 jenkins jenkins 680 May 3 06:07 Jenkinsfile 06:10:50 -rw-rw-r--. 1 jenkins jenkins 11340 May 3 06:07 LICENSE 06:10:50 -rw-rw-r--. 1 jenkins jenkins 996 May 3 06:07 Makefile 06:10:50 -rw-rw-r--. 1 jenkins jenkins 7667 May 3 06:07 README.md 06:10:50 drwxrwxr-x. 4 jenkins jenkins 71 May 3 06:07 snap 06:10:50 -rw-rw-r--. 1 jenkins jenkins 5 May 3 06:05 VERSION 06:10:50 -rw-rw-r--. 1 jenkins jenkins 713 May 3 06:07 version.go [Pipeline] isUnix [Pipeline] sh 06:10:50 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=569624fb81c2ae69bc90c383ac6b8d5090c026b7 --label arch=amd64 --label version=0.0.0 . 06:10:50 Sending build context to Docker daemon 102.9kB 06:10:51 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:10:51 Step 2/24 : FROM ${BASE} AS builder 06:10:51 ---> f8f7cc6edf85 06:10:51 Step 3/24 : ARG MAKE='make build' 06:10:51 ---> Running in 1f909bd9cb9c 06:10:52 Removing intermediate container 1f909bd9cb9c 06:10:52 ---> 51061b769df1 06:10:52 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:10:52 ---> Running in 8e5e4bbfdffe 06:10:52 Removing intermediate container 8e5e4bbfdffe 06:10:52 ---> cc6fb9c2417e 06:10:52 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:10:52 ---> Running in 17cb32ad25de 06:10:53 Removing intermediate container 17cb32ad25de 06:10:53 ---> d8cff3818ea7 06:10:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:53 ---> Running in bf44f8724fad 06:10:55 Removing intermediate container bf44f8724fad 06:10:55 ---> 447cc50a9cf6 06:10:55 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:55 ---> Running in 37ede4b8e7f2 06:10:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:10:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:10:59 OK: 154 MiB in 49 packages 06:10:59 gofmt -l . 06:10:59 [ "`gofmt -l .`" = "" ] 06:10:59 ./bin/test-go-mod-tidy.sh 06:10:59 ./bin/test-attribution-txt.sh [Pipeline] } 06:10:59 $ docker stop --time=1 b721b7ad7506655dc965cae95d5de565194a52f1817a42fd657ce1a1d11c2340 06:11:00 Removing intermediate container 37ede4b8e7f2 06:11:00 ---> cb8b36f0614a 06:11:00 Step 8/24 : WORKDIR /device-rest-go 06:11:00 ---> Running in 7d55f3b9c702 06:11:00 Removing intermediate container 7d55f3b9c702 06:11:00 ---> 17d5c0dd589f 06:11:00 Step 9/24 : COPY . . 06:11:01 $ docker rm -f b721b7ad7506655dc965cae95d5de565194a52f1817a42fd657ce1a1d11c2340 06:11:01 ---> e6013e30315d 06:11:01 Step 10/24 : RUN make update 06:11:01 ---> Running in 9b5347f9b1ce [Pipeline] // withDockerContainer [Pipeline] sh 06:11:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:02 Warning: overwriting stash ‘coverage-report’ 06:11:02 CGO_ENABLED=0 GO111MODULE=on go mod download 06:11:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:04 Removing intermediate container 9b5347f9b1ce 06:11:04 ---> d9ec4f3879fb 06:11:04 Step 11/24 : RUN $MAKE 06:11:04 ---> Running in 51e3318f3937 06:11:04 + ls -al . 06:11:04 total 132 06:11:04 drwxrwxr-x 8 jenkins jenkins 4096 May 3 06:10 . 06:11:04 drwxrwxr-x 4 jenkins jenkins 4096 May 3 06:07 .. 06:11:04 -rw-rw-r-- 1 jenkins jenkins 151 May 3 06:07 .dockerignore 06:11:04 drwxrwxr-x 8 jenkins jenkins 4096 May 3 06:07 .git 06:11:04 drwxrwxr-x 2 jenkins jenkins 4096 May 3 06:07 .github 06:11:04 -rw-rw-r-- 1 jenkins jenkins 339 May 3 06:07 .gitignore 06:11:04 -rw-rw-r-- 1 jenkins jenkins 6792 May 3 06:07 Attribution.txt 06:11:04 -rw-rw-r-- 1 jenkins jenkins 1602 May 3 06:07 Dockerfile 06:11:04 -rw-rw-r-- 1 jenkins jenkins 1087 May 3 06:07 Dockerfile.build 06:11:04 -rw-rw-r-- 1 jenkins jenkins 680 May 3 06:07 Jenkinsfile 06:11:04 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 06:07 LICENSE 06:11:04 -rw-rw-r-- 1 jenkins jenkins 996 May 3 06:07 Makefile 06:11:04 -rw-rw-r-- 1 jenkins jenkins 7667 May 3 06:07 README.md 06:11:04 -rw-rw-r-- 1 jenkins jenkins 5 May 3 06:05 VERSION 06:11:04 drwxrwxr-x 2 jenkins jenkins 4096 May 3 06:07 bin 06:11:04 drwxrwxr-x 3 jenkins jenkins 4096 May 3 06:07 cmd 06:11:04 -rw-r--r-- 1 jenkins jenkins 8513 May 3 06:10 coverage.out 06:11:04 drwxrwxr-x 2 jenkins jenkins 4096 May 3 06:07 driver 06:11:04 -rw-r--r-- 1 jenkins jenkins 285 May 3 06:10 go.mod 06:11:04 -rw-r--r-- 1 jenkins jenkins 21331 May 3 06:09 go.sum 06:11:04 drwxrwxr-x 4 jenkins jenkins 4096 May 3 06:07 snap 06:11:04 -rw-rw-r-- 1 jenkins jenkins 713 May 3 06:07 version.go [Pipeline] isUnix [Pipeline] sh 06:11:04 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=569624fb81c2ae69bc90c383ac6b8d5090c026b7 --label arch=arm64 --label version=0.0.0 . 06:11:04 Sending build context to Docker daemon 102.9kB 06:11:05 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:11:05 Step 2/24 : FROM ${BASE} AS builder 06:11:05 ---> 4ec180a6077b 06:11:05 Step 3/24 : ARG MAKE='make build' 06:11:05 ---> Running in 2c8d2b92d1be 06:11:05 Removing intermediate container 2c8d2b92d1be 06:11:05 ---> a3511becc850 06:11:05 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:11:06 ---> Running in 70979e8f8c6b 06:11:06 Removing intermediate container 70979e8f8c6b 06:11:06 ---> ef49dd80943c 06:11:06 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:11:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 06:11:06 ---> Running in e15d6063be27 06:11:07 Removing intermediate container e15d6063be27 06:11:07 ---> f8ecaf595191 06:11:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:07 ---> Running in fc2c1f47a364 06:11:10 Removing intermediate container fc2c1f47a364 06:11:10 ---> 0d2cf7ab8992 06:11:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:10 ---> Running in c972ec89500e 06:11:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:11:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:11:12 OK: 144 MiB in 49 packages 06:11:14 Removing intermediate container c972ec89500e 06:11:14 ---> 507534077a86 06:11:14 Step 8/24 : WORKDIR /device-rest-go 06:11:14 ---> Running in a9971203b26f 06:11:14 Removing intermediate container a9971203b26f 06:11:14 ---> 6a84ea4ff4ce 06:11:14 Step 9/24 : COPY . . 06:11:15 ---> ba103583f585 06:11:15 Step 10/24 : RUN make update 06:11:15 ---> Running in e980bfec7310 06:11:16 CGO_ENABLED=0 GO111MODULE=on go mod download 06:11:18 Removing intermediate container e980bfec7310 06:11:18 ---> 73067cba2d52 06:11:18 Step 11/24 : RUN $MAKE 06:11:18 ---> Running in 0bccecc0a1bb 06:11:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 06:11:47 Removing intermediate container 51e3318f3937 06:11:47 ---> 8423c90e019f 06:11:47 Step 12/24 : FROM alpine:3.12 06:11:47 3.12: Pulling from library/alpine 06:11:47 339de151aab4: Pulling fs layer 06:11:47 339de151aab4: Download complete 06:11:47 339de151aab4: Pull complete 06:11:47 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:11:47 Status: Downloaded newer image for alpine:3.12 06:11:47 ---> 13621d1b12d4 06:11:47 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:11:47 ---> Running in 65e96cc6f9a2 06:11:47 Removing intermediate container 65e96cc6f9a2 06:11:47 ---> 344555e8d97a 06:11:47 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 06:11:47 ---> Running in 466d7c0e1a1f 06:11:47 Removing intermediate container 466d7c0e1a1f 06:11:47 ---> eaf9b4fb29f2 06:11:47 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:11:47 ---> Running in 1a1c4385f43d 06:11:49 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:11:49 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:11:49 (1/6) Installing dumb-init (1.2.2-r1) 06:11:49 (2/6) Installing libgcc (9.3.0-r2) 06:11:49 (3/6) Installing libsodium (1.0.18-r0) 06:11:49 (4/6) Installing libstdc++ (9.3.0-r2) 06:11:49 (5/6) Installing libzmq (4.3.3-r0) 06:11:50 (6/6) Installing zeromq (4.3.3-r0) 06:11:50 Executing busybox-1.31.1-r20.trigger 06:11:50 OK: 8 MiB in 20 packages 06:11:51 Removing intermediate container 1a1c4385f43d 06:11:51 ---> db39e167b2fc 06:11:51 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 06:11:53 ---> 25084d2379e3 06:11:53 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 06:11:53 ---> a3c433371549 06:11:53 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 06:11:54 ---> b30cceae3859 06:11:54 Step 19/24 : EXPOSE 49986 06:11:54 ---> Running in 1b6ce07d7408 06:11:54 Removing intermediate container 1b6ce07d7408 06:11:54 ---> 9fdceebab876 06:11:54 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 06:11:54 ---> Running in faf5989db754 06:11:55 Removing intermediate container faf5989db754 06:11:55 ---> c49bad6286bc 06:11:55 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:11:55 ---> Running in 8ba0ddb70c92 06:11:56 Removing intermediate container 8ba0ddb70c92 06:11:56 ---> 878e4b604011 06:11:56 Step 22/24 : LABEL arch=amd64 06:11:56 ---> Running in a9fbf30690fd 06:11:57 Removing intermediate container a9fbf30690fd 06:11:57 ---> a3b7ffb72e1c 06:11:57 Step 23/24 : LABEL git_sha=569624fb81c2ae69bc90c383ac6b8d5090c026b7 06:11:57 ---> Running in 2a6a14bc0226 06:11:57 Removing intermediate container 2a6a14bc0226 06:11:57 ---> 197f1001dd8b 06:11:57 Step 24/24 : LABEL version=0.0.0 06:11:58 ---> Running in e6c0d056493a 06:11:58 Removing intermediate container e6c0d056493a 06:11:58 ---> a9183c0b5964 06:11:58 [Warning] One or more build-args [ARCH] were not consumed 06:11:58 Successfully built a9183c0b5964 06:11:58 Successfully tagged docker-device-rest-go: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 06:11:59 ---> job-cost.sh 06:11:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7bDe 06:12:06 Removing intermediate container 0bccecc0a1bb 06:12:06 ---> 6c568e5abc75 06:12:06 Step 12/24 : FROM alpine:3.12 06:12:06 3.12: Pulling from library/alpine 06:12:06 d2f70382dc9a: Pulling fs layer 06:12:06 d2f70382dc9a: Verifying Checksum 06:12:06 d2f70382dc9a: Download complete 06:12:06 d2f70382dc9a: Pull complete 06:12:06 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:12:06 Status: Downloaded newer image for alpine:3.12 06:12:06 ---> 9852663dfa18 06:12:06 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:12:06 ---> Running in b79103ecc621 06:12:06 Removing intermediate container b79103ecc621 06:12:06 ---> 3e21eaacfa4a 06:12:06 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 06:12:06 ---> Running in 5825b21e5e43 06:12:06 Removing intermediate container 5825b21e5e43 06:12:06 ---> ebf57a968b01 06:12:06 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:12:06 ---> Running in 3778c19664c5 06:12:06 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:12:06 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:12:06 (1/6) Installing dumb-init (1.2.2-r1) 06:12:06 (2/6) Installing libgcc (9.3.0-r2) 06:12:06 (3/6) Installing libsodium (1.0.18-r0) 06:12:06 (4/6) Installing libstdc++ (9.3.0-r2) 06:12:06 (5/6) Installing libzmq (4.3.3-r0) 06:12:06 (6/6) Installing zeromq (4.3.3-r0) 06:12:06 Executing busybox-1.31.1-r20.trigger 06:12:06 OK: 8 MiB in 20 packages 06:12:06 Removing intermediate container 3778c19664c5 06:12:06 ---> 1d02af016e58 06:12:06 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 06:12:07 ---> 33aceb1f781a 06:12:07 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 06:12:08 ---> b1343245ce38 06:12:08 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 06:12:08 ---> b7d699726051 06:12:08 Step 19/24 : EXPOSE 49986 06:12:09 ---> Running in 77c1284f2fea 06:12:09 Removing intermediate container 77c1284f2fea 06:12:09 ---> 1433c4668ee2 06:12:09 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 06:12:09 ---> Running in 5d20a10bd5c3 06:12:10 Removing intermediate container 5d20a10bd5c3 06:12:10 ---> 4381cf73e9f0 06:12:10 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:12:10 ---> Running in 7cadb5b38a93 06:12:10 Removing intermediate container 7cadb5b38a93 06:12:10 ---> 732282856f1a 06:12:10 Step 22/24 : LABEL arch=arm64 06:12:10 ---> Running in 368d215458d1 06:12:11 Removing intermediate container 368d215458d1 06:12:11 ---> 0b95c10907d3 06:12:11 Step 23/24 : LABEL git_sha=569624fb81c2ae69bc90c383ac6b8d5090c026b7 06:12:11 ---> Running in 3b259a84f5f6 06:12:12 Removing intermediate container 3b259a84f5f6 06:12:12 ---> ecbf32173edf 06:12:12 Step 24/24 : LABEL version=0.0.0 06:12:12 ---> Running in 50fe0849462c 06:12:12 Removing intermediate container 50fe0849462c 06:12:12 ---> 148c9e1d3ce6 06:12:12 [Warning] One or more build-args [ARCH] were not consumed 06:12:12 Successfully built 148c9e1d3ce6 06:12:12 Successfully tagged docker-device-rest-go-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 06:12:13 ---> job-cost.sh 06:12:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Z5Ya 06:12:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:13:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:13:12 lf-activate-venv(): INFO: Adding /tmp/venv-7bDe/bin to PATH 06:13:12 INFO: No Stack... 06:13:12 INFO: Retrieving Pricing Info for: v1-standard-2 06:13:12 INFO: Archiving Costs [Pipeline] sh 06:13:12 + cat /w/workspace/device-rest-go/1/archives/cost.csv 06:13:12 + cut -d, -f6 [Pipeline] lock 06:13:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] 06:13:13 Resource [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] did not exist. Created. 06:13:13 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:13 + echo total: 0.029999999329447746 [Pipeline] stash 06:13:14 Stashed 1 file(s) [Pipeline] } 06:13:14 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:14:37 lf-activate-venv(): INFO: Adding /tmp/venv-Z5Ya/bin to PATH 06:14:37 INFO: No Stack... 06:14:37 INFO: Retrieving Pricing Info for: lf-standard-4 06:14:37 INFO: Archiving Costs [Pipeline] sh 06:14:37 + + cutcat -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 06:14:37 [Pipeline] lock 06:14:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] 06:14:37 Resource [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] did not exist. Created. 06:14:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:14:38 /w/workspace/device-rest-go/1@tmp/durable-3ac5b707/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-3ac5b707/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:14:38 + echo total: 0.20999999344348907 [Pipeline] stash 06:14:38 Warning: overwriting stash ‘stack-cost’ 06:14:38 Stashed 1 file(s) [Pipeline] } 06:14:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-85-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] wrap 06:14:39 provisioning config files... 06:14:39 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config431103551796167739tmp [Pipeline] { [Pipeline] sh 06:14:39 + set +x 06:14:39 + curl -s https://codecov.io/bash 06:14:39 + bash -s -- 06:14:40 06:14:40 _____ _ 06:14:40 / ____| | | 06:14:40 | | ___ __| | ___ ___ _____ __ 06:14:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:14:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:14:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:14:40 Bash-1.0.2 06:14:40 06:14:40 06:14:40 ==> git version 2.24.3 found 06:14:40 ==> 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 06:14:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:14:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:14:40 ==> Jenkins CI detected. 06:14:40 project root: . 06:14:40 --> token set from env 06:14:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:14:40 ==> Running gcov in . (disable via -X gcov) 06:14:40 ==> Python coveragepy not found 06:14:40 ==> Searching for coverage reports in: 06:14:40 + . 06:14:40 -> Found 1 reports 06:14:40 ==> Detecting git/mercurial file structure 06:14:40 ==> Reading reports 06:14:40 + ./coverage.out bytes=8513 06:14:40 ==> Appending adjustments 06:14:40 https://docs.codecov.io/docs/fixing-reports 06:14:40 + Found adjustments 06:14:40 ==> Gzipping contents 06:14:40 4.0K /tmp/codecov.BTNzdd.gz 06:14:40 ==> Uploading reports 06:14:40 url: https://codecov.io 06:14:40 query: branch=PR-85&commit=569624fb81c2ae69bc90c383ac6b8d5090c026b7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=85&job=&cmd_args= 06:14:40 -> Pinging Codecov 06:14:40 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-85&commit=569624fb81c2ae69bc90c383ac6b8d5090c026b7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=85&job=&cmd_args= 06:14:40 -> Uploading to 06:14:40 https://storage.googleapis.com/codecov/v4/raw/2021-05-03/4E5D53B4F1F92C436F7061BF334D961C/569624fb81c2ae69bc90c383ac6b8d5090c026b7/aa3ef5d1-c3fc-4916-aab5-a1a893616faf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210503T061440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8cb2848b0ecd1b1f062d9e4c5bed12e9e69811b3a2d1e78a9d0e318c253bf35 06:14:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:14:40 Dload Upload Total Spent Left Speed 06:14:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4301 --:--:-- --:--:-- --:--:-- 4307 06:14:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/569624fb81c2ae69bc90c383ac6b8d5090c026b7 [Pipeline] } 06:14:41 Deleting 1 temporary files [Pipeline] // wrap [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 06:14:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:14:44 ---> package-listing.sh 06:14:44 ++ facter osfamily 06:14:44 ++ tr '[:upper:]' '[:lower:]' 06:14:44 + OS_FAMILY=redhat 06:14:44 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-85 06:14:44 + START_PACKAGES=/tmp/packages_start.txt 06:14:44 + END_PACKAGES=/tmp/packages_end.txt 06:14:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:14:44 + PACKAGES=/tmp/packages_start.txt 06:14:44 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-85 ']' 06:14:44 + PACKAGES=/tmp/packages_end.txt 06:14:44 + case "${OS_FAMILY}" in 06:14:44 + rpm -qa 06:14:44 + sort 06:14:50 + '[' -f /tmp/packages_start.txt ']' 06:14:50 + '[' -f /tmp/packages_end.txt ']' 06:14:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:14:50 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-85 ']' 06:14:50 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-85/archives/ 06:14:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-85/archives/ [Pipeline] echo 06:14:50 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/dgexfoundry_device-rest-go_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:14:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:14:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:14:51 06:14:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:14:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:14:51 alpine: Pulling from edgex-lftools-log-publisher 06:14:51 df20fa9351a1: Pulling fs layer 06:14:51 36b3adc4ff6f: Pulling fs layer 06:14:51 8ad3a11d3b57: Pulling fs layer 06:14:51 46f8f816bc3b: Pulling fs layer 06:14:51 93b61091891f: Pulling fs layer 06:14:51 93b9cdb0e59b: Pulling fs layer 06:14:51 5e14af77c1be: Pulling fs layer 06:14:51 01666e4c0597: Pulling fs layer 06:14:51 aa168da1d23b: Pulling fs layer 06:14:51 5e14af77c1be: Waiting 06:14:51 46f8f816bc3b: Waiting 06:14:51 93b61091891f: Waiting 06:14:51 93b9cdb0e59b: Waiting 06:14:51 aa168da1d23b: Waiting 06:14:51 01666e4c0597: Waiting 06:14:51 36b3adc4ff6f: Verifying Checksum 06:14:51 36b3adc4ff6f: Download complete 06:14:51 46f8f816bc3b: Verifying Checksum 06:14:51 46f8f816bc3b: Download complete 06:14:52 df20fa9351a1: Verifying Checksum 06:14:52 93b9cdb0e59b: Verifying Checksum 06:14:52 93b9cdb0e59b: Download complete 06:14:52 5e14af77c1be: Verifying Checksum 06:14:52 5e14af77c1be: Download complete 06:14:52 93b61091891f: Verifying Checksum 06:14:52 93b61091891f: Download complete 06:14:52 01666e4c0597: Verifying Checksum 06:14:52 01666e4c0597: Download complete 06:14:52 df20fa9351a1: Pull complete 06:14:52 8ad3a11d3b57: Verifying Checksum 06:14:52 8ad3a11d3b57: Download complete 06:14:52 36b3adc4ff6f: Pull complete 06:14:53 8ad3a11d3b57: Pull complete 06:14:53 46f8f816bc3b: Pull complete 06:14:54 93b61091891f: Pull complete 06:14:54 93b9cdb0e59b: Pull complete 06:14:54 aa168da1d23b: Verifying Checksum 06:14:54 aa168da1d23b: Download complete 06:14:54 5e14af77c1be: Pull complete 06:14:54 01666e4c0597: Pull complete 06:15:01 aa168da1d23b: Pull complete 06:15:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:15:01 prd-centos7-docker-4c-2g-2703 does not seem to be running inside a container 06:15:01 $ 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/dgexfoundry_device-rest-go_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-85 -v /w/workspace/dgexfoundry_device-rest-go_PR-85:/w/workspace/dgexfoundry_device-rest-go_PR-85:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:15:05 $ docker top 7b6a485237619f7dfe24beec422d7cda472cf886a7f1fa7733ef36781392cbb4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:05 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:05 + mkdir -p /var/log/sa [Pipeline] sh 06:15:06 + ls /var/log/sa-host 06:15:06 + sadf -c /var/log/sa-host/sa03 06:15:06 file_magic: OK 06:15:06 HZ: Using current value: 100 06:15:06 file_header: OK 06:15:06 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 06:15:06 Statistics: 06:15:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:15:06 File successfully converted to sysstat format version 12.2.1 06:15:06 + sadf -c /var/log/sa-host/sa23 06:15:06 file_magic: OK 06:15:06 HZ: Using current value: 100 06:15:06 file_header: OK 06:15:06 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 06:15:06 Statistics: 06:15:06 Hnuu...uuuununununu... 06:15:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:06 provisioning config files... 06:15:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config8581133947269582415tmp [Pipeline] { [Pipeline] echo 06:15:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:06 ---> create-netrc.sh [Pipeline] } 06:15:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:15:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:15:07 ---> python-tools-install.sh [Pipeline] echo 06:15:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:07 ---> sudo-logs.sh 06:15:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:15:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:08 ---> job-cost.sh 06:15:08 lf-activate-venv: SKIPPING 06:15:08 DEBUG: total: 0.20999999344348907 06:15:08 INFO: Retrieving Stack Cost... 06:15:09 INFO: Retrieving Pricing Info for: v1-standard-2 06:15:10 INFO: Archiving Costs [Pipeline] echo 06:15:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:10 ---> logs-deploy.sh 06:15:10 lf-activate-venv: SKIPPING 06:15:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-85/1 06:15:10 INFO: archiving workspace using pattern(s): 06:15:12 Archives upload complete. 06:15:12 INFO: archiving logs to Nexus