Pull request #887 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2bb65c041a37a8504bdc98d22aea3da443584b80+a1de66810b8e114107e849a310222ed3c1b44bf0 (e1e2ca4198414f5e6c3a806cf82557c11c87344d) 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-1437’ Running on prd-centos7-docker-4c-2g-1442 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-887 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 2bb65c041a37a8504bdc98d22aea3da443584b80 Checking out Revision 2bb65c041a37a8504bdc98d22aea3da443584b80 (PR-887) > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git rev-list --no-walk 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:20:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:20:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:20:11 ========================================================= 09:20:11 EdgeX Global Pipelines Version Info 09:20:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:20:13 ------------------- 09:20:13 stable info: 09:20:13 ------------------- 09:20:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:13 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:20:13 Message: update stable to v1.0.186 09:20:14 ------------------- 09:20:14 experimental info: 09:20:14 ------------------- 09:20:14 Commited By: **** collab-it+edgex@linuxfoundation.org 09:20:14 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 09:20:14 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:20:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:20:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo 09:20:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo 09:20:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo 09:20:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bb65c041a37a8504bdc98d22aea3da443584b80 [Pipeline] echo 09:20:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bb65c0 [Pipeline] echo 09:20:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:20:15 provisioning config files... 09:20:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config2082618524659873760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:15 ---> docker-login.sh 09:20:15 nexus3.edgexfoundry.org:10001 09:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:15 Configure a credential helper to remove this warning. See 09:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:15 09:20:15 Login Succeeded 09:20:15 nexus3.edgexfoundry.org:10002 09:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:16 Configure a credential helper to remove this warning. See 09:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:16 09:20:16 Login Succeeded 09:20:16 nexus3.edgexfoundry.org:10003 09:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:16 Configure a credential helper to remove this warning. See 09:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:16 09:20:16 Login Succeeded 09:20:16 nexus3.edgexfoundry.org:10004 09:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:16 Configure a credential helper to remove this warning. See 09:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:16 09:20:16 Login Succeeded 09:20:16 docker.io 09:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:16 Configure a credential helper to remove this warning. See 09:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:16 09:20:16 Login Succeeded 09:20:16 ---> docker-login.sh ends [Pipeline] } 09:20:16 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 09:20:17 + git log --format=format:%s -1 2bb65c041a37a8504bdc98d22aea3da443584b80 [Pipeline] echo 09:20:17 GIT_COMMIT: 2bb65c041a37a8504bdc98d22aea3da443584b80, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 09:20:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:20:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:18 09:20:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:20:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:18 latest: Pulling from edgex-devops/git-semver 09:20:18 31603596830f: Pulling fs layer 09:20:18 2a8b12db71e7: Pulling fs layer 09:20:18 6ca5941a6612: Pulling fs layer 09:20:18 ecc8261a40a4: Pulling fs layer 09:20:18 ecc8261a40a4: Waiting 09:20:18 2a8b12db71e7: Download complete 09:20:18 31603596830f: Verifying Checksum 09:20:18 31603596830f: Download complete 09:20:18 ecc8261a40a4: Verifying Checksum 09:20:18 ecc8261a40a4: Download complete 09:20:18 6ca5941a6612: Verifying Checksum 09:20:18 6ca5941a6612: Download complete 09:20:18 31603596830f: Pull complete 09:20:18 2a8b12db71e7: Pull complete 09:20:19 6ca5941a6612: Pull complete 09:20:19 ecc8261a40a4: Pull complete 09:20:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:20:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:20:20 prd-centos7-docker-4c-2g-1442 does not seem to be running inside a container 09:20:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:20:22 $ docker top 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:22 [ssh-agent] Looking for ssh-agent implementation... 09:20:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:22 $ docker exec 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 ssh-agent 09:20:23 SSH_AUTH_SOCK=/tmp/ssh-JnTMD7zq1KHG/agent.13 09:20:23 SSH_AGENT_PID=18 09:20:23 Running ssh-add (command line suppressed) 09:20:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6331029562495547754.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6331029562495547754.key) 09:20:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:23 + git tag --points-at HEAD [Pipeline] } 09:20:23 $ docker exec --env ******** --env ******** 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 ssh-agent -k 09:20:23 unset SSH_AUTH_SOCK; 09:20:23 unset SSH_AGENT_PID; 09:20:23 echo Agent pid 18 killed; 09:20:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:20:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:23 [ssh-agent] Looking for ssh-agent implementation... 09:20:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:24 $ docker exec 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 ssh-agent 09:20:24 SSH_AUTH_SOCK=/tmp/ssh-mmTHrphoUbF5/agent.48 09:20:24 SSH_AGENT_PID=53 09:20:24 Running ssh-add (command line suppressed) 09:20:24 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_5075995068272974888.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_5075995068272974888.key) 09:20:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:24 + git semver init 09:20:24 # -> Open(): unable to determine branch for HEAD 09:20:24 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git 09:20:24 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 09:20:24 # $SEMVER_REMOTE_NAME = origin 09:20:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:20:24 # $SEMVER_USER_NAME = edgex-jenkins 09:20:24 # $SEMVER_BRANCH = PR-887 09:20:24 # $SEMVER_TEMP = /tmp/semver-440914957 09:20:24 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:20:25 # '/tmp/semver-440914957' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' 09:20:25 # -> Force: false 09:20:25 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } 09:20:25 $ docker exec --env ******** --env ******** 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 ssh-agent -k 09:20:25 unset SSH_AUTH_SOCK; 09:20:25 unset SSH_AGENT_PID; 09:20:25 echo Agent pid 53 killed; 09:20:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:20:26 + git semver [Pipeline] } 09:20:26 $ docker stop --time=1 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 09:20:28 $ docker rm -f 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 [Pipeline] // withDockerContainer [Pipeline] sh 09:20:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:20:28 Stashed 1 file(s) [Pipeline] echo 09:20:28 [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 09:20:44 Still waiting to schedule task 09:20:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:20:44 Still waiting to schedule task 09:20:44 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1439’ 09:21:54 Running on prd-centos7-docker-4c-2g-1446 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 09:21:54 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:21:57 using credential edgex-jenkins-ssh 09:21:57 Cloning the remote Git repository 09:21:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:21:57 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:21:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:21:57 > git --version # timeout=10 09:21:57 > git --version # 'git version 2.24.3' 09:21:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:59 Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 09:21:59 Merge succeeded, producing 2bb65c041a37a8504bdc98d22aea3da443584b80 09:21:59 Checking out Revision 2bb65c041a37a8504bdc98d22aea3da443584b80 (PR-887) 09:21:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:21:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:21:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:21:58 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:21:59 > git config core.sparsecheckout # timeout=10 09:21:59 > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 09:21:59 > git remote # timeout=10 09:21:59 > git config --get remote.origin.url # timeout=10 09:21:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:59 > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 09:21:59 > git rev-parse HEAD^{commit} # timeout=10 09:21:59 > git config core.sparsecheckout # timeout=10 09:21:59 > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 09:22:03 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:22:04 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:22:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:22:04 + sudo service docker restart 09:22:04 + true 09:22:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:22:05 provisioning config files... 09:22:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6919579678194505895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:06 ---> docker-login.sh 09:22:06 nexus3.edgexfoundry.org:10001 09:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:06 Configure a credential helper to remove this warning. See 09:22:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:06 09:22:06 Login Succeeded 09:22:06 nexus3.edgexfoundry.org:10002 09:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:06 Configure a credential helper to remove this warning. See 09:22:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:06 09:22:06 Login Succeeded 09:22:06 nexus3.edgexfoundry.org:10003 09:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:06 Configure a credential helper to remove this warning. See 09:22:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:06 09:22:06 Login Succeeded 09:22:06 nexus3.edgexfoundry.org:10004 09:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:07 Configure a credential helper to remove this warning. See 09:22:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:07 09:22:07 Login Succeeded 09:22:07 docker.io 09:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:07 Configure a credential helper to remove this warning. See 09:22:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:07 09:22:07 Login Succeeded 09:22:07 ---> docker-login.sh ends [Pipeline] } 09:22:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:22:07 ========================================================= 09:22:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:22:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:22:08 + 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 . 09:22:08 Sending build context to Docker daemon 2.456MB 09:22:08 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:22:08 Step 2/8 : FROM ${BASE} 09:22:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:22:08 188c0c94c7c5: Pulling fs layer 09:22:08 0ef7d3d256c8: Pulling fs layer 09:22:08 de9db76c5a1d: Pulling fs layer 09:22:08 bca2f99d35d6: Pulling fs layer 09:22:08 93359f2a8cfa: Pulling fs layer 09:22:08 7c6f9722023f: Pulling fs layer 09:22:08 a35cf1a2eb13: Pulling fs layer 09:22:08 bca2f99d35d6: Waiting 09:22:08 7c6f9722023f: Waiting 09:22:08 a35cf1a2eb13: Waiting 09:22:08 93359f2a8cfa: Waiting 09:22:08 de9db76c5a1d: Verifying Checksum 09:22:08 de9db76c5a1d: Download complete 09:22:08 0ef7d3d256c8: Verifying Checksum 09:22:08 0ef7d3d256c8: Download complete 09:22:08 93359f2a8cfa: Verifying Checksum 09:22:08 93359f2a8cfa: Download complete 09:22:08 7c6f9722023f: Verifying Checksum 09:22:08 7c6f9722023f: Download complete 09:22:08 188c0c94c7c5: Verifying Checksum 09:22:08 188c0c94c7c5: Download complete 09:22:08 188c0c94c7c5: Pull complete 09:22:08 0ef7d3d256c8: Pull complete 09:22:09 de9db76c5a1d: Pull complete 09:22:11 bca2f99d35d6: Verifying Checksum 09:22:11 bca2f99d35d6: Download complete 09:22:12 a35cf1a2eb13: Verifying Checksum 09:22:12 a35cf1a2eb13: Download complete 09:22:19 bca2f99d35d6: Pull complete 09:22:19 93359f2a8cfa: Pull complete 09:22:19 7c6f9722023f: Pull complete 09:22:25 a35cf1a2eb13: Pull complete 09:22:25 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:22:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:22:25 ---> a62c8e92a672 09:22:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:22:25 ---> Running in dcd91bf97f24 09:22:25 Removing intermediate container dcd91bf97f24 09:22:25 ---> 2f78585331ca 09:22:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:26 ---> Running in d3f91fa4034c 09:22:27 Removing intermediate container d3f91fa4034c 09:22:27 ---> 1d05bd6a490e 09:22:27 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 09:22:27 ---> Running in a3fc14259150 09:22:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:22:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:22:29 (1/6) Installing libc-dev (0.7.2-r3) 09:22:29 (2/6) Installing libsodium (1.0.18-r0) 09:22:29 (3/6) Installing pkgconf (1.7.2-r0) 09:22:30 (4/6) Installing libsodium-dev (1.0.18-r0) 09:22:30 (5/6) Installing libzmq (4.3.3-r0) 09:22:30 (6/6) Installing zeromq-dev (4.3.3-r0) 09:22:30 Executing busybox-1.31.1-r19.trigger 09:22:30 OK: 167 MiB in 45 packages 09:22:30 Removing intermediate container a3fc14259150 09:22:30 ---> c9e7f3121226 09:22:30 Step 6/8 : WORKDIR /device-sdk-go 09:22:30 ---> Running in 3706b9b7242b 09:22:31 Removing intermediate container 3706b9b7242b 09:22:31 ---> 187490ebbf17 09:22:31 Step 7/8 : COPY . . 09:22:32 ---> 3b17a3a2bf0d 09:22:32 Step 8/8 : RUN go mod download 09:22:32 ---> Running in 75a23c7877cb 09:22:54 Removing intermediate container 75a23c7877cb 09:22:54 ---> a33ca1129acc 09:22:54 Successfully built a33ca1129acc 09:22:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:22:55 + docker inspect -f . ci-base-image-x86_64 09:22:55 . [Pipeline] withDockerContainer 09:22:55 prd-centos7-docker-4c-2g-1446 does not seem to be running inside a container 09:22: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 ******** ci-base-image-x86_64 cat 09:22:56 $ docker top a5cc5a0f9d9b067628c39248a577b52a6f741a85d6b3f13e2b6ebdd04022ebeb -eo pid,comm [Pipeline] { [Pipeline] sh 09:22:57 + go version 09:22:57 go version go1.15.5 linux/amd64 [Pipeline] } 09:22:57 $ docker stop --time=1 a5cc5a0f9d9b067628c39248a577b52a6f741a85d6b3f13e2b6ebdd04022ebeb 09:22:58 $ docker rm -f a5cc5a0f9d9b067628c39248a577b52a6f741a85d6b3f13e2b6ebdd04022ebeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:22:59 + docker inspect -f . ci-base-image-x86_64 09:22:59 . [Pipeline] withDockerContainer 09:22:59 prd-centos7-docker-4c-2g-1446 does not seem to be running inside a container 09:22:59 $ 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 ******** ci-base-image-x86_64 cat 09:23:00 $ docker top 84d4a2b3942181b935c9e7fb05a66501c65c44a9b2050036da21f596a2650a2e -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:00 + make test 09:23:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:23:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1448 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 09:23:11 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:23:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:23:17 using credential edgex-jenkins-ssh 09:23:17 Cloning the remote Git repository 09:23:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:23:17 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:23:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:23:17 > git --version # timeout=10 09:23:17 > git --version # 'git version 2.17.1' 09:23:17 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:23:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:23:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:23:19 Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 09:23:19 Merge succeeded, producing 2bb65c041a37a8504bdc98d22aea3da443584b80 09:23:19 Checking out Revision 2bb65c041a37a8504bdc98d22aea3da443584b80 (PR-887) 09:23:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:23:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:23:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:23:19 > git config core.sparsecheckout # timeout=10 09:23:19 > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 09:23:19 > git remote # timeout=10 09:23:19 > git config --get remote.origin.url # timeout=10 09:23:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:19 > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 09:23:19 > git rev-parse HEAD^{commit} # timeout=10 09:23:19 > git config core.sparsecheckout # timeout=10 09:23:19 > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 09:23:23 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:23:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:23:26 + sudo service docker restart 09:23:26 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:23:28 provisioning config files... 09:23:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3289094883488395931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:29 ---> docker-login.sh 09:23:29 nexus3.edgexfoundry.org:10001 09:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:30 Configure a credential helper to remove this warning. See 09:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:30 09:23:30 Login Succeeded 09:23:30 nexus3.edgexfoundry.org:10002 09:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:30 Configure a credential helper to remove this warning. See 09:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:30 09:23:30 Login Succeeded 09:23:30 nexus3.edgexfoundry.org:10003 09:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:31 Configure a credential helper to remove this warning. See 09:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:31 09:23:31 Login Succeeded 09:23:31 nexus3.edgexfoundry.org:10004 09:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:31 Configure a credential helper to remove this warning. See 09:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:31 09:23:31 Login Succeeded 09:23:31 docker.io 09:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:32 Configure a credential helper to remove this warning. See 09:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:32 09:23:32 Login Succeeded 09:23:32 ---> docker-login.sh ends [Pipeline] } 09:23:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:32 ========================================================= 09:23:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:23:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:23:33 + 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 . 09:23:33 Sending build context to Docker daemon 2.452MB 09:23:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:23:33 Step 2/8 : FROM ${BASE} 09:23:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:23:33 5f621e34cdf4: Pulling fs layer 09:23:33 a4357932f1b6: Pulling fs layer 09:23:33 18c013af1878: Pulling fs layer 09:23:33 00ac8860ef70: Pulling fs layer 09:23:33 63d7cb157983: Pulling fs layer 09:23:33 b116817d02f9: Pulling fs layer 09:23:33 745a02a5169b: Pulling fs layer 09:23:33 00ac8860ef70: Waiting 09:23:33 63d7cb157983: Waiting 09:23:33 b116817d02f9: Waiting 09:23:33 18c013af1878: Download complete 09:23:33 a4357932f1b6: Verifying Checksum 09:23:33 a4357932f1b6: Download complete 09:23:33 63d7cb157983: Verifying Checksum 09:23:33 63d7cb157983: Download complete 09:23:33 b116817d02f9: Verifying Checksum 09:23:33 b116817d02f9: Download complete 09:23:33 5f621e34cdf4: Verifying Checksum 09:23:33 5f621e34cdf4: Download complete 09:23:34 5f621e34cdf4: Pull complete 09:23:35 a4357932f1b6: Pull complete 09:23:35 18c013af1878: Pull complete 09:23:36 745a02a5169b: Verifying Checksum 09:23:36 745a02a5169b: Download complete 09:23:37 00ac8860ef70: Verifying Checksum 09:23:37 00ac8860ef70: Download complete 09:23:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:23:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:23:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:23:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:23:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:23:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.110s coverage: 28.1% of statements 09:23:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.101s coverage: 78.9% of statements 09:23:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.100s coverage: 7.8% of statements 09:23:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:23:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:23:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:23:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 32.0% of statements 09:23:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:23:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:23:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:23:47 00ac8860ef70: Pull complete 09:23:47 63d7cb157983: Pull complete 09:23:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.148s coverage: 57.2% of statements 09:23:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.573s coverage: 6.6% of statements 09:23:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 5.0% of statements 09:23:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:23:48 b116817d02f9: Pull complete 09:23:48 GO111MODULE=on go vet ./... 09:23:52 745a02a5169b: Pull complete 09:23:52 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:23:52 ---> b7e6874047d6 09:23:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:23:54 ---> Running in 1c82ab95037e 09:23:55 Removing intermediate container 1c82ab95037e 09:23:55 ---> 4e0a079004d2 09:23:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:55 ---> Running in b4d414e6154c 09:23:57 Removing intermediate container b4d414e6154c 09:23:57 ---> 45308393d6e2 09:23:57 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 09:23:57 ---> Running in 6d4245844695 09:23:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:23:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:23:59 (1/6) Installing libc-dev (0.7.2-r3) 09:24:00 (2/6) Installing libsodium (1.0.18-r0) 09:24:00 (3/6) Installing pkgconf (1.7.2-r0) 09:24:00 (4/6) Installing libsodium-dev (1.0.18-r0) 09:24:00 (5/6) Installing libzmq (4.3.3-r0) 09:24:00 (6/6) Installing zeromq-dev (4.3.3-r0) 09:24:00 Executing busybox-1.31.1-r19.trigger 09:24:00 OK: 144 MiB in 45 packages 09:24:02 Removing intermediate container 6d4245844695 09:24:02 ---> 923a8ede6b1f 09:24:02 Step 6/8 : WORKDIR /device-sdk-go 09:24:02 ---> Running in 08d9915ad41f 09:24:02 Removing intermediate container 08d9915ad41f 09:24:02 ---> b82b0f7a319a 09:24:02 Step 7/8 : COPY . . 09:24:04 ---> 4ea06185ef5b 09:24:04 Step 8/8 : RUN go mod download 09:24:04 ---> Running in 873d9021ff9a 09:24:10 gofmt -l . 09:24:10 [ "`gofmt -l .`" = "" ] 09:24:10 ./bin/test-attribution-txt.sh 09:24:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:24:10 $ docker stop --time=1 84d4a2b3942181b935c9e7fb05a66501c65c44a9b2050036da21f596a2650a2e 09:24:12 $ docker rm -f 84d4a2b3942181b935c9e7fb05a66501c65c44a9b2050036da21f596a2650a2e [Pipeline] // withDockerContainer [Pipeline] sh 09:24:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:24:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:24:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:24:15 + ls -al . 09:24:15 total 188 09:24:15 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 22 09:24 . 09:24:15 drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 09:21 .. 09:24:15 drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 09:21 bin 09:24:15 -rw-r--r--. 1 jenkins jenkins 100024 Apr 22 09:23 coverage.out 09:24:15 -rw-rw-r--. 1 jenkins jenkins 987 Apr 22 09:21 Dockerfile.build 09:24:15 -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 09:21 .dockerignore 09:24:15 drwxrwxr-x. 5 jenkins jenkins 62 Apr 22 09:21 example 09:24:15 drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 09:22 .git 09:24:15 drwxrwxr-x. 2 jenkins jenkins 103 Apr 22 09:21 .github 09:24:15 -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 09:21 .gitignore 09:24:15 -rw-r--r--. 1 jenkins jenkins 575 Apr 22 09:24 go.mod 09:24:15 -rw-r--r--. 1 jenkins jenkins 20848 Apr 22 09:24 go.sum 09:24:15 drwxrwxr-x. 14 jenkins jenkins 207 Apr 22 09:21 internal 09:24:15 -rw-rw-r--. 1 jenkins jenkins 901 Apr 22 09:21 Jenkinsfile 09:24:15 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 09:21 LICENSE 09:24:15 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 22 09:21 Makefile 09:24:15 drwxrwxr-x. 4 jenkins jenkins 26 Apr 22 09:21 openapi 09:24:15 drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 09:21 pkg 09:24:15 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 22 09:21 README.md 09:24:15 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 22 09:21 RELEASE-NOTES.txt 09:24:15 drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 09:21 snap 09:24:15 -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 09:20 VERSION 09:24:15 -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 09:21 version.go [Pipeline] isUnix [Pipeline] sh 09:24:15 + 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=2bb65c041a37a8504bdc98d22aea3da443584b80 --label arch=amd64 --label version=0.0.0 . 09:24:15 Sending build context to Docker daemon 2.556MB 09:24:15 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 09:24:15 Step 2/23 : FROM ${BASE} AS builder 09:24:15 ---> a33ca1129acc 09:24:15 Step 3/23 : WORKDIR /device-sdk-go 09:24:16 ---> Running in 87089f4a1006 09:24:16 Removing intermediate container 87089f4a1006 09:24:16 ---> 15e7b3cd88b6 09:24:16 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:24:16 ---> Running in 8ac33a5ee0aa 09:24:16 Removing intermediate container 8ac33a5ee0aa 09:24:16 ---> 6ecdc2016259 09:24:16 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:16 ---> Running in acfb283f7a42 09:24:17 Removing intermediate container acfb283f7a42 09:24:17 ---> 2a171ab015af 09:24:17 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:24:17 ---> Running in 3b1577cd0196 09:24:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:24:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:24:19 OK: 167 MiB in 45 packages 09:24:20 Removing intermediate container 3b1577cd0196 09:24:20 ---> 94ee96e52bd2 09:24:20 Step 7/23 : COPY . . 09:24:21 ---> d16214a9fa0a 09:24:21 Step 8/23 : RUN go mod download 09:24:21 ---> Running in e90e2e7361c7 09:24:22 Removing intermediate container e90e2e7361c7 09:24:22 ---> bd8d1dcdad25 09:24:22 Step 9/23 : RUN make build 09:24:22 ---> Running in 8e97599689ca 09:24:23 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 09:24:31 Removing intermediate container 873d9021ff9a 09:24:31 ---> 9ba7baa276ce 09:24:31 Successfully built 9ba7baa276ce 09:24:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:24:31 + docker inspect -f . ci-base-image-arm64 09:24:31 . [Pipeline] withDockerContainer 09:24:31 prd-ubuntu18.04-docker-arm64-4c-16g-1448 does not seem to be running inside a container 09:24:31 $ 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 ******** ci-base-image-arm64 cat 09:24:33 $ docker top 90d99d7d3c3336aaf81483b7e3c38bd2ceb017c2577573064f12a94335a7b16a -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:34 + go version 09:24:34 go version go1.15.5 linux/arm64 [Pipeline] } 09:24:34 $ docker stop --time=1 90d99d7d3c3336aaf81483b7e3c38bd2ceb017c2577573064f12a94335a7b16a 09:24:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:24:36 $ docker rm -f 90d99d7d3c3336aaf81483b7e3c38bd2ceb017c2577573064f12a94335a7b16a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:24:37 + docker inspect -f . ci-base-image-arm64 09:24:37 . [Pipeline] withDockerContainer 09:24:37 prd-ubuntu18.04-docker-arm64-4c-16g-1448 does not seem to be running inside a container 09:24:37 $ 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 ******** ci-base-image-arm64 cat 09:24:38 Removing intermediate container 8e97599689ca 09:24:38 ---> 6ab7971926b5 09:24:38 Step 10/23 : FROM alpine:3.12 09:24:38 3.12: Pulling from library/alpine 09:24:38 339de151aab4: Pulling fs layer 09:24:38 339de151aab4: Verifying Checksum 09:24:38 339de151aab4: Download complete 09:24:38 339de151aab4: Pull complete 09:24:38 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:24:38 Status: Downloaded newer image for alpine:3.12 09:24:38 ---> 13621d1b12d4 09:24:38 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:24:38 $ docker top 4b2c0f5887fe994a3ff02c1f968358d34feafb75609d1f69ff3c4656d6edfadd -eo pid,comm 09:24:39 ---> Running in 6845ea10e74d 09:24:39 Removing intermediate container 6845ea10e74d 09:24:39 ---> 794572160f27 09:24:39 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] { [Pipeline] sh 09:24:39 ---> Running in c5c6648d4c14 09:24:39 + make test 09:24:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:24:40 Removing intermediate container c5c6648d4c14 09:24:40 ---> ca0d3b043c8c 09:24:40 Step 13/23 : RUN apk add --update --no-cache zeromq 09:24:40 ---> Running in 6850c14dcb41 09:24:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:24:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:24:42 (1/5) Installing libgcc (9.3.0-r2) 09:24:42 (2/5) Installing libsodium (1.0.18-r0) 09:24:42 (3/5) Installing libstdc++ (9.3.0-r2) 09:24:42 (4/5) Installing libzmq (4.3.3-r0) 09:24:42 (5/5) Installing zeromq (4.3.3-r0) 09:24:42 Executing busybox-1.31.1-r20.trigger 09:24:43 OK: 8 MiB in 19 packages 09:24:44 Removing intermediate container 6850c14dcb41 09:24:44 ---> fe8af7c186b0 09:24:44 Step 14/23 : WORKDIR / 09:24:44 ---> Running in a968bca17ed6 09:24:44 Removing intermediate container a968bca17ed6 09:24:44 ---> 6e88b07cead2 09:24:44 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:24:45 ---> 7eb99b8e9059 09:24:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:24:45 ---> eb9282414fca 09:24:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:24:46 ---> 0ab311ca8d22 09:24:46 Step 18/23 : EXPOSE 49990 09:24:46 ---> Running in fdae78580a8f 09:24:46 Removing intermediate container fdae78580a8f 09:24:46 ---> 43d8a97095c5 09:24:46 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:24:46 ---> Running in 2fd6afa46b29 09:24:46 Removing intermediate container 2fd6afa46b29 09:24:46 ---> 0ca47298a8f1 09:24:46 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:24:46 ---> Running in 7730e6c178d7 09:24:46 Removing intermediate container 7730e6c178d7 09:24:46 ---> f962ee1faf41 09:24:46 Step 21/23 : LABEL arch=amd64 09:24:47 ---> Running in d696f3002406 09:24:47 Removing intermediate container d696f3002406 09:24:47 ---> 9a7a13faf2c4 09:24:47 Step 22/23 : LABEL git_sha=2bb65c041a37a8504bdc98d22aea3da443584b80 09:24:47 ---> Running in 77796fc69239 09:24:47 Removing intermediate container 77796fc69239 09:24:47 ---> dc0ce8a2b623 09:24:47 Step 23/23 : LABEL version=0.0.0 09:24:47 ---> Running in b63df5867491 09:24:47 Removing intermediate container b63df5867491 09:24:47 ---> d6186058ccd9 09:24:47 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:24:47 Successfully built d6186058ccd9 09:24:47 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:24:48 ---> job-cost.sh 09:24:48 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JzMC 09:25:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:25:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:25:38 lf-activate-venv(): INFO: Adding /tmp/venv-JzMC/bin to PATH 09:25:38 INFO: No Stack... 09:25:38 INFO: Retrieving Pricing Info for: v1-standard-2 09:25:38 INFO: Archiving Costs [Pipeline] sh 09:25:38 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 09:25:38 + cut -d, -f6 [Pipeline] lock 09:25:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] 09:25:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] did not exist. Created. 09:25:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:25:39 + echo total: 0.029999999329447746 [Pipeline] stash 09:25:39 Stashed 1 file(s) [Pipeline] } 09:25:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:25:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:25:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:25:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:25:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:25:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:26:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.125s coverage: 28.1% of statements 09:26:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.244s coverage: 78.9% of statements 09:26:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.192s coverage: 7.8% of statements 09:26:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:26:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:26:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:26:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.281s coverage: 32.0% of statements 09:26:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:26:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:26:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:26:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.329s coverage: 57.2% of statements 09:26:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.051s coverage: 6.6% of statements 09:26:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements 09:26:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:26:08 GO111MODULE=on go vet ./... 09:26:55 gofmt -l . 09:26:55 [ "`gofmt -l .`" = "" ] 09:26:55 ./bin/test-attribution-txt.sh 09:26:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:26:55 $ docker stop --time=1 4b2c0f5887fe994a3ff02c1f968358d34feafb75609d1f69ff3c4656d6edfadd 09:26:57 $ docker rm -f 4b2c0f5887fe994a3ff02c1f968358d34feafb75609d1f69ff3c4656d6edfadd [Pipeline] // withDockerContainer [Pipeline] sh 09:26:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:26:58 Warning: overwriting stash ‘coverage-report’ 09:26:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:27:00 + ls -al . 09:27:00 total 224 09:27:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 09:26 . 09:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:23 .. 09:27:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 09:23 .dockerignore 09:27:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 09:23 .git 09:27:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:23 .github 09:27:00 -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 09:23 .gitignore 09:27:00 -rw-rw-r-- 1 jenkins jenkins 987 Apr 22 09:23 Dockerfile.build 09:27:00 -rw-rw-r-- 1 jenkins jenkins 901 Apr 22 09:23 Jenkinsfile 09:27:00 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 09:23 LICENSE 09:27:00 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 22 09:23 Makefile 09:27:00 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 22 09:23 README.md 09:27:00 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 22 09:23 RELEASE-NOTES.txt 09:27:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 09:20 VERSION 09:27:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:23 bin 09:27:00 -rw-r--r-- 1 jenkins jenkins 100025 Apr 22 09:26 coverage.out 09:27:00 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 09:23 example 09:27:00 -rw-r--r-- 1 jenkins jenkins 575 Apr 22 09:26 go.mod 09:27:00 -rw-r--r-- 1 jenkins jenkins 20848 Apr 22 09:26 go.sum 09:27:00 drwxrwxr-x 14 jenkins jenkins 4096 Apr 22 09:23 internal 09:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:23 openapi 09:27:00 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 09:23 pkg 09:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:23 snap 09:27:00 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 09:23 version.go [Pipeline] isUnix [Pipeline] sh 09:27:01 + 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=2bb65c041a37a8504bdc98d22aea3da443584b80 --label arch=arm64 --label version=0.0.0 . 09:27:01 Sending build context to Docker daemon 2.553MB 09:27:01 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 09:27:01 Step 2/23 : FROM ${BASE} AS builder 09:27:01 ---> 9ba7baa276ce 09:27:01 Step 3/23 : WORKDIR /device-sdk-go 09:27:02 ---> Running in 2d441a56637e 09:27:02 Removing intermediate container 2d441a56637e 09:27:02 ---> bccb5a55010a 09:27:02 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:27:02 ---> Running in 85bee4658003 09:27:03 Removing intermediate container 85bee4658003 09:27:03 ---> af19e2e1230c 09:27:03 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:27:03 ---> Running in 32f19b5c07d2 09:27:05 Removing intermediate container 32f19b5c07d2 09:27:05 ---> 5be5d5ba8111 09:27:05 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:27:05 ---> Running in 1e786f047e01 09:27:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:27:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:27:08 OK: 144 MiB in 45 packages 09:27:09 Removing intermediate container 1e786f047e01 09:27:09 ---> 977e43eae102 09:27:09 Step 7/23 : COPY . . 09:27:10 ---> a67ef4933d48 09:27:10 Step 8/23 : RUN go mod download 09:27:10 ---> Running in 9e0c3f73d818 09:27:12 Removing intermediate container 9e0c3f73d818 09:27:12 ---> 93db774e4e00 09:27:12 Step 9/23 : RUN make build 09:27:13 ---> Running in 115650014c9f 09:27:14 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 09:27:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:27:48 Removing intermediate container 115650014c9f 09:27:48 ---> 427aedde8ae8 09:27:48 Step 10/23 : FROM alpine:3.12 09:27:48 3.12: Pulling from library/alpine 09:27:49 d2f70382dc9a: Pulling fs layer 09:27:49 d2f70382dc9a: Download complete 09:27:49 d2f70382dc9a: Pull complete 09:27:49 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:27:49 Status: Downloaded newer image for alpine:3.12 09:27:49 ---> 9852663dfa18 09:27:49 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:27:49 ---> Running in b9da1236a006 09:27:50 Removing intermediate container b9da1236a006 09:27:50 ---> 89e90c1a6b04 09:27:50 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:27:50 ---> Running in 2aea6e86c169 09:27:52 Removing intermediate container 2aea6e86c169 09:27:52 ---> c96704eb6971 09:27:52 Step 13/23 : RUN apk add --update --no-cache zeromq 09:27:52 ---> Running in 8b5173aef383 09:27:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:27:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:27:55 (1/5) Installing libgcc (9.3.0-r2) 09:27:55 (2/5) Installing libsodium (1.0.18-r0) 09:27:55 (3/5) Installing libstdc++ (9.3.0-r2) 09:27:55 (4/5) Installing libzmq (4.3.3-r0) 09:27:55 (5/5) Installing zeromq (4.3.3-r0) 09:27:55 Executing busybox-1.31.1-r20.trigger 09:27:56 OK: 8 MiB in 19 packages 09:27:57 Removing intermediate container 8b5173aef383 09:27:57 ---> ea6923c130e2 09:27:57 Step 14/23 : WORKDIR / 09:27:57 ---> Running in c925c6a9b8ed 09:27:58 Removing intermediate container c925c6a9b8ed 09:27:58 ---> 1840caf4a490 09:27:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:27:58 ---> abb3b479ddca 09:27:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:28:00 ---> 9589f922e82a 09:28:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:28:00 ---> 554c7783c434 09:28:00 Step 18/23 : EXPOSE 49990 09:28:00 ---> Running in e39303b80344 09:28:01 Removing intermediate container e39303b80344 09:28:01 ---> bc2aa271f28c 09:28:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:28:01 ---> Running in 137656cfb986 09:28:02 Removing intermediate container 137656cfb986 09:28:02 ---> 76d4cd560d60 09:28:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:28:02 ---> Running in 16cbc944a95d 09:28:02 Removing intermediate container 16cbc944a95d 09:28:02 ---> 4e1001523b3d 09:28:02 Step 21/23 : LABEL arch=arm64 09:28:02 ---> Running in c27e24c182a5 09:28:03 Removing intermediate container c27e24c182a5 09:28:03 ---> e84b4af31fa4 09:28:03 Step 22/23 : LABEL git_sha=2bb65c041a37a8504bdc98d22aea3da443584b80 09:28:03 ---> Running in 1edaee901103 09:28:03 Removing intermediate container 1edaee901103 09:28:03 ---> e3a2c844de96 09:28:03 Step 23/23 : LABEL version=0.0.0 09:28:03 ---> Running in 6068a5d386a0 09:28:04 Removing intermediate container 6068a5d386a0 09:28:04 ---> 992638cba223 09:28:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:28:04 Successfully built 992638cba223 09:28:04 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:28:04 ---> job-cost.sh 09:28:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5ftw 09:28:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:30:20 lf-activate-venv(): INFO: Adding /tmp/venv-5ftw/bin to PATH 09:30:20 INFO: No Stack... 09:30:20 INFO: Retrieving Pricing Info for: lf-standard-4 09:30:20 INFO: Archiving Costs [Pipeline] sh 09:30:20 + + cat /w/workspace/device-sdk-go/2/archives/cost.csv 09:30:20 cut -d, -f6 [Pipeline] lock 09:30:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] 09:30:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] did not exist. Created. 09:30:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:30:21 /w/workspace/device-sdk-go/2@tmp/durable-aeab696c/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-aeab696c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:30:21 + echo total: 0.20999999344348907 [Pipeline] stash 09:30:21 Warning: overwriting stash ‘stack-cost’ 09:30:21 Stashed 1 file(s) [Pipeline] } 09:30:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-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 09:30:22 provisioning config files... 09:30:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config2059232845190899315tmp [Pipeline] { [Pipeline] sh 09:30:23 + set +x 09:30:23 + curl -s https://codecov.io/bash 09:30:23 + bash -s -- 09:30:23 09:30:23 _____ _ 09:30:23 / ____| | | 09:30:23 | | ___ __| | ___ ___ _____ __ 09:30:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:30:23 | |___| (_) | (_| | __/ (_| (_) \ V / 09:30:23 \_____\___/ \__,_|\___|\___\___/ \_/ 09:30:23 Bash-1.0.2 09:30:23 09:30:23 09:30:23 ==> git version 2.24.3 found 09:30:23 ==> 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 09:30:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:30:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:30:23 ==> Jenkins CI detected. 09:30:23 project root: . 09:30:23 --> token set from env 09:30:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:30:23 ==> Running gcov in . (disable via -X gcov) 09:30:23 ==> Python coveragepy not found 09:30:23 ==> Searching for coverage reports in: 09:30:23 + . 09:30:23 -> Found 1 reports 09:30:23 ==> Detecting git/mercurial file structure 09:30:23 ==> Reading reports 09:30:23 + ./coverage.out bytes=100025 09:30:23 ==> Appending adjustments 09:30:23 https://docs.codecov.io/docs/fixing-reports 09:30:23 + Found adjustments 09:30:23 ==> Gzipping contents 09:30:23 16K /tmp/codecov.gl7ki4.gz 09:30:23 ==> Uploading reports 09:30:23 url: https://codecov.io 09:30:23 query: branch=PR-887&commit=2bb65c041a37a8504bdc98d22aea3da443584b80&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 09:30:23 -> Pinging Codecov 09:30:23 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=2bb65c041a37a8504bdc98d22aea3da443584b80&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 09:30:24 -> Uploading to 09:30:24 https://storage.googleapis.com/codecov/v4/raw/2021-04-22/7E55EF52A471D76F132DFD9A03CDDE97/2bb65c041a37a8504bdc98d22aea3da443584b80/79d00dc9-0934-4903-abc3-a0348d288dad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210422T093024Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d109edc88918ebd68ce35d6c39368dd22194ffb78245d36688d54bb9a816aa21 09:30:24 % Total % Received % Xferd Average Speed Time Time Time Current 09:30:24 Dload Upload Total Spent Left Speed 09:30:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13525 0 0 100 13525 0 35719 --:--:-- --:--:-- --:--:-- 35686 09:30:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2bb65c041a37a8504bdc98d22aea3da443584b80 [Pipeline] } 09:30:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:30:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:30:26 ---> package-listing.sh 09:30:26 ++ facter osfamily 09:30:26 ++ tr '[:upper:]' '[:lower:]' 09:30:26 + OS_FAMILY=redhat 09:30:26 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 09:30:26 + START_PACKAGES=/tmp/packages_start.txt 09:30:26 + END_PACKAGES=/tmp/packages_end.txt 09:30:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:30:26 + PACKAGES=/tmp/packages_start.txt 09:30:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 09:30:26 + PACKAGES=/tmp/packages_end.txt 09:30:26 + case "${OS_FAMILY}" in 09:30:26 + rpm -qa 09:30:26 + sort 09:30:31 + '[' -f /tmp/packages_start.txt ']' 09:30:31 + '[' -f /tmp/packages_end.txt ']' 09:30:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:30:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 09:30:31 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ 09:30:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo 09:30:31 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:30:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:30:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:30:32 09:30:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:30:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:30:32 alpine: Pulling from edgex-lftools-log-publisher 09:30:32 df20fa9351a1: Pulling fs layer 09:30:32 36b3adc4ff6f: Pulling fs layer 09:30:32 8ad3a11d3b57: Pulling fs layer 09:30:32 46f8f816bc3b: Pulling fs layer 09:30:32 93b61091891f: Pulling fs layer 09:30:32 93b9cdb0e59b: Pulling fs layer 09:30:32 5e14af77c1be: Pulling fs layer 09:30:32 01666e4c0597: Pulling fs layer 09:30:32 aa168da1d23b: Pulling fs layer 09:30:32 93b9cdb0e59b: Waiting 09:30:32 5e14af77c1be: Waiting 09:30:32 01666e4c0597: Waiting 09:30:32 aa168da1d23b: Waiting 09:30:32 46f8f816bc3b: Waiting 09:30:32 93b61091891f: Waiting 09:30:32 36b3adc4ff6f: Download complete 09:30:32 46f8f816bc3b: Verifying Checksum 09:30:32 46f8f816bc3b: Download complete 09:30:32 df20fa9351a1: Verifying Checksum 09:30:32 df20fa9351a1: Download complete 09:30:33 93b9cdb0e59b: Verifying Checksum 09:30:33 93b9cdb0e59b: Download complete 09:30:33 5e14af77c1be: Verifying Checksum 09:30:33 5e14af77c1be: Download complete 09:30:33 93b61091891f: Verifying Checksum 09:30:33 93b61091891f: Download complete 09:30:33 01666e4c0597: Verifying Checksum 09:30:33 01666e4c0597: Download complete 09:30:33 8ad3a11d3b57: Verifying Checksum 09:30:33 8ad3a11d3b57: Download complete 09:30:33 df20fa9351a1: Pull complete 09:30:33 36b3adc4ff6f: Pull complete 09:30:34 8ad3a11d3b57: Pull complete 09:30:34 46f8f816bc3b: Pull complete 09:30:35 93b61091891f: Pull complete 09:30:35 93b9cdb0e59b: Pull complete 09:30:35 aa168da1d23b: Download complete 09:30:35 5e14af77c1be: Pull complete 09:30:35 01666e4c0597: Pull complete 09:30:43 aa168da1d23b: Pull complete 09:30:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:30:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:30:43 prd-centos7-docker-4c-2g-1442 does not seem to be running inside a container 09:30:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:30:46 $ docker top cc4d7ebe5df89cd4a5da3e768aec4cb4c4346bc40ab109bbf07a5820554bf1fe -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:47 + touch /tmp/pre-build-complete [Pipeline] sh 09:30:47 + mkdir -p /var/log/sa [Pipeline] sh 09:30:48 + ls /var/log/sa-host 09:30:48 + sadf -c /var/log/sa-host/sa22 09:30:48 file_magic: OK 09:30:48 HZ: Using current value: 100 09:30:48 file_header: OK 09:30:48 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 09:30:48 Statistics: 09:30:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:30:48 File successfully converted to sysstat format version 12.2.1 09:30:48 + sadf -c /var/log/sa-host/sa23 09:30:48 file_magic: OK 09:30:48 HZ: Using current value: 100 09:30:48 file_header: OK 09:30:48 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 09:30:48 Statistics: 09:30:48 Hnuu...uuuununununu... 09:30:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:48 provisioning config files... 09:30:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config1964507158578644380tmp [Pipeline] { [Pipeline] echo 09:30:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:30:48 ---> create-netrc.sh [Pipeline] } 09:30:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:30:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:30:48 ---> python-tools-install.sh [Pipeline] echo 09:30:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:30:49 ---> sudo-logs.sh 09:30:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:30:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:30:49 ---> job-cost.sh 09:30:49 lf-activate-venv: SKIPPING 09:30:49 DEBUG: total: 0.20999999344348907 09:30:49 INFO: Retrieving Stack Cost... 09:30:50 INFO: Retrieving Pricing Info for: v1-standard-2 09:30:50 INFO: Archiving Costs [Pipeline] echo 09:30:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:30:51 ---> logs-deploy.sh 09:30:51 lf-activate-venv: SKIPPING 09:30:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/2 09:30:51 INFO: archiving workspace using pattern(s): 09:30:53 Archives upload complete. 09:30:53 INFO: archiving logs to Nexus