Pull request #883 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cc2fb99d94801e599dd318b6093e400577257e87+8659f99871c0873da8324f2f6a625b509cb242d1 (057cd5d462f3aea484cc4e3c9865472579675537) 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-800 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [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-883 # 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 > 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/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 Merge succeeded, producing cc2fb99d94801e599dd318b6093e400577257e87 Checking out Revision cc2fb99d94801e599dd318b6093e400577257e87 (PR-883) > git config core.sparsecheckout # timeout=10 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # 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 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:05:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:05:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:05:56 ========================================================= 15:05:56 EdgeX Global Pipelines Version Info 15:05:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 # timeout=10 15:05:57 ------------------- 15:05:57 stable info: 15:05:57 ------------------- 15:05:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:05:57 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 15:05:57 Message: update stable to v1.0.186 15:05:58 ------------------- 15:05:58 experimental info: 15:05:58 ------------------- 15:05:58 Commited By: **** collab-it+edgex@linuxfoundation.org 15:05:58 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 15:05:58 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:05:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:05:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:05:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-883 [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-883 [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-883 [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc2fb99d94801e599dd318b6093e400577257e87 [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc2fb99 [Pipeline] echo 15:05:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:05:59 provisioning config files... 15:05:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config6818708535945411119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:06:00 ---> docker-login.sh 15:06:00 nexus3.edgexfoundry.org:10001 15:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:00 Configure a credential helper to remove this warning. See 15:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:00 15:06:00 Login Succeeded 15:06:00 nexus3.edgexfoundry.org:10002 15:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:00 Configure a credential helper to remove this warning. See 15:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:00 15:06:00 Login Succeeded 15:06:00 nexus3.edgexfoundry.org:10003 15:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:01 Configure a credential helper to remove this warning. See 15:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:01 15:06:01 Login Succeeded 15:06:01 nexus3.edgexfoundry.org:10004 15:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:01 Configure a credential helper to remove this warning. See 15:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:01 15:06:01 Login Succeeded 15:06:01 docker.io 15:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:01 Configure a credential helper to remove this warning. See 15:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:01 15:06:01 Login Succeeded 15:06:01 ---> docker-login.sh ends [Pipeline] } 15:06:01 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 15:06:01 + git log --format=format:%s -1 cc2fb99d94801e599dd318b6093e400577257e87 [Pipeline] echo 15:06:02 GIT_COMMIT: cc2fb99d94801e599dd318b6093e400577257e87, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 15:06:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:06:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:06:02 15:06:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:06:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:06:02 latest: Pulling from edgex-devops/git-semver 15:06:02 31603596830f: Pulling fs layer 15:06:02 2a8b12db71e7: Pulling fs layer 15:06:02 6ca5941a6612: Pulling fs layer 15:06:02 ecc8261a40a4: Pulling fs layer 15:06:02 ecc8261a40a4: Waiting 15:06:02 2a8b12db71e7: Verifying Checksum 15:06:02 2a8b12db71e7: Download complete 15:06:02 31603596830f: Verifying Checksum 15:06:02 31603596830f: Download complete 15:06:03 6ca5941a6612: Verifying Checksum 15:06:03 6ca5941a6612: Download complete 15:06:03 ecc8261a40a4: Verifying Checksum 15:06:03 ecc8261a40a4: Download complete 15:06:03 31603596830f: Pull complete 15:06:03 2a8b12db71e7: Pull complete 15:06:04 6ca5941a6612: Pull complete 15:06:04 ecc8261a40a4: Pull complete 15:06:04 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:06:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:06:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:06:05 prd-centos7-docker-4c-2g-800 does not seem to be running inside a container 15:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:06:07 $ docker top 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:06:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:07 [ssh-agent] Looking for ssh-agent implementation... 15:06:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:07 $ docker exec 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 ssh-agent 15:06:07 SSH_AUTH_SOCK=/tmp/ssh-8V55mPTCQEcX/agent.12 15:06:07 SSH_AGENT_PID=17 15:06:07 Running ssh-add (command line suppressed) 15:06:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_7969307934017470513.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_7969307934017470513.key) 15:06:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:08 + git tag --points-at HEAD [Pipeline] } 15:06:08 $ docker exec --env ******** --env ******** 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 ssh-agent -k 15:06:08 unset SSH_AUTH_SOCK; 15:06:08 unset SSH_AGENT_PID; 15:06:08 echo Agent pid 17 killed; 15:06:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:06:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:08 [ssh-agent] Looking for ssh-agent implementation... 15:06:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:08 $ docker exec 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 ssh-agent 15:06:08 SSH_AUTH_SOCK=/tmp/ssh-5f9KzD3Ivmae/agent.45 15:06:08 SSH_AGENT_PID=50 15:06:08 Running ssh-add (command line suppressed) 15:06:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_5000614904557134778.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_5000614904557134778.key) 15:06:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:09 + git semver init 15:06:09 # -> Open(): unable to determine branch for HEAD 15:06:09 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.git 15:06:09 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-883 15:06:09 # $SEMVER_REMOTE_NAME = origin 15:06:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:06:09 # $SEMVER_USER_NAME = edgex-jenkins 15:06:09 # $SEMVER_BRANCH = PR-883 15:06:09 # $SEMVER_TEMP = /tmp/semver-067319169 15:06:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:06:10 # '/tmp/semver-067319169' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver' 15:06:10 # -> Force: false 15:06:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver [Pipeline] } 15:06:10 $ docker exec --env ******** --env ******** 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 ssh-agent -k 15:06:10 unset SSH_AUTH_SOCK; 15:06:10 unset SSH_AGENT_PID; 15:06:10 echo Agent pid 50 killed; 15:06:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:06:10 + git semver [Pipeline] } 15:06:10 $ docker stop --time=1 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 15:06:12 $ docker rm -f 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 [Pipeline] // withDockerContainer [Pipeline] sh 15:06:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:06:13 Stashed 1 file(s) [Pipeline] echo 15:06:13 [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 15:06:28 Still waiting to schedule task 15:06:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:06:28 Still waiting to schedule task 15:06:28 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 15:09:27 Running on prd-centos7-docker-4c-2g-801 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws 15:09:27 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:09:30 using credential edgex-jenkins-ssh 15:09:30 Cloning the remote Git repository 15:09:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:09:30 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:09:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:09:30 > git --version # timeout=10 15:09:30 > git --version # 'git version 2.24.3' 15:09:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:31 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 15:09:31 Merge succeeded, producing cc2fb99d94801e599dd318b6093e400577257e87 15:09:31 Checking out Revision cc2fb99d94801e599dd318b6093e400577257e87 (PR-883) 15:09:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:09:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:09:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:09:31 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:09:31 > git config core.sparsecheckout # timeout=10 15:09:31 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 15:09:31 > git remote # timeout=10 15:09:31 > git config --get remote.origin.url # timeout=10 15:09:31 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:31 > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 15:09:31 > git rev-parse HEAD^{commit} # timeout=10 15:09:31 > git config core.sparsecheckout # timeout=10 15:09:31 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 15:09:35 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:09:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:09:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:09:37 + sudo service docker restart 15:09:37 + true 15:09:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:09:38 provisioning config files... 15:09:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config730421608723476619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:09:38 ---> docker-login.sh 15:09:38 nexus3.edgexfoundry.org:10001 15:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:38 Configure a credential helper to remove this warning. See 15:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:38 15:09:38 Login Succeeded 15:09:38 nexus3.edgexfoundry.org:10002 15:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:38 Configure a credential helper to remove this warning. See 15:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:38 15:09:38 Login Succeeded 15:09:38 nexus3.edgexfoundry.org:10003 15:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:39 Configure a credential helper to remove this warning. See 15:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:39 15:09:39 Login Succeeded 15:09:39 nexus3.edgexfoundry.org:10004 15:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:39 Configure a credential helper to remove this warning. See 15:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:39 15:09:39 Login Succeeded 15:09:39 docker.io 15:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:39 Configure a credential helper to remove this warning. See 15:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:39 15:09:39 Login Succeeded 15:09:39 ---> docker-login.sh ends [Pipeline] } 15:09:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:09:39 ========================================================= 15:09:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:09:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:09:40 + 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 . 15:09:40 Sending build context to Docker daemon 2.438MB 15:09:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 15:09:40 Step 2/8 : FROM ${BASE} 15:09:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:09:40 188c0c94c7c5: Pulling fs layer 15:09:40 0ef7d3d256c8: Pulling fs layer 15:09:40 de9db76c5a1d: Pulling fs layer 15:09:40 bca2f99d35d6: Pulling fs layer 15:09:40 93359f2a8cfa: Pulling fs layer 15:09:40 7c6f9722023f: Pulling fs layer 15:09:40 a35cf1a2eb13: Pulling fs layer 15:09:40 93359f2a8cfa: Waiting 15:09:40 a35cf1a2eb13: Waiting 15:09:40 7c6f9722023f: Waiting 15:09:40 bca2f99d35d6: Waiting 15:09:40 de9db76c5a1d: Download complete 15:09:40 0ef7d3d256c8: Verifying Checksum 15:09:40 0ef7d3d256c8: Download complete 15:09:40 93359f2a8cfa: Verifying Checksum 15:09:40 93359f2a8cfa: Download complete 15:09:40 188c0c94c7c5: Download complete 15:09:40 7c6f9722023f: Verifying Checksum 15:09:40 7c6f9722023f: Download complete 15:09:40 188c0c94c7c5: Pull complete 15:09:41 0ef7d3d256c8: Pull complete 15:09:41 de9db76c5a1d: Pull complete 15:09:41 a35cf1a2eb13: Verifying Checksum 15:09:41 a35cf1a2eb13: Download complete 15:09:42 bca2f99d35d6: Verifying Checksum 15:09:42 bca2f99d35d6: Download complete 15:09:49 bca2f99d35d6: Pull complete 15:09:49 93359f2a8cfa: Pull complete 15:09:49 7c6f9722023f: Pull complete 15:09:56 a35cf1a2eb13: Pull complete 15:09:56 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 15:09:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:09:56 ---> a62c8e92a672 15:09:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:09:56 ---> Running in 79fff4d36a5f 15:09:56 Removing intermediate container 79fff4d36a5f 15:09:56 ---> d38fc14ac513 15:09:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:09:56 ---> Running in 8e7b2594feb4 15:09:57 Removing intermediate container 8e7b2594feb4 15:09:57 ---> 3339ee00f8fc 15:09:57 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 15:09:57 ---> Running in 374d9eb3c700 15:09:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:09:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:09:59 (1/6) Installing libc-dev (0.7.2-r3) 15:09:59 (2/6) Installing libsodium (1.0.18-r0) 15:09:59 (3/6) Installing pkgconf (1.7.2-r0) 15:09:59 (4/6) Installing libsodium-dev (1.0.18-r0) 15:10:00 (5/6) Installing libzmq (4.3.3-r0) 15:10:00 (6/6) Installing zeromq-dev (4.3.3-r0) 15:10:00 Executing busybox-1.31.1-r19.trigger 15:10:00 OK: 167 MiB in 45 packages 15:10:01 Removing intermediate container 374d9eb3c700 15:10:01 ---> 7fa0299e15b4 15:10:01 Step 6/8 : WORKDIR /device-sdk-go 15:10:01 ---> Running in cbab3c1f633f 15:10:01 Removing intermediate container cbab3c1f633f 15:10:01 ---> 5c553c85432f 15:10:01 Step 7/8 : COPY . . 15:10:02 ---> 25199bb2f38e 15:10:02 Step 8/8 : RUN go mod download 15:10:02 ---> Running in 75c5e4f9bfe2 15:10:29 Removing intermediate container 75c5e4f9bfe2 15:10:29 ---> 25142601a9fc 15:10:29 Successfully built 25142601a9fc 15:10:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:10:29 + docker inspect -f . ci-base-image-x86_64 15:10:29 . [Pipeline] withDockerContainer 15:10:29 prd-centos7-docker-4c-2g-801 does not seem to be running inside a container 15:10: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 ******** ci-base-image-x86_64 cat 15:10:30 $ docker top fbc310ee3c761e0eb9abb37ea0cd0ab0503789c16044d8e13a7024ef13b65bce -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-802 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws 15:10:30 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:10:30 + go version 15:10:30 go version go1.15.5 linux/amd64 [Pipeline] } 15:10:30 $ docker stop --time=1 fbc310ee3c761e0eb9abb37ea0cd0ab0503789c16044d8e13a7024ef13b65bce 15:10:32 $ docker rm -f fbc310ee3c761e0eb9abb37ea0cd0ab0503789c16044d8e13a7024ef13b65bce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:10:32 + docker inspect -f . ci-base-image-x86_64 15:10:32 . [Pipeline] withDockerContainer 15:10:32 prd-centos7-docker-4c-2g-801 does not seem to be running inside a container 15:10:32 $ 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 ******** ci-base-image-x86_64 cat 15:10:33 $ docker top 0ffc0d9b658a4198ef31f9bc30bbc16228376ba647e041634b5e9f37e761d0b9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:34 + make test 15:10:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:10:36 using credential edgex-jenkins-ssh 15:10:36 Cloning the remote Git repository 15:10:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:10:36 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:10:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:10:36 > git --version # timeout=10 15:10:37 > git --version # 'git version 2.17.1' 15:10:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:10:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:10:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:10:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:10:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:10:39 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:10:40 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 15:10:40 Merge succeeded, producing cc2fb99d94801e599dd318b6093e400577257e87 15:10:40 Checking out Revision cc2fb99d94801e599dd318b6093e400577257e87 (PR-883) 15:10:40 > git config core.sparsecheckout # timeout=10 15:10:40 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 15:10:40 > git remote # timeout=10 15:10:40 > git config --get remote.origin.url # timeout=10 15:10:40 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:40 > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 15:10:40 > git rev-parse HEAD^{commit} # timeout=10 15:10:40 > git config core.sparsecheckout # timeout=10 15:10:40 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 15:10:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:10:44 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:10:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:10:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:10:46 + sudo service docker restart 15:10:46 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:10:49 provisioning config files... 15:10:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7336471854999854070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:49 ---> docker-login.sh 15:10:49 nexus3.edgexfoundry.org:10001 15:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:51 Configure a credential helper to remove this warning. See 15:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:51 15:10:51 Login Succeeded 15:10:51 nexus3.edgexfoundry.org:10002 15:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:51 Configure a credential helper to remove this warning. See 15:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:51 15:10:51 Login Succeeded 15:10:51 nexus3.edgexfoundry.org:10003 15:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:51 Configure a credential helper to remove this warning. See 15:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:51 15:10:51 Login Succeeded 15:10:51 nexus3.edgexfoundry.org:10004 15:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:52 Configure a credential helper to remove this warning. See 15:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:52 15:10:52 Login Succeeded 15:10:52 docker.io 15:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:53 Configure a credential helper to remove this warning. See 15:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:53 15:10:53 Login Succeeded 15:10:53 ---> docker-login.sh ends [Pipeline] } 15:10:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:10:53 ========================================================= 15:10:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:10:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:10:53 + 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 . 15:10:54 Sending build context to Docker daemon 2.44MB 15:10:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 15:10:54 Step 2/8 : FROM ${BASE} 15:10:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:10:54 5f621e34cdf4: Pulling fs layer 15:10:54 a4357932f1b6: Pulling fs layer 15:10:54 18c013af1878: Pulling fs layer 15:10:54 00ac8860ef70: Pulling fs layer 15:10:54 63d7cb157983: Pulling fs layer 15:10:54 b116817d02f9: Pulling fs layer 15:10:54 745a02a5169b: Pulling fs layer 15:10:54 00ac8860ef70: Waiting 15:10:54 63d7cb157983: Waiting 15:10:54 b116817d02f9: Waiting 15:10:54 745a02a5169b: Waiting 15:10:54 18c013af1878: Verifying Checksum 15:10:54 18c013af1878: Download complete 15:10:54 a4357932f1b6: Verifying Checksum 15:10:54 a4357932f1b6: Download complete 15:10:54 63d7cb157983: Verifying Checksum 15:10:54 63d7cb157983: Download complete 15:10:54 5f621e34cdf4: Verifying Checksum 15:10:54 5f621e34cdf4: Download complete 15:10:54 b116817d02f9: Verifying Checksum 15:10:54 b116817d02f9: Download complete 15:10:55 5f621e34cdf4: Pull complete 15:10:55 a4357932f1b6: Pull complete 15:10:56 18c013af1878: Pull complete 15:10:56 745a02a5169b: Verifying Checksum 15:10:56 745a02a5169b: Download complete 15:10:57 00ac8860ef70: Verifying Checksum 15:10:57 00ac8860ef70: Download complete 15:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:11:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 28.1% of statements 15:11:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements 15:11:07 00ac8860ef70: Pull complete 15:11:07 63d7cb157983: Pull complete 15:11:08 b116817d02f9: Pull complete 15:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.075s coverage: 7.8% of statements 15:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 15:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 32.0% of statements 15:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:11:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 57.1% of statements 15:11:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.294s coverage: 6.6% of statements 15:11:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 15:11:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:11:09 GO111MODULE=on go vet ./... 15:11:12 745a02a5169b: Pull complete 15:11:12 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 15:11:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:11:12 ---> b7e6874047d6 15:11:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:11:15 ---> Running in 9bf1d89b3e77 15:11:15 Removing intermediate container 9bf1d89b3e77 15:11:15 ---> 2d346c74af32 15:11:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:11:15 ---> Running in 271bb191da60 15:11:18 Removing intermediate container 271bb191da60 15:11:18 ---> a00ceee02010 15:11:18 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 15:11:18 ---> Running in a2e63a706c99 15:11:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:11:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:11:20 (1/6) Installing libc-dev (0.7.2-r3) 15:11:20 (2/6) Installing libsodium (1.0.18-r0) 15:11:20 (3/6) Installing pkgconf (1.7.2-r0) 15:11:20 (4/6) Installing libsodium-dev (1.0.18-r0) 15:11:20 (5/6) Installing libzmq (4.3.3-r0) 15:11:20 (6/6) Installing zeromq-dev (4.3.3-r0) 15:11:20 Executing busybox-1.31.1-r19.trigger 15:11:20 OK: 144 MiB in 45 packages 15:11:22 Removing intermediate container a2e63a706c99 15:11:22 ---> b9bbe54c30ef 15:11:22 Step 6/8 : WORKDIR /device-sdk-go 15:11:22 ---> Running in 273fe9982478 15:11:22 Removing intermediate container 273fe9982478 15:11:22 ---> 227dc52ad7c0 15:11:22 Step 7/8 : COPY . . 15:11:23 ---> 9fa2d265b0c8 15:11:23 Step 8/8 : RUN go mod download 15:11:24 ---> Running in ba2dbbbf3a68 15:11:27 gofmt -l . 15:11:27 [ "`gofmt -l .`" = "" ] 15:11:27 ./bin/test-attribution-txt.sh 15:11:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:11:27 $ docker stop --time=1 0ffc0d9b658a4198ef31f9bc30bbc16228376ba647e041634b5e9f37e761d0b9 15:11:29 $ docker rm -f 0ffc0d9b658a4198ef31f9bc30bbc16228376ba647e041634b5e9f37e761d0b9 [Pipeline] // withDockerContainer [Pipeline] sh 15:11:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:11:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:11:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:11:32 + ls -al . 15:11:32 total 188 15:11:32 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 19 15:11 . 15:11:32 drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 15:09 .. 15:11:32 drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 15:09 bin 15:11:32 -rw-r--r--. 1 jenkins jenkins 100117 Apr 19 15:11 coverage.out 15:11:32 -rw-rw-r--. 1 jenkins jenkins 987 Apr 19 15:09 Dockerfile.build 15:11:32 -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 15:09 .dockerignore 15:11:32 drwxrwxr-x. 5 jenkins jenkins 62 Apr 19 15:09 example 15:11:32 drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 15:09 .git 15:11:32 drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 15:09 .github 15:11:32 -rw-rw-r--. 1 jenkins jenkins 138 Apr 19 15:09 .gitignore 15:11:32 -rw-r--r--. 1 jenkins jenkins 574 Apr 19 15:11 go.mod 15:11:32 -rw-r--r--. 1 jenkins jenkins 20735 Apr 19 15:11 go.sum 15:11:32 drwxrwxr-x. 14 jenkins jenkins 207 Apr 19 15:09 internal 15:11:32 -rw-rw-r--. 1 jenkins jenkins 901 Apr 19 15:09 Jenkinsfile 15:11:32 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 19 15:09 LICENSE 15:11:32 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 19 15:09 Makefile 15:11:32 drwxrwxr-x. 4 jenkins jenkins 26 Apr 19 15:09 openapi 15:11:32 drwxrwxr-x. 5 jenkins jenkins 50 Apr 19 15:09 pkg 15:11:32 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 19 15:09 README.md 15:11:32 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 19 15:09 RELEASE-NOTES.txt 15:11:32 drwxrwxr-x. 4 jenkins jenkins 54 Apr 19 15:09 snap 15:11:32 -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 15:06 VERSION 15:11:32 -rw-rw-r--. 1 jenkins jenkins 222 Apr 19 15:09 version.go [Pipeline] isUnix [Pipeline] sh 15:11:32 + 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=cc2fb99d94801e599dd318b6093e400577257e87 --label arch=amd64 --label version=0.0.0 . 15:11:32 Sending build context to Docker daemon 2.539MB 15:11:32 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 15:11:32 Step 2/23 : FROM ${BASE} AS builder 15:11:32 ---> 25142601a9fc 15:11:32 Step 3/23 : WORKDIR /device-sdk-go 15:11:33 ---> Running in 5dd18833cdd5 15:11:33 Removing intermediate container 5dd18833cdd5 15:11:33 ---> 1c827b4444e8 15:11:33 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:11:33 ---> Running in 60f397b880a5 15:11:33 Removing intermediate container 60f397b880a5 15:11:33 ---> 40d4f7d9876c 15:11:33 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:11:34 ---> Running in 3d021717ba81 15:11:35 Removing intermediate container 3d021717ba81 15:11:35 ---> 28a9e8cfe8c7 15:11:35 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:11:35 ---> Running in a5d2de3ee140 15:11:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:11:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:11:36 OK: 167 MiB in 45 packages 15:11:37 Removing intermediate container a5d2de3ee140 15:11:37 ---> 8d4bd691e19f 15:11:37 Step 7/23 : COPY . . 15:11:38 ---> a4f8e6b8a2af 15:11:38 Step 8/23 : RUN go mod download 15:11:38 ---> Running in 53bb6c1c6af9 15:11:39 Removing intermediate container 53bb6c1c6af9 15:11:39 ---> 2b05d56fd6b1 15:11:39 Step 9/23 : RUN make build 15:11:39 ---> Running in 3e0018d5fab7 15:11:39 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 15:11:50 Removing intermediate container ba2dbbbf3a68 15:11:50 ---> dcf16133ecfc 15:11:50 Successfully built dcf16133ecfc 15:11:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:11:51 + docker inspect -f . ci-base-image-arm64 15:11:51 . [Pipeline] withDockerContainer 15:11:51 prd-ubuntu18.04-docker-arm64-4c-16g-802 does not seem to be running inside a container 15:11:51 $ 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 15:11:52 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:11:53 $ docker top e9a292600a4281bb440417eefea48bdb886f84e041f5538a3648df2398a70508 -eo pid,comm 15:11:53 Removing intermediate container 3e0018d5fab7 15:11:53 ---> 1db5baddad8a 15:11:53 Step 10/23 : FROM alpine:3.12 [Pipeline] { [Pipeline] sh 15:11:53 3.12: Pulling from library/alpine 15:11:53 339de151aab4: Pulling fs layer 15:11:53 339de151aab4: Download complete 15:11:53 + go version 15:11:53 go version go1.15.5 linux/arm64 [Pipeline] } 15:11:54 $ docker stop --time=1 e9a292600a4281bb440417eefea48bdb886f84e041f5538a3648df2398a70508 15:11:54 339de151aab4: Pull complete 15:11:54 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 15:11:54 Status: Downloaded newer image for alpine:3.12 15:11:54 ---> 13621d1b12d4 15:11:54 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:11:54 ---> Running in 8fc36af5607c 15:11:54 Removing intermediate container 8fc36af5607c 15:11:54 ---> dfd02be04043 15:11:54 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:11:54 ---> Running in 3ae48c39020e 15:11:55 Removing intermediate container 3ae48c39020e 15:11:55 ---> c3528ca67a22 15:11:55 Step 13/23 : RUN apk add --update --no-cache zeromq 15:11:55 ---> Running in 5414bfe367c2 15:11:56 $ docker rm -f e9a292600a4281bb440417eefea48bdb886f84e041f5538a3648df2398a70508 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:11:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:11:56 + docker inspect -f . ci-base-image-arm64 15:11:56 . [Pipeline] withDockerContainer 15:11:56 prd-ubuntu18.04-docker-arm64-4c-16g-802 does not seem to be running inside a container 15:11:57 $ 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 15:11:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:11:57 (1/5) Installing libgcc (9.3.0-r2) 15:11:57 (2/5) Installing libsodium (1.0.18-r0) 15:11:57 (3/5) Installing libstdc++ (9.3.0-r2) 15:11:58 $ docker top f0a9bd98e5857acc101987749c31cf4aad173f9102dbdbc53336f1b7d378a069 -eo pid,comm 15:11:58 (4/5) Installing libzmq (4.3.3-r0) 15:11:58 (5/5) Installing zeromq (4.3.3-r0) [Pipeline] { 15:11:58 Executing busybox-1.31.1-r20.trigger 15:11:58 OK: 8 MiB in 19 packages [Pipeline] sh 15:11:59 Removing intermediate container 5414bfe367c2 15:11:59 ---> 37aebc4398d1 15:11:59 Step 14/23 : WORKDIR / 15:11:59 ---> Running in 6077b79949af 15:11:59 + make test 15:11:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:11:59 Removing intermediate container 6077b79949af 15:11:59 ---> 02d8033302d4 15:11:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:11:59 ---> 4b6b37bb7d05 15:11:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:12:00 ---> 5d0427d83493 15:12:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:12:00 ---> a83b6ad56855 15:12:00 Step 18/23 : EXPOSE 49990 15:12:00 ---> Running in f33be23ca5ac 15:12:01 Removing intermediate container f33be23ca5ac 15:12:01 ---> 7753e8bcf1b3 15:12:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:12:01 ---> Running in 4fa03b0228f4 15:12:01 Removing intermediate container 4fa03b0228f4 15:12:01 ---> 1e8350de9a7c 15:12:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:12:01 ---> Running in e11af00f8752 15:12:01 Removing intermediate container e11af00f8752 15:12:01 ---> 07ca944e6fb7 15:12:01 Step 21/23 : LABEL arch=amd64 15:12:01 ---> Running in a26f05321e63 15:12:01 Removing intermediate container a26f05321e63 15:12:01 ---> 48c2c8c33253 15:12:01 Step 22/23 : LABEL git_sha=cc2fb99d94801e599dd318b6093e400577257e87 15:12:02 ---> Running in 826cae9eadca 15:12:02 Removing intermediate container 826cae9eadca 15:12:02 ---> ba5d3173bed6 15:12:02 Step 23/23 : LABEL version=0.0.0 15:12:02 ---> Running in f0b6f0b584a7 15:12:02 Removing intermediate container f0b6f0b584a7 15:12:02 ---> 29622b3f24e6 15:12:02 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:12:02 Successfully built 29622b3f24e6 15:12:02 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 15:12:02 ---> job-cost.sh 15:12:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-owZY 15:12:17 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:12:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:12:49 lf-activate-venv(): INFO: Adding /tmp/venv-owZY/bin to PATH 15:12:49 INFO: No Stack... 15:12:49 INFO: Retrieving Pricing Info for: v1-standard-2 15:12:49 INFO: Archiving Costs [Pipeline] sh 15:12:50 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 15:12:50 + cut -d, -f6 [Pipeline] lock 15:12:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] 15:12:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] did not exist. Created. 15:12:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:12:50 + echo total: 0.029999999329447746 [Pipeline] stash 15:12:50 Stashed 1 file(s) [Pipeline] } 15:12:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 28.1% of statements 15:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.178s coverage: 78.9% of statements 15:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.154s coverage: 7.8% of statements 15:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 15:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:13:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.229s coverage: 32.0% of statements 15:13:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:13:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:13:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:13:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.305s coverage: 57.1% of statements 15:13:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.012s coverage: 6.6% of statements 15:13:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 15:13:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:13:27 GO111MODULE=on go vet ./... 15:14:14 gofmt -l . 15:14:14 [ "`gofmt -l .`" = "" ] 15:14:14 ./bin/test-attribution-txt.sh 15:14:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:14:14 $ docker stop --time=1 f0a9bd98e5857acc101987749c31cf4aad173f9102dbdbc53336f1b7d378a069 15:14:16 $ docker rm -f f0a9bd98e5857acc101987749c31cf4aad173f9102dbdbc53336f1b7d378a069 [Pipeline] // withDockerContainer [Pipeline] sh 15:14:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:14:17 Warning: overwriting stash ‘coverage-report’ 15:14:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:19 + ls -al . 15:14:19 total 224 15:14:19 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 15:14 . 15:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 15:10 .. 15:14:19 -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 15:10 .dockerignore 15:14:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 15:10 .git 15:14:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 15:10 .github 15:14:19 -rw-rw-r-- 1 jenkins jenkins 138 Apr 19 15:10 .gitignore 15:14:19 -rw-rw-r-- 1 jenkins jenkins 987 Apr 19 15:10 Dockerfile.build 15:14:19 -rw-rw-r-- 1 jenkins jenkins 901 Apr 19 15:10 Jenkinsfile 15:14:19 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 19 15:10 LICENSE 15:14:19 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 19 15:10 Makefile 15:14:19 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 19 15:10 README.md 15:14:19 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 19 15:10 RELEASE-NOTES.txt 15:14:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 15:06 VERSION 15:14:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 15:10 bin 15:14:19 -rw-r--r-- 1 jenkins jenkins 100116 Apr 19 15:13 coverage.out 15:14:19 drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 15:10 example 15:14:19 -rw-r--r-- 1 jenkins jenkins 574 Apr 19 15:14 go.mod 15:14:19 -rw-r--r-- 1 jenkins jenkins 20735 Apr 19 15:14 go.sum 15:14:19 drwxrwxr-x 14 jenkins jenkins 4096 Apr 19 15:10 internal 15:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 15:10 openapi 15:14:19 drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 15:10 pkg 15:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 15:10 snap 15:14:19 -rw-rw-r-- 1 jenkins jenkins 222 Apr 19 15:10 version.go [Pipeline] isUnix [Pipeline] sh 15:14:20 + 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=cc2fb99d94801e599dd318b6093e400577257e87 --label arch=arm64 --label version=0.0.0 . 15:14:20 Sending build context to Docker daemon 2.541MB 15:14:20 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 15:14:20 Step 2/23 : FROM ${BASE} AS builder 15:14:20 ---> dcf16133ecfc 15:14:20 Step 3/23 : WORKDIR /device-sdk-go 15:14:20 ---> Running in d9af11295f96 15:14:21 Removing intermediate container d9af11295f96 15:14:21 ---> c94f8c164dbc 15:14:21 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:14:21 ---> Running in e3b146375a56 15:14:21 Removing intermediate container e3b146375a56 15:14:21 ---> 71de5e70fa38 15:14:21 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:14:22 ---> Running in bb79513793e5 15:14:24 Removing intermediate container bb79513793e5 15:14:24 ---> 211aa72b21a9 15:14:24 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:14:24 ---> Running in d53495e219f5 15:14:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:14:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:14:26 OK: 144 MiB in 45 packages 15:14:28 Removing intermediate container d53495e219f5 15:14:28 ---> 34e93d89e28d 15:14:28 Step 7/23 : COPY . . 15:14:29 ---> c149e7083752 15:14:29 Step 8/23 : RUN go mod download 15:14:29 ---> Running in 5bdd418fb481 15:14:32 Removing intermediate container 5bdd418fb481 15:14:32 ---> 784ec0444350 15:14:32 Step 9/23 : RUN make build 15:14:32 ---> Running in dc87d5a1dc31 15:14: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 15:15:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:15:07 Removing intermediate container dc87d5a1dc31 15:15:07 ---> 20bb4348cfd6 15:15:07 Step 10/23 : FROM alpine:3.12 15:15:07 3.12: Pulling from library/alpine 15:15:07 d2f70382dc9a: Pulling fs layer 15:15:08 d2f70382dc9a: Verifying Checksum 15:15:08 d2f70382dc9a: Download complete 15:15:08 d2f70382dc9a: Pull complete 15:15:08 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 15:15:08 Status: Downloaded newer image for alpine:3.12 15:15:08 ---> 9852663dfa18 15:15:08 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:15:08 ---> Running in 8aa36e582caa 15:15:09 Removing intermediate container 8aa36e582caa 15:15:09 ---> 2c5b26ae6a53 15:15:09 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:15:09 ---> Running in 800a4cc8f21e 15:15:11 Removing intermediate container 800a4cc8f21e 15:15:11 ---> ccf5e4e997b1 15:15:11 Step 13/23 : RUN apk add --update --no-cache zeromq 15:15:11 ---> Running in 2457261a790d 15:15:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:15:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:15:14 (1/5) Installing libgcc (9.3.0-r2) 15:15:14 (2/5) Installing libsodium (1.0.18-r0) 15:15:14 (3/5) Installing libstdc++ (9.3.0-r2) 15:15:14 (4/5) Installing libzmq (4.3.3-r0) 15:15:14 (5/5) Installing zeromq (4.3.3-r0) 15:15:14 Executing busybox-1.31.1-r20.trigger 15:15:14 OK: 8 MiB in 19 packages 15:15:16 Removing intermediate container 2457261a790d 15:15:16 ---> 503c46a5f1d2 15:15:16 Step 14/23 : WORKDIR / 15:15:16 ---> Running in 1af79133bd30 15:15:16 Removing intermediate container 1af79133bd30 15:15:16 ---> c2b9827e8510 15:15:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:15:17 ---> 26e01dc368a7 15:15:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:15:18 ---> 641f11731106 15:15:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:15:19 ---> 52efe357b337 15:15:19 Step 18/23 : EXPOSE 49990 15:15:19 ---> Running in 61d0df747895 15:15:20 Removing intermediate container 61d0df747895 15:15:20 ---> 251a597bee08 15:15:20 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:15:20 ---> Running in 5a33c5222382 15:15:20 Removing intermediate container 5a33c5222382 15:15:20 ---> 2980520f183e 15:15:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:15:20 ---> Running in 4243cee1aa8e 15:15:21 Removing intermediate container 4243cee1aa8e 15:15:21 ---> d7b5dc7fe5b5 15:15:21 Step 21/23 : LABEL arch=arm64 15:15:21 ---> Running in af4e6a334e3a 15:15:21 Removing intermediate container af4e6a334e3a 15:15:21 ---> fdeb6088a2c1 15:15:21 Step 22/23 : LABEL git_sha=cc2fb99d94801e599dd318b6093e400577257e87 15:15:21 ---> Running in 2e6f1dad1310 15:15:22 Removing intermediate container 2e6f1dad1310 15:15:22 ---> 00755356d338 15:15:22 Step 23/23 : LABEL version=0.0.0 15:15:22 ---> Running in b82229514fcf 15:15:22 Removing intermediate container b82229514fcf 15:15:22 ---> ed295d385090 15:15:22 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:15:22 Successfully built ed295d385090 15:15:23 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 15:15:23 ---> job-cost.sh 15:15:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ctJm 15:16:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:17:39 lf-activate-venv(): INFO: Adding /tmp/venv-ctJm/bin to PATH 15:17:39 INFO: No Stack... 15:17:39 INFO: Retrieving Pricing Info for: lf-standard-4 15:17:39 INFO: Archiving Costs [Pipeline] sh 15:17:39 + + cut -d, -f6 15:17:39 cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock 15:17:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] 15:17:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] did not exist. Created. 15:17:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:17:40 /w/workspace/device-sdk-go/3@tmp/durable-4f421624/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-4f421624/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:17:40 + echo total: 0.20999999344348907 [Pipeline] stash 15:17:40 Warning: overwriting stash ‘stack-cost’ 15:17:40 Stashed 1 file(s) [Pipeline] } 15:17:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-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 15:17:41 provisioning config files... 15:17:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config2318770685747586203tmp [Pipeline] { [Pipeline] sh 15:17:41 + set +x 15:17:41 + curl -s https://codecov.io/bash 15:17:41 + bash -s -- 15:17:41 15:17:41 _____ _ 15:17:41 / ____| | | 15:17:41 | | ___ __| | ___ ___ _____ __ 15:17:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:17:41 | |___| (_) | (_| | __/ (_| (_) \ V / 15:17:41 \_____\___/ \__,_|\___|\___\___/ \_/ 15:17:41 Bash-1.0.1 15:17:41 15:17:41 15:17:41 ==> git version 2.24.3 found 15:17:41 ==> 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 15:17:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:17:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:17:41 ==> Jenkins CI detected. 15:17:41 project root: . 15:17:41 --> token set from env 15:17:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:17:41 ==> Running gcov in . (disable via -X gcov) 15:17:41 ==> Python coveragepy not found 15:17:41 ==> Searching for coverage reports in: 15:17:41 + . 15:17:41 -> Found 1 reports 15:17:41 ==> Detecting git/mercurial file structure 15:17:41 ==> Reading reports 15:17:41 + ./coverage.out bytes=100116 15:17:41 ==> Appending adjustments 15:17:41 https://docs.codecov.io/docs/fixing-reports 15:17:42 + Found adjustments 15:17:42 ==> Gzipping contents 15:17:42 16K /tmp/codecov.sA6prz.gz 15:17:42 ==> Uploading reports 15:17:42 url: https://codecov.io 15:17:42 query: branch=PR-883&commit=cc2fb99d94801e599dd318b6093e400577257e87&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= 15:17:42 -> Pinging Codecov 15:17:42 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-883&commit=cc2fb99d94801e599dd318b6093e400577257e87&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= 15:17:42 -> Uploading to 15:17:42 https://storage.googleapis.com/codecov/v4/raw/2021-04-19/7E55EF52A471D76F132DFD9A03CDDE97/cc2fb99d94801e599dd318b6093e400577257e87/0f604405-206d-482c-9e81-04f78e2b62f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T151742Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6491d5dc42d85c10a0ffbaf9187f80329b7c1ab22627bb9f7033cfe726ebf6e9 15:17:42 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:42 Dload Upload Total Spent Left Speed 15:17:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13514 0 0 100 13514 0 26235 --:--:-- --:--:-- --:--:-- 26291 15:17:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cc2fb99d94801e599dd318b6093e400577257e87 [Pipeline] } 15:17:43 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 15:17:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:17:45 ---> package-listing.sh 15:17:45 ++ facter osfamily 15:17:45 ++ tr '[:upper:]' '[:lower:]' 15:17:45 + OS_FAMILY=redhat 15:17:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-883 15:17:45 + START_PACKAGES=/tmp/packages_start.txt 15:17:45 + END_PACKAGES=/tmp/packages_end.txt 15:17:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:17:45 + PACKAGES=/tmp/packages_start.txt 15:17:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' 15:17:45 + PACKAGES=/tmp/packages_end.txt 15:17:45 + case "${OS_FAMILY}" in 15:17:45 + rpm -qa 15:17:45 + sort 15:17:50 + '[' -f /tmp/packages_start.txt ']' 15:17:50 + '[' -f /tmp/packages_end.txt ']' 15:17:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:17:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' 15:17:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ 15:17:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [Pipeline] echo 15:17:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-883/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:17:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:17:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:17:50 15:17:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:17:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:17:51 alpine: Pulling from edgex-lftools-log-publisher 15:17:51 df20fa9351a1: Pulling fs layer 15:17:51 36b3adc4ff6f: Pulling fs layer 15:17:51 8ad3a11d3b57: Pulling fs layer 15:17:51 46f8f816bc3b: Pulling fs layer 15:17:51 93b61091891f: Pulling fs layer 15:17:51 93b9cdb0e59b: Pulling fs layer 15:17:51 5e14af77c1be: Pulling fs layer 15:17:51 01666e4c0597: Pulling fs layer 15:17:51 aa168da1d23b: Pulling fs layer 15:17:51 93b9cdb0e59b: Waiting 15:17:51 5e14af77c1be: Waiting 15:17:51 01666e4c0597: Waiting 15:17:51 aa168da1d23b: Waiting 15:17:51 46f8f816bc3b: Waiting 15:17:51 93b61091891f: Waiting 15:17:51 36b3adc4ff6f: Verifying Checksum 15:17:51 36b3adc4ff6f: Download complete 15:17:51 46f8f816bc3b: Verifying Checksum 15:17:51 46f8f816bc3b: Download complete 15:17:51 df20fa9351a1: Verifying Checksum 15:17:51 df20fa9351a1: Download complete 15:17:51 93b9cdb0e59b: Download complete 15:17:51 5e14af77c1be: Verifying Checksum 15:17:51 5e14af77c1be: Download complete 15:17:51 93b61091891f: Verifying Checksum 15:17:51 93b61091891f: Download complete 15:17:51 01666e4c0597: Verifying Checksum 15:17:51 01666e4c0597: Download complete 15:17:51 8ad3a11d3b57: Verifying Checksum 15:17:52 df20fa9351a1: Pull complete 15:17:52 36b3adc4ff6f: Pull complete 15:17:54 aa168da1d23b: Download complete 15:17:54 8ad3a11d3b57: Pull complete 15:17:54 46f8f816bc3b: Pull complete 15:17:54 93b61091891f: Pull complete 15:17:54 93b9cdb0e59b: Pull complete 15:17:55 5e14af77c1be: Pull complete 15:17:55 01666e4c0597: Pull complete 15:18:03 aa168da1d23b: Pull complete 15:18:03 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:18:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:18:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:18:03 prd-centos7-docker-4c-2g-800 does not seem to be running inside a container 15:18:03 $ 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-883/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-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:18:07 $ docker top d8406b5cf526b532dfd22e8d31126d56a02de61671a7b27df4071511a0bf5b10 -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:07 + touch /tmp/pre-build-complete [Pipeline] sh 15:18:08 + mkdir -p /var/log/sa [Pipeline] sh 15:18:08 + ls /var/log/sa-host 15:18:08 + sadf -c /var/log/sa-host/sa19 15:18:08 file_magic: OK 15:18:08 HZ: Using current value: 100 15:18:08 file_header: OK 15:18:08 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 15:18:08 Statistics: 15:18:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:18:08 File successfully converted to sysstat format version 12.2.1 15:18:08 + sadf -c /var/log/sa-host/sa23 15:18:08 file_magic: OK 15:18:08 HZ: Using current value: 100 15:18:08 file_header: OK 15:18:08 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 15:18:08 Statistics: 15:18:08 Hnuu...uuuununununu... 15:18:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:18:08 provisioning config files... 15:18:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config4315787480478794412tmp [Pipeline] { [Pipeline] echo 15:18:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:18:09 ---> create-netrc.sh [Pipeline] } 15:18:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:18:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:18:09 ---> python-tools-install.sh [Pipeline] echo 15:18:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:18:10 ---> sudo-logs.sh 15:18:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:18:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:18:10 ---> job-cost.sh 15:18:10 lf-activate-venv: SKIPPING 15:18:10 DEBUG: total: 0.20999999344348907 15:18:10 INFO: Retrieving Stack Cost... 15:18:11 INFO: Retrieving Pricing Info for: v1-standard-2 15:18:12 INFO: Archiving Costs [Pipeline] echo 15:18:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:18:12 ---> logs-deploy.sh 15:18:12 lf-activate-venv: SKIPPING 15:18:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-883/3 15:18:12 INFO: archiving workspace using pattern(s): 15:18:14 Archives upload complete. 15:18:14 INFO: archiving logs to Nexus