Pull request #850 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 038d3e0e2d477805d055a7f0f6fc36f106f8f37c+4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 (a671aab277366d3a119e73bafa2d07712960a37f) 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-32295 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [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-850 # 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/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit 038d3e0e2d477805d055a7f0f6fc36f106f8f37c Merge succeeded, producing 038d3e0e2d477805d055a7f0f6fc36f106f8f37c Checking out Revision 038d3e0e2d477805d055a7f0f6fc36f106f8f37c (PR-850) > git config core.sparsecheckout # timeout=10 > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # 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 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # 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 18:03:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:03:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:03:23 ========================================================= 18:03:23 EdgeX Global Pipelines Version Info 18:03:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 18:03:25 ------------------- 18:03:25 stable info: 18:03:25 ------------------- 18:03:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:03:25 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 18:03:25 Message: update stable to v1.0.186 18:03:26 ------------------- 18:03:26 experimental info: 18:03:26 ------------------- 18:03:26 Commited By: **** collab-it+edgex@linuxfoundation.org 18:03:26 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 18:03:26 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:03:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:03:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:03:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:03:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:03:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:03:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:03:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:03:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:03:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:03:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-850 [Pipeline] echo 18:03:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-850 [Pipeline] echo 18:03:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-850 [Pipeline] echo 18:03:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 038d3e0e2d477805d055a7f0f6fc36f106f8f37c [Pipeline] echo 18:03:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 038d3e0 [Pipeline] echo 18:03:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:03:29 provisioning config files... 18:03:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config1975760396637901459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:30 ---> docker-login.sh 18:03:30 nexus3.edgexfoundry.org:10001 18:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:30 Configure a credential helper to remove this warning. See 18:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:30 18:03:30 Login Succeeded 18:03:30 nexus3.edgexfoundry.org:10002 18:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:30 Configure a credential helper to remove this warning. See 18:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:30 18:03:30 Login Succeeded 18:03:30 nexus3.edgexfoundry.org:10003 18:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:30 Configure a credential helper to remove this warning. See 18:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:30 18:03:30 Login Succeeded 18:03:30 nexus3.edgexfoundry.org:10004 18:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:30 Configure a credential helper to remove this warning. See 18:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:30 18:03:30 Login Succeeded 18:03:30 docker.io 18:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:31 Configure a credential helper to remove this warning. See 18:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:31 18:03:31 Login Succeeded 18:03:31 ---> docker-login.sh ends [Pipeline] } 18:03:31 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 18:03:32 + git log --format=format:%s -1 038d3e0e2d477805d055a7f0f6fc36f106f8f37c [Pipeline] echo 18:03:32 GIT_COMMIT: 038d3e0e2d477805d055a7f0f6fc36f106f8f37c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 18:03:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:03:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:03:33 18:03:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:03:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:03:33 latest: Pulling from edgex-devops/git-semver 18:03:33 31603596830f: Pulling fs layer 18:03:33 2a8b12db71e7: Pulling fs layer 18:03:33 6ca5941a6612: Pulling fs layer 18:03:33 ecc8261a40a4: Pulling fs layer 18:03:33 ecc8261a40a4: Waiting 18:03:33 2a8b12db71e7: Verifying Checksum 18:03:33 2a8b12db71e7: Download complete 18:03:33 31603596830f: Verifying Checksum 18:03:33 31603596830f: Download complete 18:03:33 ecc8261a40a4: Verifying Checksum 18:03:33 ecc8261a40a4: Download complete 18:03:33 6ca5941a6612: Verifying Checksum 18:03:33 6ca5941a6612: Download complete 18:03:33 31603596830f: Pull complete 18:03:33 2a8b12db71e7: Pull complete 18:03:34 6ca5941a6612: Pull complete 18:03:34 ecc8261a40a4: Pull complete 18:03:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:03:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:03:34 prd-centos7-docker-4c-2g-32295 does not seem to be running inside a container 18:03:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-850 -v /w/workspace/dgexfoundry_device-sdk-go_PR-850:/w/workspace/dgexfoundry_device-sdk-go_PR-850:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-850@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 18:03:36 $ docker top 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:03:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:36 [ssh-agent] Looking for ssh-agent implementation... 18:03:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:37 $ docker exec 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c ssh-agent 18:03:37 SSH_AUTH_SOCK=/tmp/ssh-fV5F9ldZVVPW/agent.12 18:03:37 SSH_AGENT_PID=17 18:03:37 Running ssh-add (command line suppressed) 18:03:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8826876304667734792.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8826876304667734792.key) 18:03:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:38 + git tag --points-at HEAD [Pipeline] } 18:03:38 $ docker exec --env ******** --env ******** 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c ssh-agent -k 18:03:38 unset SSH_AUTH_SOCK; 18:03:38 unset SSH_AGENT_PID; 18:03:38 echo Agent pid 17 killed; 18:03:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:03:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:38 [ssh-agent] Looking for ssh-agent implementation... 18:03:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:38 $ docker exec 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c ssh-agent 18:03:38 SSH_AUTH_SOCK=/tmp/ssh-rnJwP0SuYcvM/agent.45 18:03:38 SSH_AGENT_PID=50 18:03:38 Running ssh-add (command line suppressed) 18:03:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_7734491109025596877.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_7734491109025596877.key) 18:03:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:39 + git semver init 18:03:39 # -> Open(): unable to determine branch for HEAD 18:03:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.git 18:03:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-850 18:03:39 # $SEMVER_REMOTE_NAME = origin 18:03:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:03:39 # $SEMVER_USER_NAME = edgex-jenkins 18:03:39 # $SEMVER_BRANCH = PR-850 18:03:39 # $SEMVER_TEMP = /tmp/semver-903848777 18:03:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:03:40 # '/tmp/semver-903848777' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver' 18:03:40 # -> Force: false 18:03:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver [Pipeline] } 18:03:40 $ docker exec --env ******** --env ******** 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c ssh-agent -k 18:03:40 unset SSH_AUTH_SOCK; 18:03:40 unset SSH_AGENT_PID; 18:03:40 echo Agent pid 50 killed; 18:03:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:03:40 + git semver [Pipeline] } 18:03:40 $ docker stop --time=1 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c 18:03:42 $ docker rm -f 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c [Pipeline] // withDockerContainer [Pipeline] sh 18:03:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:03:43 Stashed 1 file(s) [Pipeline] echo 18:03:43 [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 18:03:58 Still waiting to schedule task 18:03:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:03:58 Still waiting to schedule task 18:03:58 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:05:50 Running on prd-centos7-docker-4c-2g-32298 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] { [Pipeline] ws 18:05:50 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:05:53 using credential edgex-jenkins-ssh 18:05:53 Cloning the remote Git repository 18:05:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:05:53 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:05:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:05:53 > git --version # timeout=10 18:05:53 > git --version # 'git version 2.24.3' 18:05:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:54 Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit 038d3e0e2d477805d055a7f0f6fc36f106f8f37c 18:05:55 Merge succeeded, producing 038d3e0e2d477805d055a7f0f6fc36f106f8f37c 18:05:55 Checking out Revision 038d3e0e2d477805d055a7f0f6fc36f106f8f37c (PR-850) 18:05:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:05:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:05:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:05:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:05:54 > git config core.sparsecheckout # timeout=10 18:05:54 > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 18:05:54 > git remote # timeout=10 18:05:54 > git config --get remote.origin.url # timeout=10 18:05:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:55 > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 18:05:55 > git rev-parse HEAD^{commit} # timeout=10 18:05:55 > git config core.sparsecheckout # timeout=10 18:05:55 > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 18:05:58 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 18:05:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:06:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:06:00 + sudo service docker restart 18:06:00 + true 18:06:00 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:06:01 provisioning config files... 18:06:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6209922523974636745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:02 ---> docker-login.sh 18:06:02 nexus3.edgexfoundry.org:10001 18:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:02 Configure a credential helper to remove this warning. See 18:06:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:02 18:06:02 Login Succeeded 18:06:02 nexus3.edgexfoundry.org:10002 18:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:03 Configure a credential helper to remove this warning. See 18:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:03 18:06:03 Login Succeeded 18:06:03 nexus3.edgexfoundry.org:10003 18:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:03 Configure a credential helper to remove this warning. See 18:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:03 18:06:03 Login Succeeded 18:06:03 nexus3.edgexfoundry.org:10004 18:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:03 Configure a credential helper to remove this warning. See 18:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:03 18:06:03 Login Succeeded 18:06:03 docker.io 18:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:03 Configure a credential helper to remove this warning. See 18:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:03 18:06:03 Login Succeeded 18:06:03 ---> docker-login.sh ends [Pipeline] } 18:06:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:06:04 ========================================================= 18:06:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:06:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:06:04 + 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 . 18:06:04 Sending build context to Docker daemon 2.358MB 18:06:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:06:04 Step 2/8 : FROM ${BASE} 18:06:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:06:04 188c0c94c7c5: Pulling fs layer 18:06:04 0ef7d3d256c8: Pulling fs layer 18:06:04 de9db76c5a1d: Pulling fs layer 18:06:04 bca2f99d35d6: Pulling fs layer 18:06:04 93359f2a8cfa: Pulling fs layer 18:06:04 7c6f9722023f: Pulling fs layer 18:06:04 a35cf1a2eb13: Pulling fs layer 18:06:04 bca2f99d35d6: Waiting 18:06:04 93359f2a8cfa: Waiting 18:06:04 7c6f9722023f: Waiting 18:06:04 a35cf1a2eb13: Waiting 18:06:04 de9db76c5a1d: Download complete 18:06:04 0ef7d3d256c8: Verifying Checksum 18:06:04 0ef7d3d256c8: Download complete 18:06:04 93359f2a8cfa: Download complete 18:06:04 188c0c94c7c5: Verifying Checksum 18:06:04 188c0c94c7c5: Download complete 18:06:04 7c6f9722023f: Verifying Checksum 18:06:04 7c6f9722023f: Download complete 18:06:05 188c0c94c7c5: Pull complete 18:06:05 0ef7d3d256c8: Pull complete 18:06:05 de9db76c5a1d: Pull complete 18:06:08 bca2f99d35d6: Verifying Checksum 18:06:08 bca2f99d35d6: Download complete 18:06:08 a35cf1a2eb13: Download complete 18:06:15 bca2f99d35d6: Pull complete 18:06:15 93359f2a8cfa: Pull complete 18:06:15 7c6f9722023f: Pull complete 18:06:21 a35cf1a2eb13: Pull complete 18:06:21 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 18:06:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:06:21 ---> a62c8e92a672 18:06:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:06:21 ---> Running in 232a16019659 18:06:21 Removing intermediate container 232a16019659 18:06:21 ---> fe6d2c2b32b5 18:06:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:06:21 ---> Running in 2c46fda3c503 18:06:23 Removing intermediate container 2c46fda3c503 18:06:23 ---> 2d1f2dc8f316 18:06:23 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 18:06:23 ---> Running in 68f5fead4a91 18:06:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:06:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:06:25 (1/6) Installing libc-dev (0.7.2-r3) 18:06:25 (2/6) Installing libsodium (1.0.18-r0) 18:06:25 (3/6) Installing pkgconf (1.7.2-r0) 18:06:25 (4/6) Installing libsodium-dev (1.0.18-r0) 18:06:26 (5/6) Installing libzmq (4.3.3-r0) 18:06:26 (6/6) Installing zeromq-dev (4.3.3-r0) 18:06:26 Executing busybox-1.31.1-r19.trigger 18:06:26 OK: 167 MiB in 45 packages 18:06:26 Removing intermediate container 68f5fead4a91 18:06:26 ---> f9be9c85c392 18:06:26 Step 6/8 : WORKDIR /device-sdk-go 18:06:27 ---> Running in 10dbfd0e95d4 18:06:27 Removing intermediate container 10dbfd0e95d4 18:06:27 ---> 0a670d6285a4 18:06:27 Step 7/8 : COPY . . 18:06:28 ---> 2b96f00127af 18:06:28 Step 8/8 : RUN go mod download 18:06:28 ---> Running in 34fa451b9472 18:06:50 Removing intermediate container 34fa451b9472 18:06:50 ---> 896ce568db13 18:06:50 Successfully built 896ce568db13 18:06:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:06:51 + docker inspect -f . ci-base-image-x86_64 18:06:51 . [Pipeline] withDockerContainer 18:06:51 prd-centos7-docker-4c-2g-32298 does not seem to be running inside a container 18:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:52 $ docker top 09cb11d77b4d8b0f3de5f1f62445ba0394fb93b0278d2d6cfd1f3cead4bc7eb0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:52 + go version 18:06:52 go version go1.15.5 linux/amd64 [Pipeline] } 18:06:52 $ docker stop --time=1 09cb11d77b4d8b0f3de5f1f62445ba0394fb93b0278d2d6cfd1f3cead4bc7eb0 18:06:54 $ docker rm -f 09cb11d77b4d8b0f3de5f1f62445ba0394fb93b0278d2d6cfd1f3cead4bc7eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:06:55 + docker inspect -f . ci-base-image-x86_64 18:06:55 . [Pipeline] withDockerContainer 18:06:55 prd-centos7-docker-4c-2g-32298 does not seem to be running inside a container 18:06:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:56 $ docker top c14d34bea2ef7950f889eee0ebdfa3943c2ed47117ec253533b58d2b3ce800e0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:56 + make test 18:06:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:07:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32299 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] { [Pipeline] ws 18:07:05 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:07:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:07:10 using credential edgex-jenkins-ssh 18:07:10 Cloning the remote Git repository 18:07:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:07:10 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:07:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:07:11 > git --version # timeout=10 18:07:11 > git --version # 'git version 2.17.1' 18:07:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:07:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:07:12 Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit 038d3e0e2d477805d055a7f0f6fc36f106f8f37c 18:07:13 Merge succeeded, producing 038d3e0e2d477805d055a7f0f6fc36f106f8f37c 18:07:13 Checking out Revision 038d3e0e2d477805d055a7f0f6fc36f106f8f37c (PR-850) 18:07:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:07:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:07:12 > git config core.sparsecheckout # timeout=10 18:07:12 > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 18:07:12 > git remote # timeout=10 18:07:13 > git config --get remote.origin.url # timeout=10 18:07:13 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:13 > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 18:07:13 > git rev-parse HEAD^{commit} # timeout=10 18:07:13 > git config core.sparsecheckout # timeout=10 18:07:13 > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 18:07:17 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 18:07:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:07:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:07:19 + sudo service docker+ restart 18:07:19 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:07:22 provisioning config files... 18:07:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6792712643663100525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:22 ---> docker-login.sh 18:07:22 nexus3.edgexfoundry.org:10001 18:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:24 Configure a credential helper to remove this warning. See 18:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:24 18:07:24 Login Succeeded 18:07:24 nexus3.edgexfoundry.org:10002 18:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:24 Configure a credential helper to remove this warning. See 18:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:24 18:07:24 Login Succeeded 18:07:24 nexus3.edgexfoundry.org:10003 18:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:25 Configure a credential helper to remove this warning. See 18:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:25 18:07:25 Login Succeeded 18:07:25 nexus3.edgexfoundry.org:10004 18:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:25 Configure a credential helper to remove this warning. See 18:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:25 18:07:25 Login Succeeded 18:07:25 docker.io 18:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:26 Configure a credential helper to remove this warning. See 18:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:26 18:07:26 Login Succeeded 18:07:26 ---> docker-login.sh ends [Pipeline] } 18:07:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:07:26 ========================================================= 18:07:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:07:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:07:27 + 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 . 18:07:27 Sending build context to Docker daemon 2.338MB 18:07:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:07:27 Step 2/8 : FROM ${BASE} 18:07:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:07:27 5f621e34cdf4: Pulling fs layer 18:07:27 a4357932f1b6: Pulling fs layer 18:07:27 18c013af1878: Pulling fs layer 18:07:27 00ac8860ef70: Pulling fs layer 18:07:27 63d7cb157983: Pulling fs layer 18:07:27 b116817d02f9: Pulling fs layer 18:07:27 745a02a5169b: Pulling fs layer 18:07:27 00ac8860ef70: Waiting 18:07:27 63d7cb157983: Waiting 18:07:27 b116817d02f9: Waiting 18:07:27 745a02a5169b: Waiting 18:07:27 18c013af1878: Verifying Checksum 18:07:27 18c013af1878: Download complete 18:07:27 a4357932f1b6: Verifying Checksum 18:07:27 a4357932f1b6: Download complete 18:07:27 63d7cb157983: Download complete 18:07:27 5f621e34cdf4: Verifying Checksum 18:07:27 5f621e34cdf4: Download complete 18:07:27 b116817d02f9: Verifying Checksum 18:07:27 b116817d02f9: Download complete 18:07:28 5f621e34cdf4: Pull complete 18:07:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:07:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:07:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:07:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 18:07:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:07:28 a4357932f1b6: Pull complete 18:07:29 18c013af1878: Pull complete 18:07:30 745a02a5169b: Verifying Checksum 18:07:30 745a02a5169b: Download complete 18:07:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.097s coverage: 27.0% of statements 18:07:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.100s coverage: 81.2% of statements 18:07:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.089s coverage: 7.8% of statements 18:07:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 18:07:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:07:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:07:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.134s coverage: 32.5% of statements 18:07:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:07:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:07:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:07:31 00ac8860ef70: Download complete 18:07:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 57.3% of statements 18:07:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.262s coverage: 6.6% of statements 18:07:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements 18:07:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:07:33 GO111MODULE=on go vet ./... 18:07:42 00ac8860ef70: Pull complete 18:07:42 63d7cb157983: Pull complete 18:07:42 b116817d02f9: Pull complete 18:07:45 745a02a5169b: Pull complete 18:07:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 18:07:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:07:45 ---> b7e6874047d6 18:07:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:07:49 ---> Running in 5cd113ca8896 18:07:49 Removing intermediate container 5cd113ca8896 18:07:49 ---> cf0386c29b6c 18:07:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:49 ---> Running in 287228181d73 18:07:51 gofmt -l . 18:07:51 [ "`gofmt -l .`" = "" ] 18:07:51 ./bin/test-attribution-txt.sh 18:07:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:07:51 $ docker stop --time=1 c14d34bea2ef7950f889eee0ebdfa3943c2ed47117ec253533b58d2b3ce800e0 18:07:52 Removing intermediate container 287228181d73 18:07:52 ---> d7a2e6013b7d 18:07:52 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 18:07:52 ---> Running in 4b9f71279be1 18:07:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:07:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:07:53 $ docker rm -f c14d34bea2ef7950f889eee0ebdfa3943c2ed47117ec253533b58d2b3ce800e0 [Pipeline] // withDockerContainer [Pipeline] sh 18:07:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:07:55 (1/6) Installing libc-dev (0.7.2-r3) 18:07:55 (2/6) Installing libsodium (1.0.18-r0) 18:07:55 (3/6) Installing pkgconf (1.7.2-r0) 18:07:55 (4/6) Installing libsodium-dev (1.0.18-r0) 18:07:55 (5/6) Installing libzmq (4.3.3-r0) 18:07:55 (6/6) Installing zeromq-dev (4.3.3-r0) 18:07:55 Executing busybox-1.31.1-r19.trigger 18:07:55 OK: 144 MiB in 45 packages [Pipeline] sh 18:07:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:56 + ls -al . 18:07:56 total 188 18:07:56 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 31 18:07 . 18:07:56 drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 18:05 .. 18:07:56 drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 18:05 bin 18:07:56 -rw-r--r--. 1 jenkins jenkins 101417 Mar 31 18:07 coverage.out 18:07:56 -rw-rw-r--. 1 jenkins jenkins 987 Mar 31 18:05 Dockerfile.build 18:07:56 -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 18:05 .dockerignore 18:07:56 drwxrwxr-x. 5 jenkins jenkins 62 Mar 31 18:05 example 18:07:56 drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 18:05 .git 18:07:56 drwxrwxr-x. 2 jenkins jenkins 103 Mar 31 18:05 .github 18:07:56 -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 18:05 .gitignore 18:07:56 -rw-r--r--. 1 jenkins jenkins 537 Mar 31 18:07 go.mod 18:07:56 -rw-r--r--. 1 jenkins jenkins 20946 Mar 31 18:07 go.sum 18:07:56 drwxrwxr-x. 14 jenkins jenkins 207 Mar 31 18:05 internal 18:07:56 -rw-rw-r--. 1 jenkins jenkins 901 Mar 31 18:05 Jenkinsfile 18:07:56 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 18:05 LICENSE 18:07:56 -rw-rw-r--. 1 jenkins jenkins 1022 Mar 31 18:05 Makefile 18:07:56 drwxrwxr-x. 4 jenkins jenkins 26 Mar 31 18:05 openapi 18:07:56 drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 18:05 pkg 18:07:56 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 31 18:05 README.md 18:07:56 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 31 18:05 RELEASE-NOTES.txt 18:07:56 drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 18:05 snap 18:07:56 -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 18:03 VERSION 18:07:56 -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 18:05 version.go [Pipeline] isUnix [Pipeline] sh 18:07:56 + 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=038d3e0e2d477805d055a7f0f6fc36f106f8f37c --label arch=amd64 --label version=0.0.0 . 18:07:56 Sending build context to Docker daemon 2.461MB 18:07:56 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 18:07:56 Step 2/23 : FROM ${BASE} AS builder 18:07:56 ---> 896ce568db13 18:07:56 Step 3/23 : WORKDIR /device-sdk-go 18:07:57 Removing intermediate container 4b9f71279be1 18:07:57 ---> 4fc1fc77ce83 18:07:57 Step 6/8 : WORKDIR /device-sdk-go 18:07:57 ---> Running in 986478d63ed5 18:07:57 ---> Running in eee91206a37e 18:07:57 Removing intermediate container 986478d63ed5 18:07:57 ---> 2258d04eeeed 18:07:57 Step 7/8 : COPY . . 18:07:57 Removing intermediate container eee91206a37e 18:07:57 ---> ad2b50ca4c9e 18:07:57 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:07:57 ---> Running in eecb9c1d76a9 18:07:57 Removing intermediate container eecb9c1d76a9 18:07:57 ---> a4ea297e87fe 18:07:57 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:58 ---> Running in 4864c9120ab7 18:07:58 ---> 62351ebbb2fe 18:07:58 Step 8/8 : RUN go mod download 18:07:59 Removing intermediate container 4864c9120ab7 18:07:59 ---> d7fd4c9e776e 18:07:59 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:07:59 ---> Running in 00f4b26c1975 18:07:59 ---> Running in 23fbe74ed3e1 18:07:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:08:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:08:01 OK: 167 MiB in 45 packages 18:08:01 Removing intermediate container 23fbe74ed3e1 18:08:01 ---> e43b749b439e 18:08:01 Step 7/23 : COPY . . 18:08:02 ---> 7fabfd6a1ae1 18:08:02 Step 8/23 : RUN go mod download 18:08:02 ---> Running in 3f969b7eeb1f 18:08:04 Removing intermediate container 3f969b7eeb1f 18:08:04 ---> 8346415433bb 18:08:04 Step 9/23 : RUN make build 18:08:04 ---> Running in 17f9b862c121 18:08:04 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 18:08:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:08:18 Removing intermediate container 17f9b862c121 18:08:18 ---> f31bb204b7f8 18:08:18 Step 10/23 : FROM alpine:3.12 18:08:18 3.12: Pulling from library/alpine 18:08:18 22599d3e9e25: Pulling fs layer 18:08:18 22599d3e9e25: Verifying Checksum 18:08:18 22599d3e9e25: Download complete 18:08:19 22599d3e9e25: Pull complete 18:08:19 Digest: sha256:02cd4b50aef54502204d5956109e24876a5f9e8f3d3b22600dc14ea4de0d1d5d 18:08:19 Status: Downloaded newer image for alpine:3.12 18:08:19 ---> 42cb162f0360 18:08:19 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:08:19 ---> Running in 5510687591b5 18:08:19 Removing intermediate container 5510687591b5 18:08:19 ---> cc658f39dd9f 18:08:19 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:08:19 ---> Running in 169670ceb147 18:08:20 Removing intermediate container 169670ceb147 18:08:20 ---> bcec8626fa77 18:08:20 Step 13/23 : RUN apk add --update --no-cache zeromq 18:08:20 ---> Running in 367c1fd7a42d 18:08:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:08:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:08:22 (1/5) Installing libgcc (9.3.0-r2) 18:08:22 (2/5) Installing libsodium (1.0.18-r0) 18:08:22 (3/5) Installing libstdc++ (9.3.0-r2) 18:08:22 (4/5) Installing libzmq (4.3.3-r0) 18:08:23 (5/5) Installing zeromq (4.3.3-r0) 18:08:23 Executing busybox-1.31.1-r19.trigger 18:08:23 OK: 8 MiB in 19 packages 18:08:23 Removing intermediate container 367c1fd7a42d 18:08:23 ---> 26988f37ae4c 18:08:23 Step 14/23 : WORKDIR / 18:08:23 ---> Running in 26266d65faa0 18:08:23 Removing intermediate container 26266d65faa0 18:08:23 ---> e2456b444e8b 18:08:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:08:24 ---> de6ad513b65e 18:08:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:08:24 ---> 0718c19eb797 18:08:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:08:25 ---> 36d84f14dc31 18:08:25 Step 18/23 : EXPOSE 49990 18:08:25 ---> Running in 871d8d3c286b 18:08:25 Removing intermediate container 871d8d3c286b 18:08:25 ---> e809bdba3e37 18:08:25 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:08:25 ---> Running in e8097dfc1cb0 18:08:25 Removing intermediate container e8097dfc1cb0 18:08:25 ---> a7d04b8f8af3 18:08:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:08:25 ---> Running in b3a1b6f97b06 18:08:25 Removing intermediate container b3a1b6f97b06 18:08:25 ---> ed60f3be3a01 18:08:25 Step 21/23 : LABEL arch=amd64 18:08:25 Removing intermediate container 00f4b26c1975 18:08:25 ---> ca4ace13fc5f 18:08:25 Successfully built ca4ace13fc5f 18:08:25 Successfully tagged ci-base-image-arm64:latest 18:08:25 ---> Running in c4597af9f39b 18:08:25 Removing intermediate container c4597af9f39b 18:08:25 ---> ab99829062ef 18:08:25 Step 22/23 : LABEL git_sha=038d3e0e2d477805d055a7f0f6fc36f106f8f37c [Pipeline] isUnix [Pipeline] sh 18:08:26 ---> Running in 103575f3c2b8 18:08:26 Removing intermediate container 103575f3c2b8 18:08:26 ---> 4c06cb78094e 18:08:26 Step 23/23 : LABEL version=0.0.0 18:08:26 ---> Running in b923eb211d81 18:08:26 + docker inspect -f . ci-base-image-arm64 18:08:26 . [Pipeline] withDockerContainer 18:08:26 Removing intermediate container b923eb211d81 18:08:26 ---> 11b40c33a4cb 18:08:26 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:08:26 Successfully built 11b40c33a4cb 18:08:26 Successfully tagged docker-device-sdk-simple:latest 18:08:26 prd-ubuntu18.04-docker-arm64-4c-16g-32299 does not seem to be running inside a container 18:08:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 18:08:28 $ docker top 56dcd5ff5261e52421021578e951ab1395407bcf7c99e54c9425d3c0c0db1c05 -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 18:08:29 + go version 18:08:29 go version go1.15.5 linux/arm64 [Pipeline] } 18:08:29 $ docker stop --time=1 56dcd5ff5261e52421021578e951ab1395407bcf7c99e54c9425d3c0c0db1c05 18:08:29 ---> job-cost.sh 18:08:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hUuw 18:08:31 $ docker rm -f 56dcd5ff5261e52421021578e951ab1395407bcf7c99e54c9425d3c0c0db1c05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:08:32 + docker inspect -f . ci-base-image-arm64 18:08:32 . [Pipeline] withDockerContainer 18:08:32 prd-ubuntu18.04-docker-arm64-4c-16g-32299 does not seem to be running inside a container 18:08:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 18:08:34 $ docker top 1a24cb4b0a0c32c421b32b3926788f0089cfc6361f833b7b5dacbd25692f2f0c -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:35 + make test 18:08:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:08:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:08:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:09:14 lf-activate-venv(): INFO: Adding /tmp/venv-hUuw/bin to PATH 18:09:14 INFO: No Stack... 18:09:14 INFO: Retrieving Pricing Info for: v1-standard-2 18:09:14 INFO: Archiving Costs [Pipeline] sh 18:09:15 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 18:09:15 + cut -d, -f6 [Pipeline] lock 18:09:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] 18:09:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] did not exist. Created. 18:09:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:15 + echo total: 0.029999999329447746 [Pipeline] stash 18:09:15 Stashed 1 file(s) [Pipeline] } 18:09:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 18:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:09:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 27.0% of statements 18:09:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.267s coverage: 81.2% of statements 18:09:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.209s coverage: 7.8% of statements 18:09:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 18:09:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:09:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:09:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.250s coverage: 32.5% of statements 18:09:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:09:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:09:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:10:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.270s coverage: 57.3% of statements 18:10:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.305s coverage: 6.6% of statements 18:10:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 18:10:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:10:03 GO111MODULE=on go vet ./... 18:10:50 gofmt -l . 18:10:50 [ "`gofmt -l .`" = "" ] 18:10:50 ./bin/test-attribution-txt.sh 18:10:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:10:50 $ docker stop --time=1 1a24cb4b0a0c32c421b32b3926788f0089cfc6361f833b7b5dacbd25692f2f0c 18:10:52 $ docker rm -f 1a24cb4b0a0c32c421b32b3926788f0089cfc6361f833b7b5dacbd25692f2f0c [Pipeline] // withDockerContainer [Pipeline] sh 18:10:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:10:53 Warning: overwriting stash ‘coverage-report’ 18:10:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:10:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:10:55 + ls -al . 18:10:55 total 224 18:10:55 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 18:10 . 18:10:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:07 .. 18:10:55 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 18:07 .dockerignore 18:10:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 18:07 .git 18:10:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 18:07 .github 18:10:55 -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 18:07 .gitignore 18:10:55 -rw-rw-r-- 1 jenkins jenkins 987 Mar 31 18:07 Dockerfile.build 18:10:55 -rw-rw-r-- 1 jenkins jenkins 901 Mar 31 18:07 Jenkinsfile 18:10:55 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 18:07 LICENSE 18:10:55 -rw-rw-r-- 1 jenkins jenkins 1022 Mar 31 18:07 Makefile 18:10:55 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 31 18:07 README.md 18:10:55 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 31 18:07 RELEASE-NOTES.txt 18:10:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 18:03 VERSION 18:10:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 18:07 bin 18:10:55 -rw-r--r-- 1 jenkins jenkins 101417 Mar 31 18:10 coverage.out 18:10:55 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 18:07 example 18:10:55 -rw-r--r-- 1 jenkins jenkins 537 Mar 31 18:10 go.mod 18:10:55 -rw-r--r-- 1 jenkins jenkins 20946 Mar 31 18:10 go.sum 18:10:55 drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 18:07 internal 18:10:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:07 openapi 18:10:55 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 18:07 pkg 18:10:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:07 snap 18:10:55 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 18:07 version.go [Pipeline] isUnix [Pipeline] sh 18:10:56 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=038d3e0e2d477805d055a7f0f6fc36f106f8f37c --label arch=arm64 --label version=0.0.0 . 18:10:56 Sending build context to Docker daemon 2.441MB 18:10:56 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 18:10:56 Step 2/23 : FROM ${BASE} AS builder 18:10:56 ---> ca4ace13fc5f 18:10:56 Step 3/23 : WORKDIR /device-sdk-go 18:10:57 ---> Running in 0703f5941aea 18:10:57 Removing intermediate container 0703f5941aea 18:10:57 ---> 2ca7c748e3a7 18:10:57 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:10:57 ---> Running in e2f5e7008f54 18:10:58 Removing intermediate container e2f5e7008f54 18:10:58 ---> d2f8253894de 18:10:58 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:10:58 ---> Running in b9c4b05a51bd 18:11:00 Removing intermediate container b9c4b05a51bd 18:11:00 ---> 4088aae4d04d 18:11:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:11:00 ---> Running in f68744581e67 18:11:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:11:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:11:03 OK: 144 MiB in 45 packages 18:11:04 Removing intermediate container f68744581e67 18:11:04 ---> 06841b94c64b 18:11:04 Step 7/23 : COPY . . 18:11:05 ---> 3d3681a1c73b 18:11:05 Step 8/23 : RUN go mod download 18:11:05 ---> Running in 130b777f7e6d 18:11:08 Removing intermediate container 130b777f7e6d 18:11:08 ---> 4bbc879bf454 18:11:08 Step 9/23 : RUN make build 18:11:08 ---> Running in 11b9358c4d63 18:11:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:11:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:11:43 Removing intermediate container 11b9358c4d63 18:11:43 ---> 8331732c9a57 18:11:43 Step 10/23 : FROM alpine:3.12 18:11:44 3.12: Pulling from library/alpine 18:11:44 9a219e8acc52: Pulling fs layer 18:11:44 9a219e8acc52: Verifying Checksum 18:11:44 9a219e8acc52: Download complete 18:11:44 9a219e8acc52: Pull complete 18:11:44 Digest: sha256:02cd4b50aef54502204d5956109e24876a5f9e8f3d3b22600dc14ea4de0d1d5d 18:11:44 Status: Downloaded newer image for alpine:3.12 18:11:44 ---> d75e27dfc0a0 18:11:44 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:11:45 ---> Running in 63090a419388 18:11:46 Removing intermediate container 63090a419388 18:11:46 ---> 06663c142040 18:11:46 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:11:46 ---> Running in 0263fd8d44f1 18:11:48 Removing intermediate container 0263fd8d44f1 18:11:48 ---> 539ec20e54df 18:11:48 Step 13/23 : RUN apk add --update --no-cache zeromq 18:11:48 ---> Running in 34187cf01cb2 18:11:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:11:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:11:51 (1/5) Installing libgcc (9.3.0-r2) 18:11:51 (2/5) Installing libsodium (1.0.18-r0) 18:11:51 (3/5) Installing libstdc++ (9.3.0-r2) 18:11:51 (4/5) Installing libzmq (4.3.3-r0) 18:11:52 (5/5) Installing zeromq (4.3.3-r0) 18:11:52 Executing busybox-1.31.1-r20.trigger 18:11:52 OK: 8 MiB in 19 packages 18:11:53 Removing intermediate container 34187cf01cb2 18:11:53 ---> 08ead6d969a6 18:11:53 Step 14/23 : WORKDIR / 18:11:53 ---> Running in 76d6a44dd009 18:11:54 Removing intermediate container 76d6a44dd009 18:11:54 ---> f11b97a5936b 18:11:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:11:54 ---> 39018e3d76a1 18:11:54 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:11:56 ---> 3abda5553704 18:11:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:11:56 ---> 81612d2d2fcd 18:11:56 Step 18/23 : EXPOSE 49990 18:11:57 ---> Running in 4f4ffaabe2b2 18:11:57 Removing intermediate container 4f4ffaabe2b2 18:11:57 ---> 5c20a8b08c0a 18:11:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:11:57 ---> Running in 9f2d1c00c0f6 18:11:58 Removing intermediate container 9f2d1c00c0f6 18:11:58 ---> 4a7665a4be8b 18:11:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:11:58 ---> Running in 7311aa99432b 18:11:59 Removing intermediate container 7311aa99432b 18:11:59 ---> b584611e6598 18:11:59 Step 21/23 : LABEL arch=arm64 18:11:59 ---> Running in 44114847b3f1 18:11:59 Removing intermediate container 44114847b3f1 18:11:59 ---> b78564a93cc3 18:11:59 Step 22/23 : LABEL git_sha=038d3e0e2d477805d055a7f0f6fc36f106f8f37c 18:12:00 ---> Running in 7ec470a5c77c 18:12:00 Removing intermediate container 7ec470a5c77c 18:12:00 ---> c46b71bd6ad1 18:12:00 Step 23/23 : LABEL version=0.0.0 18:12:00 ---> Running in a51900879e8d 18:12:01 Removing intermediate container a51900879e8d 18:12:01 ---> 506e95efade9 18:12:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:12:01 Successfully built 506e95efade9 18:12:01 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 18:12:02 ---> job-cost.sh 18:12:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-C3k4 18:12:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:14:17 lf-activate-venv(): INFO: Adding /tmp/venv-C3k4/bin to PATH 18:14:17 INFO: No Stack... 18:14:17 INFO: Retrieving Pricing Info for: lf-standard-4 18:14:17 INFO: Archiving Costs [Pipeline] sh 18:14:18 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 18:14:18 + cut -d, -f6 [Pipeline] lock 18:14:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] 18:14:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] did not exist. Created. 18:14:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:18 /w/workspace/device-sdk-go/2@tmp/durable-202ba416/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-202ba416/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:14:19 + echo total: 0.20999999344348907 [Pipeline] stash 18:14:19 Warning: overwriting stash ‘stack-cost’ 18:14:19 Stashed 1 file(s) [Pipeline] } 18:14:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-2-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 18:14:20 provisioning config files... 18:14:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config7735751631205107765tmp [Pipeline] { [Pipeline] sh 18:14:21 + set +x 18:14:21 + curl -s https://codecov.io/bash 18:14:21 + bash -s -- 18:14:21 18:14:21 _____ _ 18:14:21 / ____| | | 18:14:21 | | ___ __| | ___ ___ _____ __ 18:14:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:14:21 | |___| (_) | (_| | __/ (_| (_) \ V / 18:14:21 \_____\___/ \__,_|\___|\___\___/ \_/ 18:14:21 Bash-20210309-2b87ace 18:14:21 18:14:21 18:14:21 ==> git version 2.24.3 found 18:14:21 ==> 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 18:14:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:14:21 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:14:21 ==> Jenkins CI detected. 18:14:21 project root: . 18:14:21 --> token set from env 18:14:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:14:21 ==> Running gcov in . (disable via -X gcov) 18:14:21 ==> Python coveragepy not found 18:14:21 ==> Searching for coverage reports in: 18:14:21 + . 18:14:21 -> Found 1 reports 18:14:21 ==> Detecting git/mercurial file structure 18:14:21 ==> Reading reports 18:14:21 + ./coverage.out bytes=101417 18:14:21 ==> Appending adjustments 18:14:21 https://docs.codecov.io/docs/fixing-reports 18:14:21 + Found adjustments 18:14:21 ==> Gzipping contents 18:14:21 16K /tmp/codecov.JTfOyq.gz 18:14:21 ==> Uploading reports 18:14:21 url: https://codecov.io 18:14:21 query: branch=PR-850&commit=038d3e0e2d477805d055a7f0f6fc36f106f8f37c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= 18:14:21 -> Pinging Codecov 18:14:21 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-850&commit=038d3e0e2d477805d055a7f0f6fc36f106f8f37c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= 18:14:22 -> Uploading to 18:14:22 https://storage.googleapis.com/codecov/v4/raw/2021-03-31/7E55EF52A471D76F132DFD9A03CDDE97/038d3e0e2d477805d055a7f0f6fc36f106f8f37c/4a94c63d-86b6-462d-aa12-b67ee0df23e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T181422Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b39ba76b77b939826385bd5029364e7b719a4ca12bb98994b180f3333eba8845 18:14:22 % Total % Received % Xferd Average Speed Time Time Time Current 18:14:22 Dload Upload Total Spent Left Speed 18:14:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13757 0 0 100 13757 0 34228 --:--:-- --:--:-- --:--:-- 34221 18:14:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/038d3e0e2d477805d055a7f0f6fc36f106f8f37c [Pipeline] } 18:14:23 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 18:14:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:14:25 ---> package-listing.sh 18:14:25 ++ facter osfamily 18:14:25 ++ tr '[:upper:]' '[:lower:]' 18:14:25 + OS_FAMILY=redhat 18:14:25 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-850 18:14:25 + START_PACKAGES=/tmp/packages_start.txt 18:14:25 + END_PACKAGES=/tmp/packages_end.txt 18:14:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:14:25 + PACKAGES=/tmp/packages_start.txt 18:14:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' 18:14:25 + PACKAGES=/tmp/packages_end.txt 18:14:25 + case "${OS_FAMILY}" in 18:14:25 + rpm -qa 18:14:25 + sort 18:14:31 + '[' -f /tmp/packages_start.txt ']' 18:14:31 + '[' -f /tmp/packages_end.txt ']' 18:14:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:14:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' 18:14:31 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ 18:14:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ [Pipeline] echo 18:14:31 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-850/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:14:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:14:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:14:31 18:14:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:14:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:14:32 alpine: Pulling from edgex-lftools-log-publisher 18:14:32 df20fa9351a1: Pulling fs layer 18:14:32 36b3adc4ff6f: Pulling fs layer 18:14:32 8ad3a11d3b57: Pulling fs layer 18:14:32 46f8f816bc3b: Pulling fs layer 18:14:32 93b61091891f: Pulling fs layer 18:14:32 93b9cdb0e59b: Pulling fs layer 18:14:32 5e14af77c1be: Pulling fs layer 18:14:32 01666e4c0597: Pulling fs layer 18:14:32 aa168da1d23b: Pulling fs layer 18:14:32 93b9cdb0e59b: Waiting 18:14:32 5e14af77c1be: Waiting 18:14:32 46f8f816bc3b: Waiting 18:14:32 01666e4c0597: Waiting 18:14:32 aa168da1d23b: Waiting 18:14:32 93b61091891f: Waiting 18:14:32 36b3adc4ff6f: Download complete 18:14:32 46f8f816bc3b: Download complete 18:14:32 df20fa9351a1: Verifying Checksum 18:14:32 df20fa9351a1: Download complete 18:14:32 93b9cdb0e59b: Verifying Checksum 18:14:32 93b9cdb0e59b: Download complete 18:14:32 5e14af77c1be: Download complete 18:14:32 01666e4c0597: Verifying Checksum 18:14:32 01666e4c0597: Download complete 18:14:32 93b61091891f: Verifying Checksum 18:14:32 93b61091891f: Download complete 18:14:32 df20fa9351a1: Pull complete 18:14:32 8ad3a11d3b57: Verifying Checksum 18:14:32 8ad3a11d3b57: Download complete 18:14:32 36b3adc4ff6f: Pull complete 18:14:33 8ad3a11d3b57: Pull complete 18:14:33 46f8f816bc3b: Pull complete 18:14:34 aa168da1d23b: Download complete 18:14:35 93b61091891f: Pull complete 18:14:35 93b9cdb0e59b: Pull complete 18:14:35 5e14af77c1be: Pull complete 18:14:35 01666e4c0597: Pull complete 18:14:41 aa168da1d23b: Pull complete 18:14:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:14:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:14:42 prd-centos7-docker-4c-2g-32295 does not seem to be running inside a container 18:14:42 $ 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-850/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-850 -v /w/workspace/dgexfoundry_device-sdk-go_PR-850:/w/workspace/dgexfoundry_device-sdk-go_PR-850:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-850@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 18:14:45 $ docker top 3fd0341663a129a1686aa25c7d041175a4b206c64397c6d927c3b5be77bf39f4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:45 + touch /tmp/pre-build-complete [Pipeline] sh 18:14:46 + mkdir -p /var/log/sa [Pipeline] sh 18:14:46 + ls /var/log/sa-host 18:14:46 + sadf -c /var/log/sa-host/sa23 18:14:46 file_magic: OK 18:14:46 HZ: Using current value: 100 18:14:46 file_header: OK 18:14:46 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 18:14:46 Statistics: 18:14:46 Hnuu...uuuununununu... 18:14:46 File successfully converted to sysstat format version 12.2.1 18:14:46 + sadf -c /var/log/sa-host/sa31 18:14:46 file_magic: OK 18:14:46 HZ: Using current value: 100 18:14:46 file_header: OK 18:14:46 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 18:14:46 Statistics: 18:14:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:14:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:46 provisioning config files... 18:14:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config8094558120365797932tmp [Pipeline] { [Pipeline] echo 18:14:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:14:47 ---> create-netrc.sh [Pipeline] } 18:14:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:14:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:14:47 ---> python-tools-install.sh [Pipeline] echo 18:14:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:14:47 ---> sudo-logs.sh 18:14:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:14:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:14:48 ---> job-cost.sh 18:14:48 lf-activate-venv: SKIPPING 18:14:48 DEBUG: total: 0.20999999344348907 18:14:48 INFO: Retrieving Stack Cost... 18:14:49 INFO: Retrieving Pricing Info for: v1-standard-2 18:14:49 INFO: Archiving Costs [Pipeline] echo 18:14:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:14:50 ---> logs-deploy.sh 18:14:50 lf-activate-venv: SKIPPING 18:14:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-850/2 18:14:50 INFO: archiving workspace using pattern(s): 18:14:51 Archives upload complete. 18:14:51 INFO: archiving logs to Nexus 18:14:52 ---> uname -a: 18:14:52 Linux prd-centos7-docker-4c-2g-32295.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:14:52 18:14:52