Pull request #927 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 372e99ca876ece373d1b1b98c54a0006c7b8c464+266a89ca2ac5ad8320be3c902ec129d812bcfa66 (c4b609c5446277cb77436af9cc414597f8458180) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-5107’ is offline; ‘prd-centos7-docker-4c-2g-5108’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-5099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-5100’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-5103’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5111 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [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-927 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 266a89ca2ac5ad8320be3c902ec129d812bcfa66 into PR head commit 372e99ca876ece373d1b1b98c54a0006c7b8c464 Merge succeeded, producing 372e99ca876ece373d1b1b98c54a0006c7b8c464 Checking out Revision 372e99ca876ece373d1b1b98c54a0006c7b8c464 (PR-927) > 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/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 372e99ca876ece373d1b1b98c54a0006c7b8c464 # 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 266a89ca2ac5ad8320be3c902ec129d812bcfa66 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 372e99ca876ece373d1b1b98c54a0006c7b8c464 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk 311f2bb00fb3e0fe2386e99dd9959fda52599076 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:51:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:51:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:51:28 ========================================================= 08:51:28 EdgeX Global Pipelines Version Info 08:51:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:51:29 ------------------- 08:51:29 stable info: 08:51:29 ------------------- 08:51:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:51:29 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:51:29 Message: update stable to v1.0.192 08:51:31 ------------------- 08:51:31 experimental info: 08:51:31 ------------------- 08:51:31 Commited By: **** collab-it+edgex@linuxfoundation.org 08:51:31 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:51:31 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:51:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-927 [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-927 [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-927 [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 372e99ca876ece373d1b1b98c54a0006c7b8c464 [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 372e99c [Pipeline] echo 08:51:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:51:32 provisioning config files... 08:51:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config144475324776795689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:32 ---> docker-login.sh 08:51:32 nexus3.edgexfoundry.org:10001 08:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:33 Configure a credential helper to remove this warning. See 08:51:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:33 08:51:33 Login Succeeded 08:51:33 nexus3.edgexfoundry.org:10002 08:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:34 Configure a credential helper to remove this warning. See 08:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:34 08:51:34 Login Succeeded 08:51:34 nexus3.edgexfoundry.org:10003 08:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:34 Configure a credential helper to remove this warning. See 08:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:34 08:51:34 Login Succeeded 08:51:34 nexus3.edgexfoundry.org:10004 08:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:34 Configure a credential helper to remove this warning. See 08:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:34 08:51:34 Login Succeeded 08:51:34 docker.io 08:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:35 Configure a credential helper to remove this warning. See 08:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:35 08:51:35 Login Succeeded 08:51:35 ---> docker-login.sh ends [Pipeline] } 08:51:35 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 08:51:35 + git log --format=format:%s -1 372e99ca876ece373d1b1b98c54a0006c7b8c464 [Pipeline] echo 08:51:35 GIT_COMMIT: 372e99ca876ece373d1b1b98c54a0006c7b8c464, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 08:51:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:36 08:51:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:51:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:36 latest: Pulling from edgex-devops/git-semver 08:51:36 31603596830f: Pulling fs layer 08:51:36 54011a49482f: Pulling fs layer 08:51:36 a6820b24f6d8: Pulling fs layer 08:51:36 f581987b2513: Pulling fs layer 08:51:36 f581987b2513: Waiting 08:51:36 54011a49482f: Verifying Checksum 08:51:36 54011a49482f: Download complete 08:51:37 31603596830f: Verifying Checksum 08:51:37 31603596830f: Download complete 08:51:37 f581987b2513: Verifying Checksum 08:51:37 f581987b2513: Download complete 08:51:37 a6820b24f6d8: Verifying Checksum 08:51:37 a6820b24f6d8: Download complete 08:51:37 31603596830f: Pull complete 08:51:37 54011a49482f: Pull complete 08:51:39 a6820b24f6d8: Pull complete 08:51:39 f581987b2513: Pull complete 08:51:39 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:51:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:51:39 prd-centos7-docker-4c-2g-5111 does not seem to be running inside a container 08:51:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-927 -v /w/workspace/dgexfoundry_device-sdk-go_PR-927:/w/workspace/dgexfoundry_device-sdk-go_PR-927:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:51:42 $ docker top ceef739a07cfca4cbe509a4f1dc2e5ac14b8cabbac037937bf2a4fa21e791b87 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:51:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:43 [ssh-agent] Looking for ssh-agent implementation... 08:51:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:43 $ docker exec ceef739a07cfca4cbe509a4f1dc2e5ac14b8cabbac037937bf2a4fa21e791b87 ssh-agent 08:51:44 SSH_AUTH_SOCK=/tmp/ssh-eqRbM23aE96M/agent.12 08:51:44 SSH_AGENT_PID=18 08:51:44 Running ssh-add (command line suppressed) 08:51:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_3461695524615340317.key (/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_3461695524615340317.key) 08:51:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:44 + git tag --points-at HEAD [Pipeline] } 08:51:44 $ docker exec --env ******** --env ******** ceef739a07cfca4cbe509a4f1dc2e5ac14b8cabbac037937bf2a4fa21e791b87 ssh-agent -k 08:51:45 unset SSH_AUTH_SOCK; 08:51:45 unset SSH_AGENT_PID; 08:51:45 echo Agent pid 18 killed; 08:51:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:51:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:45 [ssh-agent] Looking for ssh-agent implementation... 08:51:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:45 $ docker exec ceef739a07cfca4cbe509a4f1dc2e5ac14b8cabbac037937bf2a4fa21e791b87 ssh-agent 08:51:45 SSH_AUTH_SOCK=/tmp/ssh-FIupSU4eE16L/agent.47 08:51:45 SSH_AGENT_PID=52 08:51:45 Running ssh-add (command line suppressed) 08:51:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_3255987478669554087.key (/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_3255987478669554087.key) 08:51:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:46 + git semver init 08:51:46 # -> Open(): unable to determine branch for HEAD 08:51:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-927/.git 08:51:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-927 08:51:46 # $SEMVER_REMOTE_NAME = origin 08:51:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:51:46 # $SEMVER_USER_NAME = edgex-jenkins 08:51:46 # $SEMVER_BRANCH = PR-927 08:51:46 # $SEMVER_TEMP = /tmp/semver-507582347 08:51:46 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:51:47 # '/tmp/semver-507582347' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-927/.semver' 08:51:47 # -> Force: false 08:51:47 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-927/.semver [Pipeline] } 08:51:47 $ docker exec --env ******** --env ******** ceef739a07cfca4cbe509a4f1dc2e5ac14b8cabbac037937bf2a4fa21e791b87 ssh-agent -k 08:51:47 unset SSH_AUTH_SOCK; 08:51:47 unset SSH_AGENT_PID; 08:51:47 echo Agent pid 52 killed; 08:51:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:51:47 + git semver [Pipeline] } 08:51:47 $ docker stop --time=1 ceef739a07cfca4cbe509a4f1dc2e5ac14b8cabbac037937bf2a4fa21e791b87 08:51:49 $ docker rm -f ceef739a07cfca4cbe509a4f1dc2e5ac14b8cabbac037937bf2a4fa21e791b87 [Pipeline] // withDockerContainer [Pipeline] sh 08:51:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:51:51 Stashed 1 file(s) [Pipeline] echo 08:51:51 [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 08:52:06 Still waiting to schedule task 08:52:06 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:52:06 Still waiting to schedule task 08:52:06 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:53:42 Running on prd-centos7-docker-4c-2g-5116 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [Pipeline] { [Pipeline] ws 08:53:42 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 08:53:45 using credential edgex-jenkins-ssh 08:53:45 Cloning the remote Git repository 08:53:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:53:44 > git init /w/workspace/device-sdk-go/4 # timeout=10 08:53:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:53:44 > git --version # timeout=10 08:53:45 > git --version # 'git version 2.24.3' 08:53:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:53:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:53:46 Merging remotes/origin/master commit 266a89ca2ac5ad8320be3c902ec129d812bcfa66 into PR head commit 372e99ca876ece373d1b1b98c54a0006c7b8c464 08:53:46 Merge succeeded, producing 372e99ca876ece373d1b1b98c54a0006c7b8c464 08:53:46 Checking out Revision 372e99ca876ece373d1b1b98c54a0006c7b8c464 (PR-927) 08:53:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:53:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:53:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:53:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:53:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:53:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:53:46 > git config core.sparsecheckout # timeout=10 08:53:46 > git checkout -f 372e99ca876ece373d1b1b98c54a0006c7b8c464 # timeout=10 08:53:46 > git remote # timeout=10 08:53:46 > git config --get remote.origin.url # timeout=10 08:53:46 using GIT_SSH to set credentials SSH Credentials for GitHub 08:53:46 > git merge 266a89ca2ac5ad8320be3c902ec129d812bcfa66 # timeout=10 08:53:46 > git rev-parse HEAD^{commit} # timeout=10 08:53:46 > git config core.sparsecheckout # timeout=10 08:53:46 > git checkout -f 372e99ca876ece373d1b1b98c54a0006c7b8c464 # timeout=10 08:53:50 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:53:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:53:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:53:52 + sudo service docker restart 08:53:52 + true 08:53:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:53:53 provisioning config files... 08:53:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7441379296565436570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:53:54 ---> docker-login.sh 08:53:54 nexus3.edgexfoundry.org:10001 08:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:54 Configure a credential helper to remove this warning. See 08:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:54 08:53:54 Login Succeeded 08:53:54 nexus3.edgexfoundry.org:10002 08:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:54 Configure a credential helper to remove this warning. See 08:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:54 08:53:54 Login Succeeded 08:53:54 nexus3.edgexfoundry.org:10003 08:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:55 Configure a credential helper to remove this warning. See 08:53:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:55 08:53:55 Login Succeeded 08:53:55 nexus3.edgexfoundry.org:10004 08:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:55 Configure a credential helper to remove this warning. See 08:53:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:55 08:53:55 Login Succeeded 08:53:55 docker.io 08:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:55 Configure a credential helper to remove this warning. See 08:53:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:55 08:53:55 Login Succeeded 08:53:55 ---> docker-login.sh ends [Pipeline] } 08:53:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:53:56 ========================================================= 08:53:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:53:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:53:56 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 08:53:56 Sending build context to Docker daemon 2.563MB 08:53:56 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:53:56 Step 2/8 : FROM ${BASE} 08:53:56 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:53:56 540db60ca938: Pulling fs layer 08:53:56 adcc1eea9eea: Pulling fs layer 08:53:56 4c4ab2625f07: Pulling fs layer 08:53:56 0510c868ecb4: Pulling fs layer 08:53:56 afea3b2eda06: Pulling fs layer 08:53:56 7809a108b3ef: Pulling fs layer 08:53:56 f706445af74f: Pulling fs layer 08:53:56 0510c868ecb4: Waiting 08:53:56 afea3b2eda06: Waiting 08:53:56 f706445af74f: Waiting 08:53:56 4c4ab2625f07: Verifying Checksum 08:53:56 4c4ab2625f07: Download complete 08:53:56 adcc1eea9eea: Download complete 08:53:56 afea3b2eda06: Verifying Checksum 08:53:56 afea3b2eda06: Download complete 08:53:56 7809a108b3ef: Download complete 08:53:56 540db60ca938: Verifying Checksum 08:53:56 540db60ca938: Download complete 08:53:57 540db60ca938: Pull complete 08:53:57 adcc1eea9eea: Pull complete 08:53:57 4c4ab2625f07: Pull complete 08:53:58 f706445af74f: Verifying Checksum 08:53:58 f706445af74f: Download complete 08:53:59 0510c868ecb4: Verifying Checksum 08:53:59 0510c868ecb4: Download complete 08:54:06 0510c868ecb4: Pull complete 08:54:06 afea3b2eda06: Pull complete 08:54:06 7809a108b3ef: Pull complete 08:54:10 f706445af74f: Pull complete 08:54:10 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 08:54:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:54:10 ---> b068be0155e3 08:54:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:54:11 ---> Running in 7d82bacb9f3a 08:54:11 Removing intermediate container 7d82bacb9f3a 08:54:11 ---> e169f6e38c90 08:54:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:11 ---> Running in fba63c08c38e 08:54:12 Removing intermediate container fba63c08c38e 08:54:12 ---> deba8a147650 08:54:12 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:54:12 ---> Running in caab0865ab58 08:54:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:54:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:54:15 (1/6) Installing libc-dev (0.7.2-r3) 08:54:15 (2/6) Installing libsodium (1.0.18-r0) 08:54:15 (3/6) Installing pkgconf (1.7.3-r0) 08:54:15 (4/6) Installing libsodium-dev (1.0.18-r0) 08:54:15 (5/6) Installing libzmq (4.3.3-r1) 08:54:15 (6/6) Installing zeromq-dev (4.3.3-r1) 08:54:15 Executing busybox-1.32.1-r6.trigger 08:54:15 OK: 150 MiB in 46 packages 08:54:16 Removing intermediate container caab0865ab58 08:54:16 ---> 02969b846c87 08:54:16 Step 6/8 : WORKDIR /device-sdk-go 08:54:16 ---> Running in d94ebce1803f 08:54:17 Removing intermediate container d94ebce1803f 08:54:17 ---> 1bf10e638358 08:54:17 Step 7/8 : COPY . . 08:54:17 ---> ce6c37778c60 08:54:17 Step 8/8 : RUN go mod download 08:54:18 ---> Running in 40285bfaa604 08:54:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5119 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [Pipeline] { [Pipeline] ws 08:54:40 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 08:54:44 Removing intermediate container 40285bfaa604 08:54:44 ---> 888ce690ced7 08:54:44 Successfully built 888ce690ced7 08:54:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:54:45 + docker inspect -f . ci-base-image-x86_64 08:54:45 . [Pipeline] withDockerContainer 08:54:45 prd-centos7-docker-4c-2g-5116 does not seem to be running inside a container 08:54:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:54:46 $ docker top 5f8d6aae97343d4c0ed7d8ddc11c0e9f6b3c7021b756ed58f59fc9baf03c021a -eo pid,comm [Pipeline] { [Pipeline] sh 08:54:46 + go version 08:54:46 go version go1.16.3 linux/amd64 [Pipeline] } 08:54:46 $ docker stop --time=1 5f8d6aae97343d4c0ed7d8ddc11c0e9f6b3c7021b756ed58f59fc9baf03c021a 08:54:46 using credential edgex-jenkins-ssh 08:54:46 Cloning the remote Git repository 08:54:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:54:47 > git init /w/workspace/device-sdk-go/4 # timeout=10 08:54:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:54:47 > git --version # timeout=10 08:54:47 > git --version # 'git version 2.17.1' 08:54:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:48 $ docker rm -f 5f8d6aae97343d4c0ed7d8ddc11c0e9f6b3c7021b756ed58f59fc9baf03c021a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:54:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:54:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:54:48 + docker inspect -f . ci-base-image-x86_64 08:54:48 . [Pipeline] withDockerContainer 08:54:48 prd-centos7-docker-4c-2g-5116 does not seem to be running inside a container 08:54:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:54:49 Merging remotes/origin/master commit 266a89ca2ac5ad8320be3c902ec129d812bcfa66 into PR head commit 372e99ca876ece373d1b1b98c54a0006c7b8c464 08:54:49 Merge succeeded, producing 372e99ca876ece373d1b1b98c54a0006c7b8c464 08:54:49 Checking out Revision 372e99ca876ece373d1b1b98c54a0006c7b8c464 (PR-927) 08:54:49 $ docker top 695b2c5538f44c14108ed604947c8670484378849b09766836764b72beb6d87e -eo pid,comm [Pipeline] { [Pipeline] sh 08:54:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:54:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:54:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:54:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:49 > git config core.sparsecheckout # timeout=10 08:54:49 > git checkout -f 372e99ca876ece373d1b1b98c54a0006c7b8c464 # timeout=10 08:54:49 > git remote # timeout=10 08:54:49 > git config --get remote.origin.url # timeout=10 08:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:49 > git merge 266a89ca2ac5ad8320be3c902ec129d812bcfa66 # timeout=10 08:54:49 > git rev-parse HEAD^{commit} # timeout=10 08:54:49 > git config core.sparsecheckout # timeout=10 08:54:49 > git checkout -f 372e99ca876ece373d1b1b98c54a0006c7b8c464 # timeout=10 08:54:50 + go mod tidy [Pipeline] sh 08:54:51 + make test 08:54:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:54:53 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:54:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:54:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:54:55 + sudo service docker restart 08:54:55 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:54:58 provisioning config files... 08:54:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4853769655869090736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:54:58 ---> docker-login.sh 08:54:58 nexus3.edgexfoundry.org:10001 08:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:00 Configure a credential helper to remove this warning. See 08:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:00 08:55:00 Login Succeeded 08:55:00 nexus3.edgexfoundry.org:10002 08:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:00 Configure a credential helper to remove this warning. See 08:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:00 08:55:00 Login Succeeded 08:55:00 nexus3.edgexfoundry.org:10003 08:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:01 Configure a credential helper to remove this warning. See 08:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:01 08:55:01 Login Succeeded 08:55:01 nexus3.edgexfoundry.org:10004 08:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:01 Configure a credential helper to remove this warning. See 08:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:01 08:55:01 Login Succeeded 08:55:01 docker.io 08:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:02 Configure a credential helper to remove this warning. See 08:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:02 08:55:02 Login Succeeded 08:55:02 ---> docker-login.sh ends [Pipeline] } 08:55:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:55:03 ========================================================= 08:55:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:55:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:55:03 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 08:55:03 Sending build context to Docker daemon 2.562MB 08:55:03 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:55:03 Step 2/8 : FROM ${BASE} 08:55:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:55:03 595b0fe564bb: Pulling fs layer 08:55:03 7186ed65a4f7: Pulling fs layer 08:55:03 316046926c0a: Pulling fs layer 08:55:03 4ebd0625c992: Pulling fs layer 08:55:03 207e8628e3a3: Pulling fs layer 08:55:03 c791037a9be2: Pulling fs layer 08:55:03 ffd874e62e21: Pulling fs layer 08:55:03 4ebd0625c992: Waiting 08:55:03 207e8628e3a3: Waiting 08:55:03 c791037a9be2: Waiting 08:55:03 ffd874e62e21: Waiting 08:55:03 316046926c0a: Verifying Checksum 08:55:03 316046926c0a: Download complete 08:55:03 7186ed65a4f7: Verifying Checksum 08:55:03 7186ed65a4f7: Download complete 08:55:03 207e8628e3a3: Verifying Checksum 08:55:03 207e8628e3a3: Download complete 08:55:03 c791037a9be2: Download complete 08:55:03 595b0fe564bb: Verifying Checksum 08:55:03 595b0fe564bb: Download complete 08:55:04 595b0fe564bb: Pull complete 08:55:05 7186ed65a4f7: Pull complete 08:55:05 316046926c0a: Pull complete 08:55:06 ffd874e62e21: Verifying Checksum 08:55:06 ffd874e62e21: Download complete 08:55:07 4ebd0625c992: Verifying Checksum 08:55:07 4ebd0625c992: Download complete 08:55:17 4ebd0625c992: Pull complete 08:55:17 207e8628e3a3: Pull complete 08:55:17 c791037a9be2: Pull complete 08:55:20 ffd874e62e21: Pull complete 08:55:20 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 08:55:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:55:20 ---> cfc18b08335c 08:55:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:55:23 ---> Running in 8de7702773c2 08:55:24 Removing intermediate container 8de7702773c2 08:55:24 ---> 74f6d264fe6a 08:55:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:24 ---> Running in 6d190f44fd9f 08:55:27 Removing intermediate container 6d190f44fd9f 08:55:27 ---> 044529ddd319 08:55:27 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:55:27 ---> Running in f3e96479bc4e 08:55:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:55:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:55:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:55:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.097s coverage: 25.4% of statements 08:55:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:55:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.101s coverage: 28.1% of statements 08:55:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.101s coverage: 78.9% of statements 08:55:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.081s coverage: 10.7% of statements 08:55:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:55:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:55:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:55:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:55:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.117s coverage: 30.2% of statements 08:55:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:55:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:55:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.084s coverage: 83.3% of statements 08:55:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:55:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:55:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.123s coverage: 58.4% of statements 08:55:30 (1/6) Installing libc-dev (0.7.2-r3) 08:55:30 (2/6) Installing libsodium (1.0.18-r0) 08:55:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.239s coverage: 89.2% of statements 08:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:55:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.081s coverage: 5.0% of statements 08:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:55:31 GO111MODULE=on go vet ./... 08:55:31 (3/6) Installing pkgconf (1.7.3-r0) 08:55:31 (4/6) Installing libsodium-dev (1.0.18-r0) 08:55:31 (5/6) Installing libzmq (4.3.3-r1) 08:55:31 (6/6) Installing zeromq-dev (4.3.3-r1) 08:55:32 Executing busybox-1.32.1-r6.trigger 08:55:32 OK: 139 MiB in 46 packages 08:55:33 Removing intermediate container f3e96479bc4e 08:55:33 ---> 6ac6ca4756e8 08:55:33 Step 6/8 : WORKDIR /device-sdk-go 08:55:33 ---> Running in 45d8299220db 08:55:34 Removing intermediate container 45d8299220db 08:55:34 ---> 31b3c2bf8cd2 08:55:34 Step 7/8 : COPY . . 08:55:35 ---> b9d35391d71c 08:55:35 Step 8/8 : RUN go mod download 08:55:35 ---> Running in d3001ee1cbba 08:55:53 gofmt -l . 08:55:53 [ "`gofmt -l .`" = "" ] 08:55:53 ./bin/test-attribution-txt.sh 08:55:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:55:53 $ docker stop --time=1 695b2c5538f44c14108ed604947c8670484378849b09766836764b72beb6d87e 08:55:55 $ docker rm -f 695b2c5538f44c14108ed604947c8670484378849b09766836764b72beb6d87e [Pipeline] // withDockerContainer [Pipeline] sh 08:55:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:55:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:55:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:55:57 + ls -al . 08:55:57 total 212 08:55:57 drwxrwxr-x. 10 jenkins jenkins 4096 May 13 08:55 . 08:55:57 drwxrwxr-x. 4 jenkins jenkins 28 May 13 08:53 .. 08:55:57 drwxrwxr-x. 2 jenkins jenkins 64 May 13 08:53 bin 08:55:57 -rw-r--r--. 1 jenkins jenkins 126002 May 13 08:55 coverage.out 08:55:57 -rw-rw-r--. 1 jenkins jenkins 987 May 13 08:53 Dockerfile.build 08:55:57 -rw-rw-r--. 1 jenkins jenkins 140 May 13 08:53 .dockerignore 08:55:57 drwxrwxr-x. 5 jenkins jenkins 62 May 13 08:53 example 08:55:57 drwxrwxr-x. 8 jenkins jenkins 179 May 13 08:53 .git 08:55:57 drwxrwxr-x. 2 jenkins jenkins 103 May 13 08:53 .github 08:55:57 -rw-rw-r--. 1 jenkins jenkins 138 May 13 08:53 .gitignore 08:55:57 -rw-r--r--. 1 jenkins jenkins 575 May 13 08:55 go.mod 08:55:57 -rw-r--r--. 1 jenkins jenkins 20803 May 13 08:54 go.sum 08:55:57 drwxrwxr-x. 15 jenkins jenkins 224 May 13 08:53 internal 08:55:57 -rw-rw-r--. 1 jenkins jenkins 894 May 13 08:53 Jenkinsfile 08:55:57 -rw-rw-r--. 1 jenkins jenkins 11341 May 13 08:53 LICENSE 08:55:57 -rw-rw-r--. 1 jenkins jenkins 1000 May 13 08:53 Makefile 08:55:57 drwxrwxr-x. 4 jenkins jenkins 26 May 13 08:53 openapi 08:55:57 drwxrwxr-x. 5 jenkins jenkins 50 May 13 08:53 pkg 08:55:57 -rw-rw-r--. 1 jenkins jenkins 7652 May 13 08:53 README.md 08:55:57 -rw-rw-r--. 1 jenkins jenkins 6616 May 13 08:53 RELEASE-NOTES.txt 08:55:57 drwxrwxr-x. 4 jenkins jenkins 54 May 13 08:53 snap 08:55:57 -rw-rw-r--. 1 jenkins jenkins 5 May 13 08:51 VERSION 08:55:57 -rw-rw-r--. 1 jenkins jenkins 222 May 13 08:53 version.go [Pipeline] isUnix [Pipeline] sh 08:55:57 + docker build -t 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=372e99ca876ece373d1b1b98c54a0006c7b8c464 --label arch=amd64 --label version=0.0.0 . 08:55:57 Sending build context to Docker daemon 2.69MB 08:55:57 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 08:55:57 Step 2/23 : FROM ${BASE} AS builder 08:55:57 ---> 888ce690ced7 08:55:57 Step 3/23 : WORKDIR /device-sdk-go 08:55:58 ---> Running in 35769e3c724a 08:55:58 Removing intermediate container 35769e3c724a 08:55:58 ---> 6c7cd5c46c1b 08:55:58 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:55:58 ---> Running in c7f1b5807ce3 08:55:59 Removing intermediate container c7f1b5807ce3 08:55:59 ---> 140754f8ea10 08:55:59 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:59 ---> Running in 8eb41119776a 08:56:00 Removing intermediate container 8eb41119776a 08:56:00 ---> b8a58d5bb050 08:56:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:56:00 ---> Running in d5ea8687f4b3 08:56:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:56:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:56:02 OK: 150 MiB in 46 packages 08:56:02 Removing intermediate container d3001ee1cbba 08:56:02 ---> 9cd7a8277153 08:56:02 Successfully built 9cd7a8277153 08:56:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:56:02 Removing intermediate container d5ea8687f4b3 08:56:02 ---> b915fdb4478f 08:56:02 Step 7/23 : COPY . . 08:56:02 + docker inspect -f . ci-base-image-arm64 08:56:02 . [Pipeline] withDockerContainer 08:56:03 prd-ubuntu18.04-docker-arm64-4c-16g-5119 does not seem to be running inside a container 08:56:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:56:03 ---> f8119cfd7fe7 08:56:03 Step 8/23 : RUN go mod download 08:56:03 ---> Running in 59daf6d8f1b4 08:56:04 Removing intermediate container 59daf6d8f1b4 08:56:04 ---> 94bb1ecf5a6f 08:56:04 Step 9/23 : RUN make build 08:56:04 ---> Running in 7a1b84899c69 08:56:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:56:05 $ docker top d63f39dd37c657a38e4ae9eb4a54f9d9d5c5576461f6232e772515e233e54191 -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:06 + go version 08:56:06 go version go1.16.3 linux/arm64 [Pipeline] } 08:56:06 $ docker stop --time=1 d63f39dd37c657a38e4ae9eb4a54f9d9d5c5576461f6232e772515e233e54191 08:56:08 $ docker rm -f d63f39dd37c657a38e4ae9eb4a54f9d9d5c5576461f6232e772515e233e54191 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:56:09 + docker inspect -f . ci-base-image-arm64 08:56:09 . [Pipeline] withDockerContainer 08:56:09 prd-ubuntu18.04-docker-arm64-4c-16g-5119 does not seem to be running inside a container 08:56:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:56:11 $ docker top 3ee88ef1b7b50a0fdabd738f1e609a01c3c79ef8b780c732b3ad6c29d2f6e896 -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:12 + go mod tidy [Pipeline] sh 08:56:13 + make test 08:56:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:56:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:56:18 Removing intermediate container 7a1b84899c69 08:56:18 ---> 6d2226fdbe7d 08:56:18 Step 10/23 : FROM alpine:3.12 08:56:19 3.12: Pulling from library/alpine 08:56:19 339de151aab4: Pulling fs layer 08:56:19 339de151aab4: Verifying Checksum 08:56:19 339de151aab4: Download complete 08:56:19 339de151aab4: Pull complete 08:56:19 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:56:19 Status: Downloaded newer image for alpine:3.12 08:56:19 ---> 13621d1b12d4 08:56:19 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:56:19 ---> Running in 7a7e69432425 08:56:20 Removing intermediate container 7a7e69432425 08:56:20 ---> 73da694212bd 08:56:20 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:56:20 ---> Running in cfb65268012f 08:56:20 Removing intermediate container cfb65268012f 08:56:20 ---> 55fe9cdaeff4 08:56:20 Step 13/23 : RUN apk add --update --no-cache zeromq 08:56:20 ---> Running in e9a21dce1328 08:56:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:56:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:56:22 (1/5) Installing libgcc (9.3.0-r2) 08:56:22 (2/5) Installing libsodium (1.0.18-r0) 08:56:22 (3/5) Installing libstdc++ (9.3.0-r2) 08:56:24 (4/5) Installing libzmq (4.3.3-r0) 08:56:24 (5/5) Installing zeromq (4.3.3-r0) 08:56:24 Executing busybox-1.31.1-r20.trigger 08:56:24 OK: 8 MiB in 19 packages 08:56:24 Removing intermediate container e9a21dce1328 08:56:24 ---> 220249cde66a 08:56:24 Step 14/23 : WORKDIR / 08:56:24 ---> Running in 366b25a7d921 08:56:24 Removing intermediate container 366b25a7d921 08:56:24 ---> 7b997772d8af 08:56:24 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:56:25 ---> b59f04c4d8a5 08:56:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:56:25 ---> 7a8a28f95252 08:56:25 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:56:26 ---> 910440d460f2 08:56:26 Step 18/23 : EXPOSE 49990 08:56:26 ---> Running in bd308e5ca847 08:56:26 Removing intermediate container bd308e5ca847 08:56:26 ---> 466db227712c 08:56:26 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:56:26 ---> Running in e7a09603aade 08:56:26 Removing intermediate container e7a09603aade 08:56:26 ---> 9529067fe706 08:56:26 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:56:26 ---> Running in f0762b246406 08:56:26 Removing intermediate container f0762b246406 08:56:26 ---> ab2938ae8599 08:56:26 Step 21/23 : LABEL arch=amd64 08:56:27 ---> Running in a3e2bf978b1b 08:56:27 Removing intermediate container a3e2bf978b1b 08:56:27 ---> 9badd48b069c 08:56:27 Step 22/23 : LABEL git_sha=372e99ca876ece373d1b1b98c54a0006c7b8c464 08:56:27 ---> Running in ee778da6328b 08:56:27 Removing intermediate container ee778da6328b 08:56:27 ---> 3700528c69b8 08:56:27 Step 23/23 : LABEL version=0.0.0 08:56:27 ---> Running in f12cdfe97076 08:56:27 Removing intermediate container f12cdfe97076 08:56:27 ---> 51550af709b6 08:56:27 [Warning] One or more build-args [MAKE ARCH] were not consumed 08:56:27 Successfully built 51550af709b6 08:56:27 Successfully tagged 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 08:56:28 ---> job-cost.sh 08:56:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4VE3 08:56:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:56:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:57:15 lf-activate-venv(): INFO: Adding /tmp/venv-4VE3/bin to PATH 08:57:15 INFO: No Stack... 08:57:15 INFO: Retrieving Pricing Info for: v1-standard-2 08:57:15 INFO: Archiving Costs [Pipeline] sh 08:57:15 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 08:57:15 + cut -d, -f6 [Pipeline] lock 08:57:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-927-4-stack-cost] 08:57:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-927-4-stack-cost] did not exist. Created. 08:57:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-927-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:57:16 + echo total: 0.029999999329447746 [Pipeline] stash 08:57:16 Stashed 1 file(s) [Pipeline] } 08:57:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-927-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:57:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:57:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:57:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:58:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.246s coverage: 25.4% of statements 08:58:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:58:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.275s coverage: 28.1% of statements 08:58:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.250s coverage: 78.9% of statements 08:58:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.217s coverage: 10.7% of statements 08:58:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:58:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:58:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:58:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.342s coverage: 30.2% of statements 08:58:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:58:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.210s coverage: 83.3% of statements 08:58:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:58:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:58:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.407s coverage: 58.4% of statements 08:58:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.295s coverage: 89.2% of statements 08:58:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:58:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.220s coverage: 5.0% of statements 08:58:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:58:11 GO111MODULE=on go vet ./... 08:59:20 gofmt -l . 08:59:20 [ "`gofmt -l .`" = "" ] 08:59:20 ./bin/test-attribution-txt.sh 08:59:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:59:20 $ docker stop --time=1 3ee88ef1b7b50a0fdabd738f1e609a01c3c79ef8b780c732b3ad6c29d2f6e896 08:59:22 $ docker rm -f 3ee88ef1b7b50a0fdabd738f1e609a01c3c79ef8b780c732b3ad6c29d2f6e896 [Pipeline] // withDockerContainer [Pipeline] sh 08:59:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:59:23 Warning: overwriting stash ‘coverage-report’ 08:59:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:59:25 + ls -al . 08:59:25 total 248 08:59:25 drwxrwxr-x 10 jenkins jenkins 4096 May 13 08:59 . 08:59:25 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:54 .. 08:59:25 -rw-rw-r-- 1 jenkins jenkins 140 May 13 08:54 .dockerignore 08:59:25 drwxrwxr-x 8 jenkins jenkins 4096 May 13 08:54 .git 08:59:25 drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:54 .github 08:59:25 -rw-rw-r-- 1 jenkins jenkins 138 May 13 08:54 .gitignore 08:59:25 -rw-rw-r-- 1 jenkins jenkins 987 May 13 08:54 Dockerfile.build 08:59:25 -rw-rw-r-- 1 jenkins jenkins 894 May 13 08:54 Jenkinsfile 08:59:25 -rw-rw-r-- 1 jenkins jenkins 11341 May 13 08:54 LICENSE 08:59:25 -rw-rw-r-- 1 jenkins jenkins 1000 May 13 08:54 Makefile 08:59:25 -rw-rw-r-- 1 jenkins jenkins 7652 May 13 08:54 README.md 08:59:25 -rw-rw-r-- 1 jenkins jenkins 6616 May 13 08:54 RELEASE-NOTES.txt 08:59:25 -rw-rw-r-- 1 jenkins jenkins 5 May 13 08:51 VERSION 08:59:25 drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:54 bin 08:59:25 -rw-r--r-- 1 jenkins jenkins 126002 May 13 08:58 coverage.out 08:59:25 drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:54 example 08:59:25 -rw-r--r-- 1 jenkins jenkins 575 May 13 08:59 go.mod 08:59:25 -rw-r--r-- 1 jenkins jenkins 20803 May 13 08:56 go.sum 08:59:25 drwxrwxr-x 15 jenkins jenkins 4096 May 13 08:54 internal 08:59:25 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:54 openapi 08:59:25 drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:54 pkg 08:59:25 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:54 snap 08:59:25 -rw-rw-r-- 1 jenkins jenkins 222 May 13 08:54 version.go [Pipeline] isUnix [Pipeline] sh 08:59:26 + docker build -t 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=372e99ca876ece373d1b1b98c54a0006c7b8c464 --label arch=arm64 --label version=0.0.0 . 08:59:26 Sending build context to Docker daemon 2.689MB 08:59:26 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 08:59:26 Step 2/23 : FROM ${BASE} AS builder 08:59:26 ---> 9cd7a8277153 08:59:26 Step 3/23 : WORKDIR /device-sdk-go 08:59:26 ---> Running in 797cfada3fd7 08:59:27 Removing intermediate container 797cfada3fd7 08:59:27 ---> 6e3f85692120 08:59:27 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:59:27 ---> Running in baab84d37fd7 08:59:28 Removing intermediate container baab84d37fd7 08:59:28 ---> b2feaa46aeb6 08:59:28 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:59:28 ---> Running in 84a0debcf36d 08:59:30 Removing intermediate container 84a0debcf36d 08:59:30 ---> 9dd08b364157 08:59:30 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:59:30 ---> Running in f42469ef13ef 08:59:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:59:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:59:33 OK: 139 MiB in 46 packages 08:59:35 Removing intermediate container f42469ef13ef 08:59:35 ---> 9ccee013be41 08:59:35 Step 7/23 : COPY . . 08:59:36 ---> 9d9172ca5530 08:59:36 Step 8/23 : RUN go mod download 08:59:36 ---> Running in f9b61fc95a87 08:59:39 Removing intermediate container f9b61fc95a87 08:59:39 ---> 110b7dff217f 08:59:39 Step 9/23 : RUN make build 08:59:39 ---> Running in b1b59bc2b562 08:59:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:00:19 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:00:19 Removing intermediate container b1b59bc2b562 09:00:19 ---> 6c820fa8a5fe 09:00:19 Step 10/23 : FROM alpine:3.12 09:00:19 3.12: Pulling from library/alpine 09:00:19 d2f70382dc9a: Pulling fs layer 09:00:19 d2f70382dc9a: Download complete 09:00:20 d2f70382dc9a: Pull complete 09:00:20 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:00:20 Status: Downloaded newer image for alpine:3.12 09:00:20 ---> 9852663dfa18 09:00:20 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:00:20 ---> Running in 8047a9e4d406 09:00:21 Removing intermediate container 8047a9e4d406 09:00:21 ---> 8c127bd72c64 09:00:21 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:00:21 ---> Running in f05409598758 09:00:23 Removing intermediate container f05409598758 09:00:23 ---> decc8b4af19b 09:00:23 Step 13/23 : RUN apk add --update --no-cache zeromq 09:00:23 ---> Running in 4d7ba427c9e0 09:00:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:00:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:00:26 (1/5) Installing libgcc (9.3.0-r2) 09:00:26 (2/5) Installing libsodium (1.0.18-r0) 09:00:26 (3/5) Installing libstdc++ (9.3.0-r2) 09:00:26 (4/5) Installing libzmq (4.3.3-r0) 09:00:27 (5/5) Installing zeromq (4.3.3-r0) 09:00:27 Executing busybox-1.31.1-r20.trigger 09:00:27 OK: 8 MiB in 19 packages 09:00:28 Removing intermediate container 4d7ba427c9e0 09:00:28 ---> 0e5cc44c6c82 09:00:28 Step 14/23 : WORKDIR / 09:00:28 ---> Running in 5813ac08cf17 09:00:29 Removing intermediate container 5813ac08cf17 09:00:29 ---> 0311607405bf 09:00:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:00:30 ---> b02533c2e3f3 09:00:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:00:31 ---> 74ecfef65571 09:00:31 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:00:32 ---> e0a24e29d123 09:00:32 Step 18/23 : EXPOSE 49990 09:00:32 ---> Running in 22a248f51dd6 09:00:32 Removing intermediate container 22a248f51dd6 09:00:32 ---> 7b515cf49aa2 09:00:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:00:32 ---> Running in c0cd7e18f323 09:00:33 Removing intermediate container c0cd7e18f323 09:00:33 ---> b39fcd64d8c7 09:00:33 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:00:33 ---> Running in 4dde151cd6de 09:00:33 Removing intermediate container 4dde151cd6de 09:00:33 ---> 4fdb5175eff7 09:00:33 Step 21/23 : LABEL arch=arm64 09:00:34 ---> Running in 9f13f2e00d23 09:00:34 Removing intermediate container 9f13f2e00d23 09:00:34 ---> c9b7aff25fc8 09:00:34 Step 22/23 : LABEL git_sha=372e99ca876ece373d1b1b98c54a0006c7b8c464 09:00:34 ---> Running in d5496362d61c 09:00:34 Removing intermediate container d5496362d61c 09:00:34 ---> a2b749149f9a 09:00:34 Step 23/23 : LABEL version=0.0.0 09:00:34 ---> Running in b179fde2e081 09:00:35 Removing intermediate container b179fde2e081 09:00:35 ---> f42f18c9dcf1 09:00:35 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:00:35 Successfully built f42f18c9dcf1 09:00:35 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:00:35 ---> job-cost.sh 09:00:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-P25q 09:01:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:03:14 lf-activate-venv(): INFO: Adding /tmp/venv-P25q/bin to PATH 09:03:14 INFO: No Stack... 09:03:14 INFO: Retrieving Pricing Info for: lf-standard-4 09:03:14 INFO: Archiving Costs [Pipeline] sh 09:03:15 + cut -d, -f6 09:03:15 + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock 09:03:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-927-4-stack-cost] 09:03:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-927-4-stack-cost] did not exist. Created. 09:03:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-927-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:03:15 /w/workspace/device-sdk-go/4@tmp/durable-fbb54dfd/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-fbb54dfd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:03:16 + echo total: 0.20999999344348907 [Pipeline] stash 09:03:16 Warning: overwriting stash ‘stack-cost’ 09:03:16 Stashed 1 file(s) [Pipeline] } 09:03:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-927-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:03:16 provisioning config files... 09:03:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config7912836153415330722tmp [Pipeline] { [Pipeline] sh 09:03:17 + set +x 09:03:17 + curl -s https://codecov.io/bash 09:03:17 + bash -s -- 09:03:17 09:03:17 _____ _ 09:03:17 / ____| | | 09:03:17 | | ___ __| | ___ ___ _____ __ 09:03:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:03:17 | |___| (_) | (_| | __/ (_| (_) \ V / 09:03:17 \_____\___/ \__,_|\___|\___\___/ \_/ 09:03:17 Bash-1.0.2 09:03:17 09:03:17 09:03:17 ==> git version 2.24.3 found 09:03:17 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 09:03:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:03:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:03:17 ==> Jenkins CI detected. 09:03:17 project root: . 09:03:17 --> token set from env 09:03:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:03:17 ==> Running gcov in . (disable via -X gcov) 09:03:17 ==> Python coveragepy not found 09:03:17 ==> Searching for coverage reports in: 09:03:17 + . 09:03:17 -> Found 1 reports 09:03:17 ==> Detecting git/mercurial file structure 09:03:17 ==> Reading reports 09:03:17 + ./coverage.out bytes=126002 09:03:17 ==> Appending adjustments 09:03:17 https://docs.codecov.io/docs/fixing-reports 09:03:18 + Found adjustments 09:03:18 ==> Gzipping contents 09:03:18 20K /tmp/codecov.fGCwIO.gz 09:03:18 ==> Uploading reports 09:03:18 url: https://codecov.io 09:03:18 query: branch=PR-927&commit=372e99ca876ece373d1b1b98c54a0006c7b8c464&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-927%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=927&job=&cmd_args= 09:03:18 -> Pinging Codecov 09:03:18 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-927&commit=372e99ca876ece373d1b1b98c54a0006c7b8c464&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-927%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=927&job=&cmd_args= 09:03:18 -> Uploading to 09:03:18 https://storage.googleapis.com/codecov/v4/raw/2021-05-13/7E55EF52A471D76F132DFD9A03CDDE97/372e99ca876ece373d1b1b98c54a0006c7b8c464/6cb83b58-21f9-416e-b748-8c9db579369a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T090318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b9c547f3372621f11e9608a41a6bccbb48a46a22d44034a2cf38098a0d2d40b8 09:03:18 % Total % Received % Xferd Average Speed Time Time Time Current 09:03:18 Dload Upload Total Spent Left Speed 09:03:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16451 0 0 100 16451 0 38173 --:--:-- --:--:-- --:--:-- 38258 09:03:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/372e99ca876ece373d1b1b98c54a0006c7b8c464 [Pipeline] } 09:03:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:03:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:03:21 ---> package-listing.sh 09:03:21 ++ facter osfamily 09:03:21 ++ tr '[:upper:]' '[:lower:]' 09:03:21 + OS_FAMILY=redhat 09:03:21 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-927 09:03:21 + START_PACKAGES=/tmp/packages_start.txt 09:03:21 + END_PACKAGES=/tmp/packages_end.txt 09:03:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:03:21 + PACKAGES=/tmp/packages_start.txt 09:03:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-927 ']' 09:03:21 + PACKAGES=/tmp/packages_end.txt 09:03:21 + case "${OS_FAMILY}" in 09:03:21 + sort 09:03:21 + rpm -qa 09:03:28 + '[' -f /tmp/packages_start.txt ']' 09:03:28 + '[' -f /tmp/packages_end.txt ']' 09:03:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:03:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-927 ']' 09:03:28 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-927/archives/ 09:03:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-927/archives/ [Pipeline] echo 09:03:28 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-927/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:03:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:03:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:03:29 09:03:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:03:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:03:29 alpine: Pulling from edgex-lftools-log-publisher 09:03:29 df20fa9351a1: Pulling fs layer 09:03:29 36b3adc4ff6f: Pulling fs layer 09:03:29 8ad3a11d3b57: Pulling fs layer 09:03:29 46f8f816bc3b: Pulling fs layer 09:03:29 93b61091891f: Pulling fs layer 09:03:29 93b9cdb0e59b: Pulling fs layer 09:03:29 5e14af77c1be: Pulling fs layer 09:03:29 01666e4c0597: Pulling fs layer 09:03:29 aa168da1d23b: Pulling fs layer 09:03:29 93b61091891f: Waiting 09:03:29 93b9cdb0e59b: Waiting 09:03:29 46f8f816bc3b: Waiting 09:03:29 5e14af77c1be: Waiting 09:03:29 01666e4c0597: Waiting 09:03:29 aa168da1d23b: Waiting 09:03:30 36b3adc4ff6f: Verifying Checksum 09:03:30 36b3adc4ff6f: Download complete 09:03:30 46f8f816bc3b: Verifying Checksum 09:03:30 46f8f816bc3b: Download complete 09:03:30 df20fa9351a1: Verifying Checksum 09:03:30 df20fa9351a1: Download complete 09:03:30 93b9cdb0e59b: Verifying Checksum 09:03:30 93b9cdb0e59b: Download complete 09:03:30 5e14af77c1be: Verifying Checksum 09:03:30 5e14af77c1be: Download complete 09:03:30 01666e4c0597: Verifying Checksum 09:03:30 01666e4c0597: Download complete 09:03:30 93b61091891f: Verifying Checksum 09:03:30 93b61091891f: Download complete 09:03:30 df20fa9351a1: Pull complete 09:03:30 8ad3a11d3b57: Verifying Checksum 09:03:30 8ad3a11d3b57: Download complete 09:03:31 36b3adc4ff6f: Pull complete 09:03:33 8ad3a11d3b57: Pull complete 09:03:33 46f8f816bc3b: Pull complete 09:03:34 93b61091891f: Pull complete 09:03:34 93b9cdb0e59b: Pull complete 09:03:34 aa168da1d23b: Verifying Checksum 09:03:34 aa168da1d23b: Download complete 09:03:34 5e14af77c1be: Pull complete 09:03:35 01666e4c0597: Pull complete 09:03:47 aa168da1d23b: Pull complete 09:03:47 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:03:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:03:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:03:48 prd-centos7-docker-4c-2g-5111 does not seem to be running inside a container 09:03:48 $ 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-927/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-927 -v /w/workspace/dgexfoundry_device-sdk-go_PR-927:/w/workspace/dgexfoundry_device-sdk-go_PR-927:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:03:55 $ docker top 18f9f895965fed43957b06cab09c2265b260942f5490e8bcdad0a3dfbedbda02 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:55 + touch /tmp/pre-build-complete [Pipeline] sh 09:03:56 + mkdir -p /var/log/sa [Pipeline] sh 09:03:56 + ls /var/log/sa-host 09:03:56 + sadf -c /var/log/sa-host/sa13 09:03:56 file_magic: OK 09:03:56 HZ: Using current value: 100 09:03:56 file_header: OK 09:03:56 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:03:56 Statistics: 09:03:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:03:56 File successfully converted to sysstat format version 12.2.1 09:03:56 + sadf -c /var/log/sa-host/sa23 09:03:56 file_magic: OK 09:03:56 HZ: Using current value: 100 09:03:56 file_header: OK 09:03:56 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:03:56 Statistics: 09:03:56 Hnuu...uuuununununu... 09:03:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:03:56 provisioning config files... 09:03:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config8956120787104735510tmp [Pipeline] { [Pipeline] echo 09:03:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:03:57 ---> create-netrc.sh [Pipeline] } 09:03:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:03:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:03:57 ---> python-tools-install.sh [Pipeline] echo 09:03:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:03:58 ---> sudo-logs.sh 09:03:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:03:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:03:58 ---> job-cost.sh 09:03:58 lf-activate-venv: SKIPPING 09:03:58 DEBUG: total: 0.20999999344348907 09:03:58 INFO: Retrieving Stack Cost... 09:03:59 INFO: Retrieving Pricing Info for: v1-standard-2 09:04:00 INFO: Archiving Costs [Pipeline] echo 09:04:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:04:00 ---> logs-deploy.sh 09:04:00 lf-activate-venv: SKIPPING 09:04:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-927/4 09:04:00 INFO: archiving workspace using pattern(s): 09:04:02 Archives upload complete. 09:04:02 INFO: archiving logs to Nexus