Pull request #856 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c05abfa9ff339559ddeb33c0824f238db72b7824+119be5743e00329d34d55769b1b512288156e580 (b8464db7c095b40b1b1742c4c5a1b0107010214c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32710 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [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-856 # 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/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit c05abfa9ff339559ddeb33c0824f238db72b7824 Merge succeeded, producing c05abfa9ff339559ddeb33c0824f238db72b7824 Checking out Revision c05abfa9ff339559ddeb33c0824f238db72b7824 (PR-856) > git config core.sparsecheckout # timeout=10 > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # 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 119be5743e00329d34d55769b1b512288156e580 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-04T07:13:11.737Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-04T07:13:12.044Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-04T07:13:12.135Z] ========================================================= [2021-04-04T07:13:12.135Z] EdgeX Global Pipelines Version Info [2021-04-04T07:13:12.135Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c2af0d98444a821eb338cc743186fdc2a9db2c44 # timeout=10 [2021-04-04T07:13:13.548Z] ------------------- [2021-04-04T07:13:13.548Z] stable info: [2021-04-04T07:13:13.548Z] ------------------- [2021-04-04T07:13:13.548Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-04T07:13:13.548Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-04T07:13:13.548Z] Message: update stable to v1.0.186 [2021-04-04T07:13:14.491Z] ------------------- [2021-04-04T07:13:14.491Z] experimental info: [2021-04-04T07:13:14.491Z] ------------------- [2021-04-04T07:13:14.491Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-04T07:13:14.491Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-04T07:13:14.491Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-04T07:13:14.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-04T07:13:14.853Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-04T07:13:14.944Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-04T07:13:15.034Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-04T07:13:15.136Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-04T07:13:15.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-04T07:13:15.350Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-04T07:13:15.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-04T07:13:15.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-04T07:13:15.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-04T07:13:15.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-04T07:13:15.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-04T07:13:15.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-04T07:13:16.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-04T07:13:16.163Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-04T07:13:16.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-04T07:13:16.347Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-04T07:13:16.438Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-04T07:13:16.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-04T07:13:16.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-04T07:13:16.704Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-04T07:13:16.789Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-04T07:13:16.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-04T07:13:16.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-04T07:13:17.053Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-04T07:13:17.155Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-04T07:13:17.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-856 [Pipeline] echo [2021-04-04T07:13:17.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-856 [Pipeline] echo [2021-04-04T07:13:17.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-856 [Pipeline] echo [2021-04-04T07:13:17.518Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c05abfa9ff339559ddeb33c0824f238db72b7824 [Pipeline] echo [2021-04-04T07:13:17.602Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c05abfa [Pipeline] echo [2021-04-04T07:13:17.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-04T07:13:17.904Z] provisioning config files... [2021-04-04T07:13:17.929Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config6966042279905676496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:13:18.302Z] ---> docker-login.sh [2021-04-04T07:13:18.302Z] nexus3.edgexfoundry.org:10001 [2021-04-04T07:13:18.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:13:18.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:13:18.566Z] Configure a credential helper to remove this warning. See [2021-04-04T07:13:18.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:13:18.566Z] [2021-04-04T07:13:18.566Z] Login Succeeded [2021-04-04T07:13:18.566Z] nexus3.edgexfoundry.org:10002 [2021-04-04T07:13:18.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:13:18.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:13:18.834Z] Configure a credential helper to remove this warning. See [2021-04-04T07:13:18.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:13:18.834Z] [2021-04-04T07:13:18.834Z] Login Succeeded [2021-04-04T07:13:18.834Z] nexus3.edgexfoundry.org:10003 [2021-04-04T07:13:18.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:13:19.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:13:19.101Z] Configure a credential helper to remove this warning. See [2021-04-04T07:13:19.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:13:19.101Z] [2021-04-04T07:13:19.101Z] Login Succeeded [2021-04-04T07:13:19.101Z] nexus3.edgexfoundry.org:10004 [2021-04-04T07:13:19.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:13:19.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:13:19.101Z] Configure a credential helper to remove this warning. See [2021-04-04T07:13:19.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:13:19.101Z] [2021-04-04T07:13:19.101Z] Login Succeeded [2021-04-04T07:13:19.101Z] docker.io [2021-04-04T07:13:19.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:13:19.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:13:19.623Z] Configure a credential helper to remove this warning. See [2021-04-04T07:13:19.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:13:19.623Z] [2021-04-04T07:13:19.623Z] Login Succeeded [2021-04-04T07:13:19.623Z] ---> docker-login.sh ends [Pipeline] } [2021-04-04T07:13:19.632Z] 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 [2021-04-04T07:13:20.399Z] + git log --format=format:%s -1 c05abfa9ff339559ddeb33c0824f238db72b7824 [Pipeline] echo [2021-04-04T07:13:20.494Z] GIT_COMMIT: c05abfa9ff339559ddeb33c0824f238db72b7824, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-04-04T07:13:20.545Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:13:21.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:13:21.168Z] [2021-04-04T07:13:21.168Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:13:21.514Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:13:21.514Z] latest: Pulling from edgex-devops/git-semver [2021-04-04T07:13:21.514Z] 31603596830f: Pulling fs layer [2021-04-04T07:13:21.514Z] 2a8b12db71e7: Pulling fs layer [2021-04-04T07:13:21.514Z] 6ca5941a6612: Pulling fs layer [2021-04-04T07:13:21.514Z] ecc8261a40a4: Pulling fs layer [2021-04-04T07:13:21.514Z] ecc8261a40a4: Waiting [2021-04-04T07:13:21.514Z] 2a8b12db71e7: Verifying Checksum [2021-04-04T07:13:21.514Z] 2a8b12db71e7: Download complete [2021-04-04T07:13:21.514Z] 31603596830f: Verifying Checksum [2021-04-04T07:13:21.514Z] 31603596830f: Download complete [2021-04-04T07:13:21.779Z] 6ca5941a6612: Verifying Checksum [2021-04-04T07:13:21.779Z] 6ca5941a6612: Download complete [2021-04-04T07:13:21.779Z] ecc8261a40a4: Verifying Checksum [2021-04-04T07:13:21.779Z] ecc8261a40a4: Download complete [2021-04-04T07:13:22.042Z] 31603596830f: Pull complete [2021-04-04T07:13:22.042Z] 2a8b12db71e7: Pull complete [2021-04-04T07:13:23.000Z] 6ca5941a6612: Pull complete [2021-04-04T07:13:23.000Z] ecc8261a40a4: Pull complete [2021-04-04T07:13:23.000Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-04T07:13:23.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:13:23.263Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-04T07:13:23.358Z] prd-centos7-docker-4c-2g-32710 does not seem to be running inside a container [2021-04-04T07:13:23.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-856 -v /w/workspace/dgexfoundry_device-sdk-go_PR-856:/w/workspace/dgexfoundry_device-sdk-go_PR-856:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-04T07:13:25.371Z] $ docker top 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-04T07:13:25.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-04T07:13:25.769Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-04T07:13:25.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-04T07:13:25.974Z] $ docker exec 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b ssh-agent [2021-04-04T07:13:26.141Z] SSH_AUTH_SOCK=/tmp/ssh-JzWYZicXx7ao/agent.13 [2021-04-04T07:13:26.141Z] SSH_AGENT_PID=18 [2021-04-04T07:13:26.155Z] Running ssh-add (command line suppressed) [2021-04-04T07:13:26.263Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_8038758605467673419.key (/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_8038758605467673419.key) [2021-04-04T07:13:26.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-04T07:13:26.658Z] + git tag --points-at HEAD [Pipeline] } [2021-04-04T07:13:26.679Z] $ docker exec --env ******** --env ******** 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b ssh-agent -k [2021-04-04T07:13:26.785Z] unset SSH_AUTH_SOCK; [2021-04-04T07:13:26.786Z] unset SSH_AGENT_PID; [2021-04-04T07:13:26.786Z] echo Agent pid 18 killed; [2021-04-04T07:13:26.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-04T07:13:27.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-04T07:13:27.062Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-04T07:13:27.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-04T07:13:27.225Z] $ docker exec 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b ssh-agent [2021-04-04T07:13:27.386Z] SSH_AUTH_SOCK=/tmp/ssh-sT9X5THSm72O/agent.46 [2021-04-04T07:13:27.386Z] SSH_AGENT_PID=51 [2021-04-04T07:13:27.393Z] Running ssh-add (command line suppressed) [2021-04-04T07:13:27.501Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_2107887199665070601.key (/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_2107887199665070601.key) [2021-04-04T07:13:27.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-04T07:13:27.888Z] + git semver init [2021-04-04T07:13:27.888Z] # -> Open(): unable to determine branch for HEAD [2021-04-04T07:13:27.888Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-856/.git [2021-04-04T07:13:27.888Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-856 [2021-04-04T07:13:27.888Z] # $SEMVER_REMOTE_NAME = origin [2021-04-04T07:13:27.888Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-04T07:13:27.888Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-04T07:13:27.888Z] # $SEMVER_BRANCH = PR-856 [2021-04-04T07:13:27.888Z] # $SEMVER_TEMP = /tmp/semver-249324963 [2021-04-04T07:13:27.888Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-04T07:13:28.463Z] # '/tmp/semver-249324963' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-856/.semver' [2021-04-04T07:13:28.463Z] # -> Force: false [2021-04-04T07:13:28.463Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-856/.semver [Pipeline] } [2021-04-04T07:13:28.473Z] $ docker exec --env ******** --env ******** 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b ssh-agent -k [2021-04-04T07:13:28.578Z] unset SSH_AUTH_SOCK; [2021-04-04T07:13:28.578Z] unset SSH_AGENT_PID; [2021-04-04T07:13:28.578Z] echo Agent pid 51 killed; [2021-04-04T07:13:28.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-04T07:13:29.076Z] + git semver [Pipeline] } [2021-04-04T07:13:29.092Z] $ docker stop --time=1 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b [2021-04-04T07:13:31.212Z] $ docker rm -f 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-04T07:13:31.675Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-04T07:13:32.225Z] Stashed 1 file(s) [Pipeline] echo [2021-04-04T07:13:32.228Z] [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 [2021-04-04T07:13:47.746Z] Still waiting to schedule task [2021-04-04T07:13:47.746Z] ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-32711’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32709’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-04T07:13:47.748Z] Still waiting to schedule task [2021-04-04T07:13:47.748Z] ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-32711’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32709’ is offline [2021-04-04T07:16:29.328Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32712 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [Pipeline] { [Pipeline] ws [2021-04-04T07:16:29.381Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-04T07:16:34.291Z] using credential edgex-jenkins-ssh [2021-04-04T07:16:34.352Z] Cloning the remote Git repository [2021-04-04T07:16:34.404Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:16:34.513Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-04T07:16:34.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:16:34.637Z] > git --version # timeout=10 [2021-04-04T07:16:34.672Z] > git --version # 'git version 2.17.1' [2021-04-04T07:16:34.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:16:34.775Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-04T07:16:36.499Z] Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit c05abfa9ff339559ddeb33c0824f238db72b7824 [2021-04-04T07:16:36.782Z] Merge succeeded, producing c05abfa9ff339559ddeb33c0824f238db72b7824 [2021-04-04T07:16:36.783Z] Checking out Revision c05abfa9ff339559ddeb33c0824f238db72b7824 (PR-856) [2021-04-04T07:16:35.857Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-04T07:16:35.874Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-04T07:16:35.935Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-04T07:16:35.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:16:35.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:16:36.005Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-04T07:16:36.512Z] > git config core.sparsecheckout # timeout=10 [2021-04-04T07:16:36.534Z] > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 [2021-04-04T07:16:36.655Z] > git remote # timeout=10 [2021-04-04T07:16:36.673Z] > git config --get remote.origin.url # timeout=10 [2021-04-04T07:16:36.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:16:36.720Z] > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 [2021-04-04T07:16:36.755Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-04T07:16:36.784Z] > git config core.sparsecheckout # timeout=10 [2021-04-04T07:16:36.814Z] > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 [2021-04-04T07:16:41.021Z] 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 [2021-04-04T07:16:42.612Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-04T07:16:43.054Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-04T07:16:43.397Z] + true [2021-04-04T07:16:43.397Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-04T07:16:46.106Z] provisioning config files... [2021-04-04T07:16:46.141Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1176417569476946540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:16:46.532Z] ---> docker-login.sh [2021-04-04T07:16:46.532Z] nexus3.edgexfoundry.org:10001 [2021-04-04T07:16:47.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:16:47.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:16:47.720Z] Configure a credential helper to remove this warning. See [2021-04-04T07:16:47.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:16:47.720Z] [2021-04-04T07:16:47.720Z] Login Succeeded [2021-04-04T07:16:47.720Z] nexus3.edgexfoundry.org:10002 [2021-04-04T07:16:47.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:16:47.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:16:47.996Z] Configure a credential helper to remove this warning. See [2021-04-04T07:16:47.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:16:47.996Z] [2021-04-04T07:16:47.996Z] Login Succeeded [2021-04-04T07:16:47.996Z] nexus3.edgexfoundry.org:10003 [2021-04-04T07:16:48.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:16:48.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:16:48.541Z] Configure a credential helper to remove this warning. See [2021-04-04T07:16:48.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:16:48.541Z] [2021-04-04T07:16:48.541Z] Login Succeeded [2021-04-04T07:16:48.541Z] nexus3.edgexfoundry.org:10004 [2021-04-04T07:16:48.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:16:49.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:16:49.084Z] Configure a credential helper to remove this warning. See [2021-04-04T07:16:49.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:16:49.084Z] [2021-04-04T07:16:49.084Z] Login Succeeded [2021-04-04T07:16:49.084Z] docker.io [2021-04-04T07:16:49.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:16:49.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:16:49.626Z] Configure a credential helper to remove this warning. See [2021-04-04T07:16:49.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:16:49.626Z] [2021-04-04T07:16:49.626Z] Login Succeeded [2021-04-04T07:16:49.626Z] ---> docker-login.sh ends [Pipeline] } [2021-04-04T07:16:49.643Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-04T07:16:50.147Z] ========================================================= [2021-04-04T07:16:50.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-04T07:16:50.147Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:16:50.523Z] + 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 . [2021-04-04T07:16:50.808Z] Sending build context to Docker daemon 2.36MB [2021-04-04T07:16:50.808Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-04T07:16:50.808Z] Step 2/8 : FROM ${BASE} [2021-04-04T07:16:51.082Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-04T07:16:51.082Z] 5f621e34cdf4: Pulling fs layer [2021-04-04T07:16:51.082Z] a4357932f1b6: Pulling fs layer [2021-04-04T07:16:51.082Z] 18c013af1878: Pulling fs layer [2021-04-04T07:16:51.082Z] 00ac8860ef70: Pulling fs layer [2021-04-04T07:16:51.082Z] 63d7cb157983: Pulling fs layer [2021-04-04T07:16:51.082Z] b116817d02f9: Pulling fs layer [2021-04-04T07:16:51.082Z] 745a02a5169b: Pulling fs layer [2021-04-04T07:16:51.082Z] 00ac8860ef70: Waiting [2021-04-04T07:16:51.082Z] 63d7cb157983: Waiting [2021-04-04T07:16:51.082Z] b116817d02f9: Waiting [2021-04-04T07:16:51.082Z] 745a02a5169b: Waiting [2021-04-04T07:16:51.082Z] 18c013af1878: Verifying Checksum [2021-04-04T07:16:51.082Z] 18c013af1878: Download complete [2021-04-04T07:16:51.082Z] a4357932f1b6: Download complete [2021-04-04T07:16:51.082Z] 63d7cb157983: Download complete [2021-04-04T07:16:51.677Z] 5f621e34cdf4: Verifying Checksum [2021-04-04T07:16:51.677Z] 5f621e34cdf4: Download complete [2021-04-04T07:16:51.677Z] b116817d02f9: Verifying Checksum [2021-04-04T07:16:51.677Z] b116817d02f9: Download complete [2021-04-04T07:16:52.283Z] 5f621e34cdf4: Pull complete [2021-04-04T07:16:52.895Z] a4357932f1b6: Pull complete [2021-04-04T07:16:53.171Z] 18c013af1878: Pull complete [2021-04-04T07:16:53.771Z] 745a02a5169b: Verifying Checksum [2021-04-04T07:16:53.771Z] 745a02a5169b: Download complete [2021-04-04T07:16:55.227Z] 00ac8860ef70: Verifying Checksum [2021-04-04T07:16:55.227Z] 00ac8860ef70: Download complete [2021-04-04T07:16:59.155Z] Running on prd-centos7-docker-4c-2g-32713 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [Pipeline] { [Pipeline] ws [2021-04-04T07:16:59.213Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-04T07:17:01.627Z] using credential edgex-jenkins-ssh [2021-04-04T07:17:01.676Z] Cloning the remote Git repository [2021-04-04T07:17:01.700Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:17:01.766Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-04T07:17:01.828Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:17:01.828Z] > git --version # timeout=10 [2021-04-04T07:17:01.834Z] > git --version # 'git version 2.24.3' [2021-04-04T07:17:01.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:17:01.866Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-04T07:17:02.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-04T07:17:02.797Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-04T07:17:02.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-04T07:17:02.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:17:02.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:17:02.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-04T07:17:03.271Z] Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit c05abfa9ff339559ddeb33c0824f238db72b7824 [2021-04-04T07:17:03.359Z] Merge succeeded, producing c05abfa9ff339559ddeb33c0824f238db72b7824 [2021-04-04T07:17:03.360Z] Checking out Revision c05abfa9ff339559ddeb33c0824f238db72b7824 (PR-856) [2021-04-04T07:17:03.278Z] > git config core.sparsecheckout # timeout=10 [2021-04-04T07:17:03.285Z] > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 [2021-04-04T07:17:03.325Z] > git remote # timeout=10 [2021-04-04T07:17:03.330Z] > git config --get remote.origin.url # timeout=10 [2021-04-04T07:17:03.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:17:03.342Z] > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 [2021-04-04T07:17:03.352Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-04T07:17:03.361Z] > git config core.sparsecheckout # timeout=10 [2021-04-04T07:17:03.364Z] > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 [2021-04-04T07:17:05.405Z] 00ac8860ef70: Pull complete [2021-04-04T07:17:05.405Z] 63d7cb157983: Pull complete [2021-04-04T07:17:06.000Z] b116817d02f9: Pull complete [2021-04-04T07:17:07.000Z] 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 [2021-04-04T07:17:08.125Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-04T07:17:08.452Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-04T07:17:08.757Z] + sudo service docker restart [2021-04-04T07:17:08.757Z] + true [2021-04-04T07:17:08.757Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [2021-04-04T07:17:10.315Z] 745a02a5169b: Pull complete [2021-04-04T07:17:10.315Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-04T07:17:10.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-04T07:17:10.315Z] ---> b7e6874047d6 [2021-04-04T07:17:10.315Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] wrap [2021-04-04T07:17:10.327Z] provisioning config files... [2021-04-04T07:17:10.359Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3677004828064647785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:17:10.721Z] ---> docker-login.sh [2021-04-04T07:17:10.721Z] nexus3.edgexfoundry.org:10001 [2021-04-04T07:17:11.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:17:11.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:17:11.270Z] Configure a credential helper to remove this warning. See [2021-04-04T07:17:11.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:17:11.270Z] [2021-04-04T07:17:11.270Z] Login Succeeded [2021-04-04T07:17:11.270Z] nexus3.edgexfoundry.org:10002 [2021-04-04T07:17:11.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:17:11.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:17:11.536Z] Configure a credential helper to remove this warning. See [2021-04-04T07:17:11.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:17:11.536Z] [2021-04-04T07:17:11.536Z] Login Succeeded [2021-04-04T07:17:11.536Z] nexus3.edgexfoundry.org:10003 [2021-04-04T07:17:11.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:17:11.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:17:11.536Z] Configure a credential helper to remove this warning. See [2021-04-04T07:17:11.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:17:11.536Z] [2021-04-04T07:17:11.536Z] Login Succeeded [2021-04-04T07:17:11.536Z] nexus3.edgexfoundry.org:10004 [2021-04-04T07:17:11.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:17:11.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:17:11.800Z] Configure a credential helper to remove this warning. See [2021-04-04T07:17:11.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:17:11.800Z] [2021-04-04T07:17:11.800Z] Login Succeeded [2021-04-04T07:17:11.800Z] docker.io [2021-04-04T07:17:11.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:17:12.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:17:12.062Z] Configure a credential helper to remove this warning. See [2021-04-04T07:17:12.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:17:12.062Z] [2021-04-04T07:17:12.062Z] Login Succeeded [2021-04-04T07:17:12.062Z] ---> docker-login.sh ends [Pipeline] } [2021-04-04T07:17:12.073Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-04T07:17:12.288Z] ---> Running in 85ae2d215e64 [Pipeline] echo [2021-04-04T07:17:12.419Z] ========================================================= [2021-04-04T07:17:12.419Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-04T07:17:12.419Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:17:12.805Z] + 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 . [2021-04-04T07:17:12.805Z] Sending build context to Docker daemon 2.361MB [2021-04-04T07:17:12.880Z] Removing intermediate container 85ae2d215e64 [2021-04-04T07:17:12.880Z] ---> 018a944a85a7 [2021-04-04T07:17:12.880Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:17:12.880Z] ---> Running in 8cfb4a004902 [2021-04-04T07:17:13.071Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-04T07:17:13.071Z] Step 2/8 : FROM ${BASE} [2021-04-04T07:17:13.071Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-04T07:17:13.071Z] 188c0c94c7c5: Pulling fs layer [2021-04-04T07:17:13.071Z] 0ef7d3d256c8: Pulling fs layer [2021-04-04T07:17:13.071Z] de9db76c5a1d: Pulling fs layer [2021-04-04T07:17:13.071Z] bca2f99d35d6: Pulling fs layer [2021-04-04T07:17:13.071Z] 93359f2a8cfa: Pulling fs layer [2021-04-04T07:17:13.071Z] 7c6f9722023f: Pulling fs layer [2021-04-04T07:17:13.071Z] a35cf1a2eb13: Pulling fs layer [2021-04-04T07:17:13.071Z] bca2f99d35d6: Waiting [2021-04-04T07:17:13.071Z] 7c6f9722023f: Waiting [2021-04-04T07:17:13.071Z] a35cf1a2eb13: Waiting [2021-04-04T07:17:13.071Z] 93359f2a8cfa: Waiting [2021-04-04T07:17:13.071Z] de9db76c5a1d: Verifying Checksum [2021-04-04T07:17:13.071Z] de9db76c5a1d: Download complete [2021-04-04T07:17:13.071Z] 0ef7d3d256c8: Download complete [2021-04-04T07:17:13.071Z] 93359f2a8cfa: Download complete [2021-04-04T07:17:13.071Z] 188c0c94c7c5: Verifying Checksum [2021-04-04T07:17:13.071Z] 188c0c94c7c5: Download complete [2021-04-04T07:17:13.071Z] 7c6f9722023f: Verifying Checksum [2021-04-04T07:17:13.071Z] 7c6f9722023f: Download complete [2021-04-04T07:17:13.336Z] 188c0c94c7c5: Pull complete [2021-04-04T07:17:13.599Z] 0ef7d3d256c8: Pull complete [2021-04-04T07:17:13.599Z] de9db76c5a1d: Pull complete [2021-04-04T07:17:15.515Z] Removing intermediate container 8cfb4a004902 [2021-04-04T07:17:15.515Z] ---> 5814c6051e8f [2021-04-04T07:17:15.515Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-04T07:17:15.515Z] ---> Running in 9472e29f8554 [2021-04-04T07:17:16.160Z] a35cf1a2eb13: Download complete [2021-04-04T07:17:16.497Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-04T07:17:17.113Z] bca2f99d35d6: Verifying Checksum [2021-04-04T07:17:17.113Z] bca2f99d35d6: Download complete [2021-04-04T07:17:17.921Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-04T07:17:21.316Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-04T07:17:21.316Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-04T07:17:21.316Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-04T07:17:21.588Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-04T07:17:21.861Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-04T07:17:22.485Z] bca2f99d35d6: Pull complete [2021-04-04T07:17:22.485Z] 93359f2a8cfa: Pull complete [2021-04-04T07:17:22.485Z] 7c6f9722023f: Pull complete [2021-04-04T07:17:22.832Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-04T07:17:22.832Z] Executing busybox-1.31.1-r19.trigger [2021-04-04T07:17:22.832Z] OK: 144 MiB in 45 packages [2021-04-04T07:17:24.265Z] Removing intermediate container 9472e29f8554 [2021-04-04T07:17:24.265Z] ---> 54bf01d50dad [2021-04-04T07:17:24.265Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-04T07:17:24.538Z] ---> Running in fb6d5f2a1930 [2021-04-04T07:17:25.136Z] Removing intermediate container fb6d5f2a1930 [2021-04-04T07:17:25.136Z] ---> 53e1038a356f [2021-04-04T07:17:25.136Z] Step 7/8 : COPY . . [2021-04-04T07:17:26.582Z] ---> a5bc24e5365c [2021-04-04T07:17:26.583Z] Step 8/8 : RUN go mod download [2021-04-04T07:17:26.583Z] ---> Running in 9ed47818ca54 [2021-04-04T07:17:27.803Z] a35cf1a2eb13: Pull complete [2021-04-04T07:17:27.803Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-04T07:17:27.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-04T07:17:27.803Z] ---> a62c8e92a672 [2021-04-04T07:17:27.803Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:17:27.803Z] ---> Running in 8176ed49025e [2021-04-04T07:17:27.803Z] Removing intermediate container 8176ed49025e [2021-04-04T07:17:27.803Z] ---> 6fdaaef902d3 [2021-04-04T07:17:27.803Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:17:27.803Z] ---> Running in e37bd43149a2 [2021-04-04T07:17:28.758Z] Removing intermediate container e37bd43149a2 [2021-04-04T07:17:28.758Z] ---> 6bb58300151d [2021-04-04T07:17:28.758Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-04T07:17:28.758Z] ---> Running in f701e8a0911b [2021-04-04T07:17:29.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-04T07:17:30.413Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-04T07:17:31.803Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-04T07:17:31.803Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-04T07:17:32.066Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-04T07:17:32.066Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-04T07:17:32.066Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-04T07:17:32.329Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-04T07:17:32.591Z] Executing busybox-1.31.1-r19.trigger [2021-04-04T07:17:32.591Z] OK: 167 MiB in 45 packages [2021-04-04T07:17:33.193Z] Removing intermediate container f701e8a0911b [2021-04-04T07:17:33.193Z] ---> ed06a72054a5 [2021-04-04T07:17:33.193Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-04T07:17:33.193Z] ---> Running in 58ddf76fa9d5 [2021-04-04T07:17:33.454Z] Removing intermediate container 58ddf76fa9d5 [2021-04-04T07:17:33.454Z] ---> e8703dd2507b [2021-04-04T07:17:33.454Z] Step 7/8 : COPY . . [2021-04-04T07:17:34.845Z] ---> 081483fef030 [2021-04-04T07:17:34.845Z] Step 8/8 : RUN go mod download [2021-04-04T07:17:34.845Z] ---> Running in 1c90c3545685 [2021-04-04T07:17:53.396Z] Removing intermediate container 9ed47818ca54 [2021-04-04T07:17:53.396Z] ---> b8d981868936 [2021-04-04T07:17:53.396Z] Successfully built b8d981868936 [2021-04-04T07:17:53.396Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:17:53.736Z] + docker inspect -f . ci-base-image-arm64 [2021-04-04T07:17:53.736Z] . [Pipeline] withDockerContainer [2021-04-04T07:17:54.013Z] prd-ubuntu18.04-docker-arm64-4c-16g-32712 does not seem to be running inside a container [2021-04-04T07:17:54.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 [2021-04-04T07:17:55.688Z] $ docker top 4bcaa386679c37d09407e07c3c96b70ed9aba374cd71877294e0ca8b023e892f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-04T07:17:56.717Z] + go version [2021-04-04T07:17:56.717Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-04T07:17:56.742Z] $ docker stop --time=1 4bcaa386679c37d09407e07c3c96b70ed9aba374cd71877294e0ca8b023e892f [2021-04-04T07:17:56.860Z] Removing intermediate container 1c90c3545685 [2021-04-04T07:17:56.860Z] ---> 51bd4cb33c30 [2021-04-04T07:17:56.860Z] Successfully built 51bd4cb33c30 [2021-04-04T07:17:56.860Z] Successfully tagged ci-base-image-x86_64:latest [2021-04-04T07:17:58.789Z] $ docker rm -f 4bcaa386679c37d09407e07c3c96b70ed9aba374cd71877294e0ca8b023e892f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:17:59.554Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-04T07:17:59.554Z] . [Pipeline] withDockerContainer [2021-04-04T07:17:59.734Z] + docker inspect -f . ci-base-image-arm64 [2021-04-04T07:17:59.734Z] . [2021-04-04T07:17:59.779Z] prd-centos7-docker-4c-2g-32713 does not seem to be running inside a container [2021-04-04T07:17:59.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 [2021-04-04T07:18:00.696Z] $ docker top dabbd079c27b4a28c1106b35951fb61d3667994ae4e6f28c217e7bd343b888f1 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-04-04T07:18:01.094Z] prd-ubuntu18.04-docker-arm64-4c-16g-32712 does not seem to be running inside a container [2021-04-04T07:18:01.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 [2021-04-04T07:18:02.747Z] $ docker top 57cd2f2342fa4ed13e51df1c238a773520be7ecbdbb6a8550500db1950875c56 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-04-04T07:18:03.419Z] + go version [2021-04-04T07:18:03.419Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-04T07:18:03.432Z] $ docker stop --time=1 dabbd079c27b4a28c1106b35951fb61d3667994ae4e6f28c217e7bd343b888f1 [2021-04-04T07:18:03.823Z] + make test [2021-04-04T07:18:03.823Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-04T07:18:04.771Z] $ docker rm -f dabbd079c27b4a28c1106b35951fb61d3667994ae4e6f28c217e7bd343b888f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:18:05.581Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-04T07:18:05.581Z] . [Pipeline] withDockerContainer [2021-04-04T07:18:05.683Z] prd-centos7-docker-4c-2g-32713 does not seem to be running inside a container [2021-04-04T07:18:05.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 [2021-04-04T07:18:06.377Z] $ docker top 437c5bcbe540b3e75d6a9856d721db1dee7954ef6d3fed18068aa208b4ca36f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-04T07:18:06.893Z] + make test [2021-04-04T07:18:06.893Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-04T07:18:15.109Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-04T07:18:26.002Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-04T07:18:33.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-04T07:18:33.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-04T07:18:33.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-04T07:18:33.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-04T07:18:33.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-04T07:18:36.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 28.1% of statements [2021-04-04T07:18:36.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.126s coverage: 81.2% of statements [2021-04-04T07:18:37.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements [2021-04-04T07:18:37.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-04T07:18:37.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-04T07:18:37.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-04T07:18:37.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 32.5% of statements [2021-04-04T07:18:37.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-04T07:18:37.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-04T07:18:37.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-04T07:18:38.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 57.3% of statements [2021-04-04T07:18:38.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.176s coverage: 6.6% of statements [2021-04-04T07:18:38.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-04T07:18:38.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-04T07:18:38.804Z] GO111MODULE=on go vet ./... [2021-04-04T07:18:53.848Z] gofmt -l . [2021-04-04T07:18:53.848Z] [ "`gofmt -l .`" = "" ] [2021-04-04T07:18:53.848Z] ./bin/test-attribution-txt.sh [2021-04-04T07:18:53.848Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-04T07:18:54.126Z] $ docker stop --time=1 437c5bcbe540b3e75d6a9856d721db1dee7954ef6d3fed18068aa208b4ca36f4 [2021-04-04T07:18:56.309Z] $ docker rm -f 437c5bcbe540b3e75d6a9856d721db1dee7954ef6d3fed18068aa208b4ca36f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-04T07:18:56.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-04T07:18:57.390Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-04T07:18:58.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-04T07:18:58.897Z] + ls -al . [2021-04-04T07:18:58.897Z] total 188 [2021-04-04T07:18:58.897Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 4 07:18 . [2021-04-04T07:18:58.897Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 4 07:17 .. [2021-04-04T07:18:58.897Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 4 07:17 bin [2021-04-04T07:18:58.897Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 4 07:18 coverage.out [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 4 07:17 Dockerfile.build [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 4 07:17 .dockerignore [2021-04-04T07:18:58.897Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 4 07:17 example [2021-04-04T07:18:58.897Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 4 07:17 .git [2021-04-04T07:18:58.897Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 4 07:17 .github [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 4 07:17 .gitignore [2021-04-04T07:18:58.897Z] -rw-r--r--. 1 jenkins jenkins 537 Apr 4 07:18 go.mod [2021-04-04T07:18:58.897Z] -rw-r--r--. 1 jenkins jenkins 21064 Apr 4 07:18 go.sum [2021-04-04T07:18:58.897Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 4 07:17 internal [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 4 07:17 Jenkinsfile [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 4 07:17 LICENSE [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 4 07:17 Makefile [2021-04-04T07:18:58.897Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 4 07:17 openapi [2021-04-04T07:18:58.897Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 4 07:17 pkg [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 4 07:17 README.md [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 4 07:17 RELEASE-NOTES.txt [2021-04-04T07:18:58.897Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 4 07:17 snap [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 4 07:13 VERSION [2021-04-04T07:18:58.897Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 4 07:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:18:59.210Z] + 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=c05abfa9ff339559ddeb33c0824f238db72b7824 --label arch=amd64 --label version=0.0.0 . [2021-04-04T07:18:59.473Z] Sending build context to Docker daemon 2.463MB [2021-04-04T07:18:59.473Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-04T07:18:59.473Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-04T07:18:59.473Z] ---> 51bd4cb33c30 [2021-04-04T07:18:59.473Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-04T07:19:00.048Z] ---> Running in 430d9b950ded [2021-04-04T07:19:00.048Z] Removing intermediate container 430d9b950ded [2021-04-04T07:19:00.048Z] ---> 0b71d117f654 [2021-04-04T07:19:00.048Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:19:00.334Z] ---> Running in b99f56ca401b [2021-04-04T07:19:00.334Z] Removing intermediate container b99f56ca401b [2021-04-04T07:19:00.334Z] ---> 1db65f8773ac [2021-04-04T07:19:00.334Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:19:00.334Z] ---> Running in 4d5dfa1850d2 [2021-04-04T07:19:01.285Z] Removing intermediate container 4d5dfa1850d2 [2021-04-04T07:19:01.285Z] ---> 63dcf25a85eb [2021-04-04T07:19:01.285Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-04T07:19:01.551Z] ---> Running in 77dc567378b9 [2021-04-04T07:19:01.815Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-04T07:19:02.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-04T07:19:03.339Z] OK: 167 MiB in 45 packages [2021-04-04T07:19:03.604Z] Removing intermediate container 77dc567378b9 [2021-04-04T07:19:03.605Z] ---> 157172838f50 [2021-04-04T07:19:03.605Z] Step 7/23 : COPY . . [2021-04-04T07:19:04.554Z] ---> ec2a3035ff5f [2021-04-04T07:19:04.554Z] Step 8/23 : RUN go mod download [2021-04-04T07:19:04.554Z] ---> Running in b79de72e4f62 [2021-04-04T07:19:05.956Z] Removing intermediate container b79de72e4f62 [2021-04-04T07:19:05.956Z] ---> ef55e51c7e06 [2021-04-04T07:19:05.956Z] Step 9/23 : RUN make build [2021-04-04T07:19:05.956Z] ---> Running in ca9f960f6334 [2021-04-04T07:19:06.222Z] 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 [2021-04-04T07:19:16.337Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-04T07:19:17.730Z] Removing intermediate container ca9f960f6334 [2021-04-04T07:19:17.730Z] ---> cde2877cd3b8 [2021-04-04T07:19:17.730Z] Step 10/23 : FROM alpine:3.12 [2021-04-04T07:19:18.308Z] 3.12: Pulling from library/alpine [2021-04-04T07:19:18.308Z] 532819f3e44c: Pulling fs layer [2021-04-04T07:19:18.576Z] 532819f3e44c: Download complete [2021-04-04T07:19:18.838Z] 532819f3e44c: Pull complete [2021-04-04T07:19:18.838Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-04T07:19:18.838Z] Status: Downloaded newer image for alpine:3.12 [2021-04-04T07:19:18.838Z] ---> 7230e588e954 [2021-04-04T07:19:18.838Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:19:18.838Z] ---> Running in 6e8aa762b1a8 [2021-04-04T07:19:19.101Z] Removing intermediate container 6e8aa762b1a8 [2021-04-04T07:19:19.101Z] ---> 928e9f5e6ee1 [2021-04-04T07:19:19.101Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:19:19.101Z] ---> Running in 7c06dd0647de [2021-04-04T07:19:20.048Z] Removing intermediate container 7c06dd0647de [2021-04-04T07:19:20.048Z] ---> 59d89486cf80 [2021-04-04T07:19:20.048Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-04T07:19:20.048Z] ---> Running in d0102660ae03 [2021-04-04T07:19:20.623Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-04T07:19:21.197Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-04T07:19:21.772Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-04T07:19:22.034Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-04T07:19:22.034Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-04T07:19:22.607Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-04T07:19:22.607Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-04T07:19:22.607Z] Executing busybox-1.31.1-r20.trigger [2021-04-04T07:19:22.607Z] OK: 8 MiB in 19 packages [2021-04-04T07:19:22.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-04T07:19:22.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-04T07:19:22.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-04T07:19:22.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-04T07:19:22.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-04T07:19:23.185Z] Removing intermediate container d0102660ae03 [2021-04-04T07:19:23.186Z] ---> f9d060eb0074 [2021-04-04T07:19:23.186Z] Step 14/23 : WORKDIR / [2021-04-04T07:19:23.186Z] ---> Running in 2be116b6d240 [2021-04-04T07:19:23.448Z] Removing intermediate container 2be116b6d240 [2021-04-04T07:19:23.448Z] ---> 50928f5e6cde [2021-04-04T07:19:23.448Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-04T07:19:23.710Z] ---> af13fdc13093 [2021-04-04T07:19:23.710Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-04T07:19:24.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.123s coverage: 28.1% of statements [2021-04-04T07:19:24.297Z] ---> 81b42e45053d [2021-04-04T07:19:24.297Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-04T07:19:24.559Z] ---> f0bfbe5f6a91 [2021-04-04T07:19:24.559Z] Step 18/23 : EXPOSE 49990 [2021-04-04T07:19:24.559Z] ---> Running in 1490f3f97312 [2021-04-04T07:19:24.821Z] Removing intermediate container 1490f3f97312 [2021-04-04T07:19:24.821Z] ---> ba5a336e8085 [2021-04-04T07:19:24.821Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-04T07:19:24.821Z] ---> Running in 57ce7ee86585 [2021-04-04T07:19:25.083Z] Removing intermediate container 57ce7ee86585 [2021-04-04T07:19:25.083Z] ---> 5ce48fe972e5 [2021-04-04T07:19:25.083Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-04T07:19:25.083Z] ---> Running in 77b6202a0e8a [2021-04-04T07:19:25.346Z] Removing intermediate container 77b6202a0e8a [2021-04-04T07:19:25.346Z] ---> e4ecacb82a53 [2021-04-04T07:19:25.346Z] Step 21/23 : LABEL arch=amd64 [2021-04-04T07:19:25.346Z] ---> Running in 58cdea00a9f9 [2021-04-04T07:19:25.346Z] Removing intermediate container 58cdea00a9f9 [2021-04-04T07:19:25.346Z] ---> 6554b9491975 [2021-04-04T07:19:25.346Z] Step 22/23 : LABEL git_sha=c05abfa9ff339559ddeb33c0824f238db72b7824 [2021-04-04T07:19:25.616Z] ---> Running in 5472204bd885 [2021-04-04T07:19:25.616Z] Removing intermediate container 5472204bd885 [2021-04-04T07:19:25.616Z] ---> 3cd306a5bcf8 [2021-04-04T07:19:25.616Z] Step 23/23 : LABEL version=0.0.0 [2021-04-04T07:19:25.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.293s coverage: 81.2% of statements [2021-04-04T07:19:25.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.151s coverage: 7.8% of statements [2021-04-04T07:19:25.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-04T07:19:25.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-04T07:19:25.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-04T07:19:25.878Z] ---> Running in a1117370d067 [2021-04-04T07:19:25.878Z] Removing intermediate container a1117370d067 [2021-04-04T07:19:25.878Z] ---> d469bf4fde0c [2021-04-04T07:19:25.878Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-04T07:19:25.878Z] Successfully built d469bf4fde0c [2021-04-04T07:19:25.878Z] 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 [2021-04-04T07:19:26.931Z] ---> job-cost.sh [2021-04-04T07:19:26.931Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KA54 [2021-04-04T07:19:27.858Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.391s coverage: 32.5% of statements [2021-04-04T07:19:27.858Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-04T07:19:27.858Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-04T07:19:27.858Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-04T07:19:31.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.303s coverage: 57.3% of statements [2021-04-04T07:19:31.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.273s coverage: 6.6% of statements [2021-04-04T07:19:31.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-04-04T07:19:31.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-04T07:19:32.479Z] GO111MODULE=on go vet ./... [2021-04-04T07:19:41.854Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-04T07:20:08.534Z] lf-activate-venv(): INFO: Adding /tmp/venv-KA54/bin to PATH [2021-04-04T07:20:08.534Z] INFO: No Stack... [2021-04-04T07:20:08.534Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-04T07:20:09.109Z] INFO: Archiving Costs [Pipeline] sh [2021-04-04T07:20:09.422Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-04T07:20:09.422Z] + cut -d, -f6 [Pipeline] lock [2021-04-04T07:20:09.538Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] [2021-04-04T07:20:09.548Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] did not exist. Created. [2021-04-04T07:20:09.549Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-04T07:20:09.958Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-04T07:20:10.136Z] Stashed 1 file(s) [Pipeline] } [2021-04-04T07:20:10.149Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-04T07:20:19.500Z] gofmt -l . [2021-04-04T07:20:19.500Z] [ "`gofmt -l .`" = "" ] [2021-04-04T07:20:19.500Z] ./bin/test-attribution-txt.sh [2021-04-04T07:20:19.500Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-04T07:20:19.526Z] $ docker stop --time=1 57cd2f2342fa4ed13e51df1c238a773520be7ecbdbb6a8550500db1950875c56 [2021-04-04T07:20:21.882Z] $ docker rm -f 57cd2f2342fa4ed13e51df1c238a773520be7ecbdbb6a8550500db1950875c56 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-04T07:20:23.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-04T07:20:23.193Z] Warning: overwriting stash ‘coverage-report’ [2021-04-04T07:20:24.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-04T07:20:24.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-04T07:20:24.998Z] + ls -al . [2021-04-04T07:20:24.998Z] total 224 [2021-04-04T07:20:24.998Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 07:20 . [2021-04-04T07:20:24.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:16 .. [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 07:16 .dockerignore [2021-04-04T07:20:24.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:16 .git [2021-04-04T07:20:24.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:16 .github [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 4 07:16 .gitignore [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 4 07:16 Dockerfile.build [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 4 07:16 Jenkinsfile [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 4 07:16 LICENSE [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 4 07:16 Makefile [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 4 07:16 README.md [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 4 07:16 RELEASE-NOTES.txt [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 07:13 VERSION [2021-04-04T07:20:24.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:16 bin [2021-04-04T07:20:24.998Z] -rw-r--r-- 1 jenkins jenkins 101239 Apr 4 07:19 coverage.out [2021-04-04T07:20:24.998Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 07:16 example [2021-04-04T07:20:24.998Z] -rw-r--r-- 1 jenkins jenkins 537 Apr 4 07:20 go.mod [2021-04-04T07:20:24.998Z] -rw-r--r-- 1 jenkins jenkins 21064 Apr 4 07:20 go.sum [2021-04-04T07:20:24.998Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 4 07:16 internal [2021-04-04T07:20:24.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:16 openapi [2021-04-04T07:20:24.998Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 07:16 pkg [2021-04-04T07:20:24.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:16 snap [2021-04-04T07:20:24.998Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 4 07:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:20:25.338Z] + 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=c05abfa9ff339559ddeb33c0824f238db72b7824 --label arch=arm64 --label version=0.0.0 . [2021-04-04T07:20:25.611Z] Sending build context to Docker daemon 2.462MB [2021-04-04T07:20:25.882Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-04T07:20:25.882Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-04T07:20:25.882Z] ---> b8d981868936 [2021-04-04T07:20:25.882Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-04T07:20:26.473Z] ---> Running in 45e049020c19 [2021-04-04T07:20:27.063Z] Removing intermediate container 45e049020c19 [2021-04-04T07:20:27.063Z] ---> 51919538d211 [2021-04-04T07:20:27.063Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:20:27.341Z] ---> Running in d740f2909d02 [2021-04-04T07:20:27.944Z] Removing intermediate container d740f2909d02 [2021-04-04T07:20:27.944Z] ---> 48adb5861751 [2021-04-04T07:20:27.944Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:20:28.215Z] ---> Running in 04713374ce62 [2021-04-04T07:20:30.828Z] Removing intermediate container 04713374ce62 [2021-04-04T07:20:30.828Z] ---> 52d3e513eac3 [2021-04-04T07:20:30.828Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-04T07:20:30.828Z] ---> Running in 3cc7933d2229 [2021-04-04T07:20:32.263Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-04T07:20:32.853Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-04T07:20:34.282Z] OK: 144 MiB in 45 packages [2021-04-04T07:20:35.255Z] Removing intermediate container 3cc7933d2229 [2021-04-04T07:20:35.255Z] ---> 627e640bcd1d [2021-04-04T07:20:35.255Z] Step 7/23 : COPY . . [2021-04-04T07:20:36.686Z] ---> 0eea6c48990a [2021-04-04T07:20:36.686Z] Step 8/23 : RUN go mod download [2021-04-04T07:20:36.686Z] ---> Running in 8cd09b7afbd1 [2021-04-04T07:20:39.297Z] Removing intermediate container 8cd09b7afbd1 [2021-04-04T07:20:39.297Z] ---> 767e47a4df81 [2021-04-04T07:20:39.297Z] Step 9/23 : RUN make build [2021-04-04T07:20:39.567Z] ---> Running in 5f324e868328 [2021-04-04T07:20:40.999Z] 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 [2021-04-04T07:21:13.351Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-04T07:21:15.971Z] Removing intermediate container 5f324e868328 [2021-04-04T07:21:15.971Z] ---> 2b4812db64a5 [2021-04-04T07:21:15.971Z] Step 10/23 : FROM alpine:3.12 [2021-04-04T07:21:16.244Z] 3.12: Pulling from library/alpine [2021-04-04T07:21:16.515Z] 9a219e8acc52: Pulling fs layer [2021-04-04T07:21:16.515Z] 9a219e8acc52: Verifying Checksum [2021-04-04T07:21:16.515Z] 9a219e8acc52: Download complete [2021-04-04T07:21:17.488Z] 9a219e8acc52: Pull complete [2021-04-04T07:21:17.488Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-04T07:21:17.488Z] Status: Downloaded newer image for alpine:3.12 [2021-04-04T07:21:17.488Z] ---> d75e27dfc0a0 [2021-04-04T07:21:17.488Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:21:17.761Z] ---> Running in 0b9f3654a787 [2021-04-04T07:21:18.352Z] Removing intermediate container 0b9f3654a787 [2021-04-04T07:21:18.352Z] ---> 681837006ef2 [2021-04-04T07:21:18.352Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:21:18.623Z] ---> Running in 49dbc5b9da19 [2021-04-04T07:21:21.239Z] Removing intermediate container 49dbc5b9da19 [2021-04-04T07:21:21.239Z] ---> 273a7467a437 [2021-04-04T07:21:21.239Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-04T07:21:21.513Z] ---> Running in 1ac626d95ef2 [2021-04-04T07:21:22.487Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-04T07:21:23.455Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-04T07:21:24.045Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-04T07:21:24.045Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-04T07:21:24.315Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-04T07:21:24.583Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-04T07:21:24.854Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-04T07:21:24.854Z] Executing busybox-1.31.1-r20.trigger [2021-04-04T07:21:24.854Z] OK: 8 MiB in 19 packages [2021-04-04T07:21:26.283Z] Removing intermediate container 1ac626d95ef2 [2021-04-04T07:21:26.283Z] ---> 769963352264 [2021-04-04T07:21:26.283Z] Step 14/23 : WORKDIR / [2021-04-04T07:21:26.283Z] ---> Running in a7ea042339d3 [2021-04-04T07:21:26.877Z] Removing intermediate container a7ea042339d3 [2021-04-04T07:21:26.877Z] ---> 7ee256c30d24 [2021-04-04T07:21:26.877Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-04T07:21:27.470Z] ---> dd2df17a35d3 [2021-04-04T07:21:27.470Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-04T07:21:28.903Z] ---> 2f63827900d6 [2021-04-04T07:21:28.903Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-04T07:21:29.498Z] ---> dfb4fb39946f [2021-04-04T07:21:29.498Z] Step 18/23 : EXPOSE 49990 [2021-04-04T07:21:29.498Z] ---> Running in 63e306522ebd [2021-04-04T07:21:30.095Z] Removing intermediate container 63e306522ebd [2021-04-04T07:21:30.095Z] ---> 7640f760a127 [2021-04-04T07:21:30.095Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-04T07:21:30.095Z] ---> Running in 6ca4cea49bf3 [2021-04-04T07:21:30.687Z] Removing intermediate container 6ca4cea49bf3 [2021-04-04T07:21:30.687Z] ---> 67beb556c509 [2021-04-04T07:21:30.687Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-04T07:21:30.687Z] ---> Running in 428f66d862ce [2021-04-04T07:21:30.965Z] Removing intermediate container 428f66d862ce [2021-04-04T07:21:30.965Z] ---> a42e3fd74a4d [2021-04-04T07:21:30.965Z] Step 21/23 : LABEL arch=arm64 [2021-04-04T07:21:31.240Z] ---> Running in 7b72d61bed29 [2021-04-04T07:21:31.511Z] Removing intermediate container 7b72d61bed29 [2021-04-04T07:21:31.511Z] ---> f8e929e15e9f [2021-04-04T07:21:31.511Z] Step 22/23 : LABEL git_sha=c05abfa9ff339559ddeb33c0824f238db72b7824 [2021-04-04T07:21:31.784Z] ---> Running in 741f77bf3afe [2021-04-04T07:21:32.055Z] Removing intermediate container 741f77bf3afe [2021-04-04T07:21:32.055Z] ---> acf89d987c1a [2021-04-04T07:21:32.055Z] Step 23/23 : LABEL version=0.0.0 [2021-04-04T07:21:32.327Z] ---> Running in e49d667f46ee [2021-04-04T07:21:32.598Z] Removing intermediate container e49d667f46ee [2021-04-04T07:21:32.598Z] ---> 622fea55c37d [2021-04-04T07:21:32.598Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-04T07:21:32.598Z] Successfully built 622fea55c37d [2021-04-04T07:21:32.868Z] 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 [2021-04-04T07:21:33.586Z] ---> job-cost.sh [2021-04-04T07:21:33.586Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-48iy [2021-04-04T07:22:12.524Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-04T07:23:49.278Z] lf-activate-venv(): INFO: Adding /tmp/venv-48iy/bin to PATH [2021-04-04T07:23:49.278Z] INFO: No Stack... [2021-04-04T07:23:49.278Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-04T07:23:49.278Z] INFO: Archiving Costs [Pipeline] sh [2021-04-04T07:23:49.622Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-04T07:23:49.622Z] + cut -d, -f6 [Pipeline] lock [2021-04-04T07:23:49.755Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] [2021-04-04T07:23:49.761Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] did not exist. Created. [2021-04-04T07:23:49.761Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-04T07:23:50.195Z] /w/workspace/device-sdk-go/3@tmp/durable-1da5d80e/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-1da5d80e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-04T07:23:50.537Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-04T07:23:50.601Z] Warning: overwriting stash ‘stack-cost’ [2021-04-04T07:23:50.755Z] Stashed 1 file(s) [Pipeline] } [2021-04-04T07:23:50.772Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-856-3-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 [2021-04-04T07:23:51.871Z] provisioning config files... [2021-04-04T07:23:51.890Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config5667498410170600651tmp [Pipeline] { [Pipeline] sh [2021-04-04T07:23:52.267Z] + set +x [2021-04-04T07:23:52.267Z] + curl -s https://codecov.io/bash [2021-04-04T07:23:52.267Z] + bash -s -- [2021-04-04T07:23:52.267Z] [2021-04-04T07:23:52.267Z] _____ _ [2021-04-04T07:23:52.267Z] / ____| | | [2021-04-04T07:23:52.267Z] | | ___ __| | ___ ___ _____ __ [2021-04-04T07:23:52.267Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-04T07:23:52.267Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-04T07:23:52.267Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-04T07:23:52.267Z] Bash-20210309-2b87ace [2021-04-04T07:23:52.267Z] [2021-04-04T07:23:52.267Z] [2021-04-04T07:23:52.267Z] ==> git version 2.24.3 found [2021-04-04T07:23:52.528Z] ==> 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 [2021-04-04T07:23:52.528Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-04T07:23:52.528Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-04T07:23:52.528Z] ==> Jenkins CI detected. [2021-04-04T07:23:52.528Z] project root: . [2021-04-04T07:23:52.528Z] --> token set from env [2021-04-04T07:23:52.528Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-04T07:23:52.528Z] ==> Running gcov in . (disable via -X gcov) [2021-04-04T07:23:52.529Z] ==> Python coveragepy not found [2021-04-04T07:23:52.529Z] ==> Searching for coverage reports in: [2021-04-04T07:23:52.529Z] + . [2021-04-04T07:23:52.529Z] -> Found 1 reports [2021-04-04T07:23:52.529Z] ==> Detecting git/mercurial file structure [2021-04-04T07:23:52.529Z] ==> Reading reports [2021-04-04T07:23:52.529Z] + ./coverage.out bytes=101239 [2021-04-04T07:23:52.529Z] ==> Appending adjustments [2021-04-04T07:23:52.529Z] https://docs.codecov.io/docs/fixing-reports [2021-04-04T07:23:52.791Z] + Found adjustments [2021-04-04T07:23:52.791Z] ==> Gzipping contents [2021-04-04T07:23:52.791Z] 16K /tmp/codecov.kXFv1F.gz [2021-04-04T07:23:52.791Z] ==> Uploading reports [2021-04-04T07:23:52.791Z] url: https://codecov.io [2021-04-04T07:23:52.791Z] query: branch=PR-856&commit=c05abfa9ff339559ddeb33c0824f238db72b7824&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-856%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=856&job=&cmd_args= [2021-04-04T07:23:52.791Z] -> Pinging Codecov [2021-04-04T07:23:52.791Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-856&commit=c05abfa9ff339559ddeb33c0824f238db72b7824&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-856%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=856&job=&cmd_args= [2021-04-04T07:23:53.366Z] -> Uploading to [2021-04-04T07:23:53.366Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-04/7E55EF52A471D76F132DFD9A03CDDE97/c05abfa9ff339559ddeb33c0824f238db72b7824/b16ddc0f-3d01-475e-b10f-2e81b035fac3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210404T072353Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8114bdb936c3d063e8b5270ec8f63c869a00982d7a88307be610f6a653321850 [2021-04-04T07:23:53.366Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-04T07:23:53.366Z] Dload Upload Total Spent Left Speed [2021-04-04T07:23:53.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13717 0 0 100 13717 0 35599 --:--:-- --:--:-- --:--:-- 35628 [2021-04-04T07:23:53.628Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c05abfa9ff339559ddeb33c0824f238db72b7824 [Pipeline] } [2021-04-04T07:23:53.637Z] 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 [2021-04-04T07:23:55.922Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:23:56.484Z] ---> package-listing.sh [2021-04-04T07:23:56.485Z] ++ facter osfamily [2021-04-04T07:23:56.485Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-04T07:23:56.485Z] + OS_FAMILY=redhat [2021-04-04T07:23:56.485Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-856 [2021-04-04T07:23:56.485Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-04T07:23:56.485Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-04T07:23:56.485Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-04T07:23:56.485Z] + PACKAGES=/tmp/packages_start.txt [2021-04-04T07:23:56.485Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-856 ']' [2021-04-04T07:23:56.485Z] + PACKAGES=/tmp/packages_end.txt [2021-04-04T07:23:56.485Z] + case "${OS_FAMILY}" in [2021-04-04T07:23:56.485Z] + rpm -qa [2021-04-04T07:23:56.485Z] + sort [2021-04-04T07:24:01.795Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-04T07:24:01.795Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-04T07:24:01.795Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-04T07:24:01.795Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-856 ']' [2021-04-04T07:24:01.795Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-856/archives/ [2021-04-04T07:24:01.795Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-856/archives/ [Pipeline] echo [2021-04-04T07:24:01.814Z] 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-856/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-04T07:24:02.121Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:24:02.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-04T07:24:02.428Z] [2021-04-04T07:24:02.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:24:02.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-04T07:24:02.779Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-04T07:24:02.779Z] df20fa9351a1: Pulling fs layer [2021-04-04T07:24:02.779Z] 36b3adc4ff6f: Pulling fs layer [2021-04-04T07:24:02.779Z] 8ad3a11d3b57: Pulling fs layer [2021-04-04T07:24:02.779Z] 46f8f816bc3b: Pulling fs layer [2021-04-04T07:24:02.779Z] 93b61091891f: Pulling fs layer [2021-04-04T07:24:02.779Z] 93b9cdb0e59b: Pulling fs layer [2021-04-04T07:24:02.779Z] 5e14af77c1be: Pulling fs layer [2021-04-04T07:24:02.779Z] 01666e4c0597: Pulling fs layer [2021-04-04T07:24:02.779Z] aa168da1d23b: Pulling fs layer [2021-04-04T07:24:02.779Z] 93b61091891f: Waiting [2021-04-04T07:24:02.779Z] 93b9cdb0e59b: Waiting [2021-04-04T07:24:02.779Z] 5e14af77c1be: Waiting [2021-04-04T07:24:02.779Z] 01666e4c0597: Waiting [2021-04-04T07:24:02.779Z] aa168da1d23b: Waiting [2021-04-04T07:24:02.779Z] 46f8f816bc3b: Waiting [2021-04-04T07:24:02.779Z] 36b3adc4ff6f: Download complete [2021-04-04T07:24:02.779Z] 46f8f816bc3b: Download complete [2021-04-04T07:24:03.048Z] df20fa9351a1: Download complete [2021-04-04T07:24:03.048Z] 93b9cdb0e59b: Verifying Checksum [2021-04-04T07:24:03.048Z] 93b9cdb0e59b: Download complete [2021-04-04T07:24:03.048Z] 93b61091891f: Verifying Checksum [2021-04-04T07:24:03.048Z] 93b61091891f: Download complete [2021-04-04T07:24:03.048Z] 01666e4c0597: Verifying Checksum [2021-04-04T07:24:03.048Z] 01666e4c0597: Download complete [2021-04-04T07:24:03.048Z] 5e14af77c1be: Verifying Checksum [2021-04-04T07:24:03.048Z] 5e14af77c1be: Download complete [2021-04-04T07:24:03.048Z] 8ad3a11d3b57: Verifying Checksum [2021-04-04T07:24:03.048Z] 8ad3a11d3b57: Download complete [2021-04-04T07:24:03.311Z] df20fa9351a1: Pull complete [2021-04-04T07:24:03.576Z] 36b3adc4ff6f: Pull complete [2021-04-04T07:24:04.150Z] 8ad3a11d3b57: Pull complete [2021-04-04T07:24:04.415Z] 46f8f816bc3b: Pull complete [2021-04-04T07:24:04.990Z] 93b61091891f: Pull complete [2021-04-04T07:24:04.990Z] aa168da1d23b: Verifying Checksum [2021-04-04T07:24:04.990Z] aa168da1d23b: Download complete [2021-04-04T07:24:04.990Z] 93b9cdb0e59b: Pull complete [2021-04-04T07:24:05.253Z] 5e14af77c1be: Pull complete [2021-04-04T07:24:05.253Z] 01666e4c0597: Pull complete [2021-04-04T07:24:11.878Z] aa168da1d23b: Pull complete [2021-04-04T07:24:11.878Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-04T07:24:11.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-04T07:24:11.878Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-04T07:24:12.000Z] prd-centos7-docker-4c-2g-32710 does not seem to be running inside a container [2021-04-04T07:24:12.042Z] $ 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-856/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-856 -v /w/workspace/dgexfoundry_device-sdk-go_PR-856:/w/workspace/dgexfoundry_device-sdk-go_PR-856:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-04T07:24:16.182Z] $ docker top 9b8fced0cde9226a1c7b719f55d00ef5683d5e644494017312c498ddd45288ef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-04T07:24:16.756Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-04T07:24:17.053Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-04T07:24:17.351Z] + ls /var/log/sa-host [2021-04-04T07:24:17.351Z] + sadf -c /var/log/sa-host/sa04 [2021-04-04T07:24:17.351Z] file_magic: OK [2021-04-04T07:24:17.351Z] HZ: Using current value: 100 [2021-04-04T07:24:17.351Z] file_header: OK [2021-04-04T07:24:17.351Z] 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 [2021-04-04T07:24:17.351Z] Statistics: [2021-04-04T07:24:17.351Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-04T07:24:17.351Z] File successfully converted to sysstat format version 12.2.1 [2021-04-04T07:24:17.351Z] + sadf -c /var/log/sa-host/sa23 [2021-04-04T07:24:17.351Z] file_magic: OK [2021-04-04T07:24:17.351Z] HZ: Using current value: 100 [2021-04-04T07:24:17.351Z] file_header: OK [2021-04-04T07:24:17.351Z] 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 [2021-04-04T07:24:17.351Z] Statistics: [2021-04-04T07:24:17.351Z] Hnuu...uuuununununu... [2021-04-04T07:24:17.351Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-04T07:24:17.562Z] provisioning config files... [2021-04-04T07:24:17.577Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config4064678819461703572tmp [Pipeline] { [Pipeline] echo [2021-04-04T07:24:17.648Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:24:17.945Z] ---> create-netrc.sh [Pipeline] } [2021-04-04T07:24:17.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-04T07:24:18.048Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:24:18.345Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-04T07:24:18.356Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:24:18.656Z] ---> sudo-logs.sh [2021-04-04T07:24:18.656Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-04T07:24:18.723Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:24:19.022Z] ---> job-cost.sh [2021-04-04T07:24:19.022Z] lf-activate-venv: SKIPPING [2021-04-04T07:24:19.022Z] DEBUG: total: 0.20999999344348907 [2021-04-04T07:24:19.022Z] INFO: Retrieving Stack Cost... [2021-04-04T07:24:20.419Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-04T07:24:20.994Z] INFO: Archiving Costs [Pipeline] echo [2021-04-04T07:24:21.008Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:24:21.467Z] ---> logs-deploy.sh [2021-04-04T07:24:21.467Z] lf-activate-venv: SKIPPING [2021-04-04T07:24:21.467Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-856/3 [2021-04-04T07:24:21.467Z] INFO: archiving workspace using pattern(s): [2021-04-04T07:24:22.904Z] Archives upload complete. [2021-04-04T07:24:22.904Z] INFO: archiving logs to Nexus