lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cae2b1391063dac375a5c1e8a3b4fadecdcac137+9c99b3ad7d2e4ca826a6fb04090188d28e886681 (97989a0210a753b2bba86bd769e5f597de0f6640) 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-27021’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-27398’ is offline; ‘prd-centos7-docker-4c-2g-27401’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27403 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [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-792 # 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 Merging remotes/origin/master commit 9c99b3ad7d2e4ca826a6fb04090188d28e886681 into PR head commit cae2b1391063dac375a5c1e8a3b4fadecdcac137 > 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/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 Merge succeeded, producing cae2b1391063dac375a5c1e8a3b4fadecdcac137 Checking out Revision cae2b1391063dac375a5c1e8a3b4fadecdcac137 (PR-792) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" > git rev-list --no-walk cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:09:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:09:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:09:09 ========================================================= 23:09:09 EdgeX Global Pipelines Version Info 23:09:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:09:14 ------------------- 23:09:14 stable info: 23:09:14 ------------------- 23:09:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:09:14 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 23:09:14 Message: update stable to v1.0.181 23:09:16 ------------------- 23:09:16 experimental info: 23:09:16 ------------------- 23:09:16 Commited By: **** collab-it+edgex@linuxfoundation.org 23:09:16 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 23:09:16 Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:09:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:09:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 23:09:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 23:09:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:09:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:09:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:09:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-792 [Pipeline] echo 23:09:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-792 [Pipeline] echo 23:09:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-792 [Pipeline] echo 23:09:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cae2b1391063dac375a5c1e8a3b4fadecdcac137 [Pipeline] echo 23:09:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cae2b13 [Pipeline] echo 23:09:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:09:19 provisioning config files... 23:09:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config3631044319710370091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:21 ---> docker-login.sh 23:09:21 nexus3.edgexfoundry.org:10001 23:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:23 Configure a credential helper to remove this warning. See 23:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:23 23:09:23 Login Succeeded 23:09:23 nexus3.edgexfoundry.org:10002 23:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:25 Configure a credential helper to remove this warning. See 23:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:25 23:09:25 Login Succeeded 23:09:25 nexus3.edgexfoundry.org:10003 23:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:27 Configure a credential helper to remove this warning. See 23:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:27 23:09:27 Login Succeeded 23:09:27 nexus3.edgexfoundry.org:10004 23:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:29 Configure a credential helper to remove this warning. See 23:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:29 23:09:29 Login Succeeded 23:09:29 docker.io 23:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:31 Configure a credential helper to remove this warning. See 23:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:31 23:09:31 Login Succeeded 23:09:31 ---> docker-login.sh ends [Pipeline] } 23:09:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:09:32 + git log --format=format:%s -1 cae2b1391063dac375a5c1e8a3b4fadecdcac137 [Pipeline] echo 23:09:32 GIT_COMMIT: cae2b1391063dac375a5c1e8a3b4fadecdcac137, Commit Message: Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13 [Pipeline] echo 23:09:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:09:34 23:09:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:09:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:09:35 latest: Pulling from edgex-devops/git-semver 23:09:35 31603596830f: Pulling fs layer 23:09:35 2a8b12db71e7: Pulling fs layer 23:09:35 6ca5941a6612: Pulling fs layer 23:09:35 ecc8261a40a4: Pulling fs layer 23:09:35 ecc8261a40a4: Waiting 23:09:36 2a8b12db71e7: Verifying Checksum 23:09:36 2a8b12db71e7: Download complete 23:09:38 31603596830f: Verifying Checksum 23:09:38 31603596830f: Download complete 23:09:38 ecc8261a40a4: Verifying Checksum 23:09:38 ecc8261a40a4: Download complete 23:09:39 31603596830f: Pull complete 23:09:39 6ca5941a6612: Verifying Checksum 23:09:39 6ca5941a6612: Download complete 23:09:39 2a8b12db71e7: Pull complete 23:09:46 6ca5941a6612: Pull complete 23:09:46 ecc8261a40a4: Pull complete 23:09:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:09:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:09:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:09:48 prd-centos7-docker-4c-2g-27403 does not seem to be running inside a container 23:09:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-792 -v /w/workspace/dgexfoundry_device-sdk-go_PR-792:/w/workspace/dgexfoundry_device-sdk-go_PR-792:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-792@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 23:09:52 $ docker top 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:09:53 [ssh-agent] Looking for ssh-agent implementation... 23:09:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:09:54 $ docker exec 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b ssh-agent 23:09:56 SSH_AUTH_SOCK=/tmp/ssh-reiRMiw7uAOu/agent.12 23:09:56 SSH_AGENT_PID=17 23:09:56 Running ssh-add (command line suppressed) 23:09:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_519837565174451730.key (/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_519837565174451730.key) 23:09:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:09:58 + git tag --points-at HEAD [Pipeline] } 23:09:58 $ docker exec --env ******** --env ******** 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b ssh-agent -k 23:09:58 unset SSH_AUTH_SOCK; 23:09:58 unset SSH_AGENT_PID; 23:09:58 echo Agent pid 17 killed; 23:09:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:09:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:09:58 [ssh-agent] Looking for ssh-agent implementation... 23:09:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:09:59 $ docker exec 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b ssh-agent 23:10:00 SSH_AUTH_SOCK=/tmp/ssh-sdIbaV6xtpmI/agent.45 23:10:00 SSH_AGENT_PID=50 23:10:00 Running ssh-add (command line suppressed) 23:10:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_3823039372144097477.key (/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_3823039372144097477.key) 23:10:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:10:03 + git semver init 23:10:03 # -> Open(): unable to determine branch for HEAD 23:10:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-792/.git 23:10:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-792 23:10:03 # $SEMVER_REMOTE_NAME = origin 23:10:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:10:03 # $SEMVER_USER_NAME = edgex-jenkins 23:10:03 # $SEMVER_BRANCH = PR-792 23:10:03 # $SEMVER_TEMP = /tmp/semver-578778704 23:10:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 23:10:06 # '/tmp/semver-578778704' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-792/.semver' 23:10:06 # -> Force: false 23:10:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-792/.semver [Pipeline] } 23:10:07 $ docker exec --env ******** --env ******** 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b ssh-agent -k 23:10:07 unset SSH_AUTH_SOCK; 23:10:07 unset SSH_AGENT_PID; 23:10:07 echo Agent pid 50 killed; 23:10:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:10:09 + git semver [Pipeline] } 23:10:09 $ docker stop --time=1 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b 23:10:12 $ docker rm -f 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b [Pipeline] // withDockerContainer [Pipeline] sh 23:10:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:10:16 Stashed 1 file(s) [Pipeline] echo 23:10:16 [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 23:10:31 Still waiting to schedule task 23:10:31 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:10:31 Still waiting to schedule task 23:10:31 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:13:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27406 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [Pipeline] { [Pipeline] ws 23:13:18 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 23:13:23 using credential edgex-jenkins-ssh 23:13:23 Cloning the remote Git repository 23:13:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:13:24 > git init /w/workspace/device-sdk-go/4 # timeout=10 23:13:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:13:24 > git --version # timeout=10 23:13:24 > git --version # 'git version 2.17.1' 23:13:24 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:25 Merging remotes/origin/master commit 9c99b3ad7d2e4ca826a6fb04090188d28e886681 into PR head commit cae2b1391063dac375a5c1e8a3b4fadecdcac137 23:13:26 Merge succeeded, producing cae2b1391063dac375a5c1e8a3b4fadecdcac137 23:13:26 Checking out Revision cae2b1391063dac375a5c1e8a3b4fadecdcac137 (PR-792) 23:13:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:13:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:13:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:13:25 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:13:26 > git config core.sparsecheckout # timeout=10 23:13:26 > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 23:13:26 > git remote # timeout=10 23:13:26 > git config --get remote.origin.url # timeout=10 23:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:26 > git merge 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 23:13:26 > git rev-parse HEAD^{commit} # timeout=10 23:13:26 > git config core.sparsecheckout # timeout=10 23:13:26 > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 23:13:30 Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:13:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:13:33 + true 23:13:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:13:36 provisioning config files... 23:13:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8152950897754259712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:36 ---> docker-login.sh 23:13:36 nexus3.edgexfoundry.org:10001 23:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:37 Configure a credential helper to remove this warning. See 23:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:37 23:13:37 Login Succeeded 23:13:37 nexus3.edgexfoundry.org:10002 23:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:38 Configure a credential helper to remove this warning. See 23:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:38 23:13:38 Login Succeeded 23:13:38 nexus3.edgexfoundry.org:10003 23:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:38 Configure a credential helper to remove this warning. See 23:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:38 23:13:38 Login Succeeded 23:13:38 nexus3.edgexfoundry.org:10004 23:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:39 Configure a credential helper to remove this warning. See 23:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:39 23:13:39 Login Succeeded 23:13:39 docker.io 23:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:40 Configure a credential helper to remove this warning. See 23:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:40 23:13:40 Login Succeeded 23:13:40 ---> docker-login.sh ends [Pipeline] } 23:13:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:13:40 ========================================================= 23:13:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:13:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:13:40 + 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 . 23:13:41 Sending build context to Docker daemon 2.408MB 23:13:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:13:41 Step 2/8 : FROM ${BASE} 23:13:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:13:41 5f621e34cdf4: Pulling fs layer 23:13:41 a4357932f1b6: Pulling fs layer 23:13:41 18c013af1878: Pulling fs layer 23:13:41 00ac8860ef70: Pulling fs layer 23:13:41 63d7cb157983: Pulling fs layer 23:13:41 b116817d02f9: Pulling fs layer 23:13:41 745a02a5169b: Pulling fs layer 23:13:41 63d7cb157983: Waiting 23:13:41 745a02a5169b: Waiting 23:13:41 00ac8860ef70: Waiting 23:13:41 18c013af1878: Download complete 23:13:41 a4357932f1b6: Download complete 23:13:41 63d7cb157983: Verifying Checksum 23:13:41 63d7cb157983: Download complete 23:13:41 b116817d02f9: Verifying Checksum 23:13:41 b116817d02f9: Download complete 23:13:41 5f621e34cdf4: Verifying Checksum 23:13:41 5f621e34cdf4: Download complete 23:13:42 5f621e34cdf4: Pull complete 23:13:43 a4357932f1b6: Pull complete 23:13:43 18c013af1878: Pull complete 23:13:44 745a02a5169b: Download complete 23:13:45 00ac8860ef70: Verifying Checksum 23:13:45 00ac8860ef70: Download complete 23:13:48 Running on prd-centos7-docker-4c-2g-27407 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [Pipeline] { [Pipeline] ws 23:13:48 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 23:13:50 using credential edgex-jenkins-ssh 23:13:50 Cloning the remote Git repository 23:13:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:13:50 > git init /w/workspace/device-sdk-go/4 # timeout=10 23:13:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:13:50 > git --version # timeout=10 23:13:50 > git --version # 'git version 2.24.3' 23:13:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:13:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:13:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:13:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:13:52 Merging remotes/origin/master commit 9c99b3ad7d2e4ca826a6fb04090188d28e886681 into PR head commit cae2b1391063dac375a5c1e8a3b4fadecdcac137 23:13:52 Merge succeeded, producing cae2b1391063dac375a5c1e8a3b4fadecdcac137 23:13:52 Checking out Revision cae2b1391063dac375a5c1e8a3b4fadecdcac137 (PR-792) 23:13:52 > git config core.sparsecheckout # timeout=10 23:13:52 > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 23:13:52 > git remote # timeout=10 23:13:52 > git config --get remote.origin.url # timeout=10 23:13:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:52 > git merge 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 23:13:52 > git rev-parse HEAD^{commit} # timeout=10 23:13:52 > git config core.sparsecheckout # timeout=10 23:13:52 > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 23:13:55 00ac8860ef70: Pull complete 23:13:55 63d7cb157983: Pull complete 23:13:56 b116817d02f9: Pull complete 23:13:56 Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:57 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:13:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:13:57 + sudo service docker restart 23:13:57 + true 23:13:57 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:13:59 provisioning config files... 23:13:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8898644286258306986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:59 ---> docker-login.sh 23:13:59 nexus3.edgexfoundry.org:10001 23:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:00 Configure a credential helper to remove this warning. See 23:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:00 23:14:00 Login Succeeded 23:14:00 nexus3.edgexfoundry.org:10002 23:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:00 Configure a credential helper to remove this warning. See 23:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:00 23:14:00 Login Succeeded 23:14:00 nexus3.edgexfoundry.org:10003 23:14:00 745a02a5169b: Pull complete 23:14:00 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:14:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:14:00 ---> b7e6874047d6 23:14:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:00 Configure a credential helper to remove this warning. See 23:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:00 23:14:00 Login Succeeded 23:14:00 nexus3.edgexfoundry.org:10004 23:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:00 Configure a credential helper to remove this warning. See 23:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:00 23:14:00 Login Succeeded 23:14:00 docker.io 23:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:01 Configure a credential helper to remove this warning. See 23:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:01 23:14:01 Login Succeeded 23:14:01 ---> docker-login.sh ends [Pipeline] } 23:14:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:14:01 ========================================================= 23:14:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:14:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:14:01 + 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 . 23:14:02 Sending build context to Docker daemon 2.402MB 23:14:02 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:14:02 Step 2/8 : FROM ${BASE} 23:14:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:14:02 188c0c94c7c5: Pulling fs layer 23:14:02 0ef7d3d256c8: Pulling fs layer 23:14:02 de9db76c5a1d: Pulling fs layer 23:14:02 bca2f99d35d6: Pulling fs layer 23:14:02 93359f2a8cfa: Pulling fs layer 23:14:02 7c6f9722023f: Pulling fs layer 23:14:02 a35cf1a2eb13: Pulling fs layer 23:14:02 93359f2a8cfa: Waiting 23:14:02 7c6f9722023f: Waiting 23:14:02 a35cf1a2eb13: Waiting 23:14:02 bca2f99d35d6: Waiting 23:14:02 de9db76c5a1d: Verifying Checksum 23:14:02 de9db76c5a1d: Download complete 23:14:02 0ef7d3d256c8: Verifying Checksum 23:14:02 0ef7d3d256c8: Download complete 23:14:02 93359f2a8cfa: Verifying Checksum 23:14:02 93359f2a8cfa: Download complete 23:14:02 7c6f9722023f: Verifying Checksum 23:14:02 7c6f9722023f: Download complete 23:14:02 188c0c94c7c5: Verifying Checksum 23:14:02 188c0c94c7c5: Download complete 23:14:02 188c0c94c7c5: Pull complete 23:14:02 0ef7d3d256c8: Pull complete 23:14:02 de9db76c5a1d: Pull complete 23:14:03 ---> Running in 6f663f9ae716 23:14:03 Removing intermediate container 6f663f9ae716 23:14:03 ---> 25980c3269a2 23:14:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:03 ---> Running in 65034f3caab0 23:14:04 a35cf1a2eb13: Verifying Checksum 23:14:04 a35cf1a2eb13: Download complete 23:14:04 bca2f99d35d6: Verifying Checksum 23:14:04 bca2f99d35d6: Download complete 23:14:06 Removing intermediate container 65034f3caab0 23:14:06 ---> aab66319450f 23:14:06 Step 5/8 : RUN apk add --update --no-cache make git 23:14:06 ---> Running in e9c732ecd9a6 23:14:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:14:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:14:08 OK: 142 MiB in 39 packages 23:14:09 Removing intermediate container e9c732ecd9a6 23:14:09 ---> cd0d64888469 23:14:09 Step 6/8 : WORKDIR /device-sdk-go 23:14:09 ---> Running in 6ed770039c04 23:14:10 Removing intermediate container 6ed770039c04 23:14:10 ---> e46283182c02 23:14:10 Step 7/8 : COPY . . 23:14:10 bca2f99d35d6: Pull complete 23:14:10 93359f2a8cfa: Pull complete 23:14:10 7c6f9722023f: Pull complete 23:14:11 ---> 3ee0d6cfadfa 23:14:11 Step 8/8 : RUN go mod download 23:14:11 ---> Running in 445e4116c9fb 23:14:14 a35cf1a2eb13: Pull complete 23:14:14 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:14:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:14:14 ---> a62c8e92a672 23:14:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:14:14 ---> Running in 8de20b31613c 23:14:15 Removing intermediate container 8de20b31613c 23:14:15 ---> bad3f7dd8c42 23:14:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:15 ---> Running in 6ec4be0c8645 23:14:16 Removing intermediate container 6ec4be0c8645 23:14:16 ---> f2a1f4297ef9 23:14:16 Step 5/8 : RUN apk add --update --no-cache make git 23:14:16 ---> Running in ac4fb039dcbc 23:14:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:14:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:14:19 OK: 166 MiB in 39 packages 23:14:19 Removing intermediate container ac4fb039dcbc 23:14:19 ---> 7884f4781d58 23:14:19 Step 6/8 : WORKDIR /device-sdk-go 23:14:19 ---> Running in aa0f9dadda31 23:14:19 Removing intermediate container aa0f9dadda31 23:14:19 ---> c592b7b96802 23:14:19 Step 7/8 : COPY . . 23:14:21 ---> c13a6e1689fa 23:14:21 Step 8/8 : RUN go mod download 23:14:21 ---> Running in e750f4ec8a03 23:14:38 Removing intermediate container 445e4116c9fb 23:14:38 ---> 9455301ba8f2 23:14:38 Successfully built 9455301ba8f2 23:14:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:14:38 + docker inspect -f . ci-base-image-arm64 23:14:38 . [Pipeline] withDockerContainer 23:14:38 prd-ubuntu18.04-docker-arm64-4c-16g-27406 does not seem to be running inside a container 23:14:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:14:40 $ docker top 7da20fc1a28bc6d3fea58edb183c69a12002ffbf8ed4d3728403aea9929c4124 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:41 + go version 23:14:41 go version go1.15.5 linux/arm64 [Pipeline] } 23:14:41 $ docker stop --time=1 7da20fc1a28bc6d3fea58edb183c69a12002ffbf8ed4d3728403aea9929c4124 23:14:43 Removing intermediate container e750f4ec8a03 23:14:43 ---> 42ec2115735f 23:14:43 Successfully built 42ec2115735f 23:14:43 Successfully tagged ci-base-image-x86_64:latest 23:14:43 $ docker rm -f 7da20fc1a28bc6d3fea58edb183c69a12002ffbf8ed4d3728403aea9929c4124 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:14:44 + docker inspect -f . ci-base-image-x86_64 23:14:44 . [Pipeline] withDockerContainer 23:14:44 prd-centos7-docker-4c-2g-27407 does not seem to be running inside a container 23:14:44 + docker inspect -f . ci-base-image-arm64 23:14:44 . 23:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:14:45 $ docker top 2f8efb0953f7ce386386b0e7bc324dc6cb64a2831068ee3fb47f21a51fabefed -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 23:14:45 prd-ubuntu18.04-docker-arm64-4c-16g-27406 does not seem to be running inside a container 23:14:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:14:47 $ docker top 41b54c0b70e2cbb1f7690079f6a0bd39773076276506747fb9a25fafdae9e1f8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 23:14:47 + go version 23:14:47 go version go1.15.5 linux/amd64 [Pipeline] } 23:14:48 $ docker stop --time=1 2f8efb0953f7ce386386b0e7bc324dc6cb64a2831068ee3fb47f21a51fabefed 23:14:48 + make test 23:14:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:14:49 $ docker rm -f 2f8efb0953f7ce386386b0e7bc324dc6cb64a2831068ee3fb47f21a51fabefed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:14:50 + docker inspect -f . ci-base-image-x86_64 23:14:50 . [Pipeline] withDockerContainer 23:14:50 prd-centos7-docker-4c-2g-27407 does not seem to be running inside a container 23:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:14:51 $ docker top 3716a3e062b17b002ea795e649f6be7ad7b06c4f58b4aadd5c476b502c054da8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:51 + make test 23:14:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:14:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:15:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:15:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:15:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:15:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:15:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 25.5% of statements 23:15:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:15:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:15:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.065s coverage: 10.1% of statements 23:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.057s coverage: 12.5% of statements 23:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.070s coverage: 84.8% of statements 23:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 23:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 23:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 49.2% of statements 23:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 23:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.073s coverage: 81.3% of statements 23:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.076s coverage: 24.8% of statements 23:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.424s coverage: 83.5% of statements 23:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.073s coverage: 5.3% of statements 23:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:15:50 GO111MODULE=on go vet ./... 23:15:57 gofmt -l . 23:15:57 [ "`gofmt -l .`" = "" ] 23:15:57 ./bin/test-attribution-txt.sh 23:15:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 25.5% of statements 23:15:58 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:15:58 $ docker stop --time=1 3716a3e062b17b002ea795e649f6be7ad7b06c4f58b4aadd5c476b502c054da8 23:16:00 $ docker rm -f 3716a3e062b17b002ea795e649f6be7ad7b06c4f58b4aadd5c476b502c054da8 [Pipeline] // withDockerContainer [Pipeline] sh 23:16:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:16:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:16:03 + ls -al . 23:16:03 total 184 23:16:03 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 23:15 . 23:16:03 drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 23:13 .. 23:16:03 drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 23:13 bin 23:16:03 -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 23:15 coverage.out 23:16:03 -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 23:13 Dockerfile.build 23:16:03 -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 23:13 .dockerignore 23:16:03 drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 23:13 example 23:16:03 drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 23:13 .git 23:16:03 drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 23:13 .github 23:16:03 -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 23:13 .gitignore 23:16:03 -rw-r--r--. 1 jenkins jenkins 516 Feb 23 23:15 go.mod 23:16:03 -rw-r--r--. 1 jenkins jenkins 17254 Feb 23 23:15 go.sum 23:16:03 drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 23:13 internal 23:16:03 -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 23:13 Jenkinsfile 23:16:03 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 23:13 LICENSE 23:16:03 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 23:13 Makefile 23:16:03 drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 23:13 openapi 23:16:03 drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 23:13 pkg 23:16:03 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 23:13 README.md 23:16:03 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 23:13 RELEASE-NOTES.txt 23:16:03 drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 23:13 snap 23:16:03 -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 23:10 VERSION 23:16:03 -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 23:13 version.go [Pipeline] isUnix [Pipeline] sh 23:16:03 + 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=cae2b1391063dac375a5c1e8a3b4fadecdcac137 --label arch=amd64 --label version=0.0.0 . 23:16:04 Sending build context to Docker daemon 2.505MB 23:16:04 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 23:16:04 Step 2/24 : FROM ${BASE} AS builder 23:16:04 ---> 42ec2115735f 23:16:04 Step 3/24 : ARG MAKE='make build' 23:16:04 ---> Running in 2f74f37fa8e0 23:16:04 Removing intermediate container 2f74f37fa8e0 23:16:04 ---> 0989576e7926 23:16:04 Step 4/24 : WORKDIR /device-sdk-go 23:16:04 ---> Running in 4d57379ccca0 23:16:05 Removing intermediate container 4d57379ccca0 23:16:05 ---> 644456cf2871 23:16:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:16:05 ---> Running in c678f8571018 23:16:05 Removing intermediate container c678f8571018 23:16:05 ---> 987e629bfbd0 23:16:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:16:05 ---> Running in ff68cfdb2833 23:16:06 Removing intermediate container ff68cfdb2833 23:16:06 ---> fb63f180a53c 23:16:06 Step 7/24 : RUN apk add --update --no-cache make git 23:16:06 ---> Running in a93e9a1e2940 23:16:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:16:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:16:08 OK: 166 MiB in 39 packages 23:16:08 Removing intermediate container a93e9a1e2940 23:16:08 ---> 626c11fcb899 23:16:08 Step 8/24 : COPY . . 23:16:10 ---> bd7c34e89e90 23:16:10 Step 9/24 : RUN ${MAKE} 23:16:10 ---> Running in 04661827d690 23:16:10 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 23:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.115s coverage: 10.1% of statements 23:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.125s coverage: 12.5% of statements 23:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.151s coverage: 84.8% of statements 23:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 23:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 23:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.195s coverage: 49.2% of statements 23:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 23:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.149s coverage: 81.3% of statements 23:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.206s coverage: 24.8% of statements 23:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.887s coverage: 83.5% of statements 23:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.154s coverage: 5.3% of statements 23:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:16:20 GO111MODULE=on go vet ./... 23:16:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 23:16:21 Removing intermediate container 04661827d690 23:16:21 ---> 4e60c4007513 23:16:21 Step 10/24 : FROM scratch 23:16:21 ---> 23:16:21 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:16:21 ---> Running in 07ee7e5d3ff0 23:16:22 Removing intermediate container 07ee7e5d3ff0 23:16:22 ---> 19e292c7e8a8 23:16:22 Step 12/24 : ENV APP_PORT=49990 23:16:22 ---> Running in 6f5de66dc192 23:16:22 Removing intermediate container 6f5de66dc192 23:16:22 ---> 2f4ad04d8f59 23:16:22 Step 13/24 : EXPOSE $APP_PORT 23:16:22 ---> Running in 8847c955856a 23:16:22 Removing intermediate container 8847c955856a 23:16:22 ---> 9dc93cf388f3 23:16:22 Step 14/24 : WORKDIR / 23:16:22 ---> Running in 0cbfd275d2a6 23:16:22 Removing intermediate container 0cbfd275d2a6 23:16:22 ---> 2f0893d1e269 23:16:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 23:16:23 ---> 6e0a30d4fbc5 23:16:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 23:16:23 ---> ae3012b3e26b 23:16:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 23:16:23 ---> 94e197549653 23:16:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 23:16:23 ---> 6905ead0bbd7 23:16:23 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 23:16:24 ---> 314c027339e7 23:16:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 23:16:24 ---> Running in 3a6d300c7a24 23:16:24 Removing intermediate container 3a6d300c7a24 23:16:24 ---> 5e6c8e038249 23:16:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:16:24 ---> Running in 8e6210f9b0e5 23:16:24 Removing intermediate container 8e6210f9b0e5 23:16:24 ---> 2d9374d4ca01 23:16:24 Step 22/24 : LABEL arch=amd64 23:16:24 ---> Running in 1e826970d70b 23:16:24 Removing intermediate container 1e826970d70b 23:16:24 ---> a325aeb2dd6c 23:16:24 Step 23/24 : LABEL git_sha=cae2b1391063dac375a5c1e8a3b4fadecdcac137 23:16:24 ---> Running in d8e458ba3791 23:16:24 Removing intermediate container d8e458ba3791 23:16:24 ---> 9d131f9ba8fb 23:16:24 Step 24/24 : LABEL version=0.0.0 23:16:25 ---> Running in cf95a8b4f59b 23:16:25 Removing intermediate container cf95a8b4f59b 23:16:25 ---> ff951864254c 23:16:25 [Warning] One or more build-args [ARCH] were not consumed 23:16:25 Successfully built ff951864254c 23:16:25 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 23:16:26 ---> job-cost.sh 23:16:26 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JRuy 23:16:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:16:59 gofmt -l . 23:16:59 [ "`gofmt -l .`" = "" ] 23:16:59 ./bin/test-attribution-txt.sh 23:16:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:16:59 $ docker stop --time=1 41b54c0b70e2cbb1f7690079f6a0bd39773076276506747fb9a25fafdae9e1f8 23:17:02 $ docker rm -f 41b54c0b70e2cbb1f7690079f6a0bd39773076276506747fb9a25fafdae9e1f8 [Pipeline] // withDockerContainer [Pipeline] sh 23:17:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:17:03 Warning: overwriting stash ‘coverage-report’ 23:17:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:17:05 + ls -al . 23:17:05 total 220 23:17:05 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 23:16 . 23:17:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:13 .. 23:17:05 -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 23:13 .dockerignore 23:17:05 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 23:13 .git 23:17:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:13 .github 23:17:05 -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 23:13 .gitignore 23:17:05 -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 23:13 Dockerfile.build 23:17:05 -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 23:13 Jenkinsfile 23:17:05 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 23:13 LICENSE 23:17:05 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 23:13 Makefile 23:17:05 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 23:13 README.md 23:17:05 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 23:13 RELEASE-NOTES.txt 23:17:05 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 23:10 VERSION 23:17:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:13 bin 23:17:05 -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 23:16 coverage.out 23:17:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:13 example 23:17:05 -rw-r--r-- 1 jenkins jenkins 516 Feb 23 23:16 go.mod 23:17:05 -rw-r--r-- 1 jenkins jenkins 17254 Feb 23 23:16 go.sum 23:17:05 drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 23:13 internal 23:17:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:13 openapi 23:17:05 drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 23:13 pkg 23:17:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:13 snap 23:17:05 -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 23:13 version.go [Pipeline] isUnix [Pipeline] sh 23:17:05 + 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=cae2b1391063dac375a5c1e8a3b4fadecdcac137 --label arch=arm64 --label version=0.0.0 . 23:17:05 Sending build context to Docker daemon 2.511MB 23:17:05 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 23:17:05 Step 2/24 : FROM ${BASE} AS builder 23:17:05 ---> 9455301ba8f2 23:17:05 Step 3/24 : ARG MAKE='make build' 23:17:06 ---> Running in 2d4c552a2043 23:17:06 Removing intermediate container 2d4c552a2043 23:17:06 ---> 4d63d2650a69 23:17:06 Step 4/24 : WORKDIR /device-sdk-go 23:17:06 ---> Running in 42b04e2ec9df 23:17:07 Removing intermediate container 42b04e2ec9df 23:17:07 ---> b48f000c6e60 23:17:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:17:07 ---> Running in 4f3eda262ac9 23:17:07 Removing intermediate container 4f3eda262ac9 23:17:07 ---> b35ac6e2a938 23:17:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:17:07 ---> Running in fdca61fc5800 23:17:09 Removing intermediate container fdca61fc5800 23:17:09 ---> 86a332829968 23:17:09 Step 7/24 : RUN apk add --update --no-cache make git 23:17:10 ---> Running in b049264fa1e1 23:17:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:17:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:17:12 OK: 142 MiB in 39 packages 23:17:13 lf-activate-venv(): INFO: Adding /tmp/venv-JRuy/bin to PATH 23:17:13 INFO: No Stack... 23:17:13 INFO: Retrieving Pricing Info for: v1-standard-2 23:17:13 INFO: Archiving Costs [Pipeline] sh 23:17:13 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 23:17:13 + cut -d, -f6 [Pipeline] lock 23:17:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] 23:17:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] did not exist. Created. 23:17:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:17:14 + echo total: 0.029999999329447746 [Pipeline] stash 23:17:14 Removing intermediate container b049264fa1e1 23:17:14 ---> 89c4fe9b5934 23:17:14 Step 8/24 : COPY . . 23:17:14 Stashed 1 file(s) [Pipeline] } 23:17:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:17:15 ---> 9dad7bb87f7d 23:17:15 Step 9/24 : RUN ${MAKE} 23:17:15 ---> Running in 56ca47c3fcd8 23:17:16 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 23:17:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 23:17:44 Removing intermediate container 56ca47c3fcd8 23:17:44 ---> 828377e52481 23:17:44 Step 10/24 : FROM scratch 23:17:44 ---> 23:17:44 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:17:44 ---> Running in 00177b78e58a 23:17:44 Removing intermediate container 00177b78e58a 23:17:44 ---> b3cc490818b1 23:17:44 Step 12/24 : ENV APP_PORT=49990 23:17:44 ---> Running in 50760518ed38 23:17:44 Removing intermediate container 50760518ed38 23:17:44 ---> 4de74b97f0d3 23:17:44 Step 13/24 : EXPOSE $APP_PORT 23:17:45 ---> Running in df7cc18b9f34 23:17:45 Removing intermediate container df7cc18b9f34 23:17:45 ---> 14d2be9f591c 23:17:45 Step 14/24 : WORKDIR / 23:17:45 ---> Running in bccc835c6e27 23:17:46 Removing intermediate container bccc835c6e27 23:17:46 ---> f841ac9e3a79 23:17:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 23:17:47 ---> 5123e4e4af56 23:17:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 23:17:47 ---> 310b224f2ef7 23:17:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 23:17:48 ---> d2f3b8d24cf0 23:17:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 23:17:49 ---> 161353d8c879 23:17:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 23:17:50 ---> 8fecfc89e378 23:17:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 23:17:50 ---> Running in cbb4e4d689a2 23:17:50 Removing intermediate container cbb4e4d689a2 23:17:50 ---> 9f5ba35b433f 23:17:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:17:50 ---> Running in d3664d92e46a 23:17:51 Removing intermediate container d3664d92e46a 23:17:51 ---> 9af64812bd62 23:17:51 Step 22/24 : LABEL arch=arm64 23:17:51 ---> Running in f38efd31c948 23:17:51 Removing intermediate container f38efd31c948 23:17:51 ---> 9c60eb1ce453 23:17:51 Step 23/24 : LABEL git_sha=cae2b1391063dac375a5c1e8a3b4fadecdcac137 23:17:52 ---> Running in b72df426b6f4 23:17:52 Removing intermediate container b72df426b6f4 23:17:52 ---> 19ea63018bc4 23:17:52 Step 24/24 : LABEL version=0.0.0 23:17:52 ---> Running in 9f3a2c8ee735 23:17:52 Removing intermediate container 9f3a2c8ee735 23:17:52 ---> ea1a3adc1299 23:17:52 [Warning] One or more build-args [ARCH] were not consumed 23:17:53 Successfully built ea1a3adc1299 23:17:53 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 23:17:53 ---> job-cost.sh 23:17:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KaMT 23:18:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:20:39 lf-activate-venv(): INFO: Adding /tmp/venv-KaMT/bin to PATH 23:20:39 INFO: No Stack... 23:20:39 INFO: Retrieving Pricing Info for: lf-standard-4 23:20:39 INFO: Archiving Costs [Pipeline] sh 23:20:40 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 23:20:40 + cut -d, -f6 [Pipeline] lock 23:20:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] 23:20:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] did not exist. Created. 23:20:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:40 /w/workspace/device-sdk-go/4@tmp/durable-d562d942/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-d562d942/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:20:40 + echo total: 0.20999999344348907 [Pipeline] stash 23:20:40 Warning: overwriting stash ‘stack-cost’ 23:20:41 Stashed 1 file(s) [Pipeline] } 23:20:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 23:20:42 provisioning config files... 23:20:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config8090951201220802706tmp [Pipeline] { [Pipeline] sh 23:20:43 + set +x 23:20:43 + curl -s https://codecov.io/bash 23:20:43 + bash -s -- 23:20:44 23:20:44 _____ _ 23:20:44 / ____| | | 23:20:44 | | ___ __| | ___ ___ _____ __ 23:20:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:20:44 | |___| (_) | (_| | __/ (_| (_) \ V / 23:20:44 \_____\___/ \__,_|\___|\___\___/ \_/ 23:20:44 Bash-20210129-7c25fce 23:20:44 23:20:44 23:20:44 ==> git version 2.24.3 found 23:20:44 ==> 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 23:20:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:20:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:20:44 ==> Jenkins CI detected. 23:20:44 project root: . 23:20:44 --> token set from env 23:20:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:20:44 ==> Running gcov in . (disable via -X gcov) 23:20:44 ==> Python coveragepy not found 23:20:44 ==> Searching for coverage reports in: 23:20:44 + . 23:20:44 -> Found 1 reports 23:20:44 ==> Detecting git/mercurial file structure 23:20:44 ==> Reading reports 23:20:44 + ./coverage.out bytes=101757 23:20:44 ==> Appending adjustments 23:20:44 https://docs.codecov.io/docs/fixing-reports 23:20:46 + Found adjustments 23:20:46 ==> Gzipping contents 23:20:46 20K /tmp/codecov.wujTQ5.gz 23:20:46 ==> Uploading reports 23:20:46 url: https://codecov.io 23:20:46 query: branch=PR-792&commit=cae2b1391063dac375a5c1e8a3b4fadecdcac137&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-792%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=792&job=&cmd_args= 23:20:46 -> Pinging Codecov 23:20:46 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-792&commit=cae2b1391063dac375a5c1e8a3b4fadecdcac137&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-792%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=792&job=&cmd_args= 23:20:47 -> Uploading to 23:20:47 https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/cae2b1391063dac375a5c1e8a3b4fadecdcac137/97c45ee3-ce36-4c83-a1e6-ee0b384c39c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T232047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0617eb68437a548e0cb42ae3644cdb2ca0b3c89550bf50c03a3ab83c17aa153a 23:20:47 % Total % Received % Xferd Average Speed Time Time Time Current 23:20:47 Dload Upload Total Spent Left Speed 23:20:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16477 0 0 100 16477 0 26612 --:--:-- --:--:-- --:--:-- 26661 23:20:48 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cae2b1391063dac375a5c1e8a3b4fadecdcac137 [Pipeline] } 23:20:48 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 23:20:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:20:52 ---> package-listing.sh 23:20:52 ++ facter osfamily 23:20:52 ++ tr '[:upper:]' '[:lower:]' 23:20:53 + OS_FAMILY=redhat 23:20:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-792 23:20:53 + START_PACKAGES=/tmp/packages_start.txt 23:20:53 + END_PACKAGES=/tmp/packages_end.txt 23:20:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:20:53 + PACKAGES=/tmp/packages_start.txt 23:20:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-792 ']' 23:20:53 + PACKAGES=/tmp/packages_end.txt 23:20:53 + case "${OS_FAMILY}" in 23:20:53 + rpm -qa 23:20:53 + sort 23:21:03 + '[' -f /tmp/packages_start.txt ']' 23:21:03 + '[' -f /tmp/packages_end.txt ']' 23:21:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:21:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-792 ']' 23:21:03 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-792/archives/ 23:21:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-792/archives/ [Pipeline] echo 23:21:03 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-792/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:21:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:21:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:21:05 23:21:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:21:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:21:06 alpine: Pulling from edgex-lftools-log-publisher 23:21:06 df20fa9351a1: Pulling fs layer 23:21:06 36b3adc4ff6f: Pulling fs layer 23:21:06 8ad3a11d3b57: Pulling fs layer 23:21:06 46f8f816bc3b: Pulling fs layer 23:21:06 93b61091891f: Pulling fs layer 23:21:06 93b9cdb0e59b: Pulling fs layer 23:21:06 5e14af77c1be: Pulling fs layer 23:21:06 01666e4c0597: Pulling fs layer 23:21:06 aa168da1d23b: Pulling fs layer 23:21:06 46f8f816bc3b: Waiting 23:21:06 93b61091891f: Waiting 23:21:06 93b9cdb0e59b: Waiting 23:21:06 5e14af77c1be: Waiting 23:21:06 01666e4c0597: Waiting 23:21:06 aa168da1d23b: Waiting 23:21:06 36b3adc4ff6f: Verifying Checksum 23:21:06 36b3adc4ff6f: Download complete 23:21:06 46f8f816bc3b: Verifying Checksum 23:21:06 46f8f816bc3b: Download complete 23:21:07 df20fa9351a1: Verifying Checksum 23:21:07 df20fa9351a1: Download complete 23:21:07 93b9cdb0e59b: Verifying Checksum 23:21:07 93b9cdb0e59b: Download complete 23:21:07 5e14af77c1be: Verifying Checksum 23:21:07 5e14af77c1be: Download complete 23:21:07 01666e4c0597: Verifying Checksum 23:21:07 01666e4c0597: Download complete 23:21:07 93b61091891f: Verifying Checksum 23:21:07 93b61091891f: Download complete 23:21:08 8ad3a11d3b57: Verifying Checksum 23:21:08 8ad3a11d3b57: Download complete 23:21:08 df20fa9351a1: Pull complete 23:21:10 36b3adc4ff6f: Pull complete 23:21:12 8ad3a11d3b57: Pull complete 23:21:12 46f8f816bc3b: Pull complete 23:21:14 93b61091891f: Pull complete 23:21:15 93b9cdb0e59b: Pull complete 23:21:15 5e14af77c1be: Pull complete 23:21:17 01666e4c0597: Pull complete 23:21:26 aa168da1d23b: Verifying Checksum 23:21:26 aa168da1d23b: Download complete 23:21:50 aa168da1d23b: Pull complete 23:21:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:21:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:21:51 prd-centos7-docker-4c-2g-27403 does not seem to be running inside a container 23:21:51 $ 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-792/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-792 -v /w/workspace/dgexfoundry_device-sdk-go_PR-792:/w/workspace/dgexfoundry_device-sdk-go_PR-792:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-792@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 23:21:58 $ docker top 5c8048e0c18d9f4405dec08769da42c0d76e306f2121902dde81cf8d8bea6c25 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:22:01 + mkdir -p /var/log/sa [Pipeline] sh 23:22:02 + ls /var/log/sa-host 23:22:02 + sadf -c /var/log/sa-host/sa23 23:22:02 file_magic: OK 23:22:02 HZ: Using current value: 100 23:22:02 file_header: OK 23:22:02 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 23:22:02 Statistics: 23:22:02 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...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:22:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:22:03 provisioning config files... 23:22:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config6499592212845439430tmp [Pipeline] { [Pipeline] echo 23:22:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:22:04 ---> create-netrc.sh [Pipeline] } 23:22:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:22:04 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:22:05 ---> python-tools-install.sh [Pipeline] echo 23:22:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:22:06 ---> sudo-logs.sh 23:22:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:22:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:22:07 ---> job-cost.sh 23:22:07 lf-activate-venv: SKIPPING 23:22:07 DEBUG: total: 0.20999999344348907 23:22:07 INFO: Retrieving Stack Cost... 23:22:08 INFO: Retrieving Pricing Info for: v1-standard-2 23:22:09 INFO: Archiving Costs [Pipeline] echo 23:22:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:22:11 ---> logs-deploy.sh 23:22:11 lf-activate-venv: SKIPPING 23:22:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-792/4 23:22:11 INFO: archiving workspace using pattern(s): 23:22:14 Archives upload complete. 23:22:14 INFO: archiving logs to Nexus