Pull request #842 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 19a16857940eeadc52c986e4adff0154b1683bef+89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e (bae42efc39dbae8eec4d38a36abef36cce83c9a8) 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-32065 in /w/workspace/dgexfoundry_device-sdk-go_PR-842 [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-842 # 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/842/head:refs/remotes/origin/PR-842 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 19a16857940eeadc52c986e4adff0154b1683bef Merge succeeded, producing 19a16857940eeadc52c986e4adff0154b1683bef Checking out Revision 19a16857940eeadc52c986e4adff0154b1683bef (PR-842) > git config core.sparsecheckout # timeout=10 > git checkout -f 19a16857940eeadc52c986e4adff0154b1683bef # 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 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 19a16857940eeadc52c986e4adff0154b1683bef # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" > git rev-list --no-walk ef2ad362a674276a5ef6a42fba4f94bcc65f8eec # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:07:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:07:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:07:27 ========================================================= 17:07:27 EdgeX Global Pipelines Version Info 17:07:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:07:31 ------------------- 17:07:31 stable info: 17:07:31 ------------------- 17:07:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:07:31 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 17:07:31 Message: update stable to v1.0.186 17:07:32 ------------------- 17:07:32 experimental info: 17:07:32 ------------------- 17:07:32 Commited By: **** collab-it+edgex@linuxfoundation.org 17:07:32 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 17:07:32 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:07:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:07:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-842 [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-842 [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-842 [Pipeline] echo 17:07:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19a16857940eeadc52c986e4adff0154b1683bef [Pipeline] echo 17:07:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19a1685 [Pipeline] echo 17:07:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:07:36 provisioning config files... 17:07:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp/config2496782538335579097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:37 ---> docker-login.sh 17:07:37 nexus3.edgexfoundry.org:10001 17:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:38 Configure a credential helper to remove this warning. See 17:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:38 17:07:38 Login Succeeded 17:07:38 nexus3.edgexfoundry.org:10002 17:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:39 Configure a credential helper to remove this warning. See 17:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:39 17:07:39 Login Succeeded 17:07:39 nexus3.edgexfoundry.org:10003 17:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:39 Configure a credential helper to remove this warning. See 17:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:39 17:07:39 Login Succeeded 17:07:39 nexus3.edgexfoundry.org:10004 17:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:39 Configure a credential helper to remove this warning. See 17:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:39 17:07:39 Login Succeeded 17:07:39 docker.io 17:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:40 Configure a credential helper to remove this warning. See 17:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:40 17:07:40 Login Succeeded 17:07:40 ---> docker-login.sh ends [Pipeline] } 17:07:40 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 17:07:41 + git log --format=format:%s -1 19a16857940eeadc52c986e4adff0154b1683bef [Pipeline] echo 17:07:41 GIT_COMMIT: 19a16857940eeadc52c986e4adff0154b1683bef, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 17:07:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:42 17:07:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:07:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:43 latest: Pulling from edgex-devops/git-semver 17:07:43 31603596830f: Pulling fs layer 17:07:43 2a8b12db71e7: Pulling fs layer 17:07:43 6ca5941a6612: Pulling fs layer 17:07:43 ecc8261a40a4: Pulling fs layer 17:07:43 ecc8261a40a4: Waiting 17:07:43 2a8b12db71e7: Verifying Checksum 17:07:43 2a8b12db71e7: Download complete 17:07:44 31603596830f: Verifying Checksum 17:07:44 31603596830f: Download complete 17:07:45 ecc8261a40a4: Verifying Checksum 17:07:45 ecc8261a40a4: Download complete 17:07:45 6ca5941a6612: Verifying Checksum 17:07:45 6ca5941a6612: Download complete 17:07:46 31603596830f: Pull complete 17:07:46 2a8b12db71e7: Pull complete 17:07:49 6ca5941a6612: Pull complete 17:07:50 ecc8261a40a4: Pull complete 17:07:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:07:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:07:50 prd-centos7-docker-4c-2g-32065 does not seem to be running inside a container 17:07:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-842 -v /w/workspace/dgexfoundry_device-sdk-go_PR-842:/w/workspace/dgexfoundry_device-sdk-go_PR-842:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-842@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 17:07:54 $ docker top de382ec5f7fcbae4e9e21520bef9389649339f8537b60ce2db9acc353934bf48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:54 [ssh-agent] Looking for ssh-agent implementation... 17:07:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:55 $ docker exec de382ec5f7fcbae4e9e21520bef9389649339f8537b60ce2db9acc353934bf48 ssh-agent 17:07:56 SSH_AUTH_SOCK=/tmp/ssh-a7uJfi9mkwYM/agent.11 17:07:56 SSH_AGENT_PID=16 17:07:56 Running ssh-add (command line suppressed) 17:07:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp/private_key_4306462821445149026.key (/w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp/private_key_4306462821445149026.key) 17:07:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:58 + git tag --points-at HEAD [Pipeline] } 17:07:58 $ docker exec --env ******** --env ******** de382ec5f7fcbae4e9e21520bef9389649339f8537b60ce2db9acc353934bf48 ssh-agent -k 17:07:58 unset SSH_AUTH_SOCK; 17:07:58 unset SSH_AGENT_PID; 17:07:58 echo Agent pid 16 killed; 17:07:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:07:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:59 [ssh-agent] Looking for ssh-agent implementation... 17:07:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:59 $ docker exec de382ec5f7fcbae4e9e21520bef9389649339f8537b60ce2db9acc353934bf48 ssh-agent 17:08:00 SSH_AUTH_SOCK=/tmp/ssh-vx9TA4MEBV6K/agent.44 17:08:00 SSH_AGENT_PID=49 17:08:00 Running ssh-add (command line suppressed) 17:08:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp/private_key_117318476282143033.key (/w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp/private_key_117318476282143033.key) 17:08:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:02 + git semver init 17:08:02 # -> Open(): unable to determine branch for HEAD 17:08:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-842/.git 17:08:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-842 17:08:02 # $SEMVER_REMOTE_NAME = origin 17:08:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:08:02 # $SEMVER_USER_NAME = edgex-jenkins 17:08:02 # $SEMVER_BRANCH = PR-842 17:08:02 # $SEMVER_TEMP = /tmp/semver-999619495 17:08:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:08:05 # '/tmp/semver-999619495' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-842/.semver' 17:08:05 # -> Force: false 17:08:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-842/.semver [Pipeline] } 17:08:05 $ docker exec --env ******** --env ******** de382ec5f7fcbae4e9e21520bef9389649339f8537b60ce2db9acc353934bf48 ssh-agent -k 17:08:06 unset SSH_AUTH_SOCK; 17:08:06 unset SSH_AGENT_PID; 17:08:06 echo Agent pid 49 killed; 17:08:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:08:07 + git semver [Pipeline] } 17:08:07 $ docker stop --time=1 de382ec5f7fcbae4e9e21520bef9389649339f8537b60ce2db9acc353934bf48 17:08:09 $ docker rm -f de382ec5f7fcbae4e9e21520bef9389649339f8537b60ce2db9acc353934bf48 [Pipeline] // withDockerContainer [Pipeline] sh 17:08:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:08:12 Stashed 1 file(s) [Pipeline] echo 17:08:12 [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 17:08:28 Still waiting to schedule task 17:08:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:08:28 Still waiting to schedule task 17:08:28 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 17:10:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32068 in /w/workspace/dgexfoundry_device-sdk-go_PR-842 [Pipeline] { [Pipeline] ws 17:10:45 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:10:50 using credential edgex-jenkins-ssh 17:10:51 Cloning the remote Git repository 17:10:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:10:51 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:10:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:10:51 > git --version # timeout=10 17:10:51 > git --version # 'git version 2.17.1' 17:10:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:10:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:10:53 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 19a16857940eeadc52c986e4adff0154b1683bef 17:10:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:10:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:10:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:10:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:10:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:10:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/842/head:refs/remotes/origin/PR-842 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:10:53 > git config core.sparsecheckout # timeout=10 17:10:53 > git checkout -f 19a16857940eeadc52c986e4adff0154b1683bef # timeout=10 17:10:53 > git remote # timeout=10 17:10:53 > git config --get remote.origin.url # timeout=10 17:10:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:10:53 > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 17:10:53 Merge succeeded, producing 19a16857940eeadc52c986e4adff0154b1683bef 17:10:53 Checking out Revision 19a16857940eeadc52c986e4adff0154b1683bef (PR-842) 17:10:53 > git rev-parse HEAD^{commit} # timeout=10 17:10:53 > git config core.sparsecheckout # timeout=10 17:10:53 > git checkout -f 19a16857940eeadc52c986e4adff0154b1683bef # timeout=10 17:10:57 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 17:10:59 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:10:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:11:00 + true 17:11:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:11:02 provisioning config files... 17:11:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8228757926688775258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:03 ---> docker-login.sh 17:11:03 nexus3.edgexfoundry.org:10001 17:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:04 Configure a credential helper to remove this warning. See 17:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:04 17:11:04 Login Succeeded 17:11:04 nexus3.edgexfoundry.org:10002 17:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:05 Configure a credential helper to remove this warning. See 17:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:05 17:11:05 Login Succeeded 17:11:05 nexus3.edgexfoundry.org:10003 17:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:05 Configure a credential helper to remove this warning. See 17:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:05 17:11:05 Login Succeeded 17:11:05 nexus3.edgexfoundry.org:10004 17:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:06 Configure a credential helper to remove this warning. See 17:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:06 17:11:06 Login Succeeded 17:11:06 docker.io 17:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:07 Configure a credential helper to remove this warning. See 17:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:07 17:11:07 Login Succeeded 17:11:07 ---> docker-login.sh ends [Pipeline] } 17:11:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:11:07 ========================================================= 17:11:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:11:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:11:08 + 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 . 17:11:08 Sending build context to Docker daemon 2.352MB 17:11:08 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:11:08 Step 2/8 : FROM ${BASE} 17:11:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:11:08 5f621e34cdf4: Pulling fs layer 17:11:08 a4357932f1b6: Pulling fs layer 17:11:08 18c013af1878: Pulling fs layer 17:11:08 00ac8860ef70: Pulling fs layer 17:11:08 63d7cb157983: Pulling fs layer 17:11:08 b116817d02f9: Pulling fs layer 17:11:08 745a02a5169b: Pulling fs layer 17:11:08 00ac8860ef70: Waiting 17:11:08 63d7cb157983: Waiting 17:11:08 b116817d02f9: Waiting 17:11:08 745a02a5169b: Waiting 17:11:08 18c013af1878: Verifying Checksum 17:11:08 18c013af1878: Download complete 17:11:08 a4357932f1b6: Verifying Checksum 17:11:08 a4357932f1b6: Download complete 17:11:08 63d7cb157983: Verifying Checksum 17:11:08 63d7cb157983: Download complete 17:11:09 b116817d02f9: Verifying Checksum 17:11:09 b116817d02f9: Download complete 17:11:09 5f621e34cdf4: Verifying Checksum 17:11:09 5f621e34cdf4: Download complete 17:11:09 5f621e34cdf4: Pull complete 17:11:10 a4357932f1b6: Pull complete 17:11:10 18c013af1878: Pull complete 17:11:11 745a02a5169b: Verifying Checksum 17:11:11 745a02a5169b: Download complete 17:11:13 00ac8860ef70: Verifying Checksum 17:11:13 00ac8860ef70: Download complete 17:11:23 00ac8860ef70: Pull complete 17:11:23 63d7cb157983: Pull complete 17:11:23 b116817d02f9: Pull complete 17:11:27 745a02a5169b: Pull complete 17:11:27 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:11:27 ---> b7e6874047d6 17:11:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:11:29 ---> Running in 8f6beb6a1ee6 17:11:30 Removing intermediate container 8f6beb6a1ee6 17:11:30 ---> 9f3666b5b9d6 17:11:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:30 ---> Running in d6dc14567c75 17:11:33 Removing intermediate container d6dc14567c75 17:11:33 ---> 0d9cff21a3cc 17:11:33 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 17:11:33 ---> Running in b489f80a7d5c 17:11:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:11:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:11:35 (1/6) Installing libc-dev (0.7.2-r3) 17:11:35 (2/6) Installing libsodium (1.0.18-r0) 17:11:35 (3/6) Installing pkgconf (1.7.2-r0) 17:11:36 (4/6) Installing libsodium-dev (1.0.18-r0) 17:11:36 (5/6) Installing libzmq (4.3.3-r0) 17:11:36 (6/6) Installing zeromq-dev (4.3.3-r0) 17:11:36 Executing busybox-1.31.1-r19.trigger 17:11:36 OK: 144 MiB in 45 packages 17:11:37 Removing intermediate container b489f80a7d5c 17:11:37 ---> 48ff6aa6ff6e 17:11:37 Step 6/8 : WORKDIR /device-sdk-go 17:11:38 ---> Running in d4dbe2c609c5 17:11:38 Removing intermediate container d4dbe2c609c5 17:11:38 ---> 0be6b0bd878f 17:11:38 Step 7/8 : COPY . . 17:11:39 ---> 9183224f54e2 17:11:39 Step 8/8 : RUN go mod download 17:11:40 ---> Running in 63bd4432d2b5 17:11:50 Running on prd-centos7-docker-4c-2g-32069 in /w/workspace/dgexfoundry_device-sdk-go_PR-842 [Pipeline] { [Pipeline] ws 17:11:50 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:11:53 using credential edgex-jenkins-ssh 17:11:53 Cloning the remote Git repository 17:11:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:11:53 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:11:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:11:53 > git --version # timeout=10 17:11:53 > git --version # 'git version 2.24.3' 17:11:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:11:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:11:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:11:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/842/head:refs/remotes/origin/PR-842 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:54 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 19a16857940eeadc52c986e4adff0154b1683bef 17:11:54 Merge succeeded, producing 19a16857940eeadc52c986e4adff0154b1683bef 17:11:54 Checking out Revision 19a16857940eeadc52c986e4adff0154b1683bef (PR-842) 17:11:54 > git config core.sparsecheckout # timeout=10 17:11:54 > git checkout -f 19a16857940eeadc52c986e4adff0154b1683bef # timeout=10 17:11:54 > git remote # timeout=10 17:11:54 > git config --get remote.origin.url # timeout=10 17:11:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:54 > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 17:11:54 > git rev-parse HEAD^{commit} # timeout=10 17:11:54 > git config core.sparsecheckout # timeout=10 17:11:54 > git checkout -f 19a16857940eeadc52c986e4adff0154b1683bef # timeout=10 17:11:58 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 17:11:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:12:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:12:00 + sudo service docker restart 17:12:00 + true 17:12:00 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:12:02 provisioning config files... 17:12:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1196405261043736551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:02 ---> docker-login.sh 17:12:02 nexus3.edgexfoundry.org:10001 17:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:02 Configure a credential helper to remove this warning. See 17:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:02 17:12:02 Login Succeeded 17:12:02 nexus3.edgexfoundry.org:10002 17:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:02 Configure a credential helper to remove this warning. See 17:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:02 17:12:02 Login Succeeded 17:12:02 nexus3.edgexfoundry.org:10003 17:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:03 Configure a credential helper to remove this warning. See 17:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:03 17:12:03 Login Succeeded 17:12:03 nexus3.edgexfoundry.org:10004 17:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:03 Configure a credential helper to remove this warning. See 17:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:03 17:12:03 Login Succeeded 17:12:03 docker.io 17:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:03 Configure a credential helper to remove this warning. See 17:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:03 17:12:03 Login Succeeded 17:12:03 ---> docker-login.sh ends [Pipeline] } 17:12:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:12:04 ========================================================= 17:12:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:12:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:12: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 . 17:12:04 Sending build context to Docker daemon 2.33MB 17:12:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:12:04 Step 2/8 : FROM ${BASE} 17:12:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:12:04 188c0c94c7c5: Pulling fs layer 17:12:04 0ef7d3d256c8: Pulling fs layer 17:12:04 de9db76c5a1d: Pulling fs layer 17:12:04 bca2f99d35d6: Pulling fs layer 17:12:04 93359f2a8cfa: Pulling fs layer 17:12:04 7c6f9722023f: Pulling fs layer 17:12:04 a35cf1a2eb13: Pulling fs layer 17:12:04 bca2f99d35d6: Waiting 17:12:04 93359f2a8cfa: Waiting 17:12:04 7c6f9722023f: Waiting 17:12:04 a35cf1a2eb13: Waiting 17:12:04 de9db76c5a1d: Verifying Checksum 17:12:04 de9db76c5a1d: Download complete 17:12:04 0ef7d3d256c8: Verifying Checksum 17:12:04 0ef7d3d256c8: Download complete 17:12:04 93359f2a8cfa: Verifying Checksum 17:12:04 93359f2a8cfa: Download complete 17:12:04 188c0c94c7c5: Verifying Checksum 17:12:04 188c0c94c7c5: Download complete 17:12:05 7c6f9722023f: Verifying Checksum 17:12:05 7c6f9722023f: Download complete 17:12:05 188c0c94c7c5: Pull complete 17:12:05 0ef7d3d256c8: Pull complete 17:12:05 de9db76c5a1d: Pull complete 17:12:06 a35cf1a2eb13: Verifying Checksum 17:12:06 a35cf1a2eb13: Download complete 17:12:07 Removing intermediate container 63bd4432d2b5 17:12:07 ---> 3a2a3ae67436 17:12:07 Successfully built 3a2a3ae67436 17:12:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:12:07 bca2f99d35d6: Verifying Checksum 17:12:07 bca2f99d35d6: Download complete 17:12:07 + docker inspect -f . ci-base-image-arm64 17:12:07 . [Pipeline] withDockerContainer 17:12:07 prd-ubuntu18.04-docker-arm64-4c-16g-32068 does not seem to be running inside a container 17:12:07 $ 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 17:12:09 $ docker top ed032cf29f3ece5ad9a89a4adba5f1334ab98648fa244311fe4e9b4a27a0ca2d -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:10 + go version 17:12:10 go version go1.15.5 linux/arm64 [Pipeline] } 17:12:10 $ docker stop --time=1 ed032cf29f3ece5ad9a89a4adba5f1334ab98648fa244311fe4e9b4a27a0ca2d 17:12:12 bca2f99d35d6: Pull complete 17:12:12 93359f2a8cfa: Pull complete 17:12:12 7c6f9722023f: Pull complete 17:12:12 $ docker rm -f ed032cf29f3ece5ad9a89a4adba5f1334ab98648fa244311fe4e9b4a27a0ca2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:12:13 + docker inspect -f . ci-base-image-arm64 17:12:13 . [Pipeline] withDockerContainer 17:12:14 prd-ubuntu18.04-docker-arm64-4c-16g-32068 does not seem to be running inside a container 17:12:14 $ 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 17:12:15 $ docker top bf64afadc419eae9f8544788b411a9b070d209064e64817dbbba31279b7bd94d -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:16 + make test 17:12:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:12:22 a35cf1a2eb13: Pull complete 17:12:22 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:12:22 ---> a62c8e92a672 17:12:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:12:22 ---> Running in ad89b3c498ea 17:12:22 Removing intermediate container ad89b3c498ea 17:12:22 ---> 60ad0d6efd7d 17:12:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:12:22 ---> Running in 86fb90dbbe86 17:12:22 Removing intermediate container 86fb90dbbe86 17:12:22 ---> 78a2b47a585e 17:12:22 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 17:12:22 ---> Running in fe2d687d57e6 17:12:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:12:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:12:24 (1/6) Installing libc-dev (0.7.2-r3) 17:12:24 (2/6) Installing libsodium (1.0.18-r0) 17:12:24 (3/6) Installing pkgconf (1.7.2-r0) 17:12:24 (4/6) Installing libsodium-dev (1.0.18-r0) 17:12:24 (5/6) Installing libzmq (4.3.3-r0) 17:12:25 (6/6) Installing zeromq-dev (4.3.3-r0) 17:12:25 Executing busybox-1.31.1-r19.trigger 17:12:25 OK: 167 MiB in 45 packages 17:12:25 Removing intermediate container fe2d687d57e6 17:12:25 ---> 632f10ded78e 17:12:25 Step 6/8 : WORKDIR /device-sdk-go 17:12:25 ---> Running in 78b2286b79d1 17:12:25 Removing intermediate container 78b2286b79d1 17:12:25 ---> cdb8edc4bc3e 17:12:25 Step 7/8 : COPY . . 17:12:26 ---> 6da7ba94d556 17:12:26 Step 8/8 : RUN go mod download 17:12:27 ---> Running in e48a03584b2d 17:12:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:12:53 Removing intermediate container e48a03584b2d 17:12:53 ---> 80336b758597 17:12:53 Successfully built 80336b758597 17:12:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:12:54 + docker inspect -f . ci-base-image-x86_64 17:12:54 . [Pipeline] withDockerContainer 17:12:54 prd-centos7-docker-4c-2g-32069 does not seem to be running inside a container 17:12:54 $ 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 17:12:55 $ docker top 7420207039a1cdd59f5741aecb0721bd3d0bbe153ba1aff0116d2716de871830 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:55 + go version 17:12:55 go version go1.15.5 linux/amd64 [Pipeline] } 17:12:55 $ docker stop --time=1 7420207039a1cdd59f5741aecb0721bd3d0bbe153ba1aff0116d2716de871830 17:12:57 $ docker rm -f 7420207039a1cdd59f5741aecb0721bd3d0bbe153ba1aff0116d2716de871830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:12:57 + docker inspect -f . ci-base-image-x86_64 17:12:57 . [Pipeline] withDockerContainer 17:12:58 prd-centos7-docker-4c-2g-32069 does not seem to be running inside a container 17:12:58 $ 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 17:12:58 $ docker top d47974a9371e3d647ae9b11301ddc0c1a0c93eae1768bee044472c11e1d7332a -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:59 + make test 17:12:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:13:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:13:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:13:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:13:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:13:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 17:13:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:13:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 27.0% of statements 17:13:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 81.2% of statements 17:13:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.062s coverage: 7.8% of statements 17:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:13:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 32.5% of statements 17:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:13:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.3% of statements 17:13:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.253s coverage: 6.6% of statements 17:13:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 17:13:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:13:32 GO111MODULE=on go vet ./... 17:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 17:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:13:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.145s coverage: 27.0% of statements 17:13:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.179s coverage: 81.2% of statements 17:13:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.145s coverage: 7.8% of statements 17:13:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:13:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:13:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:13:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.320s coverage: 32.5% of statements 17:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:13:47 gofmt -l . 17:13:47 [ "`gofmt -l .`" = "" ] 17:13:47 ./bin/test-attribution-txt.sh 17:13:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:13:48 $ docker stop --time=1 d47974a9371e3d647ae9b11301ddc0c1a0c93eae1768bee044472c11e1d7332a 17:13:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.271s coverage: 57.3% of statements 17:13:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.131s coverage: 6.6% of statements 17:13:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements 17:13:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:13:51 GO111MODULE=on go vet ./... 17:13:51 $ docker rm -f d47974a9371e3d647ae9b11301ddc0c1a0c93eae1768bee044472c11e1d7332a [Pipeline] // withDockerContainer [Pipeline] sh 17:13:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:13:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:13:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:13:55 + ls -al . 17:13:55 total 188 17:13:55 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 30 17:13 . 17:13:55 drwxrwxr-x. 4 jenkins jenkins 28 Mar 30 17:11 .. 17:13:55 drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 17:11 bin 17:13:55 -rw-r--r--. 1 jenkins jenkins 101416 Mar 30 17:13 coverage.out 17:13:55 -rw-rw-r--. 1 jenkins jenkins 987 Mar 30 17:11 Dockerfile.build 17:13:55 -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 17:11 .dockerignore 17:13:55 drwxrwxr-x. 5 jenkins jenkins 62 Mar 30 17:11 example 17:13:55 drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 17:11 .git 17:13:55 drwxrwxr-x. 2 jenkins jenkins 103 Mar 30 17:11 .github 17:13:55 -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 17:11 .gitignore 17:13:55 -rw-r--r--. 1 jenkins jenkins 537 Mar 30 17:13 go.mod 17:13:55 -rw-r--r--. 1 jenkins jenkins 21025 Mar 30 17:13 go.sum 17:13:55 drwxrwxr-x. 14 jenkins jenkins 207 Mar 30 17:11 internal 17:13:55 -rw-rw-r--. 1 jenkins jenkins 901 Mar 30 17:11 Jenkinsfile 17:13:55 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 17:11 LICENSE 17:13:55 -rw-rw-r--. 1 jenkins jenkins 1022 Mar 30 17:11 Makefile 17:13:55 drwxrwxr-x. 4 jenkins jenkins 26 Mar 30 17:11 openapi 17:13:55 drwxrwxr-x. 5 jenkins jenkins 50 Mar 30 17:11 pkg 17:13:55 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 30 17:11 README.md 17:13:55 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 30 17:11 RELEASE-NOTES.txt 17:13:55 drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 17:11 snap 17:13:55 -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 17:08 VERSION 17:13:55 -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 17:11 version.go [Pipeline] isUnix [Pipeline] sh 17:13:55 + 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=19a16857940eeadc52c986e4adff0154b1683bef --label arch=amd64 --label version=0.0.0 . 17:13:55 Sending build context to Docker daemon 2.433MB 17:13:55 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 17:13:55 Step 2/23 : FROM ${BASE} AS builder 17:13:55 ---> 80336b758597 17:13:55 Step 3/23 : WORKDIR /device-sdk-go 17:13:56 ---> Running in 6043a4fa97af 17:13:56 Removing intermediate container 6043a4fa97af 17:13:56 ---> e2c9f6184c08 17:13:56 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:13:56 ---> Running in fcb44e8db58a 17:13:56 Removing intermediate container fcb44e8db58a 17:13:56 ---> 894b2d155154 17:13:56 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:13:57 ---> Running in 27b09c111b43 17:13:58 Removing intermediate container 27b09c111b43 17:13:58 ---> 0c5c505adfff 17:13:58 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:13:58 ---> Running in 4366881edd74 17:13:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:13:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:13:59 OK: 167 MiB in 45 packages 17:14:00 Removing intermediate container 4366881edd74 17:14:00 ---> a90465e520a1 17:14:00 Step 7/23 : COPY . . 17:14:01 ---> da3350c9c064 17:14:01 Step 8/23 : RUN go mod download 17:14:01 ---> Running in d2bf6e73a864 17:14:02 Removing intermediate container d2bf6e73a864 17:14:02 ---> 8fec0cd3c799 17:14:02 Step 9/23 : RUN make build 17:14:02 ---> Running in 79516598b645 17:14:02 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 17:14:15 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:14:15 Removing intermediate container 79516598b645 17:14:15 ---> ea2c64be3352 17:14:15 Step 10/23 : FROM alpine:3.12 17:14:16 3.12: Pulling from library/alpine 17:14:16 22599d3e9e25: Pulling fs layer 17:14:16 22599d3e9e25: Download complete 17:14:17 22599d3e9e25: Pull complete 17:14:17 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 17:14:17 Status: Downloaded newer image for alpine:3.12 17:14:17 ---> 42cb162f0360 17:14:17 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:14:17 ---> Running in 15a930d49a86 17:14:17 Removing intermediate container 15a930d49a86 17:14:17 ---> 200e2c64fe3d 17:14:17 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:14:17 ---> Running in ceebe65dc8d8 17:14:18 Removing intermediate container ceebe65dc8d8 17:14:18 ---> 4f9cbce43271 17:14:18 Step 13/23 : RUN apk add --update --no-cache zeromq 17:14:18 ---> Running in 9b1f488cd541 17:14:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:14:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:14:20 (1/5) Installing libgcc (9.3.0-r2) 17:14:20 (2/5) Installing libsodium (1.0.18-r0) 17:14:20 (3/5) Installing libstdc++ (9.3.0-r2) 17:14:20 (4/5) Installing libzmq (4.3.3-r0) 17:14:20 (5/5) Installing zeromq (4.3.3-r0) 17:14:20 Executing busybox-1.31.1-r19.trigger 17:14:20 OK: 8 MiB in 19 packages 17:14:21 Removing intermediate container 9b1f488cd541 17:14:21 ---> 11b4456b56be 17:14:21 Step 14/23 : WORKDIR / 17:14:21 ---> Running in fec0ae3fdd3b 17:14:21 Removing intermediate container fec0ae3fdd3b 17:14:21 ---> b51dd30df467 17:14:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:14:21 ---> 04f672d1f980 17:14:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:14:22 ---> 5b8124213970 17:14:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:14:22 ---> 627508d40ab4 17:14:22 Step 18/23 : EXPOSE 49990 17:14:22 ---> Running in 8ad216f08170 17:14:22 Removing intermediate container 8ad216f08170 17:14:22 ---> bf2dab93bcce 17:14:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:14:22 ---> Running in 5a3ff445adae 17:14:23 Removing intermediate container 5a3ff445adae 17:14:23 ---> 2a2c23db6d16 17:14:23 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:14:23 ---> Running in 1bfb4c63c22f 17:14:23 Removing intermediate container 1bfb4c63c22f 17:14:23 ---> 1fdf73ad7ad0 17:14:23 Step 21/23 : LABEL arch=amd64 17:14:23 ---> Running in 8096c8801990 17:14:23 Removing intermediate container 8096c8801990 17:14:23 ---> f36ca3d59508 17:14:23 Step 22/23 : LABEL git_sha=19a16857940eeadc52c986e4adff0154b1683bef 17:14:23 ---> Running in 942c32ef5dd6 17:14:23 Removing intermediate container 942c32ef5dd6 17:14:23 ---> 5ed4c2c5fc88 17:14:23 Step 23/23 : LABEL version=0.0.0 17:14:23 ---> Running in 84429e81246c 17:14:23 Removing intermediate container 84429e81246c 17:14:23 ---> 939512b8f65e 17:14:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:14:23 Successfully built 939512b8f65e 17:14:23 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 17:14:24 ---> job-cost.sh 17:14:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vFEX 17:14:38 gofmt -l . 17:14:38 [ "`gofmt -l .`" = "" ] 17:14:38 ./bin/test-attribution-txt.sh 17:14:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:14:39 $ docker stop --time=1 bf64afadc419eae9f8544788b411a9b070d209064e64817dbbba31279b7bd94d 17:14:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:14:41 $ docker rm -f bf64afadc419eae9f8544788b411a9b070d209064e64817dbbba31279b7bd94d [Pipeline] // withDockerContainer [Pipeline] sh 17:14:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:14:42 Warning: overwriting stash ‘coverage-report’ 17:14:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:14:44 + ls -al . 17:14:44 total 224 17:14:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 17:14 . 17:14:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 17:10 .. 17:14:44 -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 17:10 .dockerignore 17:14:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 17:10 .git 17:14:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 17:10 .github 17:14:44 -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 17:10 .gitignore 17:14:44 -rw-rw-r-- 1 jenkins jenkins 987 Mar 30 17:10 Dockerfile.build 17:14:44 -rw-rw-r-- 1 jenkins jenkins 901 Mar 30 17:10 Jenkinsfile 17:14:44 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 17:10 LICENSE 17:14:44 -rw-rw-r-- 1 jenkins jenkins 1022 Mar 30 17:10 Makefile 17:14:44 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 30 17:10 README.md 17:14:44 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 30 17:10 RELEASE-NOTES.txt 17:14:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 17:08 VERSION 17:14:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 17:10 bin 17:14:44 -rw-r--r-- 1 jenkins jenkins 101416 Mar 30 17:13 coverage.out 17:14:44 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 17:10 example 17:14:44 -rw-r--r-- 1 jenkins jenkins 537 Mar 30 17:14 go.mod 17:14:44 -rw-r--r-- 1 jenkins jenkins 21025 Mar 30 17:14 go.sum 17:14:44 drwxrwxr-x 14 jenkins jenkins 4096 Mar 30 17:10 internal 17:14:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 17:10 openapi 17:14:44 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 17:10 pkg 17:14:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 17:10 snap 17:14:44 -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 17:10 version.go [Pipeline] isUnix [Pipeline] sh 17:14:44 + 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=19a16857940eeadc52c986e4adff0154b1683bef --label arch=arm64 --label version=0.0.0 . 17:14:45 Sending build context to Docker daemon 2.455MB 17:14:45 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 17:14:45 Step 2/23 : FROM ${BASE} AS builder 17:14:45 ---> 3a2a3ae67436 17:14:45 Step 3/23 : WORKDIR /device-sdk-go 17:14:45 ---> Running in 96888dd020c3 17:14:46 Removing intermediate container 96888dd020c3 17:14:46 ---> b5db06d6c1d4 17:14:46 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:14:46 ---> Running in 783dab54e756 17:14:46 Removing intermediate container 783dab54e756 17:14:46 ---> cfcda44d215e 17:14:46 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:14:46 ---> Running in a5e2434d5fb5 17:14:48 Removing intermediate container a5e2434d5fb5 17:14:48 ---> 155fee0aff52 17:14:48 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:14:49 ---> Running in 8ddb253dff5a 17:14:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:14:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:14:51 OK: 144 MiB in 45 packages 17:14:53 Removing intermediate container 8ddb253dff5a 17:14:53 ---> fc8aa248c326 17:14:53 Step 7/23 : COPY . . 17:14:54 ---> 10382d16c483 17:14:54 Step 8/23 : RUN go mod download 17:14:54 ---> Running in 761e141180ba 17:14:56 Removing intermediate container 761e141180ba 17:14:56 ---> c93824873fda 17:14:56 Step 9/23 : RUN make build 17:14:56 ---> Running in c90d41d48d06 17:14:57 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 17:15:06 lf-activate-venv(): INFO: Adding /tmp/venv-vFEX/bin to PATH 17:15:06 INFO: No Stack... 17:15:07 INFO: Retrieving Pricing Info for: v1-standard-2 17:15:08 INFO: Archiving Costs [Pipeline] sh 17:15:08 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 17:15:08 + cut -d, -f6 [Pipeline] lock 17:15:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-842-2-stack-cost] 17:15:08 Resource [jenkins-edgexfoundry-device-sdk-go-PR-842-2-stack-cost] did not exist. Created. 17:15:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-842-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:15:08 + echo total: 0.029999999329447746 [Pipeline] stash 17:15:09 Stashed 1 file(s) [Pipeline] } 17:15:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-842-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:15:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:15:32 Removing intermediate container c90d41d48d06 17:15:32 ---> 9435313b7702 17:15:32 Step 10/23 : FROM alpine:3.12 17:15:32 3.12: Pulling from library/alpine 17:15:32 95dec6db3722: Pulling fs layer 17:15:32 95dec6db3722: Verifying Checksum 17:15:32 95dec6db3722: Download complete 17:15:33 95dec6db3722: Pull complete 17:15:33 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 17:15:33 Status: Downloaded newer image for alpine:3.12 17:15:33 ---> e47305ac9786 17:15:33 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:15:33 ---> Running in 08879b2390dd 17:15:33 Removing intermediate container 08879b2390dd 17:15:33 ---> db75b0581d38 17:15:33 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:15:34 ---> Running in 9d5265bd952a 17:15:36 Removing intermediate container 9d5265bd952a 17:15:36 ---> 3cb676e22697 17:15:36 Step 13/23 : RUN apk add --update --no-cache zeromq 17:15:36 ---> Running in 3afd0503b9f9 17:15:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:15:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:15:38 (1/5) Installing libgcc (9.3.0-r2) 17:15:38 (2/5) Installing libsodium (1.0.18-r0) 17:15:38 (3/5) Installing libstdc++ (9.3.0-r2) 17:15:39 (4/5) Installing libzmq (4.3.3-r0) 17:15:39 (5/5) Installing zeromq (4.3.3-r0) 17:15:39 Executing busybox-1.31.1-r19.trigger 17:15:39 OK: 8 MiB in 19 packages 17:15:40 Removing intermediate container 3afd0503b9f9 17:15:40 ---> 6d50b14e85ce 17:15:40 Step 14/23 : WORKDIR / 17:15:40 ---> Running in bbb43979ff62 17:15:40 Removing intermediate container bbb43979ff62 17:15:40 ---> 199fb5b8628e 17:15:40 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:15:41 ---> 1c2559dfe28d 17:15:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:15:43 ---> 13dbd9999000 17:15:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:15:43 ---> 0e36eb51fb67 17:15:43 Step 18/23 : EXPOSE 49990 17:15:43 ---> Running in 9336d3128286 17:15:44 Removing intermediate container 9336d3128286 17:15:44 ---> 4454c4e6bfbe 17:15:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:15:44 ---> Running in efab702d86a4 17:15:45 Removing intermediate container efab702d86a4 17:15:45 ---> 86395ce62985 17:15:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:15:45 ---> Running in 2b7778192cf1 17:15:45 Removing intermediate container 2b7778192cf1 17:15:45 ---> 7b23a6dddbf4 17:15:45 Step 21/23 : LABEL arch=arm64 17:15:45 ---> Running in 73ed502f1213 17:15:45 Removing intermediate container 73ed502f1213 17:15:45 ---> d0a0b6c4470e 17:15:45 Step 22/23 : LABEL git_sha=19a16857940eeadc52c986e4adff0154b1683bef 17:15:46 ---> Running in 47a645284593 17:15:46 Removing intermediate container 47a645284593 17:15:46 ---> d4c8154c79af 17:15:46 Step 23/23 : LABEL version=0.0.0 17:15:46 ---> Running in ce05396d5004 17:15:47 Removing intermediate container ce05396d5004 17:15:47 ---> b2dc16772b9c 17:15:47 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:15:47 Successfully built b2dc16772b9c 17:15:47 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 17:15:48 ---> job-cost.sh 17:15:48 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0OzV 17:16:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:18:03 lf-activate-venv(): INFO: Adding /tmp/venv-0OzV/bin to PATH 17:18:03 INFO: No Stack... 17:18:03 INFO: Retrieving Pricing Info for: lf-standard-4 17:18:03 INFO: Archiving Costs [Pipeline] sh 17:18:04 + cat+ /w/workspace/device-sdk-go/2/archives/cost.csv 17:18:04 cut -d, -f6 [Pipeline] lock 17:18:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-842-2-stack-cost] 17:18:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-842-2-stack-cost] did not exist. Created. 17:18:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-842-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:18:04 /w/workspace/device-sdk-go/2@tmp/durable-624720ef/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-624720ef/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:18:05 + echo total: 0.20999999344348907 [Pipeline] stash 17:18:05 Warning: overwriting stash ‘stack-cost’ 17:18:05 Stashed 1 file(s) [Pipeline] } 17:18:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-842-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 17:18:06 provisioning config files... 17:18:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp/config6101457161060615422tmp [Pipeline] { [Pipeline] sh 17:18:07 + set +x 17:18:07 + bash -s -- 17:18:07 + curl -s https://codecov.io/bash 17:18:07 17:18:07 _____ _ 17:18:07 / ____| | | 17:18:07 | | ___ __| | ___ ___ _____ __ 17:18:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:18:07 | |___| (_) | (_| | __/ (_| (_) \ V / 17:18:07 \_____\___/ \__,_|\___|\___\___/ \_/ 17:18:07 Bash-20210309-2b87ace 17:18:07 17:18:07 17:18:07 ==> git version 2.24.3 found 17:18:07 ==> 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 17:18:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:18:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:18:07 ==> Jenkins CI detected. 17:18:07 project root: . 17:18:07 --> token set from env 17:18:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:18:07 ==> Running gcov in . (disable via -X gcov) 17:18:07 ==> Python coveragepy not found 17:18:07 ==> Searching for coverage reports in: 17:18:07 + . 17:18:07 -> Found 1 reports 17:18:07 ==> Detecting git/mercurial file structure 17:18:07 ==> Reading reports 17:18:07 + ./coverage.out bytes=101416 17:18:07 ==> Appending adjustments 17:18:07 https://docs.codecov.io/docs/fixing-reports 17:18:08 + Found adjustments 17:18:09 ==> Gzipping contents 17:18:09 16K /tmp/codecov.LbyRPO.gz 17:18:09 ==> Uploading reports 17:18:09 url: https://codecov.io 17:18:09 query: branch=PR-842&commit=19a16857940eeadc52c986e4adff0154b1683bef&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-842%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=842&job=&cmd_args= 17:18:09 -> Pinging Codecov 17:18:09 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-842&commit=19a16857940eeadc52c986e4adff0154b1683bef&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-842%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=842&job=&cmd_args= 17:18:09 -> Uploading to 17:18:09 https://storage.googleapis.com/codecov/v4/raw/2021-03-30/7E55EF52A471D76F132DFD9A03CDDE97/19a16857940eeadc52c986e4adff0154b1683bef/f334feeb-4816-4d79-bd0a-7ffc9f7ea5fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210330T171809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=666501cc1ceb9e549c06054b420381aa46dae79565f28ca2ca77ea44eb72a90d 17:18:09 % Total % Received % Xferd Average Speed Time Time Time Current 17:18:09 Dload Upload Total Spent Left Speed 17:18:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13725 0 0 100 13725 0 27757 --:--:-- --:--:-- --:--:-- 27783 17:18:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/19a16857940eeadc52c986e4adff0154b1683bef [Pipeline] } 17:18:10 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 17:18:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:18:13 ---> package-listing.sh 17:18:13 ++ facter osfamily 17:18:13 ++ tr '[:upper:]' '[:lower:]' 17:18:14 + OS_FAMILY=redhat 17:18:14 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-842 17:18:14 + START_PACKAGES=/tmp/packages_start.txt 17:18:14 + END_PACKAGES=/tmp/packages_end.txt 17:18:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:18:14 + PACKAGES=/tmp/packages_start.txt 17:18:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-842 ']' 17:18:14 + PACKAGES=/tmp/packages_end.txt 17:18:14 + case "${OS_FAMILY}" in 17:18:14 + rpm -qa 17:18:14 + sort 17:18:22 + '[' -f /tmp/packages_start.txt ']' 17:18:22 + '[' -f /tmp/packages_end.txt ']' 17:18:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:18:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-842 ']' 17:18:22 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-842/archives/ 17:18:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-842/archives/ [Pipeline] echo 17:18:22 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-842/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:18:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:18:23 17:18:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:18:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:18:24 alpine: Pulling from edgex-lftools-log-publisher 17:18:24 df20fa9351a1: Pulling fs layer 17:18:24 36b3adc4ff6f: Pulling fs layer 17:18:24 8ad3a11d3b57: Pulling fs layer 17:18:24 46f8f816bc3b: Pulling fs layer 17:18:24 93b61091891f: Pulling fs layer 17:18:24 93b9cdb0e59b: Pulling fs layer 17:18:24 5e14af77c1be: Pulling fs layer 17:18:24 01666e4c0597: Pulling fs layer 17:18:24 aa168da1d23b: Pulling fs layer 17:18:24 01666e4c0597: Waiting 17:18:24 aa168da1d23b: Waiting 17:18:24 46f8f816bc3b: Waiting 17:18:24 93b61091891f: Waiting 17:18:24 93b9cdb0e59b: Waiting 17:18:24 5e14af77c1be: Waiting 17:18:24 36b3adc4ff6f: Verifying Checksum 17:18:24 36b3adc4ff6f: Download complete 17:18:24 46f8f816bc3b: Verifying Checksum 17:18:24 46f8f816bc3b: Download complete 17:18:25 df20fa9351a1: Verifying Checksum 17:18:25 df20fa9351a1: Download complete 17:18:25 93b9cdb0e59b: Verifying Checksum 17:18:25 93b9cdb0e59b: Download complete 17:18:25 5e14af77c1be: Verifying Checksum 17:18:25 5e14af77c1be: Download complete 17:18:25 93b61091891f: Verifying Checksum 17:18:25 93b61091891f: Download complete 17:18:25 01666e4c0597: Verifying Checksum 17:18:25 01666e4c0597: Download complete 17:18:26 df20fa9351a1: Pull complete 17:18:27 36b3adc4ff6f: Pull complete 17:18:27 8ad3a11d3b57: Verifying Checksum 17:18:27 8ad3a11d3b57: Download complete 17:18:29 8ad3a11d3b57: Pull complete 17:18:29 46f8f816bc3b: Pull complete 17:18:30 93b61091891f: Pull complete 17:18:30 93b9cdb0e59b: Pull complete 17:18:31 5e14af77c1be: Pull complete 17:18:31 01666e4c0597: Pull complete 17:18:34 aa168da1d23b: Download complete 17:18:57 aa168da1d23b: Pull complete 17:18:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:18:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:18:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:18:58 prd-centos7-docker-4c-2g-32065 does not seem to be running inside a container 17:18:58 $ 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-842/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-842 -v /w/workspace/dgexfoundry_device-sdk-go_PR-842:/w/workspace/dgexfoundry_device-sdk-go_PR-842:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-842@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 17:19:00 $ docker top 81f38308eacb00179de851126d5cb703d0317c0f75ef7c6b4895d03aea3cac2a -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:01 + touch /tmp/pre-build-complete [Pipeline] sh 17:19:02 + mkdir -p /var/log/sa [Pipeline] sh 17:19:03 + ls /var/log/sa-host 17:19:03 + sadf -c /var/log/sa-host/sa23 17:19:03 file_magic: OK 17:19:03 HZ: Using current value: 100 17:19:03 file_header: OK 17:19:03 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 17:19:03 Statistics: 17:19:03 Hnuu...uuuununununu... 17:19:03 File successfully converted to sysstat format version 12.2.1 17:19:03 + sadf -c /var/log/sa-host/sa30 17:19:03 file_magic: OK 17:19:03 HZ: Using current value: 100 17:19:03 file_header: OK 17:19:03 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 17:19:03 Statistics: 17:19:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:19:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:19:03 provisioning config files... 17:19:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-842@tmp/config3882592478895250014tmp [Pipeline] { [Pipeline] echo 17:19:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:19:04 ---> create-netrc.sh [Pipeline] } 17:19:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:19:04 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:19:05 ---> python-tools-install.sh [Pipeline] echo 17:19:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:19:06 ---> sudo-logs.sh 17:19:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:19:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:19:06 ---> job-cost.sh 17:19:06 lf-activate-venv: SKIPPING 17:19:06 DEBUG: total: 0.20999999344348907 17:19:06 INFO: Retrieving Stack Cost... 17:19:08 INFO: Retrieving Pricing Info for: v1-standard-2 17:19:08 INFO: Archiving Costs [Pipeline] echo 17:19:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:19:09 ---> logs-deploy.sh 17:19:09 lf-activate-venv: SKIPPING 17:19:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-842/2 17:19:09 INFO: archiving workspace using pattern(s): 17:19:13 Archives upload complete. 17:19:13 INFO: archiving logs to Nexus