Pull request #887 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a+4d2675d668c2f9064e370a810b18e5856622130c (37be749998f850d01e771b1a03e37bac306961f3) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-887/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-887/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1073’ Running on prd-centos7-docker-4c-2g-1080 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [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-887 # 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 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a Merge succeeded, producing 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a Checking out Revision 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a (PR-887) > 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/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # 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 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:30 ========================================================= 05:50:30 EdgeX Global Pipelines Version Info 05:50:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:32 ------------------- 05:50:32 stable info: 05:50:32 ------------------- 05:50:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:32 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:50:32 Message: update stable to v1.0.186 05:50:33 ------------------- 05:50:33 experimental info: 05:50:33 ------------------- 05:50:33 Commited By: **** collab-it+edgex@linuxfoundation.org 05:50:33 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 05:50:33 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo 05:50:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 575f9d0 [Pipeline] echo 05:50:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:50:35 provisioning config files... 05:50:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config69477073408999906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:35 ---> docker-login.sh 05:50:35 nexus3.edgexfoundry.org:10001 05:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:36 Configure a credential helper to remove this warning. See 05:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:36 05:50:36 Login Succeeded 05:50:36 nexus3.edgexfoundry.org:10002 05:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:36 Configure a credential helper to remove this warning. See 05:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:36 05:50:36 Login Succeeded 05:50:36 nexus3.edgexfoundry.org:10003 05:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:36 Configure a credential helper to remove this warning. See 05:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:36 05:50:36 Login Succeeded 05:50:36 nexus3.edgexfoundry.org:10004 05:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:36 Configure a credential helper to remove this warning. See 05:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:36 05:50:36 Login Succeeded 05:50:36 docker.io 05:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:37 Configure a credential helper to remove this warning. See 05:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:37 05:50:37 Login Succeeded 05:50:37 ---> docker-login.sh ends [Pipeline] } 05:50:37 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:50:37 + git log --format=format:%s -1 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [Pipeline] echo 05:50:37 GIT_COMMIT: 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 05:50:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:50:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:39 05:50:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:50:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:39 latest: Pulling from edgex-devops/git-semver 05:50:39 31603596830f: Pulling fs layer 05:50:39 2a8b12db71e7: Pulling fs layer 05:50:39 6ca5941a6612: Pulling fs layer 05:50:39 ecc8261a40a4: Pulling fs layer 05:50:39 ecc8261a40a4: Waiting 05:50:39 2a8b12db71e7: Verifying Checksum 05:50:39 2a8b12db71e7: Download complete 05:50:39 31603596830f: Verifying Checksum 05:50:39 31603596830f: Download complete 05:50:39 ecc8261a40a4: Verifying Checksum 05:50:39 ecc8261a40a4: Download complete 05:50:39 6ca5941a6612: Verifying Checksum 05:50:39 6ca5941a6612: Download complete 05:50:39 31603596830f: Pull complete 05:50:39 2a8b12db71e7: Pull complete 05:50:40 6ca5941a6612: Pull complete 05:50:41 ecc8261a40a4: Pull complete 05:50:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:50:41 prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container 05:50:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@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:50:43 $ docker top b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:43 [ssh-agent] Looking for ssh-agent implementation... 05:50:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:44 $ docker exec b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 ssh-agent 05:50:44 SSH_AUTH_SOCK=/tmp/ssh-DPZNAgbxXW3g/agent.11 05:50:44 SSH_AGENT_PID=16 05:50:44 Running ssh-add (command line suppressed) 05:50:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6625241354012585377.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6625241354012585377.key) 05:50:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:44 + git tag --points-at HEAD [Pipeline] } 05:50:44 $ docker exec --env ******** --env ******** b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 ssh-agent -k 05:50:44 unset SSH_AUTH_SOCK; 05:50:44 unset SSH_AGENT_PID; 05:50:44 echo Agent pid 16 killed; 05:50:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:50:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:45 [ssh-agent] Looking for ssh-agent implementation... 05:50:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:45 $ docker exec b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 ssh-agent 05:50:45 SSH_AUTH_SOCK=/tmp/ssh-1PXkPZSpp3xX/agent.46 05:50:45 SSH_AGENT_PID=51 05:50:45 Running ssh-add (command line suppressed) 05:50:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_3617667251194068036.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_3617667251194068036.key) 05:50:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:45 + git semver init 05:50:45 # -> Open(): unable to determine branch for HEAD 05:50:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git 05:50:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 05:50:45 # $SEMVER_REMOTE_NAME = origin 05:50:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:50:45 # $SEMVER_USER_NAME = edgex-jenkins 05:50:45 # $SEMVER_BRANCH = PR-887 05:50:45 # $SEMVER_TEMP = /tmp/semver-255812879 05:50:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:50:46 # '/tmp/semver-255812879' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' 05:50:46 # -> Force: false 05:50:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } 05:50:46 $ docker exec --env ******** --env ******** b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 ssh-agent -k 05:50:47 unset SSH_AUTH_SOCK; 05:50:47 unset SSH_AGENT_PID; 05:50:47 echo Agent pid 51 killed; 05:50:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:47 + git semver [Pipeline] } 05:50:47 $ docker stop --time=1 b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 05:50:49 $ docker rm -f b98a299285663148b1f244a0e1e094af7b0f8fc00015493a6eaaa4eca2af07c2 [Pipeline] // withDockerContainer [Pipeline] sh 05:50:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:50:50 Stashed 1 file(s) [Pipeline] echo 05:50:50 [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:51:05 Still waiting to schedule task 05:51:05 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:51:05 Still waiting to schedule task 05:51:05 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1078’ is offline 05:52:35 Running on prd-centos7-docker-4c-2g-1085 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 05:52:35 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:52:38 using credential edgex-jenkins-ssh 05:52:38 Cloning the remote Git repository 05:52:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:52:38 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:52:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:38 > git --version # timeout=10 05:52:38 > git --version # 'git version 2.24.3' 05:52:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:39 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a 05:52:39 Merge succeeded, producing 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a 05:52:39 Checking out Revision 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a (PR-887) 05:52:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:52:39 > git config core.sparsecheckout # timeout=10 05:52:39 > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 05:52:39 > git remote # timeout=10 05:52:39 > git config --get remote.origin.url # timeout=10 05:52:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:39 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 05:52:39 > git rev-parse HEAD^{commit} # timeout=10 05:52:39 > git config core.sparsecheckout # timeout=10 05:52:39 > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 05:52:43 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 05:52:43 > git --version # timeout=10 05:52:43 > git --version # 'git version 2.24.3' 05:52:43 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:44 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:52:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:52:45 + sudo service docker restart 05:52:45 + true 05:52:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:46 provisioning config files... 05:52:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6028709601558732609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:46 ---> docker-login.sh 05:52:46 nexus3.edgexfoundry.org:10001 05:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:47 Configure a credential helper to remove this warning. See 05:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:47 05:52:47 Login Succeeded 05:52:47 nexus3.edgexfoundry.org:10002 05:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:47 Configure a credential helper to remove this warning. See 05:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:47 05:52:47 Login Succeeded 05:52:47 nexus3.edgexfoundry.org:10003 05:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:47 Configure a credential helper to remove this warning. See 05:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:47 05:52:47 Login Succeeded 05:52:47 nexus3.edgexfoundry.org:10004 05:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:47 Configure a credential helper to remove this warning. See 05:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:47 05:52:47 Login Succeeded 05:52:47 docker.io 05:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:48 Configure a credential helper to remove this warning. See 05:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:48 05:52:48 Login Succeeded 05:52:48 ---> docker-login.sh ends [Pipeline] } 05:52:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:52:48 ========================================================= 05:52:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:52:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:52:48 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:52:48 Sending build context to Docker daemon 2.451MB 05:52:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:52:48 Step 2/8 : FROM ${BASE} 05:52:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:52:49 188c0c94c7c5: Pulling fs layer 05:52:49 0ef7d3d256c8: Pulling fs layer 05:52:49 de9db76c5a1d: Pulling fs layer 05:52:49 bca2f99d35d6: Pulling fs layer 05:52:49 93359f2a8cfa: Pulling fs layer 05:52:49 7c6f9722023f: Pulling fs layer 05:52:49 a35cf1a2eb13: Pulling fs layer 05:52:49 bca2f99d35d6: Waiting 05:52:49 7c6f9722023f: Waiting 05:52:49 a35cf1a2eb13: Waiting 05:52:49 93359f2a8cfa: Waiting 05:52:49 de9db76c5a1d: Verifying Checksum 05:52:49 de9db76c5a1d: Download complete 05:52:49 0ef7d3d256c8: Verifying Checksum 05:52:49 0ef7d3d256c8: Download complete 05:52:49 93359f2a8cfa: Verifying Checksum 05:52:49 93359f2a8cfa: Download complete 05:52:49 7c6f9722023f: Verifying Checksum 05:52:49 7c6f9722023f: Download complete 05:52:49 188c0c94c7c5: Verifying Checksum 05:52:49 188c0c94c7c5: Download complete 05:52:49 188c0c94c7c5: Pull complete 05:52:49 0ef7d3d256c8: Pull complete 05:52:49 de9db76c5a1d: Pull complete 05:52:51 a35cf1a2eb13: Verifying Checksum 05:52:51 a35cf1a2eb13: Download complete 05:52:52 bca2f99d35d6: Verifying Checksum 05:52:52 bca2f99d35d6: Download complete 05:52:57 bca2f99d35d6: Pull complete 05:52:57 93359f2a8cfa: Pull complete 05:52:57 7c6f9722023f: Pull complete 05:52:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1084 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 05:52:58 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:53:04 using credential edgex-jenkins-ssh 05:53:04 Cloning the remote Git repository 05:53:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:53:04 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:53:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:05 > git --version # timeout=10 05:53:05 > git --version # 'git version 2.17.1' 05:53:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:53:06 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a 05:53:07 Merge succeeded, producing 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a 05:53:07 Checking out Revision 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a (PR-887) 05:53:07 a35cf1a2eb13: Pull complete 05:53:07 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:53:07 ---> a62c8e92a672 05:53:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:07 ---> Running in 1fc5db892162 05:53:07 Removing intermediate container 1fc5db892162 05:53:07 ---> 5cbb88da807a 05:53:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:07 ---> Running in 6e4d2bdbe1a9 05:53:07 > git config core.sparsecheckout # timeout=10 05:53:07 > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 05:53:07 > git remote # timeout=10 05:53:07 > git config --get remote.origin.url # timeout=10 05:53:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:07 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 05:53:07 > git rev-parse HEAD^{commit} # timeout=10 05:53:07 > git config core.sparsecheckout # timeout=10 05:53:07 > git checkout -f 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 05:53:08 Removing intermediate container 6e4d2bdbe1a9 05:53:08 ---> 523d3f8cbcb4 05:53:08 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:53:08 ---> Running in 873db8ae65b8 05:53:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:53:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:53:10 (1/6) Installing libc-dev (0.7.2-r3) 05:53:10 (2/6) Installing libsodium (1.0.18-r0) 05:53:10 (3/6) Installing pkgconf (1.7.2-r0) 05:53:10 (4/6) Installing libsodium-dev (1.0.18-r0) 05:53:11 (5/6) Installing libzmq (4.3.3-r0) 05:53:11 (6/6) Installing zeromq-dev (4.3.3-r0) 05:53:11 Executing busybox-1.31.1-r19.trigger 05:53:11 OK: 167 MiB in 45 packages 05:53:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 05:53:11 > git --version # timeout=10 05:53:11 > git --version # 'git version 2.17.1' 05:53:11 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:12 Removing intermediate container 873db8ae65b8 05:53:12 ---> b029b77e386d 05:53:12 Step 6/8 : WORKDIR /device-sdk-go 05:53:12 ---> Running in 975bccd221b6 05:53:12 Removing intermediate container 975bccd221b6 05:53:12 ---> 40e163b8cb7b 05:53:12 Step 7/8 : COPY . . 05:53:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:53:13 ---> 02029aac6715 05:53:13 Step 8/8 : RUN go mod download 05:53:13 ---> Running in d927ea52a8b9 05:53:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:53:14 + sudo service docker restart 05:53:14 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:16 provisioning config files... 05:53:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8095515912226135103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:17 ---> docker-login.sh 05:53:17 nexus3.edgexfoundry.org:10001 05:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:18 Configure a credential helper to remove this warning. See 05:53:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:18 05:53:18 Login Succeeded 05:53:18 nexus3.edgexfoundry.org:10002 05:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:19 Configure a credential helper to remove this warning. See 05:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:19 05:53:19 Login Succeeded 05:53:19 nexus3.edgexfoundry.org:10003 05:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:19 Configure a credential helper to remove this warning. See 05:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:19 05:53:19 Login Succeeded 05:53:19 nexus3.edgexfoundry.org:10004 05:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:20 Configure a credential helper to remove this warning. See 05:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:20 05:53:20 Login Succeeded 05:53:20 docker.io 05:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:27 Configure a credential helper to remove this warning. See 05:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:27 05:53:27 Login Succeeded 05:53:27 ---> docker-login.sh ends [Pipeline] } 05:53:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:27 ========================================================= 05:53:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:53:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:28 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:53:28 Sending build context to Docker daemon 2.461MB 05:53:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:53:28 Step 2/8 : FROM ${BASE} 05:53:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:53:28 5f621e34cdf4: Pulling fs layer 05:53:28 a4357932f1b6: Pulling fs layer 05:53:28 18c013af1878: Pulling fs layer 05:53:28 00ac8860ef70: Pulling fs layer 05:53:28 63d7cb157983: Pulling fs layer 05:53:28 b116817d02f9: Pulling fs layer 05:53:28 745a02a5169b: Pulling fs layer 05:53:28 745a02a5169b: Waiting 05:53:28 63d7cb157983: Waiting 05:53:28 b116817d02f9: Waiting 05:53:28 00ac8860ef70: Waiting 05:53:28 18c013af1878: Download complete 05:53:28 a4357932f1b6: Verifying Checksum 05:53:28 a4357932f1b6: Download complete 05:53:28 63d7cb157983: Verifying Checksum 05:53:28 63d7cb157983: Download complete 05:53:28 b116817d02f9: Verifying Checksum 05:53:28 b116817d02f9: Download complete 05:53:28 5f621e34cdf4: Verifying Checksum 05:53:28 5f621e34cdf4: Download complete 05:53:29 5f621e34cdf4: Pull complete 05:53:29 a4357932f1b6: Pull complete 05:53:30 18c013af1878: Pull complete 05:53:30 745a02a5169b: Verifying Checksum 05:53:30 745a02a5169b: Download complete 05:53:32 00ac8860ef70: Verifying Checksum 05:53:32 00ac8860ef70: Download complete 05:53:42 00ac8860ef70: Pull complete 05:53:42 63d7cb157983: Pull complete 05:53:42 b116817d02f9: Pull complete 05:53:45 Removing intermediate container d927ea52a8b9 05:53:45 ---> 8e2e079e68f2 05:53:45 Successfully built 8e2e079e68f2 05:53:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:53:46 + docker inspect -f . ci-base-image-x86_64 05:53:46 . [Pipeline] withDockerContainer 05:53:46 prd-centos7-docker-4c-2g-1085 does not seem to be running inside a container 05:53:46 $ 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-x86_64 cat 05:53:47 745a02a5169b: Pull complete 05:53:47 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:53:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:53:47 ---> b7e6874047d6 05:53:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:47 $ docker top a376b4aae32c34b0817608b7802e2fcfebd42e3f196e65b9672e1c83af62f5d5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:48 + go version 05:53:48 go version go1.15.5 linux/amd64 [Pipeline] } 05:53:48 $ docker stop --time=1 a376b4aae32c34b0817608b7802e2fcfebd42e3f196e65b9672e1c83af62f5d5 05:53:49 ---> Running in 98a2c86b07f4 05:53:49 $ docker rm -f a376b4aae32c34b0817608b7802e2fcfebd42e3f196e65b9672e1c83af62f5d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 05:53:49 Removing intermediate container 98a2c86b07f4 05:53:49 ---> 3a5d74f067bc 05:53:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:49 ---> Running in e09125343e6d [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:53:50 + docker inspect -f . ci-base-image-x86_64 05:53:50 . [Pipeline] withDockerContainer 05:53:50 prd-centos7-docker-4c-2g-1085 does not seem to be running inside a container 05:53:50 $ 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-x86_64 cat 05:53:51 $ docker top d74fd8b70da98e8ac2eed43a6f8dc0328d582a735b673dbb92db445188725705 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:51 + make test 05:53:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:53:52 Removing intermediate container e09125343e6d 05:53:52 ---> dda007cd13a9 05:53:52 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:53:52 ---> Running in cc0105d88c20 05:53:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:53:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:53:55 (1/6) Installing libc-dev (0.7.2-r3) 05:53:55 (2/6) Installing libsodium (1.0.18-r0) 05:53:55 (3/6) Installing pkgconf (1.7.2-r0) 05:53:55 (4/6) Installing libsodium-dev (1.0.18-r0) 05:53:55 (5/6) Installing libzmq (4.3.3-r0) 05:53:56 (6/6) Installing zeromq-dev (4.3.3-r0) 05:53:56 Executing busybox-1.31.1-r19.trigger 05:53:56 OK: 144 MiB in 45 packages 05:53:57 Removing intermediate container cc0105d88c20 05:53:57 ---> c00474b2408b 05:53:57 Step 6/8 : WORKDIR /device-sdk-go 05:53:57 ---> Running in b8a73c1a1e07 05:53:58 Removing intermediate container b8a73c1a1e07 05:53:58 ---> 1ddc4d4eba4b 05:53:58 Step 7/8 : COPY . . 05:53:59 ---> 107b15ba8b96 05:53:59 Step 8/8 : RUN go mod download 05:53:59 ---> Running in 326c38876780 05:53:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.094s coverage: 28.1% of statements 05:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements 05:54:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements 05:54:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:54:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:54:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:54:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 32.0% of statements 05:54:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:54:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:54:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:54:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 57.1% of statements 05:54:26 Removing intermediate container 326c38876780 05:54:26 ---> f9debfa2b10f 05:54:26 Successfully built f9debfa2b10f 05:54:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:54:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.219s coverage: 6.6% of statements 05:54:26 + docker inspect -f . ci-base-image-arm64 05:54:26 . 05:54:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 05:54:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [Pipeline] withDockerContainer 05:54:27 prd-ubuntu18.04-docker-arm64-4c-16g-1084 does not seem to be running inside a container 05:54:27 GO111MODULE=on go vet ./... 05:54: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-arm64 cat 05:54:28 $ docker top aa2d5ecb7bd396dd240d1f2e8c7d4d420167fbdfceda4d3876221ce6ea4dce75 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:29 + go version 05:54:29 go version go1.15.5 linux/arm64 [Pipeline] } 05:54:29 $ docker stop --time=1 aa2d5ecb7bd396dd240d1f2e8c7d4d420167fbdfceda4d3876221ce6ea4dce75 05:54:31 $ docker rm -f aa2d5ecb7bd396dd240d1f2e8c7d4d420167fbdfceda4d3876221ce6ea4dce75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:32 + docker inspect -f . ci-base-image-arm64 05:54:32 . [Pipeline] withDockerContainer 05:54:32 prd-ubuntu18.04-docker-arm64-4c-16g-1084 does not seem to be running inside a container 05:54:32 $ 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-arm64 cat 05:54:34 $ docker top d7ef54c8bae716c90dcde131bb502fdc04a31f5c5d8719527e507b5558f1e884 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:35 + make test 05:54:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:54:45 gofmt -l . 05:54:45 [ "`gofmt -l .`" = "" ] 05:54:45 ./bin/test-attribution-txt.sh 05:54:45 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:54:45 $ docker stop --time=1 d74fd8b70da98e8ac2eed43a6f8dc0328d582a735b673dbb92db445188725705 05:54:47 $ docker rm -f d74fd8b70da98e8ac2eed43a6f8dc0328d582a735b673dbb92db445188725705 [Pipeline] // withDockerContainer [Pipeline] sh 05:54:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:54:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:54:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:50 + ls -al . 05:54:50 total 188 05:54:50 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 20 05:54 . 05:54:50 drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 05:52 .. 05:54:50 drwxrwxr-x. 2 jenkins jenkins 64 Apr 20 05:52 bin 05:54:50 -rw-r--r--. 1 jenkins jenkins 100116 Apr 20 05:54 coverage.out 05:54:50 -rw-rw-r--. 1 jenkins jenkins 987 Apr 20 05:52 Dockerfile.build 05:54:50 -rw-rw-r--. 1 jenkins jenkins 140 Apr 20 05:52 .dockerignore 05:54:50 drwxrwxr-x. 5 jenkins jenkins 62 Apr 20 05:52 example 05:54:50 drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 05:52 .git 05:54:50 drwxrwxr-x. 2 jenkins jenkins 103 Apr 20 05:52 .github 05:54:50 -rw-rw-r--. 1 jenkins jenkins 138 Apr 20 05:52 .gitignore 05:54:50 -rw-r--r--. 1 jenkins jenkins 574 Apr 20 05:54 go.mod 05:54:50 -rw-r--r--. 1 jenkins jenkins 20846 Apr 20 05:54 go.sum 05:54:50 drwxrwxr-x. 14 jenkins jenkins 207 Apr 20 05:52 internal 05:54:50 -rw-rw-r--. 1 jenkins jenkins 901 Apr 20 05:52 Jenkinsfile 05:54:50 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 20 05:52 LICENSE 05:54:50 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 20 05:52 Makefile 05:54:50 drwxrwxr-x. 4 jenkins jenkins 26 Apr 20 05:52 openapi 05:54:50 drwxrwxr-x. 5 jenkins jenkins 50 Apr 20 05:52 pkg 05:54:50 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 20 05:52 README.md 05:54:50 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 20 05:52 RELEASE-NOTES.txt 05:54:50 drwxrwxr-x. 4 jenkins jenkins 54 Apr 20 05:52 snap 05:54:50 -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 05:50 VERSION 05:54:50 -rw-rw-r--. 1 jenkins jenkins 222 Apr 20 05:52 version.go [Pipeline] isUnix [Pipeline] sh 05:54:50 + 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=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a --label arch=amd64 --label version=0.0.0 . 05:54:50 Sending build context to Docker daemon 2.552MB 05:54:50 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:54:50 Step 2/23 : FROM ${BASE} AS builder 05:54:50 ---> 8e2e079e68f2 05:54:50 Step 3/23 : WORKDIR /device-sdk-go 05:54:51 ---> Running in f93ac7300214 05:54:51 Removing intermediate container f93ac7300214 05:54:51 ---> 8feb13118bce 05:54:51 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:51 ---> Running in a5514e2d48e6 05:54:51 Removing intermediate container a5514e2d48e6 05:54:51 ---> 020c26bef401 05:54:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:51 ---> Running in b52457f6c714 05:54:52 Removing intermediate container b52457f6c714 05:54:52 ---> 9a8223587b02 05:54:52 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:54:52 ---> Running in 42962ab412fb 05:54:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:54:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:54:54 OK: 167 MiB in 45 packages 05:54:54 Removing intermediate container 42962ab412fb 05:54:54 ---> ecbf4c2438cd 05:54:54 Step 7/23 : COPY . . 05:54:55 ---> e235ecdbf8ea 05:54:55 Step 8/23 : RUN go mod download 05:54:55 ---> Running in 87465d29fcba 05:54:57 Removing intermediate container 87465d29fcba 05:54:57 ---> 9b5eddb05710 05:54:57 Step 9/23 : RUN make build 05:54:57 ---> Running in f47ac8692ab8 05:54:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:54:57 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:55:10 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:55:11 Removing intermediate container f47ac8692ab8 05:55:11 ---> 7d8d74bdf609 05:55:11 Step 10/23 : FROM alpine:3.12 05:55:12 3.12: Pulling from library/alpine 05:55:12 339de151aab4: Pulling fs layer 05:55:12 339de151aab4: Download complete 05:55:12 339de151aab4: Pull complete 05:55:12 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:55:12 Status: Downloaded newer image for alpine:3.12 05:55:12 ---> 13621d1b12d4 05:55:12 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:13 ---> Running in bc20110e4bc2 05:55:13 Removing intermediate container bc20110e4bc2 05:55:13 ---> 8c010ec42f91 05:55:13 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:13 ---> Running in 57d3cffeceba 05:55:14 Removing intermediate container 57d3cffeceba 05:55:14 ---> 6be84415ab14 05:55:14 Step 13/23 : RUN apk add --update --no-cache zeromq 05:55:14 ---> Running in 48151494186a 05:55:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:16 (1/5) Installing libgcc (9.3.0-r2) 05:55:16 (2/5) Installing libsodium (1.0.18-r0) 05:55:16 (3/5) Installing libstdc++ (9.3.0-r2) 05:55:16 (4/5) Installing libzmq (4.3.3-r0) 05:55:17 (5/5) Installing zeromq (4.3.3-r0) 05:55:17 Executing busybox-1.31.1-r20.trigger 05:55:17 OK: 8 MiB in 19 packages 05:55:17 Removing intermediate container 48151494186a 05:55:17 ---> c7cc0976b3d0 05:55:17 Step 14/23 : WORKDIR / 05:55:18 ---> Running in 6b29056f7186 05:55:18 Removing intermediate container 6b29056f7186 05:55:18 ---> 7aad8f87bd72 05:55:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:55:18 ---> a09732fa8009 05:55:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:55:18 ---> aba4272a5baf 05:55:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:55:19 ---> 9bc18928f14e 05:55:19 Step 18/23 : EXPOSE 49990 05:55:19 ---> Running in 59ef44210289 05:55:19 Removing intermediate container 59ef44210289 05:55:19 ---> fb8c823668b5 05:55:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:55:19 ---> Running in 145d851a0763 05:55:19 Removing intermediate container 145d851a0763 05:55:19 ---> e14c8d83ac5c 05:55:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:55:19 ---> Running in df7155b19dfd 05:55:20 Removing intermediate container df7155b19dfd 05:55:20 ---> 01a83bc84f26 05:55:20 Step 21/23 : LABEL arch=amd64 05:55:20 ---> Running in 72f1d1994126 05:55:20 Removing intermediate container 72f1d1994126 05:55:20 ---> 7f2b2818ac70 05:55:20 Step 22/23 : LABEL git_sha=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a 05:55:20 ---> Running in 8b84fa0d1285 05:55:20 Removing intermediate container 8b84fa0d1285 05:55:20 ---> 2cf809c0e843 05:55:20 Step 23/23 : LABEL version=0.0.0 05:55:20 ---> Running in 85f7c73b17db 05:55:20 Removing intermediate container 85f7c73b17db 05:55:20 ---> 2184c81c1abc 05:55:20 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:55:20 Successfully built 2184c81c1abc 05:55:20 Successfully tagged docker-device-sdk-simple: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 05:55:21 ---> job-cost.sh 05:55:21 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RqpG 05:55:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:55:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:55:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:55:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:55:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:55:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:55:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.171s coverage: 28.1% of statements 05:55:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.151s coverage: 78.9% of statements 05:55:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.130s coverage: 7.8% of statements 05:55:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:55:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:55:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:55:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.331s coverage: 32.0% of statements 05:55:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:55:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:55:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:56:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.316s coverage: 57.1% of statements 05:56:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.079s coverage: 6.6% of statements 05:56:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 05:56:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:56:03 GO111MODULE=on go vet ./... 05:56:08 lf-activate-venv(): INFO: Adding /tmp/venv-RqpG/bin to PATH 05:56:08 INFO: No Stack... 05:56:08 INFO: Retrieving Pricing Info for: v1-standard-2 05:56:08 INFO: Archiving Costs [Pipeline] sh 05:56:09 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:56:09 + cut -d, -f6 [Pipeline] lock 05:56:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] 05:56:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] did not exist. Created. 05:56:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:09 + echo total: 0.029999999329447746 [Pipeline] stash 05:56:09 Stashed 1 file(s) [Pipeline] } 05:56:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:56:50 gofmt -l . 05:56:50 [ "`gofmt -l .`" = "" ] 05:56:50 ./bin/test-attribution-txt.sh 05:56:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:56:50 $ docker stop --time=1 d7ef54c8bae716c90dcde131bb502fdc04a31f5c5d8719527e507b5558f1e884 05:56:53 $ docker rm -f d7ef54c8bae716c90dcde131bb502fdc04a31f5c5d8719527e507b5558f1e884 [Pipeline] // withDockerContainer [Pipeline] sh 05:56:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:56:54 Warning: overwriting stash ‘coverage-report’ 05:56:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:56:56 + ls -al . 05:56:56 total 224 05:56:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 05:56 . 05:56:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:53 .. 05:56:56 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 05:53 .dockerignore 05:56:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 05:53 .git 05:56:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:53 .github 05:56:56 -rw-rw-r-- 1 jenkins jenkins 138 Apr 20 05:53 .gitignore 05:56:56 -rw-rw-r-- 1 jenkins jenkins 987 Apr 20 05:53 Dockerfile.build 05:56:56 -rw-rw-r-- 1 jenkins jenkins 901 Apr 20 05:53 Jenkinsfile 05:56:56 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 05:53 LICENSE 05:56:56 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 20 05:53 Makefile 05:56:56 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 20 05:53 README.md 05:56:56 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 20 05:53 RELEASE-NOTES.txt 05:56:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 05:50 VERSION 05:56:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:53 bin 05:56:56 -rw-r--r-- 1 jenkins jenkins 100116 Apr 20 05:56 coverage.out 05:56:56 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:53 example 05:56:56 -rw-r--r-- 1 jenkins jenkins 574 Apr 20 05:56 go.mod 05:56:56 -rw-r--r-- 1 jenkins jenkins 20846 Apr 20 05:56 go.sum 05:56:56 drwxrwxr-x 14 jenkins jenkins 4096 Apr 20 05:53 internal 05:56:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:53 openapi 05:56:56 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:53 pkg 05:56:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:53 snap 05:56:56 -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 05:53 version.go [Pipeline] isUnix [Pipeline] sh 05:56:56 + 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=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a --label arch=arm64 --label version=0.0.0 . 05:56:57 Sending build context to Docker daemon 2.562MB 05:56:57 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:56:57 Step 2/23 : FROM ${BASE} AS builder 05:56:57 ---> f9debfa2b10f 05:56:57 Step 3/23 : WORKDIR /device-sdk-go 05:56:57 ---> Running in 994a37452bac 05:56:57 Removing intermediate container 994a37452bac 05:56:57 ---> 7caf209c2ffc 05:56:57 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:57 ---> Running in c781982fc2cf 05:56:58 Removing intermediate container c781982fc2cf 05:56:58 ---> c0337e566d95 05:56:58 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:58 ---> Running in 74e0260bec70 05:57:00 Removing intermediate container 74e0260bec70 05:57:00 ---> bdee80f6b9ac 05:57:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:57:00 ---> Running in 418873677fd2 05:57:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:57:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:57:03 OK: 144 MiB in 45 packages 05:57:04 Removing intermediate container 418873677fd2 05:57:04 ---> e57f944f4570 05:57:04 Step 7/23 : COPY . . 05:57:05 ---> f785b3ac2723 05:57:05 Step 8/23 : RUN go mod download 05:57:05 ---> Running in 5e3e4edb011d 05:57:08 Removing intermediate container 5e3e4edb011d 05:57:08 ---> 4910ffb136b1 05:57:08 Step 9/23 : RUN make build 05:57:08 ---> Running in 2e11f8da8341 05:57:09 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:57:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:57:45 Removing intermediate container 2e11f8da8341 05:57:45 ---> cfcd18c0d555 05:57:45 Step 10/23 : FROM alpine:3.12 05:57:45 3.12: Pulling from library/alpine 05:57:45 d2f70382dc9a: Pulling fs layer 05:57:45 d2f70382dc9a: Verifying Checksum 05:57:45 d2f70382dc9a: Download complete 05:57:46 d2f70382dc9a: Pull complete 05:57:46 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:57:46 Status: Downloaded newer image for alpine:3.12 05:57:46 ---> 9852663dfa18 05:57:46 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:46 ---> Running in 8a923ddc128e 05:57:46 Removing intermediate container 8a923ddc128e 05:57:46 ---> 8dcf88482092 05:57:46 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:47 ---> Running in 7e72982a49e8 05:57:49 Removing intermediate container 7e72982a49e8 05:57:49 ---> 4bedf6b7a0c2 05:57:49 Step 13/23 : RUN apk add --update --no-cache zeromq 05:57:49 ---> Running in 7c4a8a0ef6a0 05:57:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:57:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:57:51 (1/5) Installing libgcc (9.3.0-r2) 05:57:51 (2/5) Installing libsodium (1.0.18-r0) 05:57:52 (3/5) Installing libstdc++ (9.3.0-r2) 05:57:52 (4/5) Installing libzmq (4.3.3-r0) 05:57:52 (5/5) Installing zeromq (4.3.3-r0) 05:57:52 Executing busybox-1.31.1-r20.trigger 05:57:52 OK: 8 MiB in 19 packages 05:57:53 Removing intermediate container 7c4a8a0ef6a0 05:57:53 ---> d6923aec5199 05:57:53 Step 14/23 : WORKDIR / 05:57:54 ---> Running in 991a1b6901d5 05:57:54 Removing intermediate container 991a1b6901d5 05:57:54 ---> e7f4068a38f5 05:57:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:57:55 ---> 12c90389ef74 05:57:55 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:57:56 ---> c15c107633b1 05:57:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:57:57 ---> 7fd4136cf0c9 05:57:57 Step 18/23 : EXPOSE 49990 05:57:57 ---> Running in 3c6fca972d6d 05:57:57 Removing intermediate container 3c6fca972d6d 05:57:57 ---> 6fc09f21dc22 05:57:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:57:57 ---> Running in 4b6e86bccdd0 05:57:58 Removing intermediate container 4b6e86bccdd0 05:57:58 ---> fdc710c43eeb 05:57:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:57:58 ---> Running in 677e8165ff44 05:57:58 Removing intermediate container 677e8165ff44 05:57:58 ---> 8f947590e249 05:57:58 Step 21/23 : LABEL arch=arm64 05:57:59 ---> Running in c55ea6490f23 05:57:59 Removing intermediate container c55ea6490f23 05:57:59 ---> 3eb09e275b2d 05:57:59 Step 22/23 : LABEL git_sha=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a 05:57:59 ---> Running in 49167a8832e8 05:58:00 Removing intermediate container 49167a8832e8 05:58:00 ---> 6ef0ac7f655b 05:58:00 Step 23/23 : LABEL version=0.0.0 05:58:00 ---> Running in eaa43706c81f 05:58:00 Removing intermediate container eaa43706c81f 05:58:00 ---> df24d39bb121 05:58:00 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:58:00 Successfully built df24d39bb121 05:58:00 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:58:01 ---> job-cost.sh 05:58:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TeIN 05:58:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:00:40 lf-activate-venv(): INFO: Adding /tmp/venv-TeIN/bin to PATH 06:00:40 INFO: No Stack... 06:00:40 INFO: Retrieving Pricing Info for: lf-standard-4 06:00:40 INFO: Archiving Costs [Pipeline] sh 06:00:40 + cut -d, -f6 06:00:40 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 06:00:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] 06:00:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] did not exist. Created. 06:00:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:41 /w/workspace/device-sdk-go/1@tmp/durable-cb890825/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-cb890825/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:00:41 + echo total: 0.20999999344348907 [Pipeline] stash 06:00:41 Warning: overwriting stash ‘stack-cost’ 06:00:42 Stashed 1 file(s) [Pipeline] } 06:00:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-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:00:43 provisioning config files... 06:00:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config7101611549049030202tmp [Pipeline] { [Pipeline] sh 06:00:43 + set +x 06:00:43 + curl -s https://codecov.io/bash 06:00:43 + bash -s -- 06:00:43 06:00:43 _____ _ 06:00:43 / ____| | | 06:00:43 | | ___ __| | ___ ___ _____ __ 06:00:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:00:43 | |___| (_) | (_| | __/ (_| (_) \ V / 06:00:43 \_____\___/ \__,_|\___|\___\___/ \_/ 06:00:43 Bash-1.0.1 06:00:43 06:00:43 06:00:43 ==> git version 2.24.3 found 06:00:43 ==> 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:00:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:00:43 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:00:43 ==> Jenkins CI detected. 06:00:43 project root: . 06:00:43 --> token set from env 06:00:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:00:43 ==> Running gcov in . (disable via -X gcov) 06:00:43 ==> Python coveragepy not found 06:00:43 ==> Searching for coverage reports in: 06:00:43 + . 06:00:43 -> Found 1 reports 06:00:43 ==> Detecting git/mercurial file structure 06:00:43 ==> Reading reports 06:00:43 + ./coverage.out bytes=100116 06:00:43 ==> Appending adjustments 06:00:43 https://docs.codecov.io/docs/fixing-reports 06:00:44 + Found adjustments 06:00:44 ==> Gzipping contents 06:00:44 16K /tmp/codecov.zsDj79.gz 06:00:44 ==> Uploading reports 06:00:44 url: https://codecov.io 06:00:44 query: branch=PR-887&commit=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 06:00:44 -> Pinging Codecov 06:00:44 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-887&commit=575f9d08c1cd7040fdff40d3a04e9ff61be50f8a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 06:00:44 -> Uploading to 06:00:44 https://storage.googleapis.com/codecov/v4/raw/2021-04-20/7E55EF52A471D76F132DFD9A03CDDE97/575f9d08c1cd7040fdff40d3a04e9ff61be50f8a/f4e6385b-b391-42f9-8b2e-c60474c49b65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210420T060044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2398f97158453d2f6f542ee5cc866b65ccae00a4064aeefc764a3919c8636162 06:00:44 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:44 Dload Upload Total Spent Left Speed 06:00:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13521 0 0 100 13521 0 33565 --:--:-- --:--:-- --:--:-- 33634 06:00:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/575f9d08c1cd7040fdff40d3a04e9ff61be50f8a [Pipeline] } 06:00:45 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:00:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:00:48 ---> package-listing.sh 06:00:48 ++ facter osfamily 06:00:48 ++ tr '[:upper:]' '[:lower:]' 06:00:48 + OS_FAMILY=redhat 06:00:48 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 06:00:48 + START_PACKAGES=/tmp/packages_start.txt 06:00:48 + END_PACKAGES=/tmp/packages_end.txt 06:00:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:00:48 + PACKAGES=/tmp/packages_start.txt 06:00:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 06:00:48 + PACKAGES=/tmp/packages_end.txt 06:00:48 + case "${OS_FAMILY}" in 06:00:48 + rpm -qa 06:00:48 + sort 06:00:53 + '[' -f /tmp/packages_start.txt ']' 06:00:53 + '[' -f /tmp/packages_end.txt ']' 06:00:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:00:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 06:00:53 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ 06:00:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo 06:00:53 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-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:00:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:00:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:54 06:00:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:00:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:54 alpine: Pulling from edgex-lftools-log-publisher 06:00:54 df20fa9351a1: Pulling fs layer 06:00:54 36b3adc4ff6f: Pulling fs layer 06:00:54 8ad3a11d3b57: Pulling fs layer 06:00:54 46f8f816bc3b: Pulling fs layer 06:00:54 93b61091891f: Pulling fs layer 06:00:54 93b9cdb0e59b: Pulling fs layer 06:00:54 5e14af77c1be: Pulling fs layer 06:00:54 01666e4c0597: Pulling fs layer 06:00:54 aa168da1d23b: Pulling fs layer 06:00:54 93b9cdb0e59b: Waiting 06:00:54 5e14af77c1be: Waiting 06:00:54 01666e4c0597: Waiting 06:00:54 aa168da1d23b: Waiting 06:00:54 46f8f816bc3b: Waiting 06:00:54 93b61091891f: Waiting 06:00:54 36b3adc4ff6f: Verifying Checksum 06:00:54 36b3adc4ff6f: Download complete 06:00:54 46f8f816bc3b: Download complete 06:00:54 df20fa9351a1: Verifying Checksum 06:00:54 df20fa9351a1: Download complete 06:00:54 93b9cdb0e59b: Download complete 06:00:54 5e14af77c1be: Download complete 06:00:54 01666e4c0597: Verifying Checksum 06:00:54 01666e4c0597: Download complete 06:00:54 93b61091891f: Verifying Checksum 06:00:54 93b61091891f: Download complete 06:00:54 8ad3a11d3b57: Verifying Checksum 06:00:54 8ad3a11d3b57: Download complete 06:00:55 df20fa9351a1: Pull complete 06:00:55 36b3adc4ff6f: Pull complete 06:00:56 8ad3a11d3b57: Pull complete 06:00:56 46f8f816bc3b: Pull complete 06:00:57 aa168da1d23b: Download complete 06:00:57 93b61091891f: Pull complete 06:00:57 93b9cdb0e59b: Pull complete 06:00:57 5e14af77c1be: Pull complete 06:00:57 01666e4c0597: Pull complete 06:01:05 aa168da1d23b: Pull complete 06:01:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:01:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:01:05 prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container 06:01:06 $ 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-887/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-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@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:01:09 $ docker top fca9fe51f613d4e827e1b6200068c702c7b2625b164be5f7642638418807b7a0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:09 + touch /tmp/pre-build-complete [Pipeline] sh 06:01:09 + mkdir -p /var/log/sa [Pipeline] sh 06:01:10 + ls /var/log/sa-host 06:01:10 + sadf -c /var/log/sa-host/sa20 06:01:10 file_magic: OK 06:01:10 HZ: Using current value: 100 06:01:10 file_header: OK 06:01:10 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:01:10 Statistics: 06:01:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:01:10 File successfully converted to sysstat format version 12.2.1 06:01:10 + sadf -c /var/log/sa-host/sa23 06:01:10 file_magic: OK 06:01:10 HZ: Using current value: 100 06:01:10 file_header: OK 06:01:10 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:01:10 Statistics: 06:01:10 Hnuu...uuuununununu... 06:01:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:10 provisioning config files... 06:01:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config3725062339560270120tmp [Pipeline] { [Pipeline] echo 06:01:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:01:11 ---> create-netrc.sh [Pipeline] } 06:01:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:01:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:01:11 ---> python-tools-install.sh [Pipeline] echo 06:01:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:01:12 ---> sudo-logs.sh 06:01:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:01:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:01:14 ---> job-cost.sh 06:01:14 lf-activate-venv: SKIPPING 06:01:14 DEBUG: total: 0.20999999344348907 06:01:14 INFO: Retrieving Stack Cost... 06:01:14 INFO: Retrieving Pricing Info for: v1-standard-2 06:01:14 INFO: Archiving Costs [Pipeline] echo 06:01:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:01:14 ---> logs-deploy.sh 06:01:14 lf-activate-venv: SKIPPING 06:01:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/1 06:01:14 INFO: archiving workspace using pattern(s): 06:01:17 Archives upload complete. 06:01:17 INFO: archiving logs to Nexus