Pull request #887 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8d18a21b742dd7d0af97623468fbe1cfdaa370fb+92affc97e25621ac5a3617c0e5e42feb55191c77 (d1ecdd17c451f33766db9d4070fc45bac4746013) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1968’ Running on prd-centos7-docker-4c-2g-1973 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [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-887 # 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/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb Merge succeeded, producing 8d18a21b742dd7d0af97623468fbe1cfdaa370fb Checking out Revision 8d18a21b742dd7d0af97623468fbe1cfdaa370fb (PR-887) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # 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 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:58:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:58:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:58:54 ========================================================= 03:58:54 EdgeX Global Pipelines Version Info 03:58:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 03:58:56 ------------------- 03:58:56 stable info: 03:58:56 ------------------- 03:58:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:58:56 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 03:58:56 Message: update stable to v1.0.186 03:58:56 ------------------- 03:58:56 experimental info: 03:58:56 ------------------- 03:58:56 Commited By: **** collab-it+edgex@linuxfoundation.org 03:58:56 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 03:58:56 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d18a21 [Pipeline] echo 03:58:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:58:57 provisioning config files... 03:58:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config2922829346117276087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:58 ---> docker-login.sh 03:58:58 nexus3.edgexfoundry.org:10001 03:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:58 Configure a credential helper to remove this warning. See 03:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:58 03:58:58 Login Succeeded 03:58:58 nexus3.edgexfoundry.org:10002 03:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:59 Configure a credential helper to remove this warning. See 03:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:59 03:58:59 Login Succeeded 03:58:59 nexus3.edgexfoundry.org:10003 03:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:59 Configure a credential helper to remove this warning. See 03:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:59 03:58:59 Login Succeeded 03:58:59 nexus3.edgexfoundry.org:10004 03:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:59 Configure a credential helper to remove this warning. See 03:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:59 03:58:59 Login Succeeded 03:58:59 docker.io 03:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:59 Configure a credential helper to remove this warning. See 03:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:59 03:58:59 Login Succeeded 03:58:59 ---> docker-login.sh ends [Pipeline] } 03:59:00 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 03:59:00 + git log --format=format:%s -1 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [Pipeline] echo 03:59:00 GIT_COMMIT: 8d18a21b742dd7d0af97623468fbe1cfdaa370fb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 03:59:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:59:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:59:01 03:59:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:59:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:59:01 latest: Pulling from edgex-devops/git-semver 03:59:01 31603596830f: Pulling fs layer 03:59:01 2a8b12db71e7: Pulling fs layer 03:59:01 6ca5941a6612: Pulling fs layer 03:59:01 ecc8261a40a4: Pulling fs layer 03:59:01 ecc8261a40a4: Waiting 03:59:01 2a8b12db71e7: Verifying Checksum 03:59:01 2a8b12db71e7: Download complete 03:59:01 31603596830f: Verifying Checksum 03:59:01 31603596830f: Download complete 03:59:01 6ca5941a6612: Verifying Checksum 03:59:01 6ca5941a6612: Download complete 03:59:01 ecc8261a40a4: Verifying Checksum 03:59:01 ecc8261a40a4: Download complete 03:59:01 31603596830f: Pull complete 03:59:02 2a8b12db71e7: Pull complete 03:59:03 6ca5941a6612: Pull complete 03:59:03 ecc8261a40a4: Pull complete 03:59:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:59:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:59:03 prd-centos7-docker-4c-2g-1973 does not seem to be running inside a container 03:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@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 03:59:05 $ docker top f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:06 [ssh-agent] Looking for ssh-agent implementation... 03:59:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:06 $ docker exec f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f ssh-agent 03:59:06 SSH_AUTH_SOCK=/tmp/ssh-arpCIUlDr9Od/agent.13 03:59:06 SSH_AGENT_PID=18 03:59:06 Running ssh-add (command line suppressed) 03:59:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7156466292906343400.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7156466292906343400.key) 03:59:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:07 + git tag --points-at HEAD [Pipeline] } 03:59:07 $ docker exec --env ******** --env ******** f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f ssh-agent -k 03:59:07 unset SSH_AUTH_SOCK; 03:59:07 unset SSH_AGENT_PID; 03:59:07 echo Agent pid 18 killed; 03:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:59:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:07 [ssh-agent] Looking for ssh-agent implementation... 03:59:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:07 $ docker exec f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f ssh-agent 03:59:08 SSH_AUTH_SOCK=/tmp/ssh-9j43yqbnNWEd/agent.48 03:59:08 SSH_AGENT_PID=53 03:59:08 Running ssh-add (command line suppressed) 03:59:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7754818675599009370.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7754818675599009370.key) 03:59:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:08 + git semver init 03:59:08 # -> Open(): unable to determine branch for HEAD 03:59:08 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git 03:59:08 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 03:59:08 # $SEMVER_REMOTE_NAME = origin 03:59:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:59:08 # $SEMVER_USER_NAME = edgex-jenkins 03:59:08 # $SEMVER_BRANCH = PR-887 03:59:08 # $SEMVER_TEMP = /tmp/semver-798598147 03:59:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:59:09 # '/tmp/semver-798598147' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' 03:59:09 # -> Force: false 03:59:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } 03:59:09 $ docker exec --env ******** --env ******** f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f ssh-agent -k 03:59:09 unset SSH_AUTH_SOCK; 03:59:09 unset SSH_AGENT_PID; 03:59:09 echo Agent pid 53 killed; 03:59:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:59:10 + git semver [Pipeline] } 03:59:10 $ docker stop --time=1 f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f 03:59:11 $ docker rm -f f22385357ab1d648430a0e504f613a89c345b0c4fd3186cca8251cb2b4e3816f [Pipeline] // withDockerContainer [Pipeline] sh 03:59:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:59:12 Stashed 1 file(s) [Pipeline] echo 03:59:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 03:59:27 Still waiting to schedule task 03:59:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:59:27 Still waiting to schedule task 03:59:27 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1972’ 04:01:34 Running on prd-centos7-docker-4c-2g-1976 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 04:01:35 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 04:01:45 using credential edgex-jenkins-ssh 04:01:45 Cloning the remote Git repository 04:01:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:01:45 > git init /w/workspace/device-sdk-go/6 # timeout=10 04:01:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:46 > git --version # timeout=10 04:01:46 > git --version # 'git version 2.24.3' 04:01:46 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:01:48 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb 04:01:48 Merge succeeded, producing 8d18a21b742dd7d0af97623468fbe1cfdaa370fb 04:01:48 Checking out Revision 8d18a21b742dd7d0af97623468fbe1cfdaa370fb (PR-887) 04:01:48 > git config core.sparsecheckout # timeout=10 04:01:48 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 04:01:48 > git remote # timeout=10 04:01:48 > git config --get remote.origin.url # timeout=10 04:01:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:48 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 04:01:48 > git rev-parse HEAD^{commit} # timeout=10 04:01:48 > git config core.sparsecheckout # timeout=10 04:01:48 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 04:01:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:54 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:01:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:01:54 + true 04:01:54 + sudo service docker restart 04:01:54 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:01:56 provisioning config files... 04:01:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config5213277002400641561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:56 ---> docker-login.sh 04:01:56 nexus3.edgexfoundry.org:10001 04:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:57 Configure a credential helper to remove this warning. See 04:01:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:57 04:01:57 Login Succeeded 04:01:57 nexus3.edgexfoundry.org:10002 04:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:57 Configure a credential helper to remove this warning. See 04:01:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:57 04:01:57 Login Succeeded 04:01:57 nexus3.edgexfoundry.org:10003 04:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:58 Configure a credential helper to remove this warning. See 04:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:58 04:01:58 Login Succeeded 04:01:58 nexus3.edgexfoundry.org:10004 04:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:58 Configure a credential helper to remove this warning. See 04:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:58 04:01:58 Login Succeeded 04:01:58 docker.io 04:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:58 Configure a credential helper to remove this warning. See 04:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:58 04:01:58 Login Succeeded 04:01:58 ---> docker-login.sh ends [Pipeline] } 04:01:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:59 ========================================================= 04:01:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:01:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:01:59 + 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 . 04:01:59 Sending build context to Docker daemon 2.461MB 04:01:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:01:59 Step 2/8 : FROM ${BASE} 04:01:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:59 188c0c94c7c5: Pulling fs layer 04:01:59 0ef7d3d256c8: Pulling fs layer 04:01:59 de9db76c5a1d: Pulling fs layer 04:01:59 bca2f99d35d6: Pulling fs layer 04:01:59 93359f2a8cfa: Pulling fs layer 04:01:59 7c6f9722023f: Pulling fs layer 04:01:59 a35cf1a2eb13: Pulling fs layer 04:01:59 bca2f99d35d6: Waiting 04:01:59 93359f2a8cfa: Waiting 04:01:59 7c6f9722023f: Waiting 04:01:59 a35cf1a2eb13: Waiting 04:01:59 de9db76c5a1d: Verifying Checksum 04:01:59 de9db76c5a1d: Download complete 04:01:59 0ef7d3d256c8: Verifying Checksum 04:01:59 0ef7d3d256c8: Download complete 04:01:59 93359f2a8cfa: Verifying Checksum 04:01:59 93359f2a8cfa: Download complete 04:01:59 7c6f9722023f: Verifying Checksum 04:01:59 7c6f9722023f: Download complete 04:01:59 188c0c94c7c5: Verifying Checksum 04:01:59 188c0c94c7c5: Download complete 04:02:00 188c0c94c7c5: Pull complete 04:02:01 0ef7d3d256c8: Pull complete 04:02:01 de9db76c5a1d: Pull complete 04:02:03 a35cf1a2eb13: Verifying Checksum 04:02:03 a35cf1a2eb13: Download complete 04:02:04 bca2f99d35d6: Verifying Checksum 04:02:04 bca2f99d35d6: Download complete 04:02:20 bca2f99d35d6: Pull complete 04:02:20 93359f2a8cfa: Pull complete 04:02:20 7c6f9722023f: Pull complete 04:02:29 a35cf1a2eb13: Pull complete 04:02:29 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:02:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:02:29 ---> a62c8e92a672 04:02:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:02:29 ---> Running in 397582c6a951 04:02:29 Removing intermediate container 397582c6a951 04:02:29 ---> 5590d7be6fcb 04:02:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:29 ---> Running in 1dd0d184ba43 04:02:31 Removing intermediate container 1dd0d184ba43 04:02:31 ---> b394b5f0bbf4 04:02:31 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:02:31 ---> Running in 77a64079bd7f 04:02:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:02:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:02:33 (1/6) Installing libc-dev (0.7.2-r3) 04:02:33 (2/6) Installing libsodium (1.0.18-r0) 04:02:33 (3/6) Installing pkgconf (1.7.2-r0) 04:02:33 (4/6) Installing libsodium-dev (1.0.18-r0) 04:02:33 (5/6) Installing libzmq (4.3.3-r0) 04:02:33 (6/6) Installing zeromq-dev (4.3.3-r0) 04:02:33 Executing busybox-1.31.1-r19.trigger 04:02:33 OK: 167 MiB in 45 packages 04:02:35 Removing intermediate container 77a64079bd7f 04:02:35 ---> be74d1ca69c5 04:02:35 Step 6/8 : WORKDIR /device-sdk-go 04:02:35 ---> Running in b2af8fcb6084 04:02:35 Removing intermediate container b2af8fcb6084 04:02:35 ---> c1cdf5f7b1c6 04:02:35 Step 7/8 : COPY . . 04:02:37 ---> d045d770d752 04:02:37 Step 8/8 : RUN go mod download 04:02:37 ---> Running in c7a1be9b09d3 04:02:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1978 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 04:02:53 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 04:02:59 using credential edgex-jenkins-ssh 04:02:59 Cloning the remote Git repository 04:02:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:02:59 > git init /w/workspace/device-sdk-go/6 # timeout=10 04:03:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:03:00 > git --version # timeout=10 04:03:00 > git --version # 'git version 2.17.1' 04:03:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:03:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:03:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:03:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:03:02 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb 04:03:02 > git config core.sparsecheckout # timeout=10 04:03:02 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 04:03:03 Merge succeeded, producing 8d18a21b742dd7d0af97623468fbe1cfdaa370fb 04:03:03 Checking out Revision 8d18a21b742dd7d0af97623468fbe1cfdaa370fb (PR-887) 04:03:03 > git remote # timeout=10 04:03:03 > git config --get remote.origin.url # timeout=10 04:03:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:03 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 04:03:03 > git rev-parse HEAD^{commit} # timeout=10 04:03:03 > git config core.sparsecheckout # timeout=10 04:03:03 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 04:03:07 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:03:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:03:09 + sudo service docker restart 04:03:09 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:03:11 provisioning config files... 04:03:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4360733374629310158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:12 ---> docker-login.sh 04:03:12 nexus3.edgexfoundry.org:10001 04:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:13 Configure a credential helper to remove this warning. See 04:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:13 04:03:13 Login Succeeded 04:03:13 nexus3.edgexfoundry.org:10002 04:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:13 Configure a credential helper to remove this warning. See 04:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:13 04:03:13 Login Succeeded 04:03:13 nexus3.edgexfoundry.org:10003 04:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:14 Configure a credential helper to remove this warning. See 04:03:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:14 04:03:14 Login Succeeded 04:03:14 nexus3.edgexfoundry.org:10004 04:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:15 Configure a credential helper to remove this warning. See 04:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:15 04:03:15 Login Succeeded 04:03:15 docker.io 04:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:15 Configure a credential helper to remove this warning. See 04:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:15 04:03:15 Login Succeeded 04:03:15 ---> docker-login.sh ends [Pipeline] } 04:03:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:03:15 ========================================================= 04:03:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:03:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:03:16 + 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 . 04:03:16 Removing intermediate container c7a1be9b09d3 04:03:16 ---> 43d15a60c476 04:03:16 Successfully built 43d15a60c476 04:03:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:03:16 Sending build context to Docker daemon 2.46MB 04:03:16 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:03:16 Step 2/8 : FROM ${BASE} 04:03:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:03:16 5f621e34cdf4: Pulling fs layer 04:03:16 a4357932f1b6: Pulling fs layer 04:03:16 18c013af1878: Pulling fs layer 04:03:16 00ac8860ef70: Pulling fs layer 04:03:16 63d7cb157983: Pulling fs layer 04:03:16 b116817d02f9: Pulling fs layer 04:03:16 745a02a5169b: Pulling fs layer 04:03:16 00ac8860ef70: Waiting 04:03:16 63d7cb157983: Waiting 04:03:16 745a02a5169b: Waiting 04:03:16 b116817d02f9: Waiting 04:03:16 18c013af1878: Verifying Checksum 04:03:16 18c013af1878: Download complete 04:03:16 a4357932f1b6: Verifying Checksum 04:03:16 a4357932f1b6: Download complete 04:03:16 63d7cb157983: Verifying Checksum 04:03:16 b116817d02f9: Verifying Checksum 04:03:16 b116817d02f9: Download complete 04:03:16 5f621e34cdf4: Download complete 04:03:16 + docker inspect -f . ci-base-image-x86_64 04:03:17 . [Pipeline] withDockerContainer 04:03:17 prd-centos7-docker-4c-2g-1976 does not seem to be running inside a container 04:03:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 04:03:17 5f621e34cdf4: Pull complete 04:03:18 a4357932f1b6: Pull complete 04:03:18 18c013af1878: Pull complete 04:03:18 $ docker top 46efeb4051e4bb3b6a1bdf37c163916b958dc3f537d60bd6578773f2617d0566 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:19 745a02a5169b: Verifying Checksum 04:03:19 745a02a5169b: Download complete 04:03:19 + go version 04:03:19 go version go1.15.5 linux/amd64 [Pipeline] } 04:03:19 $ docker stop --time=1 46efeb4051e4bb3b6a1bdf37c163916b958dc3f537d60bd6578773f2617d0566 04:03:19 00ac8860ef70: Download complete 04:03:21 $ docker rm -f 46efeb4051e4bb3b6a1bdf37c163916b958dc3f537d60bd6578773f2617d0566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:21 + docker inspect -f . ci-base-image-x86_64 04:03:21 . [Pipeline] withDockerContainer 04:03:22 prd-centos7-docker-4c-2g-1976 does not seem to be running inside a container 04:03:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 04:03:23 $ docker top 1409fa76a7d8ab81c5f93af6d6704578a5e6ac6f7f842619ef95d82b29d2991a -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:24 + make test 04:03:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:03:30 00ac8860ef70: Pull complete 04:03:30 63d7cb157983: Pull complete 04:03:30 b116817d02f9: Pull complete 04:03:34 745a02a5169b: Pull complete 04:03:34 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:03:34 ---> b7e6874047d6 04:03:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:03:37 ---> Running in 47eb3a15b46d 04:03:37 Removing intermediate container 47eb3a15b46d 04:03:37 ---> 0dd38a1e56cd 04:03:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:37 ---> Running in 1af2b00f411c 04:03:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:03:40 Removing intermediate container 1af2b00f411c 04:03:40 ---> 396fa24a8ba4 04:03:40 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:03:40 ---> Running in 1d0756e52dba 04:03:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:03:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:03:43 (1/6) Installing libc-dev (0.7.2-r3) 04:03:43 (2/6) Installing libsodium (1.0.18-r0) 04:03:43 (3/6) Installing pkgconf (1.7.2-r0) 04:03:43 (4/6) Installing libsodium-dev (1.0.18-r0) 04:03:43 (5/6) Installing libzmq (4.3.3-r0) 04:03:43 (6/6) Installing zeromq-dev (4.3.3-r0) 04:03:43 Executing busybox-1.31.1-r19.trigger 04:03:43 OK: 144 MiB in 45 packages 04:03:45 Removing intermediate container 1d0756e52dba 04:03:45 ---> 38e1b2842ae0 04:03:45 Step 6/8 : WORKDIR /device-sdk-go 04:03:45 ---> Running in 737e188aeacf 04:03:46 Removing intermediate container 737e188aeacf 04:03:46 ---> 297a720dccdb 04:03:46 Step 7/8 : COPY . . 04:03:47 ---> 7d9e3002095f 04:03:47 Step 8/8 : RUN go mod download 04:03:47 ---> Running in b07562bb692f 04:04:14 Removing intermediate container b07562bb692f 04:04:14 ---> 325b5e0903e4 04:04:14 Successfully built 325b5e0903e4 04:04:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:04:14 + docker inspect -f . ci-base-image-arm64 04:04:14 . [Pipeline] withDockerContainer 04:04:14 prd-ubuntu18.04-docker-arm64-4c-16g-1978 does not seem to be running inside a container 04:04:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 04:04:16 $ docker top 85ba82a9d909f16ef4f5be33d029c9bdc74b16ccceb993653cad7e9dbe59e3b4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:17 + go version 04:04:17 go version go1.15.5 linux/arm64 [Pipeline] } 04:04:17 $ docker stop --time=1 85ba82a9d909f16ef4f5be33d029c9bdc74b16ccceb993653cad7e9dbe59e3b4 04:04:19 $ docker rm -f 85ba82a9d909f16ef4f5be33d029c9bdc74b16ccceb993653cad7e9dbe59e3b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 04:04:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:04:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:04:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:04:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:04:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:04:20 + docker inspect -f . ci-base-image-arm64 04:04:20 . [Pipeline] withDockerContainer 04:04:20 prd-ubuntu18.04-docker-arm64-4c-16g-1978 does not seem to be running inside a container 04:04:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 04:04:22 $ docker top 95d1e25d65e5fd35e691995df047c346c6da5ba64a3fdcf2c4bd1616d990105b -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:23 + make test 04:04:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:04:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.248s coverage: 28.1% of statements 04:04:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.279s coverage: 78.9% of statements 04:04:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.291s coverage: 7.8% of statements 04:04:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:04:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:04:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:04:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.146s coverage: 30.2% of statements 04:04:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:04:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:04:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:04:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.132s coverage: 57.2% of statements 04:04:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.367s coverage: 6.6% of statements 04:04:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.086s coverage: 5.0% of statements 04:04:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:04:30 GO111MODULE=on go vet ./... 04:04:45 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:05:03 gofmt -l . 04:05:03 [ "`gofmt -l .`" = "" ] 04:05:03 ./bin/test-attribution-txt.sh 04:05:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:05:03 $ docker stop --time=1 1409fa76a7d8ab81c5f93af6d6704578a5e6ac6f7f842619ef95d82b29d2991a 04:05:05 $ docker rm -f 1409fa76a7d8ab81c5f93af6d6704578a5e6ac6f7f842619ef95d82b29d2991a [Pipeline] // withDockerContainer [Pipeline] sh 04:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:05:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:09 + ls -al . 04:05:09 total 188 04:05:09 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 27 04:05 . 04:05:09 drwxrwxr-x. 4 jenkins jenkins 28 Apr 27 04:01 .. 04:05:09 drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 04:01 bin 04:05:09 -rw-r--r--. 1 jenkins jenkins 100320 Apr 27 04:04 coverage.out 04:05:09 -rw-rw-r--. 1 jenkins jenkins 987 Apr 27 04:01 Dockerfile.build 04:05:09 -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 04:01 .dockerignore 04:05:09 drwxrwxr-x. 5 jenkins jenkins 62 Apr 27 04:01 example 04:05:09 drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 04:01 .git 04:05:09 drwxrwxr-x. 2 jenkins jenkins 103 Apr 27 04:01 .github 04:05:09 -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 04:01 .gitignore 04:05:09 -rw-r--r--. 1 jenkins jenkins 575 Apr 27 04:04 go.mod 04:05:09 -rw-r--r--. 1 jenkins jenkins 21068 Apr 27 04:05 go.sum 04:05:09 drwxrwxr-x. 14 jenkins jenkins 207 Apr 27 04:01 internal 04:05:09 -rw-rw-r--. 1 jenkins jenkins 901 Apr 27 04:01 Jenkinsfile 04:05:09 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 04:01 LICENSE 04:05:09 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 27 04:01 Makefile 04:05:09 drwxrwxr-x. 4 jenkins jenkins 26 Apr 27 04:01 openapi 04:05:09 drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 04:01 pkg 04:05:09 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 27 04:01 README.md 04:05:09 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 27 04:01 RELEASE-NOTES.txt 04:05:09 drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 04:01 snap 04:05:09 -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 03:59 VERSION 04:05:09 -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 04:01 version.go [Pipeline] isUnix [Pipeline] sh 04:05:09 + 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=8d18a21b742dd7d0af97623468fbe1cfdaa370fb --label arch=amd64 --label version=0.0.0 . 04:05:10 Sending build context to Docker daemon 2.562MB 04:05:10 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 04:05:10 Step 2/23 : FROM ${BASE} AS builder 04:05:10 ---> 43d15a60c476 04:05:10 Step 3/23 : WORKDIR /device-sdk-go 04:05:10 ---> Running in eb86564e9c76 04:05:11 Removing intermediate container eb86564e9c76 04:05:11 ---> 7e986a56a681 04:05:11 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:11 ---> Running in f5248ad10951 04:05:11 Removing intermediate container f5248ad10951 04:05:11 ---> 3ee4ffcf9dc8 04:05:11 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:12 ---> Running in 00764db6d83b 04:05:14 Removing intermediate container 00764db6d83b 04:05:14 ---> 8849fcd76c8c 04:05:14 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:14 ---> Running in 2315cdbae8cd 04:05:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:05:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:05:16 OK: 167 MiB in 45 packages 04:05:17 Removing intermediate container 2315cdbae8cd 04:05:17 ---> 3c903668a452 04:05:17 Step 7/23 : COPY . . 04:05:18 ---> 0eede68c595e 04:05:18 Step 8/23 : RUN go mod download 04:05:18 ---> Running in 3846f5a37fc2 04:05:22 Removing intermediate container 3846f5a37fc2 04:05:22 ---> 5700ea229c0a 04:05:22 Step 9/23 : RUN make build 04:05:22 ---> Running in 6575f9a52cb9 04:05:23 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 04:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:05:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 28.1% of statements 04:05:45 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:05:45 Removing intermediate container 6575f9a52cb9 04:05:45 ---> 1f6767addabe 04:05:45 Step 10/23 : FROM alpine:3.12 04:05:45 3.12: Pulling from library/alpine 04:05:45 339de151aab4: Pulling fs layer 04:05:45 339de151aab4: Verifying Checksum 04:05:45 339de151aab4: Download complete 04:05:46 339de151aab4: Pull complete 04:05:46 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:05:46 Status: Downloaded newer image for alpine:3.12 04:05:46 ---> 13621d1b12d4 04:05:46 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.180s coverage: 78.9% of statements 04:05:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.167s coverage: 7.8% of statements 04:05:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:05:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:05:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:05:46 ---> Running in 1219e333f843 04:05:46 Removing intermediate container 1219e333f843 04:05:46 ---> 2aaeed40ed38 04:05:46 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:47 ---> Running in 5a89aee6cb20 04:05:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.275s coverage: 30.2% of statements 04:05:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:05:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:05:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:05:49 Removing intermediate container 5a89aee6cb20 04:05:49 ---> 4fc23b08d897 04:05:49 Step 13/23 : RUN apk add --update --no-cache zeromq 04:05:49 ---> Running in d46f7ff24012 04:05:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:05:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:05:51 (1/5) Installing libgcc (9.3.0-r2) 04:05:51 (2/5) Installing libsodium (1.0.18-r0) 04:05:51 (3/5) Installing libstdc++ (9.3.0-r2) 04:05:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.320s coverage: 57.2% of statements 04:05:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.093s coverage: 6.6% of statements 04:05:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements 04:05:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:05:52 (4/5) Installing libzmq (4.3.3-r0) 04:05:52 (5/5) Installing zeromq (4.3.3-r0) 04:05:52 GO111MODULE=on go vet ./... 04:05:52 Executing busybox-1.31.1-r20.trigger 04:05:52 OK: 8 MiB in 19 packages 04:05:53 Removing intermediate container d46f7ff24012 04:05:53 ---> 602b73f0fa10 04:05:53 Step 14/23 : WORKDIR / 04:05:53 ---> Running in 20ebb24c207a 04:05:53 Removing intermediate container 20ebb24c207a 04:05:53 ---> d03afdbcf9bb 04:05:53 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:05:54 ---> f5aa646aadf8 04:05:54 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:05:55 ---> a49af823bdcd 04:05:55 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:05:55 ---> c49360cdda35 04:05:55 Step 18/23 : EXPOSE 49990 04:05:55 ---> Running in 6100b53631a1 04:05:56 Removing intermediate container 6100b53631a1 04:05:56 ---> db4976cf917e 04:05:56 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:05:56 ---> Running in 5039c21b998e 04:05:56 Removing intermediate container 5039c21b998e 04:05:56 ---> 340e153f220d 04:05:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:05:56 ---> Running in 1bee6d28d956 04:05:56 Removing intermediate container 1bee6d28d956 04:05:56 ---> b8f89a8aed70 04:05:56 Step 21/23 : LABEL arch=amd64 04:05:56 ---> Running in 189602fa9ef3 04:05:57 Removing intermediate container 189602fa9ef3 04:05:57 ---> 3e2114a5ac68 04:05:57 Step 22/23 : LABEL git_sha=8d18a21b742dd7d0af97623468fbe1cfdaa370fb 04:05:57 ---> Running in a1aafae158db 04:05:57 Removing intermediate container a1aafae158db 04:05:57 ---> 5497a48527cb 04:05:57 Step 23/23 : LABEL version=0.0.0 04:05:57 ---> Running in 1141fc06b63d 04:05:58 Removing intermediate container 1141fc06b63d 04:05:58 ---> 5bfb3c1b2584 04:05:58 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:05:58 Successfully built 5bfb3c1b2584 04:05:58 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 04:05:58 ---> job-cost.sh 04:05:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gwhU 04:06:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:06:39 gofmt -l . 04:06:39 [ "`gofmt -l .`" = "" ] 04:06:39 ./bin/test-attribution-txt.sh 04:06:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:06:40 $ docker stop --time=1 95d1e25d65e5fd35e691995df047c346c6da5ba64a3fdcf2c4bd1616d990105b 04:06:42 $ docker rm -f 95d1e25d65e5fd35e691995df047c346c6da5ba64a3fdcf2c4bd1616d990105b [Pipeline] // withDockerContainer [Pipeline] sh 04:06:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:43 Warning: overwriting stash ‘coverage-report’ 04:06:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:45 + ls -al . 04:06:45 total 224 04:06:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:06 . 04:06:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:03 .. 04:06:45 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:03 .dockerignore 04:06:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:03 .git 04:06:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:03 .github 04:06:45 -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 04:03 .gitignore 04:06:45 -rw-rw-r-- 1 jenkins jenkins 987 Apr 27 04:03 Dockerfile.build 04:06:45 -rw-rw-r-- 1 jenkins jenkins 901 Apr 27 04:03 Jenkinsfile 04:06:45 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:03 LICENSE 04:06:45 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 27 04:03 Makefile 04:06:45 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 27 04:03 README.md 04:06:45 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 27 04:03 RELEASE-NOTES.txt 04:06:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 03:59 VERSION 04:06:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:03 bin 04:06:45 -rw-r--r-- 1 jenkins jenkins 100320 Apr 27 04:05 coverage.out 04:06:45 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:03 example 04:06:45 -rw-r--r-- 1 jenkins jenkins 575 Apr 27 04:06 go.mod 04:06:45 -rw-r--r-- 1 jenkins jenkins 21068 Apr 27 04:06 go.sum 04:06:45 drwxrwxr-x 14 jenkins jenkins 4096 Apr 27 04:03 internal 04:06:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:03 openapi 04:06:45 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:03 pkg 04:06:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:03 snap 04:06:45 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:03 version.go [Pipeline] isUnix [Pipeline] sh 04:06:45 + 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=8d18a21b742dd7d0af97623468fbe1cfdaa370fb --label arch=arm64 --label version=0.0.0 . 04:06:46 Sending build context to Docker daemon 2.561MB 04:06:46 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 04:06:46 Step 2/23 : FROM ${BASE} AS builder 04:06:46 ---> 325b5e0903e4 04:06:46 Step 3/23 : WORKDIR /device-sdk-go 04:06:46 ---> Running in 5acc5a932a0b 04:06:47 Removing intermediate container 5acc5a932a0b 04:06:47 ---> 28c90021d3a3 04:06:47 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:47 ---> Running in a67b12af675b 04:06:48 Removing intermediate container a67b12af675b 04:06:48 ---> 58c05e3eef25 04:06:48 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:48 ---> Running in ce7a018eaf6c 04:06:50 Removing intermediate container ce7a018eaf6c 04:06:50 ---> c724051b79fc 04:06:50 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:50 ---> Running in 3e615b4b5254 04:06:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:06:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:06:52 OK: 144 MiB in 45 packages 04:06:54 Removing intermediate container 3e615b4b5254 04:06:54 ---> 98c70360b0a2 04:06:54 Step 7/23 : COPY . . 04:06:55 ---> a4b8aab69be1 04:06:55 Step 8/23 : RUN go mod download 04:06:55 ---> Running in 7758f585a514 04:06:58 Removing intermediate container 7758f585a514 04:06:58 ---> 6550c10e365d 04:06:58 Step 9/23 : RUN make build 04:06:58 ---> Running in 254235de723d 04:06:58 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 04:07:10 lf-activate-venv(): INFO: Adding /tmp/venv-gwhU/bin to PATH 04:07:10 INFO: No Stack... 04:07:10 INFO: Retrieving Pricing Info for: v1-standard-2 04:07:10 INFO: Archiving Costs [Pipeline] sh 04:07:10 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 04:07:10 + cut -d, -f6 [Pipeline] lock 04:07:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] 04:07:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] did not exist. Created. 04:07:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:11 + echo total: 0.029999999329447746 [Pipeline] stash 04:07:11 Stashed 1 file(s) [Pipeline] } 04:07:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:31 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:07:34 Removing intermediate container 254235de723d 04:07:34 ---> 9e88d6e19490 04:07:34 Step 10/23 : FROM alpine:3.12 04:07:34 3.12: Pulling from library/alpine 04:07:35 d2f70382dc9a: Pulling fs layer 04:07:35 d2f70382dc9a: Verifying Checksum 04:07:35 d2f70382dc9a: Download complete 04:07:35 d2f70382dc9a: Pull complete 04:07:35 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:07:35 Status: Downloaded newer image for alpine:3.12 04:07:35 ---> 9852663dfa18 04:07:35 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:07:36 ---> Running in f2f8e1e7724b 04:07:36 Removing intermediate container f2f8e1e7724b 04:07:36 ---> 705cc62d9002 04:07:36 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:36 ---> Running in 81f357f116f3 04:07:38 Removing intermediate container 81f357f116f3 04:07:38 ---> 9ed7bd9a3ff4 04:07:38 Step 13/23 : RUN apk add --update --no-cache zeromq 04:07:38 ---> Running in 3977eb256fd0 04:07:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:07:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:07:41 (1/5) Installing libgcc (9.3.0-r2) 04:07:41 (2/5) Installing libsodium (1.0.18-r0) 04:07:41 (3/5) Installing libstdc++ (9.3.0-r2) 04:07:41 (4/5) Installing libzmq (4.3.3-r0) 04:07:41 (5/5) Installing zeromq (4.3.3-r0) 04:07:42 Executing busybox-1.31.1-r20.trigger 04:07:42 OK: 8 MiB in 19 packages 04:07:43 Removing intermediate container 3977eb256fd0 04:07:43 ---> 23ca72c9fa8a 04:07:43 Step 14/23 : WORKDIR / 04:07:43 ---> Running in fa5230634628 04:07:44 Removing intermediate container fa5230634628 04:07:44 ---> e01ddb08d531 04:07:44 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:44 ---> ec26271c12ba 04:07:44 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:45 ---> 0a98a2b727f9 04:07:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:46 ---> 5f5c20613be7 04:07:46 Step 18/23 : EXPOSE 49990 04:07:46 ---> Running in 8895c4ee791e 04:07:47 Removing intermediate container 8895c4ee791e 04:07:47 ---> df2d15f22593 04:07:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:07:47 ---> Running in d4933396bdd6 04:07:48 Removing intermediate container d4933396bdd6 04:07:48 ---> f7ced1512422 04:07:48 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:48 ---> Running in fe227ea02c25 04:07:48 Removing intermediate container fe227ea02c25 04:07:48 ---> 7f3d9cb01e76 04:07:48 Step 21/23 : LABEL arch=arm64 04:07:48 ---> Running in 9badfee80b91 04:07:49 Removing intermediate container 9badfee80b91 04:07:49 ---> ccb7284e8ac3 04:07:49 Step 22/23 : LABEL git_sha=8d18a21b742dd7d0af97623468fbe1cfdaa370fb 04:07:49 ---> Running in 1dac06cc3988 04:07:49 Removing intermediate container 1dac06cc3988 04:07:49 ---> 0fa34f1c6493 04:07:49 Step 23/23 : LABEL version=0.0.0 04:07:49 ---> Running in db0c53c6f4c0 04:07:50 Removing intermediate container db0c53c6f4c0 04:07:50 ---> b66ce9fb3a5a 04:07:50 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:07:50 Successfully built b66ce9fb3a5a 04:07:50 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 04:07:51 ---> job-cost.sh 04:07:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-flIa 04:08:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:09:51 lf-activate-venv(): INFO: Adding /tmp/venv-flIa/bin to PATH 04:09:51 INFO: No Stack... 04:09:51 INFO: Retrieving Pricing Info for: lf-standard-4 04:09:52 INFO: Archiving Costs [Pipeline] sh 04:09:52 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 04:09:52 + cut -d, -f6 [Pipeline] lock 04:09:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] 04:09:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] did not exist. Created. 04:09:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:52 /w/workspace/device-sdk-go/6@tmp/durable-59215ffa/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-59215ffa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:09:53 + echo total: 0.20999999344348907 [Pipeline] stash 04:09:53 Warning: overwriting stash ‘stack-cost’ 04:09:53 Stashed 1 file(s) [Pipeline] } 04:09:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-6-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 04:09:53 provisioning config files... 04:09:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config5754075144224963174tmp [Pipeline] { [Pipeline] sh 04:09:54 + set +x 04:09:54 + curl -s https://codecov.io/bash 04:09:54 + bash -s -- 04:09:54 04:09:54 _____ _ 04:09:54 / ____| | | 04:09:54 | | ___ __| | ___ ___ _____ __ 04:09:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:09:54 | |___| (_) | (_| | __/ (_| (_) \ V / 04:09:54 \_____\___/ \__,_|\___|\___\___/ \_/ 04:09:54 Bash-1.0.2 04:09:54 04:09:54 04:09:54 ==> git version 2.24.3 found 04:09:54 ==> 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 04:09:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:09:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:09:54 ==> Jenkins CI detected. 04:09:54 project root: . 04:09:54 --> token set from env 04:09:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:09:54 ==> Running gcov in . (disable via -X gcov) 04:09:54 ==> Python coveragepy not found 04:09:54 ==> Searching for coverage reports in: 04:09:54 + . 04:09:54 -> Found 1 reports 04:09:54 ==> Detecting git/mercurial file structure 04:09:54 ==> Reading reports 04:09:54 + ./coverage.out bytes=100320 04:09:54 ==> Appending adjustments 04:09:54 https://docs.codecov.io/docs/fixing-reports 04:09:54 + Found adjustments 04:09:54 ==> Gzipping contents 04:09:54 16K /tmp/codecov.lN4pBH.gz 04:09:54 ==> Uploading reports 04:09:54 url: https://codecov.io 04:09:54 query: branch=PR-887&commit=8d18a21b742dd7d0af97623468fbe1cfdaa370fb&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 04:09:54 -> Pinging Codecov 04:09:54 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=8d18a21b742dd7d0af97623468fbe1cfdaa370fb&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 04:09:55 -> Uploading to 04:09:55 https://storage.googleapis.com/codecov/v4/raw/2021-04-27/7E55EF52A471D76F132DFD9A03CDDE97/8d18a21b742dd7d0af97623468fbe1cfdaa370fb/9240107c-d797-44b9-8315-b27929dac159.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T040955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d99a70b538bf97af69a9495b535adf123c6ea6210dc677b4274220812d1b8939 04:09:55 % Total % Received % Xferd Average Speed Time Time Time Current 04:09:55 Dload Upload Total Spent Left Speed 04:09:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 13554 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13554 0 0 100 13554 0 35600 --:--:-- --:--:-- --:--:-- 35574 04:09:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8d18a21b742dd7d0af97623468fbe1cfdaa370fb [Pipeline] } 04:09:55 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 04:09:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:09:57 ---> package-listing.sh 04:09:57 ++ tr '[:upper:]' '[:lower:]' 04:09:57 ++ facter osfamily 04:09:57 + OS_FAMILY=redhat 04:09:57 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 04:09:57 + START_PACKAGES=/tmp/packages_start.txt 04:09:57 + END_PACKAGES=/tmp/packages_end.txt 04:09:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:09:57 + PACKAGES=/tmp/packages_start.txt 04:09:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 04:09:57 + PACKAGES=/tmp/packages_end.txt 04:09:57 + case "${OS_FAMILY}" in 04:09:57 + rpm -qa 04:09:57 + sort 04:10:02 + '[' -f /tmp/packages_start.txt ']' 04:10:02 + '[' -f /tmp/packages_end.txt ']' 04:10:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:10:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 04:10:02 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ 04:10:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo 04:10:02 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-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:10:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:10:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:10:03 04:10:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:10:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:10:03 alpine: Pulling from edgex-lftools-log-publisher 04:10:03 df20fa9351a1: Pulling fs layer 04:10:03 36b3adc4ff6f: Pulling fs layer 04:10:03 8ad3a11d3b57: Pulling fs layer 04:10:03 46f8f816bc3b: Pulling fs layer 04:10:03 93b61091891f: Pulling fs layer 04:10:03 93b9cdb0e59b: Pulling fs layer 04:10:03 5e14af77c1be: Pulling fs layer 04:10:03 01666e4c0597: Pulling fs layer 04:10:03 aa168da1d23b: Pulling fs layer 04:10:03 93b61091891f: Waiting 04:10:03 46f8f816bc3b: Waiting 04:10:03 5e14af77c1be: Waiting 04:10:03 93b9cdb0e59b: Waiting 04:10:03 01666e4c0597: Waiting 04:10:03 aa168da1d23b: Waiting 04:10:03 36b3adc4ff6f: Verifying Checksum 04:10:03 36b3adc4ff6f: Download complete 04:10:03 46f8f816bc3b: Download complete 04:10:03 df20fa9351a1: Verifying Checksum 04:10:03 93b9cdb0e59b: Download complete 04:10:03 5e14af77c1be: Verifying Checksum 04:10:03 5e14af77c1be: Download complete 04:10:03 93b61091891f: Download complete 04:10:03 01666e4c0597: Verifying Checksum 04:10:03 01666e4c0597: Download complete 04:10:03 8ad3a11d3b57: Verifying Checksum 04:10:03 8ad3a11d3b57: Download complete 04:10:03 df20fa9351a1: Pull complete 04:10:04 36b3adc4ff6f: Pull complete 04:10:06 aa168da1d23b: Download complete 04:10:06 8ad3a11d3b57: Pull complete 04:10:06 46f8f816bc3b: Pull complete 04:10:06 93b61091891f: Pull complete 04:10:06 93b9cdb0e59b: Pull complete 04:10:06 5e14af77c1be: Pull complete 04:10:06 01666e4c0597: Pull complete 04:10:15 aa168da1d23b: Pull complete 04:10:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:10:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:10:15 prd-centos7-docker-4c-2g-1973 does not seem to be running inside a container 04:10:15 $ 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-887/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-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@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 04:10:18 $ docker top 9c9d4322d9e56ae205163463171649f023b630d4e3f7d0e24f24a700f5026fae -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:18 + touch /tmp/pre-build-complete [Pipeline] sh 04:10:19 + mkdir -p /var/log/sa [Pipeline] sh 04:10:19 + ls /var/log/sa-host 04:10:19 + sadf -c /var/log/sa-host/sa23 04:10:19 file_magic: OK 04:10:19 HZ: Using current value: 100 04:10:19 file_header: OK 04:10:19 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 04:10:19 Statistics: 04:10:19 Hnuu...uuuununununu... 04:10:19 File successfully converted to sysstat format version 12.2.1 04:10:19 + sadf -c /var/log/sa-host/sa27 04:10:19 file_magic: OK 04:10:19 HZ: Using current value: 100 04:10:19 file_header: OK 04:10:19 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 04:10:19 Statistics: 04:10:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:10:19 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:19 provisioning config files... 04:10:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config4364804080349205939tmp [Pipeline] { [Pipeline] echo 04:10:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:10:20 ---> create-netrc.sh [Pipeline] } 04:10:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:10:20 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:10:20 ---> python-tools-install.sh [Pipeline] echo 04:10:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:10:20 ---> sudo-logs.sh 04:10:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:10:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:10:21 ---> job-cost.sh 04:10:21 lf-activate-venv: SKIPPING 04:10:21 DEBUG: total: 0.20999999344348907 04:10:21 INFO: Retrieving Stack Cost... 04:10:22 INFO: Retrieving Pricing Info for: v1-standard-2 04:10:23 INFO: Archiving Costs [Pipeline] echo 04:10:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:10:23 ---> logs-deploy.sh 04:10:23 lf-activate-venv: SKIPPING 04:10:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/6 04:10:23 INFO: archiving workspace using pattern(s): 04:10:25 Archives upload complete. 04:10:25 INFO: archiving logs to Nexus 04:10:26 ---> uname -a: 04:10:26 Linux prd-centos7-docker-4c-2g-1973.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 04:10:26 04:10:26 04:10:26 ---> lscpu: 04:10:26 Architecture: x86_64 04:10:26 CPU op-mode(s): 32-bit, 64-bit 04:10:26 Byte Order: Little Endian 04:10:26 Address sizes: 40 bits physical, 48 bits virtual 04:10:26 CPU(s): 4 04:10:26 On-line CPU(s) list: 0-3 04:10:26 Thread(s) per core: 1 04:10:26 Core(s) per socket: 1 04:10:26 Socket(s): 4 04:10:26 NUMA node(s): 1 04:10:26 Vendor ID: GenuineIntel 04:10:26 CPU family: 6 04:10:26 Model: 44 04:10:26 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:10:26 Stepping: 1 04:10:26 CPU MHz: 2933.442 04:10:26 BogoMIPS: 5866.88 04:10:26 Virtualization: VT-x 04:10:26 Hypervisor vendor: KVM 04:10:26 Virtualization type: full 04:10:26 L1d cache: 128 KiB 04:10:26 L1i cache: 128 KiB 04:10:26 L2 cache: 16 MiB 04:10:26 L3 cache: 64 MiB 04:10:26 NUMA node0 CPU(s): 0-3 04:10:26 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:10:26 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:10:26 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:10:26 Vulnerability Meltdown: Mitigation; PTI 04:10:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:10:26 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:10:26 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:10:26 Vulnerability Srbds: Not affected 04:10:26 Vulnerability Tsx async abort: Not affected 04:10:26 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 04:10:26 04:10:26 04:10:26 ---> nproc: 04:10:26 4 04:10:26 04:10:26