Pull request #850 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 038d3e0e2d477805d055a7f0f6fc36f106f8f37c+4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 (a671aab277366d3a119e73bafa2d07712960a37f) 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-32295 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [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-850 # 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/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit 038d3e0e2d477805d055a7f0f6fc36f106f8f37c Merge succeeded, producing 038d3e0e2d477805d055a7f0f6fc36f106f8f37c Checking out Revision 038d3e0e2d477805d055a7f0f6fc36f106f8f37c (PR-850) > git config core.sparsecheckout # timeout=10 > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # 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 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T18:03:23.267Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T18:03:23.531Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T18:03:23.638Z] ========================================================= [2021-03-31T18:03:23.638Z] EdgeX Global Pipelines Version Info [2021-03-31T18:03:23.638Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 [2021-03-31T18:03:25.130Z] ------------------- [2021-03-31T18:03:25.130Z] stable info: [2021-03-31T18:03:25.130Z] ------------------- [2021-03-31T18:03:25.130Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T18:03:25.130Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T18:03:25.130Z] Message: update stable to v1.0.186 [2021-03-31T18:03:26.074Z] ------------------- [2021-03-31T18:03:26.074Z] experimental info: [2021-03-31T18:03:26.074Z] ------------------- [2021-03-31T18:03:26.074Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T18:03:26.074Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T18:03:26.074Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T18:03:26.373Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-31T18:03:26.464Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-31T18:03:26.549Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T18:03:26.634Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T18:03:26.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T18:03:26.817Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T18:03:26.967Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T18:03:27.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T18:03:27.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-31T18:03:27.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T18:03:27.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T18:03:27.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-31T18:03:27.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T18:03:27.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T18:03:27.782Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T18:03:27.869Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T18:03:27.963Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T18:03:28.058Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T18:03:28.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T18:03:28.233Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-31T18:03:28.321Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T18:03:28.493Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-31T18:03:28.700Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-31T18:03:28.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-31T18:03:28.891Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-31T18:03:28.977Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T18:03:29.083Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-850 [Pipeline] echo [2021-03-31T18:03:29.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-850 [Pipeline] echo [2021-03-31T18:03:29.276Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-850 [Pipeline] echo [2021-03-31T18:03:29.367Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 038d3e0e2d477805d055a7f0f6fc36f106f8f37c [Pipeline] echo [2021-03-31T18:03:29.455Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 038d3e0 [Pipeline] echo [2021-03-31T18:03:29.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T18:03:29.718Z] provisioning config files... [2021-03-31T18:03:29.746Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config1975760396637901459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:03:30.102Z] ---> docker-login.sh [2021-03-31T18:03:30.102Z] nexus3.edgexfoundry.org:10001 [2021-03-31T18:03:30.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:03:30.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:03:30.365Z] Configure a credential helper to remove this warning. See [2021-03-31T18:03:30.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:03:30.365Z] [2021-03-31T18:03:30.365Z] Login Succeeded [2021-03-31T18:03:30.365Z] nexus3.edgexfoundry.org:10002 [2021-03-31T18:03:30.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:03:30.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:03:30.626Z] Configure a credential helper to remove this warning. See [2021-03-31T18:03:30.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:03:30.626Z] [2021-03-31T18:03:30.626Z] Login Succeeded [2021-03-31T18:03:30.626Z] nexus3.edgexfoundry.org:10003 [2021-03-31T18:03:30.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:03:30.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:03:30.626Z] Configure a credential helper to remove this warning. See [2021-03-31T18:03:30.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:03:30.626Z] [2021-03-31T18:03:30.626Z] Login Succeeded [2021-03-31T18:03:30.626Z] nexus3.edgexfoundry.org:10004 [2021-03-31T18:03:30.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:03:30.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:03:30.888Z] Configure a credential helper to remove this warning. See [2021-03-31T18:03:30.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:03:30.888Z] [2021-03-31T18:03:30.888Z] Login Succeeded [2021-03-31T18:03:30.888Z] docker.io [2021-03-31T18:03:31.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:03:31.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:03:31.414Z] Configure a credential helper to remove this warning. See [2021-03-31T18:03:31.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:03:31.414Z] [2021-03-31T18:03:31.414Z] Login Succeeded [2021-03-31T18:03:31.414Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T18:03:31.424Z] 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-03-31T18:03:32.301Z] + git log --format=format:%s -1 038d3e0e2d477805d055a7f0f6fc36f106f8f37c [Pipeline] echo [2021-03-31T18:03:32.375Z] GIT_COMMIT: 038d3e0e2d477805d055a7f0f6fc36f106f8f37c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-03-31T18:03:32.420Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:03:33.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T18:03:33.015Z] [2021-03-31T18:03:33.015Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:03:33.382Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T18:03:33.382Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T18:03:33.382Z] 31603596830f: Pulling fs layer [2021-03-31T18:03:33.382Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T18:03:33.382Z] 6ca5941a6612: Pulling fs layer [2021-03-31T18:03:33.382Z] ecc8261a40a4: Pulling fs layer [2021-03-31T18:03:33.382Z] ecc8261a40a4: Waiting [2021-03-31T18:03:33.382Z] 2a8b12db71e7: Verifying Checksum [2021-03-31T18:03:33.382Z] 2a8b12db71e7: Download complete [2021-03-31T18:03:33.648Z] 31603596830f: Verifying Checksum [2021-03-31T18:03:33.648Z] 31603596830f: Download complete [2021-03-31T18:03:33.648Z] ecc8261a40a4: Verifying Checksum [2021-03-31T18:03:33.648Z] ecc8261a40a4: Download complete [2021-03-31T18:03:33.648Z] 6ca5941a6612: Verifying Checksum [2021-03-31T18:03:33.648Z] 6ca5941a6612: Download complete [2021-03-31T18:03:33.648Z] 31603596830f: Pull complete [2021-03-31T18:03:33.909Z] 2a8b12db71e7: Pull complete [2021-03-31T18:03:34.858Z] 6ca5941a6612: Pull complete [2021-03-31T18:03:34.858Z] ecc8261a40a4: Pull complete [2021-03-31T18:03:34.858Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T18:03:34.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T18:03:34.858Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T18:03:34.959Z] prd-centos7-docker-4c-2g-32295 does not seem to be running inside a container [2021-03-31T18:03:35.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-850 -v /w/workspace/dgexfoundry_device-sdk-go_PR-850:/w/workspace/dgexfoundry_device-sdk-go_PR-850:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T18:03:36.722Z] $ docker top 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T18:03:36.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T18:03:36.997Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T18:03:37.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T18:03:37.216Z] $ docker exec 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c ssh-agent [2021-03-31T18:03:37.414Z] SSH_AUTH_SOCK=/tmp/ssh-fV5F9ldZVVPW/agent.12 [2021-03-31T18:03:37.414Z] SSH_AGENT_PID=17 [2021-03-31T18:03:37.424Z] Running ssh-add (command line suppressed) [2021-03-31T18:03:37.553Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8826876304667734792.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8826876304667734792.key) [2021-03-31T18:03:37.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T18:03:38.023Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T18:03:38.044Z] $ docker exec --env ******** --env ******** 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c ssh-agent -k [2021-03-31T18:03:38.166Z] unset SSH_AUTH_SOCK; [2021-03-31T18:03:38.166Z] unset SSH_AGENT_PID; [2021-03-31T18:03:38.166Z] echo Agent pid 17 killed; [2021-03-31T18:03:38.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T18:03:38.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T18:03:38.352Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T18:03:38.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T18:03:38.547Z] $ docker exec 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c ssh-agent [2021-03-31T18:03:38.727Z] SSH_AUTH_SOCK=/tmp/ssh-rnJwP0SuYcvM/agent.45 [2021-03-31T18:03:38.727Z] SSH_AGENT_PID=50 [2021-03-31T18:03:38.735Z] Running ssh-add (command line suppressed) [2021-03-31T18:03:38.879Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_7734491109025596877.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_7734491109025596877.key) [2021-03-31T18:03:38.936Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T18:03:39.271Z] + git semver init [2021-03-31T18:03:39.271Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T18:03:39.271Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.git [2021-03-31T18:03:39.271Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-850 [2021-03-31T18:03:39.271Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T18:03:39.271Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T18:03:39.271Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T18:03:39.271Z] # $SEMVER_BRANCH = PR-850 [2021-03-31T18:03:39.271Z] # $SEMVER_TEMP = /tmp/semver-903848777 [2021-03-31T18:03:39.271Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-31T18:03:40.225Z] # '/tmp/semver-903848777' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver' [2021-03-31T18:03:40.225Z] # -> Force: false [2021-03-31T18:03:40.225Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver [Pipeline] } [2021-03-31T18:03:40.237Z] $ docker exec --env ******** --env ******** 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c ssh-agent -k [2021-03-31T18:03:40.354Z] unset SSH_AUTH_SOCK; [2021-03-31T18:03:40.355Z] unset SSH_AGENT_PID; [2021-03-31T18:03:40.355Z] echo Agent pid 50 killed; [2021-03-31T18:03:40.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T18:03:40.868Z] + git semver [Pipeline] } [2021-03-31T18:03:40.885Z] $ docker stop --time=1 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c [2021-03-31T18:03:42.301Z] $ docker rm -f 99dea50fb87ebab2f2f18c8853cb382b1774c30c3c7d875c711a0da535000a4c [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T18:03:42.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T18:03:43.388Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T18:03:43.391Z] [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-03-31T18:03:58.855Z] Still waiting to schedule task [2021-03-31T18:03:58.855Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-31T18:03:58.857Z] Still waiting to schedule task [2021-03-31T18:03:58.857Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-31T18:05:50.565Z] Running on prd-centos7-docker-4c-2g-32298 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] { [Pipeline] ws [2021-03-31T18:05:50.656Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-31T18:05:53.417Z] using credential edgex-jenkins-ssh [2021-03-31T18:05:53.469Z] Cloning the remote Git repository [2021-03-31T18:05:53.503Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:05:53.580Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-31T18:05:53.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:05:53.664Z] > git --version # timeout=10 [2021-03-31T18:05:53.672Z] > git --version # 'git version 2.24.3' [2021-03-31T18:05:53.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:05:53.718Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T18:05:54.926Z] Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit 038d3e0e2d477805d055a7f0f6fc36f106f8f37c [2021-03-31T18:05:55.024Z] Merge succeeded, producing 038d3e0e2d477805d055a7f0f6fc36f106f8f37c [2021-03-31T18:05:55.025Z] Checking out Revision 038d3e0e2d477805d055a7f0f6fc36f106f8f37c (PR-850) [2021-03-31T18:05:54.457Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T18:05:54.464Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T18:05:54.480Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T18:05:54.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:05:54.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:05:54.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T18:05:54.935Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T18:05:54.943Z] > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 [2021-03-31T18:05:54.990Z] > git remote # timeout=10 [2021-03-31T18:05:54.998Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T18:05:55.003Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:05:55.007Z] > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 [2021-03-31T18:05:55.018Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T18:05:55.028Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T18:05:55.032Z] > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 [2021-03-31T18:05:58.715Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T18:05:59.795Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T18:06:00.164Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T18:06:00.473Z] + sudo service docker restart [2021-03-31T18:06:00.473Z] + true [2021-03-31T18:06:00.473Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T18:06:01.936Z] provisioning config files... [2021-03-31T18:06:01.968Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6209922523974636745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:06:02.338Z] ---> docker-login.sh [2021-03-31T18:06:02.338Z] nexus3.edgexfoundry.org:10001 [2021-03-31T18:06:02.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:06:02.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:06:02.866Z] Configure a credential helper to remove this warning. See [2021-03-31T18:06:02.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:06:02.866Z] [2021-03-31T18:06:02.866Z] Login Succeeded [2021-03-31T18:06:02.866Z] nexus3.edgexfoundry.org:10002 [2021-03-31T18:06:02.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:06:03.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:06:03.130Z] Configure a credential helper to remove this warning. See [2021-03-31T18:06:03.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:06:03.130Z] [2021-03-31T18:06:03.130Z] Login Succeeded [2021-03-31T18:06:03.130Z] nexus3.edgexfoundry.org:10003 [2021-03-31T18:06:03.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:06:03.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:06:03.130Z] Configure a credential helper to remove this warning. See [2021-03-31T18:06:03.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:06:03.130Z] [2021-03-31T18:06:03.130Z] Login Succeeded [2021-03-31T18:06:03.130Z] nexus3.edgexfoundry.org:10004 [2021-03-31T18:06:03.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:06:03.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:06:03.395Z] Configure a credential helper to remove this warning. See [2021-03-31T18:06:03.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:06:03.395Z] [2021-03-31T18:06:03.395Z] Login Succeeded [2021-03-31T18:06:03.395Z] docker.io [2021-03-31T18:06:03.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:06:03.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:06:03.922Z] Configure a credential helper to remove this warning. See [2021-03-31T18:06:03.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:06:03.922Z] [2021-03-31T18:06:03.922Z] Login Succeeded [2021-03-31T18:06:03.922Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T18:06:03.934Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T18:06:04.332Z] ========================================================= [2021-03-31T18:06:04.332Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T18:06:04.332Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:06:04.689Z] + 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-03-31T18:06:04.955Z] Sending build context to Docker daemon 2.358MB [2021-03-31T18:06:04.955Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T18:06:04.955Z] Step 2/8 : FROM ${BASE} [2021-03-31T18:06:04.955Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T18:06:04.955Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T18:06:04.955Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T18:06:04.955Z] de9db76c5a1d: Pulling fs layer [2021-03-31T18:06:04.955Z] bca2f99d35d6: Pulling fs layer [2021-03-31T18:06:04.955Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T18:06:04.955Z] 7c6f9722023f: Pulling fs layer [2021-03-31T18:06:04.955Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T18:06:04.955Z] bca2f99d35d6: Waiting [2021-03-31T18:06:04.955Z] 93359f2a8cfa: Waiting [2021-03-31T18:06:04.955Z] 7c6f9722023f: Waiting [2021-03-31T18:06:04.955Z] a35cf1a2eb13: Waiting [2021-03-31T18:06:04.955Z] de9db76c5a1d: Download complete [2021-03-31T18:06:04.955Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T18:06:04.955Z] 0ef7d3d256c8: Download complete [2021-03-31T18:06:04.955Z] 93359f2a8cfa: Download complete [2021-03-31T18:06:04.955Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T18:06:04.955Z] 188c0c94c7c5: Download complete [2021-03-31T18:06:04.955Z] 7c6f9722023f: Verifying Checksum [2021-03-31T18:06:04.955Z] 7c6f9722023f: Download complete [2021-03-31T18:06:05.228Z] 188c0c94c7c5: Pull complete [2021-03-31T18:06:05.493Z] 0ef7d3d256c8: Pull complete [2021-03-31T18:06:05.772Z] de9db76c5a1d: Pull complete [2021-03-31T18:06:08.369Z] bca2f99d35d6: Verifying Checksum [2021-03-31T18:06:08.369Z] bca2f99d35d6: Download complete [2021-03-31T18:06:08.369Z] a35cf1a2eb13: Download complete [2021-03-31T18:06:15.033Z] bca2f99d35d6: Pull complete [2021-03-31T18:06:15.033Z] 93359f2a8cfa: Pull complete [2021-03-31T18:06:15.033Z] 7c6f9722023f: Pull complete [2021-03-31T18:06:21.688Z] a35cf1a2eb13: Pull complete [2021-03-31T18:06:21.688Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T18:06:21.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T18:06:21.688Z] ---> a62c8e92a672 [2021-03-31T18:06:21.688Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:06:21.688Z] ---> Running in 232a16019659 [2021-03-31T18:06:21.688Z] Removing intermediate container 232a16019659 [2021-03-31T18:06:21.688Z] ---> fe6d2c2b32b5 [2021-03-31T18:06:21.688Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:06:21.959Z] ---> Running in 2c46fda3c503 [2021-03-31T18:06:23.372Z] Removing intermediate container 2c46fda3c503 [2021-03-31T18:06:23.373Z] ---> 2d1f2dc8f316 [2021-03-31T18:06:23.373Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T18:06:23.373Z] ---> Running in 68f5fead4a91 [2021-03-31T18:06:24.329Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T18:06:24.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T18:06:25.857Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T18:06:25.857Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T18:06:25.857Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T18:06:25.857Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T18:06:26.120Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T18:06:26.120Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T18:06:26.392Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T18:06:26.392Z] OK: 167 MiB in 45 packages [2021-03-31T18:06:26.972Z] Removing intermediate container 68f5fead4a91 [2021-03-31T18:06:26.972Z] ---> f9be9c85c392 [2021-03-31T18:06:26.972Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T18:06:27.239Z] ---> Running in 10dbfd0e95d4 [2021-03-31T18:06:27.239Z] Removing intermediate container 10dbfd0e95d4 [2021-03-31T18:06:27.239Z] ---> 0a670d6285a4 [2021-03-31T18:06:27.239Z] Step 7/8 : COPY . . [2021-03-31T18:06:28.652Z] ---> 2b96f00127af [2021-03-31T18:06:28.652Z] Step 8/8 : RUN go mod download [2021-03-31T18:06:28.652Z] ---> Running in 34fa451b9472 [2021-03-31T18:06:50.849Z] Removing intermediate container 34fa451b9472 [2021-03-31T18:06:50.849Z] ---> 896ce568db13 [2021-03-31T18:06:50.849Z] Successfully built 896ce568db13 [2021-03-31T18:06:50.849Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:06:51.173Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T18:06:51.173Z] . [Pipeline] withDockerContainer [2021-03-31T18:06:51.315Z] prd-centos7-docker-4c-2g-32298 does not seem to be running inside a container [2021-03-31T18:06:51.371Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-31T18:06:52.311Z] $ docker top 09cb11d77b4d8b0f3de5f1f62445ba0394fb93b0278d2d6cfd1f3cead4bc7eb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:06:52.877Z] + go version [2021-03-31T18:06:52.878Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T18:06:52.896Z] $ docker stop --time=1 09cb11d77b4d8b0f3de5f1f62445ba0394fb93b0278d2d6cfd1f3cead4bc7eb0 [2021-03-31T18:06:54.283Z] $ docker rm -f 09cb11d77b4d8b0f3de5f1f62445ba0394fb93b0278d2d6cfd1f3cead4bc7eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:06:55.123Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T18:06:55.123Z] . [Pipeline] withDockerContainer [2021-03-31T18:06:55.238Z] prd-centos7-docker-4c-2g-32298 does not seem to be running inside a container [2021-03-31T18:06:55.295Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-31T18:06:56.101Z] $ docker top c14d34bea2ef7950f889eee0ebdfa3943c2ed47117ec253533b58d2b3ce800e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:06:56.614Z] + make test [2021-03-31T18:06:56.614Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T18:07:05.781Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32299 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] { [Pipeline] ws [2021-03-31T18:07:05.839Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-31T18:07:06.688Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T18:07:10.752Z] using credential edgex-jenkins-ssh [2021-03-31T18:07:10.824Z] Cloning the remote Git repository [2021-03-31T18:07:10.879Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:07:10.996Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-31T18:07:11.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:07:11.077Z] > git --version # timeout=10 [2021-03-31T18:07:11.106Z] > git --version # 'git version 2.17.1' [2021-03-31T18:07:11.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:07:11.201Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T18:07:12.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T18:07:12.312Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T18:07:12.336Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T18:07:12.866Z] Merging remotes/origin/master commit 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 into PR head commit 038d3e0e2d477805d055a7f0f6fc36f106f8f37c [2021-03-31T18:07:13.096Z] Merge succeeded, producing 038d3e0e2d477805d055a7f0f6fc36f106f8f37c [2021-03-31T18:07:13.097Z] Checking out Revision 038d3e0e2d477805d055a7f0f6fc36f106f8f37c (PR-850) [2021-03-31T18:07:12.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T18:07:12.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:07:12.388Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T18:07:12.889Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T18:07:12.902Z] > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 [2021-03-31T18:07:12.995Z] > git remote # timeout=10 [2021-03-31T18:07:13.027Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T18:07:13.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T18:07:13.058Z] > git merge 4cccad7aaef5ca82e829cc9ddbb75f0a5cbaed36 # timeout=10 [2021-03-31T18:07:13.079Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T18:07:13.104Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T18:07:13.114Z] > git checkout -f 038d3e0e2d477805d055a7f0f6fc36f106f8f37c # timeout=10 [2021-03-31T18:07:17.407Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T18:07:18.937Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T18:07:19.346Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T18:07:19.686Z] + sudo service docker+ restart [2021-03-31T18:07:19.686Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T18:07:22.453Z] provisioning config files... [2021-03-31T18:07:22.492Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6792712643663100525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:07:22.895Z] ---> docker-login.sh [2021-03-31T18:07:22.895Z] nexus3.edgexfoundry.org:10001 [2021-03-31T18:07:23.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:07:24.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:07:24.150Z] Configure a credential helper to remove this warning. See [2021-03-31T18:07:24.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:07:24.150Z] [2021-03-31T18:07:24.150Z] Login Succeeded [2021-03-31T18:07:24.150Z] nexus3.edgexfoundry.org:10002 [2021-03-31T18:07:24.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:07:24.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:07:24.423Z] Configure a credential helper to remove this warning. See [2021-03-31T18:07:24.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:07:24.423Z] [2021-03-31T18:07:24.423Z] Login Succeeded [2021-03-31T18:07:24.423Z] nexus3.edgexfoundry.org:10003 [2021-03-31T18:07:25.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:07:25.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:07:25.024Z] Configure a credential helper to remove this warning. See [2021-03-31T18:07:25.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:07:25.024Z] [2021-03-31T18:07:25.024Z] Login Succeeded [2021-03-31T18:07:25.024Z] nexus3.edgexfoundry.org:10004 [2021-03-31T18:07:25.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:07:25.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:07:25.629Z] Configure a credential helper to remove this warning. See [2021-03-31T18:07:25.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:07:25.629Z] [2021-03-31T18:07:25.629Z] Login Succeeded [2021-03-31T18:07:25.629Z] docker.io [2021-03-31T18:07:25.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T18:07:26.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T18:07:26.177Z] Configure a credential helper to remove this warning. See [2021-03-31T18:07:26.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T18:07:26.177Z] [2021-03-31T18:07:26.177Z] Login Succeeded [2021-03-31T18:07:26.177Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T18:07:26.199Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T18:07:26.718Z] ========================================================= [2021-03-31T18:07:26.718Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T18:07:26.718Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:07:27.103Z] + 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-03-31T18:07:27.384Z] Sending build context to Docker daemon 2.338MB [2021-03-31T18:07:27.659Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T18:07:27.659Z] Step 2/8 : FROM ${BASE} [2021-03-31T18:07:27.660Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T18:07:27.660Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T18:07:27.660Z] a4357932f1b6: Pulling fs layer [2021-03-31T18:07:27.660Z] 18c013af1878: Pulling fs layer [2021-03-31T18:07:27.660Z] 00ac8860ef70: Pulling fs layer [2021-03-31T18:07:27.660Z] 63d7cb157983: Pulling fs layer [2021-03-31T18:07:27.660Z] b116817d02f9: Pulling fs layer [2021-03-31T18:07:27.660Z] 745a02a5169b: Pulling fs layer [2021-03-31T18:07:27.660Z] 00ac8860ef70: Waiting [2021-03-31T18:07:27.660Z] 63d7cb157983: Waiting [2021-03-31T18:07:27.660Z] b116817d02f9: Waiting [2021-03-31T18:07:27.660Z] 745a02a5169b: Waiting [2021-03-31T18:07:27.660Z] 18c013af1878: Verifying Checksum [2021-03-31T18:07:27.660Z] 18c013af1878: Download complete [2021-03-31T18:07:27.660Z] a4357932f1b6: Verifying Checksum [2021-03-31T18:07:27.660Z] a4357932f1b6: Download complete [2021-03-31T18:07:27.660Z] 63d7cb157983: Download complete [2021-03-31T18:07:27.660Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T18:07:27.660Z] 5f621e34cdf4: Download complete [2021-03-31T18:07:27.660Z] b116817d02f9: Verifying Checksum [2021-03-31T18:07:27.660Z] b116817d02f9: Download complete [2021-03-31T18:07:28.647Z] 5f621e34cdf4: Pull complete [2021-03-31T18:07:28.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T18:07:28.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T18:07:28.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T18:07:28.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T18:07:28.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T18:07:28.919Z] a4357932f1b6: Pull complete [2021-03-31T18:07:29.518Z] 18c013af1878: Pull complete [2021-03-31T18:07:30.524Z] 745a02a5169b: Verifying Checksum [2021-03-31T18:07:30.524Z] 745a02a5169b: Download complete [2021-03-31T18:07:30.805Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.097s coverage: 27.0% of statements [2021-03-31T18:07:30.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.100s coverage: 81.2% of statements [2021-03-31T18:07:31.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.089s coverage: 7.8% of statements [2021-03-31T18:07:31.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T18:07:31.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T18:07:31.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T18:07:31.674Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.134s coverage: 32.5% of statements [2021-03-31T18:07:31.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T18:07:31.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T18:07:31.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T18:07:31.951Z] 00ac8860ef70: Download complete [2021-03-31T18:07:32.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 57.3% of statements [2021-03-31T18:07:32.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.262s coverage: 6.6% of statements [2021-03-31T18:07:33.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements [2021-03-31T18:07:33.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T18:07:33.393Z] GO111MODULE=on go vet ./... [2021-03-31T18:07:42.117Z] 00ac8860ef70: Pull complete [2021-03-31T18:07:42.117Z] 63d7cb157983: Pull complete [2021-03-31T18:07:42.389Z] b116817d02f9: Pull complete [2021-03-31T18:07:45.800Z] 745a02a5169b: Pull complete [2021-03-31T18:07:45.800Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T18:07:45.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T18:07:45.800Z] ---> b7e6874047d6 [2021-03-31T18:07:45.800Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:07:49.192Z] ---> Running in 5cd113ca8896 [2021-03-31T18:07:49.192Z] Removing intermediate container 5cd113ca8896 [2021-03-31T18:07:49.192Z] ---> cf0386c29b6c [2021-03-31T18:07:49.192Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:07:49.468Z] ---> Running in 287228181d73 [2021-03-31T18:07:51.698Z] gofmt -l . [2021-03-31T18:07:51.698Z] [ "`gofmt -l .`" = "" ] [2021-03-31T18:07:51.698Z] ./bin/test-attribution-txt.sh [2021-03-31T18:07:51.698Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T18:07:51.989Z] $ docker stop --time=1 c14d34bea2ef7950f889eee0ebdfa3943c2ed47117ec253533b58d2b3ce800e0 [2021-03-31T18:07:52.108Z] Removing intermediate container 287228181d73 [2021-03-31T18:07:52.108Z] ---> d7a2e6013b7d [2021-03-31T18:07:52.108Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T18:07:52.108Z] ---> Running in 4b9f71279be1 [2021-03-31T18:07:52.720Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T18:07:53.692Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T18:07:53.709Z] $ docker rm -f c14d34bea2ef7950f889eee0ebdfa3943c2ed47117ec253533b58d2b3ce800e0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T18:07:54.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T18:07:54.825Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-03-31T18:07:55.119Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T18:07:55.119Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T18:07:55.119Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T18:07:55.458Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T18:07:55.459Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T18:07:55.737Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T18:07:55.737Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T18:07:55.737Z] OK: 144 MiB in 45 packages [Pipeline] sh [2021-03-31T18:07:56.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T18:07:56.404Z] + ls -al . [2021-03-31T18:07:56.404Z] total 188 [2021-03-31T18:07:56.404Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 31 18:07 . [2021-03-31T18:07:56.404Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 18:05 .. [2021-03-31T18:07:56.404Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 18:05 bin [2021-03-31T18:07:56.404Z] -rw-r--r--. 1 jenkins jenkins 101417 Mar 31 18:07 coverage.out [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 987 Mar 31 18:05 Dockerfile.build [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 18:05 .dockerignore [2021-03-31T18:07:56.404Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 31 18:05 example [2021-03-31T18:07:56.404Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 18:05 .git [2021-03-31T18:07:56.404Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 31 18:05 .github [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 18:05 .gitignore [2021-03-31T18:07:56.404Z] -rw-r--r--. 1 jenkins jenkins 537 Mar 31 18:07 go.mod [2021-03-31T18:07:56.404Z] -rw-r--r--. 1 jenkins jenkins 20946 Mar 31 18:07 go.sum [2021-03-31T18:07:56.404Z] drwxrwxr-x. 14 jenkins jenkins 207 Mar 31 18:05 internal [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 31 18:05 Jenkinsfile [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 18:05 LICENSE [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 1022 Mar 31 18:05 Makefile [2021-03-31T18:07:56.404Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 31 18:05 openapi [2021-03-31T18:07:56.404Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 18:05 pkg [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 31 18:05 README.md [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 31 18:05 RELEASE-NOTES.txt [2021-03-31T18:07:56.404Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 18:05 snap [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 18:03 VERSION [2021-03-31T18:07:56.404Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 18:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:07:56.717Z] + 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=038d3e0e2d477805d055a7f0f6fc36f106f8f37c --label arch=amd64 --label version=0.0.0 . [2021-03-31T18:07:56.982Z] Sending build context to Docker daemon 2.461MB [2021-03-31T18:07:56.982Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T18:07:56.982Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T18:07:56.982Z] ---> 896ce568db13 [2021-03-31T18:07:56.982Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T18:07:57.198Z] Removing intermediate container 4b9f71279be1 [2021-03-31T18:07:57.198Z] ---> 4fc1fc77ce83 [2021-03-31T18:07:57.198Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T18:07:57.198Z] ---> Running in 986478d63ed5 [2021-03-31T18:07:57.571Z] ---> Running in eee91206a37e [2021-03-31T18:07:57.798Z] Removing intermediate container 986478d63ed5 [2021-03-31T18:07:57.798Z] ---> 2258d04eeeed [2021-03-31T18:07:57.799Z] Step 7/8 : COPY . . [2021-03-31T18:07:57.840Z] Removing intermediate container eee91206a37e [2021-03-31T18:07:57.840Z] ---> ad2b50ca4c9e [2021-03-31T18:07:57.840Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:07:57.840Z] ---> Running in eecb9c1d76a9 [2021-03-31T18:07:57.840Z] Removing intermediate container eecb9c1d76a9 [2021-03-31T18:07:57.840Z] ---> a4ea297e87fe [2021-03-31T18:07:57.840Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:07:58.113Z] ---> Running in 4864c9120ab7 [2021-03-31T18:07:58.788Z] ---> 62351ebbb2fe [2021-03-31T18:07:58.788Z] Step 8/8 : RUN go mod download [2021-03-31T18:07:59.063Z] Removing intermediate container 4864c9120ab7 [2021-03-31T18:07:59.064Z] ---> d7fd4c9e776e [2021-03-31T18:07:59.064Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T18:07:59.066Z] ---> Running in 00f4b26c1975 [2021-03-31T18:07:59.333Z] ---> Running in 23fbe74ed3e1 [2021-03-31T18:07:59.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T18:08:00.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T18:08:01.127Z] OK: 167 MiB in 45 packages [2021-03-31T18:08:01.719Z] Removing intermediate container 23fbe74ed3e1 [2021-03-31T18:08:01.719Z] ---> e43b749b439e [2021-03-31T18:08:01.719Z] Step 7/23 : COPY . . [2021-03-31T18:08:02.673Z] ---> 7fabfd6a1ae1 [2021-03-31T18:08:02.673Z] Step 8/23 : RUN go mod download [2021-03-31T18:08:02.673Z] ---> Running in 3f969b7eeb1f [2021-03-31T18:08:04.094Z] Removing intermediate container 3f969b7eeb1f [2021-03-31T18:08:04.094Z] ---> 8346415433bb [2021-03-31T18:08:04.094Z] Step 9/23 : RUN make build [2021-03-31T18:08:04.094Z] ---> Running in 17f9b862c121 [2021-03-31T18:08:04.679Z] 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-03-31T18:08:17.058Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T18:08:18.009Z] Removing intermediate container 17f9b862c121 [2021-03-31T18:08:18.009Z] ---> f31bb204b7f8 [2021-03-31T18:08:18.009Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T18:08:18.587Z] 3.12: Pulling from library/alpine [2021-03-31T18:08:18.587Z] 22599d3e9e25: Pulling fs layer [2021-03-31T18:08:18.851Z] 22599d3e9e25: Verifying Checksum [2021-03-31T18:08:18.851Z] 22599d3e9e25: Download complete [2021-03-31T18:08:19.114Z] 22599d3e9e25: Pull complete [2021-03-31T18:08:19.114Z] Digest: sha256:02cd4b50aef54502204d5956109e24876a5f9e8f3d3b22600dc14ea4de0d1d5d [2021-03-31T18:08:19.114Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T18:08:19.114Z] ---> 42cb162f0360 [2021-03-31T18:08:19.114Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:08:19.114Z] ---> Running in 5510687591b5 [2021-03-31T18:08:19.380Z] Removing intermediate container 5510687591b5 [2021-03-31T18:08:19.380Z] ---> cc658f39dd9f [2021-03-31T18:08:19.380Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:08:19.380Z] ---> Running in 169670ceb147 [2021-03-31T18:08:20.784Z] Removing intermediate container 169670ceb147 [2021-03-31T18:08:20.784Z] ---> bcec8626fa77 [2021-03-31T18:08:20.784Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T18:08:20.784Z] ---> Running in 367c1fd7a42d [2021-03-31T18:08:21.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T18:08:22.002Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T18:08:22.585Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T18:08:22.585Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T18:08:22.585Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T18:08:22.848Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T18:08:23.128Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T18:08:23.128Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T18:08:23.128Z] OK: 8 MiB in 19 packages [2021-03-31T18:08:23.711Z] Removing intermediate container 367c1fd7a42d [2021-03-31T18:08:23.711Z] ---> 26988f37ae4c [2021-03-31T18:08:23.711Z] Step 14/23 : WORKDIR / [2021-03-31T18:08:23.711Z] ---> Running in 26266d65faa0 [2021-03-31T18:08:23.973Z] Removing intermediate container 26266d65faa0 [2021-03-31T18:08:23.973Z] ---> e2456b444e8b [2021-03-31T18:08:23.973Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T18:08:24.237Z] ---> de6ad513b65e [2021-03-31T18:08:24.237Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T18:08:24.821Z] ---> 0718c19eb797 [2021-03-31T18:08:24.821Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T18:08:25.084Z] ---> 36d84f14dc31 [2021-03-31T18:08:25.084Z] Step 18/23 : EXPOSE 49990 [2021-03-31T18:08:25.084Z] ---> Running in 871d8d3c286b [2021-03-31T18:08:25.348Z] Removing intermediate container 871d8d3c286b [2021-03-31T18:08:25.348Z] ---> e809bdba3e37 [2021-03-31T18:08:25.348Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T18:08:25.348Z] ---> Running in e8097dfc1cb0 [2021-03-31T18:08:25.615Z] Removing intermediate container e8097dfc1cb0 [2021-03-31T18:08:25.615Z] ---> a7d04b8f8af3 [2021-03-31T18:08:25.615Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T18:08:25.615Z] ---> Running in b3a1b6f97b06 [2021-03-31T18:08:25.615Z] Removing intermediate container b3a1b6f97b06 [2021-03-31T18:08:25.615Z] ---> ed60f3be3a01 [2021-03-31T18:08:25.615Z] Step 21/23 : LABEL arch=amd64 [2021-03-31T18:08:25.871Z] Removing intermediate container 00f4b26c1975 [2021-03-31T18:08:25.871Z] ---> ca4ace13fc5f [2021-03-31T18:08:25.871Z] Successfully built ca4ace13fc5f [2021-03-31T18:08:25.871Z] Successfully tagged ci-base-image-arm64:latest [2021-03-31T18:08:25.885Z] ---> Running in c4597af9f39b [2021-03-31T18:08:25.885Z] Removing intermediate container c4597af9f39b [2021-03-31T18:08:25.885Z] ---> ab99829062ef [2021-03-31T18:08:25.885Z] Step 22/23 : LABEL git_sha=038d3e0e2d477805d055a7f0f6fc36f106f8f37c [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:08:26.158Z] ---> Running in 103575f3c2b8 [2021-03-31T18:08:26.158Z] Removing intermediate container 103575f3c2b8 [2021-03-31T18:08:26.158Z] ---> 4c06cb78094e [2021-03-31T18:08:26.158Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T18:08:26.158Z] ---> Running in b923eb211d81 [2021-03-31T18:08:26.224Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T18:08:26.224Z] . [Pipeline] withDockerContainer [2021-03-31T18:08:26.425Z] Removing intermediate container b923eb211d81 [2021-03-31T18:08:26.425Z] ---> 11b40c33a4cb [2021-03-31T18:08:26.425Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-31T18:08:26.425Z] Successfully built 11b40c33a4cb [2021-03-31T18:08:26.425Z] Successfully tagged docker-device-sdk-simple:latest [2021-03-31T18:08:26.489Z] prd-ubuntu18.04-docker-arm64-4c-16g-32299 does not seem to be running inside a container [2021-03-31T18:08:26.645Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-31T18:08:28.113Z] $ docker top 56dcd5ff5261e52421021578e951ab1395407bcf7c99e54c9425d3c0c0db1c05 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:08:29.091Z] + go version [2021-03-31T18:08:29.091Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T18:08:29.182Z] $ docker stop --time=1 56dcd5ff5261e52421021578e951ab1395407bcf7c99e54c9425d3c0c0db1c05 [2021-03-31T18:08:29.394Z] ---> job-cost.sh [2021-03-31T18:08:29.394Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hUuw [2021-03-31T18:08:31.094Z] $ docker rm -f 56dcd5ff5261e52421021578e951ab1395407bcf7c99e54c9425d3c0c0db1c05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:08:32.148Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T18:08:32.148Z] . [Pipeline] withDockerContainer [2021-03-31T18:08:32.423Z] prd-ubuntu18.04-docker-arm64-4c-16g-32299 does not seem to be running inside a container [2021-03-31T18:08:32.511Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-31T18:08:34.027Z] $ docker top 1a24cb4b0a0c32c421b32b3926788f0089cfc6361f833b7b5dacbd25692f2f0c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:08:35.067Z] + make test [2021-03-31T18:08:35.067Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T18:08:47.693Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T18:08:57.255Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T18:09:14.475Z] lf-activate-venv(): INFO: Adding /tmp/venv-hUuw/bin to PATH [2021-03-31T18:09:14.475Z] INFO: No Stack... [2021-03-31T18:09:14.475Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T18:09:14.738Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T18:09:15.050Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-31T18:09:15.050Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T18:09:15.131Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] [2021-03-31T18:09:15.144Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] did not exist. Created. [2021-03-31T18:09:15.144Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T18:09:15.550Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-31T18:09:15.727Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T18:09:15.743Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T18:09:53.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T18:09:53.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T18:09:53.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T18:09:53.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T18:09:53.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T18:09:56.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 27.0% of statements [2021-03-31T18:09:57.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.267s coverage: 81.2% of statements [2021-03-31T18:09:57.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.209s coverage: 7.8% of statements [2021-03-31T18:09:57.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T18:09:57.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T18:09:57.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T18:09:58.946Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.250s coverage: 32.5% of statements [2021-03-31T18:09:58.946Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T18:09:58.946Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T18:09:58.946Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T18:10:03.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.270s coverage: 57.3% of statements [2021-03-31T18:10:03.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.305s coverage: 6.6% of statements [2021-03-31T18:10:03.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-03-31T18:10:03.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T18:10:03.274Z] GO111MODULE=on go vet ./... [2021-03-31T18:10:50.316Z] gofmt -l . [2021-03-31T18:10:50.316Z] [ "`gofmt -l .`" = "" ] [2021-03-31T18:10:50.316Z] ./bin/test-attribution-txt.sh [2021-03-31T18:10:50.316Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T18:10:50.340Z] $ docker stop --time=1 1a24cb4b0a0c32c421b32b3926788f0089cfc6361f833b7b5dacbd25692f2f0c [2021-03-31T18:10:52.678Z] $ docker rm -f 1a24cb4b0a0c32c421b32b3926788f0089cfc6361f833b7b5dacbd25692f2f0c [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T18:10:53.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T18:10:53.847Z] Warning: overwriting stash ‘coverage-report’ [2021-03-31T18:10:54.717Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T18:10:55.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T18:10:55.778Z] + ls -al . [2021-03-31T18:10:55.779Z] total 224 [2021-03-31T18:10:55.779Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 18:10 . [2021-03-31T18:10:55.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:07 .. [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 18:07 .dockerignore [2021-03-31T18:10:55.779Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 18:07 .git [2021-03-31T18:10:55.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 18:07 .github [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 18:07 .gitignore [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 987 Mar 31 18:07 Dockerfile.build [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 31 18:07 Jenkinsfile [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 18:07 LICENSE [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 1022 Mar 31 18:07 Makefile [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 31 18:07 README.md [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 31 18:07 RELEASE-NOTES.txt [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 18:03 VERSION [2021-03-31T18:10:55.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 18:07 bin [2021-03-31T18:10:55.779Z] -rw-r--r-- 1 jenkins jenkins 101417 Mar 31 18:10 coverage.out [2021-03-31T18:10:55.779Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 18:07 example [2021-03-31T18:10:55.779Z] -rw-r--r-- 1 jenkins jenkins 537 Mar 31 18:10 go.mod [2021-03-31T18:10:55.779Z] -rw-r--r-- 1 jenkins jenkins 20946 Mar 31 18:10 go.sum [2021-03-31T18:10:55.779Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 18:07 internal [2021-03-31T18:10:55.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:07 openapi [2021-03-31T18:10:55.779Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 18:07 pkg [2021-03-31T18:10:55.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 18:07 snap [2021-03-31T18:10:55.779Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 18:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:10:56.163Z] + 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=038d3e0e2d477805d055a7f0f6fc36f106f8f37c --label arch=arm64 --label version=0.0.0 . [2021-03-31T18:10:56.777Z] Sending build context to Docker daemon 2.441MB [2021-03-31T18:10:56.777Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T18:10:56.777Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T18:10:56.777Z] ---> ca4ace13fc5f [2021-03-31T18:10:56.777Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T18:10:57.065Z] ---> Running in 0703f5941aea [2021-03-31T18:10:57.669Z] Removing intermediate container 0703f5941aea [2021-03-31T18:10:57.669Z] ---> 2ca7c748e3a7 [2021-03-31T18:10:57.669Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:10:57.669Z] ---> Running in e2f5e7008f54 [2021-03-31T18:10:58.280Z] Removing intermediate container e2f5e7008f54 [2021-03-31T18:10:58.280Z] ---> d2f8253894de [2021-03-31T18:10:58.281Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:10:58.281Z] ---> Running in b9c4b05a51bd [2021-03-31T18:11:00.897Z] Removing intermediate container b9c4b05a51bd [2021-03-31T18:11:00.897Z] ---> 4088aae4d04d [2021-03-31T18:11:00.897Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T18:11:00.897Z] ---> Running in f68744581e67 [2021-03-31T18:11:01.497Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T18:11:02.473Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T18:11:03.075Z] OK: 144 MiB in 45 packages [2021-03-31T18:11:04.511Z] Removing intermediate container f68744581e67 [2021-03-31T18:11:04.511Z] ---> 06841b94c64b [2021-03-31T18:11:04.511Z] Step 7/23 : COPY . . [2021-03-31T18:11:05.492Z] ---> 3d3681a1c73b [2021-03-31T18:11:05.492Z] Step 8/23 : RUN go mod download [2021-03-31T18:11:05.492Z] ---> Running in 130b777f7e6d [2021-03-31T18:11:08.116Z] Removing intermediate container 130b777f7e6d [2021-03-31T18:11:08.116Z] ---> 4bbc879bf454 [2021-03-31T18:11:08.116Z] Step 9/23 : RUN make build [2021-03-31T18:11:08.116Z] ---> Running in 11b9358c4d63 [2021-03-31T18:11:09.094Z] 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-03-31T18:11:41.447Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T18:11:43.420Z] Removing intermediate container 11b9358c4d63 [2021-03-31T18:11:43.420Z] ---> 8331732c9a57 [2021-03-31T18:11:43.420Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T18:11:44.016Z] 3.12: Pulling from library/alpine [2021-03-31T18:11:44.016Z] 9a219e8acc52: Pulling fs layer [2021-03-31T18:11:44.292Z] 9a219e8acc52: Verifying Checksum [2021-03-31T18:11:44.292Z] 9a219e8acc52: Download complete [2021-03-31T18:11:44.890Z] 9a219e8acc52: Pull complete [2021-03-31T18:11:44.890Z] Digest: sha256:02cd4b50aef54502204d5956109e24876a5f9e8f3d3b22600dc14ea4de0d1d5d [2021-03-31T18:11:44.890Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T18:11:44.890Z] ---> d75e27dfc0a0 [2021-03-31T18:11:44.890Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T18:11:45.492Z] ---> Running in 63090a419388 [2021-03-31T18:11:46.085Z] Removing intermediate container 63090a419388 [2021-03-31T18:11:46.085Z] ---> 06663c142040 [2021-03-31T18:11:46.085Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T18:11:46.086Z] ---> Running in 0263fd8d44f1 [2021-03-31T18:11:48.703Z] Removing intermediate container 0263fd8d44f1 [2021-03-31T18:11:48.703Z] ---> 539ec20e54df [2021-03-31T18:11:48.703Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T18:11:48.703Z] ---> Running in 34187cf01cb2 [2021-03-31T18:11:49.677Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T18:11:50.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T18:11:51.241Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T18:11:51.241Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T18:11:51.510Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T18:11:51.783Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T18:11:52.060Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T18:11:52.060Z] Executing busybox-1.31.1-r20.trigger [2021-03-31T18:11:52.060Z] OK: 8 MiB in 19 packages [2021-03-31T18:11:53.490Z] Removing intermediate container 34187cf01cb2 [2021-03-31T18:11:53.490Z] ---> 08ead6d969a6 [2021-03-31T18:11:53.490Z] Step 14/23 : WORKDIR / [2021-03-31T18:11:53.761Z] ---> Running in 76d6a44dd009 [2021-03-31T18:11:54.354Z] Removing intermediate container 76d6a44dd009 [2021-03-31T18:11:54.354Z] ---> f11b97a5936b [2021-03-31T18:11:54.354Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T18:11:54.949Z] ---> 39018e3d76a1 [2021-03-31T18:11:54.949Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T18:11:56.380Z] ---> 3abda5553704 [2021-03-31T18:11:56.380Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T18:11:56.977Z] ---> 81612d2d2fcd [2021-03-31T18:11:56.977Z] Step 18/23 : EXPOSE 49990 [2021-03-31T18:11:57.257Z] ---> Running in 4f4ffaabe2b2 [2021-03-31T18:11:57.860Z] Removing intermediate container 4f4ffaabe2b2 [2021-03-31T18:11:57.860Z] ---> 5c20a8b08c0a [2021-03-31T18:11:57.860Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T18:11:57.860Z] ---> Running in 9f2d1c00c0f6 [2021-03-31T18:11:58.452Z] Removing intermediate container 9f2d1c00c0f6 [2021-03-31T18:11:58.452Z] ---> 4a7665a4be8b [2021-03-31T18:11:58.452Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T18:11:58.725Z] ---> Running in 7311aa99432b [2021-03-31T18:11:59.319Z] Removing intermediate container 7311aa99432b [2021-03-31T18:11:59.319Z] ---> b584611e6598 [2021-03-31T18:11:59.319Z] Step 21/23 : LABEL arch=arm64 [2021-03-31T18:11:59.319Z] ---> Running in 44114847b3f1 [2021-03-31T18:11:59.909Z] Removing intermediate container 44114847b3f1 [2021-03-31T18:11:59.909Z] ---> b78564a93cc3 [2021-03-31T18:11:59.909Z] Step 22/23 : LABEL git_sha=038d3e0e2d477805d055a7f0f6fc36f106f8f37c [2021-03-31T18:12:00.182Z] ---> Running in 7ec470a5c77c [2021-03-31T18:12:00.775Z] Removing intermediate container 7ec470a5c77c [2021-03-31T18:12:00.775Z] ---> c46b71bd6ad1 [2021-03-31T18:12:00.775Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T18:12:00.775Z] ---> Running in a51900879e8d [2021-03-31T18:12:01.374Z] Removing intermediate container a51900879e8d [2021-03-31T18:12:01.374Z] ---> 506e95efade9 [2021-03-31T18:12:01.374Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-31T18:12:01.374Z] Successfully built 506e95efade9 [2021-03-31T18:12:01.374Z] 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-03-31T18:12:02.213Z] ---> job-cost.sh [2021-03-31T18:12:02.213Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-C3k4 [2021-03-31T18:12:41.179Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T18:14:17.933Z] lf-activate-venv(): INFO: Adding /tmp/venv-C3k4/bin to PATH [2021-03-31T18:14:17.933Z] INFO: No Stack... [2021-03-31T18:14:17.933Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T18:14:17.933Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T18:14:18.270Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-31T18:14:18.270Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T18:14:18.384Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] [2021-03-31T18:14:18.393Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] did not exist. Created. [2021-03-31T18:14:18.393Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T18:14:18.835Z] /w/workspace/device-sdk-go/2@tmp/durable-202ba416/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-202ba416/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-31T18:14:19.184Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T18:14:19.251Z] Warning: overwriting stash ‘stack-cost’ [2021-03-31T18:14:19.422Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T18:14:19.439Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-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-03-31T18:14:20.859Z] provisioning config files... [2021-03-31T18:14:20.873Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config7735751631205107765tmp [Pipeline] { [Pipeline] sh [2021-03-31T18:14:21.275Z] + set +x [2021-03-31T18:14:21.275Z] + curl -s https://codecov.io/bash [2021-03-31T18:14:21.275Z] + bash -s -- [2021-03-31T18:14:21.545Z] [2021-03-31T18:14:21.545Z] _____ _ [2021-03-31T18:14:21.545Z] / ____| | | [2021-03-31T18:14:21.545Z] | | ___ __| | ___ ___ _____ __ [2021-03-31T18:14:21.545Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-31T18:14:21.545Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-31T18:14:21.545Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-31T18:14:21.545Z] Bash-20210309-2b87ace [2021-03-31T18:14:21.545Z] [2021-03-31T18:14:21.545Z] [2021-03-31T18:14:21.545Z] ==> git version 2.24.3 found [2021-03-31T18:14:21.545Z] ==> 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-03-31T18:14:21.545Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-31T18:14:21.545Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-31T18:14:21.545Z] ==> Jenkins CI detected. [2021-03-31T18:14:21.545Z] project root: . [2021-03-31T18:14:21.545Z] --> token set from env [2021-03-31T18:14:21.545Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-31T18:14:21.545Z] ==> Running gcov in . (disable via -X gcov) [2021-03-31T18:14:21.545Z] ==> Python coveragepy not found [2021-03-31T18:14:21.545Z] ==> Searching for coverage reports in: [2021-03-31T18:14:21.545Z] + . [2021-03-31T18:14:21.545Z] -> Found 1 reports [2021-03-31T18:14:21.545Z] ==> Detecting git/mercurial file structure [2021-03-31T18:14:21.545Z] ==> Reading reports [2021-03-31T18:14:21.545Z] + ./coverage.out bytes=101417 [2021-03-31T18:14:21.545Z] ==> Appending adjustments [2021-03-31T18:14:21.545Z] https://docs.codecov.io/docs/fixing-reports [2021-03-31T18:14:21.820Z] + Found adjustments [2021-03-31T18:14:21.820Z] ==> Gzipping contents [2021-03-31T18:14:21.820Z] 16K /tmp/codecov.JTfOyq.gz [2021-03-31T18:14:21.820Z] ==> Uploading reports [2021-03-31T18:14:21.820Z] url: https://codecov.io [2021-03-31T18:14:21.821Z] query: branch=PR-850&commit=038d3e0e2d477805d055a7f0f6fc36f106f8f37c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= [2021-03-31T18:14:21.821Z] -> Pinging Codecov [2021-03-31T18:14:21.821Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-850&commit=038d3e0e2d477805d055a7f0f6fc36f106f8f37c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= [2021-03-31T18:14:22.770Z] -> Uploading to [2021-03-31T18:14:22.770Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-31/7E55EF52A471D76F132DFD9A03CDDE97/038d3e0e2d477805d055a7f0f6fc36f106f8f37c/4a94c63d-86b6-462d-aa12-b67ee0df23e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T181422Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b39ba76b77b939826385bd5029364e7b719a4ca12bb98994b180f3333eba8845 [2021-03-31T18:14:22.770Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T18:14:22.770Z] Dload Upload Total Spent Left Speed [2021-03-31T18:14:23.293Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13757 0 0 100 13757 0 34228 --:--:-- --:--:-- --:--:-- 34221 [2021-03-31T18:14:23.294Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/038d3e0e2d477805d055a7f0f6fc36f106f8f37c [Pipeline] } [2021-03-31T18:14:23.303Z] 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-03-31T18:14:25.586Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:14:25.894Z] ---> package-listing.sh [2021-03-31T18:14:25.894Z] ++ facter osfamily [2021-03-31T18:14:25.894Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T18:14:25.894Z] + OS_FAMILY=redhat [2021-03-31T18:14:25.894Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-850 [2021-03-31T18:14:25.894Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T18:14:25.895Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T18:14:25.895Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T18:14:25.895Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T18:14:25.895Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' [2021-03-31T18:14:25.895Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T18:14:25.895Z] + case "${OS_FAMILY}" in [2021-03-31T18:14:25.895Z] + rpm -qa [2021-03-31T18:14:25.895Z] + sort [2021-03-31T18:14:31.199Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T18:14:31.199Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T18:14:31.199Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T18:14:31.199Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' [2021-03-31T18:14:31.199Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ [2021-03-31T18:14:31.199Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ [Pipeline] echo [2021-03-31T18:14:31.212Z] 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-850/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T18:14:31.497Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:14:31.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T18:14:31.802Z] [2021-03-31T18:14:31.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T18:14:32.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T18:14:32.147Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T18:14:32.147Z] df20fa9351a1: Pulling fs layer [2021-03-31T18:14:32.147Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T18:14:32.147Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T18:14:32.147Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T18:14:32.147Z] 93b61091891f: Pulling fs layer [2021-03-31T18:14:32.147Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T18:14:32.147Z] 5e14af77c1be: Pulling fs layer [2021-03-31T18:14:32.147Z] 01666e4c0597: Pulling fs layer [2021-03-31T18:14:32.147Z] aa168da1d23b: Pulling fs layer [2021-03-31T18:14:32.147Z] 93b9cdb0e59b: Waiting [2021-03-31T18:14:32.147Z] 5e14af77c1be: Waiting [2021-03-31T18:14:32.147Z] 46f8f816bc3b: Waiting [2021-03-31T18:14:32.147Z] 01666e4c0597: Waiting [2021-03-31T18:14:32.147Z] aa168da1d23b: Waiting [2021-03-31T18:14:32.147Z] 93b61091891f: Waiting [2021-03-31T18:14:32.147Z] 36b3adc4ff6f: Download complete [2021-03-31T18:14:32.147Z] 46f8f816bc3b: Download complete [2021-03-31T18:14:32.147Z] df20fa9351a1: Verifying Checksum [2021-03-31T18:14:32.147Z] df20fa9351a1: Download complete [2021-03-31T18:14:32.147Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T18:14:32.147Z] 93b9cdb0e59b: Download complete [2021-03-31T18:14:32.411Z] 5e14af77c1be: Download complete [2021-03-31T18:14:32.411Z] 01666e4c0597: Verifying Checksum [2021-03-31T18:14:32.411Z] 01666e4c0597: Download complete [2021-03-31T18:14:32.411Z] 93b61091891f: Verifying Checksum [2021-03-31T18:14:32.411Z] 93b61091891f: Download complete [2021-03-31T18:14:32.673Z] df20fa9351a1: Pull complete [2021-03-31T18:14:32.673Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T18:14:32.673Z] 8ad3a11d3b57: Download complete [2021-03-31T18:14:32.938Z] 36b3adc4ff6f: Pull complete [2021-03-31T18:14:33.522Z] 8ad3a11d3b57: Pull complete [2021-03-31T18:14:33.522Z] 46f8f816bc3b: Pull complete [2021-03-31T18:14:34.470Z] aa168da1d23b: Download complete [2021-03-31T18:14:35.045Z] 93b61091891f: Pull complete [2021-03-31T18:14:35.045Z] 93b9cdb0e59b: Pull complete [2021-03-31T18:14:35.307Z] 5e14af77c1be: Pull complete [2021-03-31T18:14:35.307Z] 01666e4c0597: Pull complete [2021-03-31T18:14:41.927Z] aa168da1d23b: Pull complete [2021-03-31T18:14:41.927Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T18:14:41.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T18:14:41.927Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T18:14:42.062Z] prd-centos7-docker-4c-2g-32295 does not seem to be running inside a container [2021-03-31T18:14:42.109Z] $ 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-850/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-850 -v /w/workspace/dgexfoundry_device-sdk-go_PR-850:/w/workspace/dgexfoundry_device-sdk-go_PR-850:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-31T18:14:45.428Z] $ docker top 3fd0341663a129a1686aa25c7d041175a4b206c64397c6d927c3b5be77bf39f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T18:14:45.977Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T18:14:46.271Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T18:14:46.571Z] + ls /var/log/sa-host [2021-03-31T18:14:46.571Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T18:14:46.571Z] file_magic: OK [2021-03-31T18:14:46.571Z] HZ: Using current value: 100 [2021-03-31T18:14:46.571Z] file_header: OK [2021-03-31T18:14:46.571Z] 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-03-31T18:14:46.571Z] Statistics: [2021-03-31T18:14:46.571Z] Hnuu...uuuununununu... [2021-03-31T18:14:46.571Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T18:14:46.571Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T18:14:46.571Z] file_magic: OK [2021-03-31T18:14:46.571Z] HZ: Using current value: 100 [2021-03-31T18:14:46.571Z] file_header: OK [2021-03-31T18:14:46.571Z] 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-03-31T18:14:46.571Z] Statistics: [2021-03-31T18:14:46.571Z] 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-03-31T18:14:46.571Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T18:14:46.779Z] provisioning config files... [2021-03-31T18:14:46.792Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config8094558120365797932tmp [Pipeline] { [Pipeline] echo [2021-03-31T18:14:46.865Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:14:47.160Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T18:14:47.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T18:14:47.263Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:14:47.562Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T18:14:47.573Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:14:47.866Z] ---> sudo-logs.sh [2021-03-31T18:14:47.866Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T18:14:47.961Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:14:48.257Z] ---> job-cost.sh [2021-03-31T18:14:48.257Z] lf-activate-venv: SKIPPING [2021-03-31T18:14:48.257Z] DEBUG: total: 0.20999999344348907 [2021-03-31T18:14:48.257Z] INFO: Retrieving Stack Cost... [2021-03-31T18:14:49.204Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T18:14:49.778Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T18:14:49.792Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T18:14:50.154Z] ---> logs-deploy.sh [2021-03-31T18:14:50.154Z] lf-activate-venv: SKIPPING [2021-03-31T18:14:50.154Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-850/2 [2021-03-31T18:14:50.154Z] INFO: archiving workspace using pattern(s): [2021-03-31T18:14:51.596Z] Archives upload complete. [2021-03-31T18:14:51.858Z] INFO: archiving logs to Nexus [2021-03-31T18:14:52.801Z] ---> uname -a: [2021-03-31T18:14:52.801Z] Linux prd-centos7-docker-4c-2g-32295.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-31T18:14:52.801Z] [2021-03-31T18:14:52.801Z]