Pull request #867 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c8225650659a5a3186949503a440523d6c7876ae+00c5ba735e55045c2b436cba75d2b8d60948dbc8 (aeef13a5a26a852b998e0d0ced6f3c700b759c98) 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-33217 in /w/workspace/dgexfoundry_device-sdk-go_PR-867 [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-867 # 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/867/head:refs/remotes/origin/PR-867 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit c8225650659a5a3186949503a440523d6c7876ae Merge succeeded, producing c8225650659a5a3186949503a440523d6c7876ae Checking out Revision c8225650659a5a3186949503a440523d6c7876ae (PR-867) > git config core.sparsecheckout # timeout=10 > git checkout -f c8225650659a5a3186949503a440523d6c7876ae # 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 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8225650659a5a3186949503a440523d6c7876ae # timeout=10 Commit message: "fix: Removed old filebased Access Token config settings." > git rev-list --no-walk 7a59099b22a9388dfc6249f76e984302afe3ad87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-07T23:13:49.982Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-07T23:13:50.260Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T23:13:50.367Z] ========================================================= [2021-04-07T23:13:50.367Z] EdgeX Global Pipelines Version Info [2021-04-07T23:13:50.367Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:13:51.828Z] ------------------- [2021-04-07T23:13:51.828Z] stable info: [2021-04-07T23:13:51.828Z] ------------------- [2021-04-07T23:13:51.828Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T23:13:51.828Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T23:13:51.828Z] Message: update stable to v1.0.186 [2021-04-07T23:13:52.791Z] ------------------- [2021-04-07T23:13:52.791Z] experimental info: [2021-04-07T23:13:52.791Z] ------------------- [2021-04-07T23:13:52.791Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T23:13:52.791Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T23:13:52.791Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T23:13:53.042Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-07T23:13:53.132Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-07T23:13:53.223Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T23:13:53.317Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T23:13:53.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T23:13:53.522Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-07T23:13:53.621Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-07T23:13:53.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-07T23:13:53.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-07T23:13:53.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-07T23:13:53.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T23:13:54.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-07T23:13:54.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T23:13:54.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T23:13:54.329Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T23:13:54.412Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T23:13:54.498Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T23:13:54.592Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T23:13:54.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T23:13:54.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T23:13:54.874Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-07T23:13:54.961Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-07T23:13:55.043Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-07T23:13:55.131Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-07T23:13:55.215Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-07T23:13:55.301Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T23:13:55.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-867 [Pipeline] echo [2021-04-07T23:13:55.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-867 [Pipeline] echo [2021-04-07T23:13:55.598Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-867 [Pipeline] echo [2021-04-07T23:13:55.692Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8225650659a5a3186949503a440523d6c7876ae [Pipeline] echo [2021-04-07T23:13:55.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c822565 [Pipeline] echo [2021-04-07T23:13:55.862Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T23:13:56.030Z] provisioning config files... [2021-04-07T23:13:56.055Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/config172133470808034507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:13:56.409Z] ---> docker-login.sh [2021-04-07T23:13:56.410Z] nexus3.edgexfoundry.org:10001 [2021-04-07T23:13:56.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:13:56.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:13:56.673Z] Configure a credential helper to remove this warning. See [2021-04-07T23:13:56.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:13:56.673Z] [2021-04-07T23:13:56.673Z] Login Succeeded [2021-04-07T23:13:56.673Z] nexus3.edgexfoundry.org:10002 [2021-04-07T23:13:56.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:13:56.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:13:56.934Z] Configure a credential helper to remove this warning. See [2021-04-07T23:13:56.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:13:56.934Z] [2021-04-07T23:13:56.934Z] Login Succeeded [2021-04-07T23:13:56.934Z] nexus3.edgexfoundry.org:10003 [2021-04-07T23:13:56.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:13:57.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:13:57.195Z] Configure a credential helper to remove this warning. See [2021-04-07T23:13:57.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:13:57.195Z] [2021-04-07T23:13:57.195Z] Login Succeeded [2021-04-07T23:13:57.195Z] nexus3.edgexfoundry.org:10004 [2021-04-07T23:13:57.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:13:57.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:13:57.195Z] Configure a credential helper to remove this warning. See [2021-04-07T23:13:57.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:13:57.195Z] [2021-04-07T23:13:57.195Z] Login Succeeded [2021-04-07T23:13:57.195Z] docker.io [2021-04-07T23:13:57.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:13:57.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:13:57.719Z] Configure a credential helper to remove this warning. See [2021-04-07T23:13:57.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:13:57.719Z] [2021-04-07T23:13:57.719Z] Login Succeeded [2021-04-07T23:13:57.719Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T23:13:57.728Z] 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-07T23:13:58.505Z] + git log --format=format:%s -1 c8225650659a5a3186949503a440523d6c7876ae [Pipeline] echo [2021-04-07T23:13:58.571Z] GIT_COMMIT: c8225650659a5a3186949503a440523d6c7876ae, Commit Message: fix: Removed old filebased Access Token config settings. [Pipeline] echo [2021-04-07T23:13:58.621Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:13:59.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T23:13:59.670Z] [2021-04-07T23:13:59.670Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:14:00.013Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T23:14:00.014Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T23:14:00.014Z] 31603596830f: Pulling fs layer [2021-04-07T23:14:00.014Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T23:14:00.014Z] 6ca5941a6612: Pulling fs layer [2021-04-07T23:14:00.014Z] ecc8261a40a4: Pulling fs layer [2021-04-07T23:14:00.014Z] ecc8261a40a4: Waiting [2021-04-07T23:14:00.014Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T23:14:00.014Z] 2a8b12db71e7: Download complete [2021-04-07T23:14:00.275Z] 31603596830f: Download complete [2021-04-07T23:14:00.275Z] ecc8261a40a4: Download complete [2021-04-07T23:14:00.275Z] 6ca5941a6612: Verifying Checksum [2021-04-07T23:14:00.275Z] 6ca5941a6612: Download complete [2021-04-07T23:14:00.537Z] 31603596830f: Pull complete [2021-04-07T23:14:00.537Z] 2a8b12db71e7: Pull complete [2021-04-07T23:14:01.491Z] 6ca5941a6612: Pull complete [2021-04-07T23:14:01.491Z] ecc8261a40a4: Pull complete [2021-04-07T23:14:01.491Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T23:14:01.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T23:14:01.491Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T23:14:01.590Z] prd-centos7-docker-4c-2g-33217 does not seem to be running inside a container [2021-04-07T23:14:01.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-867 -v /w/workspace/dgexfoundry_device-sdk-go_PR-867:/w/workspace/dgexfoundry_device-sdk-go_PR-867:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-867@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:10004/edgex-devops/git-semver:latest cat [2021-04-07T23:14:03.644Z] $ docker top 360a68b61958321b0fe728f02f941595c192e2d41be606573b61c86d08060063 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T23:14:03.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T23:14:03.957Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T23:14:04.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T23:14:04.171Z] $ docker exec 360a68b61958321b0fe728f02f941595c192e2d41be606573b61c86d08060063 ssh-agent [2021-04-07T23:14:04.321Z] SSH_AUTH_SOCK=/tmp/ssh-cS1C78SvxT7L/agent.12 [2021-04-07T23:14:04.321Z] SSH_AGENT_PID=17 [2021-04-07T23:14:04.334Z] Running ssh-add (command line suppressed) [2021-04-07T23:14:04.447Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/private_key_8333586852590832548.key (/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/private_key_8333586852590832548.key) [2021-04-07T23:14:04.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T23:14:04.847Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T23:14:04.874Z] $ docker exec --env ******** --env ******** 360a68b61958321b0fe728f02f941595c192e2d41be606573b61c86d08060063 ssh-agent -k [2021-04-07T23:14:04.977Z] unset SSH_AUTH_SOCK; [2021-04-07T23:14:04.978Z] unset SSH_AGENT_PID; [2021-04-07T23:14:04.978Z] echo Agent pid 17 killed; [2021-04-07T23:14:05.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T23:14:05.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T23:14:05.173Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T23:14:05.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T23:14:05.338Z] $ docker exec 360a68b61958321b0fe728f02f941595c192e2d41be606573b61c86d08060063 ssh-agent [2021-04-07T23:14:05.483Z] SSH_AUTH_SOCK=/tmp/ssh-wlyU4FzGvUvI/agent.46 [2021-04-07T23:14:05.483Z] SSH_AGENT_PID=51 [2021-04-07T23:14:05.490Z] Running ssh-add (command line suppressed) [2021-04-07T23:14:05.602Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/private_key_3721429763365633355.key (/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/private_key_3721429763365633355.key) [2021-04-07T23:14:05.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T23:14:05.979Z] + git semver init [2021-04-07T23:14:05.979Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T23:14:05.979Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-867/.git [2021-04-07T23:14:05.979Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-867 [2021-04-07T23:14:05.979Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T23:14:05.979Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T23:14:05.979Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T23:14:05.979Z] # $SEMVER_BRANCH = PR-867 [2021-04-07T23:14:05.979Z] # $SEMVER_TEMP = /tmp/semver-793552919 [2021-04-07T23:14:05.979Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-07T23:14:06.924Z] # '/tmp/semver-793552919' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-867/.semver' [2021-04-07T23:14:06.924Z] # -> Force: false [2021-04-07T23:14:06.924Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-867/.semver [Pipeline] } [2021-04-07T23:14:06.941Z] $ docker exec --env ******** --env ******** 360a68b61958321b0fe728f02f941595c192e2d41be606573b61c86d08060063 ssh-agent -k [2021-04-07T23:14:07.054Z] unset SSH_AUTH_SOCK; [2021-04-07T23:14:07.055Z] unset SSH_AGENT_PID; [2021-04-07T23:14:07.055Z] echo Agent pid 51 killed; [2021-04-07T23:14:07.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T23:14:07.546Z] + git semver [Pipeline] } [2021-04-07T23:14:07.566Z] $ docker stop --time=1 360a68b61958321b0fe728f02f941595c192e2d41be606573b61c86d08060063 [2021-04-07T23:14:09.199Z] $ docker rm -f 360a68b61958321b0fe728f02f941595c192e2d41be606573b61c86d08060063 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T23:14:09.655Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T23:14:10.021Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T23:14:10.024Z] [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-07T23:14:25.518Z] Still waiting to schedule task [2021-04-07T23:14:25.518Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-07T23:14:25.520Z] Still waiting to schedule task [2021-04-07T23:14:25.521Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-07T23:16:09.297Z] Running on prd-centos7-docker-4c-2g-33218 in /w/workspace/dgexfoundry_device-sdk-go_PR-867 [Pipeline] { [Pipeline] ws [2021-04-07T23:16:09.348Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-07T23:16:11.862Z] using credential edgex-jenkins-ssh [2021-04-07T23:16:11.910Z] Cloning the remote Git repository [2021-04-07T23:16:11.936Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T23:16:12.002Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-07T23:16:12.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T23:16:12.080Z] > git --version # timeout=10 [2021-04-07T23:16:12.090Z] > git --version # 'git version 2.24.3' [2021-04-07T23:16:12.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T23:16:12.121Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T23:16:12.876Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T23:16:12.883Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T23:16:12.894Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T23:16:12.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T23:16:12.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T23:16:12.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/867/head:refs/remotes/origin/PR-867 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T23:16:13.357Z] Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit c8225650659a5a3186949503a440523d6c7876ae [2021-04-07T23:16:13.539Z] Merge succeeded, producing c8225650659a5a3186949503a440523d6c7876ae [2021-04-07T23:16:13.540Z] Checking out Revision c8225650659a5a3186949503a440523d6c7876ae (PR-867) [2021-04-07T23:16:13.380Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T23:16:13.394Z] > git checkout -f c8225650659a5a3186949503a440523d6c7876ae # timeout=10 [2021-04-07T23:16:13.493Z] > git remote # timeout=10 [2021-04-07T23:16:13.502Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T23:16:13.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T23:16:13.512Z] > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [2021-04-07T23:16:13.525Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T23:16:13.543Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T23:16:13.550Z] > git checkout -f c8225650659a5a3186949503a440523d6c7876ae # timeout=10 [2021-04-07T23:16:17.175Z] Commit message: "fix: Removed old filebased Access Token config settings." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T23:16:18.223Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-07T23:16:18.554Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T23:16:18.858Z] + sudo service docker restart [2021-04-07T23:16:18.859Z] + true [2021-04-07T23:16:18.859Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T23:16:20.314Z] provisioning config files... [2021-04-07T23:16:20.359Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config743583649302249034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:16:20.794Z] ---> docker-login.sh [2021-04-07T23:16:20.794Z] nexus3.edgexfoundry.org:10001 [2021-04-07T23:16:21.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:16:21.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:16:21.058Z] Configure a credential helper to remove this warning. See [2021-04-07T23:16:21.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:16:21.058Z] [2021-04-07T23:16:21.058Z] Login Succeeded [2021-04-07T23:16:21.321Z] nexus3.edgexfoundry.org:10002 [2021-04-07T23:16:21.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:16:21.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:16:21.321Z] Configure a credential helper to remove this warning. See [2021-04-07T23:16:21.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:16:21.321Z] [2021-04-07T23:16:21.321Z] Login Succeeded [2021-04-07T23:16:21.321Z] nexus3.edgexfoundry.org:10003 [2021-04-07T23:16:21.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:16:21.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:16:21.584Z] Configure a credential helper to remove this warning. See [2021-04-07T23:16:21.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:16:21.584Z] [2021-04-07T23:16:21.584Z] Login Succeeded [2021-04-07T23:16:21.584Z] nexus3.edgexfoundry.org:10004 [2021-04-07T23:16:21.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:16:21.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:16:21.846Z] Configure a credential helper to remove this warning. See [2021-04-07T23:16:21.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:16:21.846Z] [2021-04-07T23:16:21.846Z] Login Succeeded [2021-04-07T23:16:21.846Z] docker.io [2021-04-07T23:16:21.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:16:22.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:16:22.108Z] Configure a credential helper to remove this warning. See [2021-04-07T23:16:22.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:16:22.108Z] [2021-04-07T23:16:22.108Z] Login Succeeded [2021-04-07T23:16:22.108Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T23:16:22.118Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T23:16:22.455Z] ========================================================= [2021-04-07T23:16:22.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-07T23:16:22.455Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:16:22.841Z] + 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-07T23:16:22.841Z] Sending build context to Docker daemon 2.423MB [2021-04-07T23:16:22.841Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T23:16:22.841Z] Step 2/8 : FROM ${BASE} [2021-04-07T23:16:23.106Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-07T23:16:23.106Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T23:16:23.106Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T23:16:23.106Z] de9db76c5a1d: Pulling fs layer [2021-04-07T23:16:23.106Z] bca2f99d35d6: Pulling fs layer [2021-04-07T23:16:23.106Z] 93359f2a8cfa: Pulling fs layer [2021-04-07T23:16:23.106Z] 7c6f9722023f: Pulling fs layer [2021-04-07T23:16:23.106Z] a35cf1a2eb13: Pulling fs layer [2021-04-07T23:16:23.106Z] 93359f2a8cfa: Waiting [2021-04-07T23:16:23.106Z] 7c6f9722023f: Waiting [2021-04-07T23:16:23.106Z] a35cf1a2eb13: Waiting [2021-04-07T23:16:23.106Z] bca2f99d35d6: Waiting [2021-04-07T23:16:23.106Z] de9db76c5a1d: Verifying Checksum [2021-04-07T23:16:23.106Z] de9db76c5a1d: Download complete [2021-04-07T23:16:23.106Z] 0ef7d3d256c8: Download complete [2021-04-07T23:16:23.681Z] 93359f2a8cfa: Verifying Checksum [2021-04-07T23:16:23.681Z] 93359f2a8cfa: Download complete [2021-04-07T23:16:23.681Z] 7c6f9722023f: Verifying Checksum [2021-04-07T23:16:23.681Z] 7c6f9722023f: Download complete [2021-04-07T23:16:23.681Z] 188c0c94c7c5: Verifying Checksum [2021-04-07T23:16:23.681Z] 188c0c94c7c5: Download complete [2021-04-07T23:16:23.944Z] 188c0c94c7c5: Pull complete [2021-04-07T23:16:24.208Z] 0ef7d3d256c8: Pull complete [2021-04-07T23:16:24.472Z] de9db76c5a1d: Pull complete [2021-04-07T23:16:25.420Z] a35cf1a2eb13: Verifying Checksum [2021-04-07T23:16:25.420Z] a35cf1a2eb13: Download complete [2021-04-07T23:16:25.998Z] bca2f99d35d6: Verifying Checksum [2021-04-07T23:16:25.998Z] bca2f99d35d6: Download complete [2021-04-07T23:16:31.330Z] bca2f99d35d6: Pull complete [2021-04-07T23:16:31.330Z] 93359f2a8cfa: Pull complete [2021-04-07T23:16:31.330Z] 7c6f9722023f: Pull complete [2021-04-07T23:16:37.949Z] a35cf1a2eb13: Pull complete [2021-04-07T23:16:37.949Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-07T23:16:37.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-07T23:16:37.949Z] ---> a62c8e92a672 [2021-04-07T23:16:37.949Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T23:16:37.949Z] ---> Running in 3f83dcb31380 [2021-04-07T23:16:38.227Z] Removing intermediate container 3f83dcb31380 [2021-04-07T23:16:38.227Z] ---> 2a14366965cd [2021-04-07T23:16:38.227Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T23:16:38.227Z] ---> Running in a5a0542667c5 [2021-04-07T23:16:39.628Z] Removing intermediate container a5a0542667c5 [2021-04-07T23:16:39.628Z] ---> 2fd5f7c1285f [2021-04-07T23:16:39.628Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T23:16:39.628Z] ---> Running in 72e7a5fa466c [2021-04-07T23:16:39.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T23:16:40.837Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T23:16:41.412Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T23:16:41.412Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T23:16:41.412Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T23:16:41.674Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-07T23:16:41.674Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T23:16:41.936Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T23:16:41.936Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T23:16:41.936Z] OK: 167 MiB in 45 packages [2021-04-07T23:16:42.511Z] Removing intermediate container 72e7a5fa466c [2021-04-07T23:16:42.511Z] ---> a2f252da1219 [2021-04-07T23:16:42.511Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T23:16:42.778Z] ---> Running in 4a6e6745b94f [2021-04-07T23:16:42.778Z] Removing intermediate container 4a6e6745b94f [2021-04-07T23:16:42.778Z] ---> 1d8ff6bf90b7 [2021-04-07T23:16:42.778Z] Step 7/8 : COPY . . [2021-04-07T23:16:44.178Z] ---> 1e80d9ce6f9b [2021-04-07T23:16:44.178Z] Step 8/8 : RUN go mod download [2021-04-07T23:16:44.178Z] ---> Running in d9b6eaacb307 [2021-04-07T23:17:06.250Z] Removing intermediate container d9b6eaacb307 [2021-04-07T23:17:06.250Z] ---> 7e41b63a315d [2021-04-07T23:17:06.250Z] Successfully built 7e41b63a315d [2021-04-07T23:17:06.250Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:17:06.562Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T23:17:06.562Z] . [Pipeline] withDockerContainer [2021-04-07T23:17:06.666Z] prd-centos7-docker-4c-2g-33218 does not seem to be running inside a container [2021-04-07T23:17:06.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-07T23:17:07.345Z] $ docker top 9311485fdfbccbb51bc35c5a2d0481eb618bcc2d7efe695d7451a24a59cd0708 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T23:17:07.824Z] + go version [2021-04-07T23:17:07.824Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-07T23:17:07.842Z] $ docker stop --time=1 9311485fdfbccbb51bc35c5a2d0481eb618bcc2d7efe695d7451a24a59cd0708 [2021-04-07T23:17:09.168Z] $ docker rm -f 9311485fdfbccbb51bc35c5a2d0481eb618bcc2d7efe695d7451a24a59cd0708 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:17:09.940Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T23:17:09.940Z] . [Pipeline] withDockerContainer [2021-04-07T23:17:10.034Z] prd-centos7-docker-4c-2g-33218 does not seem to be running inside a container [2021-04-07T23:17:10.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-07T23:17:10.663Z] $ docker top cca7b09acdc801cfa4d2ccd187589185b0898939b37f58c156cdd432c7ea5e96 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T23:17:11.156Z] + make test [2021-04-07T23:17:11.156Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T23:17:17.796Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T23:17:36.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T23:17:36.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T23:17:36.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T23:17:36.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T23:17:36.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T23:17:39.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.098s coverage: 28.1% of statements [2021-04-07T23:17:39.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.068s coverage: 78.9% of statements [2021-04-07T23:17:40.078Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.091s coverage: 7.8% of statements [2021-04-07T23:17:40.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T23:17:40.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T23:17:40.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T23:17:40.078Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 32.5% of statements [2021-04-07T23:17:40.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T23:17:40.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T23:17:40.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T23:17:40.660Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 57.3% of statements [2021-04-07T23:17:41.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.152s coverage: 6.6% of statements [2021-04-07T23:17:41.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-07T23:17:41.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T23:17:41.234Z] GO111MODULE=on go vet ./... [2021-04-07T23:17:56.298Z] gofmt -l . [2021-04-07T23:17:56.298Z] [ "`gofmt -l .`" = "" ] [2021-04-07T23:17:56.298Z] ./bin/test-attribution-txt.sh [2021-04-07T23:17:56.563Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T23:17:56.846Z] $ docker stop --time=1 cca7b09acdc801cfa4d2ccd187589185b0898939b37f58c156cdd432c7ea5e96 [2021-04-07T23:17:58.536Z] $ docker rm -f cca7b09acdc801cfa4d2ccd187589185b0898939b37f58c156cdd432c7ea5e96 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T23:17:59.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T23:17:59.563Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-07T23:18:02.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T23:18:03.022Z] + ls -al . [2021-04-07T23:18:03.022Z] total 188 [2021-04-07T23:18:03.022Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 7 23:17 . [2021-04-07T23:18:03.022Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 23:16 .. [2021-04-07T23:18:03.022Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 23:16 bin [2021-04-07T23:18:03.022Z] -rw-r--r--. 1 jenkins jenkins 99189 Apr 7 23:17 coverage.out [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 7 23:16 Dockerfile.build [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 23:16 .dockerignore [2021-04-07T23:18:03.022Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 7 23:16 example [2021-04-07T23:18:03.022Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 23:16 .git [2021-04-07T23:18:03.022Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 23:16 .github [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 7 23:16 .gitignore [2021-04-07T23:18:03.022Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 7 23:17 go.mod [2021-04-07T23:18:03.022Z] -rw-r--r--. 1 jenkins jenkins 20726 Apr 7 23:17 go.sum [2021-04-07T23:18:03.022Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 7 23:16 internal [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 7 23:16 Jenkinsfile [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 7 23:16 LICENSE [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 7 23:16 Makefile [2021-04-07T23:18:03.022Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 7 23:16 openapi [2021-04-07T23:18:03.022Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 7 23:16 pkg [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 7 23:16 README.md [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 7 23:16 RELEASE-NOTES.txt [2021-04-07T23:18:03.022Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 23:16 snap [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 23:14 VERSION [2021-04-07T23:18:03.022Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 7 23:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:18:03.357Z] + 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=c8225650659a5a3186949503a440523d6c7876ae --label arch=amd64 --label version=0.0.0 . [2021-04-07T23:18:03.618Z] Sending build context to Docker daemon 2.523MB [2021-04-07T23:18:03.618Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T23:18:03.618Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T23:18:03.618Z] ---> 7e41b63a315d [2021-04-07T23:18:03.618Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T23:18:04.192Z] ---> Running in 738e46d4382e [2021-04-07T23:18:04.454Z] Removing intermediate container 738e46d4382e [2021-04-07T23:18:04.454Z] ---> 393faea95d95 [2021-04-07T23:18:04.454Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T23:18:04.454Z] ---> Running in 0d481d6ddf7b [2021-04-07T23:18:04.720Z] Removing intermediate container 0d481d6ddf7b [2021-04-07T23:18:04.720Z] ---> cbe12a91b74e [2021-04-07T23:18:04.720Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T23:18:04.720Z] ---> Running in 132087ae5c53 [2021-04-07T23:18:05.673Z] Removing intermediate container 132087ae5c53 [2021-04-07T23:18:05.673Z] ---> b77d4ba8da49 [2021-04-07T23:18:05.673Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T23:18:05.673Z] ---> Running in 0d3d403b5c0e [2021-04-07T23:18:06.516Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33221 in /w/workspace/dgexfoundry_device-sdk-go_PR-867 [Pipeline] { [Pipeline] ws [2021-04-07T23:18:06.564Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [2021-04-07T23:18:06.620Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] checkout [2021-04-07T23:18:07.194Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T23:18:08.139Z] OK: 167 MiB in 45 packages [2021-04-07T23:18:08.403Z] Removing intermediate container 0d3d403b5c0e [2021-04-07T23:18:08.403Z] ---> 8bb2fe0237c2 [2021-04-07T23:18:08.403Z] Step 7/23 : COPY . . [2021-04-07T23:18:09.354Z] ---> 2e6c14d1bb24 [2021-04-07T23:18:09.354Z] Step 8/23 : RUN go mod download [2021-04-07T23:18:09.354Z] ---> Running in a0959f57e242 [2021-04-07T23:18:10.313Z] Removing intermediate container a0959f57e242 [2021-04-07T23:18:10.313Z] ---> 9a203fafa7ce [2021-04-07T23:18:10.313Z] Step 9/23 : RUN make build [2021-04-07T23:18:10.313Z] ---> Running in 642b48093467 [2021-04-07T23:18:10.890Z] 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-07T23:18:11.600Z] using credential edgex-jenkins-ssh [2021-04-07T23:18:11.659Z] Cloning the remote Git repository [2021-04-07T23:18:11.718Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T23:18:11.824Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-07T23:18:11.912Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T23:18:11.912Z] > git --version # timeout=10 [2021-04-07T23:18:11.929Z] > git --version # 'git version 2.17.1' [2021-04-07T23:18:11.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T23:18:11.995Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T23:18:14.086Z] Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit c8225650659a5a3186949503a440523d6c7876ae [2021-04-07T23:18:13.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T23:18:13.270Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T23:18:13.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T23:18:13.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T23:18:13.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T23:18:13.441Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/867/head:refs/remotes/origin/PR-867 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T23:18:14.102Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T23:18:14.126Z] > git checkout -f c8225650659a5a3186949503a440523d6c7876ae # timeout=10 [2021-04-07T23:18:14.327Z] Merge succeeded, producing c8225650659a5a3186949503a440523d6c7876ae [2021-04-07T23:18:14.327Z] Checking out Revision c8225650659a5a3186949503a440523d6c7876ae (PR-867) [2021-04-07T23:18:14.236Z] > git remote # timeout=10 [2021-04-07T23:18:14.253Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T23:18:14.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T23:18:14.282Z] > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [2021-04-07T23:18:14.305Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T23:18:14.331Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T23:18:14.344Z] > git checkout -f c8225650659a5a3186949503a440523d6c7876ae # timeout=10 [2021-04-07T23:18:18.570Z] Commit message: "fix: Removed old filebased Access Token config settings." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T23:18:20.224Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T23:18:20.648Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T23:18:20.975Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T23:18:20.991Z] + sudo service docker restart [2021-04-07T23:18:20.991Z] + true [2021-04-07T23:18:21.922Z] Removing intermediate container 642b48093467 [2021-04-07T23:18:21.922Z] ---> db2dc0107680 [2021-04-07T23:18:21.922Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T23:18:22.496Z] 3.12: Pulling from library/alpine [2021-04-07T23:18:22.496Z] 532819f3e44c: Pulling fs layer [2021-04-07T23:18:22.758Z] 532819f3e44c: Download complete [2021-04-07T23:18:23.022Z] 532819f3e44c: Pull complete [2021-04-07T23:18:23.022Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T23:18:23.022Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T23:18:23.022Z] ---> 7230e588e954 [2021-04-07T23:18:23.022Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T23:18:23.285Z] ---> Running in 590c8912b983 [2021-04-07T23:18:23.285Z] Removing intermediate container 590c8912b983 [2021-04-07T23:18:23.285Z] ---> 105b620f213d [2021-04-07T23:18:23.285Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T23:18:23.285Z] ---> Running in 9483f9962149 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T23:18:23.681Z] provisioning config files... [2021-04-07T23:18:23.720Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8495457773863629170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:18:24.128Z] ---> docker-login.sh [2021-04-07T23:18:24.128Z] nexus3.edgexfoundry.org:10001 [2021-04-07T23:18:24.235Z] Removing intermediate container 9483f9962149 [2021-04-07T23:18:24.235Z] ---> 1cc24d7e413e [2021-04-07T23:18:24.235Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T23:18:24.235Z] ---> Running in 0184a68770a7 [2021-04-07T23:18:24.809Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T23:18:25.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:18:25.382Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T23:18:25.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:18:25.383Z] Configure a credential helper to remove this warning. See [2021-04-07T23:18:25.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:18:25.383Z] [2021-04-07T23:18:25.383Z] Login Succeeded [2021-04-07T23:18:25.383Z] nexus3.edgexfoundry.org:10002 [2021-04-07T23:18:25.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:18:25.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:18:25.927Z] Configure a credential helper to remove this warning. See [2021-04-07T23:18:25.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:18:25.927Z] [2021-04-07T23:18:25.927Z] Login Succeeded [2021-04-07T23:18:25.927Z] nexus3.edgexfoundry.org:10003 [2021-04-07T23:18:26.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:18:26.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:18:26.199Z] Configure a credential helper to remove this warning. See [2021-04-07T23:18:26.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:18:26.199Z] [2021-04-07T23:18:26.199Z] Login Succeeded [2021-04-07T23:18:26.199Z] nexus3.edgexfoundry.org:10004 [2021-04-07T23:18:26.324Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T23:18:26.324Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T23:18:26.324Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T23:18:26.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:18:26.585Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T23:18:26.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:18:26.744Z] Configure a credential helper to remove this warning. See [2021-04-07T23:18:26.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:18:26.744Z] [2021-04-07T23:18:26.744Z] Login Succeeded [2021-04-07T23:18:26.744Z] docker.io [2021-04-07T23:18:26.846Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T23:18:26.846Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T23:18:26.846Z] OK: 8 MiB in 19 packages [2021-04-07T23:18:27.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T23:18:27.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T23:18:27.293Z] Configure a credential helper to remove this warning. See [2021-04-07T23:18:27.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T23:18:27.293Z] [2021-04-07T23:18:27.293Z] Login Succeeded [2021-04-07T23:18:27.293Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T23:18:27.310Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-04-07T23:18:27.421Z] Removing intermediate container 0184a68770a7 [2021-04-07T23:18:27.421Z] ---> ae92c0331cb7 [2021-04-07T23:18:27.421Z] Step 14/23 : WORKDIR / [2021-04-07T23:18:27.421Z] ---> Running in 7459b5b3014b [Pipeline] // withEnv [Pipeline] unstash [2021-04-07T23:18:27.683Z] Removing intermediate container 7459b5b3014b [2021-04-07T23:18:27.683Z] ---> fc687234989d [2021-04-07T23:18:27.683Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T23:18:27.683Z] ---> d31b28fda302 [2021-04-07T23:18:27.683Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] echo [2021-04-07T23:18:27.764Z] ========================================================= [2021-04-07T23:18:27.764Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-07T23:18:27.764Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:18:28.140Z] + 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-07T23:18:28.257Z] ---> fc93af9304c0 [2021-04-07T23:18:28.257Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T23:18:28.519Z] ---> 19af29decc65 [2021-04-07T23:18:28.519Z] Step 18/23 : EXPOSE 49990 [2021-04-07T23:18:28.744Z] Sending build context to Docker daemon 2.436MB [2021-04-07T23:18:28.744Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T23:18:28.744Z] Step 2/8 : FROM ${BASE} [2021-04-07T23:18:28.744Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-07T23:18:28.744Z] 5f621e34cdf4: Pulling fs layer [2021-04-07T23:18:28.744Z] a4357932f1b6: Pulling fs layer [2021-04-07T23:18:28.744Z] 18c013af1878: Pulling fs layer [2021-04-07T23:18:28.744Z] 00ac8860ef70: Pulling fs layer [2021-04-07T23:18:28.744Z] 63d7cb157983: Pulling fs layer [2021-04-07T23:18:28.744Z] b116817d02f9: Pulling fs layer [2021-04-07T23:18:28.744Z] 745a02a5169b: Pulling fs layer [2021-04-07T23:18:28.744Z] 63d7cb157983: Waiting [2021-04-07T23:18:28.744Z] b116817d02f9: Waiting [2021-04-07T23:18:28.744Z] 745a02a5169b: Waiting [2021-04-07T23:18:28.744Z] 18c013af1878: Download complete [2021-04-07T23:18:28.744Z] a4357932f1b6: Verifying Checksum [2021-04-07T23:18:28.744Z] a4357932f1b6: Download complete [2021-04-07T23:18:28.744Z] 63d7cb157983: Verifying Checksum [2021-04-07T23:18:28.744Z] 63d7cb157983: Download complete [2021-04-07T23:18:28.782Z] ---> Running in 0e0bed8da3a9 [2021-04-07T23:18:28.782Z] Removing intermediate container 0e0bed8da3a9 [2021-04-07T23:18:28.782Z] ---> d615ea603d07 [2021-04-07T23:18:28.782Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T23:18:29.046Z] ---> Running in 2807e6a0106e [2021-04-07T23:18:29.046Z] Removing intermediate container 2807e6a0106e [2021-04-07T23:18:29.046Z] ---> a9cec9d449c0 [2021-04-07T23:18:29.046Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T23:18:29.046Z] ---> Running in d50ce52b9b03 [2021-04-07T23:18:29.308Z] Removing intermediate container d50ce52b9b03 [2021-04-07T23:18:29.308Z] ---> df81c97dc723 [2021-04-07T23:18:29.308Z] Step 21/23 : LABEL arch=amd64 [2021-04-07T23:18:29.308Z] ---> Running in 3c3c3511811d [2021-04-07T23:18:29.569Z] Removing intermediate container 3c3c3511811d [2021-04-07T23:18:29.569Z] ---> 12d4c03fc32e [2021-04-07T23:18:29.569Z] Step 22/23 : LABEL git_sha=c8225650659a5a3186949503a440523d6c7876ae [2021-04-07T23:18:29.569Z] ---> Running in 9e1b449e5b5b [2021-04-07T23:18:29.714Z] b116817d02f9: Verifying Checksum [2021-04-07T23:18:29.714Z] b116817d02f9: Download complete [2021-04-07T23:18:29.714Z] 5f621e34cdf4: Verifying Checksum [2021-04-07T23:18:29.714Z] 5f621e34cdf4: Download complete [2021-04-07T23:18:29.831Z] Removing intermediate container 9e1b449e5b5b [2021-04-07T23:18:29.831Z] ---> 647b1ec6d4e7 [2021-04-07T23:18:29.831Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T23:18:29.831Z] ---> Running in f2762c751fb4 [2021-04-07T23:18:30.094Z] Removing intermediate container f2762c751fb4 [2021-04-07T23:18:30.094Z] ---> fda1034dedb7 [2021-04-07T23:18:30.094Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T23:18:30.094Z] Successfully built fda1034dedb7 [2021-04-07T23:18:30.094Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-04-07T23:18:30.313Z] 5f621e34cdf4: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:18:30.941Z] a4357932f1b6: Pull complete [2021-04-07T23:18:31.039Z] ---> job-cost.sh [2021-04-07T23:18:31.039Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YBvX [2021-04-07T23:18:31.215Z] 18c013af1878: Pull complete [2021-04-07T23:18:32.198Z] 745a02a5169b: Verifying Checksum [2021-04-07T23:18:32.198Z] 745a02a5169b: Download complete [2021-04-07T23:18:33.178Z] 00ac8860ef70: Verifying Checksum [2021-04-07T23:18:33.178Z] 00ac8860ef70: Download complete [2021-04-07T23:18:43.346Z] 00ac8860ef70: Pull complete [2021-04-07T23:18:43.621Z] 63d7cb157983: Pull complete [2021-04-07T23:18:43.895Z] b116817d02f9: Pull complete [2021-04-07T23:18:45.968Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T23:18:48.228Z] 745a02a5169b: Pull complete [2021-04-07T23:18:48.228Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-07T23:18:48.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-07T23:18:48.228Z] ---> b7e6874047d6 [2021-04-07T23:18:48.228Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T23:18:50.877Z] ---> Running in 016f2bd5959a [2021-04-07T23:18:51.149Z] Removing intermediate container 016f2bd5959a [2021-04-07T23:18:51.149Z] ---> b358409b895f [2021-04-07T23:18:51.149Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T23:18:51.149Z] ---> Running in 69b2a921ce15 [2021-04-07T23:18:53.781Z] Removing intermediate container 69b2a921ce15 [2021-04-07T23:18:53.781Z] ---> 03250ee7ea11 [2021-04-07T23:18:53.781Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T23:18:53.781Z] ---> Running in 3be91d883648 [2021-04-07T23:18:54.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T23:18:55.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T23:18:56.331Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T23:18:56.331Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T23:18:56.606Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T23:18:56.606Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-07T23:18:56.606Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T23:18:56.886Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T23:18:56.886Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T23:18:56.886Z] OK: 144 MiB in 45 packages [2021-04-07T23:18:58.323Z] Removing intermediate container 3be91d883648 [2021-04-07T23:18:58.323Z] ---> e924b533d08b [2021-04-07T23:18:58.323Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T23:18:58.323Z] ---> Running in 3bce143dd5f2 [2021-04-07T23:18:58.921Z] Removing intermediate container 3bce143dd5f2 [2021-04-07T23:18:58.921Z] ---> 7ab07698bbce [2021-04-07T23:18:58.921Z] Step 7/8 : COPY . . [2021-04-07T23:19:00.369Z] ---> 85cbced5bd86 [2021-04-07T23:19:00.369Z] Step 8/8 : RUN go mod download [2021-04-07T23:19:00.369Z] ---> Running in fdcdc0672044 [2021-04-07T23:19:12.604Z] lf-activate-venv(): INFO: Adding /tmp/venv-YBvX/bin to PATH [2021-04-07T23:19:12.605Z] INFO: No Stack... [2021-04-07T23:19:12.605Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T23:19:12.605Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T23:19:12.909Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-07T23:19:12.909Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T23:19:12.982Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-867-2-stack-cost] [2021-04-07T23:19:12.991Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-867-2-stack-cost] did not exist. Created. [2021-04-07T23:19:12.991Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-867-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T23:19:13.381Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-07T23:19:13.571Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T23:19:13.583Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-867-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-07T23:19:27.172Z] Removing intermediate container fdcdc0672044 [2021-04-07T23:19:27.172Z] ---> 069ae211b8ef [2021-04-07T23:19:27.172Z] Successfully built 069ae211b8ef [2021-04-07T23:19:27.172Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:19:27.518Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T23:19:27.518Z] . [Pipeline] withDockerContainer [2021-04-07T23:19:27.796Z] prd-ubuntu18.04-docker-arm64-4c-16g-33221 does not seem to be running inside a container [2021-04-07T23:19:27.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-07T23:19:29.428Z] $ docker top 85b702de7659d2eaf1086c76ef51669ccd63c2eec6a0f126a32540400d5354aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T23:19:30.469Z] + go version [2021-04-07T23:19:30.469Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-07T23:19:30.500Z] $ docker stop --time=1 85b702de7659d2eaf1086c76ef51669ccd63c2eec6a0f126a32540400d5354aa [2021-04-07T23:19:32.416Z] $ docker rm -f 85b702de7659d2eaf1086c76ef51669ccd63c2eec6a0f126a32540400d5354aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:19:35.061Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T23:19:35.061Z] . [Pipeline] withDockerContainer [2021-04-07T23:19:35.321Z] prd-ubuntu18.04-docker-arm64-4c-16g-33221 does not seem to be running inside a container [2021-04-07T23:19:35.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-07T23:19:36.940Z] $ docker top 93e70cc02de5e6bf908e2c943a4eb4858700c00f29cf6fe499ec241acb1f51c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T23:19:37.945Z] + make test [2021-04-07T23:19:37.945Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T23:20:00.166Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T23:20:47.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T23:20:47.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T23:20:47.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T23:20:47.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T23:20:47.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T23:20:59.740Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.275s coverage: 28.1% of statements [2021-04-07T23:21:01.185Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.254s coverage: 78.9% of statements [2021-04-07T23:21:01.185Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.248s coverage: 7.8% of statements [2021-04-07T23:21:01.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T23:21:01.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T23:21:01.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T23:21:02.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.307s coverage: 32.5% of statements [2021-04-07T23:21:02.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T23:21:02.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T23:21:02.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T23:21:05.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.275s coverage: 57.3% of statements [2021-04-07T23:21:05.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.180s coverage: 6.6% of statements [2021-04-07T23:21:05.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.155s coverage: 5.0% of statements [2021-04-07T23:21:05.604Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T23:21:05.879Z] GO111MODULE=on go vet ./... [2021-04-07T23:21:52.878Z] gofmt -l . [2021-04-07T23:21:52.878Z] [ "`gofmt -l .`" = "" ] [2021-04-07T23:21:52.878Z] ./bin/test-attribution-txt.sh [2021-04-07T23:21:52.878Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T23:21:52.909Z] $ docker stop --time=1 93e70cc02de5e6bf908e2c943a4eb4858700c00f29cf6fe499ec241acb1f51c5 [2021-04-07T23:21:55.247Z] $ docker rm -f 93e70cc02de5e6bf908e2c943a4eb4858700c00f29cf6fe499ec241acb1f51c5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T23:21:56.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T23:21:56.488Z] Warning: overwriting stash ‘coverage-report’ [2021-04-07T23:21:57.303Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T23:21:57.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T23:21:58.296Z] + ls -al . [2021-04-07T23:21:58.296Z] total 224 [2021-04-07T23:21:58.296Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 23:21 . [2021-04-07T23:21:58.296Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:18 .. [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 23:18 .dockerignore [2021-04-07T23:21:58.296Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:18 .git [2021-04-07T23:21:58.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:18 .github [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 7 23:18 .gitignore [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 7 23:18 Dockerfile.build [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 7 23:18 Jenkinsfile [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 23:18 LICENSE [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 7 23:18 Makefile [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 7 23:18 README.md [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 7 23:18 RELEASE-NOTES.txt [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:14 VERSION [2021-04-07T23:21:58.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:18 bin [2021-04-07T23:21:58.296Z] -rw-r--r-- 1 jenkins jenkins 99189 Apr 7 23:21 coverage.out [2021-04-07T23:21:58.296Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 23:18 example [2021-04-07T23:21:58.296Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 7 23:21 go.mod [2021-04-07T23:21:58.296Z] -rw-r--r-- 1 jenkins jenkins 20726 Apr 7 23:21 go.sum [2021-04-07T23:21:58.296Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 23:18 internal [2021-04-07T23:21:58.296Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:18 openapi [2021-04-07T23:21:58.296Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 23:18 pkg [2021-04-07T23:21:58.296Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:18 snap [2021-04-07T23:21:58.296Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 23:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:21:58.638Z] + 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=c8225650659a5a3186949503a440523d6c7876ae --label arch=arm64 --label version=0.0.0 . [2021-04-07T23:21:58.913Z] Sending build context to Docker daemon 2.535MB [2021-04-07T23:21:59.185Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T23:21:59.185Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T23:21:59.185Z] ---> 069ae211b8ef [2021-04-07T23:21:59.185Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T23:21:59.461Z] ---> Running in 4c2623a3ab87 [2021-04-07T23:21:59.755Z] Removing intermediate container 4c2623a3ab87 [2021-04-07T23:21:59.755Z] ---> 7865c9eb560d [2021-04-07T23:21:59.755Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T23:22:00.027Z] ---> Running in 51f59c7ad34b [2021-04-07T23:22:00.300Z] Removing intermediate container 51f59c7ad34b [2021-04-07T23:22:00.300Z] ---> 081c734b5a7a [2021-04-07T23:22:00.575Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T23:22:00.575Z] ---> Running in 00df5ede02d2 [2021-04-07T23:22:02.548Z] Removing intermediate container 00df5ede02d2 [2021-04-07T23:22:02.548Z] ---> 3ba832a8f12b [2021-04-07T23:22:02.548Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T23:22:02.821Z] ---> Running in bf8009f5b86f [2021-04-07T23:22:03.797Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T23:22:04.770Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T23:22:05.361Z] OK: 144 MiB in 45 packages [2021-04-07T23:22:06.809Z] Removing intermediate container bf8009f5b86f [2021-04-07T23:22:06.809Z] ---> 2e870767aa1e [2021-04-07T23:22:06.809Z] Step 7/23 : COPY . . [2021-04-07T23:22:07.789Z] ---> bd70deee6e47 [2021-04-07T23:22:07.789Z] Step 8/23 : RUN go mod download [2021-04-07T23:22:08.060Z] ---> Running in 82a2ce824ed0 [2021-04-07T23:22:10.677Z] Removing intermediate container 82a2ce824ed0 [2021-04-07T23:22:10.677Z] ---> 514180703f06 [2021-04-07T23:22:10.677Z] Step 9/23 : RUN make build [2021-04-07T23:22:10.677Z] ---> Running in b9c8dc3b829a [2021-04-07T23:22:11.655Z] 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-07T23:22:44.030Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T23:22:46.650Z] Removing intermediate container b9c8dc3b829a [2021-04-07T23:22:46.650Z] ---> 1f7403ae10be [2021-04-07T23:22:46.650Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T23:22:47.239Z] 3.12: Pulling from library/alpine [2021-04-07T23:22:47.239Z] 9a219e8acc52: Pulling fs layer [2021-04-07T23:22:47.512Z] 9a219e8acc52: Verifying Checksum [2021-04-07T23:22:47.512Z] 9a219e8acc52: Download complete [2021-04-07T23:22:48.104Z] 9a219e8acc52: Pull complete [2021-04-07T23:22:48.104Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T23:22:48.104Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T23:22:48.104Z] ---> d75e27dfc0a0 [2021-04-07T23:22:48.104Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T23:22:48.376Z] ---> Running in e063d5d8e9b1 [2021-04-07T23:22:48.647Z] Removing intermediate container e063d5d8e9b1 [2021-04-07T23:22:48.647Z] ---> 7bf78a438022 [2021-04-07T23:22:48.647Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T23:22:48.921Z] ---> Running in 4ee6b0f39d0f [2021-04-07T23:22:50.917Z] Removing intermediate container 4ee6b0f39d0f [2021-04-07T23:22:50.917Z] ---> ebc52c2b1077 [2021-04-07T23:22:50.917Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T23:22:50.917Z] ---> Running in 25a8f31df4dd [2021-04-07T23:22:52.350Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T23:22:52.944Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T23:22:53.535Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T23:22:53.804Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T23:22:53.804Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T23:22:54.075Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T23:22:54.075Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T23:22:54.348Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T23:22:54.348Z] OK: 8 MiB in 19 packages [2021-04-07T23:22:55.784Z] Removing intermediate container 25a8f31df4dd [2021-04-07T23:22:55.784Z] ---> 008c2391ef05 [2021-04-07T23:22:55.784Z] Step 14/23 : WORKDIR / [2021-04-07T23:22:55.784Z] ---> Running in 6ebf85e6887c [2021-04-07T23:22:56.381Z] Removing intermediate container 6ebf85e6887c [2021-04-07T23:22:56.381Z] ---> f5291a6afcc7 [2021-04-07T23:22:56.381Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T23:22:56.976Z] ---> cce12312311a [2021-04-07T23:22:56.976Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T23:22:57.956Z] ---> 2ee735a98be3 [2021-04-07T23:22:57.956Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T23:22:58.936Z] ---> 9dfb61ec6949 [2021-04-07T23:22:58.936Z] Step 18/23 : EXPOSE 49990 [2021-04-07T23:22:58.936Z] ---> Running in 61ff0217f3d4 [2021-04-07T23:22:59.529Z] Removing intermediate container 61ff0217f3d4 [2021-04-07T23:22:59.529Z] ---> 2719da8a4cd6 [2021-04-07T23:22:59.529Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T23:22:59.529Z] ---> Running in 85b20fac4630 [2021-04-07T23:23:00.122Z] Removing intermediate container 85b20fac4630 [2021-04-07T23:23:00.122Z] ---> 8c27cf912ca3 [2021-04-07T23:23:00.122Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T23:23:00.122Z] ---> Running in 0128964530a4 [2021-04-07T23:23:00.394Z] Removing intermediate container 0128964530a4 [2021-04-07T23:23:00.394Z] ---> 00f5dc191c05 [2021-04-07T23:23:00.394Z] Step 21/23 : LABEL arch=arm64 [2021-04-07T23:23:00.668Z] ---> Running in ab3d7d3179a2 [2021-04-07T23:23:01.262Z] Removing intermediate container ab3d7d3179a2 [2021-04-07T23:23:01.262Z] ---> cfae1c45f177 [2021-04-07T23:23:01.262Z] Step 22/23 : LABEL git_sha=c8225650659a5a3186949503a440523d6c7876ae [2021-04-07T23:23:01.262Z] ---> Running in 3de4a6ecdfb6 [2021-04-07T23:23:01.537Z] Removing intermediate container 3de4a6ecdfb6 [2021-04-07T23:23:01.537Z] ---> 2651d3a2b3f8 [2021-04-07T23:23:01.537Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T23:23:01.812Z] ---> Running in 19774311e8d9 [2021-04-07T23:23:02.404Z] Removing intermediate container 19774311e8d9 [2021-04-07T23:23:02.404Z] ---> 7e1139772470 [2021-04-07T23:23:02.404Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T23:23:02.404Z] Successfully built 7e1139772470 [2021-04-07T23:23:02.404Z] 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-07T23:23:03.278Z] ---> job-cost.sh [2021-04-07T23:23:03.279Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DMvI [2021-04-07T23:23:42.230Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T23:25:18.967Z] lf-activate-venv(): INFO: Adding /tmp/venv-DMvI/bin to PATH [2021-04-07T23:25:18.967Z] INFO: No Stack... [2021-04-07T23:25:18.967Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-07T23:25:18.967Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T23:25:19.300Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-07T23:25:19.301Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T23:25:19.412Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-867-2-stack-cost] [2021-04-07T23:25:19.430Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-867-2-stack-cost] did not exist. Created. [2021-04-07T23:25:19.430Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-867-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T23:25:19.880Z] /w/workspace/device-sdk-go/2@tmp/durable-c4fb2b14/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-c4fb2b14/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-07T23:25:20.225Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-07T23:25:20.347Z] Warning: overwriting stash ‘stack-cost’ [2021-04-07T23:25:20.504Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T23:25:20.514Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-867-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-07T23:25:22.140Z] provisioning config files... [2021-04-07T23:25:22.151Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/config22108260358271615tmp [Pipeline] { [Pipeline] sh [2021-04-07T23:25:22.555Z] + set +x [2021-04-07T23:25:22.555Z] + curl -s https://codecov.io/bash [2021-04-07T23:25:22.555Z] + bash -s -- [2021-04-07T23:25:22.818Z] [2021-04-07T23:25:22.818Z] _____ _ [2021-04-07T23:25:22.818Z] / ____| | | [2021-04-07T23:25:22.818Z] | | ___ __| | ___ ___ _____ __ [2021-04-07T23:25:22.818Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-07T23:25:22.818Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-07T23:25:22.818Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-07T23:25:22.818Z] Bash-20210309-2b87ace [2021-04-07T23:25:22.818Z] [2021-04-07T23:25:22.818Z] [2021-04-07T23:25:22.818Z] ==> git version 2.24.3 found [2021-04-07T23:25:22.818Z] ==> 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-07T23:25:22.818Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-07T23:25:22.818Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-07T23:25:22.818Z] ==> Jenkins CI detected. [2021-04-07T23:25:22.818Z] project root: . [2021-04-07T23:25:22.818Z] --> token set from env [2021-04-07T23:25:22.818Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-07T23:25:22.818Z] ==> Running gcov in . (disable via -X gcov) [2021-04-07T23:25:22.818Z] ==> Python coveragepy not found [2021-04-07T23:25:22.818Z] ==> Searching for coverage reports in: [2021-04-07T23:25:22.818Z] + . [2021-04-07T23:25:22.818Z] -> Found 1 reports [2021-04-07T23:25:22.818Z] ==> Detecting git/mercurial file structure [2021-04-07T23:25:22.818Z] ==> Reading reports [2021-04-07T23:25:22.818Z] + ./coverage.out bytes=99189 [2021-04-07T23:25:22.818Z] ==> Appending adjustments [2021-04-07T23:25:22.818Z] https://docs.codecov.io/docs/fixing-reports [2021-04-07T23:25:23.080Z] + Found adjustments [2021-04-07T23:25:23.080Z] ==> Gzipping contents [2021-04-07T23:25:23.080Z] 16K /tmp/codecov.TgSVo0.gz [2021-04-07T23:25:23.080Z] ==> Uploading reports [2021-04-07T23:25:23.080Z] url: https://codecov.io [2021-04-07T23:25:23.080Z] query: branch=PR-867&commit=c8225650659a5a3186949503a440523d6c7876ae&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-867%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=867&job=&cmd_args= [2021-04-07T23:25:23.080Z] -> Pinging Codecov [2021-04-07T23:25:23.080Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-867&commit=c8225650659a5a3186949503a440523d6c7876ae&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-867%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=867&job=&cmd_args= [2021-04-07T23:25:23.653Z] -> Uploading to [2021-04-07T23:25:23.654Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-07/7E55EF52A471D76F132DFD9A03CDDE97/c8225650659a5a3186949503a440523d6c7876ae/c0b97799-4303-4164-913a-1c6f16f971ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T232523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b6519aa625037958d9fde7ef3c30fbe1cd4410321947a354e56753c61a1374de [2021-04-07T23:25:23.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-07T23:25:23.654Z] Dload Upload Total Spent Left Speed [2021-04-07T23:25:24.177Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13375 0 0 100 13375 0 35341 --:--:-- --:--:-- --:--:-- 35290 [2021-04-07T23:25:24.177Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c8225650659a5a3186949503a440523d6c7876ae [Pipeline] } [2021-04-07T23:25:24.187Z] 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-07T23:25:26.324Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:25:26.628Z] ---> package-listing.sh [2021-04-07T23:25:26.628Z] ++ facter osfamily [2021-04-07T23:25:26.628Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T23:25:26.628Z] + OS_FAMILY=redhat [2021-04-07T23:25:26.628Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-867 [2021-04-07T23:25:26.628Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T23:25:26.628Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T23:25:26.628Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T23:25:26.628Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T23:25:26.628Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-867 ']' [2021-04-07T23:25:26.628Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T23:25:26.628Z] + case "${OS_FAMILY}" in [2021-04-07T23:25:26.628Z] + rpm -qa [2021-04-07T23:25:26.628Z] + sort [2021-04-07T23:25:31.939Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T23:25:31.939Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T23:25:31.939Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T23:25:31.939Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-867 ']' [2021-04-07T23:25:31.939Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-867/archives/ [2021-04-07T23:25:31.939Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-867/archives/ [Pipeline] echo [2021-04-07T23:25:31.953Z] 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-867/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-07T23:25:32.242Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:25:32.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T23:25:32.549Z] [2021-04-07T23:25:32.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T23:25:32.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T23:25:32.896Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T23:25:32.896Z] df20fa9351a1: Pulling fs layer [2021-04-07T23:25:32.896Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T23:25:32.896Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T23:25:32.896Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T23:25:32.896Z] 93b61091891f: Pulling fs layer [2021-04-07T23:25:32.896Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T23:25:32.896Z] 5e14af77c1be: Pulling fs layer [2021-04-07T23:25:32.896Z] 01666e4c0597: Pulling fs layer [2021-04-07T23:25:32.896Z] aa168da1d23b: Pulling fs layer [2021-04-07T23:25:32.896Z] 46f8f816bc3b: Waiting [2021-04-07T23:25:32.896Z] 93b61091891f: Waiting [2021-04-07T23:25:32.896Z] 01666e4c0597: Waiting [2021-04-07T23:25:32.896Z] aa168da1d23b: Waiting [2021-04-07T23:25:32.896Z] 5e14af77c1be: Waiting [2021-04-07T23:25:32.896Z] 93b9cdb0e59b: Waiting [2021-04-07T23:25:32.896Z] 36b3adc4ff6f: Verifying Checksum [2021-04-07T23:25:32.896Z] 36b3adc4ff6f: Download complete [2021-04-07T23:25:32.896Z] 46f8f816bc3b: Download complete [2021-04-07T23:25:33.158Z] df20fa9351a1: Verifying Checksum [2021-04-07T23:25:33.158Z] 93b9cdb0e59b: Download complete [2021-04-07T23:25:33.158Z] 5e14af77c1be: Verifying Checksum [2021-04-07T23:25:33.158Z] 5e14af77c1be: Download complete [2021-04-07T23:25:33.158Z] 01666e4c0597: Verifying Checksum [2021-04-07T23:25:33.158Z] 01666e4c0597: Download complete [2021-04-07T23:25:33.158Z] 93b61091891f: Verifying Checksum [2021-04-07T23:25:33.158Z] 93b61091891f: Download complete [2021-04-07T23:25:33.423Z] df20fa9351a1: Pull complete [2021-04-07T23:25:33.698Z] 36b3adc4ff6f: Pull complete [2021-04-07T23:25:33.698Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T23:25:33.698Z] 8ad3a11d3b57: Download complete [2021-04-07T23:25:34.661Z] 8ad3a11d3b57: Pull complete [2021-04-07T23:25:34.661Z] 46f8f816bc3b: Pull complete [2021-04-07T23:25:35.628Z] aa168da1d23b: Verifying Checksum [2021-04-07T23:25:35.628Z] aa168da1d23b: Download complete [2021-04-07T23:25:35.890Z] 93b61091891f: Pull complete [2021-04-07T23:25:36.157Z] 93b9cdb0e59b: Pull complete [2021-04-07T23:25:36.157Z] 5e14af77c1be: Pull complete [2021-04-07T23:25:36.421Z] 01666e4c0597: Pull complete [2021-04-07T23:25:43.050Z] aa168da1d23b: Pull complete [2021-04-07T23:25:43.050Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T23:25:43.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T23:25:43.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T23:25:43.207Z] prd-centos7-docker-4c-2g-33217 does not seem to be running inside a container [2021-04-07T23:25:43.259Z] $ 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-867/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-867 -v /w/workspace/dgexfoundry_device-sdk-go_PR-867:/w/workspace/dgexfoundry_device-sdk-go_PR-867:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-867@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-07T23:25:46.568Z] $ docker top 147cf242e7dccd0da725716e5feccc0fc03dfebdad2387f4c09c71f835d6a7a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T23:25:47.057Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T23:25:47.356Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T23:25:47.655Z] + ls /var/log/sa-host [2021-04-07T23:25:47.656Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T23:25:47.656Z] file_magic: OK [2021-04-07T23:25:47.656Z] HZ: Using current value: 100 [2021-04-07T23:25:47.656Z] file_header: OK [2021-04-07T23:25:47.656Z] 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-07T23:25:47.656Z] Statistics: [2021-04-07T23:25:47.656Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T23:25:47.656Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T23:25:47.656Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T23:25:47.656Z] file_magic: OK [2021-04-07T23:25:47.656Z] HZ: Using current value: 100 [2021-04-07T23:25:47.656Z] file_header: OK [2021-04-07T23:25:47.656Z] 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-07T23:25:47.656Z] Statistics: [2021-04-07T23:25:47.656Z] Hnuu...uuuununununu... [2021-04-07T23:25:47.656Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T23:25:47.897Z] provisioning config files... [2021-04-07T23:25:47.915Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/config5171127379314143069tmp [Pipeline] { [Pipeline] echo [2021-04-07T23:25:48.025Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:25:48.321Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T23:25:48.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T23:25:48.437Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:25:48.734Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T23:25:48.745Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:25:49.043Z] ---> sudo-logs.sh [2021-04-07T23:25:49.043Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T23:25:49.114Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:25:49.411Z] ---> job-cost.sh [2021-04-07T23:25:49.411Z] lf-activate-venv: SKIPPING [2021-04-07T23:25:49.411Z] DEBUG: total: 0.20999999344348907 [2021-04-07T23:25:49.411Z] INFO: Retrieving Stack Cost... [2021-04-07T23:25:50.800Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T23:25:51.062Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T23:25:51.076Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T23:25:51.377Z] ---> logs-deploy.sh [2021-04-07T23:25:51.377Z] lf-activate-venv: SKIPPING [2021-04-07T23:25:51.377Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-867/2 [2021-04-07T23:25:51.377Z] INFO: archiving workspace using pattern(s): [2021-04-07T23:25:52.769Z] Archives upload complete. [2021-04-07T23:25:53.031Z] INFO: archiving logs to Nexus