Pull request #904 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cefba91cd2d774311e977f8787cb353ade1003ea+92affc97e25621ac5a3617c0e5e42feb55191c77 (df056d7946b72ab80eed53b43038f35e26d16b0d) 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-sdk-go/branches/PR-904/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-sdk-go/branches/PR-904/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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3002 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-904 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit cefba91cd2d774311e977f8787cb353ade1003ea Merge succeeded, producing cefba91cd2d774311e977f8787cb353ade1003ea Checking out Revision cefba91cd2d774311e977f8787cb353ade1003ea (PR-904) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # 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 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # 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.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:45:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:14 ========================================================= 05:45:14 EdgeX Global Pipelines Version Info 05:45:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:16 ------------------- 05:45:16 stable info: 05:45:16 ------------------- 05:45:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:45:16 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:45:16 Message: update stable to v1.0.191 05:45:17 ------------------- 05:45:17 experimental info: 05:45:17 ------------------- 05:45:17 Commited By: **** collab-it+edgex@linuxfoundation.org 05:45:17 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:45:17 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-904 [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-904 [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-904 [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cefba91cd2d774311e977f8787cb353ade1003ea [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cefba91 [Pipeline] echo 05:45:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:45:19 provisioning config files... 05:45:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config461103045016045014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:19 ---> docker-login.sh 05:45:19 nexus3.edgexfoundry.org:10001 05:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:20 Configure a credential helper to remove this warning. See 05:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:20 05:45:20 Login Succeeded 05:45:20 nexus3.edgexfoundry.org:10002 05:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:20 Configure a credential helper to remove this warning. See 05:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:20 05:45:20 Login Succeeded 05:45:20 nexus3.edgexfoundry.org:10003 05:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:20 Configure a credential helper to remove this warning. See 05:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:20 05:45:20 Login Succeeded 05:45:20 nexus3.edgexfoundry.org:10004 05:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:20 Configure a credential helper to remove this warning. See 05:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:20 05:45:20 Login Succeeded 05:45:20 docker.io 05:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:21 Configure a credential helper to remove this warning. See 05:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:21 05:45:21 Login Succeeded 05:45:21 ---> docker-login.sh ends [Pipeline] } 05:45:21 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 05:45:22 + git log --format=format:%s -1 cefba91cd2d774311e977f8787cb353ade1003ea [Pipeline] echo 05:45:22 GIT_COMMIT: cefba91cd2d774311e977f8787cb353ade1003ea, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:45:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:45:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:23 05:45:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:45:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:23 latest: Pulling from edgex-devops/git-semver 05:45:23 31603596830f: Pulling fs layer 05:45:23 54011a49482f: Pulling fs layer 05:45:23 a6820b24f6d8: Pulling fs layer 05:45:23 f581987b2513: Pulling fs layer 05:45:23 f581987b2513: Waiting 05:45:23 54011a49482f: Verifying Checksum 05:45:23 54011a49482f: Download complete 05:45:24 31603596830f: Download complete 05:45:24 a6820b24f6d8: Verifying Checksum 05:45:24 a6820b24f6d8: Download complete 05:45:24 f581987b2513: Verifying Checksum 05:45:24 f581987b2513: Download complete 05:45:24 31603596830f: Pull complete 05:45:24 54011a49482f: Pull complete 05:45:25 a6820b24f6d8: Pull complete 05:45:25 f581987b2513: Pull complete 05:45:25 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:45:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:45:25 prd-centos7-docker-4c-2g-3002 does not seem to be running inside a container 05:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-904 -v /w/workspace/dgexfoundry_device-sdk-go_PR-904:/w/workspace/dgexfoundry_device-sdk-go_PR-904:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-904@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 05:45:28 $ docker top 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:28 [ssh-agent] Looking for ssh-agent implementation... 05:45:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:28 $ docker exec 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f ssh-agent 05:45:29 SSH_AUTH_SOCK=/tmp/ssh-7F0IG2Ddlm3O/agent.12 05:45:29 SSH_AGENT_PID=17 05:45:29 Running ssh-add (command line suppressed) 05:45:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_3675985645381959280.key (/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_3675985645381959280.key) 05:45:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:29 + git tag --points-at HEAD [Pipeline] } 05:45:29 $ docker exec --env ******** --env ******** 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f ssh-agent -k 05:45:29 unset SSH_AUTH_SOCK; 05:45:29 unset SSH_AGENT_PID; 05:45:29 echo Agent pid 17 killed; 05:45:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:45:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:29 [ssh-agent] Looking for ssh-agent implementation... 05:45:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:30 $ docker exec 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f ssh-agent 05:45:30 SSH_AUTH_SOCK=/tmp/ssh-LFWwhIDnb8at/agent.46 05:45:30 SSH_AGENT_PID=51 05:45:30 Running ssh-add (command line suppressed) 05:45:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_3401574760337197194.key (/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_3401574760337197194.key) 05:45:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:30 + git semver init 05:45:30 # -> Open(): unable to determine branch for HEAD 05:45:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-904/.git 05:45:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-904 05:45:30 # $SEMVER_REMOTE_NAME = origin 05:45:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:45:30 # $SEMVER_USER_NAME = edgex-jenkins 05:45:30 # $SEMVER_BRANCH = PR-904 05:45:30 # $SEMVER_TEMP = /tmp/semver-253198772 05:45:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:45:31 # '/tmp/semver-253198772' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-904/.semver' 05:45:31 # -> Force: false 05:45:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-904/.semver [Pipeline] } 05:45:31 $ docker exec --env ******** --env ******** 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f ssh-agent -k 05:45:31 unset SSH_AUTH_SOCK; 05:45:31 unset SSH_AGENT_PID; 05:45:31 echo Agent pid 51 killed; 05:45:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:32 + git semver [Pipeline] } 05:45:32 $ docker stop --time=1 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f 05:45:33 $ docker rm -f 17837373a493f6ddf657ce76f9ed8a5cc8556be503d6d4e43ca3b496d9ae4f4f [Pipeline] // withDockerContainer [Pipeline] sh 05:45:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:45:34 Stashed 1 file(s) [Pipeline] echo 05:45:34 [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 05:45:50 Still waiting to schedule task 05:45:50 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3002’ 05:45:50 Still waiting to schedule task 05:45:50 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline 05:47:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3003 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [Pipeline] { [Pipeline] ws 05:47:26 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:47:32 using credential edgex-jenkins-ssh 05:47:32 Cloning the remote Git repository 05:47:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:47:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:47:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:47:32 > git --version # timeout=10 05:47:33 > git --version # 'git version 2.17.1' 05:47:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:47:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:47:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:47:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:47:34 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit cefba91cd2d774311e977f8787cb353ade1003ea 05:47:35 Merge succeeded, producing cefba91cd2d774311e977f8787cb353ade1003ea 05:47:35 Checking out Revision cefba91cd2d774311e977f8787cb353ade1003ea (PR-904) 05:47:34 > git config core.sparsecheckout # timeout=10 05:47:35 > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 05:47:35 > git remote # timeout=10 05:47:35 > git config --get remote.origin.url # timeout=10 05:47:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:35 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 05:47:35 > git rev-parse HEAD^{commit} # timeout=10 05:47:35 > git config core.sparsecheckout # timeout=10 05:47:35 > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 05:47:39 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:47:39 > git --version # timeout=10 05:47:39 > git --version # 'git version 2.17.1' 05:47:39 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:47:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:47:42 + sudo service docker restart 05:47:42 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:47:44 provisioning config files... 05:47:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8542876181872862983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:44 ---> docker-login.sh 05:47:44 nexus3.edgexfoundry.org:10001 05:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:45 Configure a credential helper to remove this warning. See 05:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:45 05:47:45 Login Succeeded 05:47:45 nexus3.edgexfoundry.org:10002 05:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:46 Configure a credential helper to remove this warning. See 05:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:46 05:47:46 Login Succeeded 05:47:46 nexus3.edgexfoundry.org:10003 05:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:46 Configure a credential helper to remove this warning. See 05:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:46 05:47:46 Login Succeeded 05:47:46 nexus3.edgexfoundry.org:10004 05:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:47 Configure a credential helper to remove this warning. See 05:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:47 05:47:47 Login Succeeded 05:47:47 docker.io 05:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:47 Configure a credential helper to remove this warning. See 05:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:47 05:47:47 Login Succeeded 05:47:48 ---> docker-login.sh ends [Pipeline] } 05:47:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:47:48 ========================================================= 05:47:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:47:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:47:48 + 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 . 05:47:49 Sending build context to Docker daemon 2.466MB 05:47:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:47:49 Step 2/8 : FROM ${BASE} 05:47:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:47:49 595b0fe564bb: Pulling fs layer 05:47:49 7186ed65a4f7: Pulling fs layer 05:47:49 316046926c0a: Pulling fs layer 05:47:49 4ebd0625c992: Pulling fs layer 05:47:49 207e8628e3a3: Pulling fs layer 05:47:49 c791037a9be2: Pulling fs layer 05:47:49 ffd874e62e21: Pulling fs layer 05:47:49 4ebd0625c992: Waiting 05:47:49 207e8628e3a3: Waiting 05:47:49 c791037a9be2: Waiting 05:47:49 ffd874e62e21: Waiting 05:47:49 316046926c0a: Verifying Checksum 05:47:49 316046926c0a: Download complete 05:47:49 7186ed65a4f7: Verifying Checksum 05:47:49 7186ed65a4f7: Download complete 05:47:49 207e8628e3a3: Download complete 05:47:49 c791037a9be2: Verifying Checksum 05:47:49 c791037a9be2: Download complete 05:47:49 595b0fe564bb: Download complete 05:47:50 595b0fe564bb: Pull complete 05:47:50 7186ed65a4f7: Pull complete 05:47:51 316046926c0a: Pull complete 05:47:52 ffd874e62e21: Verifying Checksum 05:47:52 ffd874e62e21: Download complete 05:47:53 4ebd0625c992: Verifying Checksum 05:47:53 4ebd0625c992: Download complete 05:48:03 4ebd0625c992: Pull complete 05:48:03 207e8628e3a3: Pull complete 05:48:04 c791037a9be2: Pull complete 05:48:08 ffd874e62e21: Pull complete 05:48:08 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:48:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:48:08 ---> cfc18b08335c 05:48:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:48:10 ---> Running in 2fab0c4ff014 05:48:11 Removing intermediate container 2fab0c4ff014 05:48:11 ---> ddebb2559554 05:48:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:11 ---> Running in e1226e469c86 05:48:13 Removing intermediate container e1226e469c86 05:48:13 ---> b48ef34b9c97 05:48:13 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:48:13 ---> Running in 31194090d83c 05:48:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:48:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:48:16 (1/6) Installing libc-dev (0.7.2-r3) 05:48:16 (2/6) Installing libsodium (1.0.18-r0) 05:48:16 (3/6) Installing pkgconf (1.7.3-r0) 05:48:16 (4/6) Installing libsodium-dev (1.0.18-r0) 05:48:16 (5/6) Installing libzmq (4.3.3-r1) 05:48:17 (6/6) Installing zeromq-dev (4.3.3-r1) 05:48:17 Executing busybox-1.32.1-r6.trigger 05:48:17 OK: 139 MiB in 46 packages 05:48:18 Removing intermediate container 31194090d83c 05:48:18 ---> 80e8678bfc28 05:48:18 Step 6/8 : WORKDIR /device-sdk-go 05:48:18 ---> Running in 15d44588d441 05:48:19 Removing intermediate container 15d44588d441 05:48:19 ---> a4b613f3185a 05:48:19 Step 7/8 : COPY . . 05:48:19 Running on prd-centos7-docker-4c-2g-3004 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [Pipeline] { [Pipeline] ws 05:48:19 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:48:20 ---> 7d6192299587 05:48:20 Step 8/8 : RUN go mod download 05:48:20 ---> Running in 9fee8aa88e9c 05:48:22 using credential edgex-jenkins-ssh 05:48:22 Cloning the remote Git repository 05:48:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:48:22 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:48:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:22 > git --version # timeout=10 05:48:22 > git --version # 'git version 2.24.3' 05:48:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:23 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit cefba91cd2d774311e977f8787cb353ade1003ea 05:48:23 Merge succeeded, producing cefba91cd2d774311e977f8787cb353ade1003ea 05:48:23 Checking out Revision cefba91cd2d774311e977f8787cb353ade1003ea (PR-904) 05:48:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:48:23 > git config core.sparsecheckout # timeout=10 05:48:23 > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 05:48:23 > git remote # timeout=10 05:48:23 > git config --get remote.origin.url # timeout=10 05:48:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:23 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 05:48:23 > git rev-parse HEAD^{commit} # timeout=10 05:48:23 > git config core.sparsecheckout # timeout=10 05:48:23 > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 05:48:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:48:27 > git --version # timeout=10 05:48:27 > git --version # 'git version 2.24.3' 05:48:27 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:48:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:48:29 + sudo service docker restart 05:48:29 + true 05:48:29 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:48:31 provisioning config files... 05:48:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7984747891150435631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:31 ---> docker-login.sh 05:48:31 nexus3.edgexfoundry.org:10001 05:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:32 Configure a credential helper to remove this warning. See 05:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:32 05:48:32 Login Succeeded 05:48:32 nexus3.edgexfoundry.org:10002 05:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:32 Configure a credential helper to remove this warning. See 05:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:32 05:48:32 Login Succeeded 05:48:32 nexus3.edgexfoundry.org:10003 05:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:32 Configure a credential helper to remove this warning. See 05:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:32 05:48:32 Login Succeeded 05:48:32 nexus3.edgexfoundry.org:10004 05:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:32 Configure a credential helper to remove this warning. See 05:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:32 05:48:32 Login Succeeded 05:48:32 docker.io 05:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:33 Configure a credential helper to remove this warning. See 05:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:33 05:48:33 Login Succeeded 05:48:33 ---> docker-login.sh ends [Pipeline] } 05:48:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:48:33 ========================================================= 05:48:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:48:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:48:33 + 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 . 05:48:33 Sending build context to Docker daemon 2.467MB 05:48:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:48:34 Step 2/8 : FROM ${BASE} 05:48:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:48:34 540db60ca938: Pulling fs layer 05:48:34 adcc1eea9eea: Pulling fs layer 05:48:34 4c4ab2625f07: Pulling fs layer 05:48:34 0510c868ecb4: Pulling fs layer 05:48:34 afea3b2eda06: Pulling fs layer 05:48:34 7809a108b3ef: Pulling fs layer 05:48:34 f706445af74f: Pulling fs layer 05:48:34 afea3b2eda06: Waiting 05:48:34 7809a108b3ef: Waiting 05:48:34 0510c868ecb4: Waiting 05:48:34 f706445af74f: Waiting 05:48:34 4c4ab2625f07: Verifying Checksum 05:48:34 adcc1eea9eea: Verifying Checksum 05:48:34 adcc1eea9eea: Download complete 05:48:34 afea3b2eda06: Verifying Checksum 05:48:34 afea3b2eda06: Download complete 05:48:34 540db60ca938: Verifying Checksum 05:48:34 540db60ca938: Download complete 05:48:34 7809a108b3ef: Verifying Checksum 05:48:34 7809a108b3ef: Download complete 05:48:34 540db60ca938: Pull complete 05:48:34 adcc1eea9eea: Pull complete 05:48:34 4c4ab2625f07: Pull complete 05:48:35 f706445af74f: Verifying Checksum 05:48:35 f706445af74f: Download complete 05:48:36 0510c868ecb4: Verifying Checksum 05:48:36 0510c868ecb4: Download complete 05:48:43 0510c868ecb4: Pull complete 05:48:43 afea3b2eda06: Pull complete 05:48:43 7809a108b3ef: Pull complete 05:48:47 Removing intermediate container 9fee8aa88e9c 05:48:47 ---> 0406e45951b2 05:48:47 Successfully built 0406e45951b2 05:48:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:48:47 + docker inspect -f . ci-base-image-arm64 05:48:47 . [Pipeline] withDockerContainer 05:48:48 prd-ubuntu18.04-docker-arm64-4c-16g-3003 does not seem to be running inside a container 05:48:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 05:48:48 f706445af74f: Pull complete 05:48:48 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:48:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:48:48 ---> b068be0155e3 05:48:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:48:48 ---> Running in 7a22aab100e2 05:48:48 Removing intermediate container 7a22aab100e2 05:48:48 ---> 713b053df0b2 05:48:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:49 ---> Running in 87d236fc58e2 05:48:49 $ docker top 34c81bb495646e467439548dc4fc965a1c2199cbbd8cc8c2547ece4e5163bdda -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:50 Removing intermediate container 87d236fc58e2 05:48:50 ---> 7b4f8c4bcc33 05:48:50 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:48:50 ---> Running in dfb5420ff34c 05:48:50 + go version 05:48:50 go version go1.16.3 linux/arm64 [Pipeline] } 05:48:50 $ docker stop --time=1 34c81bb495646e467439548dc4fc965a1c2199cbbd8cc8c2547ece4e5163bdda 05:48:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:48:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:48:52 $ docker rm -f 34c81bb495646e467439548dc4fc965a1c2199cbbd8cc8c2547ece4e5163bdda 05:48:52 (1/6) Installing libc-dev (0.7.2-r3) [Pipeline] // withDockerContainer [Pipeline] } 05:48:52 (2/6) Installing libsodium (1.0.18-r0) 05:48:52 (3/6) Installing pkgconf (1.7.3-r0) 05:48:52 (4/6) Installing libsodium-dev (1.0.18-r0) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 05:48:53 (5/6) Installing libzmq (4.3.3-r1) 05:48:53 (6/6) Installing zeromq-dev (4.3.3-r1) 05:48:53 Executing busybox-1.32.1-r6.trigger [Pipeline] isUnix [Pipeline] sh 05:48:53 OK: 150 MiB in 46 packages 05:48:53 + docker inspect -f . ci-base-image-arm64 05:48:53 . [Pipeline] withDockerContainer 05:48:53 prd-ubuntu18.04-docker-arm64-4c-16g-3003 does not seem to be running inside a container 05:48:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 05:48:54 Removing intermediate container dfb5420ff34c 05:48:54 ---> 2498cad8fdc2 05:48:54 Step 6/8 : WORKDIR /device-sdk-go 05:48:54 ---> Running in a33ec90e3b6f 05:48:54 Removing intermediate container a33ec90e3b6f 05:48:54 ---> 33d9e6cd62d5 05:48:54 Step 7/8 : COPY . . 05:48:55 $ docker top 749947bb0db81af4ce3414890df6d5c1f144d2c280fb11e1f6f75c1fd963b31f -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:56 ---> 23126eca2b20 05:48:56 Step 8/8 : RUN go mod download 05:48:56 ---> Running in 7c90007ff19e 05:48:56 + go mod tidy [Pipeline] sh 05:48:57 + make test 05:48:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:49:23 Removing intermediate container 7c90007ff19e 05:49:23 ---> 85d5245a34bb 05:49:23 Successfully built 85d5245a34bb 05:49:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:49:23 + docker inspect -f . ci-base-image-x86_64 05:49:23 . [Pipeline] withDockerContainer 05:49:23 prd-centos7-docker-4c-2g-3004 does not seem to be running inside a container 05:49:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 05:49:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:49:24 $ docker top 34ef1e2ca39e6c5bb731001a57fe2aba7ff381e0852e15261dca14507eb4d21f -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:25 + go version 05:49:25 go version go1.16.3 linux/amd64 [Pipeline] } 05:49:25 $ docker stop --time=1 34ef1e2ca39e6c5bb731001a57fe2aba7ff381e0852e15261dca14507eb4d21f 05:49:26 $ docker rm -f 34ef1e2ca39e6c5bb731001a57fe2aba7ff381e0852e15261dca14507eb4d21f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:27 + docker inspect -f . ci-base-image-x86_64 05:49:27 . [Pipeline] withDockerContainer 05:49:27 prd-centos7-docker-4c-2g-3004 does not seem to be running inside a container 05:49:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 05:49:28 $ docker top a43e24bd56609ab73c044177b9fcdf0f25fefa46d1d55eb72eb9231d3389b0c5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:29 + go mod tidy [Pipeline] sh 05:49:29 + make test 05:49:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:49:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 28.1% of statements 05:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements 05:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.086s coverage: 7.8% of statements 05:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 30.2% of statements 05:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:50:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 57.2% of statements 05:50:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.765s coverage: 6.6% of statements 05:50:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.0% of statements 05:50:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:50:15 GO111MODULE=on go vet ./... 05:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:50:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:50:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 28.1% of statements 05:50:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.184s coverage: 78.9% of statements 05:50:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.197s coverage: 7.8% of statements 05:50:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:50:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:50:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:50:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.251s coverage: 30.2% of statements 05:50:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:50:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:50:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:50:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.320s coverage: 57.2% of statements 05:50:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.122s coverage: 6.6% of statements 05:50:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.156s coverage: 5.0% of statements 05:50:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:50:37 GO111MODULE=on go vet ./... 05:50:42 gofmt -l . 05:50:42 [ "`gofmt -l .`" = "" ] 05:50:42 ./bin/test-attribution-txt.sh 05:50:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:50:42 $ docker stop --time=1 a43e24bd56609ab73c044177b9fcdf0f25fefa46d1d55eb72eb9231d3389b0c5 05:50:44 $ docker rm -f a43e24bd56609ab73c044177b9fcdf0f25fefa46d1d55eb72eb9231d3389b0c5 [Pipeline] // withDockerContainer [Pipeline] sh 05:50:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:50:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:50:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:50:49 + ls -al . 05:50:49 total 188 05:50:49 drwxrwxr-x. 10 jenkins jenkins 4096 May 5 05:50 . 05:50:49 drwxrwxr-x. 4 jenkins jenkins 28 May 5 05:48 .. 05:50:49 drwxrwxr-x. 2 jenkins jenkins 64 May 5 05:48 bin 05:50:49 -rw-r--r--. 1 jenkins jenkins 100320 May 5 05:50 coverage.out 05:50:49 -rw-rw-r--. 1 jenkins jenkins 987 May 5 05:48 Dockerfile.build 05:50:49 -rw-rw-r--. 1 jenkins jenkins 140 May 5 05:48 .dockerignore 05:50:49 drwxrwxr-x. 5 jenkins jenkins 62 May 5 05:48 example 05:50:49 drwxrwxr-x. 8 jenkins jenkins 179 May 5 05:48 .git 05:50:49 drwxrwxr-x. 2 jenkins jenkins 103 May 5 05:48 .github 05:50:49 -rw-rw-r--. 1 jenkins jenkins 138 May 5 05:48 .gitignore 05:50:49 -rw-r--r--. 1 jenkins jenkins 575 May 5 05:50 go.mod 05:50:49 -rw-r--r--. 1 jenkins jenkins 20957 May 5 05:49 go.sum 05:50:49 drwxrwxr-x. 14 jenkins jenkins 207 May 5 05:48 internal 05:50:49 -rw-rw-r--. 1 jenkins jenkins 901 May 5 05:48 Jenkinsfile 05:50:49 -rw-rw-r--. 1 jenkins jenkins 11341 May 5 05:48 LICENSE 05:50:49 -rw-rw-r--. 1 jenkins jenkins 1022 May 5 05:48 Makefile 05:50:49 drwxrwxr-x. 4 jenkins jenkins 26 May 5 05:48 openapi 05:50:49 drwxrwxr-x. 5 jenkins jenkins 50 May 5 05:48 pkg 05:50:49 -rw-rw-r--. 1 jenkins jenkins 7652 May 5 05:48 README.md 05:50:49 -rw-rw-r--. 1 jenkins jenkins 6616 May 5 05:48 RELEASE-NOTES.txt 05:50:49 drwxrwxr-x. 4 jenkins jenkins 54 May 5 05:48 snap 05:50:49 -rw-rw-r--. 1 jenkins jenkins 5 May 5 05:45 VERSION 05:50:49 -rw-rw-r--. 1 jenkins jenkins 222 May 5 05:48 version.go [Pipeline] isUnix [Pipeline] sh 05:50:49 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=cefba91cd2d774311e977f8787cb353ade1003ea --label arch=amd64 --label version=0.0.0 . 05:50:50 Sending build context to Docker daemon 2.568MB 05:50:50 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:50:50 Step 2/23 : FROM ${BASE} AS builder 05:50:50 ---> 85d5245a34bb 05:50:50 Step 3/23 : WORKDIR /device-sdk-go 05:50:50 ---> Running in 4fdb6ac2e573 05:50:51 Removing intermediate container 4fdb6ac2e573 05:50:51 ---> b9f834472d35 05:50:51 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:50:51 ---> Running in 1d5f04481146 05:50:51 Removing intermediate container 1d5f04481146 05:50:51 ---> f786933635bf 05:50:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:51 ---> Running in 48eecc4a0070 05:50:53 Removing intermediate container 48eecc4a0070 05:50:53 ---> 283e8d3447c7 05:50:53 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:50:53 ---> Running in 94c040eb5de0 05:50:55 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:50:56 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:50:56 OK: 150 MiB in 46 packages 05:50:57 Removing intermediate container 94c040eb5de0 05:50:57 ---> 84a3115e039d 05:50:57 Step 7/23 : COPY . . 05:50:58 ---> 6331118c146a 05:50:58 Step 8/23 : RUN go mod download 05:50:58 ---> Running in 7b59885c9f7e 05:51:02 Removing intermediate container 7b59885c9f7e 05:51:02 ---> a4e7812876aa 05:51:02 Step 9/23 : RUN make build 05:51:02 ---> Running in 88d075951b3a 05:51:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:51:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:51:25 Removing intermediate container 88d075951b3a 05:51:25 ---> 7514c36f0a74 05:51:25 Step 10/23 : FROM alpine:3.12 05:51:25 3.12: Pulling from library/alpine 05:51:25 339de151aab4: Pulling fs layer 05:51:25 339de151aab4: Verifying Checksum 05:51:25 339de151aab4: Download complete 05:51:26 339de151aab4: Pull complete 05:51:26 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:51:26 Status: Downloaded newer image for alpine:3.12 05:51:26 ---> 13621d1b12d4 05:51:26 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:26 ---> Running in e6aede7f8f3e 05:51:26 Removing intermediate container e6aede7f8f3e 05:51:26 ---> ab4fc14bee15 05:51:26 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:26 ---> Running in 3a1acba30c2e 05:51:28 Removing intermediate container 3a1acba30c2e 05:51:28 ---> d1c033a3c037 05:51:28 Step 13/23 : RUN apk add --update --no-cache zeromq 05:51:28 ---> Running in f659746f4a33 05:51:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:29 (1/5) Installing libgcc (9.3.0-r2) 05:51:29 (2/5) Installing libsodium (1.0.18-r0) 05:51:30 (3/5) Installing libstdc++ (9.3.0-r2) 05:51:30 (4/5) Installing libzmq (4.3.3-r0) 05:51:30 (5/5) Installing zeromq (4.3.3-r0) 05:51:31 Executing busybox-1.31.1-r20.trigger 05:51:31 OK: 8 MiB in 19 packages 05:51:31 Removing intermediate container f659746f4a33 05:51:31 ---> f898ffdf3ef5 05:51:31 Step 14/23 : WORKDIR / 05:51:31 ---> Running in 3700dd1afbd2 05:51:31 Removing intermediate container 3700dd1afbd2 05:51:31 ---> 0585bc1e9b8a 05:51:31 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:51:32 ---> 53d0790243b9 05:51:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:51:33 ---> e09ad7e6f115 05:51:33 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:51:33 gofmt -l . 05:51:33 [ "`gofmt -l .`" = "" ] 05:51:33 ./bin/test-attribution-txt.sh 05:51:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:51:33 ---> 4fa352c13ae2 05:51:33 Step 18/23 : EXPOSE 49990 05:51:33 ---> Running in b9272d480dcc 05:51:33 $ docker stop --time=1 749947bb0db81af4ce3414890df6d5c1f144d2c280fb11e1f6f75c1fd963b31f 05:51:34 Removing intermediate container b9272d480dcc 05:51:34 ---> a46e487c02cb 05:51:34 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:51:34 ---> Running in 7ef3fe031106 05:51:34 Removing intermediate container 7ef3fe031106 05:51:34 ---> 8df6314f195c 05:51:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:51:34 ---> Running in afc6f6a2a82c 05:51:34 Removing intermediate container afc6f6a2a82c 05:51:34 ---> 69170ae18edc 05:51:34 Step 21/23 : LABEL arch=amd64 05:51:34 ---> Running in 43b8fe846cbb 05:51:35 Removing intermediate container 43b8fe846cbb 05:51:35 ---> d84ab4d7960c 05:51:35 Step 22/23 : LABEL git_sha=cefba91cd2d774311e977f8787cb353ade1003ea 05:51:35 ---> Running in 576d0b94cab8 05:51:35 Removing intermediate container 576d0b94cab8 05:51:35 ---> 5c51a0236b41 05:51:35 Step 23/23 : LABEL version=0.0.0 05:51:35 ---> Running in b4e629226c06 05:51:35 Removing intermediate container b4e629226c06 05:51:35 ---> b47a3e91f82a 05:51:35 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:51:35 Successfully built b47a3e91f82a 05:51:35 Successfully tagged docker-device-sdk-simple:latest 05:51:36 $ docker rm -f 749947bb0db81af4ce3414890df6d5c1f144d2c280fb11e1f6f75c1fd963b31f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 05:51:37 + sudo chown -R jenkins:jenkins . [Pipeline] stage [Pipeline] { (Snap) [Pipeline] stash 05:51:37 Warning: overwriting stash ‘coverage-report’ Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:51:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 05:51:38 ---> job-cost.sh 05:51:38 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-s6vI [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:38 + ls -al . 05:51:38 total 224 05:51:38 drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:51 . 05:51:38 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:47 .. 05:51:38 -rw-rw-r-- 1 jenkins jenkins 140 May 5 05:47 .dockerignore 05:51:38 drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:47 .git 05:51:38 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:47 .github 05:51:38 -rw-rw-r-- 1 jenkins jenkins 138 May 5 05:47 .gitignore 05:51:38 -rw-rw-r-- 1 jenkins jenkins 987 May 5 05:47 Dockerfile.build 05:51:38 -rw-rw-r-- 1 jenkins jenkins 901 May 5 05:47 Jenkinsfile 05:51:38 -rw-rw-r-- 1 jenkins jenkins 11341 May 5 05:47 LICENSE 05:51:38 -rw-rw-r-- 1 jenkins jenkins 1022 May 5 05:47 Makefile 05:51:38 -rw-rw-r-- 1 jenkins jenkins 7652 May 5 05:47 README.md 05:51:38 -rw-rw-r-- 1 jenkins jenkins 6616 May 5 05:47 RELEASE-NOTES.txt 05:51:38 -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:45 VERSION 05:51:38 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:47 bin 05:51:38 -rw-r--r-- 1 jenkins jenkins 100320 May 5 05:50 coverage.out 05:51:38 drwxrwxr-x 5 jenkins jenkins 4096 May 5 05:47 example 05:51:38 -rw-r--r-- 1 jenkins jenkins 575 May 5 05:51 go.mod 05:51:38 -rw-r--r-- 1 jenkins jenkins 20957 May 5 05:48 go.sum 05:51:38 drwxrwxr-x 14 jenkins jenkins 4096 May 5 05:47 internal 05:51:38 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:47 openapi 05:51:38 drwxrwxr-x 5 jenkins jenkins 4096 May 5 05:47 pkg 05:51:38 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:47 snap 05:51:38 -rw-rw-r-- 1 jenkins jenkins 222 May 5 05:47 version.go [Pipeline] isUnix [Pipeline] sh 05:51:39 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cefba91cd2d774311e977f8787cb353ade1003ea --label arch=arm64 --label version=0.0.0 . 05:51:39 Sending build context to Docker daemon 2.567MB 05:51:39 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:51:39 Step 2/23 : FROM ${BASE} AS builder 05:51:39 ---> 0406e45951b2 05:51:39 Step 3/23 : WORKDIR /device-sdk-go 05:51:40 ---> Running in 95431db0af14 05:51:40 Removing intermediate container 95431db0af14 05:51:40 ---> d0a5443fb0b4 05:51:40 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:40 ---> Running in f458dcb74c42 05:51:41 Removing intermediate container f458dcb74c42 05:51:41 ---> 941cd4e7f635 05:51:41 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:41 ---> Running in 14414be146f8 05:51:44 Removing intermediate container 14414be146f8 05:51:44 ---> 5421863678f0 05:51:44 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:51:44 ---> Running in bc9f0bbc52e2 05:51:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:51:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:51:46 OK: 139 MiB in 46 packages 05:51:47 Removing intermediate container bc9f0bbc52e2 05:51:47 ---> 856c30255dbe 05:51:47 Step 7/23 : COPY . . 05:51:48 ---> 7f8fd7d1cec9 05:51:48 Step 8/23 : RUN go mod download 05:51:49 ---> Running in bc15179bfc78 05:51:51 Removing intermediate container bc15179bfc78 05:51:51 ---> bf5865bef014 05:51:51 Step 9/23 : RUN make build 05:51:51 ---> Running in 7f4f4c5c6b7f 05:51:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:52:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:52:24 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:52:26 lf-activate-venv(): INFO: Adding /tmp/venv-s6vI/bin to PATH 05:52:26 INFO: No Stack... 05:52:27 INFO: Retrieving Pricing Info for: v1-standard-2 05:52:27 Removing intermediate container 7f4f4c5c6b7f 05:52:27 ---> 056b948bbd57 05:52:27 Step 10/23 : FROM alpine:3.12 05:52:27 3.12: Pulling from library/alpine 05:52:27 d2f70382dc9a: Pulling fs layer 05:52:27 d2f70382dc9a: Verifying Checksum 05:52:27 d2f70382dc9a: Download complete 05:52:28 d2f70382dc9a: Pull complete 05:52:28 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:52:28 Status: Downloaded newer image for alpine:3.12 05:52:28 ---> 9852663dfa18 05:52:28 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:52:28 INFO: Archiving Costs [Pipeline] sh 05:52:28 ---> Running in 7479e8f85949 05:52:28 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:52:28 + cut -d, -f6 [Pipeline] lock 05:52:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] 05:52:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] did not exist. Created. 05:52:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:52:29 Removing intermediate container 7479e8f85949 05:52:29 ---> ee2798cf6259 05:52:29 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:52:29 ---> Running in b9b97139af2a 05:52:29 + echo total: 0.029999999329447746 [Pipeline] stash 05:52:29 Stashed 1 file(s) [Pipeline] } 05:52:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:52:31 Removing intermediate container b9b97139af2a 05:52:31 ---> dff21c72a615 05:52:31 Step 13/23 : RUN apk add --update --no-cache zeromq 05:52:31 ---> Running in 55ec4979ca44 05:52:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:52:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:52:33 (1/5) Installing libgcc (9.3.0-r2) 05:52:33 (2/5) Installing libsodium (1.0.18-r0) 05:52:33 (3/5) Installing libstdc++ (9.3.0-r2) 05:52:34 (4/5) Installing libzmq (4.3.3-r0) 05:52:34 (5/5) Installing zeromq (4.3.3-r0) 05:52:34 Executing busybox-1.31.1-r20.trigger 05:52:34 OK: 8 MiB in 19 packages 05:52:35 Removing intermediate container 55ec4979ca44 05:52:35 ---> c4eb2b62d636 05:52:35 Step 14/23 : WORKDIR / 05:52:35 ---> Running in ab2d33210ad9 05:52:35 Removing intermediate container ab2d33210ad9 05:52:35 ---> 07709f0f59d2 05:52:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:52:36 ---> 56abfa8d0192 05:52:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:52:37 ---> 8bff0b53a9ee 05:52:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:52:38 ---> 9083af8bc072 05:52:38 Step 18/23 : EXPOSE 49990 05:52:38 ---> Running in ae3701fbfe20 05:52:39 Removing intermediate container ae3701fbfe20 05:52:39 ---> 5b1d75c4c9fd 05:52:39 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:52:39 ---> Running in 8c0636ada4b8 05:52:39 Removing intermediate container 8c0636ada4b8 05:52:39 ---> 6e97dad75f85 05:52:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:52:39 ---> Running in 7e2ec5ce490e 05:52:40 Removing intermediate container 7e2ec5ce490e 05:52:40 ---> 37e3f6b172d0 05:52:40 Step 21/23 : LABEL arch=arm64 05:52:40 ---> Running in fc7796978907 05:52:41 Removing intermediate container fc7796978907 05:52:41 ---> fb1a1091c2e1 05:52:41 Step 22/23 : LABEL git_sha=cefba91cd2d774311e977f8787cb353ade1003ea 05:52:41 ---> Running in d976b11d2cec 05:52:41 Removing intermediate container d976b11d2cec 05:52:41 ---> 26c8cd15f14a 05:52:41 Step 23/23 : LABEL version=0.0.0 05:52:41 ---> Running in 10cfd6f66ca8 05:52:42 Removing intermediate container 10cfd6f66ca8 05:52:42 ---> e344a46547d6 05:52:42 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:52:42 Successfully built e344a46547d6 05:52:42 Successfully tagged docker-device-sdk-simple-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 05:52:43 ---> job-cost.sh 05:52:43 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B0DL 05:53:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:54:43 lf-activate-venv(): INFO: Adding /tmp/venv-B0DL/bin to PATH 05:54:43 INFO: No Stack... 05:54:43 INFO: Retrieving Pricing Info for: lf-standard-4 05:54:43 INFO: Archiving Costs [Pipeline] sh 05:54:44 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:54:44 + cut -d, -f6 [Pipeline] lock 05:54:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] 05:54:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] did not exist. Created. 05:54:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-904-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:54:44 /w/workspace/device-sdk-go/1@tmp/durable-4a293264/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-4a293264/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:54:45 + echo total: 0.20999999344348907 [Pipeline] stash 05:54:45 Warning: overwriting stash ‘stack-cost’ 05:54:45 Stashed 1 file(s) [Pipeline] } 05:54:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-904-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 05:54:46 provisioning config files... 05:54:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config4339041991860883920tmp [Pipeline] { [Pipeline] sh 05:54:46 + set +x 05:54:46 + curl -s https://codecov.io/bash 05:54:46 + bash -s -- 05:54:47 05:54:47 _____ _ 05:54:47 / ____| | | 05:54:47 | | ___ __| | ___ ___ _____ __ 05:54:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:54:47 | |___| (_) | (_| | __/ (_| (_) \ V / 05:54:47 \_____\___/ \__,_|\___|\___\___/ \_/ 05:54:47 Bash-1.0.2 05:54:47 05:54:47 05:54:47 ==> git version 2.24.3 found 05:54:47 ==> 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 05:54:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:54:47 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:54:47 ==> Jenkins CI detected. 05:54:47 project root: . 05:54:47 --> token set from env 05:54:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:54:47 ==> Running gcov in . (disable via -X gcov) 05:54:47 ==> Python coveragepy not found 05:54:47 ==> Searching for coverage reports in: 05:54:47 + . 05:54:47 -> Found 1 reports 05:54:47 ==> Detecting git/mercurial file structure 05:54:47 ==> Reading reports 05:54:47 + ./coverage.out bytes=100320 05:54:47 ==> Appending adjustments 05:54:47 https://docs.codecov.io/docs/fixing-reports 05:54:47 + Found adjustments 05:54:47 ==> Gzipping contents 05:54:47 16K /tmp/codecov.ogzWsI.gz 05:54:47 ==> Uploading reports 05:54:47 url: https://codecov.io 05:54:47 query: branch=PR-904&commit=cefba91cd2d774311e977f8787cb353ade1003ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-904%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=904&job=&cmd_args= 05:54:47 -> Pinging Codecov 05:54:47 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-904&commit=cefba91cd2d774311e977f8787cb353ade1003ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-904%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=904&job=&cmd_args= 05:54:47 -> Uploading to 05:54:47 https://storage.googleapis.com/codecov/v4/raw/2021-05-05/7E55EF52A471D76F132DFD9A03CDDE97/cefba91cd2d774311e977f8787cb353ade1003ea/f51b04be-1706-4fd7-bc14-3619acb8bbd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210505T055447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0071443cdf429c2ba4330ccf542de85a59ee6cb468c849e4f3e28381c007c23f 05:54:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:54:47 Dload Upload Total Spent Left Speed 05:54:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13505 0 0 100 13505 0 26617 --:--:-- --:--:-- --:--:-- 26637 05:54:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cefba91cd2d774311e977f8787cb353ade1003ea [Pipeline] } 05:54:48 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 05:54:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:54:51 ---> package-listing.sh 05:54:51 ++ facter osfamily 05:54:51 ++ tr '[:upper:]' '[:lower:]' 05:54:51 + OS_FAMILY=redhat 05:54:51 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-904 05:54:51 + START_PACKAGES=/tmp/packages_start.txt 05:54:51 + END_PACKAGES=/tmp/packages_end.txt 05:54:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:54:51 + PACKAGES=/tmp/packages_start.txt 05:54:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-904 ']' 05:54:51 + PACKAGES=/tmp/packages_end.txt 05:54:51 + case "${OS_FAMILY}" in 05:54:51 + rpm -qa 05:54:51 + sort 05:54:56 + '[' -f /tmp/packages_start.txt ']' 05:54:56 + '[' -f /tmp/packages_end.txt ']' 05:54:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:54:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-904 ']' 05:54:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-904/archives/ 05:54:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-904/archives/ [Pipeline] echo 05:54:56 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-sdk-go_PR-904/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:54:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:54:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:57 05:54:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:54:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:58 alpine: Pulling from edgex-lftools-log-publisher 05:54:58 df20fa9351a1: Pulling fs layer 05:54:58 36b3adc4ff6f: Pulling fs layer 05:54:58 8ad3a11d3b57: Pulling fs layer 05:54:58 46f8f816bc3b: Pulling fs layer 05:54:58 93b61091891f: Pulling fs layer 05:54:58 93b9cdb0e59b: Pulling fs layer 05:54:58 5e14af77c1be: Pulling fs layer 05:54:58 01666e4c0597: Pulling fs layer 05:54:58 aa168da1d23b: Pulling fs layer 05:54:58 46f8f816bc3b: Waiting 05:54:58 93b61091891f: Waiting 05:54:58 aa168da1d23b: Waiting 05:54:58 5e14af77c1be: Waiting 05:54:58 93b9cdb0e59b: Waiting 05:54:58 01666e4c0597: Waiting 05:54:58 36b3adc4ff6f: Download complete 05:54:58 46f8f816bc3b: Verifying Checksum 05:54:58 46f8f816bc3b: Download complete 05:54:58 df20fa9351a1: Download complete 05:54:58 93b9cdb0e59b: Verifying Checksum 05:54:58 93b9cdb0e59b: Download complete 05:54:58 5e14af77c1be: Verifying Checksum 05:54:58 5e14af77c1be: Download complete 05:54:58 01666e4c0597: Verifying Checksum 05:54:58 01666e4c0597: Download complete 05:54:58 93b61091891f: Verifying Checksum 05:54:58 93b61091891f: Download complete 05:54:58 df20fa9351a1: Pull complete 05:54:58 8ad3a11d3b57: Verifying Checksum 05:54:58 8ad3a11d3b57: Download complete 05:54:58 36b3adc4ff6f: Pull complete 05:54:59 8ad3a11d3b57: Pull complete 05:54:59 46f8f816bc3b: Pull complete 05:55:00 93b61091891f: Pull complete 05:55:00 93b9cdb0e59b: Pull complete 05:55:00 5e14af77c1be: Pull complete 05:55:01 01666e4c0597: Pull complete 05:55:02 aa168da1d23b: Verifying Checksum 05:55:02 aa168da1d23b: Download complete 05:55:08 aa168da1d23b: Pull complete 05:55:08 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:55:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:55:08 prd-centos7-docker-4c-2g-3002 does not seem to be running inside a container 05:55:09 $ 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-sdk-go_PR-904/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-sdk-go_PR-904 -v /w/workspace/dgexfoundry_device-sdk-go_PR-904:/w/workspace/dgexfoundry_device-sdk-go_PR-904:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-904@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 05:55:12 $ docker top 15a7de5e715f9f1ee49ed972650eb5558cd86746a189776129e5fd48b3128863 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:12 + touch /tmp/pre-build-complete [Pipeline] sh 05:55:13 + mkdir -p /var/log/sa [Pipeline] sh 05:55:13 + ls /var/log/sa-host 05:55:13 + sadf -c /var/log/sa-host/sa05 05:55:13 file_magic: OK 05:55:13 HZ: Using current value: 100 05:55:13 file_header: OK 05:55:13 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 05:55:13 Statistics: 05:55:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:55:13 File successfully converted to sysstat format version 12.2.1 05:55:13 + sadf -c /var/log/sa-host/sa23 05:55:13 file_magic: OK 05:55:13 HZ: Using current value: 100 05:55:13 file_header: OK 05:55:13 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 05:55:13 Statistics: 05:55:13 Hnuu...uuuununununu... 05:55:13 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:14 provisioning config files... 05:55:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config8345152123525839410tmp [Pipeline] { [Pipeline] echo 05:55:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:55:14 ---> create-netrc.sh [Pipeline] } 05:55:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:55:14 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:55:15 ---> python-tools-install.sh [Pipeline] echo 05:55:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:55:15 ---> sudo-logs.sh 05:55:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:55:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:55:15 ---> job-cost.sh 05:55:15 lf-activate-venv: SKIPPING 05:55:15 DEBUG: total: 0.20999999344348907 05:55:15 INFO: Retrieving Stack Cost... 05:55:17 INFO: Retrieving Pricing Info for: v1-standard-2 05:55:17 INFO: Archiving Costs [Pipeline] echo 05:55:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:55:17 ---> logs-deploy.sh 05:55:17 lf-activate-venv: SKIPPING 05:55:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-904/1 05:55:17 INFO: archiving workspace using pattern(s): 05:55:19 Archives upload complete. 05:55:19 INFO: archiving logs to Nexus