Pull request #833 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b+e522836f5d508ce20413c5d2a08a926bd2b9771b (b22566e1f4f1fcb76e6c205d3aa4eb03c002fb94) 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-31253 in /w/workspace/dgexfoundry_device-sdk-go_PR-833 [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-833 # 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 e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b Merge succeeded, producing ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b Checking out Revision ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b (PR-833) > 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/833/head:refs/remotes/origin/PR-833 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # 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 e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 Commit message: "fix: Updates to address PR comments from Tony" > git rev-list --no-walk 0699ac1c52d75de8326690523b0c234d7b3fdcc8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:16:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:16:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:16:31 ========================================================= 20:16:31 EdgeX Global Pipelines Version Info 20:16:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:16:32 ------------------- 20:16:32 stable info: 20:16:32 ------------------- 20:16:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:16:32 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 20:16:32 Message: update stable to v1.0.186 20:16:33 ------------------- 20:16:33 experimental info: 20:16:33 ------------------- 20:16:33 Commited By: **** collab-it+edgex@linuxfoundation.org 20:16:33 Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 20:16:33 Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:16:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:16:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:16:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 20:16:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-833 [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-833 [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-833 [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba1d8f4 [Pipeline] echo 20:16:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:16:37 provisioning config files... 20:16:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config6326407285306437053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:37 ---> docker-login.sh 20:16:37 nexus3.edgexfoundry.org:10001 20:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:37 Configure a credential helper to remove this warning. See 20:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:37 20:16:37 Login Succeeded 20:16:37 nexus3.edgexfoundry.org:10002 20:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 nexus3.edgexfoundry.org:10003 20:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 nexus3.edgexfoundry.org:10004 20:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 docker.io 20:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 ---> docker-login.sh ends [Pipeline] } 20:16:38 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 20:16:39 + git log --format=format:%s -1 ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [Pipeline] echo 20:16:39 GIT_COMMIT: ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b, Commit Message: fix: Updates to address PR comments from Tony [Pipeline] echo 20:16:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:16:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:16:40 20:16:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:16:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:16:40 latest: Pulling from edgex-devops/git-semver 20:16:40 31603596830f: Pulling fs layer 20:16:40 2a8b12db71e7: Pulling fs layer 20:16:40 6ca5941a6612: Pulling fs layer 20:16:40 ecc8261a40a4: Pulling fs layer 20:16:40 ecc8261a40a4: Waiting 20:16:40 2a8b12db71e7: Verifying Checksum 20:16:40 2a8b12db71e7: Download complete 20:16:41 31603596830f: Download complete 20:16:41 ecc8261a40a4: Verifying Checksum 20:16:41 ecc8261a40a4: Download complete 20:16:41 6ca5941a6612: Verifying Checksum 20:16:41 6ca5941a6612: Download complete 20:16:41 31603596830f: Pull complete 20:16:41 2a8b12db71e7: Pull complete 20:16:42 6ca5941a6612: Pull complete 20:16:42 ecc8261a40a4: Pull complete 20:16:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:16:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:16:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:16:43 prd-centos7-docker-4c-2g-31253 does not seem to be running inside a container 20:16:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-833 -v /w/workspace/dgexfoundry_device-sdk-go_PR-833:/w/workspace/dgexfoundry_device-sdk-go_PR-833:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:16:45 $ docker top 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:16:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:45 [ssh-agent] Looking for ssh-agent implementation... 20:16:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:45 $ docker exec 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 ssh-agent 20:16:46 SSH_AUTH_SOCK=/tmp/ssh-diJRU6Rkv58C/agent.11 20:16:46 SSH_AGENT_PID=16 20:16:46 Running ssh-add (command line suppressed) 20:16:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_5506955584634749608.key (/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_5506955584634749608.key) 20:16:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:46 + git tag --points-at HEAD [Pipeline] } 20:16:46 $ docker exec --env ******** --env ******** 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 ssh-agent -k 20:16:46 unset SSH_AUTH_SOCK; 20:16:46 unset SSH_AGENT_PID; 20:16:46 echo Agent pid 16 killed; 20:16:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:16:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:47 [ssh-agent] Looking for ssh-agent implementation... 20:16:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:47 $ docker exec 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 ssh-agent 20:16:47 SSH_AUTH_SOCK=/tmp/ssh-TYUn3QWm76ja/agent.45 20:16:47 SSH_AGENT_PID=50 20:16:47 Running ssh-add (command line suppressed) 20:16:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_4645130343322424293.key (/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_4645130343322424293.key) 20:16:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:47 + git semver init 20:16:47 # -> Open(): unable to determine branch for HEAD 20:16:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-833/.git 20:16:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-833 20:16:47 # $SEMVER_REMOTE_NAME = origin 20:16:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:16:47 # $SEMVER_USER_NAME = edgex-jenkins 20:16:47 # $SEMVER_BRANCH = PR-833 20:16:47 # $SEMVER_TEMP = /tmp/semver-389378480 20:16:47 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:16:48 # '/tmp/semver-389378480' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-833/.semver' 20:16:48 # -> Force: false 20:16:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-833/.semver [Pipeline] } 20:16:48 $ docker exec --env ******** --env ******** 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 ssh-agent -k 20:16:49 unset SSH_AUTH_SOCK; 20:16:49 unset SSH_AGENT_PID; 20:16:49 echo Agent pid 50 killed; 20:16:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:49 + git semver [Pipeline] } 20:16:49 $ docker stop --time=1 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 20:16:51 $ docker rm -f 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 [Pipeline] // withDockerContainer [Pipeline] sh 20:16:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:16:52 Stashed 1 file(s) [Pipeline] echo 20:16:52 [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 20:17:07 Still waiting to schedule task 20:17:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:17:07 Still waiting to schedule task 20:17:07 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:19:37 Running on prd-centos7-docker-4c-2g-31254 in /w/workspace/dgexfoundry_device-sdk-go_PR-833 [Pipeline] { [Pipeline] ws 20:19:37 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 20:19:47 using credential edgex-jenkins-ssh 20:19:47 Cloning the remote Git repository 20:19:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:19:48 > git init /w/workspace/device-sdk-go/2 # timeout=10 20:19:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:19:48 > git --version # timeout=10 20:19:48 > git --version # 'git version 2.24.3' 20:19:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:19:52 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b 20:19:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:19:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:19:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:19:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:19:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/833/head:refs/remotes/origin/PR-833 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:19:52 > git config core.sparsecheckout # timeout=10 20:19:53 Merge succeeded, producing ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b 20:19:53 Checking out Revision ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b (PR-833) 20:19:53 > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 20:19:53 > git remote # timeout=10 20:19:53 > git config --get remote.origin.url # timeout=10 20:19:53 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:53 > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 20:19:53 > git rev-parse HEAD^{commit} # timeout=10 20:19:53 > git config core.sparsecheckout # timeout=10 20:19:53 > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 20:19:58 Commit message: "fix: Updates to address PR comments from Tony" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:19:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:20:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:20:00 + sudo service docker restart 20:20:00 + true 20:20:00 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:20:02 provisioning config files... 20:20:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6812711262493081166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:03 ---> docker-login.sh 20:20:03 nexus3.edgexfoundry.org:10001 20:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:05 Configure a credential helper to remove this warning. See 20:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:05 20:20:05 Login Succeeded 20:20:05 nexus3.edgexfoundry.org:10002 20:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:06 Configure a credential helper to remove this warning. See 20:20:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:06 20:20:06 Login Succeeded 20:20:06 nexus3.edgexfoundry.org:10003 20:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:07 Configure a credential helper to remove this warning. See 20:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:07 20:20:07 Login Succeeded 20:20:07 nexus3.edgexfoundry.org:10004 20:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:07 Configure a credential helper to remove this warning. See 20:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:07 20:20:07 Login Succeeded 20:20:07 docker.io 20:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:07 Configure a credential helper to remove this warning. See 20:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:07 20:20:07 Login Succeeded 20:20:07 ---> docker-login.sh ends [Pipeline] } 20:20:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:20:08 ========================================================= 20:20:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:20:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:20:09 + 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 . 20:20:09 Sending build context to Docker daemon 2.352MB 20:20:09 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:20:09 Step 2/8 : FROM ${BASE} 20:20:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:20:09 188c0c94c7c5: Pulling fs layer 20:20:09 0ef7d3d256c8: Pulling fs layer 20:20:09 de9db76c5a1d: Pulling fs layer 20:20:09 bca2f99d35d6: Pulling fs layer 20:20:09 93359f2a8cfa: Pulling fs layer 20:20:09 7c6f9722023f: Pulling fs layer 20:20:09 a35cf1a2eb13: Pulling fs layer 20:20:09 bca2f99d35d6: Waiting 20:20:09 93359f2a8cfa: Waiting 20:20:09 7c6f9722023f: Waiting 20:20:09 a35cf1a2eb13: Waiting 20:20:09 de9db76c5a1d: Verifying Checksum 20:20:09 de9db76c5a1d: Download complete 20:20:10 0ef7d3d256c8: Verifying Checksum 20:20:10 0ef7d3d256c8: Download complete 20:20:10 93359f2a8cfa: Download complete 20:20:10 7c6f9722023f: Verifying Checksum 20:20:10 7c6f9722023f: Download complete 20:20:10 188c0c94c7c5: Verifying Checksum 20:20:10 188c0c94c7c5: Download complete 20:20:10 188c0c94c7c5: Pull complete 20:20:11 0ef7d3d256c8: Pull complete 20:20:11 de9db76c5a1d: Pull complete 20:20:16 a35cf1a2eb13: Verifying Checksum 20:20:16 a35cf1a2eb13: Download complete 20:20:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31255 in /w/workspace/dgexfoundry_device-sdk-go_PR-833 [Pipeline] { 20:20:16 bca2f99d35d6: Verifying Checksum 20:20:16 bca2f99d35d6: Download complete [Pipeline] ws 20:20:16 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 20:20:22 using credential edgex-jenkins-ssh 20:20:22 Cloning the remote Git repository 20:20:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:20:22 > git init /w/workspace/device-sdk-go/2 # timeout=10 20:20:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:20:22 > git --version # timeout=10 20:20:22 > git --version # 'git version 2.17.1' 20:20:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:20:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:20:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:20:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:20:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:20:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:20:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:20:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/833/head:refs/remotes/origin/PR-833 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:20:24 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b 20:20:25 Merge succeeded, producing ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b 20:20:25 Checking out Revision ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b (PR-833) 20:20:24 > git config core.sparsecheckout # timeout=10 20:20:24 > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 20:20:25 > git remote # timeout=10 20:20:25 > git config --get remote.origin.url # timeout=10 20:20:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:20:25 > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 20:20:25 > git rev-parse HEAD^{commit} # timeout=10 20:20:25 > git config core.sparsecheckout # timeout=10 20:20:25 > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 20:20:29 Commit message: "fix: Updates to address PR comments from Tony" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:20:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:20:31 + sudo service docker restart 20:20:31 + true 20:20:32 bca2f99d35d6: Pull complete 20:20:32 93359f2a8cfa: Pull complete 20:20:33 7c6f9722023f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:20:33 provisioning config files... 20:20:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5374121313311237783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:34 ---> docker-login.sh 20:20:34 nexus3.edgexfoundry.org:10001 20:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:35 Configure a credential helper to remove this warning. See 20:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:35 20:20:35 Login Succeeded 20:20:35 nexus3.edgexfoundry.org:10002 20:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:36 Configure a credential helper to remove this warning. See 20:20:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:36 20:20:36 Login Succeeded 20:20:36 nexus3.edgexfoundry.org:10003 20:20:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:36 Configure a credential helper to remove this warning. See 20:20:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:36 20:20:36 Login Succeeded 20:20:36 nexus3.edgexfoundry.org:10004 20:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:37 Configure a credential helper to remove this warning. See 20:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:37 20:20:37 Login Succeeded 20:20:37 docker.io 20:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:38 Configure a credential helper to remove this warning. See 20:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:38 20:20:38 Login Succeeded 20:20:38 ---> docker-login.sh ends [Pipeline] } 20:20:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:20:38 ========================================================= 20:20:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:20:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:20:39 + 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 . 20:20:39 Sending build context to Docker daemon 2.351MB 20:20:39 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:20:39 Step 2/8 : FROM ${BASE} 20:20:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:20:39 5f621e34cdf4: Pulling fs layer 20:20:39 a4357932f1b6: Pulling fs layer 20:20:39 18c013af1878: Pulling fs layer 20:20:39 00ac8860ef70: Pulling fs layer 20:20:39 63d7cb157983: Pulling fs layer 20:20:39 b116817d02f9: Pulling fs layer 20:20:39 745a02a5169b: Pulling fs layer 20:20:39 63d7cb157983: Waiting 20:20:39 b116817d02f9: Waiting 20:20:39 745a02a5169b: Waiting 20:20:39 00ac8860ef70: Waiting 20:20:39 18c013af1878: Verifying Checksum 20:20:39 18c013af1878: Download complete 20:20:39 a4357932f1b6: Verifying Checksum 20:20:39 a4357932f1b6: Download complete 20:20:39 63d7cb157983: Verifying Checksum 20:20:39 63d7cb157983: Download complete 20:20:39 b116817d02f9: Verifying Checksum 20:20:39 b116817d02f9: Download complete 20:20:39 5f621e34cdf4: Verifying Checksum 20:20:40 5f621e34cdf4: Download complete 20:20:40 5f621e34cdf4: Pull complete 20:20:41 a4357932f1b6: Pull complete 20:20:41 18c013af1878: Pull complete 20:20:41 a35cf1a2eb13: Pull complete 20:20:41 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:20:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:20:41 ---> a62c8e92a672 20:20:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:20:41 ---> Running in a88a1ebb4561 20:20:42 745a02a5169b: Verifying Checksum 20:20:42 745a02a5169b: Download complete 20:20:42 Removing intermediate container a88a1ebb4561 20:20:42 ---> 156b034d428e 20:20:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:20:42 ---> Running in c7b854cc5049 20:20:43 00ac8860ef70: Verifying Checksum 20:20:43 00ac8860ef70: Download complete 20:20:46 Removing intermediate container c7b854cc5049 20:20:46 ---> 8cdb34aa537d 20:20:46 Step 5/8 : RUN apk add --update --no-cache make git 20:20:46 ---> Running in bfd258973791 20:20:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:20:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:20:49 OK: 166 MiB in 39 packages 20:20:51 Removing intermediate container bfd258973791 20:20:51 ---> 18091ed34e53 20:20:51 Step 6/8 : WORKDIR /device-sdk-go 20:20:51 ---> Running in 2055bc08d1d9 20:20:51 Removing intermediate container 2055bc08d1d9 20:20:51 ---> f8ac45a9e18e 20:20:51 Step 7/8 : COPY . . 20:20:53 00ac8860ef70: Pull complete 20:20:53 63d7cb157983: Pull complete 20:20:53 b116817d02f9: Pull complete 20:20:54 ---> b426454f1f6d 20:20:54 Step 8/8 : RUN go mod download 20:20:54 ---> Running in 6cdb8a7e8d42 20:20:58 745a02a5169b: Pull complete 20:20:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:20:58 ---> b7e6874047d6 20:20:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:21:00 ---> Running in 36103d47f547 20:21:00 Removing intermediate container 36103d47f547 20:21:00 ---> 4bb0b2e81005 20:21:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:00 ---> Running in e392c3bd5071 20:21:03 Removing intermediate container e392c3bd5071 20:21:03 ---> 311bcd5a51cc 20:21:03 Step 5/8 : RUN apk add --update --no-cache make git 20:21:03 ---> Running in b0992ca99388 20:21:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:21:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:21:06 OK: 142 MiB in 39 packages 20:21:07 Removing intermediate container b0992ca99388 20:21:07 ---> 19a0e081f2ea 20:21:07 Step 6/8 : WORKDIR /device-sdk-go 20:21:07 ---> Running in c21c5b2572f2 20:21:08 Removing intermediate container c21c5b2572f2 20:21:08 ---> 37e9c0768cc1 20:21:08 Step 7/8 : COPY . . 20:21:09 ---> 12259dabd1b5 20:21:09 Step 8/8 : RUN go mod download 20:21:09 ---> Running in 90a69ffcfb4e 20:21:31 Removing intermediate container 90a69ffcfb4e 20:21:31 ---> 7c31a16a688c 20:21:31 Successfully built 7c31a16a688c 20:21:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:21:31 + docker inspect -f . ci-base-image-arm64 20:21:31 . [Pipeline] withDockerContainer 20:21:32 prd-ubuntu18.04-docker-arm64-4c-16g-31255 does not seem to be running inside a container 20:21:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:21:33 $ docker top 04116e07156db0aed3c5fc88c6af908098f2d86e5b420b9d6f5b2bf6676ff08e -eo pid,comm 20:21:34 Removing intermediate container 6cdb8a7e8d42 20:21:34 ---> ac5b3e64e8dd 20:21:34 Successfully built ac5b3e64e8dd 20:21:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 20:21:34 + docker inspect -f . ci-base-image-x86_64 20:21:34 + go version 20:21:34 go version go1.15.5 linux/arm64 [Pipeline] } 20:21:34 $ docker stop --time=1 04116e07156db0aed3c5fc88c6af908098f2d86e5b420b9d6f5b2bf6676ff08e 20:21:34 . 20:21:36 $ docker rm -f 04116e07156db0aed3c5fc88c6af908098f2d86e5b420b9d6f5b2bf6676ff08e [Pipeline] // withDockerContainer [Pipeline] withDockerContainer 20:21:37 prd-centos7-docker-4c-2g-31254 does not seem to be running inside a container 20:21:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:21:40 $ docker top 48f46179940f0fc4c83d33c712a91e24c2a4f470638b6243775f942740085fc1 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:21:42 + docker inspect -f . ci-base-image-arm64 20:21:42 . [Pipeline] withDockerContainer 20:21:42 + go version 20:21:42 go version go1.15.5 linux/amd64 20:21:42 prd-ubuntu18.04-docker-arm64-4c-16g-31255 does not seem to be running inside a container 20:21:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:21:44 $ docker top 304c5fd74a7633a0e4cfe84b6d6f45fe3f6b9cb34364d73c27fa5cff713373f9 -eo pid,comm [Pipeline] { [Pipeline] } 20:21:44 $ docker stop --time=1 48f46179940f0fc4c83d33c712a91e24c2a4f470638b6243775f942740085fc1 20:21:46 $ docker rm -f 48f46179940f0fc4c83d33c712a91e24c2a4f470638b6243775f942740085fc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:21:47 + make test 20:21:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:21:48 + docker inspect -f . ci-base-image-x86_64 20:21:48 . [Pipeline] withDockerContainer 20:21:48 prd-centos7-docker-4c-2g-31254 does not seem to be running inside a container 20:21:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:21:50 $ docker top 37ba5d75b0d3378406bbcaea20efbd4cabe3a85e063c346655589cb8acd95208 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:51 + make test 20:21:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:22:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:22:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:22:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:22:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:22:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:22:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 20:22:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:22:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.387s coverage: 27.0% of statements 20:22:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.282s coverage: 81.2% of statements 20:22:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:22:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:22:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:22:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 20:22:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:22:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 27.0% of statements 20:22:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.177s coverage: 81.2% of statements 20:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.097s coverage: 10.5% of statements 20:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 32.5% of statements 20:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 57.3% of statements 20:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.915s coverage: 6.6% of statements 20:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.114s coverage: 5.0% of statements 20:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:23:12 GO111MODULE=on go vet ./... 20:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.119s coverage: 10.5% of statements 20:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.218s coverage: 32.5% of statements 20:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.254s coverage: 57.3% of statements 20:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.934s coverage: 6.6% of statements 20:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.0% of statements 20:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:23:23 GO111MODULE=on go vet ./... 20:23:40 gofmt -l . 20:23:40 [ "`gofmt -l .`" = "" ] 20:23:40 ./bin/test-attribution-txt.sh 20:23:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:23:42 $ docker stop --time=1 37ba5d75b0d3378406bbcaea20efbd4cabe3a85e063c346655589cb8acd95208 20:23:45 $ docker rm -f 37ba5d75b0d3378406bbcaea20efbd4cabe3a85e063c346655589cb8acd95208 [Pipeline] // withDockerContainer [Pipeline] sh 20:23:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:23:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:23:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:23:50 + ls -al . 20:23:50 total 184 20:23:50 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 24 20:23 . 20:23:50 drwxrwxr-x. 4 jenkins jenkins 28 Mar 24 20:19 .. 20:23:50 drwxrwxr-x. 2 jenkins jenkins 64 Mar 24 20:19 bin 20:23:50 -rw-r--r--. 1 jenkins jenkins 100081 Mar 24 20:23 coverage.out 20:23:50 -rw-rw-r--. 1 jenkins jenkins 949 Mar 24 20:19 Dockerfile.build 20:23:50 -rw-rw-r--. 1 jenkins jenkins 140 Mar 24 20:19 .dockerignore 20:23:50 drwxrwxr-x. 5 jenkins jenkins 62 Mar 24 20:19 example 20:23:50 drwxrwxr-x. 8 jenkins jenkins 179 Mar 24 20:19 .git 20:23:50 drwxrwxr-x. 2 jenkins jenkins 103 Mar 24 20:19 .github 20:23:50 -rw-rw-r--. 1 jenkins jenkins 138 Mar 24 20:19 .gitignore 20:23:50 -rw-r--r--. 1 jenkins jenkins 479 Mar 24 20:23 go.mod 20:23:50 -rw-r--r--. 1 jenkins jenkins 17372 Mar 24 20:23 go.sum 20:23:50 drwxrwxr-x. 13 jenkins jenkins 193 Mar 24 20:19 internal 20:23:50 -rw-rw-r--. 1 jenkins jenkins 901 Mar 24 20:19 Jenkinsfile 20:23:50 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 24 20:19 LICENSE 20:23:50 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 24 20:19 Makefile 20:23:50 drwxrwxr-x. 4 jenkins jenkins 26 Mar 24 20:19 openapi 20:23:50 drwxrwxr-x. 5 jenkins jenkins 50 Mar 24 20:19 pkg 20:23:50 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 24 20:19 README.md 20:23:50 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 24 20:19 RELEASE-NOTES.txt 20:23:50 drwxrwxr-x. 4 jenkins jenkins 54 Mar 24 20:19 snap 20:23:50 -rw-rw-r--. 1 jenkins jenkins 5 Mar 24 20:16 VERSION 20:23:50 -rw-rw-r--. 1 jenkins jenkins 222 Mar 24 20:19 version.go [Pipeline] isUnix [Pipeline] sh 20:23:51 + 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=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b --label arch=amd64 --label version=0.0.0 . 20:23:52 Sending build context to Docker daemon 2.453MB 20:23:52 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 20:23:52 Step 2/24 : FROM ${BASE} AS builder 20:23:52 ---> ac5b3e64e8dd 20:23:52 Step 3/24 : ARG MAKE='make build' 20:23:52 ---> Running in abe59fdb64a2 20:23:53 Removing intermediate container abe59fdb64a2 20:23:53 ---> f72b15ad2cae 20:23:53 Step 4/24 : WORKDIR /device-sdk-go 20:23:53 ---> Running in 48da0413132b 20:23:53 Removing intermediate container 48da0413132b 20:23:53 ---> a52c17c4bfb3 20:23:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:23:54 ---> Running in d3d2e8072577 20:23:54 Removing intermediate container d3d2e8072577 20:23:54 ---> f28f6e3622c0 20:23:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:23:54 ---> Running in 02efe8890599 20:23:56 gofmt -l . 20:23:56 [ "`gofmt -l .`" = "" ] 20:23:56 ./bin/test-attribution-txt.sh 20:23:56 Removing intermediate container 02efe8890599 20:23:56 ---> ef3fb4c9e0d7 20:23:56 Step 7/24 : RUN apk add --update --no-cache make git 20:23:57 ---> Running in 6496ce10ced9 20:23:57 ./bin/test-go-mod-tidy.sh 20:23:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] } 20:23:57 $ docker stop --time=1 304c5fd74a7633a0e4cfe84b6d6f45fe3f6b9cb34364d73c27fa5cff713373f9 20:23:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:23:58 OK: 166 MiB in 39 packages 20:23:59 Removing intermediate container 6496ce10ced9 20:23:59 ---> 397242383383 20:23:59 Step 8/24 : COPY . . 20:24:00 $ docker rm -f 304c5fd74a7633a0e4cfe84b6d6f45fe3f6b9cb34364d73c27fa5cff713373f9 20:24:00 ---> 410c90459cae 20:24:00 Step 9/24 : RUN ${MAKE} 20:24:00 ---> Running in bf6c9b46005a [Pipeline] // withDockerContainer [Pipeline] sh 20:24:01 + sudo chown -R jenkins:jenkins . 20:24:01 CGO_ENABLED=0 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 [Pipeline] stash 20:24:01 Warning: overwriting stash ‘coverage-report’ 20:24:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:24:03 + ls -al . 20:24:03 total 220 20:24:03 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 20:23 . 20:24:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 20:20 .. 20:24:03 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 20:20 .dockerignore 20:24:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 20:20 .git 20:24:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 20:20 .github 20:24:03 -rw-rw-r-- 1 jenkins jenkins 138 Mar 24 20:20 .gitignore 20:24:03 -rw-rw-r-- 1 jenkins jenkins 949 Mar 24 20:20 Dockerfile.build 20:24:03 -rw-rw-r-- 1 jenkins jenkins 901 Mar 24 20:20 Jenkinsfile 20:24:03 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 20:20 LICENSE 20:24:03 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 24 20:20 Makefile 20:24:03 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 24 20:20 README.md 20:24:03 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 24 20:20 RELEASE-NOTES.txt 20:24:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 20:16 VERSION 20:24:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 20:20 bin 20:24:03 -rw-r--r-- 1 jenkins jenkins 100081 Mar 24 20:23 coverage.out 20:24:03 drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 20:20 example 20:24:03 -rw-r--r-- 1 jenkins jenkins 479 Mar 24 20:23 go.mod 20:24:03 -rw-r--r-- 1 jenkins jenkins 17372 Mar 24 20:23 go.sum 20:24:03 drwxrwxr-x 13 jenkins jenkins 4096 Mar 24 20:20 internal 20:24:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 20:20 openapi 20:24:03 drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 20:20 pkg 20:24:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 20:20 snap 20:24:03 -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 20:20 version.go [Pipeline] isUnix [Pipeline] sh 20:24:03 + 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=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b --label arch=arm64 --label version=0.0.0 . 20:24:04 Sending build context to Docker daemon 2.452MB 20:24:04 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 20:24:04 Step 2/24 : FROM ${BASE} AS builder 20:24:04 ---> 7c31a16a688c 20:24:04 Step 3/24 : ARG MAKE='make build' 20:24:04 ---> Running in 20a31ee5af6b 20:24:04 Removing intermediate container 20a31ee5af6b 20:24:04 ---> 066a5842362d 20:24:04 Step 4/24 : WORKDIR /device-sdk-go 20:24:04 ---> Running in 5fcb098702c8 20:24:05 Removing intermediate container 5fcb098702c8 20:24:05 ---> b154ff9b11b4 20:24:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:24:05 ---> Running in 9fe4c3ce7c33 20:24:06 Removing intermediate container 9fe4c3ce7c33 20:24:06 ---> 6e5842902503 20:24:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:24:06 ---> Running in ef97ba0ee186 20:24:08 Removing intermediate container ef97ba0ee186 20:24:08 ---> 00bcca8bbe48 20:24:08 Step 7/24 : RUN apk add --update --no-cache make git 20:24:08 ---> Running in 5674a1112a97 20:24:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:24:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:24:11 OK: 142 MiB in 39 packages 20:24:12 Removing intermediate container 5674a1112a97 20:24:12 ---> 1a38665595c5 20:24:12 Step 8/24 : COPY . . 20:24:13 ---> 5ee6ca48934b 20:24:13 Step 9/24 : RUN ${MAKE} 20:24:13 ---> Running in 27ae476f8df8 20:24:15 CGO_ENABLED=0 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 20:24:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 20:24:29 Removing intermediate container bf6c9b46005a 20:24:29 ---> d99fe2077995 20:24:29 Step 10/24 : FROM scratch 20:24:29 ---> 20:24:29 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:24:29 ---> Running in 2b1b6c36f86c 20:24:29 Removing intermediate container 2b1b6c36f86c 20:24:29 ---> 5522caf9f51d 20:24:29 Step 12/24 : ENV APP_PORT=49990 20:24:29 ---> Running in dc4fe9c5dfec 20:24:30 Removing intermediate container dc4fe9c5dfec 20:24:30 ---> c6d4a37a4d7a 20:24:30 Step 13/24 : EXPOSE $APP_PORT 20:24:30 ---> Running in 3393c48a96f9 20:24:30 Removing intermediate container 3393c48a96f9 20:24:30 ---> 20592c204dd5 20:24:30 Step 14/24 : WORKDIR / 20:24:30 ---> Running in e4eeb96ae92d 20:24:31 Removing intermediate container e4eeb96ae92d 20:24:31 ---> 88f7ce08443c 20:24:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 20:24:32 ---> 345f159e850f 20:24:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 20:24:32 ---> 81806f5a8be6 20:24:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 20:24:34 ---> f2e17322d6d8 20:24:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 20:24:34 ---> 06c3151217be 20:24:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 20:24:35 ---> a02ec3d4ecd9 20:24:35 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 20:24:35 ---> Running in aded263f3cfc 20:24:36 Removing intermediate container aded263f3cfc 20:24:36 ---> 9c3ef87b69a4 20:24:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:24:36 ---> Running in 2ccb82bff041 20:24:36 Removing intermediate container 2ccb82bff041 20:24:36 ---> f14668b16a68 20:24:36 Step 22/24 : LABEL arch=amd64 20:24:36 ---> Running in 34c5e3e044d0 20:24:37 Removing intermediate container 34c5e3e044d0 20:24:37 ---> 56bf8c7b37c8 20:24:37 Step 23/24 : LABEL git_sha=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b 20:24:37 ---> Running in 5dd370a08be5 20:24:38 Removing intermediate container 5dd370a08be5 20:24:38 ---> 39f8d30b61d9 20:24:38 Step 24/24 : LABEL version=0.0.0 20:24:38 ---> Running in c17ea864acec 20:24:38 Removing intermediate container c17ea864acec 20:24:38 ---> 1d83309550b0 20:24:38 [Warning] One or more build-args [ARCH] were not consumed 20:24:38 Successfully built 1d83309550b0 20:24:38 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 20:24:39 ---> job-cost.sh 20:24:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eQzR 20:24:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 20:24:43 Removing intermediate container 27ae476f8df8 20:24:43 ---> 0c4ef18e88fb 20:24:43 Step 10/24 : FROM scratch 20:24:43 ---> 20:24:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:24:43 ---> Running in cd871198e2d9 20:24:43 Removing intermediate container cd871198e2d9 20:24:43 ---> 79fdd2e97d42 20:24:43 Step 12/24 : ENV APP_PORT=49990 20:24:43 ---> Running in 85091d430b53 20:24:43 Removing intermediate container 85091d430b53 20:24:43 ---> c8b881a7e1dd 20:24:43 Step 13/24 : EXPOSE $APP_PORT 20:24:44 ---> Running in 0c1a492a4779 20:24:44 Removing intermediate container 0c1a492a4779 20:24:44 ---> 01d3ea78ff83 20:24:44 Step 14/24 : WORKDIR / 20:24:44 ---> Running in a6a70e973734 20:24:45 Removing intermediate container a6a70e973734 20:24:45 ---> 6ea1a261157d 20:24:45 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 20:24:46 ---> 83fe54bcaf0e 20:24:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 20:24:46 ---> 63578d407316 20:24:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 20:24:47 ---> 45835a43edae 20:24:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 20:24:48 ---> bc3d179fa999 20:24:48 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 20:24:49 ---> f9f30cdfe858 20:24:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 20:24:49 ---> Running in e9ab823236ba 20:24:49 Removing intermediate container e9ab823236ba 20:24:49 ---> a64bef6aab63 20:24:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:24:49 ---> Running in 0c7aa2a41c39 20:24:50 Removing intermediate container 0c7aa2a41c39 20:24:50 ---> 30b1d2287dfd 20:24:50 Step 22/24 : LABEL arch=arm64 20:24:50 ---> Running in 98ec4e8a620e 20:24:51 Removing intermediate container 98ec4e8a620e 20:24:51 ---> 4ec0c7b5a882 20:24:51 Step 23/24 : LABEL git_sha=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b 20:24:51 ---> Running in 17c1aef89a83 20:24:51 Removing intermediate container 17c1aef89a83 20:24:51 ---> d13652d47d2e 20:24:51 Step 24/24 : LABEL version=0.0.0 20:24:51 ---> Running in bb17b56b7954 20:24:52 Removing intermediate container bb17b56b7954 20:24:52 ---> 721d4f6b0068 20:24:52 [Warning] One or more build-args [ARCH] were not consumed 20:24:52 Successfully built 721d4f6b0068 20:24:52 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 20:24:53 ---> job-cost.sh 20:24:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-907A 20:25:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:25:33 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:25:59 lf-activate-venv(): INFO: Adding /tmp/venv-eQzR/bin to PATH 20:25:59 INFO: No Stack... 20:25:59 INFO: Retrieving Pricing Info for: v1-standard-2 20:25:59 INFO: Archiving Costs [Pipeline] sh 20:26:00 + cut -d, -f6 20:26:00 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 20:26:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] 20:26:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] did not exist. Created. 20:26:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:26:00 + echo total: 0.029999999329447746 [Pipeline] stash 20:26:01 Stashed 1 file(s) [Pipeline] } 20:26:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:26:55 lf-activate-venv(): INFO: Adding /tmp/venv-907A/bin to PATH 20:26:55 INFO: No Stack... 20:26:56 INFO: Retrieving Pricing Info for: lf-standard-4 20:26:56 INFO: Archiving Costs [Pipeline] sh 20:26:56 + cut -d, -f6 20:26:56 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 20:26:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] 20:26:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] did not exist. Created. 20:26:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:26:57 /w/workspace/device-sdk-go/2@tmp/durable-dbcef1a6/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-dbcef1a6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:26:57 + echo total: 0.20999999344348907 [Pipeline] stash 20:26:57 Warning: overwriting stash ‘stack-cost’ 20:26:58 Stashed 1 file(s) [Pipeline] } 20:26:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-833-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 20:26:59 provisioning config files... 20:26:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config3774613130329952317tmp [Pipeline] { [Pipeline] sh 20:26:59 + set +x 20:26:59 + curl -s https://codecov.io/bash 20:26:59 + bash -s -- 20:26:59 20:26:59 _____ _ 20:26:59 / ____| | | 20:26:59 | | ___ __| | ___ ___ _____ __ 20:26:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:26:59 | |___| (_) | (_| | __/ (_| (_) \ V / 20:26:59 \_____\___/ \__,_|\___|\___\___/ \_/ 20:26:59 Bash-20210309-2b87ace 20:26:59 20:26:59 20:26:59 ==> git version 2.24.3 found 20:26:59 ==> 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 20:26:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:26:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:26:59 ==> Jenkins CI detected. 20:26:59 project root: . 20:26:59 --> token set from env 20:26:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:26:59 ==> Running gcov in . (disable via -X gcov) 20:26:59 ==> Python coveragepy not found 20:26:59 ==> Searching for coverage reports in: 20:26:59 + . 20:26:59 -> Found 1 reports 20:26:59 ==> Detecting git/mercurial file structure 20:26:59 ==> Reading reports 20:26:59 + ./coverage.out bytes=100081 20:26:59 ==> Appending adjustments 20:26:59 https://docs.codecov.io/docs/fixing-reports 20:27:00 + Found adjustments 20:27:00 ==> Gzipping contents 20:27:00 16K /tmp/codecov.IMcrwy.gz 20:27:00 ==> Uploading reports 20:27:00 url: https://codecov.io 20:27:00 query: branch=PR-833&commit=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-833%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=833&job=&cmd_args= 20:27:00 -> Pinging Codecov 20:27:00 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-833&commit=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-833%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=833&job=&cmd_args= 20:27:00 -> Uploading to 20:27:00 https://storage.googleapis.com/codecov/v4/raw/2021-03-24/7E55EF52A471D76F132DFD9A03CDDE97/ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b/4252d346-b36d-4c80-bc37-44d3b4008673.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210324T202700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cac0e9ca08a7ba57f30bc5821bff41ffbd25e998467e5292418efe2c10763d50 20:27:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:27:00 Dload Upload Total Spent Left Speed 20:27:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13570 0 0 100 13570 0 33812 --:--:-- --:--:-- --:--:-- 33756 20:27:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [Pipeline] } 20:27:01 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 20:27:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:27:03 ---> package-listing.sh 20:27:03 ++ facter osfamily 20:27:03 ++ tr '[:upper:]' '[:lower:]' 20:27:03 + OS_FAMILY=redhat 20:27:03 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-833 20:27:03 + START_PACKAGES=/tmp/packages_start.txt 20:27:03 + END_PACKAGES=/tmp/packages_end.txt 20:27:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:27:03 + PACKAGES=/tmp/packages_start.txt 20:27:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-833 ']' 20:27:03 + PACKAGES=/tmp/packages_end.txt 20:27:03 + case "${OS_FAMILY}" in 20:27:03 + rpm -qa 20:27:03 + sort 20:27:09 + '[' -f /tmp/packages_start.txt ']' 20:27:09 + '[' -f /tmp/packages_end.txt ']' 20:27:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:27:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-833 ']' 20:27:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-833/archives/ 20:27:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-833/archives/ [Pipeline] echo 20:27:09 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-833/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:27:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:27:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:27:09 20:27:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:27:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:27:10 alpine: Pulling from edgex-lftools-log-publisher 20:27:10 df20fa9351a1: Pulling fs layer 20:27:10 36b3adc4ff6f: Pulling fs layer 20:27:10 8ad3a11d3b57: Pulling fs layer 20:27:10 46f8f816bc3b: Pulling fs layer 20:27:10 93b61091891f: Pulling fs layer 20:27:10 93b9cdb0e59b: Pulling fs layer 20:27:10 5e14af77c1be: Pulling fs layer 20:27:10 01666e4c0597: Pulling fs layer 20:27:10 aa168da1d23b: Pulling fs layer 20:27:10 46f8f816bc3b: Waiting 20:27:10 5e14af77c1be: Waiting 20:27:10 93b61091891f: Waiting 20:27:10 93b9cdb0e59b: Waiting 20:27:10 01666e4c0597: Waiting 20:27:10 aa168da1d23b: Waiting 20:27:10 36b3adc4ff6f: Verifying Checksum 20:27:10 36b3adc4ff6f: Download complete 20:27:10 46f8f816bc3b: Verifying Checksum 20:27:10 46f8f816bc3b: Download complete 20:27:10 df20fa9351a1: Verifying Checksum 20:27:10 93b9cdb0e59b: Verifying Checksum 20:27:10 93b9cdb0e59b: Download complete 20:27:10 5e14af77c1be: Verifying Checksum 20:27:10 5e14af77c1be: Download complete 20:27:10 93b61091891f: Verifying Checksum 20:27:10 93b61091891f: Download complete 20:27:10 01666e4c0597: Verifying Checksum 20:27:10 01666e4c0597: Download complete 20:27:10 8ad3a11d3b57: Verifying Checksum 20:27:10 8ad3a11d3b57: Download complete 20:27:10 df20fa9351a1: Pull complete 20:27:11 36b3adc4ff6f: Pull complete 20:27:12 8ad3a11d3b57: Pull complete 20:27:12 aa168da1d23b: Verifying Checksum 20:27:12 aa168da1d23b: Download complete 20:27:12 46f8f816bc3b: Pull complete 20:27:13 93b61091891f: Pull complete 20:27:13 93b9cdb0e59b: Pull complete 20:27:13 5e14af77c1be: Pull complete 20:27:13 01666e4c0597: Pull complete 20:27:20 aa168da1d23b: Pull complete 20:27:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:27:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:27:20 prd-centos7-docker-4c-2g-31253 does not seem to be running inside a container 20:27:20 $ 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-833/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-833 -v /w/workspace/dgexfoundry_device-sdk-go_PR-833:/w/workspace/dgexfoundry_device-sdk-go_PR-833:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:27:26 $ docker top 0be8cd886694bdc39cf4af8c9a727d34cd9f9b834e325bb0169107d6cd7f24a6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:27 + touch /tmp/pre-build-complete [Pipeline] sh 20:27:27 + mkdir -p /var/log/sa [Pipeline] sh 20:27:28 + ls /var/log/sa-host 20:27:28 + sadf -c /var/log/sa-host/sa23 20:27:28 file_magic: OK 20:27:28 HZ: Using current value: 100 20:27:28 file_header: OK 20:27:28 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 20:27:28 Statistics: 20:27:28 Hnuu...uuuununununu... 20:27:28 File successfully converted to sysstat format version 12.2.1 20:27:28 + sadf -c /var/log/sa-host/sa24 20:27:28 file_magic: OK 20:27:28 HZ: Using current value: 100 20:27:28 file_header: OK 20:27:28 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 20:27:28 Statistics: 20:27:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:27:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:28 provisioning config files... 20:27:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config6398789271376533055tmp [Pipeline] { [Pipeline] echo 20:27:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:27:28 ---> create-netrc.sh [Pipeline] } 20:27:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:27:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:27:29 ---> python-tools-install.sh [Pipeline] echo 20:27:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:27:29 ---> sudo-logs.sh 20:27:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:27:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:27:29 ---> job-cost.sh 20:27:29 lf-activate-venv: SKIPPING 20:27:29 DEBUG: total: 0.20999999344348907 20:27:29 INFO: Retrieving Stack Cost... 20:27:31 INFO: Retrieving Pricing Info for: v1-standard-2 20:27:31 INFO: Archiving Costs [Pipeline] echo 20:27:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:27:31 ---> logs-deploy.sh 20:27:31 lf-activate-venv: SKIPPING 20:27:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-833/2 20:27:31 INFO: archiving workspace using pattern(s): 20:27:33 Archives upload complete. 20:27:33 INFO: archiving logs to Nexus