Pull request #888 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 98a5cb813bc17f1c30a83f261e888554777b499f+4d2675d668c2f9064e370a810b18e5856622130c (ec5bc326fe20b6bcb0f7d3152327b7c578eec791) 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-888/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-888/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-1081 in /w/workspace/dgexfoundry_device-sdk-go_PR-888 [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-888 # 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 98a5cb813bc17f1c30a83f261e888554777b499f > 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/888/head:refs/remotes/origin/PR-888 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 Merge succeeded, producing 98a5cb813bc17f1c30a83f261e888554777b499f Checking out Revision 98a5cb813bc17f1c30a83f261e888554777b499f (PR-888) > 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 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/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:51:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:51:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:51:06 ========================================================= 05:51:06 EdgeX Global Pipelines Version Info 05:51:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:51:08 ------------------- 05:51:08 stable info: 05:51:08 ------------------- 05:51:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:51:08 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:51:08 Message: update stable to v1.0.186 05:51:09 ------------------- 05:51:09 experimental info: 05:51:09 ------------------- 05:51:09 Commited By: **** collab-it+edgex@linuxfoundation.org 05:51:09 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 05:51:09 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-888 [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-888 [Pipeline] echo 05:51:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-888 [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98a5cb813bc17f1c30a83f261e888554777b499f [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98a5cb8 [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:51:11 provisioning config files... 05:51:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/config869981600000473880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:11 ---> docker-login.sh 05:51:11 nexus3.edgexfoundry.org:10001 05:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 nexus3.edgexfoundry.org:10002 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 nexus3.edgexfoundry.org:10003 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 nexus3.edgexfoundry.org:10004 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 docker.io 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:13 Configure a credential helper to remove this warning. See 05:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:13 05:51:13 Login Succeeded 05:51:13 ---> docker-login.sh ends [Pipeline] } 05:51:13 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:51:13 + git log --format=format:%s -1 98a5cb813bc17f1c30a83f261e888554777b499f [Pipeline] echo 05:51:13 GIT_COMMIT: 98a5cb813bc17f1c30a83f261e888554777b499f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 05:51:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:51:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:51:14 05:51:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:51:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:51:14 latest: Pulling from edgex-devops/git-semver 05:51:14 31603596830f: Pulling fs layer 05:51:14 2a8b12db71e7: Pulling fs layer 05:51:14 6ca5941a6612: Pulling fs layer 05:51:14 ecc8261a40a4: Pulling fs layer 05:51:14 2a8b12db71e7: Verifying Checksum 05:51:14 2a8b12db71e7: Download complete 05:51:15 31603596830f: Verifying Checksum 05:51:15 31603596830f: Download complete 05:51:15 ecc8261a40a4: Verifying Checksum 05:51:15 ecc8261a40a4: Download complete 05:51:15 6ca5941a6612: Verifying Checksum 05:51:15 6ca5941a6612: Download complete 05:51:15 31603596830f: Pull complete 05:51:15 2a8b12db71e7: Pull complete 05:51:16 6ca5941a6612: Pull complete 05:51:16 ecc8261a40a4: Pull complete 05:51:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:51:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:51:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:51:17 prd-centos7-docker-4c-2g-1081 does not seem to be running inside a container 05:51:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-888 -v /w/workspace/dgexfoundry_device-sdk-go_PR-888:/w/workspace/dgexfoundry_device-sdk-go_PR-888:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-888@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:51:19 $ docker top 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:19 [ssh-agent] Looking for ssh-agent implementation... 05:51:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:19 $ docker exec 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 ssh-agent 05:51:19 SSH_AUTH_SOCK=/tmp/ssh-BgkfSIt26EWc/agent.11 05:51:19 SSH_AGENT_PID=16 05:51:19 Running ssh-add (command line suppressed) 05:51:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/private_key_2753475435361529565.key (/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/private_key_2753475435361529565.key) 05:51:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:20 + git tag --points-at HEAD [Pipeline] } 05:51:20 $ docker exec --env ******** --env ******** 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 ssh-agent -k 05:51:20 unset SSH_AUTH_SOCK; 05:51:20 unset SSH_AGENT_PID; 05:51:20 echo Agent pid 16 killed; 05:51:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:51:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:20 [ssh-agent] Looking for ssh-agent implementation... 05:51:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:20 $ docker exec 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 ssh-agent 05:51:20 SSH_AUTH_SOCK=/tmp/ssh-O6PtIkcF6uxA/agent.45 05:51:20 SSH_AGENT_PID=50 05:51:20 Running ssh-add (command line suppressed) 05:51:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/private_key_3575800811986734387.key (/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/private_key_3575800811986734387.key) 05:51:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:21 + git semver init 05:51:21 # -> Open(): unable to determine branch for HEAD 05:51:21 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-888/.git 05:51:21 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-888 05:51:21 # $SEMVER_REMOTE_NAME = origin 05:51:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:51:21 # $SEMVER_USER_NAME = edgex-jenkins 05:51:21 # $SEMVER_BRANCH = PR-888 05:51:21 # $SEMVER_TEMP = /tmp/semver-169776026 05:51:21 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:51:22 # '/tmp/semver-169776026' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-888/.semver' 05:51:22 # -> Force: false 05:51:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-888/.semver [Pipeline] } 05:51:22 $ docker exec --env ******** --env ******** 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 ssh-agent -k 05:51:22 unset SSH_AUTH_SOCK; 05:51:22 unset SSH_AGENT_PID; 05:51:22 echo Agent pid 50 killed; 05:51:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:22 + git semver [Pipeline] } 05:51:22 $ docker stop --time=1 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 05:51:24 $ docker rm -f 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 [Pipeline] // withDockerContainer [Pipeline] sh 05:51:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:51:25 Stashed 1 file(s) [Pipeline] echo 05:51:25 [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:40 Still waiting to schedule task 05:51:40 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1073’ is offline; ‘prd-centos7-docker-4c-2g-1082’ is offline; ‘prd-centos7-docker-4c-2g-1083’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-949’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1078’ doesn’t have label ‘centos7-docker-4c-2g’ 05:51:40 Still waiting to schedule task 05:51:40 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1078’ is offline 05:52:45 Running on prd-centos7-docker-4c-2g-1086 in /w/workspace/dgexfoundry_device-sdk-go_PR-888 [Pipeline] { [Pipeline] ws 05:52:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:52:48 using credential edgex-jenkins-ssh 05:52:48 Cloning the remote Git repository 05:52:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:52:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:52:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:47 > git --version # timeout=10 05:52:47 > git --version # 'git version 2.24.3' 05:52:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:49 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 98a5cb813bc17f1c30a83f261e888554777b499f 05:52:49 Merge succeeded, producing 98a5cb813bc17f1c30a83f261e888554777b499f 05:52:49 Checking out Revision 98a5cb813bc17f1c30a83f261e888554777b499f (PR-888) 05:52:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/888/head:refs/remotes/origin/PR-888 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:52:49 > git config core.sparsecheckout # timeout=10 05:52:49 > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 05:52:49 > git remote # timeout=10 05:52:49 > git config --get remote.origin.url # timeout=10 05:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:49 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 05:52:49 > git rev-parse HEAD^{commit} # timeout=10 05:52:49 > git config core.sparsecheckout # timeout=10 05:52:49 > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 05:52:53 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:52:52 > git --version # timeout=10 05:52:52 > git --version # 'git version 2.24.3' 05:52:53 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:52:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:52:55 + sudo service docker restart 05:52:55 + true 05:52:55 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:56 provisioning config files... 05:52:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2258660922287381017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:57 ---> docker-login.sh 05:52:57 nexus3.edgexfoundry.org:10001 05:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:57 Configure a credential helper to remove this warning. See 05:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:57 05:52:57 Login Succeeded 05:52:57 nexus3.edgexfoundry.org:10002 05:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:57 Configure a credential helper to remove this warning. See 05:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:57 05:52:57 Login Succeeded 05:52:57 nexus3.edgexfoundry.org:10003 05:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:57 Configure a credential helper to remove this warning. See 05:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:57 05:52:57 Login Succeeded 05:52:57 nexus3.edgexfoundry.org:10004 05:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:57 Configure a credential helper to remove this warning. See 05:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:57 05:52:57 Login Succeeded 05:52:57 docker.io 05:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:58 Configure a credential helper to remove this warning. See 05:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:58 05:52:58 Login Succeeded 05:52:58 ---> docker-login.sh ends [Pipeline] } 05:52:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:52:58 ========================================================= 05:52:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:52:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:52:59 + 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:59 Sending build context to Docker daemon 2.462MB 05:52:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:52:59 Step 2/8 : FROM ${BASE} 05:52:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:52:59 188c0c94c7c5: Pulling fs layer 05:52:59 0ef7d3d256c8: Pulling fs layer 05:52:59 de9db76c5a1d: Pulling fs layer 05:52:59 bca2f99d35d6: Pulling fs layer 05:52:59 93359f2a8cfa: Pulling fs layer 05:52:59 7c6f9722023f: Pulling fs layer 05:52:59 a35cf1a2eb13: Pulling fs layer 05:52:59 93359f2a8cfa: Waiting 05:52:59 7c6f9722023f: Waiting 05:52:59 a35cf1a2eb13: Waiting 05:52:59 bca2f99d35d6: Waiting 05:52:59 de9db76c5a1d: Verifying Checksum 05:52:59 de9db76c5a1d: Download complete 05:52:59 0ef7d3d256c8: Verifying Checksum 05:52:59 0ef7d3d256c8: Download complete 05:52:59 93359f2a8cfa: Download complete 05:52:59 7c6f9722023f: Verifying Checksum 05:52:59 7c6f9722023f: Download complete 05:52:59 188c0c94c7c5: Verifying Checksum 05:52:59 188c0c94c7c5: Download complete 05:52:59 188c0c94c7c5: Pull complete 05:53:00 0ef7d3d256c8: Pull complete 05:53:00 de9db76c5a1d: Pull complete 05:53:01 a35cf1a2eb13: Download complete 05:53:01 bca2f99d35d6: Verifying Checksum 05:53:01 bca2f99d35d6: Download complete 05:53:08 bca2f99d35d6: Pull complete 05:53:08 93359f2a8cfa: Pull complete 05:53:08 7c6f9722023f: Pull complete 05:53:13 a35cf1a2eb13: Pull complete 05:53:13 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:53:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:53:13 ---> a62c8e92a672 05:53:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:13 ---> Running in d0f0005ef8b0 05:53:14 Removing intermediate container d0f0005ef8b0 05:53:14 ---> a25e5722e8e2 05:53:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:14 ---> Running in e67f944005bd 05:53:15 Removing intermediate container e67f944005bd 05:53:15 ---> 29d746de89e3 05:53:15 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:53:15 ---> Running in 801cae709ca5 05:53:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:53:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:53:17 (1/6) Installing libc-dev (0.7.2-r3) 05:53:17 (2/6) Installing libsodium (1.0.18-r0) 05:53:17 (3/6) Installing pkgconf (1.7.2-r0) 05:53:17 (4/6) Installing libsodium-dev (1.0.18-r0) 05:53:17 (5/6) Installing libzmq (4.3.3-r0) 05:53:17 (6/6) Installing zeromq-dev (4.3.3-r0) 05:53:17 Executing busybox-1.31.1-r19.trigger 05:53:17 OK: 167 MiB in 45 packages 05:53:18 Removing intermediate container 801cae709ca5 05:53:18 ---> 7725a229e860 05:53:18 Step 6/8 : WORKDIR /device-sdk-go 05:53:18 ---> Running in a8a27c25ac35 05:53:18 Removing intermediate container a8a27c25ac35 05:53:18 ---> 8dc5a87f5c55 05:53:18 Step 7/8 : COPY . . 05:53:19 ---> 817a40c5fda9 05:53:19 Step 8/8 : RUN go mod download 05:53:19 ---> Running in c226e6a163aa 05:53:41 Removing intermediate container c226e6a163aa 05:53:41 ---> e7c0f1f24278 05:53:41 Successfully built e7c0f1f24278 05:53:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:53:42 + docker inspect -f . ci-base-image-x86_64 05:53:42 . [Pipeline] withDockerContainer 05:53:42 prd-centos7-docker-4c-2g-1086 does not seem to be running inside a container 05:53:42 $ 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:43 $ docker top b666127bc86c9f7cbf49738ea1a1e14bf781501fd10391d32ec3c1b5031d3359 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:44 + go version 05:53:44 go version go1.15.5 linux/amd64 [Pipeline] } 05:53:44 $ docker stop --time=1 b666127bc86c9f7cbf49738ea1a1e14bf781501fd10391d32ec3c1b5031d3359 05:53:45 $ docker rm -f b666127bc86c9f7cbf49738ea1a1e14bf781501fd10391d32ec3c1b5031d3359 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [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-1086 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 $ docker top ec35ef6345421b2cda71c499cea15a6b124f0b5dae60891f6262b810aeefc898 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:47 + make test 05:53:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:53:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:54:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:54:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:54:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:54:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:54:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:54:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.083s coverage: 28.1% of statements 05:54:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements 05:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.065s coverage: 7.8% of statements 05:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 32.0% of statements 05:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:54:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1088 in /w/workspace/dgexfoundry_device-sdk-go_PR-888 [Pipeline] { [Pipeline] ws 05:54:20 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.1% of statements 05:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.219s coverage: 6.6% of statements 05:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 05:54:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:54:21 GO111MODULE=on go vet ./... 05:54:26 using credential edgex-jenkins-ssh 05:54:26 Cloning the remote Git repository 05:54:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:54:26 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:54:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:54:26 > git --version # timeout=10 05:54:26 > git --version # 'git version 2.17.1' 05:54:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:54:28 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 98a5cb813bc17f1c30a83f261e888554777b499f 05:54:29 Merge succeeded, producing 98a5cb813bc17f1c30a83f261e888554777b499f 05:54:29 Checking out Revision 98a5cb813bc17f1c30a83f261e888554777b499f (PR-888) 05:54:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:54:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:54:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/888/head:refs/remotes/origin/PR-888 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:54:28 > git config core.sparsecheckout # timeout=10 05:54:28 > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 05:54:28 > git remote # timeout=10 05:54:28 > git config --get remote.origin.url # timeout=10 05:54:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:29 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 05:54:29 > git rev-parse HEAD^{commit} # timeout=10 05:54:29 > git config core.sparsecheckout # timeout=10 05:54:29 > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 05:54:33 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:54:33 > git --version # timeout=10 05:54:33 > git --version # 'git version 2.17.1' 05:54:33 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:54:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:54:35 + + sudo service dockertrue restart 05:54:35 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:54:37 provisioning config files... 05:54:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5862070341084312220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:38 ---> docker-login.sh 05:54:38 nexus3.edgexfoundry.org:10001 05:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:39 Configure a credential helper to remove this warning. See 05:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:39 05:54:39 Login Succeeded 05:54:39 nexus3.edgexfoundry.org:10002 05:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:40 Configure a credential helper to remove this warning. See 05:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:40 05:54:40 Login Succeeded 05:54:40 nexus3.edgexfoundry.org:10003 05:54:40 gofmt -l . 05:54:40 [ "`gofmt -l .`" = "" ] 05:54:40 ./bin/test-attribution-txt.sh 05:54:40 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:54:40 $ docker stop --time=1 ec35ef6345421b2cda71c499cea15a6b124f0b5dae60891f6262b810aeefc898 05:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:40 Configure a credential helper to remove this warning. See 05:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:40 05:54:40 Login Succeeded 05:54:40 nexus3.edgexfoundry.org:10004 05:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:41 Configure a credential helper to remove this warning. See 05:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:41 05:54:41 Login Succeeded 05:54:41 docker.io 05:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:41 Configure a credential helper to remove this warning. See 05:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:41 05:54:41 Login Succeeded 05:54:41 ---> docker-login.sh ends 05:54:41 $ docker rm -f ec35ef6345421b2cda71c499cea15a6b124f0b5dae60891f6262b810aeefc898 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 05:54:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:54:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 05:54:42 ========================================================= 05:54:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:54:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:54:43 + 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:54:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:54:43 Sending build context to Docker daemon 2.461MB 05:54:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:54:43 Step 2/8 : FROM ${BASE} 05:54:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:54:43 5f621e34cdf4: Pulling fs layer 05:54:43 a4357932f1b6: Pulling fs layer 05:54:43 18c013af1878: Pulling fs layer 05:54:43 00ac8860ef70: Pulling fs layer 05:54:43 63d7cb157983: Pulling fs layer 05:54:43 b116817d02f9: Pulling fs layer 05:54:43 745a02a5169b: Pulling fs layer 05:54:43 b116817d02f9: Waiting 05:54:43 745a02a5169b: Waiting 05:54:43 63d7cb157983: Waiting 05:54:43 18c013af1878: Download complete 05:54:43 a4357932f1b6: Verifying Checksum 05:54:43 a4357932f1b6: Download complete 05:54:43 63d7cb157983: Verifying Checksum 05:54:43 63d7cb157983: Download complete 05:54:43 b116817d02f9: Download complete 05:54:43 5f621e34cdf4: Verifying Checksum 05:54:43 5f621e34cdf4: Download complete 05:54:44 5f621e34cdf4: Pull complete 05:54:45 a4357932f1b6: Pull complete [Pipeline] sh 05:54:45 18c013af1878: Pull complete 05:54:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:46 745a02a5169b: Verifying Checksum 05:54:46 745a02a5169b: Download complete 05:54:46 + ls -al . 05:54:46 total 188 05:54:46 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 20 05:54 . 05:54:46 drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 05:52 .. 05:54:46 drwxrwxr-x. 2 jenkins jenkins 64 Apr 20 05:52 bin 05:54:46 -rw-r--r--. 1 jenkins jenkins 100117 Apr 20 05:54 coverage.out 05:54:46 -rw-rw-r--. 1 jenkins jenkins 987 Apr 20 05:52 Dockerfile.build 05:54:46 -rw-rw-r--. 1 jenkins jenkins 140 Apr 20 05:52 .dockerignore 05:54:46 drwxrwxr-x. 5 jenkins jenkins 62 Apr 20 05:52 example 05:54:46 drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 05:52 .git 05:54:46 drwxrwxr-x. 2 jenkins jenkins 103 Apr 20 05:52 .github 05:54:46 -rw-rw-r--. 1 jenkins jenkins 138 Apr 20 05:52 .gitignore 05:54:46 -rw-r--r--. 1 jenkins jenkins 575 Apr 20 05:54 go.mod 05:54:46 -rw-r--r--. 1 jenkins jenkins 20737 Apr 20 05:54 go.sum 05:54:46 drwxrwxr-x. 14 jenkins jenkins 207 Apr 20 05:52 internal 05:54:46 -rw-rw-r--. 1 jenkins jenkins 901 Apr 20 05:52 Jenkinsfile 05:54:46 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 20 05:52 LICENSE 05:54:46 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 20 05:52 Makefile 05:54:46 drwxrwxr-x. 4 jenkins jenkins 26 Apr 20 05:52 openapi 05:54:46 drwxrwxr-x. 5 jenkins jenkins 50 Apr 20 05:52 pkg 05:54:46 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 20 05:52 README.md 05:54:46 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 20 05:52 RELEASE-NOTES.txt 05:54:46 drwxrwxr-x. 4 jenkins jenkins 54 Apr 20 05:52 snap 05:54:46 -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 05:51 VERSION 05:54:46 -rw-rw-r--. 1 jenkins jenkins 222 Apr 20 05:52 version.go [Pipeline] isUnix [Pipeline] sh 05:54:46 + 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=98a5cb813bc17f1c30a83f261e888554777b499f --label arch=amd64 --label version=0.0.0 . 05:54:46 Sending build context to Docker daemon 2.563MB 05:54:46 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:54:46 Step 2/23 : FROM ${BASE} AS builder 05:54:46 ---> e7c0f1f24278 05:54:46 Step 3/23 : WORKDIR /device-sdk-go 05:54:47 ---> Running in 48089ef1e178 05:54:47 Removing intermediate container 48089ef1e178 05:54:47 ---> 7a1376e71288 05:54:47 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:47 ---> Running in 85b9a5f2827e 05:54:47 Removing intermediate container 85b9a5f2827e 05:54:47 ---> ba50c5b62724 05:54:47 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:47 00ac8860ef70: Verifying Checksum 05:54:47 00ac8860ef70: Download complete 05:54:47 ---> Running in 270023cfdaf6 05:54:48 Removing intermediate container 270023cfdaf6 05:54:48 ---> b9aa94bdfb20 05:54:48 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:54:48 ---> Running in a3aa7f25503c 05:54:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:54:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:54:50 OK: 167 MiB in 45 packages 05:54:50 Removing intermediate container a3aa7f25503c 05:54:50 ---> 1c7a8cd4be50 05:54:50 Step 7/23 : COPY . . 05:54:52 ---> 907731a99f7c 05:54:52 Step 8/23 : RUN go mod download 05:54:52 ---> Running in f33e124fc8f6 05:54:53 Removing intermediate container f33e124fc8f6 05:54:53 ---> 933cbecec2d2 05:54:53 Step 9/23 : RUN make build 05:54:53 ---> Running in d0402281b78b 05:54:53 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:54:57 00ac8860ef70: Pull complete 05:54:57 63d7cb157983: Pull complete 05:54:57 b116817d02f9: Pull complete 05:55:02 745a02a5169b: Pull complete 05:55:02 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:55:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:55:02 ---> b7e6874047d6 05:55:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:04 ---> Running in 4279ffc701fd 05:55:04 Removing intermediate container 4279ffc701fd 05:55:04 ---> 99f910af17d6 05:55:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:04 ---> Running in ec77695fe80a 05:55:07 Removing intermediate container ec77695fe80a 05:55:07 ---> c1f7477b6060 05:55:07 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:55:07 ---> Running in 1374934dd341 05:55:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:55:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:55:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:55:09 Removing intermediate container d0402281b78b 05:55:09 ---> f3cc8b34c820 05:55:09 Step 10/23 : FROM alpine:3.12 05:55:09 3.12: Pulling from library/alpine 05:55:09 339de151aab4: Pulling fs layer 05:55:09 339de151aab4: Verifying Checksum 05:55:09 339de151aab4: Download complete 05:55:09 339de151aab4: Pull complete 05:55:10 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:55:10 Status: Downloaded newer image for alpine:3.12 05:55:10 ---> 13621d1b12d4 05:55:10 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:10 ---> Running in e30693cb8b01 05:55:10 (1/6) Installing libc-dev (0.7.2-r3) 05:55:10 (2/6) Installing libsodium (1.0.18-r0) 05:55:10 (3/6) Installing pkgconf (1.7.2-r0) 05:55:10 (4/6) Installing libsodium-dev (1.0.18-r0) 05:55:10 Removing intermediate container e30693cb8b01 05:55:10 ---> 11c7f6c43869 05:55:10 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:10 ---> Running in 3998911d61ad 05:55:10 (5/6) Installing libzmq (4.3.3-r0) 05:55:10 (6/6) Installing zeromq-dev (4.3.3-r0) 05:55:10 Executing busybox-1.31.1-r19.trigger 05:55:11 OK: 144 MiB in 45 packages 05:55:11 Removing intermediate container 3998911d61ad 05:55:11 ---> 8465a2e3ef27 05:55:11 Step 13/23 : RUN apk add --update --no-cache zeromq 05:55:11 ---> Running in 1b2b0766a95a 05:55:12 Removing intermediate container 1374934dd341 05:55:12 ---> 3fb0e4347d5e 05:55:12 Step 6/8 : WORKDIR /device-sdk-go 05:55:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:12 ---> Running in 087623bbadc1 05:55:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:12 Removing intermediate container 087623bbadc1 05:55:12 ---> 57ff33cb3abf 05:55:12 Step 7/8 : COPY . . 05:55:13 (1/5) Installing libgcc (9.3.0-r2) 05:55:13 (2/5) Installing libsodium (1.0.18-r0) 05:55:13 (3/5) Installing libstdc++ (9.3.0-r2) 05:55:13 (4/5) Installing libzmq (4.3.3-r0) 05:55:13 (5/5) Installing zeromq (4.3.3-r0) 05:55:13 ---> 134b5e955654 05:55:13 Step 8/8 : RUN go mod download 05:55:14 Executing busybox-1.31.1-r20.trigger 05:55:14 OK: 8 MiB in 19 packages 05:55:14 ---> Running in 32d757b0eb98 05:55:14 Removing intermediate container 1b2b0766a95a 05:55:14 ---> 1a93df0d4c93 05:55:14 Step 14/23 : WORKDIR / 05:55:14 ---> Running in 06e7f355adc9 05:55:14 Removing intermediate container 06e7f355adc9 05:55:14 ---> fd9060e3f14d 05:55:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:55:15 ---> 951eb641bc9e 05:55:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:55:15 ---> f391136b747a 05:55:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:55:15 ---> c2502aec0917 05:55:15 Step 18/23 : EXPOSE 49990 05:55:15 ---> Running in 5daa9ef50b5c 05:55:15 Removing intermediate container 5daa9ef50b5c 05:55:15 ---> 8e4dcfcaf335 05:55:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:55:16 ---> Running in 028caf14a316 05:55:16 Removing intermediate container 028caf14a316 05:55:16 ---> d6b2cb6df51f 05:55:16 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:55:16 ---> Running in 87973a817ae6 05:55:16 Removing intermediate container 87973a817ae6 05:55:16 ---> a5ccc7850727 05:55:16 Step 21/23 : LABEL arch=amd64 05:55:16 ---> Running in b2db6c09e694 05:55:16 Removing intermediate container b2db6c09e694 05:55:16 ---> c3749a1b7669 05:55:16 Step 22/23 : LABEL git_sha=98a5cb813bc17f1c30a83f261e888554777b499f 05:55:16 ---> Running in efd44c5755d4 05:55:17 Removing intermediate container efd44c5755d4 05:55:17 ---> b73f43be1091 05:55:17 Step 23/23 : LABEL version=0.0.0 05:55:17 ---> Running in b6470b0da831 05:55:17 Removing intermediate container b6470b0da831 05:55:17 ---> 0a026d7041f7 05:55:17 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:55:17 Successfully built 0a026d7041f7 05:55:17 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:18 ---> job-cost.sh 05:55:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yiOj 05:55:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:55:40 Removing intermediate container 32d757b0eb98 05:55:40 ---> e6cf703cf721 05:55:40 Successfully built e6cf703cf721 05:55:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:55:41 + docker inspect -f . ci-base-image-arm64 05:55:41 . [Pipeline] withDockerContainer 05:55:41 prd-ubuntu18.04-docker-arm64-4c-16g-1088 does not seem to be running inside a container 05:55:41 $ 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:55:43 $ docker top 185f076528f483a78e1af1d3336f958973eec94c3a2637278cdcfa201cb53f57 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:44 + go version 05:55:44 go version go1.15.5 linux/arm64 [Pipeline] } 05:55:44 $ docker stop --time=1 185f076528f483a78e1af1d3336f958973eec94c3a2637278cdcfa201cb53f57 05:55:46 $ docker rm -f 185f076528f483a78e1af1d3336f958973eec94c3a2637278cdcfa201cb53f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:55:47 + docker inspect -f . ci-base-image-arm64 05:55:47 . [Pipeline] withDockerContainer 05:55:47 prd-ubuntu18.04-docker-arm64-4c-16g-1088 does not seem to be running inside a container 05:55:47 $ 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:55:49 $ docker top eeecf86a31b1b31bacb50d8aa27e280613252261f0830c439d92d177f2f309e1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:50 + make test 05:55:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:56:08 lf-activate-venv(): INFO: Adding /tmp/venv-yiOj/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:08 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:56:08 + cut -d, -f6 [Pipeline] lock 05:56:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] 05:56:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] did not exist. Created. 05:56:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-888-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-888-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:56:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:57:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:57:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:57:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:57:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:57:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.168s coverage: 28.1% of statements 05:57:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.182s coverage: 78.9% of statements 05:57:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.182s coverage: 7.8% of statements 05:57:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:57:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:57:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:57:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.306s coverage: 32.0% of statements 05:57:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:57:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:57:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:57:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.315s coverage: 57.1% of statements 05:57:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.101s coverage: 6.6% of statements 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 05:57:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:57:18 GO111MODULE=on go vet ./... 05:58:05 gofmt -l . 05:58:05 [ "`gofmt -l .`" = "" ] 05:58:05 ./bin/test-attribution-txt.sh 05:58:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:58:06 $ docker stop --time=1 eeecf86a31b1b31bacb50d8aa27e280613252261f0830c439d92d177f2f309e1 05:58:08 $ docker rm -f eeecf86a31b1b31bacb50d8aa27e280613252261f0830c439d92d177f2f309e1 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:58:09 Warning: overwriting stash ‘coverage-report’ 05:58:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:11 + ls -al . 05:58:11 total 224 05:58:11 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 05:58 . 05:58:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:54 .. 05:58:11 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 05:54 .dockerignore 05:58:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 05:54 .git 05:58:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:54 .github 05:58:11 -rw-rw-r-- 1 jenkins jenkins 138 Apr 20 05:54 .gitignore 05:58:11 -rw-rw-r-- 1 jenkins jenkins 987 Apr 20 05:54 Dockerfile.build 05:58:11 -rw-rw-r-- 1 jenkins jenkins 901 Apr 20 05:54 Jenkinsfile 05:58:11 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 05:54 LICENSE 05:58:11 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 20 05:54 Makefile 05:58:11 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 20 05:54 README.md 05:58:11 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 20 05:54 RELEASE-NOTES.txt 05:58:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 05:51 VERSION 05:58:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:54 bin 05:58:11 -rw-r--r-- 1 jenkins jenkins 100117 Apr 20 05:57 coverage.out 05:58:11 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:54 example 05:58:11 -rw-r--r-- 1 jenkins jenkins 575 Apr 20 05:58 go.mod 05:58:11 -rw-r--r-- 1 jenkins jenkins 20737 Apr 20 05:58 go.sum 05:58:11 drwxrwxr-x 14 jenkins jenkins 4096 Apr 20 05:54 internal 05:58:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:54 openapi 05:58:11 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:54 pkg 05:58:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:54 snap 05:58:11 -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 05:54 version.go [Pipeline] isUnix [Pipeline] sh 05:58:11 + 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=98a5cb813bc17f1c30a83f261e888554777b499f --label arch=arm64 --label version=0.0.0 . 05:58:12 Sending build context to Docker daemon 2.562MB 05:58:12 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:58:12 Step 2/23 : FROM ${BASE} AS builder 05:58:12 ---> e6cf703cf721 05:58:12 Step 3/23 : WORKDIR /device-sdk-go 05:58:12 ---> Running in ede8411e9341 05:58:13 Removing intermediate container ede8411e9341 05:58:13 ---> d6900ed2ab22 05:58:13 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:13 ---> Running in a59545b5f697 05:58:13 Removing intermediate container a59545b5f697 05:58:13 ---> 0ddb711be9ca 05:58:13 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:13 ---> Running in 46bd94209110 05:58:16 Removing intermediate container 46bd94209110 05:58:16 ---> 46789c925a14 05:58:16 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:58:16 ---> Running in e17be3305c8d 05:58:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:58:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:58:19 OK: 144 MiB in 45 packages 05:58:20 Removing intermediate container e17be3305c8d 05:58:20 ---> 867a4ce265eb 05:58:20 Step 7/23 : COPY . . 05:58:21 ---> 08bbe8316437 05:58:21 Step 8/23 : RUN go mod download 05:58:21 ---> Running in 50ba07738088 05:58:24 Removing intermediate container 50ba07738088 05:58:24 ---> 080dfe5e746b 05:58:24 Step 9/23 : RUN make build 05:58:24 ---> Running in 93fcacdd4e07 05:58:25 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:59:04 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:59:04 Removing intermediate container 93fcacdd4e07 05:59:04 ---> 83d6ded055f2 05:59:04 Step 10/23 : FROM alpine:3.12 05:59:04 3.12: Pulling from library/alpine 05:59:04 d2f70382dc9a: Pulling fs layer 05:59:04 d2f70382dc9a: Verifying Checksum 05:59:04 d2f70382dc9a: Download complete 05:59:04 d2f70382dc9a: Pull complete 05:59:04 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:59:04 Status: Downloaded newer image for alpine:3.12 05:59:04 ---> 9852663dfa18 05:59:04 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:04 ---> Running in f02e08f9c204 05:59:04 Removing intermediate container f02e08f9c204 05:59:04 ---> 6264453cc49c 05:59:04 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:04 ---> Running in 73aa64442077 05:59:06 Removing intermediate container 73aa64442077 05:59:06 ---> 5769f92c8e7b 05:59:06 Step 13/23 : RUN apk add --update --no-cache zeromq 05:59:06 ---> Running in 78d34db6fbae 05:59:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:59:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:59:09 (1/5) Installing libgcc (9.3.0-r2) 05:59:09 (2/5) Installing libsodium (1.0.18-r0) 05:59:09 (3/5) Installing libstdc++ (9.3.0-r2) 05:59:09 (4/5) Installing libzmq (4.3.3-r0) 05:59:09 (5/5) Installing zeromq (4.3.3-r0) 05:59:09 Executing busybox-1.31.1-r20.trigger 05:59:09 OK: 8 MiB in 19 packages 05:59:11 Removing intermediate container 78d34db6fbae 05:59:11 ---> ff8725ee099c 05:59:11 Step 14/23 : WORKDIR / 05:59:11 ---> Running in a7cc498aa886 05:59:11 Removing intermediate container a7cc498aa886 05:59:11 ---> bdb5bfb56090 05:59:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:59:12 ---> c461eb5f23dc 05:59:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:59:13 ---> aeffde16524b 05:59:13 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:59:14 ---> 290d6bb7e5aa 05:59:14 Step 18/23 : EXPOSE 49990 05:59:14 ---> Running in e1f11d737bed 05:59:15 Removing intermediate container e1f11d737bed 05:59:15 ---> dc64bbdf2dc0 05:59:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:59:15 ---> Running in 820623d353a8 05:59:15 Removing intermediate container 820623d353a8 05:59:15 ---> 354e619acb83 05:59:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:59:15 ---> Running in 8520085cac15 05:59:16 Removing intermediate container 8520085cac15 05:59:16 ---> 85fe04e8388f 05:59:16 Step 21/23 : LABEL arch=arm64 05:59:16 ---> Running in 81aa58549ea6 05:59:17 Removing intermediate container 81aa58549ea6 05:59:17 ---> 1c566fd2ffcc 05:59:17 Step 22/23 : LABEL git_sha=98a5cb813bc17f1c30a83f261e888554777b499f 05:59:17 ---> Running in f705de4046b9 05:59:17 Removing intermediate container f705de4046b9 05:59:17 ---> c4ef0989f478 05:59:17 Step 23/23 : LABEL version=0.0.0 05:59:17 ---> Running in c6dff2501b45 05:59:18 Removing intermediate container c6dff2501b45 05:59:18 ---> 503e952af8d5 05:59:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:59:18 Successfully built 503e952af8d5 05:59:18 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:59:18 ---> job-cost.sh 05:59:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-x5ea 06:00:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:02:13 lf-activate-venv(): INFO: Adding /tmp/venv-x5ea/bin to PATH 06:02:13 INFO: No Stack... 06:02:13 INFO: Retrieving Pricing Info for: lf-standard-4 06:02:13 INFO: Archiving Costs [Pipeline] sh 06:02:13 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:02:13 + cut -d, -f6 [Pipeline] lock 06:02:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] 06:02:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] did not exist. Created. 06:02:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:14 /w/workspace/device-sdk-go/1@tmp/durable-b9752e88/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-b9752e88/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:02:14 + echo total: 0.20999999344348907 [Pipeline] stash 06:02:14 Warning: overwriting stash ‘stack-cost’ 06:02:14 Stashed 1 file(s) [Pipeline] } 06:02:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-888-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:02:15 provisioning config files... 06:02:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/config2964210400437956778tmp [Pipeline] { [Pipeline] sh 06:02:16 + set +x 06:02:16 + curl -s https://codecov.io/bash 06:02:16 + bash -s -- 06:02:16 06:02:16 _____ _ 06:02:16 / ____| | | 06:02:16 | | ___ __| | ___ ___ _____ __ 06:02:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:02:16 | |___| (_) | (_| | __/ (_| (_) \ V / 06:02:16 \_____\___/ \__,_|\___|\___\___/ \_/ 06:02:16 Bash-1.0.1 06:02:16 06:02:16 06:02:16 ==> git version 2.24.3 found 06:02:16 ==> 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:02:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:02:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:02:16 ==> Jenkins CI detected. 06:02:16 project root: . 06:02:16 --> token set from env 06:02:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:02:16 ==> Running gcov in . (disable via -X gcov) 06:02:16 ==> Python coveragepy not found 06:02:16 ==> Searching for coverage reports in: 06:02:16 + . 06:02:16 -> Found 1 reports 06:02:16 ==> Detecting git/mercurial file structure 06:02:16 ==> Reading reports 06:02:16 + ./coverage.out bytes=100117 06:02:16 ==> Appending adjustments 06:02:16 https://docs.codecov.io/docs/fixing-reports 06:02:16 + Found adjustments 06:02:16 ==> Gzipping contents 06:02:16 16K /tmp/codecov.VsJXVj.gz 06:02:16 ==> Uploading reports 06:02:16 url: https://codecov.io 06:02:16 query: branch=PR-888&commit=98a5cb813bc17f1c30a83f261e888554777b499f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-888%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=888&job=&cmd_args= 06:02:16 -> Pinging Codecov 06:02:16 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-888&commit=98a5cb813bc17f1c30a83f261e888554777b499f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-888%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=888&job=&cmd_args= 06:02:18 -> Uploading to 06:02:18 https://storage.googleapis.com/codecov/v4/raw/2021-04-20/7E55EF52A471D76F132DFD9A03CDDE97/98a5cb813bc17f1c30a83f261e888554777b499f/b4e50dd6-ac3b-4627-ab1c-9e0d239008c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210420T060217Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12fbfafc5057a499059f666da4b14c9c571f1a4d8b8c7ba656fde11370cfa355 06:02:18 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:18 Dload Upload Total Spent Left Speed 06:02:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13516 0 0 100 13516 0 33337 --:--:-- --:--:-- --:--:-- 33372 06:02:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/98a5cb813bc17f1c30a83f261e888554777b499f [Pipeline] } 06:02:18 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:02:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:02:21 ---> package-listing.sh 06:02:21 ++ tr '[:upper:]' '[:lower:]' 06:02:21 ++ facter osfamily 06:02:21 + OS_FAMILY=redhat 06:02:21 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-888 06:02:21 + START_PACKAGES=/tmp/packages_start.txt 06:02:21 + END_PACKAGES=/tmp/packages_end.txt 06:02:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:02:21 + PACKAGES=/tmp/packages_start.txt 06:02:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-888 ']' 06:02:21 + PACKAGES=/tmp/packages_end.txt 06:02:21 + case "${OS_FAMILY}" in 06:02:21 + rpm -qa 06:02:21 + sort 06:02:26 + '[' -f /tmp/packages_start.txt ']' 06:02:26 + '[' -f /tmp/packages_end.txt ']' 06:02:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:02:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-888 ']' 06:02:26 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-888/archives/ 06:02:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-888/archives/ [Pipeline] echo 06:02:26 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-888/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:02:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:02:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:27 06:02:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:02:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:27 alpine: Pulling from edgex-lftools-log-publisher 06:02:27 df20fa9351a1: Pulling fs layer 06:02:27 36b3adc4ff6f: Pulling fs layer 06:02:27 8ad3a11d3b57: Pulling fs layer 06:02:27 46f8f816bc3b: Pulling fs layer 06:02:27 93b61091891f: Pulling fs layer 06:02:27 93b9cdb0e59b: Pulling fs layer 06:02:27 5e14af77c1be: Pulling fs layer 06:02:27 01666e4c0597: Pulling fs layer 06:02:27 aa168da1d23b: Pulling fs layer 06:02:27 46f8f816bc3b: Waiting 06:02:27 93b61091891f: Waiting 06:02:27 93b9cdb0e59b: Waiting 06:02:27 5e14af77c1be: Waiting 06:02:27 01666e4c0597: Waiting 06:02:27 aa168da1d23b: Waiting 06:02:27 36b3adc4ff6f: Verifying Checksum 06:02:27 36b3adc4ff6f: Download complete 06:02:27 46f8f816bc3b: Verifying Checksum 06:02:27 46f8f816bc3b: Download complete 06:02:27 df20fa9351a1: Verifying Checksum 06:02:27 df20fa9351a1: Download complete 06:02:27 93b9cdb0e59b: Verifying Checksum 06:02:27 93b9cdb0e59b: Download complete 06:02:27 5e14af77c1be: Verifying Checksum 06:02:27 5e14af77c1be: Download complete 06:02:27 93b61091891f: Download complete 06:02:27 01666e4c0597: Download complete 06:02:27 8ad3a11d3b57: Verifying Checksum 06:02:27 8ad3a11d3b57: Download complete 06:02:28 df20fa9351a1: Pull complete 06:02:28 36b3adc4ff6f: Pull complete 06:02:30 aa168da1d23b: Verifying Checksum 06:02:30 aa168da1d23b: Download complete 06:02:30 8ad3a11d3b57: Pull complete 06:02:30 46f8f816bc3b: Pull complete 06:02:30 93b61091891f: Pull complete 06:02:31 93b9cdb0e59b: Pull complete 06:02:31 5e14af77c1be: Pull complete 06:02:31 01666e4c0597: Pull complete 06:02:39 aa168da1d23b: Pull complete 06:02:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:02:39 prd-centos7-docker-4c-2g-1081 does not seem to be running inside a container 06:02:39 $ 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-888/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-888 -v /w/workspace/dgexfoundry_device-sdk-go_PR-888:/w/workspace/dgexfoundry_device-sdk-go_PR-888:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-888@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:02:43 $ docker top e5143e3c44183fcc09ea0efd8e61813ff24cad23146a4ea3bdfe579c9332f11d -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:43 + touch /tmp/pre-build-complete [Pipeline] sh 06:02:44 + mkdir -p /var/log/sa [Pipeline] sh 06:02:44 + ls /var/log/sa-host 06:02:44 + sadf -c /var/log/sa-host/sa20 06:02:44 file_magic: OK 06:02:44 HZ: Using current value: 100 06:02:44 file_header: OK 06:02:44 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:02:44 Statistics: 06:02:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:02:44 File successfully converted to sysstat format version 12.2.1 06:02:44 + sadf -c /var/log/sa-host/sa23 06:02:44 file_magic: OK 06:02:44 HZ: Using current value: 100 06:02:44 file_header: OK 06:02:44 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:02:44 Statistics: 06:02:44 Hnuu...uuuununununu... 06:02:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:44 provisioning config files... 06:02:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/config3396893222114659364tmp [Pipeline] { [Pipeline] echo 06:02:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:02:45 ---> create-netrc.sh [Pipeline] } 06:02:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:02:45 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:02:45 ---> python-tools-install.sh [Pipeline] echo 06:02:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:02:45 ---> sudo-logs.sh 06:02:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:02:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:02:46 ---> job-cost.sh 06:02:46 lf-activate-venv: SKIPPING 06:02:46 DEBUG: total: 0.20999999344348907 06:02:46 INFO: Retrieving Stack Cost... 06:02:47 INFO: Retrieving Pricing Info for: v1-standard-2 06:02:47 INFO: Archiving Costs [Pipeline] echo 06:02:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:02:48 ---> logs-deploy.sh 06:02:48 lf-activate-venv: SKIPPING 06:02:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-888/1 06:02:48 INFO: archiving workspace using pattern(s): 06:02:50 Archives upload complete. 06:02:50 INFO: archiving logs to Nexus