Pull request #883 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cc2fb99d94801e599dd318b6093e400577257e87+8659f99871c0873da8324f2f6a625b509cb242d1 (057cd5d462f3aea484cc4e3c9865472579675537) 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-800 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [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-883 # 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/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 Merge succeeded, producing cc2fb99d94801e599dd318b6093e400577257e87 Checking out Revision cc2fb99d94801e599dd318b6093e400577257e87 (PR-883) > git config core.sparsecheckout # timeout=10 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # 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 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T15:05:56.185Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T15:05:56.274Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T15:05:56.302Z] ========================================================= [2021-04-19T15:05:56.302Z] EdgeX Global Pipelines Version Info [2021-04-19T15:05:56.302Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 # timeout=10 [2021-04-19T15:05:57.855Z] ------------------- [2021-04-19T15:05:57.855Z] stable info: [2021-04-19T15:05:57.855Z] ------------------- [2021-04-19T15:05:57.855Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T15:05:57.855Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T15:05:57.855Z] Message: update stable to v1.0.186 [2021-04-19T15:05:58.803Z] ------------------- [2021-04-19T15:05:58.803Z] experimental info: [2021-04-19T15:05:58.803Z] ------------------- [2021-04-19T15:05:58.803Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T15:05:58.803Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-19T15:05:58.803Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T15:05:58.934Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-19T15:05:58.957Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-19T15:05:58.981Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T15:05:59.006Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T15:05:59.029Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T15:05:59.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T15:05:59.097Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T15:05:59.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T15:05:59.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-19T15:05:59.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T15:05:59.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T15:05:59.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-19T15:05:59.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T15:05:59.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T15:05:59.310Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T15:05:59.334Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T15:05:59.358Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T15:05:59.402Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T15:05:59.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T15:05:59.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T15:05:59.476Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-19T15:05:59.499Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-19T15:05:59.524Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T15:05:59.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T15:05:59.588Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T15:05:59.613Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T15:05:59.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-883 [Pipeline] echo [2021-04-19T15:05:59.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-883 [Pipeline] echo [2021-04-19T15:05:59.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-883 [Pipeline] echo [2021-04-19T15:05:59.727Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc2fb99d94801e599dd318b6093e400577257e87 [Pipeline] echo [2021-04-19T15:05:59.753Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc2fb99 [Pipeline] echo [2021-04-19T15:05:59.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T15:05:59.865Z] provisioning config files... [2021-04-19T15:05:59.894Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config6818708535945411119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:06:00.214Z] ---> docker-login.sh [2021-04-19T15:06:00.214Z] nexus3.edgexfoundry.org:10001 [2021-04-19T15:06:00.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:06:00.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:06:00.748Z] Configure a credential helper to remove this warning. See [2021-04-19T15:06:00.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:06:00.748Z] [2021-04-19T15:06:00.748Z] Login Succeeded [2021-04-19T15:06:00.748Z] nexus3.edgexfoundry.org:10002 [2021-04-19T15:06:00.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:06:00.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:06:00.748Z] Configure a credential helper to remove this warning. See [2021-04-19T15:06:00.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:06:00.748Z] [2021-04-19T15:06:00.748Z] Login Succeeded [2021-04-19T15:06:00.748Z] nexus3.edgexfoundry.org:10003 [2021-04-19T15:06:01.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:06:01.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:06:01.014Z] Configure a credential helper to remove this warning. See [2021-04-19T15:06:01.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:06:01.014Z] [2021-04-19T15:06:01.014Z] Login Succeeded [2021-04-19T15:06:01.014Z] nexus3.edgexfoundry.org:10004 [2021-04-19T15:06:01.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:06:01.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:06:01.286Z] Configure a credential helper to remove this warning. See [2021-04-19T15:06:01.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:06:01.286Z] [2021-04-19T15:06:01.286Z] Login Succeeded [2021-04-19T15:06:01.286Z] docker.io [2021-04-19T15:06:01.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:06:01.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:06:01.550Z] Configure a credential helper to remove this warning. See [2021-04-19T15:06:01.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:06:01.550Z] [2021-04-19T15:06:01.550Z] Login Succeeded [2021-04-19T15:06:01.550Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T15:06:01.559Z] 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-19T15:06:01.996Z] + git log --format=format:%s -1 cc2fb99d94801e599dd318b6093e400577257e87 [Pipeline] echo [2021-04-19T15:06:02.077Z] GIT_COMMIT: cc2fb99d94801e599dd318b6093e400577257e87, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-04-19T15:06:02.090Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:06:02.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T15:06:02.647Z] [2021-04-19T15:06:02.647Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:06:02.967Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T15:06:02.967Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T15:06:02.967Z] 31603596830f: Pulling fs layer [2021-04-19T15:06:02.967Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T15:06:02.967Z] 6ca5941a6612: Pulling fs layer [2021-04-19T15:06:02.967Z] ecc8261a40a4: Pulling fs layer [2021-04-19T15:06:02.967Z] ecc8261a40a4: Waiting [2021-04-19T15:06:02.967Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T15:06:02.967Z] 2a8b12db71e7: Download complete [2021-04-19T15:06:02.967Z] 31603596830f: Verifying Checksum [2021-04-19T15:06:02.967Z] 31603596830f: Download complete [2021-04-19T15:06:03.242Z] 6ca5941a6612: Verifying Checksum [2021-04-19T15:06:03.242Z] 6ca5941a6612: Download complete [2021-04-19T15:06:03.242Z] ecc8261a40a4: Verifying Checksum [2021-04-19T15:06:03.242Z] ecc8261a40a4: Download complete [2021-04-19T15:06:03.509Z] 31603596830f: Pull complete [2021-04-19T15:06:03.509Z] 2a8b12db71e7: Pull complete [2021-04-19T15:06:04.464Z] 6ca5941a6612: Pull complete [2021-04-19T15:06:04.729Z] ecc8261a40a4: Pull complete [2021-04-19T15:06:04.729Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T15:06:04.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T15:06:04.729Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T15:06:05.101Z] prd-centos7-docker-4c-2g-800 does not seem to be running inside a container [2021-04-19T15:06:05.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T15:06:07.157Z] $ docker top 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T15:06:07.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T15:06:07.419Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T15:06:07.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T15:06:07.671Z] $ docker exec 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 ssh-agent [2021-04-19T15:06:07.859Z] SSH_AUTH_SOCK=/tmp/ssh-8V55mPTCQEcX/agent.12 [2021-04-19T15:06:07.859Z] SSH_AGENT_PID=17 [2021-04-19T15:06:07.873Z] Running ssh-add (command line suppressed) [2021-04-19T15:06:08.003Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_7969307934017470513.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_7969307934017470513.key) [2021-04-19T15:06:08.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T15:06:08.366Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T15:06:08.391Z] $ docker exec --env ******** --env ******** 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 ssh-agent -k [2021-04-19T15:06:08.520Z] unset SSH_AUTH_SOCK; [2021-04-19T15:06:08.521Z] unset SSH_AGENT_PID; [2021-04-19T15:06:08.521Z] echo Agent pid 17 killed; [2021-04-19T15:06:08.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T15:06:08.617Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T15:06:08.617Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T15:06:08.804Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T15:06:08.809Z] $ docker exec 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 ssh-agent [2021-04-19T15:06:08.986Z] SSH_AUTH_SOCK=/tmp/ssh-5f9KzD3Ivmae/agent.45 [2021-04-19T15:06:08.986Z] SSH_AGENT_PID=50 [2021-04-19T15:06:08.996Z] Running ssh-add (command line suppressed) [2021-04-19T15:06:09.121Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_5000614904557134778.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_5000614904557134778.key) [2021-04-19T15:06:09.179Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T15:06:09.486Z] + git semver init [2021-04-19T15:06:09.486Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T15:06:09.486Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.git [2021-04-19T15:06:09.486Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-883 [2021-04-19T15:06:09.486Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T15:06:09.486Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T15:06:09.486Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T15:06:09.486Z] # $SEMVER_BRANCH = PR-883 [2021-04-19T15:06:09.486Z] # $SEMVER_TEMP = /tmp/semver-067319169 [2021-04-19T15:06:09.486Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-19T15:06:10.439Z] # '/tmp/semver-067319169' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver' [2021-04-19T15:06:10.439Z] # -> Force: false [2021-04-19T15:06:10.439Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver [Pipeline] } [2021-04-19T15:06:10.453Z] $ docker exec --env ******** --env ******** 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 ssh-agent -k [2021-04-19T15:06:10.582Z] unset SSH_AUTH_SOCK; [2021-04-19T15:06:10.582Z] unset SSH_AGENT_PID; [2021-04-19T15:06:10.583Z] echo Agent pid 50 killed; [2021-04-19T15:06:10.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T15:06:10.972Z] + git semver [Pipeline] } [2021-04-19T15:06:10.991Z] $ docker stop --time=1 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 [2021-04-19T15:06:12.854Z] $ docker rm -f 6b865257f21e8bb4a421fe64c98afe1ec75a446a793eb8026385a8f5eab77489 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T15:06:13.273Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T15:06:13.631Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T15:06:13.634Z] [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-19T15:06:28.824Z] Still waiting to schedule task [2021-04-19T15:06:28.824Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-19T15:06:28.827Z] Still waiting to schedule task [2021-04-19T15:06:28.827Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-19T15:09:27.428Z] Running on prd-centos7-docker-4c-2g-801 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws [2021-04-19T15:09:27.446Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-19T15:09:30.276Z] using credential edgex-jenkins-ssh [2021-04-19T15:09:30.295Z] Cloning the remote Git repository [2021-04-19T15:09:29.936Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T15:09:30.012Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-19T15:09:30.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T15:09:30.078Z] > git --version # timeout=10 [2021-04-19T15:09:30.084Z] > git --version # 'git version 2.24.3' [2021-04-19T15:09:30.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T15:09:30.115Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T15:09:31.731Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 [2021-04-19T15:09:31.831Z] Merge succeeded, producing cc2fb99d94801e599dd318b6093e400577257e87 [2021-04-19T15:09:31.832Z] Checking out Revision cc2fb99d94801e599dd318b6093e400577257e87 (PR-883) [2021-04-19T15:09:30.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T15:09:31.002Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T15:09:31.016Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T15:09:31.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T15:09:31.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T15:09:31.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T15:09:31.478Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T15:09:31.485Z] > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [2021-04-19T15:09:31.539Z] > git remote # timeout=10 [2021-04-19T15:09:31.546Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T15:09:31.552Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T15:09:31.556Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-19T15:09:31.569Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T15:09:31.579Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T15:09:31.584Z] > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [2021-04-19T15:09:35.293Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T15:09:36.402Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T15:09:36.743Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T15:09:37.045Z] + sudo service docker restart [2021-04-19T15:09:37.045Z] + true [2021-04-19T15:09:37.045Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T15:09:38.022Z] provisioning config files... [2021-04-19T15:09:38.068Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config730421608723476619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:09:38.393Z] ---> docker-login.sh [2021-04-19T15:09:38.394Z] nexus3.edgexfoundry.org:10001 [2021-04-19T15:09:38.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:09:38.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:09:38.923Z] Configure a credential helper to remove this warning. See [2021-04-19T15:09:38.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:09:38.923Z] [2021-04-19T15:09:38.923Z] Login Succeeded [2021-04-19T15:09:38.923Z] nexus3.edgexfoundry.org:10002 [2021-04-19T15:09:38.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:09:38.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:09:38.923Z] Configure a credential helper to remove this warning. See [2021-04-19T15:09:38.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:09:38.923Z] [2021-04-19T15:09:38.923Z] Login Succeeded [2021-04-19T15:09:38.923Z] nexus3.edgexfoundry.org:10003 [2021-04-19T15:09:39.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:09:39.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:09:39.185Z] Configure a credential helper to remove this warning. See [2021-04-19T15:09:39.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:09:39.185Z] [2021-04-19T15:09:39.185Z] Login Succeeded [2021-04-19T15:09:39.185Z] nexus3.edgexfoundry.org:10004 [2021-04-19T15:09:39.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:09:39.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:09:39.447Z] Configure a credential helper to remove this warning. See [2021-04-19T15:09:39.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:09:39.447Z] [2021-04-19T15:09:39.447Z] Login Succeeded [2021-04-19T15:09:39.447Z] docker.io [2021-04-19T15:09:39.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:09:39.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:09:39.710Z] Configure a credential helper to remove this warning. See [2021-04-19T15:09:39.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:09:39.710Z] [2021-04-19T15:09:39.710Z] Login Succeeded [2021-04-19T15:09:39.710Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T15:09:39.721Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T15:09:39.924Z] ========================================================= [2021-04-19T15:09:39.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T15:09:39.924Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:09:40.236Z] + 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-19T15:09:40.236Z] Sending build context to Docker daemon 2.438MB [2021-04-19T15:09:40.509Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T15:09:40.509Z] Step 2/8 : FROM ${BASE} [2021-04-19T15:09:40.509Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T15:09:40.509Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T15:09:40.509Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T15:09:40.509Z] de9db76c5a1d: Pulling fs layer [2021-04-19T15:09:40.509Z] bca2f99d35d6: Pulling fs layer [2021-04-19T15:09:40.509Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T15:09:40.509Z] 7c6f9722023f: Pulling fs layer [2021-04-19T15:09:40.509Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T15:09:40.509Z] 93359f2a8cfa: Waiting [2021-04-19T15:09:40.509Z] a35cf1a2eb13: Waiting [2021-04-19T15:09:40.509Z] 7c6f9722023f: Waiting [2021-04-19T15:09:40.509Z] bca2f99d35d6: Waiting [2021-04-19T15:09:40.509Z] de9db76c5a1d: Download complete [2021-04-19T15:09:40.509Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T15:09:40.509Z] 0ef7d3d256c8: Download complete [2021-04-19T15:09:40.509Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T15:09:40.509Z] 93359f2a8cfa: Download complete [2021-04-19T15:09:40.509Z] 188c0c94c7c5: Download complete [2021-04-19T15:09:40.509Z] 7c6f9722023f: Verifying Checksum [2021-04-19T15:09:40.509Z] 7c6f9722023f: Download complete [2021-04-19T15:09:40.780Z] 188c0c94c7c5: Pull complete [2021-04-19T15:09:41.044Z] 0ef7d3d256c8: Pull complete [2021-04-19T15:09:41.310Z] de9db76c5a1d: Pull complete [2021-04-19T15:09:41.885Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T15:09:41.885Z] a35cf1a2eb13: Download complete [2021-04-19T15:09:42.838Z] bca2f99d35d6: Verifying Checksum [2021-04-19T15:09:42.838Z] bca2f99d35d6: Download complete [2021-04-19T15:09:49.485Z] bca2f99d35d6: Pull complete [2021-04-19T15:09:49.485Z] 93359f2a8cfa: Pull complete [2021-04-19T15:09:49.485Z] 7c6f9722023f: Pull complete [2021-04-19T15:09:56.105Z] a35cf1a2eb13: Pull complete [2021-04-19T15:09:56.105Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T15:09:56.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T15:09:56.105Z] ---> a62c8e92a672 [2021-04-19T15:09:56.105Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T15:09:56.105Z] ---> Running in 79fff4d36a5f [2021-04-19T15:09:56.372Z] Removing intermediate container 79fff4d36a5f [2021-04-19T15:09:56.372Z] ---> d38fc14ac513 [2021-04-19T15:09:56.372Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T15:09:56.372Z] ---> Running in 8e7b2594feb4 [2021-04-19T15:09:57.785Z] Removing intermediate container 8e7b2594feb4 [2021-04-19T15:09:57.785Z] ---> 3339ee00f8fc [2021-04-19T15:09:57.785Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T15:09:57.785Z] ---> Running in 374d9eb3c700 [2021-04-19T15:09:58.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T15:09:59.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T15:09:59.579Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-19T15:09:59.579Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-19T15:09:59.842Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-19T15:09:59.842Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-19T15:10:00.104Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T15:10:00.104Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-19T15:10:00.104Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T15:10:00.104Z] OK: 167 MiB in 45 packages [2021-04-19T15:10:01.050Z] Removing intermediate container 374d9eb3c700 [2021-04-19T15:10:01.050Z] ---> 7fa0299e15b4 [2021-04-19T15:10:01.050Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-19T15:10:01.050Z] ---> Running in cbab3c1f633f [2021-04-19T15:10:01.050Z] Removing intermediate container cbab3c1f633f [2021-04-19T15:10:01.050Z] ---> 5c553c85432f [2021-04-19T15:10:01.050Z] Step 7/8 : COPY . . [2021-04-19T15:10:02.446Z] ---> 25199bb2f38e [2021-04-19T15:10:02.446Z] Step 8/8 : RUN go mod download [2021-04-19T15:10:02.446Z] ---> Running in 75c5e4f9bfe2 [2021-04-19T15:10:29.208Z] Removing intermediate container 75c5e4f9bfe2 [2021-04-19T15:10:29.208Z] ---> 25142601a9fc [2021-04-19T15:10:29.208Z] Successfully built 25142601a9fc [2021-04-19T15:10:29.208Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:10:29.524Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T15:10:29.524Z] . [Pipeline] withDockerContainer [2021-04-19T15:10:29.660Z] prd-centos7-docker-4c-2g-801 does not seem to be running inside a container [2021-04-19T15:10:29.719Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-19T15:10:30.517Z] $ docker top fbc310ee3c761e0eb9abb37ea0cd0ab0503789c16044d8e13a7024ef13b65bce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T15:10:30.803Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-802 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws [2021-04-19T15:10:30.821Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-19T15:10:30.940Z] + go version [2021-04-19T15:10:30.940Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T15:10:30.955Z] $ docker stop --time=1 fbc310ee3c761e0eb9abb37ea0cd0ab0503789c16044d8e13a7024ef13b65bce [2021-04-19T15:10:32.323Z] $ docker rm -f fbc310ee3c761e0eb9abb37ea0cd0ab0503789c16044d8e13a7024ef13b65bce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:10:32.841Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T15:10:32.841Z] . [Pipeline] withDockerContainer [2021-04-19T15:10:32.938Z] prd-centos7-docker-4c-2g-801 does not seem to be running inside a container [2021-04-19T15:10:32.982Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-19T15:10:33.666Z] $ docker top 0ffc0d9b658a4198ef31f9bc30bbc16228376ba647e041634b5e9f37e761d0b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T15:10:34.132Z] + make test [2021-04-19T15:10:34.132Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T15:10:36.704Z] using credential edgex-jenkins-ssh [2021-04-19T15:10:36.730Z] Cloning the remote Git repository [2021-04-19T15:10:36.795Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T15:10:36.914Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-19T15:10:36.988Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T15:10:36.989Z] > git --version # timeout=10 [2021-04-19T15:10:37.019Z] > git --version # 'git version 2.17.1' [2021-04-19T15:10:37.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T15:10:37.105Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T15:10:39.444Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T15:10:39.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T15:10:39.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T15:10:39.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T15:10:39.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T15:10:39.538Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T15:10:40.053Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 [2021-04-19T15:10:40.244Z] Merge succeeded, producing cc2fb99d94801e599dd318b6093e400577257e87 [2021-04-19T15:10:40.245Z] Checking out Revision cc2fb99d94801e599dd318b6093e400577257e87 (PR-883) [2021-04-19T15:10:40.070Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T15:10:40.083Z] > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [2021-04-19T15:10:40.175Z] > git remote # timeout=10 [2021-04-19T15:10:40.191Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T15:10:40.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T15:10:40.213Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-19T15:10:40.232Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T15:10:40.253Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T15:10:40.272Z] > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [2021-04-19T15:10:42.541Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-19T15:10:44.499Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T15:10:45.888Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T15:10:46.312Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T15:10:46.657Z] + sudo service docker restart [2021-04-19T15:10:46.657Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T15:10:49.330Z] provisioning config files... [2021-04-19T15:10:49.372Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7336471854999854070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:10:49.762Z] ---> docker-login.sh [2021-04-19T15:10:49.762Z] nexus3.edgexfoundry.org:10001 [2021-04-19T15:10:50.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:10:51.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:10:51.040Z] Configure a credential helper to remove this warning. See [2021-04-19T15:10:51.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:10:51.040Z] [2021-04-19T15:10:51.040Z] Login Succeeded [2021-04-19T15:10:51.040Z] nexus3.edgexfoundry.org:10002 [2021-04-19T15:10:51.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:10:51.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:10:51.321Z] Configure a credential helper to remove this warning. See [2021-04-19T15:10:51.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:10:51.321Z] [2021-04-19T15:10:51.321Z] Login Succeeded [2021-04-19T15:10:51.321Z] nexus3.edgexfoundry.org:10003 [2021-04-19T15:10:51.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:10:51.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:10:51.914Z] Configure a credential helper to remove this warning. See [2021-04-19T15:10:51.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:10:51.914Z] [2021-04-19T15:10:51.914Z] Login Succeeded [2021-04-19T15:10:51.914Z] nexus3.edgexfoundry.org:10004 [2021-04-19T15:10:52.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:10:52.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:10:52.481Z] Configure a credential helper to remove this warning. See [2021-04-19T15:10:52.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:10:52.481Z] [2021-04-19T15:10:52.481Z] Login Succeeded [2021-04-19T15:10:52.481Z] docker.io [2021-04-19T15:10:52.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T15:10:53.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T15:10:53.029Z] Configure a credential helper to remove this warning. See [2021-04-19T15:10:53.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T15:10:53.029Z] [2021-04-19T15:10:53.029Z] Login Succeeded [2021-04-19T15:10:53.029Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T15:10:53.047Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T15:10:53.374Z] ========================================================= [2021-04-19T15:10:53.374Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T15:10:53.374Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:10:53.718Z] + 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-19T15:10:54.012Z] Sending build context to Docker daemon 2.44MB [2021-04-19T15:10:54.290Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T15:10:54.290Z] Step 2/8 : FROM ${BASE} [2021-04-19T15:10:54.290Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T15:10:54.290Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T15:10:54.290Z] a4357932f1b6: Pulling fs layer [2021-04-19T15:10:54.290Z] 18c013af1878: Pulling fs layer [2021-04-19T15:10:54.290Z] 00ac8860ef70: Pulling fs layer [2021-04-19T15:10:54.290Z] 63d7cb157983: Pulling fs layer [2021-04-19T15:10:54.290Z] b116817d02f9: Pulling fs layer [2021-04-19T15:10:54.290Z] 745a02a5169b: Pulling fs layer [2021-04-19T15:10:54.290Z] 00ac8860ef70: Waiting [2021-04-19T15:10:54.290Z] 63d7cb157983: Waiting [2021-04-19T15:10:54.290Z] b116817d02f9: Waiting [2021-04-19T15:10:54.290Z] 745a02a5169b: Waiting [2021-04-19T15:10:54.290Z] 18c013af1878: Verifying Checksum [2021-04-19T15:10:54.290Z] 18c013af1878: Download complete [2021-04-19T15:10:54.290Z] a4357932f1b6: Verifying Checksum [2021-04-19T15:10:54.290Z] a4357932f1b6: Download complete [2021-04-19T15:10:54.290Z] 63d7cb157983: Verifying Checksum [2021-04-19T15:10:54.290Z] 63d7cb157983: Download complete [2021-04-19T15:10:54.290Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T15:10:54.290Z] 5f621e34cdf4: Download complete [2021-04-19T15:10:54.290Z] b116817d02f9: Verifying Checksum [2021-04-19T15:10:54.290Z] b116817d02f9: Download complete [2021-04-19T15:10:55.293Z] 5f621e34cdf4: Pull complete [2021-04-19T15:10:55.899Z] a4357932f1b6: Pull complete [2021-04-19T15:10:56.178Z] 18c013af1878: Pull complete [2021-04-19T15:10:56.455Z] 745a02a5169b: Verifying Checksum [2021-04-19T15:10:56.455Z] 745a02a5169b: Download complete [2021-04-19T15:10:57.441Z] 00ac8860ef70: Verifying Checksum [2021-04-19T15:10:57.441Z] 00ac8860ef70: Download complete [2021-04-19T15:11:04.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-19T15:11:04.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-19T15:11:04.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-19T15:11:04.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-19T15:11:04.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-19T15:11:07.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 28.1% of statements [2021-04-19T15:11:07.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2021-04-19T15:11:07.664Z] 00ac8860ef70: Pull complete [2021-04-19T15:11:07.940Z] 63d7cb157983: Pull complete [2021-04-19T15:11:08.214Z] b116817d02f9: Pull complete [2021-04-19T15:11:08.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.075s coverage: 7.8% of statements [2021-04-19T15:11:08.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-19T15:11:08.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-19T15:11:08.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-19T15:11:08.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 32.0% of statements [2021-04-19T15:11:08.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-19T15:11:08.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-19T15:11:08.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-19T15:11:09.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 57.1% of statements [2021-04-19T15:11:09.462Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.294s coverage: 6.6% of statements [2021-04-19T15:11:09.462Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-19T15:11:09.462Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-19T15:11:09.462Z] GO111MODULE=on go vet ./... [2021-04-19T15:11:12.521Z] 745a02a5169b: Pull complete [2021-04-19T15:11:12.521Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T15:11:12.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T15:11:12.521Z] ---> b7e6874047d6 [2021-04-19T15:11:12.521Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T15:11:15.161Z] ---> Running in 9bf1d89b3e77 [2021-04-19T15:11:15.435Z] Removing intermediate container 9bf1d89b3e77 [2021-04-19T15:11:15.435Z] ---> 2d346c74af32 [2021-04-19T15:11:15.435Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T15:11:15.435Z] ---> Running in 271bb191da60 [2021-04-19T15:11:18.078Z] Removing intermediate container 271bb191da60 [2021-04-19T15:11:18.078Z] ---> a00ceee02010 [2021-04-19T15:11:18.078Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T15:11:18.078Z] ---> Running in a2e63a706c99 [2021-04-19T15:11:18.673Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T15:11:19.644Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T15:11:20.232Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-19T15:11:20.232Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-19T15:11:20.232Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-19T15:11:20.502Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-19T15:11:20.502Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T15:11:20.502Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-19T15:11:20.773Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T15:11:20.773Z] OK: 144 MiB in 45 packages [2021-04-19T15:11:22.206Z] Removing intermediate container a2e63a706c99 [2021-04-19T15:11:22.206Z] ---> b9bbe54c30ef [2021-04-19T15:11:22.206Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-19T15:11:22.206Z] ---> Running in 273fe9982478 [2021-04-19T15:11:22.803Z] Removing intermediate container 273fe9982478 [2021-04-19T15:11:22.803Z] ---> 227dc52ad7c0 [2021-04-19T15:11:22.804Z] Step 7/8 : COPY . . [2021-04-19T15:11:23.780Z] ---> 9fa2d265b0c8 [2021-04-19T15:11:23.780Z] Step 8/8 : RUN go mod download [2021-04-19T15:11:24.054Z] ---> Running in ba2dbbbf3a68 [2021-04-19T15:11:27.723Z] gofmt -l . [2021-04-19T15:11:27.723Z] [ "`gofmt -l .`" = "" ] [2021-04-19T15:11:27.723Z] ./bin/test-attribution-txt.sh [2021-04-19T15:11:27.723Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T15:11:27.741Z] $ docker stop --time=1 0ffc0d9b658a4198ef31f9bc30bbc16228376ba647e041634b5e9f37e761d0b9 [2021-04-19T15:11:29.478Z] $ docker rm -f 0ffc0d9b658a4198ef31f9bc30bbc16228376ba647e041634b5e9f37e761d0b9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T15:11:30.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T15:11:30.515Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T15:11:32.014Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T15:11:32.314Z] + ls -al . [2021-04-19T15:11:32.314Z] total 188 [2021-04-19T15:11:32.314Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 19 15:11 . [2021-04-19T15:11:32.314Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 15:09 .. [2021-04-19T15:11:32.314Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 15:09 bin [2021-04-19T15:11:32.314Z] -rw-r--r--. 1 jenkins jenkins 100117 Apr 19 15:11 coverage.out [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 19 15:09 Dockerfile.build [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 15:09 .dockerignore [2021-04-19T15:11:32.314Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 19 15:09 example [2021-04-19T15:11:32.314Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 15:09 .git [2021-04-19T15:11:32.314Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 15:09 .github [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 19 15:09 .gitignore [2021-04-19T15:11:32.314Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 19 15:11 go.mod [2021-04-19T15:11:32.314Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 19 15:11 go.sum [2021-04-19T15:11:32.314Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 19 15:09 internal [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 19 15:09 Jenkinsfile [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 19 15:09 LICENSE [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 19 15:09 Makefile [2021-04-19T15:11:32.314Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 19 15:09 openapi [2021-04-19T15:11:32.314Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 19 15:09 pkg [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 19 15:09 README.md [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 19 15:09 RELEASE-NOTES.txt [2021-04-19T15:11:32.314Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 19 15:09 snap [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 15:06 VERSION [2021-04-19T15:11:32.314Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 19 15:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:11:32.622Z] + 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=cc2fb99d94801e599dd318b6093e400577257e87 --label arch=amd64 --label version=0.0.0 . [2021-04-19T15:11:32.889Z] Sending build context to Docker daemon 2.539MB [2021-04-19T15:11:32.889Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T15:11:32.889Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T15:11:32.889Z] ---> 25142601a9fc [2021-04-19T15:11:32.889Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-19T15:11:33.466Z] ---> Running in 5dd18833cdd5 [2021-04-19T15:11:33.735Z] Removing intermediate container 5dd18833cdd5 [2021-04-19T15:11:33.735Z] ---> 1c827b4444e8 [2021-04-19T15:11:33.735Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T15:11:33.735Z] ---> Running in 60f397b880a5 [2021-04-19T15:11:33.735Z] Removing intermediate container 60f397b880a5 [2021-04-19T15:11:33.735Z] ---> 40d4f7d9876c [2021-04-19T15:11:33.735Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T15:11:34.002Z] ---> Running in 3d021717ba81 [2021-04-19T15:11:35.420Z] Removing intermediate container 3d021717ba81 [2021-04-19T15:11:35.420Z] ---> 28a9e8cfe8c7 [2021-04-19T15:11:35.420Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T15:11:35.420Z] ---> Running in a5d2de3ee140 [2021-04-19T15:11:35.685Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T15:11:36.262Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T15:11:36.841Z] OK: 167 MiB in 45 packages [2021-04-19T15:11:37.105Z] Removing intermediate container a5d2de3ee140 [2021-04-19T15:11:37.105Z] ---> 8d4bd691e19f [2021-04-19T15:11:37.105Z] Step 7/23 : COPY . . [2021-04-19T15:11:38.055Z] ---> a4f8e6b8a2af [2021-04-19T15:11:38.055Z] Step 8/23 : RUN go mod download [2021-04-19T15:11:38.327Z] ---> Running in 53bb6c1c6af9 [2021-04-19T15:11:39.287Z] Removing intermediate container 53bb6c1c6af9 [2021-04-19T15:11:39.287Z] ---> 2b05d56fd6b1 [2021-04-19T15:11:39.287Z] Step 9/23 : RUN make build [2021-04-19T15:11:39.287Z] ---> Running in 3e0018d5fab7 [2021-04-19T15:11:39.872Z] 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-19T15:11:50.834Z] Removing intermediate container ba2dbbbf3a68 [2021-04-19T15:11:50.834Z] ---> dcf16133ecfc [2021-04-19T15:11:50.834Z] Successfully built dcf16133ecfc [2021-04-19T15:11:50.834Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:11:51.173Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T15:11:51.173Z] . [Pipeline] withDockerContainer [2021-04-19T15:11:51.447Z] prd-ubuntu18.04-docker-arm64-4c-16g-802 does not seem to be running inside a container [2021-04-19T15:11:51.556Z] $ 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-19T15:11:52.295Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-19T15:11:53.044Z] $ docker top e9a292600a4281bb440417eefea48bdb886f84e041f5538a3648df2398a70508 -eo pid,comm [2021-04-19T15:11:53.247Z] Removing intermediate container 3e0018d5fab7 [2021-04-19T15:11:53.247Z] ---> 1db5baddad8a [2021-04-19T15:11:53.247Z] Step 10/23 : FROM alpine:3.12 [Pipeline] { [Pipeline] sh [2021-04-19T15:11:53.510Z] 3.12: Pulling from library/alpine [2021-04-19T15:11:53.773Z] 339de151aab4: Pulling fs layer [2021-04-19T15:11:53.773Z] 339de151aab4: Download complete [2021-04-19T15:11:53.972Z] + go version [2021-04-19T15:11:53.972Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T15:11:54.025Z] $ docker stop --time=1 e9a292600a4281bb440417eefea48bdb886f84e041f5538a3648df2398a70508 [2021-04-19T15:11:54.036Z] 339de151aab4: Pull complete [2021-04-19T15:11:54.037Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T15:11:54.037Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T15:11:54.037Z] ---> 13621d1b12d4 [2021-04-19T15:11:54.037Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T15:11:54.299Z] ---> Running in 8fc36af5607c [2021-04-19T15:11:54.299Z] Removing intermediate container 8fc36af5607c [2021-04-19T15:11:54.299Z] ---> dfd02be04043 [2021-04-19T15:11:54.299Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T15:11:54.562Z] ---> Running in 3ae48c39020e [2021-04-19T15:11:55.514Z] Removing intermediate container 3ae48c39020e [2021-04-19T15:11:55.514Z] ---> c3528ca67a22 [2021-04-19T15:11:55.514Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-19T15:11:55.514Z] ---> Running in 5414bfe367c2 [2021-04-19T15:11:56.003Z] $ docker rm -f e9a292600a4281bb440417eefea48bdb886f84e041f5538a3648df2398a70508 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:11:56.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T15:11:56.665Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T15:11:56.665Z] . [Pipeline] withDockerContainer [2021-04-19T15:11:56.922Z] prd-ubuntu18.04-docker-arm64-4c-16g-802 does not seem to be running inside a container [2021-04-19T15:11:57.027Z] $ 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-19T15:11:57.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T15:11:57.296Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-19T15:11:57.296Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-19T15:11:57.559Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-19T15:11:58.527Z] $ docker top f0a9bd98e5857acc101987749c31cf4aad173f9102dbdbc53336f1b7d378a069 -eo pid,comm [2021-04-19T15:11:58.506Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-19T15:11:58.506Z] (5/5) Installing zeromq (4.3.3-r0) [Pipeline] { [2021-04-19T15:11:58.773Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T15:11:58.773Z] OK: 8 MiB in 19 packages [Pipeline] sh [2021-04-19T15:11:59.356Z] Removing intermediate container 5414bfe367c2 [2021-04-19T15:11:59.356Z] ---> 37aebc4398d1 [2021-04-19T15:11:59.356Z] Step 14/23 : WORKDIR / [2021-04-19T15:11:59.356Z] ---> Running in 6077b79949af [2021-04-19T15:11:59.437Z] + make test [2021-04-19T15:11:59.437Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T15:11:59.621Z] Removing intermediate container 6077b79949af [2021-04-19T15:11:59.622Z] ---> 02d8033302d4 [2021-04-19T15:11:59.622Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-19T15:11:59.886Z] ---> 4b6b37bb7d05 [2021-04-19T15:11:59.886Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-19T15:12:00.464Z] ---> 5d0427d83493 [2021-04-19T15:12:00.464Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-19T15:12:00.731Z] ---> a83b6ad56855 [2021-04-19T15:12:00.731Z] Step 18/23 : EXPOSE 49990 [2021-04-19T15:12:00.995Z] ---> Running in f33be23ca5ac [2021-04-19T15:12:01.260Z] Removing intermediate container f33be23ca5ac [2021-04-19T15:12:01.260Z] ---> 7753e8bcf1b3 [2021-04-19T15:12:01.260Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-19T15:12:01.260Z] ---> Running in 4fa03b0228f4 [2021-04-19T15:12:01.260Z] Removing intermediate container 4fa03b0228f4 [2021-04-19T15:12:01.260Z] ---> 1e8350de9a7c [2021-04-19T15:12:01.260Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T15:12:01.525Z] ---> Running in e11af00f8752 [2021-04-19T15:12:01.525Z] Removing intermediate container e11af00f8752 [2021-04-19T15:12:01.525Z] ---> 07ca944e6fb7 [2021-04-19T15:12:01.525Z] Step 21/23 : LABEL arch=amd64 [2021-04-19T15:12:01.788Z] ---> Running in a26f05321e63 [2021-04-19T15:12:01.788Z] Removing intermediate container a26f05321e63 [2021-04-19T15:12:01.788Z] ---> 48c2c8c33253 [2021-04-19T15:12:01.788Z] Step 22/23 : LABEL git_sha=cc2fb99d94801e599dd318b6093e400577257e87 [2021-04-19T15:12:02.052Z] ---> Running in 826cae9eadca [2021-04-19T15:12:02.052Z] Removing intermediate container 826cae9eadca [2021-04-19T15:12:02.052Z] ---> ba5d3173bed6 [2021-04-19T15:12:02.052Z] Step 23/23 : LABEL version=0.0.0 [2021-04-19T15:12:02.052Z] ---> Running in f0b6f0b584a7 [2021-04-19T15:12:02.314Z] Removing intermediate container f0b6f0b584a7 [2021-04-19T15:12:02.314Z] ---> 29622b3f24e6 [2021-04-19T15:12:02.314Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T15:12:02.314Z] Successfully built 29622b3f24e6 [2021-04-19T15:12:02.314Z] 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-19T15:12:02.838Z] ---> job-cost.sh [2021-04-19T15:12:02.838Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-owZY [2021-04-19T15:12:17.785Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T15:12:21.617Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-19T15:12:49.980Z] lf-activate-venv(): INFO: Adding /tmp/venv-owZY/bin to PATH [2021-04-19T15:12:49.980Z] INFO: No Stack... [2021-04-19T15:12:49.980Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T15:12:49.980Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T15:12:50.294Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-19T15:12:50.294Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T15:12:50.381Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] [2021-04-19T15:12:50.390Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] did not exist. Created. [2021-04-19T15:12:50.390Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T15:12:50.737Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T15:12:50.894Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T15:12:50.907Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T15:13:08.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-19T15:13:08.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-19T15:13:08.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-19T15:13:08.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-19T15:13:08.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-19T15:13:21.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 28.1% of statements [2021-04-19T15:13:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.178s coverage: 78.9% of statements [2021-04-19T15:13:21.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.154s coverage: 7.8% of statements [2021-04-19T15:13:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-19T15:13:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-19T15:13:21.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-19T15:13:22.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.229s coverage: 32.0% of statements [2021-04-19T15:13:22.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-19T15:13:22.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-19T15:13:22.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-19T15:13:26.260Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.305s coverage: 57.1% of statements [2021-04-19T15:13:26.260Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.012s coverage: 6.6% of statements [2021-04-19T15:13:26.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-04-19T15:13:26.853Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-19T15:13:27.449Z] GO111MODULE=on go vet ./... [2021-04-19T15:14:14.487Z] gofmt -l . [2021-04-19T15:14:14.487Z] [ "`gofmt -l .`" = "" ] [2021-04-19T15:14:14.487Z] ./bin/test-attribution-txt.sh [2021-04-19T15:14:14.487Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T15:14:14.580Z] $ docker stop --time=1 f0a9bd98e5857acc101987749c31cf4aad173f9102dbdbc53336f1b7d378a069 [2021-04-19T15:14:16.756Z] $ docker rm -f f0a9bd98e5857acc101987749c31cf4aad173f9102dbdbc53336f1b7d378a069 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T15:14:17.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T15:14:17.720Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T15:14:18.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T15:14:19.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T15:14:19.613Z] + ls -al . [2021-04-19T15:14:19.613Z] total 224 [2021-04-19T15:14:19.613Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 15:14 . [2021-04-19T15:14:19.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 15:10 .. [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 15:10 .dockerignore [2021-04-19T15:14:19.613Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 15:10 .git [2021-04-19T15:14:19.613Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 15:10 .github [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 19 15:10 .gitignore [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 19 15:10 Dockerfile.build [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 19 15:10 Jenkinsfile [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 19 15:10 LICENSE [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 19 15:10 Makefile [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 19 15:10 README.md [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 19 15:10 RELEASE-NOTES.txt [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 15:06 VERSION [2021-04-19T15:14:19.613Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 15:10 bin [2021-04-19T15:14:19.613Z] -rw-r--r-- 1 jenkins jenkins 100116 Apr 19 15:13 coverage.out [2021-04-19T15:14:19.613Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 15:10 example [2021-04-19T15:14:19.613Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 19 15:14 go.mod [2021-04-19T15:14:19.613Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 19 15:14 go.sum [2021-04-19T15:14:19.613Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 19 15:10 internal [2021-04-19T15:14:19.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 15:10 openapi [2021-04-19T15:14:19.613Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 15:10 pkg [2021-04-19T15:14:19.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 15:10 snap [2021-04-19T15:14:19.613Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 19 15:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:14:20.031Z] + 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=cc2fb99d94801e599dd318b6093e400577257e87 --label arch=arm64 --label version=0.0.0 . [2021-04-19T15:14:20.651Z] Sending build context to Docker daemon 2.541MB [2021-04-19T15:14:20.651Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T15:14:20.651Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T15:14:20.651Z] ---> dcf16133ecfc [2021-04-19T15:14:20.651Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-19T15:14:20.931Z] ---> Running in d9af11295f96 [2021-04-19T15:14:21.233Z] Removing intermediate container d9af11295f96 [2021-04-19T15:14:21.233Z] ---> c94f8c164dbc [2021-04-19T15:14:21.233Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T15:14:21.511Z] ---> Running in e3b146375a56 [2021-04-19T15:14:21.785Z] Removing intermediate container e3b146375a56 [2021-04-19T15:14:21.785Z] ---> 71de5e70fa38 [2021-04-19T15:14:21.785Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T15:14:22.061Z] ---> Running in bb79513793e5 [2021-04-19T15:14:24.683Z] Removing intermediate container bb79513793e5 [2021-04-19T15:14:24.683Z] ---> 211aa72b21a9 [2021-04-19T15:14:24.683Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T15:14:24.683Z] ---> Running in d53495e219f5 [2021-04-19T15:14:25.281Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T15:14:26.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T15:14:26.855Z] OK: 144 MiB in 45 packages [2021-04-19T15:14:28.299Z] Removing intermediate container d53495e219f5 [2021-04-19T15:14:28.299Z] ---> 34e93d89e28d [2021-04-19T15:14:28.299Z] Step 7/23 : COPY . . [2021-04-19T15:14:29.275Z] ---> c149e7083752 [2021-04-19T15:14:29.275Z] Step 8/23 : RUN go mod download [2021-04-19T15:14:29.547Z] ---> Running in 5bdd418fb481 [2021-04-19T15:14:32.174Z] Removing intermediate container 5bdd418fb481 [2021-04-19T15:14:32.174Z] ---> 784ec0444350 [2021-04-19T15:14:32.174Z] Step 9/23 : RUN make build [2021-04-19T15:14:32.174Z] ---> Running in dc87d5a1dc31 [2021-04-19T15:14:33.153Z] 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-19T15:15:05.529Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-19T15:15:07.509Z] Removing intermediate container dc87d5a1dc31 [2021-04-19T15:15:07.509Z] ---> 20bb4348cfd6 [2021-04-19T15:15:07.509Z] Step 10/23 : FROM alpine:3.12 [2021-04-19T15:15:07.782Z] 3.12: Pulling from library/alpine [2021-04-19T15:15:07.782Z] d2f70382dc9a: Pulling fs layer [2021-04-19T15:15:08.076Z] d2f70382dc9a: Verifying Checksum [2021-04-19T15:15:08.076Z] d2f70382dc9a: Download complete [2021-04-19T15:15:08.673Z] d2f70382dc9a: Pull complete [2021-04-19T15:15:08.673Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T15:15:08.673Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T15:15:08.673Z] ---> 9852663dfa18 [2021-04-19T15:15:08.673Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T15:15:08.949Z] ---> Running in 8aa36e582caa [2021-04-19T15:15:09.562Z] Removing intermediate container 8aa36e582caa [2021-04-19T15:15:09.562Z] ---> 2c5b26ae6a53 [2021-04-19T15:15:09.562Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T15:15:09.562Z] ---> Running in 800a4cc8f21e [2021-04-19T15:15:11.584Z] Removing intermediate container 800a4cc8f21e [2021-04-19T15:15:11.584Z] ---> ccf5e4e997b1 [2021-04-19T15:15:11.584Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-19T15:15:11.863Z] ---> Running in 2457261a790d [2021-04-19T15:15:12.842Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T15:15:13.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T15:15:14.040Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-19T15:15:14.310Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-19T15:15:14.310Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-19T15:15:14.578Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-19T15:15:14.578Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-19T15:15:14.850Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T15:15:14.850Z] OK: 8 MiB in 19 packages [2021-04-19T15:15:16.276Z] Removing intermediate container 2457261a790d [2021-04-19T15:15:16.276Z] ---> 503c46a5f1d2 [2021-04-19T15:15:16.276Z] Step 14/23 : WORKDIR / [2021-04-19T15:15:16.276Z] ---> Running in 1af79133bd30 [2021-04-19T15:15:16.547Z] Removing intermediate container 1af79133bd30 [2021-04-19T15:15:16.547Z] ---> c2b9827e8510 [2021-04-19T15:15:16.547Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-19T15:15:17.523Z] ---> 26e01dc368a7 [2021-04-19T15:15:17.523Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-19T15:15:18.496Z] ---> 641f11731106 [2021-04-19T15:15:18.496Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-19T15:15:19.473Z] ---> 52efe357b337 [2021-04-19T15:15:19.473Z] Step 18/23 : EXPOSE 49990 [2021-04-19T15:15:19.473Z] ---> Running in 61d0df747895 [2021-04-19T15:15:20.070Z] Removing intermediate container 61d0df747895 [2021-04-19T15:15:20.070Z] ---> 251a597bee08 [2021-04-19T15:15:20.070Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-19T15:15:20.070Z] ---> Running in 5a33c5222382 [2021-04-19T15:15:20.663Z] Removing intermediate container 5a33c5222382 [2021-04-19T15:15:20.663Z] ---> 2980520f183e [2021-04-19T15:15:20.663Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T15:15:20.663Z] ---> Running in 4243cee1aa8e [2021-04-19T15:15:21.256Z] Removing intermediate container 4243cee1aa8e [2021-04-19T15:15:21.256Z] ---> d7b5dc7fe5b5 [2021-04-19T15:15:21.256Z] Step 21/23 : LABEL arch=arm64 [2021-04-19T15:15:21.256Z] ---> Running in af4e6a334e3a [2021-04-19T15:15:21.851Z] Removing intermediate container af4e6a334e3a [2021-04-19T15:15:21.851Z] ---> fdeb6088a2c1 [2021-04-19T15:15:21.851Z] Step 22/23 : LABEL git_sha=cc2fb99d94801e599dd318b6093e400577257e87 [2021-04-19T15:15:21.851Z] ---> Running in 2e6f1dad1310 [2021-04-19T15:15:22.445Z] Removing intermediate container 2e6f1dad1310 [2021-04-19T15:15:22.445Z] ---> 00755356d338 [2021-04-19T15:15:22.445Z] Step 23/23 : LABEL version=0.0.0 [2021-04-19T15:15:22.724Z] ---> Running in b82229514fcf [2021-04-19T15:15:22.996Z] Removing intermediate container b82229514fcf [2021-04-19T15:15:22.996Z] ---> ed295d385090 [2021-04-19T15:15:22.996Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-19T15:15:22.996Z] Successfully built ed295d385090 [2021-04-19T15:15:23.268Z] 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-19T15:15:23.721Z] ---> job-cost.sh [2021-04-19T15:15:23.722Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ctJm [2021-04-19T15:16:02.674Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T15:17:39.447Z] lf-activate-venv(): INFO: Adding /tmp/venv-ctJm/bin to PATH [2021-04-19T15:17:39.447Z] INFO: No Stack... [2021-04-19T15:17:39.447Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T15:17:39.447Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T15:17:39.785Z] + + cut -d, -f6 [2021-04-19T15:17:39.785Z] cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-04-19T15:17:39.894Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] [2021-04-19T15:17:39.903Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] did not exist. Created. [2021-04-19T15:17:39.903Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T15:17:40.272Z] /w/workspace/device-sdk-go/3@tmp/durable-4f421624/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-4f421624/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T15:17:40.619Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T15:17:40.658Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T15:17:40.811Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T15:17:40.836Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-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-19T15:17:41.322Z] provisioning config files... [2021-04-19T15:17:41.333Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config2318770685747586203tmp [Pipeline] { [Pipeline] sh [2021-04-19T15:17:41.678Z] + set +x [2021-04-19T15:17:41.678Z] + curl -s https://codecov.io/bash [2021-04-19T15:17:41.678Z] + bash -s -- [2021-04-19T15:17:41.943Z] [2021-04-19T15:17:41.943Z] _____ _ [2021-04-19T15:17:41.943Z] / ____| | | [2021-04-19T15:17:41.943Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T15:17:41.943Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T15:17:41.943Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T15:17:41.943Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T15:17:41.943Z] Bash-1.0.1 [2021-04-19T15:17:41.943Z] [2021-04-19T15:17:41.943Z] [2021-04-19T15:17:41.943Z] ==> git version 2.24.3 found [2021-04-19T15:17:41.943Z] ==> 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-19T15:17:41.943Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T15:17:41.943Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T15:17:41.943Z] ==> Jenkins CI detected. [2021-04-19T15:17:41.943Z] project root: . [2021-04-19T15:17:41.943Z] --> token set from env [2021-04-19T15:17:41.943Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T15:17:41.943Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T15:17:41.943Z] ==> Python coveragepy not found [2021-04-19T15:17:41.943Z] ==> Searching for coverage reports in: [2021-04-19T15:17:41.943Z] + . [2021-04-19T15:17:41.943Z] -> Found 1 reports [2021-04-19T15:17:41.943Z] ==> Detecting git/mercurial file structure [2021-04-19T15:17:41.943Z] ==> Reading reports [2021-04-19T15:17:41.943Z] + ./coverage.out bytes=100116 [2021-04-19T15:17:41.943Z] ==> Appending adjustments [2021-04-19T15:17:41.943Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T15:17:42.520Z] + Found adjustments [2021-04-19T15:17:42.520Z] ==> Gzipping contents [2021-04-19T15:17:42.520Z] 16K /tmp/codecov.sA6prz.gz [2021-04-19T15:17:42.520Z] ==> Uploading reports [2021-04-19T15:17:42.520Z] url: https://codecov.io [2021-04-19T15:17:42.520Z] query: branch=PR-883&commit=cc2fb99d94801e599dd318b6093e400577257e87&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= [2021-04-19T15:17:42.520Z] -> Pinging Codecov [2021-04-19T15:17:42.520Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-883&commit=cc2fb99d94801e599dd318b6093e400577257e87&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= [2021-04-19T15:17:42.784Z] -> Uploading to [2021-04-19T15:17:42.784Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/7E55EF52A471D76F132DFD9A03CDDE97/cc2fb99d94801e599dd318b6093e400577257e87/0f604405-206d-482c-9e81-04f78e2b62f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T151742Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6491d5dc42d85c10a0ffbaf9187f80329b7c1ab22627bb9f7033cfe726ebf6e9 [2021-04-19T15:17:42.784Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T15:17:42.784Z] Dload Upload Total Spent Left Speed [2021-04-19T15:17:43.359Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13514 0 0 100 13514 0 26235 --:--:-- --:--:-- --:--:-- 26291 [2021-04-19T15:17:43.359Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cc2fb99d94801e599dd318b6093e400577257e87 [Pipeline] } [2021-04-19T15:17:43.370Z] 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-19T15:17:44.476Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:17:45.055Z] ---> package-listing.sh [2021-04-19T15:17:45.055Z] ++ facter osfamily [2021-04-19T15:17:45.055Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T15:17:45.055Z] + OS_FAMILY=redhat [2021-04-19T15:17:45.055Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-883 [2021-04-19T15:17:45.055Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T15:17:45.055Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T15:17:45.055Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T15:17:45.055Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T15:17:45.055Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' [2021-04-19T15:17:45.055Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T15:17:45.055Z] + case "${OS_FAMILY}" in [2021-04-19T15:17:45.055Z] + rpm -qa [2021-04-19T15:17:45.055Z] + sort [2021-04-19T15:17:50.374Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T15:17:50.374Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T15:17:50.374Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T15:17:50.374Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' [2021-04-19T15:17:50.374Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [2021-04-19T15:17:50.374Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [Pipeline] echo [2021-04-19T15:17:50.388Z] 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-883/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T15:17:50.677Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:17:50.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T15:17:50.984Z] [2021-04-19T15:17:50.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T15:17:51.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T15:17:51.383Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T15:17:51.383Z] df20fa9351a1: Pulling fs layer [2021-04-19T15:17:51.383Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T15:17:51.383Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T15:17:51.383Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T15:17:51.383Z] 93b61091891f: Pulling fs layer [2021-04-19T15:17:51.383Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T15:17:51.383Z] 5e14af77c1be: Pulling fs layer [2021-04-19T15:17:51.383Z] 01666e4c0597: Pulling fs layer [2021-04-19T15:17:51.383Z] aa168da1d23b: Pulling fs layer [2021-04-19T15:17:51.383Z] 93b9cdb0e59b: Waiting [2021-04-19T15:17:51.383Z] 5e14af77c1be: Waiting [2021-04-19T15:17:51.383Z] 01666e4c0597: Waiting [2021-04-19T15:17:51.383Z] aa168da1d23b: Waiting [2021-04-19T15:17:51.383Z] 46f8f816bc3b: Waiting [2021-04-19T15:17:51.383Z] 93b61091891f: Waiting [2021-04-19T15:17:51.383Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T15:17:51.383Z] 36b3adc4ff6f: Download complete [2021-04-19T15:17:51.383Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T15:17:51.383Z] 46f8f816bc3b: Download complete [2021-04-19T15:17:51.706Z] df20fa9351a1: Verifying Checksum [2021-04-19T15:17:51.706Z] df20fa9351a1: Download complete [2021-04-19T15:17:51.706Z] 93b9cdb0e59b: Download complete [2021-04-19T15:17:51.706Z] 5e14af77c1be: Verifying Checksum [2021-04-19T15:17:51.706Z] 5e14af77c1be: Download complete [2021-04-19T15:17:51.706Z] 93b61091891f: Verifying Checksum [2021-04-19T15:17:51.706Z] 93b61091891f: Download complete [2021-04-19T15:17:51.706Z] 01666e4c0597: Verifying Checksum [2021-04-19T15:17:51.706Z] 01666e4c0597: Download complete [2021-04-19T15:17:51.706Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T15:17:52.002Z] df20fa9351a1: Pull complete [2021-04-19T15:17:52.301Z] 36b3adc4ff6f: Pull complete [2021-04-19T15:17:54.244Z] aa168da1d23b: Download complete [2021-04-19T15:17:54.244Z] 8ad3a11d3b57: Pull complete [2021-04-19T15:17:54.244Z] 46f8f816bc3b: Pull complete [2021-04-19T15:17:54.827Z] 93b61091891f: Pull complete [2021-04-19T15:17:54.827Z] 93b9cdb0e59b: Pull complete [2021-04-19T15:17:55.090Z] 5e14af77c1be: Pull complete [2021-04-19T15:17:55.090Z] 01666e4c0597: Pull complete [2021-04-19T15:18:03.311Z] aa168da1d23b: Pull complete [2021-04-19T15:18:03.311Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T15:18:03.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T15:18:03.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T15:18:03.521Z] prd-centos7-docker-4c-2g-800 does not seem to be running inside a container [2021-04-19T15:18:03.568Z] $ 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-883/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-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T15:18:07.401Z] $ docker top d8406b5cf526b532dfd22e8d31126d56a02de61671a7b27df4071511a0bf5b10 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T15:18:07.819Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T15:18:08.138Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T15:18:08.443Z] + ls /var/log/sa-host [2021-04-19T15:18:08.443Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T15:18:08.443Z] file_magic: OK [2021-04-19T15:18:08.443Z] HZ: Using current value: 100 [2021-04-19T15:18:08.443Z] file_header: OK [2021-04-19T15:18:08.443Z] 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-19T15:18:08.443Z] Statistics: [2021-04-19T15:18:08.443Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T15:18:08.443Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T15:18:08.443Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T15:18:08.443Z] file_magic: OK [2021-04-19T15:18:08.443Z] HZ: Using current value: 100 [2021-04-19T15:18:08.443Z] file_header: OK [2021-04-19T15:18:08.443Z] 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-19T15:18:08.443Z] Statistics: [2021-04-19T15:18:08.443Z] Hnuu...uuuununununu... [2021-04-19T15:18:08.443Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T15:18:08.993Z] provisioning config files... [2021-04-19T15:18:09.011Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config4315787480478794412tmp [Pipeline] { [Pipeline] echo [2021-04-19T15:18:09.034Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:18:09.333Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T15:18:09.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T15:18:09.392Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:18:09.693Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T15:18:09.706Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:18:10.010Z] ---> sudo-logs.sh [2021-04-19T15:18:10.010Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T15:18:10.045Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:18:10.344Z] ---> job-cost.sh [2021-04-19T15:18:10.344Z] lf-activate-venv: SKIPPING [2021-04-19T15:18:10.344Z] DEBUG: total: 0.20999999344348907 [2021-04-19T15:18:10.344Z] INFO: Retrieving Stack Cost... [2021-04-19T15:18:11.300Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T15:18:12.289Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T15:18:12.304Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T15:18:12.603Z] ---> logs-deploy.sh [2021-04-19T15:18:12.603Z] lf-activate-venv: SKIPPING [2021-04-19T15:18:12.603Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-883/3 [2021-04-19T15:18:12.603Z] INFO: archiving workspace using pattern(s): [2021-04-19T15:18:14.526Z] Archives upload complete. [2021-04-19T15:18:14.526Z] INFO: archiving logs to Nexus