Pull request #890 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from becd03bf60ab98acffaf2aec0b42ab743071a62d+92affc97e25621ac5a3617c0e5e42feb55191c77 (415f6a28e67bab6d03e320b40790a816b16c2f15) 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 ‘prd-centos7-docker-4c-2g-1968’ Running on prd-centos7-docker-4c-2g-1971 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [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-890 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit becd03bf60ab98acffaf2aec0b42ab743071a62d Merge succeeded, producing becd03bf60ab98acffaf2aec0b42ab743071a62d Checking out Revision becd03bf60ab98acffaf2aec0b42ab743071a62d (PR-890) > 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/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git rev-list --no-walk 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:58:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:58:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:58:36 ========================================================= 03:58:36 EdgeX Global Pipelines Version Info 03:58:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:58:38 ------------------- 03:58:38 stable info: 03:58:38 ------------------- 03:58:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:58:38 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 03:58:38 Message: update stable to v1.0.186 03:58:38 ------------------- 03:58:38 experimental info: 03:58:38 ------------------- 03:58:38 Commited By: **** collab-it+edgex@linuxfoundation.org 03:58:38 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 03:58:38 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-890 [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-890 [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-890 [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = becd03bf60ab98acffaf2aec0b42ab743071a62d [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = becd03b [Pipeline] echo 03:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:58:40 provisioning config files... 03:58:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config4872524397034684065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:40 ---> docker-login.sh 03:58:40 nexus3.edgexfoundry.org:10001 03:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:40 Configure a credential helper to remove this warning. See 03:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:40 03:58:40 Login Succeeded 03:58:40 nexus3.edgexfoundry.org:10002 03:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:41 Configure a credential helper to remove this warning. See 03:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:41 03:58:41 Login Succeeded 03:58:41 nexus3.edgexfoundry.org:10003 03:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:41 Configure a credential helper to remove this warning. See 03:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:41 03:58:41 Login Succeeded 03:58:41 nexus3.edgexfoundry.org:10004 03:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:41 Configure a credential helper to remove this warning. See 03:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:41 03:58:41 Login Succeeded 03:58:41 docker.io 03:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:42 Configure a credential helper to remove this warning. See 03:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:42 03:58:42 Login Succeeded 03:58:42 ---> docker-login.sh ends [Pipeline] } 03:58:42 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 03:58:42 + git log --format=format:%s -1 becd03bf60ab98acffaf2aec0b42ab743071a62d [Pipeline] echo 03:58:42 GIT_COMMIT: becd03bf60ab98acffaf2aec0b42ab743071a62d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 03:58:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:58:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:58:43 03:58:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:58:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:58:43 latest: Pulling from edgex-devops/git-semver 03:58:43 31603596830f: Pulling fs layer 03:58:43 2a8b12db71e7: Pulling fs layer 03:58:43 6ca5941a6612: Pulling fs layer 03:58:43 ecc8261a40a4: Pulling fs layer 03:58:43 ecc8261a40a4: Waiting 03:58:43 2a8b12db71e7: Verifying Checksum 03:58:43 2a8b12db71e7: Download complete 03:58:43 31603596830f: Verifying Checksum 03:58:43 31603596830f: Download complete 03:58:43 6ca5941a6612: Verifying Checksum 03:58:43 6ca5941a6612: Download complete 03:58:43 ecc8261a40a4: Verifying Checksum 03:58:43 ecc8261a40a4: Download complete 03:58:44 31603596830f: Pull complete 03:58:44 2a8b12db71e7: Pull complete 03:58:45 6ca5941a6612: Pull complete 03:58:45 ecc8261a40a4: Pull complete 03:58:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:58:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:58:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:58:45 prd-centos7-docker-4c-2g-1971 does not seem to be running inside a container 03:58:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-890 -v /w/workspace/dgexfoundry_device-sdk-go_PR-890:/w/workspace/dgexfoundry_device-sdk-go_PR-890:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-890@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 03:58:48 $ docker top abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:58:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:48 [ssh-agent] Looking for ssh-agent implementation... 03:58:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:48 $ docker exec abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc ssh-agent 03:58:49 SSH_AUTH_SOCK=/tmp/ssh-4rGELsNKRKEQ/agent.11 03:58:49 SSH_AGENT_PID=16 03:58:49 Running ssh-add (command line suppressed) 03:58:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_4567726166333894594.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_4567726166333894594.key) 03:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:49 + git tag --points-at HEAD [Pipeline] } 03:58:49 $ docker exec --env ******** --env ******** abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc ssh-agent -k 03:58:49 unset SSH_AUTH_SOCK; 03:58:49 unset SSH_AGENT_PID; 03:58:49 echo Agent pid 16 killed; 03:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:49 [ssh-agent] Looking for ssh-agent implementation... 03:58:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:50 $ docker exec abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc ssh-agent 03:58:50 SSH_AUTH_SOCK=/tmp/ssh-6zfJZWvjRti0/agent.45 03:58:50 SSH_AGENT_PID=50 03:58:50 Running ssh-add (command line suppressed) 03:58:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_330939787857165444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_330939787857165444.key) 03:58:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:50 + git semver init 03:58:50 # -> Open(): unable to determine branch for HEAD 03:58:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.git 03:58:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-890 03:58:50 # $SEMVER_REMOTE_NAME = origin 03:58:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:58:50 # $SEMVER_USER_NAME = edgex-jenkins 03:58:50 # $SEMVER_BRANCH = PR-890 03:58:50 # $SEMVER_TEMP = /tmp/semver-113087724 03:58:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:58:51 # '/tmp/semver-113087724' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver' 03:58:51 # -> Force: false 03:58:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver [Pipeline] } 03:58:51 $ docker exec --env ******** --env ******** abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc ssh-agent -k 03:58:52 unset SSH_AUTH_SOCK; 03:58:52 unset SSH_AGENT_PID; 03:58:52 echo Agent pid 50 killed; 03:58:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:58:52 + git semver [Pipeline] } 03:58:52 $ docker stop --time=1 abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc 03:58:54 $ docker rm -f abb19c4b2419ac67394525f0a4cadd333de36963f4aa82b169a22d0c2752e7cc [Pipeline] // withDockerContainer [Pipeline] sh 03:58:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:58:55 Stashed 1 file(s) [Pipeline] echo 03:58:55 [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 03:59:10 Still waiting to schedule task 03:59:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:59:10 Still waiting to schedule task 03:59:10 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1972’ is offline 04:00:24 Running on prd-centos7-docker-4c-2g-1975 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws 04:00:25 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 04:00:27 using credential edgex-jenkins-ssh 04:00:27 Cloning the remote Git repository 04:00:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:00:27 > git init /w/workspace/device-sdk-go/4 # timeout=10 04:00:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:00:28 > git --version # timeout=10 04:00:28 > git --version # 'git version 2.24.3' 04:00:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:29 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit becd03bf60ab98acffaf2aec0b42ab743071a62d 04:00:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:00:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:00:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:00:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:00:29 > git config core.sparsecheckout # timeout=10 04:00:29 > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 04:00:29 > git remote # timeout=10 04:00:29 > git config --get remote.origin.url # timeout=10 04:00:29 Merge succeeded, producing becd03bf60ab98acffaf2aec0b42ab743071a62d 04:00:29 Checking out Revision becd03bf60ab98acffaf2aec0b42ab743071a62d (PR-890) 04:00:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:29 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 04:00:29 > git rev-parse HEAD^{commit} # timeout=10 04:00:29 > git config core.sparsecheckout # timeout=10 04:00:29 > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 04:00:33 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:00:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:00:34 + sudo service docker restart 04:00:34 + true 04:00:34 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:00:35 provisioning config files... 04:00:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8830613170022593654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:36 ---> docker-login.sh 04:00:36 nexus3.edgexfoundry.org:10001 04:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:36 Configure a credential helper to remove this warning. See 04:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:36 04:00:36 Login Succeeded 04:00:36 nexus3.edgexfoundry.org:10002 04:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:36 Configure a credential helper to remove this warning. See 04:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:36 04:00:36 Login Succeeded 04:00:36 nexus3.edgexfoundry.org:10003 04:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:37 Configure a credential helper to remove this warning. See 04:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:37 04:00:37 Login Succeeded 04:00:37 nexus3.edgexfoundry.org:10004 04:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:37 Configure a credential helper to remove this warning. See 04:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:37 04:00:37 Login Succeeded 04:00:37 docker.io 04:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:37 Configure a credential helper to remove this warning. See 04:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:37 04:00:37 Login Succeeded 04:00:37 ---> docker-login.sh ends [Pipeline] } 04:00:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:37 ========================================================= 04:00:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:00:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:00:38 + 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 . 04:00:38 Sending build context to Docker daemon 2.468MB 04:00:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:00:38 Step 2/8 : FROM ${BASE} 04:00:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:00:38 188c0c94c7c5: Pulling fs layer 04:00:38 0ef7d3d256c8: Pulling fs layer 04:00:38 de9db76c5a1d: Pulling fs layer 04:00:38 bca2f99d35d6: Pulling fs layer 04:00:38 93359f2a8cfa: Pulling fs layer 04:00:38 7c6f9722023f: Pulling fs layer 04:00:38 a35cf1a2eb13: Pulling fs layer 04:00:38 93359f2a8cfa: Waiting 04:00:38 7c6f9722023f: Waiting 04:00:38 a35cf1a2eb13: Waiting 04:00:38 bca2f99d35d6: Waiting 04:00:38 de9db76c5a1d: Verifying Checksum 04:00:38 de9db76c5a1d: Download complete 04:00:38 0ef7d3d256c8: Verifying Checksum 04:00:38 0ef7d3d256c8: Download complete 04:00:38 93359f2a8cfa: Verifying Checksum 04:00:38 93359f2a8cfa: Download complete 04:00:38 188c0c94c7c5: Verifying Checksum 04:00:38 188c0c94c7c5: Download complete 04:00:38 7c6f9722023f: Verifying Checksum 04:00:38 7c6f9722023f: Download complete 04:00:38 188c0c94c7c5: Pull complete 04:00:38 0ef7d3d256c8: Pull complete 04:00:39 de9db76c5a1d: Pull complete 04:00:40 a35cf1a2eb13: Verifying Checksum 04:00:40 a35cf1a2eb13: Download complete 04:00:40 bca2f99d35d6: Verifying Checksum 04:00:40 bca2f99d35d6: Download complete 04:00:46 bca2f99d35d6: Pull complete 04:00:46 93359f2a8cfa: Pull complete 04:00:46 7c6f9722023f: Pull complete 04:00:56 a35cf1a2eb13: Pull complete 04:00:56 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:00:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:00:56 ---> a62c8e92a672 04:00:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:00:56 ---> Running in 5f181ee9ccad 04:00:56 Removing intermediate container 5f181ee9ccad 04:00:56 ---> 75150d665d76 04:00:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:00:56 ---> Running in b1c3a082d0d6 04:00:56 Removing intermediate container b1c3a082d0d6 04:00:56 ---> c49df77a71f4 04:00:56 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:00:56 ---> Running in 076ecdda8166 04:00:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:00:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:00:58 (1/6) Installing libc-dev (0.7.2-r3) 04:00:58 (2/6) Installing libsodium (1.0.18-r0) 04:00:58 (3/6) Installing pkgconf (1.7.2-r0) 04:00:58 (4/6) Installing libsodium-dev (1.0.18-r0) 04:00:58 (5/6) Installing libzmq (4.3.3-r0) 04:00:58 (6/6) Installing zeromq-dev (4.3.3-r0) 04:00:59 Executing busybox-1.31.1-r19.trigger 04:00:59 OK: 167 MiB in 45 packages 04:00:59 Removing intermediate container 076ecdda8166 04:00:59 ---> f28ef92619ec 04:00:59 Step 6/8 : WORKDIR /device-sdk-go 04:00:59 ---> Running in 3418b3755de4 04:00:59 Removing intermediate container 3418b3755de4 04:00:59 ---> edb9639f91a1 04:00:59 Step 7/8 : COPY . . 04:01:00 ---> 19fb12b59242 04:01:00 Step 8/8 : RUN go mod download 04:01:01 ---> Running in e83afbde3048 04:01:23 Removing intermediate container e83afbde3048 04:01:23 ---> 393c8e7ed5f5 04:01:23 Successfully built 393c8e7ed5f5 04:01:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:01:23 + docker inspect -f . ci-base-image-x86_64 04:01:23 . [Pipeline] withDockerContainer 04:01:23 prd-centos7-docker-4c-2g-1975 does not seem to be running inside a container 04:01:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 04:01:24 $ docker top 4deb871a2f03f63ae49cd1e56a89b4400f8c3eb59796a42106ff9c4e48d346f5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:25 + go version 04:01:25 go version go1.15.5 linux/amd64 [Pipeline] } 04:01:25 $ docker stop --time=1 4deb871a2f03f63ae49cd1e56a89b4400f8c3eb59796a42106ff9c4e48d346f5 04:01:26 $ docker rm -f 4deb871a2f03f63ae49cd1e56a89b4400f8c3eb59796a42106ff9c4e48d346f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:01:27 + docker inspect -f . ci-base-image-x86_64 04:01:27 . [Pipeline] withDockerContainer 04:01:27 prd-centos7-docker-4c-2g-1975 does not seem to be running inside a container 04:01:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 04:01:27 $ docker top 5b9bd6aed8bdf0ece8c7f5cc6d2cb1cd622359276e4ccd5cc2ba416da57c8201 -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:28 + make test 04:01:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:01:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1977 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws 04:01:33 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 04:01:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:01:40 using credential edgex-jenkins-ssh 04:01:40 Cloning the remote Git repository 04:01:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:01:40 > git init /w/workspace/device-sdk-go/4 # timeout=10 04:01:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:40 > git --version # timeout=10 04:01:40 > git --version # 'git version 2.17.1' 04:01:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:42 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit becd03bf60ab98acffaf2aec0b42ab743071a62d 04:01:42 Merge succeeded, producing becd03bf60ab98acffaf2aec0b42ab743071a62d 04:01:42 Checking out Revision becd03bf60ab98acffaf2aec0b42ab743071a62d (PR-890) 04:01:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:01:42 > git config core.sparsecheckout # timeout=10 04:01:42 > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 04:01:42 > git remote # timeout=10 04:01:42 > git config --get remote.origin.url # timeout=10 04:01:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:42 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 04:01:42 > git rev-parse HEAD^{commit} # timeout=10 04:01:42 > git config core.sparsecheckout # timeout=10 04:01:42 > git checkout -f becd03bf60ab98acffaf2aec0b42ab743071a62d # timeout=10 04:01:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:48 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:01:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:01:49 + sudo+ service docker restarttrue 04:01:49 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:01:51 provisioning config files... 04:01:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6968457851848410606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:52 ---> docker-login.sh 04:01:52 nexus3.edgexfoundry.org:10001 04:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:53 Configure a credential helper to remove this warning. See 04:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:53 04:01:53 Login Succeeded 04:01:53 nexus3.edgexfoundry.org:10002 04:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:54 Configure a credential helper to remove this warning. See 04:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:54 04:01:54 Login Succeeded 04:01:54 nexus3.edgexfoundry.org:10003 04:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:54 Configure a credential helper to remove this warning. See 04:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:54 04:01:54 Login Succeeded 04:01:54 nexus3.edgexfoundry.org:10004 04:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:55 Configure a credential helper to remove this warning. See 04:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:55 04:01:55 Login Succeeded 04:01:55 docker.io 04:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:56 Configure a credential helper to remove this warning. See 04:01:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:56 04:01:56 Login Succeeded 04:01:56 ---> docker-login.sh ends [Pipeline] } 04:01:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:56 ========================================================= 04:01:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:01:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:01:56 + 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 . 04:01:57 Sending build context to Docker daemon 2.46MB 04:01:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:01:57 Step 2/8 : FROM ${BASE} 04:01:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:01:57 5f621e34cdf4: Pulling fs layer 04:01:57 a4357932f1b6: Pulling fs layer 04:01:57 18c013af1878: Pulling fs layer 04:01:57 00ac8860ef70: Pulling fs layer 04:01:57 63d7cb157983: Pulling fs layer 04:01:57 b116817d02f9: Pulling fs layer 04:01:57 745a02a5169b: Pulling fs layer 04:01:57 63d7cb157983: Waiting 04:01:57 b116817d02f9: Waiting 04:01:57 745a02a5169b: Waiting 04:01:57 00ac8860ef70: Waiting 04:01:57 18c013af1878: Download complete 04:01:57 a4357932f1b6: Verifying Checksum 04:01:57 a4357932f1b6: Download complete 04:01:57 63d7cb157983: Verifying Checksum 04:01:57 63d7cb157983: Download complete 04:01:57 b116817d02f9: Download complete 04:01:57 5f621e34cdf4: Verifying Checksum 04:01:57 5f621e34cdf4: Download complete 04:01:58 5f621e34cdf4: Pull complete 04:01:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:01:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:01:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:01:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:01:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:01:59 a4357932f1b6: Pull complete 04:01:59 18c013af1878: Pull complete 04:01:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 28.1% of statements 04:01:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.107s coverage: 78.9% of statements 04:01:59 745a02a5169b: Verifying Checksum 04:01:59 745a02a5169b: Download complete 04:02:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.083s coverage: 7.8% of statements 04:02:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:02:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:02:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:02:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 30.2% of statements 04:02:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:02:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:02:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:02:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 57.2% of statements 04:02:01 00ac8860ef70: Verifying Checksum 04:02:01 00ac8860ef70: Download complete 04:02:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.236s coverage: 6.6% of statements 04:02:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements 04:02:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:02:02 GO111MODULE=on go vet ./... 04:02:12 00ac8860ef70: Pull complete 04:02:12 63d7cb157983: Pull complete 04:02:12 b116817d02f9: Pull complete 04:02:15 745a02a5169b: Pull complete 04:02:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:02:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:02:15 ---> b7e6874047d6 04:02:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:02:19 ---> Running in a27255f4f20f 04:02:19 Removing intermediate container a27255f4f20f 04:02:19 ---> 3afee27516e9 04:02:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:19 ---> Running in c2ec2c0cde94 04:02:21 gofmt -l . 04:02:21 [ "`gofmt -l .`" = "" ] 04:02:21 ./bin/test-attribution-txt.sh 04:02:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:02:21 $ docker stop --time=1 5b9bd6aed8bdf0ece8c7f5cc6d2cb1cd622359276e4ccd5cc2ba416da57c8201 04:02:22 Removing intermediate container c2ec2c0cde94 04:02:22 ---> 935c87bde95e 04:02:22 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:02:22 ---> Running in 38b827457543 04:02:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:02:24 $ docker rm -f 5b9bd6aed8bdf0ece8c7f5cc6d2cb1cd622359276e4ccd5cc2ba416da57c8201 04:02:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh 04:02:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:24 (1/6) Installing libc-dev (0.7.2-r3) 04:02:24 (2/6) Installing libsodium (1.0.18-r0) 04:02:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 04:02:25 (3/6) Installing pkgconf (1.7.2-r0) 04:02:25 (4/6) Installing libsodium-dev (1.0.18-r0) 04:02:25 (5/6) Installing libzmq (4.3.3-r0) [Pipeline] stage [Pipeline] { (Build) 04:02:25 (6/6) Installing zeromq-dev (4.3.3-r0) 04:02:25 Executing busybox-1.31.1-r19.trigger 04:02:25 OK: 144 MiB in 45 packages [Pipeline] sh 04:02:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:02:26 + ls -al . 04:02:26 total 188 04:02:26 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 27 04:02 . 04:02:26 drwxrwxr-x. 4 jenkins jenkins 28 Apr 27 04:00 .. 04:02:26 drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 04:00 bin 04:02:26 -rw-r--r--. 1 jenkins jenkins 100320 Apr 27 04:02 coverage.out 04:02:26 -rw-rw-r--. 1 jenkins jenkins 987 Apr 27 04:00 Dockerfile.build 04:02:26 -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 04:00 .dockerignore 04:02:26 drwxrwxr-x. 5 jenkins jenkins 62 Apr 27 04:00 example 04:02:26 drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 04:00 .git 04:02:26 drwxrwxr-x. 2 jenkins jenkins 103 Apr 27 04:00 .github 04:02:26 -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 04:00 .gitignore 04:02:26 -rw-r--r--. 1 jenkins jenkins 575 Apr 27 04:02 go.mod 04:02:26 -rw-r--r--. 1 jenkins jenkins 20895 Apr 27 04:02 go.sum 04:02:26 drwxrwxr-x. 14 jenkins jenkins 207 Apr 27 04:00 internal 04:02:26 -rw-rw-r--. 1 jenkins jenkins 901 Apr 27 04:00 Jenkinsfile 04:02:26 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 04:00 LICENSE 04:02:26 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 27 04:00 Makefile 04:02:26 drwxrwxr-x. 4 jenkins jenkins 26 Apr 27 04:00 openapi 04:02:26 drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 04:00 pkg 04:02:26 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 27 04:00 README.md 04:02:26 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 27 04:00 RELEASE-NOTES.txt 04:02:26 drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 04:00 snap 04:02:26 -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 03:58 VERSION 04:02:26 -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 04:00 version.go [Pipeline] isUnix [Pipeline] sh 04:02:26 + 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=becd03bf60ab98acffaf2aec0b42ab743071a62d --label arch=amd64 --label version=0.0.0 . 04:02:26 Removing intermediate container 38b827457543 04:02:26 ---> e08b9185b79a 04:02:26 Step 6/8 : WORKDIR /device-sdk-go 04:02:27 Sending build context to Docker daemon 2.569MB 04:02:27 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 04:02:27 Step 2/23 : FROM ${BASE} AS builder 04:02:27 ---> 393c8e7ed5f5 04:02:27 Step 3/23 : WORKDIR /device-sdk-go 04:02:27 ---> Running in 9f1954528a39 04:02:27 ---> Running in 8d86836944f4 04:02:27 Removing intermediate container 8d86836944f4 04:02:27 ---> df2abad196d9 04:02:27 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:02:27 ---> Running in 89645209f0a2 04:02:27 Removing intermediate container 9f1954528a39 04:02:27 ---> 5f77a17c6dfa 04:02:27 Step 7/8 : COPY . . 04:02:27 Removing intermediate container 89645209f0a2 04:02:27 ---> 5a4a0ed36d16 04:02:27 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:27 ---> Running in f26540dbd156 04:02:29 ---> b59e01c929b6 04:02:29 Step 8/8 : RUN go mod download 04:02:29 ---> Running in 48d61ed5fda1 04:02:29 Removing intermediate container f26540dbd156 04:02:29 ---> 9515b06ad5e8 04:02:29 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:02:29 ---> Running in ce2e6eaa87e9 04:02:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:02:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:02:30 OK: 167 MiB in 45 packages 04:02:31 Removing intermediate container ce2e6eaa87e9 04:02:31 ---> a363d5b801b4 04:02:31 Step 7/23 : COPY . . 04:02:32 ---> 61e520397d3b 04:02:32 Step 8/23 : RUN go mod download 04:02:32 ---> Running in 89bc224a9b04 04:02:33 Removing intermediate container 89bc224a9b04 04:02:33 ---> 599d38d0db93 04:02:33 Step 9/23 : RUN make build 04:02:33 ---> Running in 899aa7eb5a2c 04:02: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 04:02:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:02:47 Removing intermediate container 899aa7eb5a2c 04:02:47 ---> 2cda8231a9d7 04:02:47 Step 10/23 : FROM alpine:3.12 04:02:47 3.12: Pulling from library/alpine 04:02:47 339de151aab4: Pulling fs layer 04:02:48 339de151aab4: Verifying Checksum 04:02:48 339de151aab4: Download complete 04:02:48 339de151aab4: Pull complete 04:02:48 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:02:48 Status: Downloaded newer image for alpine:3.12 04:02:48 ---> 13621d1b12d4 04:02:48 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:02:48 ---> Running in 836879d8a767 04:02:48 Removing intermediate container 836879d8a767 04:02:48 ---> f42bf98091b4 04:02:48 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:48 ---> Running in d13d1d5c7d40 04:02:49 Removing intermediate container d13d1d5c7d40 04:02:49 ---> f8de4d1556de 04:02:49 Step 13/23 : RUN apk add --update --no-cache zeromq 04:02:49 ---> Running in b7fdba05065e 04:02:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:02:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:02:51 (1/5) Installing libgcc (9.3.0-r2) 04:02:51 (2/5) Installing libsodium (1.0.18-r0) 04:02:51 (3/5) Installing libstdc++ (9.3.0-r2) 04:02:53 (4/5) Installing libzmq (4.3.3-r0) 04:02:53 (5/5) Installing zeromq (4.3.3-r0) 04:02:53 Executing busybox-1.31.1-r20.trigger 04:02:53 OK: 8 MiB in 19 packages 04:02:54 Removing intermediate container b7fdba05065e 04:02:54 ---> 58348fd66c52 04:02:54 Step 14/23 : WORKDIR / 04:02:54 ---> Running in 98b16dc082c6 04:02:54 Removing intermediate container 98b16dc082c6 04:02:54 ---> 21141c808abe 04:02:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:02:54 ---> be5f1d68c5b8 04:02:54 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:02:55 ---> f10101050c60 04:02:55 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:02:55 ---> f581ac78051c 04:02:55 Step 18/23 : EXPOSE 49990 04:02:55 ---> Running in 4c5d769988fb 04:02:55 Removing intermediate container 4c5d769988fb 04:02:55 ---> a6370fc4aec9 04:02:55 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:02:55 ---> Running in 52d18908dce0 04:02:56 Removing intermediate container 48d61ed5fda1 04:02:56 ---> a4ce05710736 04:02:56 Successfully built a4ce05710736 04:02:56 Successfully tagged ci-base-image-arm64:latest 04:02:56 Removing intermediate container 52d18908dce0 04:02:56 ---> 2b2026833c44 04:02:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:02:56 ---> Running in f428dfe7471a [Pipeline] isUnix [Pipeline] sh 04:02:56 Removing intermediate container f428dfe7471a 04:02:56 ---> cbc5f4aeab36 04:02:56 Step 21/23 : LABEL arch=amd64 04:02:56 ---> Running in b2d5b74d47cc 04:02:56 + docker inspect -f . ci-base-image-arm64 04:02:56 . [Pipeline] withDockerContainer 04:02:56 Removing intermediate container b2d5b74d47cc 04:02:56 ---> a10330d3064e 04:02:56 Step 22/23 : LABEL git_sha=becd03bf60ab98acffaf2aec0b42ab743071a62d 04:02:56 ---> Running in e49efcafe354 04:02:56 prd-ubuntu18.04-docker-arm64-4c-16g-1977 does not seem to be running inside a container 04:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 04:02:56 Removing intermediate container e49efcafe354 04:02:56 ---> 0c95c519925d 04:02:56 Step 23/23 : LABEL version=0.0.0 04:02:56 ---> Running in 2eb7e7216ec3 04:02:56 Removing intermediate container 2eb7e7216ec3 04:02:56 ---> 87faa3364961 04:02:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:02:56 Successfully built 87faa3364961 04:02:57 Successfully tagged docker-device-sdk-simple:latest 04:02:58 $ docker top 232b9a763f06ebe79bd000f8c44adde887b92ab8d597611f2b52c984b1f73f27 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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 04:02:59 ---> job-cost.sh 04:02:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Z9Yo 04:02:59 + go version 04:02:59 go version go1.15.5 linux/arm64 [Pipeline] } 04:02:59 $ docker stop --time=1 232b9a763f06ebe79bd000f8c44adde887b92ab8d597611f2b52c984b1f73f27 04:03:01 $ docker rm -f 232b9a763f06ebe79bd000f8c44adde887b92ab8d597611f2b52c984b1f73f27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:01 + docker inspect -f . ci-base-image-arm64 04:03:01 . [Pipeline] withDockerContainer 04:03:02 prd-ubuntu18.04-docker-arm64-4c-16g-1977 does not seem to be running inside a container 04:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 04:03:03 $ docker top 935b1d323a007b9425dab0edef5eff47cb853634717085880144a5c8dd7414c5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:04 + make test 04:03:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:03:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:03:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:03:40 lf-activate-venv(): INFO: Adding /tmp/venv-Z9Yo/bin to PATH 04:03:40 INFO: No Stack... 04:03:40 INFO: Retrieving Pricing Info for: v1-standard-2 04:03:41 INFO: Archiving Costs [Pipeline] sh 04:03:42 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 04:03:42 + cut -d, -f6 [Pipeline] lock 04:03:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] 04:03:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] did not exist. Created. 04:03:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:03:42 + echo total: 0.029999999329447746 [Pipeline] stash 04:03:42 Stashed 1 file(s) [Pipeline] } 04:03:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:04:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:04:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:04:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:04:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:04:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:04:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 28.1% of statements 04:04:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.186s coverage: 78.9% of statements 04:04:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.120s coverage: 7.8% of statements 04:04:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:04:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:04:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:04:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.277s coverage: 30.2% of statements 04:04:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:04:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:04:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:04:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.286s coverage: 57.2% of statements 04:04:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.150s coverage: 6.6% of statements 04:04:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements 04:04:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:04:40 GO111MODULE=on go vet ./... 04:05:27 gofmt -l . 04:05:27 [ "`gofmt -l .`" = "" ] 04:05:27 ./bin/test-attribution-txt.sh 04:05:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:05:27 $ docker stop --time=1 935b1d323a007b9425dab0edef5eff47cb853634717085880144a5c8dd7414c5 04:05:29 $ docker rm -f 935b1d323a007b9425dab0edef5eff47cb853634717085880144a5c8dd7414c5 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:30 Warning: overwriting stash ‘coverage-report’ 04:05:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:32 + ls -al . 04:05:32 total 224 04:05:32 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:05 . 04:05:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:01 .. 04:05:32 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:01 .dockerignore 04:05:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:01 .git 04:05:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:01 .github 04:05:32 -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 04:01 .gitignore 04:05:32 -rw-rw-r-- 1 jenkins jenkins 987 Apr 27 04:01 Dockerfile.build 04:05:32 -rw-rw-r-- 1 jenkins jenkins 901 Apr 27 04:01 Jenkinsfile 04:05:32 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:01 LICENSE 04:05:32 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 27 04:01 Makefile 04:05:32 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 27 04:01 README.md 04:05:32 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 27 04:01 RELEASE-NOTES.txt 04:05:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 03:58 VERSION 04:05:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:01 bin 04:05:32 -rw-r--r-- 1 jenkins jenkins 100320 Apr 27 04:04 coverage.out 04:05:32 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:01 example 04:05:32 -rw-r--r-- 1 jenkins jenkins 575 Apr 27 04:05 go.mod 04:05:32 -rw-r--r-- 1 jenkins jenkins 20895 Apr 27 04:05 go.sum 04:05:32 drwxrwxr-x 14 jenkins jenkins 4096 Apr 27 04:01 internal 04:05:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:01 openapi 04:05:32 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:01 pkg 04:05:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:01 snap 04:05:32 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:01 version.go [Pipeline] isUnix [Pipeline] sh 04:05:32 + 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=becd03bf60ab98acffaf2aec0b42ab743071a62d --label arch=arm64 --label version=0.0.0 . 04:05:33 Sending build context to Docker daemon 2.561MB 04:05:33 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 04:05:33 Step 2/23 : FROM ${BASE} AS builder 04:05:33 ---> a4ce05710736 04:05:33 Step 3/23 : WORKDIR /device-sdk-go 04:05:33 ---> Running in 0126773ddd55 04:05:34 Removing intermediate container 0126773ddd55 04:05:34 ---> bd388ee93faa 04:05:34 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:34 ---> Running in 18c24a134c76 04:05:34 Removing intermediate container 18c24a134c76 04:05:34 ---> 2536f51e6de3 04:05:34 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:34 ---> Running in 489066d21d86 04:05:36 Removing intermediate container 489066d21d86 04:05:36 ---> 3ff38eea03e1 04:05:36 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:36 ---> Running in af71267f908a 04:05:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:05:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:05:39 OK: 144 MiB in 45 packages 04:05:40 Removing intermediate container af71267f908a 04:05:40 ---> 0a4bb7eb666a 04:05:40 Step 7/23 : COPY . . 04:05:41 ---> 16fb3e1d3c42 04:05:41 Step 8/23 : RUN go mod download 04:05:41 ---> Running in 9e9a3d671f70 04:05:44 Removing intermediate container 9e9a3d671f70 04:05:44 ---> def8eb21e947 04:05:44 Step 9/23 : RUN make build 04:05:44 ---> Running in 604d08b1b860 04:05:45 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 04:06:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:06:20 Removing intermediate container 604d08b1b860 04:06:20 ---> 41580d4dd041 04:06:20 Step 10/23 : FROM alpine:3.12 04:06:20 3.12: Pulling from library/alpine 04:06:20 d2f70382dc9a: Pulling fs layer 04:06:21 d2f70382dc9a: Download complete 04:06:21 d2f70382dc9a: Pull complete 04:06:21 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:06:21 Status: Downloaded newer image for alpine:3.12 04:06:21 ---> 9852663dfa18 04:06:21 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:21 ---> Running in 6a5f111c66bc 04:06:22 Removing intermediate container 6a5f111c66bc 04:06:22 ---> bcb87b21e8ba 04:06:22 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:22 ---> Running in 01a3a18d2654 04:06:24 Removing intermediate container 01a3a18d2654 04:06:24 ---> 7815edb45980 04:06:24 Step 13/23 : RUN apk add --update --no-cache zeromq 04:06:24 ---> Running in ea19e75488b6 04:06:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:06:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:06:27 (1/5) Installing libgcc (9.3.0-r2) 04:06:27 (2/5) Installing libsodium (1.0.18-r0) 04:06:27 (3/5) Installing libstdc++ (9.3.0-r2) 04:06:27 (4/5) Installing libzmq (4.3.3-r0) 04:06:27 (5/5) Installing zeromq (4.3.3-r0) 04:06:27 Executing busybox-1.31.1-r20.trigger 04:06:27 OK: 8 MiB in 19 packages 04:06:29 Removing intermediate container ea19e75488b6 04:06:29 ---> 788f10ca72b1 04:06:29 Step 14/23 : WORKDIR / 04:06:29 ---> Running in 274b76c7d930 04:06:29 Removing intermediate container 274b76c7d930 04:06:29 ---> c9e2e23a6a51 04:06:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:06:30 ---> 2f418bc411d3 04:06:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:06:31 ---> ea619623bc0f 04:06:31 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:06:32 ---> 77c2b83f6b9a 04:06:32 Step 18/23 : EXPOSE 49990 04:06:32 ---> Running in 61c178136bce 04:06:32 Removing intermediate container 61c178136bce 04:06:32 ---> 42c39c689914 04:06:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:06:33 ---> Running in 251ad7e12ed9 04:06:33 Removing intermediate container 251ad7e12ed9 04:06:33 ---> e67f486ac81d 04:06:33 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:06:33 ---> Running in cf2792a63d24 04:06:34 Removing intermediate container cf2792a63d24 04:06:34 ---> 256be0f6069e 04:06:34 Step 21/23 : LABEL arch=arm64 04:06:34 ---> Running in f01d81210b66 04:06:34 Removing intermediate container f01d81210b66 04:06:34 ---> 724df2c8af9f 04:06:34 Step 22/23 : LABEL git_sha=becd03bf60ab98acffaf2aec0b42ab743071a62d 04:06:34 ---> Running in 96837004466e 04:06:35 Removing intermediate container 96837004466e 04:06:35 ---> 4d4cb951590a 04:06:35 Step 23/23 : LABEL version=0.0.0 04:06:35 ---> Running in 70075a5100c8 04:06:36 Removing intermediate container 70075a5100c8 04:06:36 ---> b26baa17ec3f 04:06:36 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:06:36 Successfully built b26baa17ec3f 04:06:36 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 04:06:36 ---> job-cost.sh 04:06:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-S7Y8 04:07:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:08:37 lf-activate-venv(): INFO: Adding /tmp/venv-S7Y8/bin to PATH 04:08:37 INFO: No Stack... 04:08:37 INFO: Retrieving Pricing Info for: lf-standard-4 04:08:38 INFO: Archiving Costs [Pipeline] sh 04:08:38 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 04:08:38 + cut -d, -f6 [Pipeline] lock 04:08:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] 04:08:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] did not exist. Created. 04:08:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:08:39 /w/workspace/device-sdk-go/4@tmp/durable-66676c3f/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-66676c3f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:08:39 + echo total: 0.20999999344348907 [Pipeline] stash 04:08:39 Warning: overwriting stash ‘stack-cost’ 04:08:39 Stashed 1 file(s) [Pipeline] } 04:08:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-4-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 04:08:40 provisioning config files... 04:08:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config5519933962699051993tmp [Pipeline] { [Pipeline] sh 04:08:40 + set +x 04:08:40 + bash -s -- 04:08:40 + curl -s https://codecov.io/bash 04:08:40 04:08:40 _____ _ 04:08:40 / ____| | | 04:08:40 | | ___ __| | ___ ___ _____ __ 04:08:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:08:40 | |___| (_) | (_| | __/ (_| (_) \ V / 04:08:40 \_____\___/ \__,_|\___|\___\___/ \_/ 04:08:40 Bash-1.0.2 04:08:40 04:08:40 04:08:40 ==> git version 2.24.3 found 04:08:40 ==> 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 04:08:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:08:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:08:40 ==> Jenkins CI detected. 04:08:40 project root: . 04:08:40 --> token set from env 04:08:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:08:40 ==> Running gcov in . (disable via -X gcov) 04:08:40 ==> Python coveragepy not found 04:08:40 ==> Searching for coverage reports in: 04:08:40 + . 04:08:40 -> Found 1 reports 04:08:40 ==> Detecting git/mercurial file structure 04:08:40 ==> Reading reports 04:08:40 + ./coverage.out bytes=100320 04:08:40 ==> Appending adjustments 04:08:40 https://docs.codecov.io/docs/fixing-reports 04:08:41 + Found adjustments 04:08:41 ==> Gzipping contents 04:08:41 16K /tmp/codecov.q5cjPc.gz 04:08:41 ==> Uploading reports 04:08:41 url: https://codecov.io 04:08:41 query: branch=PR-890&commit=becd03bf60ab98acffaf2aec0b42ab743071a62d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-890%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=890&job=&cmd_args= 04:08:41 -> Pinging Codecov 04:08:41 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-890&commit=becd03bf60ab98acffaf2aec0b42ab743071a62d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-890%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=890&job=&cmd_args= 04:08:42 -> Uploading to 04:08:42 https://storage.googleapis.com/codecov/v4/raw/2021-04-27/7E55EF52A471D76F132DFD9A03CDDE97/becd03bf60ab98acffaf2aec0b42ab743071a62d/2b61ce10-4f7a-400a-9fb9-a270485d9649.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T040841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f75c17fee3471d7fd96b56c8b3557d405b4d36da3cab27a1e2fa81d1f937e347 04:08:42 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:42 Dload Upload Total Spent Left Speed 04:08:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13543 0 0 100 13543 0 35469 --:--:-- --:--:-- --:--:-- 35545 04:08:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/becd03bf60ab98acffaf2aec0b42ab743071a62d [Pipeline] } 04:08:42 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 04:08:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:08:43 ---> package-listing.sh 04:08:43 ++ facter osfamily 04:08:43 ++ tr '[:upper:]' '[:lower:]' 04:08:43 + OS_FAMILY=redhat 04:08:43 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-890 04:08:43 + START_PACKAGES=/tmp/packages_start.txt 04:08:43 + END_PACKAGES=/tmp/packages_end.txt 04:08:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:08:43 + PACKAGES=/tmp/packages_start.txt 04:08:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' 04:08:43 + PACKAGES=/tmp/packages_end.txt 04:08:43 + case "${OS_FAMILY}" in 04:08:43 + rpm -qa 04:08:43 + sort 04:08:49 + '[' -f /tmp/packages_start.txt ']' 04:08:49 + '[' -f /tmp/packages_end.txt ']' 04:08:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:08:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' 04:08:49 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ 04:08:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ [Pipeline] echo 04:08:49 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-890/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:08:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:08:49 04:08:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:08:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:08:50 alpine: Pulling from edgex-lftools-log-publisher 04:08:50 df20fa9351a1: Pulling fs layer 04:08:50 36b3adc4ff6f: Pulling fs layer 04:08:50 8ad3a11d3b57: Pulling fs layer 04:08:50 46f8f816bc3b: Pulling fs layer 04:08:50 93b61091891f: Pulling fs layer 04:08:50 93b9cdb0e59b: Pulling fs layer 04:08:50 5e14af77c1be: Pulling fs layer 04:08:50 01666e4c0597: Pulling fs layer 04:08:50 aa168da1d23b: Pulling fs layer 04:08:50 93b9cdb0e59b: Waiting 04:08:50 5e14af77c1be: Waiting 04:08:50 01666e4c0597: Waiting 04:08:50 aa168da1d23b: Waiting 04:08:50 93b61091891f: Waiting 04:08:50 46f8f816bc3b: Waiting 04:08:50 36b3adc4ff6f: Verifying Checksum 04:08:50 36b3adc4ff6f: Download complete 04:08:50 46f8f816bc3b: Verifying Checksum 04:08:50 46f8f816bc3b: Download complete 04:08:50 df20fa9351a1: Verifying Checksum 04:08:50 df20fa9351a1: Download complete 04:08:50 93b9cdb0e59b: Verifying Checksum 04:08:50 93b9cdb0e59b: Download complete 04:08:50 5e14af77c1be: Verifying Checksum 04:08:50 5e14af77c1be: Download complete 04:08:50 01666e4c0597: Verifying Checksum 04:08:50 01666e4c0597: Download complete 04:08:50 93b61091891f: Verifying Checksum 04:08:50 93b61091891f: Download complete 04:08:50 8ad3a11d3b57: Verifying Checksum 04:08:50 8ad3a11d3b57: Download complete 04:08:50 df20fa9351a1: Pull complete 04:08:51 36b3adc4ff6f: Pull complete 04:08:52 8ad3a11d3b57: Pull complete 04:08:52 aa168da1d23b: Verifying Checksum 04:08:52 aa168da1d23b: Download complete 04:08:52 46f8f816bc3b: Pull complete 04:08:52 93b61091891f: Pull complete 04:08:52 93b9cdb0e59b: Pull complete 04:08:52 5e14af77c1be: Pull complete 04:08:53 01666e4c0597: Pull complete 04:09:01 aa168da1d23b: Pull complete 04:09:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:09:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:09:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:09:01 prd-centos7-docker-4c-2g-1971 does not seem to be running inside a container 04:09:01 $ 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-890/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-890 -v /w/workspace/dgexfoundry_device-sdk-go_PR-890:/w/workspace/dgexfoundry_device-sdk-go_PR-890:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-890@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 04:09:04 $ docker top 775eb608dee6786483c307f65aeb3b4f97d6aeee0eb033d0523998222a3f082c -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:05 + touch /tmp/pre-build-complete [Pipeline] sh 04:09:05 + mkdir -p /var/log/sa [Pipeline] sh 04:09:06 + ls /var/log/sa-host 04:09:06 + sadf -c /var/log/sa-host/sa23 04:09:06 file_magic: OK 04:09:06 HZ: Using current value: 100 04:09:06 file_header: OK 04:09:06 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 04:09:06 Statistics: 04:09:06 Hnuu...uuuununununu... 04:09:06 File successfully converted to sysstat format version 12.2.1 04:09:06 + sadf -c /var/log/sa-host/sa27 04:09:06 file_magic: OK 04:09:06 HZ: Using current value: 100 04:09:06 file_header: OK 04:09:06 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 04:09:06 Statistics: 04:09:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:09:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:06 provisioning config files... 04:09:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config1369374068943850198tmp [Pipeline] { [Pipeline] echo 04:09:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:09:06 ---> create-netrc.sh [Pipeline] } 04:09:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:09:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:09:06 ---> python-tools-install.sh [Pipeline] echo 04:09:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:09:07 ---> sudo-logs.sh 04:09:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:09:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:09:07 ---> job-cost.sh 04:09:07 lf-activate-venv: SKIPPING 04:09:07 DEBUG: total: 0.20999999344348907 04:09:07 INFO: Retrieving Stack Cost... 04:09:09 INFO: Retrieving Pricing Info for: v1-standard-2 04:09:09 INFO: Archiving Costs [Pipeline] echo 04:09:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:09:09 ---> logs-deploy.sh 04:09:09 lf-activate-venv: SKIPPING 04:09:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-890/4 04:09:09 INFO: archiving workspace using pattern(s): 04:09:11 Archives upload complete. 04:09:11 INFO: archiving logs to Nexus