Pull request #887 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2bb65c041a37a8504bdc98d22aea3da443584b80+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (1f1008ce6fcb93c130b9650a6e1653d110f33c5c) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 Running on prd-centos7-docker-4c-2g-1706 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 Merge succeeded, producing eb077a2e923156dfe7e56c7626544f9d712c7af1 Checking out Revision eb077a2e923156dfe7e56c7626544f9d712c7af1 (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 2bb65c041a37a8504bdc98d22aea3da443584b80 # 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb077a2e923156dfe7e56c7626544f9d712c7af1 # timeout=10 Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" > git rev-list --no-walk 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:19:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:19:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:19:27 ========================================================= 05:19:27 EdgeX Global Pipelines Version Info 05:19:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:19:29 ------------------- 05:19:29 stable info: 05:19:29 ------------------- 05:19:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:19:29 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:19:29 Message: update stable to v1.0.186 05:19:30 ------------------- 05:19:30 experimental info: 05:19:30 ------------------- 05:19:30 Commited By: **** collab-it+edgex@linuxfoundation.org 05:19:30 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 05:19:30 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:19:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb077a2e923156dfe7e56c7626544f9d712c7af1 [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb077a2 [Pipeline] echo 05:19:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:19:31 provisioning config files... 05:19:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config5306700020737514703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:31 ---> docker-login.sh 05:19:31 nexus3.edgexfoundry.org:10001 05:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:32 Configure a credential helper to remove this warning. See 05:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:32 05:19:32 Login Succeeded 05:19:32 nexus3.edgexfoundry.org:10002 05:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:32 Configure a credential helper to remove this warning. See 05:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:32 05:19:32 Login Succeeded 05:19:32 nexus3.edgexfoundry.org:10003 05:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:32 Configure a credential helper to remove this warning. See 05:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:32 05:19:32 Login Succeeded 05:19:32 nexus3.edgexfoundry.org:10004 05:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:32 Configure a credential helper to remove this warning. See 05:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:32 05:19:32 Login Succeeded 05:19:32 docker.io 05:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:33 Configure a credential helper to remove this warning. See 05:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:33 05:19:33 Login Succeeded 05:19:33 ---> docker-login.sh ends [Pipeline] } 05:19:33 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:19:33 + git log --format=format:%s -1 eb077a2e923156dfe7e56c7626544f9d712c7af1 [Pipeline] echo 05:19:33 GIT_COMMIT: eb077a2e923156dfe7e56c7626544f9d712c7af1, Commit Message: Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD [Pipeline] echo 05:19:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:19:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:19:34 05:19:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:19:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:19:34 latest: Pulling from edgex-devops/git-semver 05:19:34 31603596830f: Pulling fs layer 05:19:34 2a8b12db71e7: Pulling fs layer 05:19:34 6ca5941a6612: Pulling fs layer 05:19:34 ecc8261a40a4: Pulling fs layer 05:19:34 ecc8261a40a4: Waiting 05:19:34 2a8b12db71e7: Verifying Checksum 05:19:34 2a8b12db71e7: Download complete 05:19:34 31603596830f: Verifying Checksum 05:19:34 31603596830f: Download complete 05:19:34 ecc8261a40a4: Verifying Checksum 05:19:34 ecc8261a40a4: Download complete 05:19:34 6ca5941a6612: Verifying Checksum 05:19:34 6ca5941a6612: Download complete 05:19:35 31603596830f: Pull complete 05:19:35 2a8b12db71e7: Pull complete 05:19:35 6ca5941a6612: Pull complete 05:19:36 ecc8261a40a4: Pull complete 05:19:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:19:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:19:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:19:36 prd-centos7-docker-4c-2g-1706 does not seem to be running inside a container 05:19:36 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:19:38 $ docker top 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:38 [ssh-agent] Looking for ssh-agent implementation... 05:19:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:39 $ docker exec 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca ssh-agent 05:19:39 SSH_AUTH_SOCK=/tmp/ssh-bcVVyJmrX843/agent.12 05:19:39 SSH_AGENT_PID=17 05:19:39 Running ssh-add (command line suppressed) 05:19:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_1963334795941441564.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_1963334795941441564.key) 05:19:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:39 + git tag --points-at HEAD [Pipeline] } 05:19:39 $ docker exec --env ******** --env ******** 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca ssh-agent -k 05:19:39 unset SSH_AUTH_SOCK; 05:19:39 unset SSH_AGENT_PID; 05:19:39 echo Agent pid 17 killed; 05:19:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:19:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:40 [ssh-agent] Looking for ssh-agent implementation... 05:19:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:40 $ docker exec 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca ssh-agent 05:19:40 SSH_AUTH_SOCK=/tmp/ssh-bT2Chuq6sWZo/agent.48 05:19:40 SSH_AGENT_PID=54 05:19:40 Running ssh-add (command line suppressed) 05:19:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6818507477038911239.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6818507477038911239.key) 05:19:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:40 + git semver init 05:19:40 # -> Open(): unable to determine branch for HEAD 05:19:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git 05:19:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 05:19:40 # $SEMVER_REMOTE_NAME = origin 05:19:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:19:40 # $SEMVER_USER_NAME = edgex-jenkins 05:19:40 # $SEMVER_BRANCH = PR-887 05:19:40 # $SEMVER_TEMP = /tmp/semver-980737666 05:19:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:19:41 # '/tmp/semver-980737666' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' 05:19:41 # -> Force: false 05:19:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } 05:19:41 $ docker exec --env ******** --env ******** 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca ssh-agent -k 05:19:42 unset SSH_AUTH_SOCK; 05:19:42 unset SSH_AGENT_PID; 05:19:42 echo Agent pid 54 killed; 05:19:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:19:42 + git semver [Pipeline] } 05:19:42 $ docker stop --time=1 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca 05:19:44 $ docker rm -f 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca [Pipeline] // withDockerContainer [Pipeline] sh 05:19:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:19:44 Stashed 1 file(s) [Pipeline] echo 05:19:44 [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:19:59 Still waiting to schedule task 05:19:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:19:59 Still waiting to schedule task 05:19:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:22:54 Running on prd-centos7-docker-4c-2g-1709 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 05:22:54 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 05:22:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1710 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 05:22:58 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 05:23:04 using credential edgex-jenkins-ssh 05:23:04 Cloning the remote Git repository 05:23:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:23:05 > git init /w/workspace/device-sdk-go/3 # timeout=10 05:23:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:23:05 > git --version # timeout=10 05:23:05 > git --version # 'git version 2.17.1' 05:23:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:23:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:23:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:23:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23: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:23:07 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 05:23:07 Merge succeeded, producing fd43e3e8565974ae1fc4910b8d7703e23da3450b 05:23:07 Checking out Revision fd43e3e8565974ae1fc4910b8d7703e23da3450b (PR-887) 05:23:07 > git config core.sparsecheckout # timeout=10 05:23:07 > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 05:23:07 > git remote # timeout=10 05:23:07 > git config --get remote.origin.url # timeout=10 05:23:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:07 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 05:23:07 > git rev-parse HEAD^{commit} # timeout=10 05:23:07 > git config core.sparsecheckout # timeout=10 05:23:07 > git checkout -f fd43e3e8565974ae1fc4910b8d7703e23da3450b # timeout=10 05:23:08 using credential edgex-jenkins-ssh 05:23:08 Cloning the remote Git repository 05:23:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:23:08 > git init /w/workspace/device-sdk-go/3 # timeout=10 05:23:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:23:08 > git --version # timeout=10 05:23:08 > git --version # 'git version 2.24.3' 05:23:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:11 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 05:23:11 Merge succeeded, producing e078741704480f7bd5225bb2dfefbffa46ae30ff 05:23:11 Checking out Revision e078741704480f7bd5225bb2dfefbffa46ae30ff (PR-887) 05:23:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:23:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:23:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:23:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:10 > 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:23:11 > git config core.sparsecheckout # timeout=10 05:23:11 > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 05:23:11 > git remote # timeout=10 05:23:11 > git config --get remote.origin.url # timeout=10 05:23:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:11 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 05:23:11 > git rev-parse HEAD^{commit} # timeout=10 05:23:11 > git config core.sparsecheckout # timeout=10 05:23:11 > git checkout -f e078741704480f7bd5225bb2dfefbffa46ae30ff # timeout=10 05:23:11 Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" 05:23:11 > git rev-list --no-walk 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:23:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:23:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:23:14 + sudo+ service docker restart 05:23:14 true 05:23:15 Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" 05:23:15 > git rev-list --no-walk 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:23:16 provisioning config files... 05:23:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8739209946053326940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:23:17 ---> docker-login.sh 05:23:17 nexus3.edgexfoundry.org:10001 05:23:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:23:17 + true 05:23:17 + sudo service docker restart 05:23:17 Redirecting to /bin/systemctl restart docker.service 05:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:18 Configure a credential helper to remove this warning. See 05:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:18 05:23:18 Login Succeeded 05:23:18 nexus3.edgexfoundry.org:10002 05:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:19 Configure a credential helper to remove this warning. See 05:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:19 05:23:19 Login Succeeded 05:23:19 nexus3.edgexfoundry.org:10003 05:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:19 Configure a credential helper to remove this warning. See 05:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:19 05:23:19 Login Succeeded 05:23:19 nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:23:19 provisioning config files... 05:23:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config254185435523631791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:20 ---> docker-login.sh 05:23:20 nexus3.edgexfoundry.org:10001 05:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:20 Configure a credential helper to remove this warning. See 05:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:20 05:23:20 Login Succeeded 05:23:20 docker.io 05:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:20 Configure a credential helper to remove this warning. See 05:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:20 05:23:20 Login Succeeded 05:23:20 nexus3.edgexfoundry.org:10002 05:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:21 Configure a credential helper to remove this warning. See 05:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:21 05:23:21 Login Succeeded 05:23:21 nexus3.edgexfoundry.org:10003 05:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:21 Configure a credential helper to remove this warning. See 05:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:21 05:23:21 Login Succeeded 05:23:21 ---> docker-login.sh ends [Pipeline] } 05:23:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:21 Configure a credential helper to remove this warning. See 05:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:21 05:23:21 Login Succeeded 05:23:21 nexus3.edgexfoundry.org:10004 [Pipeline] echo 05:23:21 ========================================================= 05:23:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:23:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:21 Configure a credential helper to remove this warning. See 05:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:21 05:23:21 Login Succeeded 05:23:21 docker.io 05:23:21 + 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:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:22 Configure a credential helper to remove this warning. See 05:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:22 05:23:22 Login Succeeded 05:23:22 ---> docker-login.sh ends [Pipeline] } 05:23:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:23:22 Sending build context to Docker daemon 2.464MB 05:23:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:23:22 Step 2/8 : FROM ${BASE} 05:23:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:23:22 5f621e34cdf4: Pulling fs layer 05:23:22 a4357932f1b6: Pulling fs layer 05:23:22 18c013af1878: Pulling fs layer 05:23:22 00ac8860ef70: Pulling fs layer 05:23:22 63d7cb157983: Pulling fs layer 05:23:22 b116817d02f9: Pulling fs layer 05:23:22 745a02a5169b: Pulling fs layer 05:23:22 00ac8860ef70: Waiting 05:23:22 63d7cb157983: Waiting 05:23:22 b116817d02f9: Waiting 05:23:22 745a02a5169b: Waiting 05:23:22 18c013af1878: Verifying Checksum 05:23:22 18c013af1878: Download complete 05:23:22 a4357932f1b6: Verifying Checksum 05:23:22 a4357932f1b6: Download complete 05:23:22 63d7cb157983: Verifying Checksum 05:23:22 63d7cb157983: Download complete 05:23:22 b116817d02f9: Verifying Checksum 05:23:22 b116817d02f9: Download complete 05:23:22 5f621e34cdf4: Verifying Checksum 05:23:22 5f621e34cdf4: Download complete [Pipeline] echo 05:23:22 ========================================================= 05:23:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:23:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:23:23 + 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:23:23 Sending build context to Docker daemon 2.465MB 05:23:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:23:23 Step 2/8 : FROM ${BASE} 05:23:23 5f621e34cdf4: Pull complete 05:23:23 a4357932f1b6: Pull complete 05:23:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:23:23 188c0c94c7c5: Pulling fs layer 05:23:23 0ef7d3d256c8: Pulling fs layer 05:23:23 de9db76c5a1d: Pulling fs layer 05:23:23 bca2f99d35d6: Pulling fs layer 05:23:23 93359f2a8cfa: Pulling fs layer 05:23:23 7c6f9722023f: Pulling fs layer 05:23:23 a35cf1a2eb13: Pulling fs layer 05:23:23 bca2f99d35d6: Waiting 05:23:23 93359f2a8cfa: Waiting 05:23:23 7c6f9722023f: Waiting 05:23:23 a35cf1a2eb13: Waiting 05:23:23 de9db76c5a1d: Verifying Checksum 05:23:23 de9db76c5a1d: Download complete 05:23:23 0ef7d3d256c8: Verifying Checksum 05:23:23 0ef7d3d256c8: Download complete 05:23:23 93359f2a8cfa: Verifying Checksum 05:23:23 93359f2a8cfa: Download complete 05:23:23 7c6f9722023f: Verifying Checksum 05:23:23 7c6f9722023f: Download complete 05:23:24 188c0c94c7c5: Verifying Checksum 05:23:24 188c0c94c7c5: Download complete 05:23:24 188c0c94c7c5: Pull complete 05:23:24 18c013af1878: Pull complete 05:23:24 0ef7d3d256c8: Pull complete 05:23:24 de9db76c5a1d: Pull complete 05:23:25 745a02a5169b: Verifying Checksum 05:23:25 745a02a5169b: Download complete 05:23:26 a35cf1a2eb13: Verifying Checksum 05:23:26 a35cf1a2eb13: Download complete 05:23:27 00ac8860ef70: Download complete 05:23:27 bca2f99d35d6: Verifying Checksum 05:23:27 bca2f99d35d6: Download complete 05:23:37 00ac8860ef70: Pull complete 05:23:37 63d7cb157983: Pull complete 05:23:37 b116817d02f9: Pull complete 05:23:40 745a02a5169b: Pull complete 05:23:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:23:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:23:40 ---> b7e6874047d6 05:23:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:23:40 bca2f99d35d6: Pull complete 05:23:40 93359f2a8cfa: Pull complete 05:23:40 7c6f9722023f: Pull complete 05:23:43 ---> Running in 0c9a57f7a298 05:23:43 Removing intermediate container 0c9a57f7a298 05:23:43 ---> 47679b4043c2 05:23:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:23:43 ---> Running in 5de1b03366dc 05:23:46 Removing intermediate container 5de1b03366dc 05:23:46 ---> 1e628470bf8d 05:23:46 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:23:46 ---> Running in 9100e12153a4 05:23:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:23:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:23:48 a35cf1a2eb13: Pull complete 05:23:48 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:23:48 ---> a62c8e92a672 05:23:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:23:48 ---> Running in db74f81c6ad9 05:23:48 Removing intermediate container db74f81c6ad9 05:23:48 ---> 89bf280b3b7a 05:23:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:23:48 ---> Running in d05aa2396d0e 05:23:48 (1/6) Installing libc-dev (0.7.2-r3) 05:23:48 (2/6) Installing libsodium (1.0.18-r0) 05:23:48 (3/6) Installing pkgconf (1.7.2-r0) 05:23:49 (4/6) Installing libsodium-dev (1.0.18-r0) 05:23:49 (5/6) Installing libzmq (4.3.3-r0) 05:23:49 (6/6) Installing zeromq-dev (4.3.3-r0) 05:23:49 Executing busybox-1.31.1-r19.trigger 05:23:49 OK: 144 MiB in 45 packages 05:23:50 Removing intermediate container d05aa2396d0e 05:23:50 ---> 4dff26a373d0 05:23:50 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:23:50 ---> Running in a0ef692f3f95 05:23:50 Removing intermediate container 9100e12153a4 05:23:50 ---> 17d67d9dc24f 05:23:50 Step 6/8 : WORKDIR /device-sdk-go 05:23:50 ---> Running in 7e009b03973c 05:23:51 Removing intermediate container 7e009b03973c 05:23:51 ---> 172f77fca251 05:23:51 Step 7/8 : COPY . . 05:23:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:23:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:23:52 ---> 94791d6001ee 05:23:52 Step 8/8 : RUN go mod download 05:23:52 ---> Running in b340b01b87f7 05:23:52 (1/6) Installing libc-dev (0.7.2-r3) 05:23:52 (2/6) Installing libsodium (1.0.18-r0) 05:23:52 (3/6) Installing pkgconf (1.7.2-r0) 05:23:53 (4/6) Installing libsodium-dev (1.0.18-r0) 05:23:53 (5/6) Installing libzmq (4.3.3-r0) 05:23:53 (6/6) Installing zeromq-dev (4.3.3-r0) 05:23:53 Executing busybox-1.31.1-r19.trigger 05:23:53 OK: 167 MiB in 45 packages 05:23:53 Removing intermediate container a0ef692f3f95 05:23:53 ---> eb99fccf1339 05:23:53 Step 6/8 : WORKDIR /device-sdk-go 05:23:54 ---> Running in 47392d67a5cf 05:23:54 Removing intermediate container 47392d67a5cf 05:23:54 ---> f6f420327a6e 05:23:54 Step 7/8 : COPY . . 05:23:55 ---> 6da0c6cffd3c 05:23:55 Step 8/8 : RUN go mod download 05:23:55 ---> Running in 04324cc04db9 05:24:19 Removing intermediate container b340b01b87f7 05:24:19 ---> bd934f86008a 05:24:19 Successfully built bd934f86008a 05:24:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:24:19 + docker inspect -f . ci-base-image-arm64 05:24:19 . [Pipeline] withDockerContainer 05:24:20 prd-ubuntu18.04-docker-arm64-4c-16g-1710 does not seem to be running inside a container 05:24:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:24:21 $ docker top 9e412381d4969486ba34c3429c1632c2dccf39bbcec1e1c865f5c0a848da01db -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:22 + go version 05:24:22 go version go1.15.5 linux/arm64 [Pipeline] } 05:24:23 $ docker stop --time=1 9e412381d4969486ba34c3429c1632c2dccf39bbcec1e1c865f5c0a848da01db 05:24:25 $ docker rm -f 9e412381d4969486ba34c3429c1632c2dccf39bbcec1e1c865f5c0a848da01db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:24:25 + docker inspect -f . ci-base-image-arm64 05:24:25 . [Pipeline] withDockerContainer 05:24:26 prd-ubuntu18.04-docker-arm64-4c-16g-1710 does not seem to be running inside a container 05:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:24:27 $ docker top 8c3dabdf4595c716007991e8b64f447867158999ca6b6eea22fb830df45206b9 -eo pid,comm 05:24:28 Removing intermediate container 04324cc04db9 05:24:28 ---> d8a105337aeb 05:24:28 Successfully built d8a105337aeb 05:24:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 05:24:28 + docker inspect -f . ci-base-image-x86_64 05:24:28 + make test 05:24:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:24:29 . [Pipeline] withDockerContainer 05:24:29 prd-centos7-docker-4c-2g-1709 does not seem to be running inside a container 05:24:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:24:31 $ docker top 847485a0d0d2268062acc4e8e79f5d7deb4faa5d261f1bc94079bb7914307ef6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:32 + go version 05:24:32 go version go1.15.5 linux/amd64 [Pipeline] } 05:24:32 $ docker stop --time=1 847485a0d0d2268062acc4e8e79f5d7deb4faa5d261f1bc94079bb7914307ef6 05:24:34 $ docker rm -f 847485a0d0d2268062acc4e8e79f5d7deb4faa5d261f1bc94079bb7914307ef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:24:34 + docker inspect -f . ci-base-image-x86_64 05:24:34 . [Pipeline] withDockerContainer 05:24:34 prd-centos7-docker-4c-2g-1709 does not seem to be running inside a container 05:24:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:24:36 $ docker top 4976f0a139a5a77c08c1ea84552169cfdb345a6b651a2076add2330cd707e9fb -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:37 + make test 05:24:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:24:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:24:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:25:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 28.1% of statements 05:25:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.194s coverage: 78.9% of statements 05:25:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.099s coverage: 7.8% of statements 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:25:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.132s coverage: 32.0% of statements 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:25:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:25:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.158s coverage: 57.2% of statements 05:25:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.541s coverage: 6.6% of statements 05:25:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.178s coverage: 5.0% of statements 05:25:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:25:39 GO111MODULE=on go vet ./... 05:25:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:25:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:25:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:25:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:25:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:25:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 28.1% of statements 05:25:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.271s coverage: 78.9% of statements 05:25:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.230s coverage: 7.8% of statements 05:25:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:25:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:25:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:26:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.273s coverage: 32.0% of statements 05:26:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:26:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:26:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:26:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.312s coverage: 57.2% of statements 05:26:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.246s coverage: 6.6% of statements 05:26:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.0% of statements 05:26:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:26:04 GO111MODULE=on go vet ./... 05:26:12 gofmt -l . 05:26:12 [ "`gofmt -l .`" = "" ] 05:26:12 ./bin/test-attribution-txt.sh 05:26:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:26:14 $ docker stop --time=1 4976f0a139a5a77c08c1ea84552169cfdb345a6b651a2076add2330cd707e9fb 05:26:16 $ docker rm -f 4976f0a139a5a77c08c1ea84552169cfdb345a6b651a2076add2330cd707e9fb [Pipeline] // withDockerContainer [Pipeline] sh 05:26:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:26:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:26:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:26:19 + ls -al . 05:26:19 total 188 05:26:19 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 05:26 . 05:26:19 drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 05:23 .. 05:26:19 drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 05:23 bin 05:26:19 -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 05:25 coverage.out 05:26:19 -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 05:23 Dockerfile.build 05:26:19 -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 05:23 .dockerignore 05:26:19 drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 05:23 example 05:26:19 drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 05:23 .git 05:26:19 drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 05:23 .github 05:26:19 -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 05:23 .gitignore 05:26:19 -rw-r--r--. 1 jenkins jenkins 575 Apr 26 05:26 go.mod 05:26:19 -rw-r--r--. 1 jenkins jenkins 21068 Apr 26 05:26 go.sum 05:26:19 drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 05:23 internal 05:26:19 -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 05:23 Jenkinsfile 05:26:19 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 05:23 LICENSE 05:26:19 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 05:23 Makefile 05:26:19 drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 05:23 openapi 05:26:19 drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 05:23 pkg 05:26:19 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 05:23 README.md 05:26:19 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 05:23 RELEASE-NOTES.txt 05:26:19 drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 05:23 snap 05:26:19 -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 05:19 VERSION 05:26:19 -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 05:23 version.go [Pipeline] isUnix [Pipeline] sh 05:26:19 + 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=eb077a2e923156dfe7e56c7626544f9d712c7af1 --label arch=amd64 --label version=0.0.0 . 05:26:19 Sending build context to Docker daemon 2.566MB 05:26:19 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:26:19 Step 2/23 : FROM ${BASE} AS builder 05:26:19 ---> d8a105337aeb 05:26:19 Step 3/23 : WORKDIR /device-sdk-go 05:26:20 ---> Running in c3804cd71b0d 05:26:20 Removing intermediate container c3804cd71b0d 05:26:20 ---> 7102abdd710d 05:26:20 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:26:21 ---> Running in 75d58c486923 05:26:21 Removing intermediate container 75d58c486923 05:26:21 ---> fa3ac5b54735 05:26:21 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:26:21 ---> Running in f515fc6f46cc 05:26:25 Removing intermediate container f515fc6f46cc 05:26:25 ---> 4e2fc187ee1d 05:26:25 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:26:25 ---> Running in 6d6388e96baa 05:26:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:26:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:26:27 OK: 167 MiB in 45 packages 05:26:28 Removing intermediate container 6d6388e96baa 05:26:28 ---> b2b41ea729a3 05:26:28 Step 7/23 : COPY . . 05:26:29 ---> 49d3cf083430 05:26:29 Step 8/23 : RUN go mod download 05:26:29 ---> Running in 7bced131f9f6 05:26:31 Removing intermediate container 7bced131f9f6 05:26:31 ---> 82eb2818c800 05:26:31 Step 9/23 : RUN make build 05:26:32 ---> Running in 6a4a0cf1d3c6 05:26:33 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:26:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:26:52 gofmt -l . 05:26:52 [ "`gofmt -l .`" = "" ] 05:26:52 Removing intermediate container 6a4a0cf1d3c6 05:26:52 ---> 93d832c6b548 05:26:52 Step 10/23 : FROM alpine:3.12 05:26:52 ./bin/test-attribution-txt.sh 05:26:52 3.12: Pulling from library/alpine 05:26:53 339de151aab4: Pulling fs layer 05:26:53 339de151aab4: Verifying Checksum 05:26:53 339de151aab4: Download complete 05:26:53 339de151aab4: Pull complete 05:26:53 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:26:53 Status: Downloaded newer image for alpine:3.12 05:26:53 ---> 13621d1b12d4 05:26:53 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:26:53 ---> Running in 8f7ca81586e6 05:26:54 Removing intermediate container 8f7ca81586e6 05:26:54 ---> 649c83f42a37 05:26:54 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:26:54 ./bin/test-go-mod-tidy.sh 05:26:54 ---> Running in 2dae8a596000 [Pipeline] } 05:26:54 $ docker stop --time=1 8c3dabdf4595c716007991e8b64f447867158999ca6b6eea22fb830df45206b9 05:26:56 Removing intermediate container 2dae8a596000 05:26:56 ---> 117a6edcf854 05:26:56 Step 13/23 : RUN apk add --update --no-cache zeromq 05:26:56 ---> Running in 0eeb0ef2fb1f 05:26:57 $ docker rm -f 8c3dabdf4595c716007991e8b64f447867158999ca6b6eea22fb830df45206b9 05:26:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh 05:26:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:26:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:26:58 Warning: overwriting stash ‘coverage-report’ 05:26:58 (1/5) Installing libgcc (9.3.0-r2) 05:26:58 (2/5) Installing libsodium (1.0.18-r0) 05:26:58 (3/5) Installing libstdc++ (9.3.0-r2) 05:26:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:59 (4/5) Installing libzmq (4.3.3-r0) 05:26:59 (5/5) Installing zeromq (4.3.3-r0) 05:26:59 Executing busybox-1.31.1-r20.trigger 05:26:59 OK: 8 MiB in 19 packages 05:26:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:27:00 + ls -al . 05:27:00 total 224 05:27:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 05:26 . 05:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:23 .. 05:27:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 05:23 .dockerignore 05:27:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 05:23 .git 05:27:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:23 .github 05:27:00 -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 05:23 .gitignore 05:27:00 -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 05:23 Dockerfile.build 05:27:00 -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 05:23 Jenkinsfile 05:27:00 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 05:23 LICENSE 05:27:00 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 05:23 Makefile 05:27:00 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 05:23 README.md 05:27:00 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 05:23 RELEASE-NOTES.txt 05:27:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 05:19 VERSION 05:27:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:23 bin 05:27:00 -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 05:26 coverage.out 05:27:00 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 05:23 example 05:27:00 -rw-r--r-- 1 jenkins jenkins 575 Apr 26 05:26 go.mod 05:27:00 -rw-r--r-- 1 jenkins jenkins 21068 Apr 26 05:26 go.sum 05:27:00 drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 05:23 internal 05:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:23 openapi 05:27:00 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 05:23 pkg 05:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:23 snap 05:27:00 -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 05:23 version.go [Pipeline] isUnix [Pipeline] sh 05:27:00 + 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=eb077a2e923156dfe7e56c7626544f9d712c7af1 --label arch=arm64 --label version=0.0.0 . 05:27:00 Removing intermediate container 0eeb0ef2fb1f 05:27:00 ---> e06d32bb55e4 05:27:00 Step 14/23 : WORKDIR / 05:27:00 ---> Running in 459e39b64703 05:27:01 Removing intermediate container 459e39b64703 05:27:01 ---> 9730bcdb0a07 05:27:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:27:01 Sending build context to Docker daemon 2.565MB 05:27:01 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:27:01 Step 2/23 : FROM ${BASE} AS builder 05:27:01 ---> bd934f86008a 05:27:01 Step 3/23 : WORKDIR /device-sdk-go 05:27:01 ---> Running in 257e44ff8400 05:27:01 ---> 95d0faf5ed56 05:27:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:27:02 Removing intermediate container 257e44ff8400 05:27:02 ---> a7e80123c706 05:27:02 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:27:02 ---> Running in e30ffaf693b5 05:27:02 Removing intermediate container e30ffaf693b5 05:27:02 ---> 806a677ef515 05:27:02 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:27:02 ---> Running in f0cb920eed01 05:27:02 ---> 02224b22741b 05:27:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:27:03 ---> a27ff875f288 05:27:03 Step 18/23 : EXPOSE 49990 05:27:03 ---> Running in 8c8b1962f641 05:27:03 Removing intermediate container 8c8b1962f641 05:27:03 ---> b57c61d7faba 05:27:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:27:03 ---> Running in a7a738e166fc 05:27:03 Removing intermediate container a7a738e166fc 05:27:03 ---> 7c4f1d1d6d5f 05:27:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:27:03 ---> Running in 1de1d92574bb 05:27:04 Removing intermediate container 1de1d92574bb 05:27:04 ---> c055a9f7fbbf 05:27:04 Step 21/23 : LABEL arch=amd64 05:27:04 ---> Running in 774319a8f04d 05:27:04 Removing intermediate container f0cb920eed01 05:27:04 ---> d5d67846a571 05:27:04 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:27:04 Removing intermediate container 774319a8f04d 05:27:04 ---> 14570e607c14 05:27:04 Step 22/23 : LABEL git_sha=eb077a2e923156dfe7e56c7626544f9d712c7af1 05:27:04 ---> Running in 982344cbf171 05:27:04 ---> Running in 070dc5949f0a 05:27:05 Removing intermediate container 982344cbf171 05:27:05 ---> 68c36327fdc0 05:27:05 Step 23/23 : LABEL version=0.0.0 05:27:05 ---> Running in 79254a6468f1 05:27:05 Removing intermediate container 79254a6468f1 05:27:05 ---> 27382ca28010 05:27:05 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:27:05 Successfully built 27382ca28010 05:27:05 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:27:05 ---> job-cost.sh 05:27:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AIEd 05:27:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:27:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:27:07 OK: 144 MiB in 45 packages 05:27:08 Removing intermediate container 070dc5949f0a 05:27:08 ---> 494bc3a25fa7 05:27:08 Step 7/23 : COPY . . 05:27:09 ---> f2775262a003 05:27:09 Step 8/23 : RUN go mod download 05:27:09 ---> Running in f4ddca167cba 05:27:12 Removing intermediate container f4ddca167cba 05:27:12 ---> 31efd0a3ab75 05:27:12 Step 9/23 : RUN make build 05:27:12 ---> Running in e50f8cfe3365 05:27:13 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:27:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:27:45 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:27:49 Removing intermediate container e50f8cfe3365 05:27:49 ---> 554188d0a663 05:27:49 Step 10/23 : FROM alpine:3.12 05:27:49 3.12: Pulling from library/alpine 05:27:49 d2f70382dc9a: Pulling fs layer 05:27:49 d2f70382dc9a: Verifying Checksum 05:27:49 d2f70382dc9a: Pull complete 05:27:49 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:27:49 Status: Downloaded newer image for alpine:3.12 05:27:49 ---> 9852663dfa18 05:27:49 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:27:50 ---> Running in 2589fb457e0e 05:27:50 Removing intermediate container 2589fb457e0e 05:27:50 ---> be8d3fd1d57a 05:27:50 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:27:50 ---> Running in 04dfab3eacce 05:27:53 Removing intermediate container 04dfab3eacce 05:27:53 ---> 3902c38e17e5 05:27:53 Step 13/23 : RUN apk add --update --no-cache zeromq 05:27:53 ---> Running in 65d67b2bb02f 05:27:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:27:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:27:55 (1/5) Installing libgcc (9.3.0-r2) 05:27:55 (2/5) Installing libsodium (1.0.18-r0) 05:27:55 (3/5) Installing libstdc++ (9.3.0-r2) 05:27:55 (4/5) Installing libzmq (4.3.3-r0) 05:27:56 (5/5) Installing zeromq (4.3.3-r0) 05:27:56 Executing busybox-1.31.1-r20.trigger 05:27:56 OK: 8 MiB in 19 packages 05:27:57 Removing intermediate container 65d67b2bb02f 05:27:57 ---> 175a5213d435 05:27:57 Step 14/23 : WORKDIR / 05:27:57 ---> Running in becf0e060bdb 05:27:57 Removing intermediate container becf0e060bdb 05:27:57 ---> a306b935bb31 05:27:57 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:27:58 ---> 8d8e83ade8a1 05:27:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:27:59 ---> 1a33212d6c1c 05:27:59 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:28:00 ---> 0005c1fe96f0 05:28:00 Step 18/23 : EXPOSE 49990 05:28:00 ---> Running in 539c27f0f897 05:28:01 Removing intermediate container 539c27f0f897 05:28:01 ---> 573f573700da 05:28:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:28:01 ---> Running in c98a3644161a 05:28:01 Removing intermediate container c98a3644161a 05:28:01 ---> 8534d115d1dc 05:28:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:28:01 ---> Running in 510fb1cc7066 05:28:02 Removing intermediate container 510fb1cc7066 05:28:02 ---> 0956e578467b 05:28:02 Step 21/23 : LABEL arch=arm64 05:28:02 ---> Running in 8e76c0f3f47b 05:28:03 Removing intermediate container 8e76c0f3f47b 05:28:03 ---> bd96f14836f7 05:28:03 Step 22/23 : LABEL git_sha=eb077a2e923156dfe7e56c7626544f9d712c7af1 05:28:03 ---> Running in 9a3ef7031ba6 05:28:03 Removing intermediate container 9a3ef7031ba6 05:28:03 ---> b677281b0e57 05:28:03 Step 23/23 : LABEL version=0.0.0 05:28:03 ---> Running in a3f4ab058203 05:28:04 Removing intermediate container a3f4ab058203 05:28:04 ---> 7f8585a38a56 05:28:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:28:04 Successfully built 7f8585a38a56 05:28:04 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:28:04 ---> job-cost.sh 05:28:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nuLO 05:28:06 lf-activate-venv(): INFO: Adding /tmp/venv-AIEd/bin to PATH 05:28:06 INFO: No Stack... 05:28:06 INFO: Retrieving Pricing Info for: v1-standard-2 05:28:06 INFO: Archiving Costs [Pipeline] sh 05:28:07 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 05:28:07 + cut -d, -f6 [Pipeline] lock 05:28:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] 05:28:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] did not exist. Created. 05:28:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:28:07 + echo total: 0.029999999329447746 [Pipeline] stash 05:28:07 Stashed 1 file(s) [Pipeline] } 05:28:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:28:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:30:20 lf-activate-venv(): INFO: Adding /tmp/venv-nuLO/bin to PATH 05:30:20 INFO: No Stack... 05:30:20 INFO: Retrieving Pricing Info for: lf-standard-4 05:30:20 INFO: Archiving Costs [Pipeline] sh 05:30:20 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 05:30:20 + cut -d, -f6 [Pipeline] lock 05:30:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] 05:30:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] did not exist. Created. 05:30:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:30:21 /w/workspace/device-sdk-go/3@tmp/durable-99b6adef/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-99b6adef/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:30:21 + echo total: 0.20999999344348907 [Pipeline] stash 05:30:21 Warning: overwriting stash ‘stack-cost’ 05:30:21 Stashed 1 file(s) [Pipeline] } 05:30:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:30:22 provisioning config files... 05:30:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config7207551430976462014tmp [Pipeline] { [Pipeline] sh 05:30:22 + set +x 05:30:22 + curl -s https://codecov.io/bash 05:30:22 + bash -s -- 05:30:22 05:30:22 _____ _ 05:30:22 / ____| | | 05:30:22 | | ___ __| | ___ ___ _____ __ 05:30:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:30:22 | |___| (_) | (_| | __/ (_| (_) \ V / 05:30:22 \_____\___/ \__,_|\___|\___\___/ \_/ 05:30:22 Bash-1.0.2 05:30:22 05:30:22 05:30:22 ==> git version 2.24.3 found 05:30:22 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:30:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:30:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:30:22 ==> Jenkins CI detected. 05:30:22 project root: . 05:30:22 --> token set from env 05:30:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:30:22 ==> Running gcov in . (disable via -X gcov) 05:30:22 ==> Python coveragepy not found 05:30:22 ==> Searching for coverage reports in: 05:30:22 + . 05:30:22 -> Found 1 reports 05:30:22 ==> Detecting git/mercurial file structure 05:30:23 ==> Reading reports 05:30:23 + ./coverage.out bytes=100024 05:30:23 ==> Appending adjustments 05:30:23 https://docs.codecov.io/docs/fixing-reports 05:30:23 + Found adjustments 05:30:23 ==> Gzipping contents 05:30:23 16K /tmp/codecov.PJQq44.gz 05:30:23 ==> Uploading reports 05:30:23 url: https://codecov.io 05:30:23 query: branch=PR-887&commit=eb077a2e923156dfe7e56c7626544f9d712c7af1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 05:30:23 -> Pinging Codecov 05:30:23 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=eb077a2e923156dfe7e56c7626544f9d712c7af1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 05:30:24 -> Uploading to 05:30:24 https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/eb077a2e923156dfe7e56c7626544f9d712c7af1/fdec3326-7abe-47e6-9d84-dd7a7fcba70b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T053023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70a390ac1966287b30c5d625fefd99127bfbe775b0ef9a93ebe6d1a7bd39c938 05:30:24 % Total % Received % Xferd Average Speed Time Time Time Current 05:30:24 Dload Upload Total Spent Left Speed 05:30:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13510 0 0 100 13510 0 23686 --:--:-- --:--:-- --:--:-- 23660 100 13510 0 0 100 13510 0 23679 --:--:-- --:--:-- --:--:-- 23660 05:30:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/eb077a2e923156dfe7e56c7626544f9d712c7af1 [Pipeline] } 05:30:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:30:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:30:26 ---> package-listing.sh 05:30:26 ++ facter osfamily 05:30:26 ++ tr '[:upper:]' '[:lower:]' 05:30:26 + OS_FAMILY=redhat 05:30:26 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 05:30:26 + START_PACKAGES=/tmp/packages_start.txt 05:30:26 + END_PACKAGES=/tmp/packages_end.txt 05:30:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:30:26 + PACKAGES=/tmp/packages_start.txt 05:30:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 05:30:26 + PACKAGES=/tmp/packages_end.txt 05:30:26 + case "${OS_FAMILY}" in 05:30:26 + rpm -qa 05:30:26 + sort 05:30:31 + '[' -f /tmp/packages_start.txt ']' 05:30:31 + '[' -f /tmp/packages_end.txt ']' 05:30:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:30:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 05:30:31 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ 05:30:31 + 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 05:30:31 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 05:30:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:30:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:30:32 05:30:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:30:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:30:32 alpine: Pulling from edgex-lftools-log-publisher 05:30:32 df20fa9351a1: Pulling fs layer 05:30:32 36b3adc4ff6f: Pulling fs layer 05:30:32 8ad3a11d3b57: Pulling fs layer 05:30:32 46f8f816bc3b: Pulling fs layer 05:30:32 93b61091891f: Pulling fs layer 05:30:32 93b9cdb0e59b: Pulling fs layer 05:30:32 5e14af77c1be: Pulling fs layer 05:30:32 01666e4c0597: Pulling fs layer 05:30:32 aa168da1d23b: Pulling fs layer 05:30:32 93b9cdb0e59b: Waiting 05:30:32 5e14af77c1be: Waiting 05:30:32 46f8f816bc3b: Waiting 05:30:32 01666e4c0597: Waiting 05:30:32 aa168da1d23b: Waiting 05:30:32 93b61091891f: Waiting 05:30:32 36b3adc4ff6f: Verifying Checksum 05:30:32 36b3adc4ff6f: Download complete 05:30:32 46f8f816bc3b: Verifying Checksum 05:30:32 46f8f816bc3b: Download complete 05:30:32 df20fa9351a1: Verifying Checksum 05:30:32 df20fa9351a1: Download complete 05:30:32 93b9cdb0e59b: Verifying Checksum 05:30:32 93b9cdb0e59b: Download complete 05:30:32 93b61091891f: Verifying Checksum 05:30:32 93b61091891f: Download complete 05:30:32 5e14af77c1be: Verifying Checksum 05:30:32 5e14af77c1be: Download complete 05:30:32 01666e4c0597: Verifying Checksum 05:30:32 01666e4c0597: Download complete 05:30:32 8ad3a11d3b57: Verifying Checksum 05:30:32 8ad3a11d3b57: Download complete 05:30:33 df20fa9351a1: Pull complete 05:30:33 36b3adc4ff6f: Pull complete 05:30:34 8ad3a11d3b57: Pull complete 05:30:34 46f8f816bc3b: Pull complete 05:30:34 aa168da1d23b: Verifying Checksum 05:30:34 aa168da1d23b: Download complete 05:30:34 93b61091891f: Pull complete 05:30:34 93b9cdb0e59b: Pull complete 05:30:34 5e14af77c1be: Pull complete 05:30:35 01666e4c0597: Pull complete 05:30:43 aa168da1d23b: Pull complete 05:30:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:30:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:30:43 prd-centos7-docker-4c-2g-1706 does not seem to be running inside a container 05:30:43 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:30:47 $ docker top 7e9300b378b933a32298c1dd6a527504d28110dea2ce698f94898a1d08fc5f6e -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:48 + touch /tmp/pre-build-complete [Pipeline] sh 05:30:48 + mkdir -p /var/log/sa [Pipeline] sh 05:30:49 + ls /var/log/sa-host 05:30:49 + sadf -c /var/log/sa-host/sa23 05:30:49 file_magic: OK 05:30:49 HZ: Using current value: 100 05:30:49 file_header: OK 05:30:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:30:49 Statistics: 05:30:49 Hnuu...uuuununununu... 05:30:49 File successfully converted to sysstat format version 12.2.1 05:30:49 + sadf -c /var/log/sa-host/sa26 05:30:49 file_magic: OK 05:30:49 HZ: Using current value: 100 05:30:49 file_header: OK 05:30:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:30:49 Statistics: 05:30:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:30:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:49 provisioning config files... 05:30:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config8337492655019240143tmp [Pipeline] { [Pipeline] echo 05:30:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:30:49 ---> create-netrc.sh [Pipeline] } 05:30:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:30:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:30:50 ---> python-tools-install.sh [Pipeline] echo 05:30:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:30:50 ---> sudo-logs.sh 05:30:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:30:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:30:50 ---> job-cost.sh 05:30:50 lf-activate-venv: SKIPPING 05:30:50 DEBUG: total: 0.20999999344348907 05:30:50 INFO: Retrieving Stack Cost... 05:30:52 INFO: Retrieving Pricing Info for: v1-standard-2 05:30:52 INFO: Archiving Costs [Pipeline] echo 05:30:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:30:52 ---> logs-deploy.sh 05:30:52 lf-activate-venv: SKIPPING 05:30:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/3 05:30:52 INFO: archiving workspace using pattern(s): 05:30:54 Archives upload complete. 05:30:55 INFO: archiving logs to Nexus