Pull request #847 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 405863b8552e159bc36ea9bb827e59e08bb4326e+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (41bbd279fb06c060dadb00147c1f1c822889c711) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32030 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [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-847 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 405863b8552e159bc36ea9bb827e59e08bb4326e Merge succeeded, producing 405863b8552e159bc36ea9bb827e59e08bb4326e Checking out Revision 405863b8552e159bc36ea9bb827e59e08bb4326e (PR-847) > git config core.sparsecheckout # timeout=10 > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 Commit message: "feat: Updated Attribution.txt for missing crypto module" > git rev-list --no-walk 0a82af554c314832340776d6a1395e1c3eac4347 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:22:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:22:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:22:04 ========================================================= 14:22:04 EdgeX Global Pipelines Version Info 14:22:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:22:06 ------------------- 14:22:06 stable info: 14:22:06 ------------------- 14:22:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:22:06 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 14:22:06 Message: update stable to v1.0.186 14:22:07 ------------------- 14:22:07 experimental info: 14:22:07 ------------------- 14:22:07 Commited By: **** collab-it+edgex@linuxfoundation.org 14:22:07 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 14:22:07 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:22:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 14:22:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 14:22:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:22:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:22:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:22:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:22:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:22:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:22:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-847 [Pipeline] echo 14:22:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-847 [Pipeline] echo 14:22:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-847 [Pipeline] echo 14:22:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 405863b8552e159bc36ea9bb827e59e08bb4326e [Pipeline] echo 14:22:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 405863b [Pipeline] echo 14:22:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:22:10 provisioning config files... 14:22:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config4300521038450167814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:11 ---> docker-login.sh 14:22:11 nexus3.edgexfoundry.org:10001 14:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:11 Configure a credential helper to remove this warning. See 14:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:11 14:22:11 Login Succeeded 14:22:11 nexus3.edgexfoundry.org:10002 14:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:11 Configure a credential helper to remove this warning. See 14:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:11 14:22:11 Login Succeeded 14:22:11 nexus3.edgexfoundry.org:10003 14:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:12 Configure a credential helper to remove this warning. See 14:22:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:12 14:22:12 Login Succeeded 14:22:12 nexus3.edgexfoundry.org:10004 14:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:12 Configure a credential helper to remove this warning. See 14:22:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:12 14:22:12 Login Succeeded 14:22:12 docker.io 14:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:12 Configure a credential helper to remove this warning. See 14:22:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:12 14:22:12 Login Succeeded 14:22:12 ---> docker-login.sh ends [Pipeline] } 14:22:12 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 14:22:13 + git log --format=format:%s -1 405863b8552e159bc36ea9bb827e59e08bb4326e [Pipeline] echo 14:22:13 GIT_COMMIT: 405863b8552e159bc36ea9bb827e59e08bb4326e, Commit Message: feat: Updated Attribution.txt for missing crypto module [Pipeline] echo 14:22:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:22:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:22:14 14:22:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:22:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:22:14 latest: Pulling from edgex-devops/git-semver 14:22:14 31603596830f: Pulling fs layer 14:22:14 2a8b12db71e7: Pulling fs layer 14:22:14 6ca5941a6612: Pulling fs layer 14:22:14 ecc8261a40a4: Pulling fs layer 14:22:14 ecc8261a40a4: Waiting 14:22:14 2a8b12db71e7: Verifying Checksum 14:22:14 2a8b12db71e7: Download complete 14:22:14 31603596830f: Download complete 14:22:14 ecc8261a40a4: Verifying Checksum 14:22:14 ecc8261a40a4: Download complete 14:22:14 6ca5941a6612: Verifying Checksum 14:22:14 6ca5941a6612: Download complete 14:22:15 31603596830f: Pull complete 14:22:15 2a8b12db71e7: Pull complete 14:22:16 6ca5941a6612: Pull complete 14:22:16 ecc8261a40a4: Pull complete 14:22:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 14:22:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:22:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:22:16 prd-centos7-docker-4c-2g-32030 does not seem to be running inside a container 14:22:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-847 -v /w/workspace/dgexfoundry_device-sdk-go_PR-847:/w/workspace/dgexfoundry_device-sdk-go_PR-847:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-847@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:22:18 $ docker top 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:22:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:22:18 [ssh-agent] Looking for ssh-agent implementation... 14:22:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:22:18 $ docker exec 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 ssh-agent 14:22:19 SSH_AUTH_SOCK=/tmp/ssh-AZJZsdq2JrWw/agent.12 14:22:19 SSH_AGENT_PID=17 14:22:19 Running ssh-add (command line suppressed) 14:22:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_6464655165741345756.key (/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_6464655165741345756.key) 14:22:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:22:19 + git tag --points-at HEAD [Pipeline] } 14:22:19 $ docker exec --env ******** --env ******** 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 ssh-agent -k 14:22:19 unset SSH_AUTH_SOCK; 14:22:19 unset SSH_AGENT_PID; 14:22:19 echo Agent pid 17 killed; 14:22:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:22:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:22:19 [ssh-agent] Looking for ssh-agent implementation... 14:22:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:22:20 $ docker exec 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 ssh-agent 14:22:20 SSH_AUTH_SOCK=/tmp/ssh-N5kn5OGaI7Dm/agent.47 14:22:20 SSH_AGENT_PID=52 14:22:20 Running ssh-add (command line suppressed) 14:22:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_186250198489843689.key (/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_186250198489843689.key) 14:22:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:22:20 + git semver init 14:22:20 # -> Open(): unable to determine branch for HEAD 14:22:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-847/.git 14:22:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-847 14:22:20 # $SEMVER_REMOTE_NAME = origin 14:22:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:22:20 # $SEMVER_USER_NAME = edgex-jenkins 14:22:20 # $SEMVER_BRANCH = PR-847 14:22:20 # $SEMVER_TEMP = /tmp/semver-335960826 14:22:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:22:21 # '/tmp/semver-335960826' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-847/.semver' 14:22:21 # -> Force: false 14:22:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-847/.semver [Pipeline] } 14:22:21 $ docker exec --env ******** --env ******** 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 ssh-agent -k 14:22:21 unset SSH_AUTH_SOCK; 14:22:21 unset SSH_AGENT_PID; 14:22:21 echo Agent pid 52 killed; 14:22:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:22:22 + git semver [Pipeline] } 14:22:22 $ docker stop --time=1 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 14:22:23 $ docker rm -f 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 [Pipeline] // withDockerContainer [Pipeline] sh 14:22:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:22:24 Stashed 1 file(s) [Pipeline] echo 14:22:24 [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 14:22:40 Still waiting to schedule task 14:22:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:22:40 Still waiting to schedule task 14:22:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:24:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32031 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [Pipeline] { [Pipeline] ws 14:24:24 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 14:24:29 using credential edgex-jenkins-ssh 14:24:29 Cloning the remote Git repository 14:24:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:24:29 > git init /w/workspace/device-sdk-go/2 # timeout=10 14:24:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:24:29 > git --version # timeout=10 14:24:29 > git --version # 'git version 2.17.1' 14:24:29 using GIT_SSH to set credentials SSH Credentials for GitHub 14:24:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:24:31 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 405863b8552e159bc36ea9bb827e59e08bb4326e 14:24:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:24:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:24:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:24:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:24:31 using GIT_SSH to set credentials SSH Credentials for GitHub 14:24:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:24:31 > git config core.sparsecheckout # timeout=10 14:24:31 > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 14:24:32 Merge succeeded, producing 405863b8552e159bc36ea9bb827e59e08bb4326e 14:24:32 Checking out Revision 405863b8552e159bc36ea9bb827e59e08bb4326e (PR-847) 14:24:32 > git remote # timeout=10 14:24:32 > git config --get remote.origin.url # timeout=10 14:24:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:24:32 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 14:24:32 > git rev-parse HEAD^{commit} # timeout=10 14:24:32 > git config core.sparsecheckout # timeout=10 14:24:32 > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 14:24:36 Commit message: "feat: Updated Attribution.txt for missing crypto module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:24:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 14:24:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:24:38 + true 14:24:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:24:41 provisioning config files... 14:24:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2638147112992036010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:24:42 ---> docker-login.sh 14:24:42 nexus3.edgexfoundry.org:10001 14:24:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:24:43 Configure a credential helper to remove this warning. See 14:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:24:43 14:24:43 Login Succeeded 14:24:43 nexus3.edgexfoundry.org:10002 14:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:24:43 Configure a credential helper to remove this warning. See 14:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:24:43 14:24:43 Login Succeeded 14:24:43 nexus3.edgexfoundry.org:10003 14:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:24:44 Configure a credential helper to remove this warning. See 14:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:24:44 14:24:44 Login Succeeded 14:24:44 nexus3.edgexfoundry.org:10004 14:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:24:44 Configure a credential helper to remove this warning. See 14:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:24:44 14:24:44 Login Succeeded 14:24:44 docker.io 14:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:24:45 Configure a credential helper to remove this warning. See 14:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:24:45 14:24:45 Login Succeeded 14:24:45 ---> docker-login.sh ends [Pipeline] } 14:24:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:24:45 ========================================================= 14:24:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 14:24:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:24:46 + 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 . 14:24:46 Sending build context to Docker daemon 2.333MB 14:24:46 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 14:24:46 Step 2/8 : FROM ${BASE} 14:24:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:24:46 5f621e34cdf4: Pulling fs layer 14:24:46 a4357932f1b6: Pulling fs layer 14:24:46 18c013af1878: Pulling fs layer 14:24:46 00ac8860ef70: Pulling fs layer 14:24:46 63d7cb157983: Pulling fs layer 14:24:46 b116817d02f9: Pulling fs layer 14:24:46 745a02a5169b: Pulling fs layer 14:24:46 63d7cb157983: Waiting 14:24:46 b116817d02f9: Waiting 14:24:46 745a02a5169b: Waiting 14:24:46 18c013af1878: Verifying Checksum 14:24:46 18c013af1878: Download complete 14:24:46 63d7cb157983: Verifying Checksum 14:24:46 63d7cb157983: Download complete 14:24:46 5f621e34cdf4: Verifying Checksum 14:24:46 5f621e34cdf4: Download complete 14:24:46 b116817d02f9: Verifying Checksum 14:24:46 b116817d02f9: Download complete 14:24:47 5f621e34cdf4: Pull complete 14:24:48 a4357932f1b6: Pull complete 14:24:48 18c013af1878: Pull complete 14:24:49 745a02a5169b: Verifying Checksum 14:24:49 745a02a5169b: Download complete 14:24:50 00ac8860ef70: Verifying Checksum 14:24:50 00ac8860ef70: Download complete 14:25:00 00ac8860ef70: Pull complete 14:25:01 63d7cb157983: Pull complete 14:25:01 b116817d02f9: Pull complete 14:25:06 745a02a5169b: Pull complete 14:25:06 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 14:25:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 14:25:06 ---> b7e6874047d6 14:25:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:25:06 Running on prd-centos7-docker-4c-2g-32032 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [Pipeline] { [Pipeline] ws 14:25:06 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 14:25:08 ---> Running in 438d64078cad 14:25:08 Removing intermediate container 438d64078cad 14:25:08 ---> 736e2e9ea7e9 14:25:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:25:08 ---> Running in 95612c676aef 14:25:09 using credential edgex-jenkins-ssh 14:25:09 Cloning the remote Git repository 14:25:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:25:09 > git init /w/workspace/device-sdk-go/2 # timeout=10 14:25:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:25:09 > git --version # timeout=10 14:25:09 > git --version # 'git version 2.24.3' 14:25:09 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:25:10 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 405863b8552e159bc36ea9bb827e59e08bb4326e 14:25:11 Merge succeeded, producing 405863b8552e159bc36ea9bb827e59e08bb4326e 14:25:11 Checking out Revision 405863b8552e159bc36ea9bb827e59e08bb4326e (PR-847) 14:25:11 Removing intermediate container 95612c676aef 14:25:11 ---> fc8a9b65a6ba 14:25:11 Step 5/8 : RUN apk add --update --no-cache make git 14:25:11 ---> Running in 707e16bd9641 14:25:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:25:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:25:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:25:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:25:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:25:10 > git config core.sparsecheckout # timeout=10 14:25:10 > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 14:25:10 > git remote # timeout=10 14:25:10 > git config --get remote.origin.url # timeout=10 14:25:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:10 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 14:25:11 > git rev-parse HEAD^{commit} # timeout=10 14:25:11 > git config core.sparsecheckout # timeout=10 14:25:11 > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 14:25:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:25:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:25:13 OK: 142 MiB in 39 packages 14:25:14 Removing intermediate container 707e16bd9641 14:25:14 ---> 6e4a18a7075a 14:25:14 Step 6/8 : WORKDIR /device-sdk-go 14:25:14 Commit message: "feat: Updated Attribution.txt for missing crypto module" 14:25:14 ---> Running in 635eca311333 14:25:14 Removing intermediate container 635eca311333 14:25:14 ---> a90c465cbf03 14:25:14 Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:25:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 14:25:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:25:16 ---> 68e64e043de2 14:25:16 Step 8/8 : RUN go mod download 14:25:16 ---> Running in 73dbef6753fb 14:25:16 + sudo service docker restart 14:25:16 + true 14:25:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:25:17 provisioning config files... 14:25:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4768981602560608438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:18 ---> docker-login.sh 14:25:18 nexus3.edgexfoundry.org:10001 14:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:18 Configure a credential helper to remove this warning. See 14:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:18 14:25:18 Login Succeeded 14:25:18 nexus3.edgexfoundry.org:10002 14:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:18 Configure a credential helper to remove this warning. See 14:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:18 14:25:18 Login Succeeded 14:25:18 nexus3.edgexfoundry.org:10003 14:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:18 Configure a credential helper to remove this warning. See 14:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:18 14:25:18 Login Succeeded 14:25:18 nexus3.edgexfoundry.org:10004 14:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:19 Configure a credential helper to remove this warning. See 14:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:19 14:25:19 Login Succeeded 14:25:19 docker.io 14:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:19 Configure a credential helper to remove this warning. See 14:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:19 14:25:19 Login Succeeded 14:25:19 ---> docker-login.sh ends [Pipeline] } 14:25:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:25:19 ========================================================= 14:25:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 14:25:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:25:20 + 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 . 14:25:20 Sending build context to Docker daemon 2.334MB 14:25:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 14:25:20 Step 2/8 : FROM ${BASE} 14:25:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 14:25:20 188c0c94c7c5: Pulling fs layer 14:25:20 0ef7d3d256c8: Pulling fs layer 14:25:20 de9db76c5a1d: Pulling fs layer 14:25:20 bca2f99d35d6: Pulling fs layer 14:25:20 93359f2a8cfa: Pulling fs layer 14:25:20 7c6f9722023f: Pulling fs layer 14:25:20 a35cf1a2eb13: Pulling fs layer 14:25:20 93359f2a8cfa: Waiting 14:25:20 a35cf1a2eb13: Waiting 14:25:20 7c6f9722023f: Waiting 14:25:20 bca2f99d35d6: Waiting 14:25:20 0ef7d3d256c8: Verifying Checksum 14:25:20 0ef7d3d256c8: Download complete 14:25:20 de9db76c5a1d: Verifying Checksum 14:25:20 de9db76c5a1d: Download complete 14:25:20 93359f2a8cfa: Verifying Checksum 14:25:20 93359f2a8cfa: Download complete 14:25:20 7c6f9722023f: Verifying Checksum 14:25:20 7c6f9722023f: Download complete 14:25:20 188c0c94c7c5: Verifying Checksum 14:25:20 188c0c94c7c5: Download complete 14:25:20 188c0c94c7c5: Pull complete 14:25:20 0ef7d3d256c8: Pull complete 14:25:21 de9db76c5a1d: Pull complete 14:25:22 a35cf1a2eb13: Verifying Checksum 14:25:22 a35cf1a2eb13: Download complete 14:25:23 bca2f99d35d6: Verifying Checksum 14:25:23 bca2f99d35d6: Download complete 14:25:28 bca2f99d35d6: Pull complete 14:25:28 93359f2a8cfa: Pull complete 14:25:28 7c6f9722023f: Pull complete 14:25:35 a35cf1a2eb13: Pull complete 14:25:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 14:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 14:25:35 ---> a62c8e92a672 14:25:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:25:35 ---> Running in 0419339cc3d6 14:25:35 Removing intermediate container 0419339cc3d6 14:25:35 ---> f53ec37832d0 14:25:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:25:35 ---> Running in 7c3d29d06374 14:25:36 Removing intermediate container 7c3d29d06374 14:25:36 ---> d7410b85478e 14:25:36 Step 5/8 : RUN apk add --update --no-cache make git 14:25:36 ---> Running in d6390b75f2d4 14:25:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:25:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:25:38 Removing intermediate container 73dbef6753fb 14:25:38 ---> 9e2a97506fbc 14:25:38 Successfully built 9e2a97506fbc 14:25:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:25:38 OK: 166 MiB in 39 packages 14:25:38 Removing intermediate container d6390b75f2d4 14:25:38 ---> ef9f9ffa9a07 14:25:38 Step 6/8 : WORKDIR /device-sdk-go 14:25:38 + docker inspect -f . ci-base-image-arm64 14:25:38 . [Pipeline] withDockerContainer 14:25:39 ---> Running in 3bae056d5c1d 14:25:39 Removing intermediate container 3bae056d5c1d 14:25:39 ---> beb3e81f0e97 14:25:39 Step 7/8 : COPY . . 14:25:39 prd-ubuntu18.04-docker-arm64-4c-16g-32031 does not seem to be running inside a container 14:25:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:25:40 ---> a76b629906f6 14:25:40 Step 8/8 : RUN go mod download 14:25:40 ---> Running in 71d89703e0d4 14:25:40 $ docker top 80e595c70798888e06866602dc4d275703fcecd3f510ab464495fd5322a281ee -eo pid,comm [Pipeline] { [Pipeline] sh 14:25:42 + go version 14:25:42 go version go1.15.5 linux/arm64 [Pipeline] } 14:25:42 $ docker stop --time=1 80e595c70798888e06866602dc4d275703fcecd3f510ab464495fd5322a281ee 14:25:43 $ docker rm -f 80e595c70798888e06866602dc4d275703fcecd3f510ab464495fd5322a281ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:25:45 + docker inspect -f . ci-base-image-arm64 14:25:45 . [Pipeline] withDockerContainer 14:25:45 prd-ubuntu18.04-docker-arm64-4c-16g-32031 does not seem to be running inside a container 14:25:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:25:46 $ docker top ff07e17f994face3628032188ed1800c992944b0467f2483c9f25fb2d304ca01 -eo pid,comm [Pipeline] { [Pipeline] sh 14:25:47 + make test 14:25:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:26:02 Removing intermediate container 71d89703e0d4 14:26:02 ---> a2548c1e9087 14:26:02 Successfully built a2548c1e9087 14:26:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:26:02 + docker inspect -f . ci-base-image-x86_64 14:26:02 . [Pipeline] withDockerContainer 14:26:03 prd-centos7-docker-4c-2g-32032 does not seem to be running inside a container 14:26:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:26:04 $ docker top d00944ca83e5479e4330980d90e4a63bae2ab7fc46a75f3d500e11ec4bff9936 -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:05 + go version 14:26:05 go version go1.15.5 linux/amd64 [Pipeline] } 14:26:05 $ docker stop --time=1 d00944ca83e5479e4330980d90e4a63bae2ab7fc46a75f3d500e11ec4bff9936 14:26:06 $ docker rm -f d00944ca83e5479e4330980d90e4a63bae2ab7fc46a75f3d500e11ec4bff9936 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:26:07 + docker inspect -f . ci-base-image-x86_64 14:26:07 . [Pipeline] withDockerContainer 14:26:07 prd-centos7-docker-4c-2g-32032 does not seem to be running inside a container 14:26:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:26:08 $ docker top 3625aedb3c33e6f662ce59d08c90b6a5162d1fec84fef1266c14a28ba9e35b4d -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:08 + make test 14:26:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:26:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 14:26:17 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 14:26:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 14:26:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 14:26:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 14:26:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 14:26:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 14:26:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.0% of statements 14:26:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 81.2% of statements 14:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 14:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 14:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 14:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 14:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 14:26:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 27.0% of statements 14:26:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.161s coverage: 81.2% of statements 14:27:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 10.5% of statements 14:27:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 14:27:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 14:27:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 32.5% of statements 14:27:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 14:27:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 14:27:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 14:27:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 57.3% of statements 14:27:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.204s coverage: 6.6% of statements 14:27:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 14:27:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 14:27:06 GO111MODULE=on go vet ./... 14:27:14 gofmt -l . 14:27:14 [ "`gofmt -l .`" = "" ] 14:27:14 ./bin/test-attribution-txt.sh 14:27:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 14:27:15 $ docker stop --time=1 3625aedb3c33e6f662ce59d08c90b6a5162d1fec84fef1266c14a28ba9e35b4d 14:27:17 $ docker rm -f 3625aedb3c33e6f662ce59d08c90b6a5162d1fec84fef1266c14a28ba9e35b4d [Pipeline] // withDockerContainer [Pipeline] sh 14:27:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:27:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:27:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:27:22 + ls -al . 14:27:22 total 184 14:27:22 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 30 14:27 . 14:27:22 drwxrwxr-x. 4 jenkins jenkins 28 Mar 30 14:25 .. 14:27:22 drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 14:25 bin 14:27:22 -rw-r--r--. 1 jenkins jenkins 100081 Mar 30 14:27 coverage.out 14:27:22 -rw-rw-r--. 1 jenkins jenkins 949 Mar 30 14:25 Dockerfile.build 14:27:22 -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 14:25 .dockerignore 14:27:22 drwxrwxr-x. 5 jenkins jenkins 62 Mar 30 14:25 example 14:27:22 drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 14:25 .git 14:27:22 drwxrwxr-x. 2 jenkins jenkins 103 Mar 30 14:25 .github 14:27:22 -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 14:25 .gitignore 14:27:22 -rw-r--r--. 1 jenkins jenkins 479 Mar 30 14:27 go.mod 14:27:22 -rw-r--r--. 1 jenkins jenkins 17693 Mar 30 14:27 go.sum 14:27:22 drwxrwxr-x. 13 jenkins jenkins 193 Mar 30 14:25 internal 14:27:22 -rw-rw-r--. 1 jenkins jenkins 901 Mar 30 14:25 Jenkinsfile 14:27:22 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 14:25 LICENSE 14:27:22 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 30 14:25 Makefile 14:27:22 drwxrwxr-x. 4 jenkins jenkins 26 Mar 30 14:25 openapi 14:27:22 drwxrwxr-x. 5 jenkins jenkins 50 Mar 30 14:25 pkg 14:27:22 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 30 14:25 README.md 14:27:22 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 30 14:25 RELEASE-NOTES.txt 14:27:22 drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 14:25 snap 14:27:22 -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 14:22 VERSION 14:27:22 -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 14:25 version.go [Pipeline] isUnix [Pipeline] sh 14:27:22 + 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=405863b8552e159bc36ea9bb827e59e08bb4326e --label arch=amd64 --label version=0.0.0 . 14:27:22 Sending build context to Docker daemon 2.435MB 14:27:22 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 14:27:22 Step 2/24 : FROM ${BASE} AS builder 14:27:22 ---> a2548c1e9087 14:27:22 Step 3/24 : ARG MAKE='make build' 14:27:23 ---> Running in fa5716eac5af 14:27:23 Removing intermediate container fa5716eac5af 14:27:23 ---> c6367e4ab889 14:27:23 Step 4/24 : WORKDIR /device-sdk-go 14:27:23 ---> Running in 187cb3bccbaa 14:27:23 Removing intermediate container 187cb3bccbaa 14:27:23 ---> 06620dc9f094 14:27:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:27:23 ---> Running in 93e30b28f5b0 14:27:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.137s coverage: 10.5% of statements 14:27:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 14:27:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 14:27:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.243s coverage: 32.5% of statements 14:27:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 14:27:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 14:27:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 14:27:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.261s coverage: 57.3% of statements 14:27:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.951s coverage: 6.6% of statements 14:27:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.0% of statements 14:27:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 14:27:23 GO111MODULE=on go vet ./... 14:27:24 Removing intermediate container 93e30b28f5b0 14:27:24 ---> cb3d74db4985 14:27:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:27:24 ---> Running in 5fdf3801dbb9 14:27:25 Removing intermediate container 5fdf3801dbb9 14:27:25 ---> 1b183c6676cc 14:27:25 Step 7/24 : RUN apk add --update --no-cache make git 14:27:25 ---> Running in 9716a78ff1fb 14:27:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:27:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:27:26 OK: 166 MiB in 39 packages 14:27:26 Removing intermediate container 9716a78ff1fb 14:27:26 ---> 8d20ce04a41e 14:27:26 Step 8/24 : COPY . . 14:27:28 ---> 1d10530a3d04 14:27:28 Step 9/24 : RUN ${MAKE} 14:27:28 ---> Running in 7ca15f653d37 14:27:28 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 14:27:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:27:39 Removing intermediate container 7ca15f653d37 14:27:39 ---> 66fa2c5ed54a 14:27:39 Step 10/24 : FROM scratch 14:27:39 ---> 14:27:39 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:27:39 ---> Running in b5bf70207b01 14:27:39 Removing intermediate container b5bf70207b01 14:27:39 ---> 9f467561e7e0 14:27:39 Step 12/24 : ENV APP_PORT=49990 14:27:39 ---> Running in 43b39ae167e3 14:27:39 Removing intermediate container 43b39ae167e3 14:27:39 ---> 7728f146aae9 14:27:39 Step 13/24 : EXPOSE $APP_PORT 14:27:39 ---> Running in 5df3c85d3640 14:27:40 Removing intermediate container 5df3c85d3640 14:27:40 ---> eb61a9b8efd9 14:27:40 Step 14/24 : WORKDIR / 14:27:40 ---> Running in af99e9196f11 14:27:40 Removing intermediate container af99e9196f11 14:27:40 ---> a6dab8d98153 14:27:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:27:40 ---> 9ffbdaa59189 14:27:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:27:40 ---> 4fa8a7f50ff4 14:27:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:27:41 ---> 318218e86fd2 14:27:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 14:27:41 ---> 20cb914aad74 14:27:41 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 14:27:41 ---> 8c6902e6e7fb 14:27:41 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 14:27:41 ---> Running in f12a07d0c492 14:27:41 Removing intermediate container f12a07d0c492 14:27:41 ---> 5629b42c0449 14:27:41 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:27:41 ---> Running in 525edede0f2a 14:27:42 Removing intermediate container 525edede0f2a 14:27:42 ---> 37c1745c1c30 14:27:42 Step 22/24 : LABEL arch=amd64 14:27:42 ---> Running in e661c4644b20 14:27:42 Removing intermediate container e661c4644b20 14:27:42 ---> f4b3322404b1 14:27:42 Step 23/24 : LABEL git_sha=405863b8552e159bc36ea9bb827e59e08bb4326e 14:27:42 ---> Running in 61f1a1056f1d 14:27:42 Removing intermediate container 61f1a1056f1d 14:27:42 ---> 855eed026df0 14:27:42 Step 24/24 : LABEL version=0.0.0 14:27:42 ---> Running in 396a644ceae9 14:27:42 Removing intermediate container 396a644ceae9 14:27:42 ---> e380e7daeb77 14:27:42 [Warning] One or more build-args [ARCH] were not consumed 14:27:42 Successfully built e380e7daeb77 14:27:42 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 14:27:44 ---> job-cost.sh 14:27:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-A5kI 14:27:56 gofmt -l . 14:27:56 [ "`gofmt -l .`" = "" ] 14:27:56 ./bin/test-attribution-txt.sh 14:27:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 14:27:58 $ docker stop --time=1 ff07e17f994face3628032188ed1800c992944b0467f2483c9f25fb2d304ca01 14:27:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:28:00 $ docker rm -f ff07e17f994face3628032188ed1800c992944b0467f2483c9f25fb2d304ca01 [Pipeline] // withDockerContainer [Pipeline] sh 14:28:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:28:01 Warning: overwriting stash ‘coverage-report’ 14:28:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:28:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:28:04 + ls -al . 14:28:04 total 220 14:28:04 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 14:27 . 14:28:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:24 .. 14:28:04 -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 14:24 .dockerignore 14:28:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 14:24 .git 14:28:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 14:24 .github 14:28:04 -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 14:24 .gitignore 14:28:04 -rw-rw-r-- 1 jenkins jenkins 949 Mar 30 14:24 Dockerfile.build 14:28:04 -rw-rw-r-- 1 jenkins jenkins 901 Mar 30 14:24 Jenkinsfile 14:28:04 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 14:24 LICENSE 14:28:04 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 30 14:24 Makefile 14:28:04 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 30 14:24 README.md 14:28:04 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 30 14:24 RELEASE-NOTES.txt 14:28:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 14:22 VERSION 14:28:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 14:24 bin 14:28:04 -rw-r--r-- 1 jenkins jenkins 100081 Mar 30 14:27 coverage.out 14:28:04 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 14:24 example 14:28:04 -rw-r--r-- 1 jenkins jenkins 479 Mar 30 14:27 go.mod 14:28:04 -rw-r--r-- 1 jenkins jenkins 17693 Mar 30 14:27 go.sum 14:28:04 drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 14:24 internal 14:28:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:24 openapi 14:28:04 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 14:24 pkg 14:28:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:24 snap 14:28:04 -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 14:24 version.go [Pipeline] isUnix [Pipeline] sh 14:28:04 + 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=405863b8552e159bc36ea9bb827e59e08bb4326e --label arch=arm64 --label version=0.0.0 . 14:28:04 Sending build context to Docker daemon 2.434MB 14:28:05 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 14:28:05 Step 2/24 : FROM ${BASE} AS builder 14:28:05 ---> 9e2a97506fbc 14:28:05 Step 3/24 : ARG MAKE='make build' 14:28:05 ---> Running in 8d7e9e388592 14:28:05 Removing intermediate container 8d7e9e388592 14:28:05 ---> 4f3002a2802c 14:28:05 Step 4/24 : WORKDIR /device-sdk-go 14:28:05 ---> Running in 9ea2f5e9b0c5 14:28:06 Removing intermediate container 9ea2f5e9b0c5 14:28:06 ---> 94d425e22751 14:28:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:28:06 ---> Running in e8ad39d6f410 14:28:07 Removing intermediate container e8ad39d6f410 14:28:07 ---> 38ff2bac9ce7 14:28:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:28:07 ---> Running in 46e3c5f4b2e7 14:28:08 Removing intermediate container 46e3c5f4b2e7 14:28:08 ---> 21348a7c6e8b 14:28:08 Step 7/24 : RUN apk add --update --no-cache make git 14:28:09 ---> Running in d70e9bf4ad7a 14:28:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:28:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:28:11 OK: 142 MiB in 39 packages 14:28:12 Removing intermediate container d70e9bf4ad7a 14:28:12 ---> d3ce498d1dee 14:28:12 Step 8/24 : COPY . . 14:28:13 ---> ef3bd70d6212 14:28:13 Step 9/24 : RUN ${MAKE} 14:28:13 ---> Running in c7be892cd4e5 14:28:14 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 14:28:31 lf-activate-venv(): INFO: Adding /tmp/venv-A5kI/bin to PATH 14:28:31 INFO: No Stack... 14:28:31 INFO: Retrieving Pricing Info for: v1-standard-2 14:28:31 INFO: Archiving Costs [Pipeline] sh 14:28:31 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 14:28:31 + cut -d, -f6 [Pipeline] lock 14:28:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] 14:28:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] did not exist. Created. 14:28:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:28:31 + echo total: 0.029999999329447746 [Pipeline] stash 14:28:32 Stashed 1 file(s) [Pipeline] } 14:28:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:28:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:28:43 Removing intermediate container c7be892cd4e5 14:28:43 ---> 71e82fd99d3e 14:28:43 Step 10/24 : FROM scratch 14:28:43 ---> 14:28:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:28:43 ---> Running in cb9bce659b6a 14:28:43 Removing intermediate container cb9bce659b6a 14:28:43 ---> 434052b997cd 14:28:43 Step 12/24 : ENV APP_PORT=49990 14:28:43 ---> Running in 30614531ee65 14:28:44 Removing intermediate container 30614531ee65 14:28:44 ---> 4f862cc7f47e 14:28:44 Step 13/24 : EXPOSE $APP_PORT 14:28:44 ---> Running in a2621982c1fe 14:28:44 Removing intermediate container a2621982c1fe 14:28:44 ---> dd525d2b081a 14:28:44 Step 14/24 : WORKDIR / 14:28:44 ---> Running in 70c916fa8492 14:28:44 Removing intermediate container 70c916fa8492 14:28:44 ---> c4e20d8948b3 14:28:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:28:46 ---> a0a93f81cbdb 14:28:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:28:47 ---> 5b68f5aa1ed1 14:28:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:28:47 ---> dec3a17c3628 14:28:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 14:28:48 ---> 7b67217522bd 14:28:48 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 14:28:48 ---> ab437cf6ada8 14:28:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 14:28:49 ---> Running in 619359da8708 14:28:49 Removing intermediate container 619359da8708 14:28:49 ---> 7063454dd9ee 14:28:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:28:49 ---> Running in bd7b7a80aaec 14:28:49 Removing intermediate container bd7b7a80aaec 14:28:49 ---> 6ea2413fe306 14:28:49 Step 22/24 : LABEL arch=arm64 14:28:50 ---> Running in ca980cb7f021 14:28:50 Removing intermediate container ca980cb7f021 14:28:50 ---> 3a390e38e70f 14:28:50 Step 23/24 : LABEL git_sha=405863b8552e159bc36ea9bb827e59e08bb4326e 14:28:50 ---> Running in 9c81a0c51147 14:28:51 Removing intermediate container 9c81a0c51147 14:28:51 ---> 492bac1e5593 14:28:51 Step 24/24 : LABEL version=0.0.0 14:28:51 ---> Running in 460a9f472905 14:28:51 Removing intermediate container 460a9f472905 14:28:51 ---> 46e783466862 14:28:51 [Warning] One or more build-args [ARCH] were not consumed 14:28:51 Successfully built 46e783466862 14:28:51 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 14:28:52 ---> job-cost.sh 14:28:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kCXm 14:29:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:30:53 lf-activate-venv(): INFO: Adding /tmp/venv-kCXm/bin to PATH 14:30:53 INFO: No Stack... 14:30:54 INFO: Retrieving Pricing Info for: lf-standard-4 14:30:54 INFO: Archiving Costs [Pipeline] sh 14:30:55 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 14:30:55 + cut -d, -f6 [Pipeline] lock 14:30:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] 14:30:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] did not exist. Created. 14:30:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:30:55 /w/workspace/device-sdk-go/2@tmp/durable-99d422fd/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-99d422fd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:30:55 + echo total: 0.20999999344348907 [Pipeline] stash 14:30:56 Warning: overwriting stash ‘stack-cost’ 14:30:56 Stashed 1 file(s) [Pipeline] } 14:30:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-847-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 14:30:57 provisioning config files... 14:30:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config3459570099286150418tmp [Pipeline] { [Pipeline] sh 14:30:58 + set +x 14:30:58 + curl -s https://codecov.io/bash 14:30:58 + bash -s -- 14:30:58 14:30:58 _____ _ 14:30:58 / ____| | | 14:30:58 | | ___ __| | ___ ___ _____ __ 14:30:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:30:58 | |___| (_) | (_| | __/ (_| (_) \ V / 14:30:58 \_____\___/ \__,_|\___|\___\___/ \_/ 14:30:58 Bash-20210309-2b87ace 14:30:58 14:30:58 14:30:58 ==> git version 2.24.3 found 14:30:58 ==> 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 14:30:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:30:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:30:58 ==> Jenkins CI detected. 14:30:58 project root: . 14:30:58 --> token set from env 14:30:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:30:58 ==> Running gcov in . (disable via -X gcov) 14:30:58 ==> Python coveragepy not found 14:30:58 ==> Searching for coverage reports in: 14:30:58 + . 14:30:58 -> Found 1 reports 14:30:58 ==> Detecting git/mercurial file structure 14:30:58 ==> Reading reports 14:30:58 + ./coverage.out bytes=100081 14:30:58 ==> Appending adjustments 14:30:58 https://docs.codecov.io/docs/fixing-reports 14:30:58 + Found adjustments 14:30:58 ==> Gzipping contents 14:30:58 16K /tmp/codecov.rpw1Ks.gz 14:30:58 ==> Uploading reports 14:30:58 url: https://codecov.io 14:30:58 query: branch=PR-847&commit=405863b8552e159bc36ea9bb827e59e08bb4326e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-847%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=847&job=&cmd_args= 14:30:58 -> Pinging Codecov 14:30:58 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-847&commit=405863b8552e159bc36ea9bb827e59e08bb4326e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-847%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=847&job=&cmd_args= 14:30:59 -> Uploading to 14:30:59 https://storage.googleapis.com/codecov/v4/raw/2021-03-30/7E55EF52A471D76F132DFD9A03CDDE97/405863b8552e159bc36ea9bb827e59e08bb4326e/8b05bf5e-ae91-4dfe-998c-bbcc851bd4fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210330T143059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3c1a0d56f39a7377dde52ea1bd0e4bb87b7cbd5ec5a1f4e708b1f9bf3cde556 14:30:59 % Total % Received % Xferd Average Speed Time Time Time Current 14:30:59 Dload Upload Total Spent Left Speed 14:30:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13543 0 0 100 13543 0 26563 --:--:-- --:--:-- --:--:-- 26554 100 13543 0 0 100 13543 0 26552 --:--:-- --:--:-- --:--:-- 26554 14:30:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/405863b8552e159bc36ea9bb827e59e08bb4326e [Pipeline] } 14:30:59 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 14:31:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:31:02 ---> package-listing.sh 14:31:02 ++ tr '[:upper:]' '[:lower:]' 14:31:02 ++ facter osfamily 14:31:02 + OS_FAMILY=redhat 14:31:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-847 14:31:02 + START_PACKAGES=/tmp/packages_start.txt 14:31:02 + END_PACKAGES=/tmp/packages_end.txt 14:31:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:31:02 + PACKAGES=/tmp/packages_start.txt 14:31:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-847 ']' 14:31:02 + PACKAGES=/tmp/packages_end.txt 14:31:02 + case "${OS_FAMILY}" in 14:31:02 + rpm -qa 14:31:02 + sort 14:31:08 + '[' -f /tmp/packages_start.txt ']' 14:31:08 + '[' -f /tmp/packages_end.txt ']' 14:31:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:31:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-847 ']' 14:31:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-847/archives/ 14:31:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-847/archives/ [Pipeline] echo 14:31:08 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-847/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:31:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:31:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:31:08 14:31:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:31:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:31:10 alpine: Pulling from edgex-lftools-log-publisher 14:31:10 df20fa9351a1: Pulling fs layer 14:31:10 36b3adc4ff6f: Pulling fs layer 14:31:10 8ad3a11d3b57: Pulling fs layer 14:31:10 46f8f816bc3b: Pulling fs layer 14:31:10 93b61091891f: Pulling fs layer 14:31:10 93b9cdb0e59b: Pulling fs layer 14:31:10 5e14af77c1be: Pulling fs layer 14:31:10 01666e4c0597: Pulling fs layer 14:31:10 aa168da1d23b: Pulling fs layer 14:31:10 46f8f816bc3b: Waiting 14:31:10 01666e4c0597: Waiting 14:31:10 93b9cdb0e59b: Waiting 14:31:10 5e14af77c1be: Waiting 14:31:10 aa168da1d23b: Waiting 14:31:10 93b61091891f: Waiting 14:31:10 36b3adc4ff6f: Download complete 14:31:10 46f8f816bc3b: Verifying Checksum 14:31:10 46f8f816bc3b: Download complete 14:31:10 df20fa9351a1: Verifying Checksum 14:31:10 df20fa9351a1: Download complete 14:31:10 93b61091891f: Verifying Checksum 14:31:10 93b61091891f: Download complete 14:31:10 93b9cdb0e59b: Verifying Checksum 14:31:10 93b9cdb0e59b: Download complete 14:31:10 5e14af77c1be: Verifying Checksum 14:31:10 5e14af77c1be: Download complete 14:31:10 01666e4c0597: Download complete 14:31:10 8ad3a11d3b57: Verifying Checksum 14:31:10 8ad3a11d3b57: Download complete 14:31:10 df20fa9351a1: Pull complete 14:31:10 36b3adc4ff6f: Pull complete 14:31:10 8ad3a11d3b57: Pull complete 14:31:10 46f8f816bc3b: Pull complete 14:31:11 93b61091891f: Pull complete 14:31:11 93b9cdb0e59b: Pull complete 14:31:11 aa168da1d23b: Verifying Checksum 14:31:11 aa168da1d23b: Download complete 14:31:12 5e14af77c1be: Pull complete 14:31:12 01666e4c0597: Pull complete 14:31:18 aa168da1d23b: Pull complete 14:31:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:31:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:31:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:31:18 prd-centos7-docker-4c-2g-32030 does not seem to be running inside a container 14:31:18 $ 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-847/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-847 -v /w/workspace/dgexfoundry_device-sdk-go_PR-847:/w/workspace/dgexfoundry_device-sdk-go_PR-847:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-847@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:10003/edgex-lftools-log-publisher:alpine cat 14:31:23 $ docker top ccd79186d868710f3f29b048fe250c486268b4f66237f80003909ae9c4f9856a -eo pid,comm [Pipeline] { [Pipeline] sh 14:31:23 + touch /tmp/pre-build-complete [Pipeline] sh 14:31:24 + mkdir -p /var/log/sa [Pipeline] sh 14:31:24 + ls /var/log/sa-host 14:31:24 + sadf -c /var/log/sa-host/sa23 14:31:24 file_magic: OK 14:31:24 HZ: Using current value: 100 14:31:24 file_header: OK 14:31:24 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 14:31:24 Statistics: 14:31:24 Hnuu...uuuununununu... 14:31:24 File successfully converted to sysstat format version 12.2.1 14:31:24 + sadf -c /var/log/sa-host/sa30 14:31:24 file_magic: OK 14:31:24 HZ: Using current value: 100 14:31:24 file_header: OK 14:31:24 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 14:31:24 Statistics: 14:31:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:31:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:31:24 provisioning config files... 14:31:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config1813134974923187892tmp [Pipeline] { [Pipeline] echo 14:31:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:31:25 ---> create-netrc.sh [Pipeline] } 14:31:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 14:31:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 14:31:25 ---> python-tools-install.sh [Pipeline] echo 14:31:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:31:25 ---> sudo-logs.sh 14:31:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:31:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:31:26 ---> job-cost.sh 14:31:26 lf-activate-venv: SKIPPING 14:31:26 DEBUG: total: 0.20999999344348907 14:31:26 INFO: Retrieving Stack Cost... 14:31:27 INFO: Retrieving Pricing Info for: v1-standard-2 14:31:27 INFO: Archiving Costs [Pipeline] echo 14:31:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:31:27 ---> logs-deploy.sh 14:31:27 lf-activate-venv: SKIPPING 14:31:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-847/2 14:31:27 INFO: archiving workspace using pattern(s): 14:31:29 Archives upload complete. 14:31:29 INFO: archiving logs to Nexus 14:31:30 ---> uname -a: 14:31:30 Linux prd-centos7-docker-4c-2g-32030.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 14:31:30 14:31:30 14:31:30 ---> lscpu: 14:31:30 Architecture: x86_64 14:31:30 CPU op-mode(s): 32-bit, 64-bit 14:31:30 Byte Order: Little Endian 14:31:30 Address sizes: 40 bits physical, 48 bits virtual 14:31:30 CPU(s): 4 14:31:30 On-line CPU(s) list: 0-3 14:31:30 Thread(s) per core: 1 14:31:30 Core(s) per socket: 1 14:31:30 Socket(s): 4 14:31:30 NUMA node(s): 1 14:31:30 Vendor ID: GenuineIntel 14:31:30 CPU family: 6 14:31:30 Model: 44 14:31:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:31:30 Stepping: 1 14:31:30 CPU MHz: 2933.438 14:31:30 BogoMIPS: 5866.87 14:31:30 Virtualization: VT-x 14:31:30 Hypervisor vendor: KVM 14:31:30 Virtualization type: full 14:31:30 L1d cache: 128 KiB 14:31:30 L1i cache: 128 KiB 14:31:30 L2 cache: 16 MiB 14:31:30 L3 cache: 64 MiB 14:31:30 NUMA node0 CPU(s): 0-3 14:31:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 14:31:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 14:31:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 14:31:30 Vulnerability Meltdown: Mitigation; PTI 14:31:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:31:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 14:31:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 14:31:30 Vulnerability Srbds: Not affected 14:31:30 Vulnerability Tsx async abort: Not affected 14:31:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 14:31:30 14:31:30 14:31:30 ---> nproc: 14:31:30 4 14:31:30 14:31:30 14:31:30 ---> df -h: 14:31:30 Filesystem Size Used Available Use% Mounted on 14:31:30 overlay 50.0G 7.3G 42.7G 15% / 14:31:30 tmpfs 64.0M 0 64.0M 0% /dev 14:31:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 14:31:30 shm 64.0M 0 64.0M 0% /dev/shm 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-847 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 14:31:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 14:31:30 14:31:30 14:31:30 ---> free -m: 14:31:30 total used free shared buff/cache available 14:31:30 Mem: 1837 685 100 0 1052 1047 14:31:30 Swap: 1023 1 1022 14:31:30 14:31:30 14:31:30 ---> ip addr: 14:31:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:31:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:31:30 inet 127.0.0.1/8 scope host lo 14:31:30 valid_lft forever preferred_lft forever 14:31:30 inet6 ::1/128 scope host 14:31:30 valid_lft forever preferred_lft forever 14:31:30 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 14:31:30 link/ether fa:16:3e:ae:1b:b5 brd ff:ff:ff:ff:ff:ff 14:31:30 inet 10.30.122.185/23 brd 10.30.123.255 scope global dynamic eth0 14:31:30 valid_lft 85801sec preferred_lft 85801sec 14:31:30 inet6 fe80::f816:3eff:feae:1bb5/64 scope link 14:31:30 valid_lft forever preferred_lft forever 14:31:30 3: docker0: mtu 1500 qdisc noqueue state DOWN 14:31:30 link/ether 02:42:38:11:13:31 brd ff:ff:ff:ff:ff:ff 14:31:30 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:31:30 valid_lft forever preferred_lft forever 14:31:30 inet6 fe80::42:38ff:fe11:1331/64 scope link 14:31:30 valid_lft forever preferred_lft forever 14:31:30 14:31:30 14:31:30 ---> sar -b -r -n DEV: 14:31:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/30/21 _x86_64_ (4 CPU) 14:31:30 14:31:30 14:21:20 LINUX RESTART (4 CPU) 14:31:30 14:31:30 14:22:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:31:30 14:23:01 43.33 11.22 32.11 0.00 4392.11 2952.14 0.00 14:31:30 14:24:01 1.82 0.00 1.82 0.00 0.00 36.90 0.00 14:31:30 14:25:01 0.25 0.00 0.25 0.00 0.00 2.85 0.00 14:31:30 14:26:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 14:31:30 14:27:01 0.22 0.00 0.22 0.00 0.00 2.75 0.00 14:31:30 14:28:01 0.35 0.00 0.35 0.00 0.00 4.90 0.00 14:31:30 14:29:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 14:31:30 14:30:01 0.22 0.00 0.22 0.00 0.00 2.56 0.00 14:31:30 14:31:01 0.43 0.08 0.35 0.00 7.33 8.41 0.00 14:31:30 Average: 5.24 1.26 3.99 0.00 489.01 335.35 0.00 14:31:30 14:31:30 14:22:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:31:30 14:23:01 145920 0 577280 30.68 2620 1155724 1126060 38.43 402152 1133144 24 14:31:30 14:24:01 152976 0 570216 30.31 2620 1155732 1078100 36.79 400004 1129548 12 14:31:30 14:25:01 151976 0 571212 30.36 2620 1155736 1078268 36.80 410492 1120252 8 14:31:30 14:26:01 150124 0 573064 30.46 2620 1155736 1078376 36.80 412384 1119732 8 14:31:30 14:27:01 148680 0 574500 30.53 2620 1155744 1078184 36.80 419840 1114524 8 14:31:30 14:28:01 148744 0 574432 30.53 2620 1155748 1078148 36.80 419784 1114524 8 14:31:30 14:29:01 149104 0 574068 30.51 2620 1155752 1078100 36.79 419644 1114520 8 14:31:30 14:30:01 149140 0 574028 30.51 2620 1155756 1078100 36.79 419540 1114520 8 14:31:30 14:31:01 145564 0 577260 30.68 2620 1156100 1078812 36.82 422188 1114616 16 14:31:30 Average: 149136 0 574007 30.51 2620 1155781 1083572 36.98 414003 1119487 11 14:31:30 14:31:30 14:22:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:31:30 14:23:01 eth0 152.67 113.13 476.64 49.03 0.00 0.00 0.00 0.00 14:31:30 14:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:23:01 docker0 8.39 6.04 1.43 24.06 0.00 0.00 0.00 0.00 14:31:30 14:24:01 eth0 0.72 0.00 0.06 0.00 0.00 0.00 0.00 0.00 14:31:30 14:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:25:01 eth0 1.08 0.50 0.33 0.18 0.00 0.00 0.00 0.00 14:31:30 14:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:26:01 eth0 0.50 0.32 0.27 0.23 0.00 0.00 0.00 0.00 14:31:30 14:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:27:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 14:31:30 14:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:28:01 eth0 0.20 0.13 0.07 0.01 0.00 0.00 0.00 0.00 14:31:30 14:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:29:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:31:30 14:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:30:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:31:30 14:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:31:01 eth0 5.08 3.31 4.83 1.88 0.00 0.00 0.00 0.00 14:31:30 14:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 14:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 Average: eth0 17.85 13.09 53.61 5.71 0.00 0.00 0.00 0.00 14:31:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:30 Average: docker0 0.93 0.67 0.16 2.67 0.00 0.00 0.00 0.00 14:31:30 14:31:30 14:31:30 ---> sar -P ALL: 14:31:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/30/21 _x86_64_ (4 CPU) 14:31:30 14:31:30 14:21:20 LINUX RESTART (4 CPU) 14:31:30 14:31:30 14:22:01 CPU %user %nice %system %iowait %steal %idle 14:31:30 14:23:01 all 3.88 0.00 2.09 0.97 0.03 93.03 14:31:30 14:23:01 0 3.86 0.00 2.35 0.15 0.02 93.62 14:31:30 14:23:01 1 4.32 0.00 2.00 0.13 0.03 93.51 14:31:30 14:23:01 2 3.54 0.00 2.06 3.27 0.03 91.09 14:31:30 14:23:01 3 3.78 0.00 1.96 0.32 0.03 93.91 14:31:30 14:24:01 all 0.14 0.00 0.05 0.00 0.01 99.81 14:31:30 14:24:01 0 0.07 0.00 0.07 0.00 0.02 99.85 14:31:30 14:24:01 1 0.03 0.00 0.03 0.00 0.00 99.93 14:31:30 14:24:01 2 0.43 0.00 0.07 0.00 0.02 99.48 14:31:30 14:24:01 3 0.02 0.00 0.02 0.00 0.00 99.97 14:31:30 14:25:01 all 0.20 0.00 0.21 0.00 0.01 99.58 14:31:30 14:25:01 0 0.08 0.00 0.22 0.00 0.00 99.70 14:31:30 14:25:01 1 0.05 0.00 0.15 0.00 0.00 99.80 14:31:30 14:25:01 2 0.57 0.00 0.25 0.00 0.02 99.17 14:31:30 14:25:01 3 0.10 0.00 0.22 0.00 0.02 99.67 14:31:30 14:26:01 all 0.11 0.00 0.03 0.00 0.00 99.85 14:31:30 14:26:01 0 0.07 0.00 0.03 0.00 0.02 99.88 14:31:30 14:26:01 1 0.02 0.00 0.02 0.00 0.00 99.97 14:31:30 14:26:01 2 0.33 0.00 0.05 0.00 0.00 99.62 14:31:30 14:26:01 3 0.03 0.00 0.03 0.00 0.00 99.93 14:31:30 14:27:01 all 0.04 0.00 0.08 0.00 0.02 99.86 14:31:30 14:27:01 0 0.02 0.00 0.05 0.00 0.03 99.90 14:31:30 14:27:01 1 0.05 0.00 0.13 0.00 0.02 99.80 14:31:30 14:27:01 2 0.07 0.00 0.10 0.00 0.00 99.83 14:31:30 14:27:01 3 0.03 0.00 0.05 0.00 0.02 99.90 14:31:30 14:28:01 all 0.15 0.00 0.02 0.00 0.01 99.82 14:31:30 14:28:01 0 0.02 0.00 0.02 0.00 0.00 99.97 14:31:30 14:28:01 1 0.02 0.00 0.02 0.00 0.00 99.97 14:31:30 14:28:01 2 0.48 0.00 0.02 0.00 0.02 99.48 14:31:30 14:28:01 3 0.08 0.00 0.05 0.00 0.02 99.85 14:31:30 14:29:01 all 0.15 0.00 0.03 0.00 0.00 99.82 14:31:30 14:29:01 0 0.02 0.00 0.02 0.00 0.00 99.97 14:31:30 14:29:01 1 0.02 0.00 0.02 0.00 0.00 99.97 14:31:30 14:29:01 2 0.53 0.00 0.03 0.00 0.00 99.43 14:31:30 14:29:01 3 0.05 0.00 0.05 0.00 0.00 99.90 14:31:30 14:30:01 all 0.16 0.00 0.04 0.00 0.00 99.80 14:31:30 14:30:01 0 0.02 0.00 0.02 0.00 0.00 99.97 14:31:30 14:30:01 1 0.05 0.00 0.07 0.00 0.02 99.87 14:31:30 14:30:01 2 0.53 0.00 0.02 0.00 0.00 99.45 14:31:30 14:30:01 3 0.05 0.00 0.05 0.00 0.00 99.90 14:31:30 14:31:01 all 0.58 0.00 0.30 0.00 0.00 99.12 14:31:30 14:31:01 0 0.27 0.00 0.20 0.02 0.00 99.52 14:31:30 14:31:01 1 0.50 0.00 0.35 0.00 0.00 99.15 14:31:30 14:31:01 2 0.70 0.00 0.40 0.00 0.00 98.90 14:31:30 14:31:01 3 0.83 0.00 0.23 0.00 0.00 98.93 14:31:30 Average: all 0.60 0.00 0.32 0.11 0.01 98.97 14:31:30 Average: 0 0.49 0.00 0.33 0.02 0.01 99.16 14:31:30 Average: 1 0.56 0.00 0.31 0.01 0.01 99.11 14:31:30 Average: 2 0.80 0.00 0.33 0.36 0.01 98.50 14:31:30 Average: 3 0.55 0.00 0.29 0.04 0.01 99.11 14:31:30 14:31:30 14:31:30