Pull request #863 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2d80251066bf1fa40f6706b3e0628535ff0cfc73+34bcbadecb817e113f443ebd9bc4fa59ecf970a2 (249222776ea1223eb881dd68ffcd3e1e18dd21f8) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-863/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-863/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-32936 in /w/workspace/dgexfoundry_device-sdk-go_PR-863 [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-863 # 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/863/head:refs/remotes/origin/PR-863 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 2d80251066bf1fa40f6706b3e0628535ff0cfc73 Merge succeeded, producing 2d80251066bf1fa40f6706b3e0628535ff0cfc73 Checking out Revision 2d80251066bf1fa40f6706b3e0628535ff0cfc73 (PR-863) > git config core.sparsecheckout # timeout=10 > git checkout -f 2d80251066bf1fa40f6706b3e0628535ff0cfc73 # 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 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d80251066bf1fa40f6706b3e0628535ff0cfc73 # timeout=10 Commit message: "fix: add Content-Type in context for MessageEnvelope" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T08:27:15.628Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T08:27:15.962Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T08:27:16.215Z] ========================================================= [2021-04-06T08:27:16.215Z] EdgeX Global Pipelines Version Info [2021-04-06T08:27:16.215Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:27:17.742Z] ------------------- [2021-04-06T08:27:17.742Z] stable info: [2021-04-06T08:27:17.742Z] ------------------- [2021-04-06T08:27:17.742Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T08:27:17.742Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T08:27:17.742Z] Message: update stable to v1.0.186 [2021-04-06T08:27:18.694Z] ------------------- [2021-04-06T08:27:18.694Z] experimental info: [2021-04-06T08:27:18.694Z] ------------------- [2021-04-06T08:27:18.694Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T08:27:18.694Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T08:27:18.694Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T08:27:19.041Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-06T08:27:19.158Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-06T08:27:19.286Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T08:27:19.412Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T08:27:19.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T08:27:19.644Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T08:27:19.764Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T08:27:19.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T08:27:20.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-06T08:27:20.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T08:27:20.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T08:27:20.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-06T08:27:20.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T08:27:20.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T08:27:20.775Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-06T08:27:20.901Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:27:21.066Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:27:21.198Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:27:21.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T08:27:21.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T08:27:21.596Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-06T08:27:21.711Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-06T08:27:21.837Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T08:27:21.955Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T08:27:22.071Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-06T08:27:22.191Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T08:27:22.343Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-863 [Pipeline] echo [2021-04-06T08:27:22.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-863 [Pipeline] echo [2021-04-06T08:27:22.592Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-863 [Pipeline] echo [2021-04-06T08:27:22.709Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d80251066bf1fa40f6706b3e0628535ff0cfc73 [Pipeline] echo [2021-04-06T08:27:22.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d80251 [Pipeline] echo [2021-04-06T08:27:22.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:27:23.251Z] provisioning config files... [2021-04-06T08:27:23.279Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp/config2648571739900429921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:27:23.763Z] ---> docker-login.sh [2021-04-06T08:27:23.764Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:27:24.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:27:24.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:27:24.026Z] Configure a credential helper to remove this warning. See [2021-04-06T08:27:24.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:27:24.026Z] [2021-04-06T08:27:24.026Z] Login Succeeded [2021-04-06T08:27:24.026Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:27:24.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:27:24.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:27:24.334Z] Configure a credential helper to remove this warning. See [2021-04-06T08:27:24.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:27:24.334Z] [2021-04-06T08:27:24.334Z] Login Succeeded [2021-04-06T08:27:24.334Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:27:24.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:27:24.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:27:24.600Z] Configure a credential helper to remove this warning. See [2021-04-06T08:27:24.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:27:24.600Z] [2021-04-06T08:27:24.600Z] Login Succeeded [2021-04-06T08:27:24.600Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:27:24.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:27:24.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:27:24.600Z] Configure a credential helper to remove this warning. See [2021-04-06T08:27:24.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:27:24.600Z] [2021-04-06T08:27:24.600Z] Login Succeeded [2021-04-06T08:27:24.600Z] docker.io [2021-04-06T08:27:24.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:27:25.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:27:25.125Z] Configure a credential helper to remove this warning. See [2021-04-06T08:27:25.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:27:25.125Z] [2021-04-06T08:27:25.125Z] Login Succeeded [2021-04-06T08:27:25.125Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:27:25.149Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:27:26.210Z] + git log --format=format:%s -1 2d80251066bf1fa40f6706b3e0628535ff0cfc73 [Pipeline] echo [2021-04-06T08:27:26.307Z] GIT_COMMIT: 2d80251066bf1fa40f6706b3e0628535ff0cfc73, Commit Message: fix: add Content-Type in context for MessageEnvelope [Pipeline] echo [2021-04-06T08:27:26.384Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:27:27.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:27:27.816Z] [2021-04-06T08:27:27.816Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:27:28.209Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:27:28.209Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T08:27:28.210Z] 31603596830f: Pulling fs layer [2021-04-06T08:27:28.210Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T08:27:28.210Z] 6ca5941a6612: Pulling fs layer [2021-04-06T08:27:28.210Z] ecc8261a40a4: Pulling fs layer [2021-04-06T08:27:28.210Z] ecc8261a40a4: Waiting [2021-04-06T08:27:28.210Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T08:27:28.210Z] 2a8b12db71e7: Download complete [2021-04-06T08:27:28.210Z] 31603596830f: Verifying Checksum [2021-04-06T08:27:28.210Z] 31603596830f: Download complete [2021-04-06T08:27:28.475Z] ecc8261a40a4: Verifying Checksum [2021-04-06T08:27:28.475Z] ecc8261a40a4: Download complete [2021-04-06T08:27:28.475Z] 6ca5941a6612: Verifying Checksum [2021-04-06T08:27:28.475Z] 6ca5941a6612: Download complete [2021-04-06T08:27:28.736Z] 31603596830f: Pull complete [2021-04-06T08:27:28.737Z] 2a8b12db71e7: Pull complete [2021-04-06T08:27:29.688Z] 6ca5941a6612: Pull complete [2021-04-06T08:27:29.951Z] ecc8261a40a4: Pull complete [2021-04-06T08:27:29.951Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T08:27:29.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:27:29.951Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T08:27:30.078Z] prd-centos7-docker-4c-2g-32936 does not seem to be running inside a container [2021-04-06T08:27:30.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-863 -v /w/workspace/dgexfoundry_device-sdk-go_PR-863:/w/workspace/dgexfoundry_device-sdk-go_PR-863:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T08:27:32.728Z] $ docker top 0da33bab9c46b1115d91c381150d16069f2235c576b2daa65385978198941833 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T08:27:33.108Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T08:27:33.108Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T08:27:33.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T08:27:33.326Z] $ docker exec 0da33bab9c46b1115d91c381150d16069f2235c576b2daa65385978198941833 ssh-agent [2021-04-06T08:27:33.490Z] SSH_AUTH_SOCK=/tmp/ssh-7YopICyxU7rc/agent.12 [2021-04-06T08:27:33.490Z] SSH_AGENT_PID=17 [2021-04-06T08:27:33.504Z] Running ssh-add (command line suppressed) [2021-04-06T08:27:33.627Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp/private_key_5467870334632547829.key (/w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp/private_key_5467870334632547829.key) [2021-04-06T08:27:33.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T08:27:34.058Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T08:27:34.093Z] $ docker exec --env ******** --env ******** 0da33bab9c46b1115d91c381150d16069f2235c576b2daa65385978198941833 ssh-agent -k [2021-04-06T08:27:34.223Z] unset SSH_AUTH_SOCK; [2021-04-06T08:27:34.223Z] unset SSH_AGENT_PID; [2021-04-06T08:27:34.223Z] echo Agent pid 17 killed; [2021-04-06T08:27:34.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T08:27:34.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T08:27:34.470Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T08:27:34.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T08:27:34.651Z] $ docker exec 0da33bab9c46b1115d91c381150d16069f2235c576b2daa65385978198941833 ssh-agent [2021-04-06T08:27:34.810Z] SSH_AUTH_SOCK=/tmp/ssh-zh9YREmH9jPg/agent.47 [2021-04-06T08:27:34.810Z] SSH_AGENT_PID=53 [2021-04-06T08:27:34.817Z] Running ssh-add (command line suppressed) [2021-04-06T08:27:34.943Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp/private_key_3352461528886093683.key (/w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp/private_key_3352461528886093683.key) [2021-04-06T08:27:34.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T08:27:35.380Z] + git semver init [2021-04-06T08:27:35.380Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T08:27:35.380Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-863/.git [2021-04-06T08:27:35.380Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-863 [2021-04-06T08:27:35.380Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T08:27:35.380Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T08:27:35.380Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T08:27:35.380Z] # $SEMVER_BRANCH = PR-863 [2021-04-06T08:27:35.380Z] # $SEMVER_TEMP = /tmp/semver-618535949 [2021-04-06T08:27:35.380Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-06T08:27:36.335Z] # '/tmp/semver-618535949' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-863/.semver' [2021-04-06T08:27:36.335Z] # -> Force: false [2021-04-06T08:27:36.335Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-863/.semver [Pipeline] } [2021-04-06T08:27:36.357Z] $ docker exec --env ******** --env ******** 0da33bab9c46b1115d91c381150d16069f2235c576b2daa65385978198941833 ssh-agent -k [2021-04-06T08:27:36.471Z] unset SSH_AUTH_SOCK; [2021-04-06T08:27:36.472Z] unset SSH_AGENT_PID; [2021-04-06T08:27:36.472Z] echo Agent pid 53 killed; [2021-04-06T08:27:36.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T08:27:37.165Z] + git semver [Pipeline] } [2021-04-06T08:27:37.199Z] $ docker stop --time=1 0da33bab9c46b1115d91c381150d16069f2235c576b2daa65385978198941833 [2021-04-06T08:27:38.799Z] $ docker rm -f 0da33bab9c46b1115d91c381150d16069f2235c576b2daa65385978198941833 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:27:39.327Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T08:27:39.762Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T08:27:39.788Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-06T08:27:55.684Z] Still waiting to schedule task [2021-04-06T08:27:55.684Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-06T08:27:55.717Z] Still waiting to schedule task [2021-04-06T08:27:55.717Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-06T08:30:26.891Z] Running on prd-centos7-docker-4c-2g-32937 in /w/workspace/dgexfoundry_device-sdk-go_PR-863 [Pipeline] { [Pipeline] ws [2021-04-06T08:30:27.033Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-06T08:30:29.881Z] using credential edgex-jenkins-ssh [2021-04-06T08:30:29.939Z] Cloning the remote Git repository [2021-04-06T08:30:29.612Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:30:29.687Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-06T08:30:29.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:30:29.749Z] > git --version # timeout=10 [2021-04-06T08:30:29.757Z] > git --version # 'git version 2.24.3' [2021-04-06T08:30:29.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:30:29.844Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:30:30.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:30:30.699Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:30:30.712Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:30:30.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:30:30.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:30:30.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/863/head:refs/remotes/origin/PR-863 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T08:30:31.518Z] Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 2d80251066bf1fa40f6706b3e0628535ff0cfc73 [2021-04-06T08:30:31.608Z] Merge succeeded, producing 2d80251066bf1fa40f6706b3e0628535ff0cfc73 [2021-04-06T08:30:31.609Z] Checking out Revision 2d80251066bf1fa40f6706b3e0628535ff0cfc73 (PR-863) [2021-04-06T08:30:31.301Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:30:31.308Z] > git checkout -f 2d80251066bf1fa40f6706b3e0628535ff0cfc73 # timeout=10 [2021-04-06T08:30:31.360Z] > git remote # timeout=10 [2021-04-06T08:30:31.365Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T08:30:31.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:30:31.374Z] > git merge 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 [2021-04-06T08:30:31.384Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T08:30:31.394Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:30:31.402Z] > git checkout -f 2d80251066bf1fa40f6706b3e0628535ff0cfc73 # timeout=10 [2021-04-06T08:30:35.024Z] Commit message: "fix: add Content-Type in context for MessageEnvelope" [2021-04-06T08:30:35.051Z] > git --version # timeout=10 [2021-04-06T08:30:35.056Z] > git --version # 'git version 2.24.3' [2021-04-06T08:30:35.061Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:30:36.547Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:30:36.891Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:30:37.217Z] + sudo service docker restart [2021-04-06T08:30:37.217Z] + true [2021-04-06T08:30:37.217Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:30:38.292Z] provisioning config files... [2021-04-06T08:30:38.319Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4224791459490083894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:30:38.749Z] ---> docker-login.sh [2021-04-06T08:30:38.749Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:30:39.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:30:39.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:30:39.282Z] Configure a credential helper to remove this warning. See [2021-04-06T08:30:39.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:30:39.282Z] [2021-04-06T08:30:39.282Z] Login Succeeded [2021-04-06T08:30:39.282Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:30:39.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:30:39.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:30:39.282Z] Configure a credential helper to remove this warning. See [2021-04-06T08:30:39.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:30:39.282Z] [2021-04-06T08:30:39.282Z] Login Succeeded [2021-04-06T08:30:39.282Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:30:39.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:30:39.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:30:39.543Z] Configure a credential helper to remove this warning. See [2021-04-06T08:30:39.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:30:39.543Z] [2021-04-06T08:30:39.543Z] Login Succeeded [2021-04-06T08:30:39.543Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:30:39.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:30:39.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:30:39.807Z] Configure a credential helper to remove this warning. See [2021-04-06T08:30:39.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:30:39.807Z] [2021-04-06T08:30:39.807Z] Login Succeeded [2021-04-06T08:30:39.807Z] docker.io [2021-04-06T08:30:39.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:30:40.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:30:40.070Z] Configure a credential helper to remove this warning. See [2021-04-06T08:30:40.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:30:40.070Z] [2021-04-06T08:30:40.070Z] Login Succeeded [2021-04-06T08:30:40.070Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:30:40.094Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T08:30:40.594Z] ========================================================= [2021-04-06T08:30:40.594Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T08:30:40.594Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:30:41.013Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-06T08:30:41.014Z] Sending build context to Docker daemon 2.373MB [2021-04-06T08:30:41.014Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:30:41.014Z] Step 2/8 : FROM ${BASE} [2021-04-06T08:30:41.281Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T08:30:41.281Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T08:30:41.281Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T08:30:41.281Z] de9db76c5a1d: Pulling fs layer [2021-04-06T08:30:41.281Z] bca2f99d35d6: Pulling fs layer [2021-04-06T08:30:41.281Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T08:30:41.281Z] 7c6f9722023f: Pulling fs layer [2021-04-06T08:30:41.281Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T08:30:41.281Z] 93359f2a8cfa: Waiting [2021-04-06T08:30:41.281Z] 7c6f9722023f: Waiting [2021-04-06T08:30:41.281Z] a35cf1a2eb13: Waiting [2021-04-06T08:30:41.281Z] bca2f99d35d6: Waiting [2021-04-06T08:30:41.281Z] de9db76c5a1d: Verifying Checksum [2021-04-06T08:30:41.281Z] de9db76c5a1d: Download complete [2021-04-06T08:30:41.281Z] 0ef7d3d256c8: Verifying Checksum [2021-04-06T08:30:41.281Z] 0ef7d3d256c8: Download complete [2021-04-06T08:30:41.281Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T08:30:41.281Z] 93359f2a8cfa: Download complete [2021-04-06T08:30:41.281Z] 7c6f9722023f: Verifying Checksum [2021-04-06T08:30:41.281Z] 7c6f9722023f: Download complete [2021-04-06T08:30:41.281Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T08:30:41.281Z] 188c0c94c7c5: Download complete [2021-04-06T08:30:41.543Z] 188c0c94c7c5: Pull complete [2021-04-06T08:30:41.806Z] 0ef7d3d256c8: Pull complete [2021-04-06T08:30:41.806Z] de9db76c5a1d: Pull complete [2021-04-06T08:30:43.741Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T08:30:43.741Z] a35cf1a2eb13: Download complete [2021-04-06T08:30:44.017Z] bca2f99d35d6: Verifying Checksum [2021-04-06T08:30:44.017Z] bca2f99d35d6: Download complete [2021-04-06T08:30:50.656Z] bca2f99d35d6: Pull complete [2021-04-06T08:30:50.656Z] 93359f2a8cfa: Pull complete [2021-04-06T08:30:50.656Z] 7c6f9722023f: Pull complete [2021-04-06T08:30:55.969Z] a35cf1a2eb13: Pull complete [2021-04-06T08:30:55.969Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T08:30:55.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T08:30:55.969Z] ---> a62c8e92a672 [2021-04-06T08:30:55.969Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:30:55.969Z] ---> Running in 855ee0a27837 [2021-04-06T08:30:55.969Z] Removing intermediate container 855ee0a27837 [2021-04-06T08:30:55.969Z] ---> 5c8a7c748a30 [2021-04-06T08:30:55.969Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:30:55.969Z] ---> Running in 35af2e614ae0 [2021-04-06T08:30:57.375Z] Removing intermediate container 35af2e614ae0 [2021-04-06T08:30:57.375Z] ---> 389692b0e57a [2021-04-06T08:30:57.375Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T08:30:57.375Z] ---> Running in 2ecc08867894 [2021-04-06T08:30:58.327Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:30:58.904Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:30:59.859Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T08:30:59.859Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T08:30:59.859Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T08:31:00.121Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T08:31:00.121Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T08:31:00.387Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T08:31:00.387Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T08:31:00.387Z] OK: 167 MiB in 45 packages [2021-04-06T08:31:01.340Z] Removing intermediate container 2ecc08867894 [2021-04-06T08:31:01.340Z] ---> 3ff069a4f94d [2021-04-06T08:31:01.340Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T08:31:01.340Z] ---> Running in 8d3a5feb3930 [2021-04-06T08:31:01.603Z] Removing intermediate container 8d3a5feb3930 [2021-04-06T08:31:01.603Z] ---> c1c8cc6b5719 [2021-04-06T08:31:01.603Z] Step 7/8 : COPY . . [2021-04-06T08:31:02.551Z] ---> cb5a15d7ed79 [2021-04-06T08:31:02.551Z] Step 8/8 : RUN go mod download [2021-04-06T08:31:02.815Z] ---> Running in e8df54b0a45e [2021-04-06T08:31:24.832Z] Removing intermediate container e8df54b0a45e [2021-04-06T08:31:24.832Z] ---> cbc48f8c8083 [2021-04-06T08:31:24.833Z] Successfully built cbc48f8c8083 [2021-04-06T08:31:24.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:31:25.180Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T08:31:25.180Z] . [Pipeline] withDockerContainer [2021-04-06T08:31:25.314Z] prd-centos7-docker-4c-2g-32937 does not seem to be running inside a container [2021-04-06T08:31:25.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T08:31:26.165Z] $ docker top 42b99ead986f0a358ddf7312c9a5e3c1c533b13716afde982d2a6e179300a754 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:31:26.745Z] + go version [2021-04-06T08:31:26.745Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T08:31:26.775Z] $ docker stop --time=1 42b99ead986f0a358ddf7312c9a5e3c1c533b13716afde982d2a6e179300a754 [2021-04-06T08:31:28.111Z] $ docker rm -f 42b99ead986f0a358ddf7312c9a5e3c1c533b13716afde982d2a6e179300a754 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:31:29.224Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T08:31:29.224Z] . [Pipeline] withDockerContainer [2021-04-06T08:31:29.364Z] prd-centos7-docker-4c-2g-32937 does not seem to be running inside a container [2021-04-06T08:31:29.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-06T08:31:29.969Z] $ docker top 6525f18ac2f8af694da5772604a777788920e29d3ca07f205af02c713a201316 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:31:30.507Z] + make test [2021-04-06T08:31:30.507Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T08:31:32.426Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32938 in /w/workspace/dgexfoundry_device-sdk-go_PR-863 [Pipeline] { [Pipeline] ws [2021-04-06T08:31:32.516Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-06T08:31:37.145Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T08:31:38.271Z] using credential edgex-jenkins-ssh [2021-04-06T08:31:38.331Z] Cloning the remote Git repository [2021-04-06T08:31:38.408Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:31:38.525Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-06T08:31:38.606Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:31:38.607Z] > git --version # timeout=10 [2021-04-06T08:31:38.632Z] > git --version # 'git version 2.17.1' [2021-04-06T08:31:38.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:31:38.705Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:31:39.980Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:31:40.005Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:31:40.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:31:40.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:31:40.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:31:40.096Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/863/head:refs/remotes/origin/PR-863 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T08:31:40.719Z] Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 2d80251066bf1fa40f6706b3e0628535ff0cfc73 [2021-04-06T08:31:41.012Z] Merge succeeded, producing 2d80251066bf1fa40f6706b3e0628535ff0cfc73 [2021-04-06T08:31:41.013Z] Checking out Revision 2d80251066bf1fa40f6706b3e0628535ff0cfc73 (PR-863) [2021-04-06T08:31:40.743Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:31:40.764Z] > git checkout -f 2d80251066bf1fa40f6706b3e0628535ff0cfc73 # timeout=10 [2021-04-06T08:31:40.873Z] > git remote # timeout=10 [2021-04-06T08:31:40.895Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T08:31:40.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:31:40.924Z] > git merge 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 [2021-04-06T08:31:40.988Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T08:31:41.023Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:31:41.045Z] > git checkout -f 2d80251066bf1fa40f6706b3e0628535ff0cfc73 # timeout=10 [2021-04-06T08:31:45.453Z] Commit message: "fix: add Content-Type in context for MessageEnvelope" [2021-04-06T08:31:45.515Z] > git --version # timeout=10 [2021-04-06T08:31:45.528Z] > git --version # 'git version 2.17.1' [2021-04-06T08:31:45.542Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:31:47.166Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:31:47.643Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:31:48.034Z] + true [2021-04-06T08:31:48.034Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:31:50.831Z] provisioning config files... [2021-04-06T08:31:50.870Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config845802824081420307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:31:51.356Z] ---> docker-login.sh [2021-04-06T08:31:51.356Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:31:52.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:31:52.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:31:52.616Z] Configure a credential helper to remove this warning. See [2021-04-06T08:31:52.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:31:52.616Z] [2021-04-06T08:31:52.616Z] Login Succeeded [2021-04-06T08:31:52.616Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:31:52.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:31:53.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:31:53.167Z] Configure a credential helper to remove this warning. See [2021-04-06T08:31:53.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:31:53.167Z] [2021-04-06T08:31:53.167Z] Login Succeeded [2021-04-06T08:31:53.167Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:31:53.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:31:53.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:31:53.730Z] Configure a credential helper to remove this warning. See [2021-04-06T08:31:53.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:31:53.730Z] [2021-04-06T08:31:53.730Z] Login Succeeded [2021-04-06T08:31:53.730Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:31:54.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:31:54.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:31:54.006Z] Configure a credential helper to remove this warning. See [2021-04-06T08:31:54.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:31:54.006Z] [2021-04-06T08:31:54.006Z] Login Succeeded [2021-04-06T08:31:54.006Z] docker.io [2021-04-06T08:31:54.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:31:54.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:31:54.874Z] Configure a credential helper to remove this warning. See [2021-04-06T08:31:54.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:31:54.874Z] [2021-04-06T08:31:54.874Z] Login Succeeded [2021-04-06T08:31:54.874Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:31:54.903Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T08:31:55.543Z] ========================================================= [2021-04-06T08:31:55.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T08:31:55.543Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:31:56.017Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-06T08:31:56.294Z] Sending build context to Docker daemon 2.374MB [2021-04-06T08:31:56.294Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:31:56.294Z] Step 2/8 : FROM ${BASE} [2021-04-06T08:31:56.573Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T08:31:56.573Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T08:31:56.573Z] a4357932f1b6: Pulling fs layer [2021-04-06T08:31:56.573Z] 18c013af1878: Pulling fs layer [2021-04-06T08:31:56.573Z] 00ac8860ef70: Pulling fs layer [2021-04-06T08:31:56.573Z] 63d7cb157983: Pulling fs layer [2021-04-06T08:31:56.573Z] b116817d02f9: Pulling fs layer [2021-04-06T08:31:56.573Z] 745a02a5169b: Pulling fs layer [2021-04-06T08:31:56.573Z] 00ac8860ef70: Waiting [2021-04-06T08:31:56.573Z] 63d7cb157983: Waiting [2021-04-06T08:31:56.573Z] b116817d02f9: Waiting [2021-04-06T08:31:56.573Z] 745a02a5169b: Waiting [2021-04-06T08:31:56.573Z] 18c013af1878: Download complete [2021-04-06T08:31:56.573Z] a4357932f1b6: Verifying Checksum [2021-04-06T08:31:56.573Z] a4357932f1b6: Download complete [2021-04-06T08:31:56.573Z] 63d7cb157983: Verifying Checksum [2021-04-06T08:31:56.573Z] 63d7cb157983: Download complete [2021-04-06T08:31:56.847Z] b116817d02f9: Verifying Checksum [2021-04-06T08:31:56.847Z] b116817d02f9: Download complete [2021-04-06T08:31:57.457Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T08:31:57.457Z] 5f621e34cdf4: Download complete [2021-04-06T08:31:58.058Z] 5f621e34cdf4: Pull complete [2021-04-06T08:31:58.659Z] a4357932f1b6: Pull complete [2021-04-06T08:31:58.932Z] 18c013af1878: Pull complete [2021-04-06T08:31:59.206Z] 745a02a5169b: Verifying Checksum [2021-04-06T08:31:59.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T08:31:59.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T08:31:59.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T08:31:59.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T08:31:59.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T08:32:00.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 28.1% of statements [2021-04-06T08:32:00.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 81.2% of statements [2021-04-06T08:32:00.642Z] 00ac8860ef70: Download complete [2021-04-06T08:32:01.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.078s coverage: 7.8% of statements [2021-04-06T08:32:01.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T08:32:01.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T08:32:01.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T08:32:01.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 32.5% of statements [2021-04-06T08:32:01.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T08:32:01.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T08:32:01.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T08:32:01.794Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.3% of statements [2021-04-06T08:32:02.376Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.312s coverage: 6.6% of statements [2021-04-06T08:32:02.376Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 5.0% of statements [2021-04-06T08:32:02.376Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T08:32:02.640Z] GO111MODULE=on go vet ./... [2021-04-06T08:32:13.051Z] 00ac8860ef70: Pull complete [2021-04-06T08:32:13.051Z] 63d7cb157983: Pull complete [2021-04-06T08:32:13.051Z] b116817d02f9: Pull complete [2021-04-06T08:32:15.035Z] 745a02a5169b: Pull complete [2021-04-06T08:32:15.035Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T08:32:15.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T08:32:15.035Z] ---> b7e6874047d6 [2021-04-06T08:32:15.035Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:32:17.665Z] gofmt -l . [2021-04-06T08:32:17.665Z] [ "`gofmt -l .`" = "" ] [2021-04-06T08:32:17.665Z] ./bin/test-attribution-txt.sh [2021-04-06T08:32:18.246Z] ./bin/test-go-mod-tidy.sh [2021-04-06T08:32:18.430Z] ---> Running in 3fc6c2a4901e [Pipeline] } [2021-04-06T08:32:18.553Z] $ docker stop --time=1 6525f18ac2f8af694da5772604a777788920e29d3ca07f205af02c713a201316 [2021-04-06T08:32:19.037Z] Removing intermediate container 3fc6c2a4901e [2021-04-06T08:32:19.037Z] ---> ace769b119b4 [2021-04-06T08:32:19.037Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:32:19.037Z] ---> Running in f51aa3508df3 [2021-04-06T08:32:20.319Z] $ docker rm -f 6525f18ac2f8af694da5772604a777788920e29d3ca07f205af02c713a201316 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:32:21.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T08:32:21.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2021-04-06T08:32:21.673Z] Removing intermediate container f51aa3508df3 [2021-04-06T08:32:21.673Z] ---> beaae85df18e [2021-04-06T08:32:21.673Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T08:32:21.673Z] ---> Running in a43ac408a2ac [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-06T08:32:22.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] sh [2021-04-06T08:32:23.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T08:32:23.340Z] + ls -al . [2021-04-06T08:32:23.340Z] total 188 [2021-04-06T08:32:23.340Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 08:32 . [2021-04-06T08:32:23.340Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 08:30 .. [2021-04-06T08:32:23.340Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 08:30 bin [2021-04-06T08:32:23.340Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 6 08:32 coverage.out [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 08:30 Dockerfile.build [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 08:30 .dockerignore [2021-04-06T08:32:23.340Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 08:30 example [2021-04-06T08:32:23.340Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 08:30 .git [2021-04-06T08:32:23.340Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 08:30 .github [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 08:30 .gitignore [2021-04-06T08:32:23.340Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 6 08:32 go.mod [2021-04-06T08:32:23.340Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 08:32 go.sum [2021-04-06T08:32:23.340Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 08:30 internal [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 08:30 Jenkinsfile [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 08:30 LICENSE [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 08:30 Makefile [2021-04-06T08:32:23.340Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 08:30 openapi [2021-04-06T08:32:23.340Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 08:30 pkg [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 08:30 README.md [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 08:30 RELEASE-NOTES.txt [2021-04-06T08:32:23.340Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 08:30 snap [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 08:27 VERSION [2021-04-06T08:32:23.340Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 08:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:32:23.637Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:32:23.700Z] + 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=2d80251066bf1fa40f6706b3e0628535ff0cfc73 --label arch=amd64 --label version=0.0.0 . [2021-04-06T08:32:23.963Z] Sending build context to Docker daemon 2.474MB [2021-04-06T08:32:23.963Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:32:23.963Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T08:32:23.963Z] ---> cbc48f8c8083 [2021-04-06T08:32:23.963Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T08:32:24.539Z] ---> Running in ee0799ac476c [2021-04-06T08:32:24.539Z] Removing intermediate container ee0799ac476c [2021-04-06T08:32:24.539Z] ---> 392c79e4fb4b [2021-04-06T08:32:24.539Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:32:24.539Z] ---> Running in 48c9243ca888 [2021-04-06T08:32:24.618Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T08:32:24.618Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T08:32:24.618Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T08:32:24.802Z] Removing intermediate container 48c9243ca888 [2021-04-06T08:32:24.802Z] ---> ab75465b51ac [2021-04-06T08:32:24.802Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:32:24.802Z] ---> Running in 64dd213ac917 [2021-04-06T08:32:24.892Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T08:32:24.892Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T08:32:25.165Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T08:32:25.165Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T08:32:25.165Z] OK: 144 MiB in 45 packages [2021-04-06T08:32:25.753Z] Removing intermediate container 64dd213ac917 [2021-04-06T08:32:25.753Z] ---> fcd5b4156650 [2021-04-06T08:32:25.753Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T08:32:25.753Z] ---> Running in 6cf0df15f261 [2021-04-06T08:32:26.329Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:32:26.602Z] Removing intermediate container a43ac408a2ac [2021-04-06T08:32:26.602Z] ---> ca8f20451763 [2021-04-06T08:32:26.602Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T08:32:26.602Z] ---> Running in e68cb989a805 [2021-04-06T08:32:26.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:32:27.198Z] Removing intermediate container e68cb989a805 [2021-04-06T08:32:27.198Z] ---> ecbb7a9fafd9 [2021-04-06T08:32:27.198Z] Step 7/8 : COPY . . [2021-04-06T08:32:27.479Z] OK: 167 MiB in 45 packages [2021-04-06T08:32:28.060Z] Removing intermediate container 6cf0df15f261 [2021-04-06T08:32:28.060Z] ---> 73996e620bb2 [2021-04-06T08:32:28.060Z] Step 7/23 : COPY . . [2021-04-06T08:32:28.648Z] ---> 33e9ffa6fd58 [2021-04-06T08:32:28.648Z] Step 8/8 : RUN go mod download [2021-04-06T08:32:28.648Z] ---> Running in 6a0cfee5e03f [2021-04-06T08:32:29.008Z] ---> 34ab0373d5fd [2021-04-06T08:32:29.008Z] Step 8/23 : RUN go mod download [2021-04-06T08:32:29.008Z] ---> Running in 4a9b5f010818 [2021-04-06T08:32:30.406Z] Removing intermediate container 4a9b5f010818 [2021-04-06T08:32:30.406Z] ---> 95d606a2d4b5 [2021-04-06T08:32:30.406Z] Step 9/23 : RUN make build [2021-04-06T08:32:30.406Z] ---> Running in 314ac1730c5f [2021-04-06T08:32:30.670Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-06T08:32:43.032Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T08:32:43.032Z] Removing intermediate container 314ac1730c5f [2021-04-06T08:32:43.032Z] ---> 2f16caeb538a [2021-04-06T08:32:43.032Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T08:32:43.608Z] 3.12: Pulling from library/alpine [2021-04-06T08:32:43.608Z] 532819f3e44c: Pulling fs layer [2021-04-06T08:32:43.608Z] 532819f3e44c: Verifying Checksum [2021-04-06T08:32:43.608Z] 532819f3e44c: Download complete [2021-04-06T08:32:43.873Z] 532819f3e44c: Pull complete [2021-04-06T08:32:43.873Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T08:32:43.873Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T08:32:43.873Z] ---> 7230e588e954 [2021-04-06T08:32:43.874Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:32:44.138Z] ---> Running in daae05bda1e7 [2021-04-06T08:32:44.138Z] Removing intermediate container daae05bda1e7 [2021-04-06T08:32:44.138Z] ---> a3343ebde93a [2021-04-06T08:32:44.138Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:32:44.401Z] ---> Running in 138e6b3bb615 [2021-04-06T08:32:45.358Z] Removing intermediate container 138e6b3bb615 [2021-04-06T08:32:45.358Z] ---> 489065dede1b [2021-04-06T08:32:45.358Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T08:32:45.358Z] ---> Running in f96fd68dc8cd [2021-04-06T08:32:45.936Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:32:46.887Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:32:47.834Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T08:32:47.834Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T08:32:47.834Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T08:32:48.096Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T08:32:48.358Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T08:32:48.358Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T08:32:48.620Z] OK: 8 MiB in 19 packages [2021-04-06T08:32:49.567Z] Removing intermediate container f96fd68dc8cd [2021-04-06T08:32:49.567Z] ---> e196127fb166 [2021-04-06T08:32:49.567Z] Step 14/23 : WORKDIR / [2021-04-06T08:32:49.567Z] ---> Running in 0021f1d11cc1 [2021-04-06T08:32:49.830Z] Removing intermediate container 0021f1d11cc1 [2021-04-06T08:32:49.830Z] ---> f27407d6d1ef [2021-04-06T08:32:49.830Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T08:32:50.093Z] ---> 681357641eb8 [2021-04-06T08:32:50.093Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T08:32:50.671Z] ---> f4eb0d6263a8 [2021-04-06T08:32:50.671Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T08:32:50.935Z] ---> 7f26cb1998d7 [2021-04-06T08:32:50.935Z] Step 18/23 : EXPOSE 49990 [2021-04-06T08:32:50.935Z] ---> Running in e35564026f7c [2021-04-06T08:32:51.198Z] Removing intermediate container e35564026f7c [2021-04-06T08:32:51.198Z] ---> d50dda04876f [2021-04-06T08:32:51.198Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T08:32:51.198Z] ---> Running in db9bab354864 [2021-04-06T08:32:51.462Z] Removing intermediate container db9bab354864 [2021-04-06T08:32:51.462Z] ---> 43d7e19ae88b [2021-04-06T08:32:51.462Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T08:32:51.462Z] ---> Running in 8c323b9deb1d [2021-04-06T08:32:51.462Z] Removing intermediate container 8c323b9deb1d [2021-04-06T08:32:51.462Z] ---> 28dccba88972 [2021-04-06T08:32:51.462Z] Step 21/23 : LABEL arch=amd64 [2021-04-06T08:32:51.724Z] ---> Running in ef3496761e79 [2021-04-06T08:32:51.725Z] Removing intermediate container ef3496761e79 [2021-04-06T08:32:51.725Z] ---> 6073e39c1a37 [2021-04-06T08:32:51.725Z] Step 22/23 : LABEL git_sha=2d80251066bf1fa40f6706b3e0628535ff0cfc73 [2021-04-06T08:32:51.985Z] ---> Running in 8d53d4006dda [2021-04-06T08:32:51.986Z] Removing intermediate container 8d53d4006dda [2021-04-06T08:32:51.986Z] ---> cc7cf025dfd4 [2021-04-06T08:32:51.986Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T08:32:51.986Z] ---> Running in ad9da452f550 [2021-04-06T08:32:52.561Z] Removing intermediate container ad9da452f550 [2021-04-06T08:32:52.561Z] ---> c25d6ad0551b [2021-04-06T08:32:52.561Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-06T08:32:52.561Z] Successfully built c25d6ad0551b [2021-04-06T08:32:52.561Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:32:53.942Z] ---> job-cost.sh [2021-04-06T08:32:53.942Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kPMM [2021-04-06T08:32:55.470Z] Removing intermediate container 6a0cfee5e03f [2021-04-06T08:32:55.470Z] ---> 8aefefcce399 [2021-04-06T08:32:55.470Z] Successfully built 8aefefcce399 [2021-04-06T08:32:55.470Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:32:55.851Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T08:32:55.851Z] . [Pipeline] withDockerContainer [2021-04-06T08:32:56.181Z] prd-ubuntu18.04-docker-arm64-4c-16g-32938 does not seem to be running inside a container [2021-04-06T08:32:56.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T08:32:57.849Z] $ docker top 3e37702d42b051792350a3ff58376fc83faebac7d864261fc98b06b11f8feada -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:32:58.917Z] + go version [2021-04-06T08:32:58.917Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T08:32:58.956Z] $ docker stop --time=1 3e37702d42b051792350a3ff58376fc83faebac7d864261fc98b06b11f8feada [2021-04-06T08:33:00.909Z] $ docker rm -f 3e37702d42b051792350a3ff58376fc83faebac7d864261fc98b06b11f8feada [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:33:02.188Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T08:33:02.189Z] . [Pipeline] withDockerContainer [2021-04-06T08:33:02.458Z] prd-ubuntu18.04-docker-arm64-4c-16g-32938 does not seem to be running inside a container [2021-04-06T08:33:02.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-06T08:33:04.057Z] $ docker top ebb47b7b96fd39bdb6799849e213c1e5553cdc619c6218db995ab63f3dab38fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:33:05.151Z] + make test [2021-04-06T08:33:05.151Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T08:33:08.870Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T08:33:31.994Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T08:33:35.862Z] lf-activate-venv(): INFO: Adding /tmp/venv-kPMM/bin to PATH [2021-04-06T08:33:35.862Z] INFO: No Stack... [2021-04-06T08:33:35.862Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T08:33:36.819Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T08:33:37.150Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-06T08:33:37.150Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T08:33:37.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-863-1-stack-cost] [2021-04-06T08:33:37.260Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-863-1-stack-cost] did not exist. Created. [2021-04-06T08:33:37.260Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-863-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T08:33:37.757Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T08:33:37.897Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T08:33:37.916Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-863-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-06T08:34:28.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T08:34:28.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T08:34:28.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T08:34:28.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T08:34:28.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T08:34:38.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.185s coverage: 28.1% of statements [2021-04-06T08:34:39.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.188s coverage: 81.2% of statements [2021-04-06T08:34:39.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.169s coverage: 7.8% of statements [2021-04-06T08:34:39.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T08:34:39.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T08:34:39.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T08:34:40.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.274s coverage: 32.5% of statements [2021-04-06T08:34:40.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T08:34:40.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T08:34:40.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T08:34:44.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.291s coverage: 57.3% of statements [2021-04-06T08:34:44.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.111s coverage: 6.6% of statements [2021-04-06T08:34:44.694Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.159s coverage: 5.0% of statements [2021-04-06T08:34:44.694Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T08:34:45.292Z] GO111MODULE=on go vet ./... [2021-04-06T08:35:32.325Z] gofmt -l . [2021-04-06T08:35:32.325Z] [ "`gofmt -l .`" = "" ] [2021-04-06T08:35:32.325Z] ./bin/test-attribution-txt.sh [2021-04-06T08:35:33.305Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T08:35:33.943Z] $ docker stop --time=1 ebb47b7b96fd39bdb6799849e213c1e5553cdc619c6218db995ab63f3dab38fb [2021-04-06T08:35:36.377Z] $ docker rm -f ebb47b7b96fd39bdb6799849e213c1e5553cdc619c6218db995ab63f3dab38fb [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:35:37.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T08:35:37.803Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T08:35:38.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:35:39.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T08:35:40.240Z] + ls -al . [2021-04-06T08:35:40.240Z] total 224 [2021-04-06T08:35:40.240Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:35 . [2021-04-06T08:35:40.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:31 .. [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 08:31 .dockerignore [2021-04-06T08:35:40.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:31 .git [2021-04-06T08:35:40.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:31 .github [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 08:31 .gitignore [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 08:31 Dockerfile.build [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 08:31 Jenkinsfile [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 08:31 LICENSE [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 08:31 Makefile [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 08:31 README.md [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 08:31 RELEASE-NOTES.txt [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 08:27 VERSION [2021-04-06T08:35:40.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:31 bin [2021-04-06T08:35:40.240Z] -rw-r--r-- 1 jenkins jenkins 101240 Apr 6 08:34 coverage.out [2021-04-06T08:35:40.240Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 08:31 example [2021-04-06T08:35:40.240Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 6 08:35 go.mod [2021-04-06T08:35:40.240Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 08:35 go.sum [2021-04-06T08:35:40.240Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 08:31 internal [2021-04-06T08:35:40.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:31 openapi [2021-04-06T08:35:40.240Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 08:31 pkg [2021-04-06T08:35:40.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:31 snap [2021-04-06T08:35:40.240Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 08:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:35:40.663Z] + 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=2d80251066bf1fa40f6706b3e0628535ff0cfc73 --label arch=arm64 --label version=0.0.0 . [2021-04-06T08:35:41.277Z] Sending build context to Docker daemon 2.476MB [2021-04-06T08:35:41.277Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:35:41.277Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T08:35:41.277Z] ---> 8aefefcce399 [2021-04-06T08:35:41.277Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T08:35:41.554Z] ---> Running in e808086d127b [2021-04-06T08:35:42.152Z] Removing intermediate container e808086d127b [2021-04-06T08:35:42.152Z] ---> 91b0094f8a43 [2021-04-06T08:35:42.152Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:35:42.152Z] ---> Running in d108c0da1cb0 [2021-04-06T08:35:42.758Z] Removing intermediate container d108c0da1cb0 [2021-04-06T08:35:42.758Z] ---> 5d08cdc13106 [2021-04-06T08:35:42.758Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:35:43.034Z] ---> Running in 4fd81a53df9a [2021-04-06T08:35:45.019Z] Removing intermediate container 4fd81a53df9a [2021-04-06T08:35:45.019Z] ---> 8e8bc695c777 [2021-04-06T08:35:45.019Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T08:35:45.019Z] ---> Running in 3264dad7793b [2021-04-06T08:35:46.451Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T08:35:47.046Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:35:48.023Z] OK: 144 MiB in 45 packages [2021-04-06T08:35:49.449Z] Removing intermediate container 3264dad7793b [2021-04-06T08:35:49.449Z] ---> dd8dbf0131ac [2021-04-06T08:35:49.449Z] Step 7/23 : COPY . . [2021-04-06T08:35:50.430Z] ---> 3fd66361ccc5 [2021-04-06T08:35:50.430Z] Step 8/23 : RUN go mod download [2021-04-06T08:35:50.703Z] ---> Running in 4b81b99dfa03 [2021-04-06T08:35:53.333Z] Removing intermediate container 4b81b99dfa03 [2021-04-06T08:35:53.333Z] ---> 5bd7ced116e3 [2021-04-06T08:35:53.333Z] Step 9/23 : RUN make build [2021-04-06T08:35:53.333Z] ---> Running in 60a3bfdb2ab4 [2021-04-06T08:35:54.256Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-06T08:36:33.289Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T08:36:33.289Z] Removing intermediate container 60a3bfdb2ab4 [2021-04-06T08:36:33.289Z] ---> 397a63d194b8 [2021-04-06T08:36:33.289Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T08:36:33.289Z] 3.12: Pulling from library/alpine [2021-04-06T08:36:33.289Z] 9a219e8acc52: Pulling fs layer [2021-04-06T08:36:33.289Z] 9a219e8acc52: Verifying Checksum [2021-04-06T08:36:33.289Z] 9a219e8acc52: Download complete [2021-04-06T08:36:33.289Z] 9a219e8acc52: Pull complete [2021-04-06T08:36:33.289Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T08:36:33.289Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T08:36:33.289Z] ---> d75e27dfc0a0 [2021-04-06T08:36:33.289Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:36:33.289Z] ---> Running in eb9a111cc275 [2021-04-06T08:36:33.559Z] Removing intermediate container eb9a111cc275 [2021-04-06T08:36:33.559Z] ---> 00a5caab69d9 [2021-04-06T08:36:33.559Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:36:33.832Z] ---> Running in 30705475a8fe [2021-04-06T08:36:35.809Z] Removing intermediate container 30705475a8fe [2021-04-06T08:36:35.809Z] ---> 5934d0759842 [2021-04-06T08:36:35.809Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T08:36:36.083Z] ---> Running in 61bb54f95bfe [2021-04-06T08:36:37.060Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T08:36:38.039Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:36:38.632Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T08:36:38.632Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T08:36:38.904Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T08:36:39.175Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T08:36:39.447Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T08:36:39.447Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T08:36:39.447Z] OK: 8 MiB in 19 packages [2021-04-06T08:36:40.895Z] Removing intermediate container 61bb54f95bfe [2021-04-06T08:36:40.895Z] ---> 500cc32f1f07 [2021-04-06T08:36:40.895Z] Step 14/23 : WORKDIR / [2021-04-06T08:36:40.895Z] ---> Running in 6bfd145864bf [2021-04-06T08:36:41.489Z] Removing intermediate container 6bfd145864bf [2021-04-06T08:36:41.489Z] ---> 734f2a8f0984 [2021-04-06T08:36:41.489Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T08:36:42.085Z] ---> c0ccff3c3505 [2021-04-06T08:36:42.085Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T08:36:43.520Z] ---> 55c436a26824 [2021-04-06T08:36:43.520Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T08:36:44.511Z] ---> fb6fa0be6770 [2021-04-06T08:36:44.511Z] Step 18/23 : EXPOSE 49990 [2021-04-06T08:36:44.512Z] ---> Running in 98109223d16a [2021-04-06T08:36:45.108Z] Removing intermediate container 98109223d16a [2021-04-06T08:36:45.108Z] ---> 1764805747f7 [2021-04-06T08:36:45.108Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T08:36:45.108Z] ---> Running in f103b966fd0b [2021-04-06T08:36:45.703Z] Removing intermediate container f103b966fd0b [2021-04-06T08:36:45.703Z] ---> de157b5547cf [2021-04-06T08:36:45.703Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T08:36:45.703Z] ---> Running in b8aaaff0a359 [2021-04-06T08:36:46.313Z] Removing intermediate container b8aaaff0a359 [2021-04-06T08:36:46.313Z] ---> 923dc1afc739 [2021-04-06T08:36:46.313Z] Step 21/23 : LABEL arch=arm64 [2021-04-06T08:36:46.313Z] ---> Running in f38e6ee1c1a3 [2021-04-06T08:36:46.945Z] Removing intermediate container f38e6ee1c1a3 [2021-04-06T08:36:46.945Z] ---> 05e8a224d23d [2021-04-06T08:36:46.945Z] Step 22/23 : LABEL git_sha=2d80251066bf1fa40f6706b3e0628535ff0cfc73 [2021-04-06T08:36:46.945Z] ---> Running in f5b18ca57715 [2021-04-06T08:36:47.545Z] Removing intermediate container f5b18ca57715 [2021-04-06T08:36:47.545Z] ---> 900e25d7841f [2021-04-06T08:36:47.545Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T08:36:47.819Z] ---> Running in 5b4b37e08163 [2021-04-06T08:36:48.098Z] Removing intermediate container 5b4b37e08163 [2021-04-06T08:36:48.098Z] ---> 8b4f59b7c978 [2021-04-06T08:36:48.098Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T08:36:48.098Z] Successfully built 8b4f59b7c978 [2021-04-06T08:36:48.098Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:36:49.357Z] ---> job-cost.sh [2021-04-06T08:36:49.358Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FSeX [2021-04-06T08:37:45.872Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T08:39:37.668Z] lf-activate-venv(): INFO: Adding /tmp/venv-FSeX/bin to PATH [2021-04-06T08:39:37.668Z] INFO: No Stack... [2021-04-06T08:39:37.668Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T08:39:37.668Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T08:39:38.026Z] + cut -d, -f6 [2021-04-06T08:39:38.026Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-04-06T08:39:38.158Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-863-1-stack-cost] [2021-04-06T08:39:38.165Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-863-1-stack-cost] did not exist. Created. [2021-04-06T08:39:38.165Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-863-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T08:39:38.677Z] /w/workspace/device-sdk-go/1@tmp/durable-137392ea/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-137392ea/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T08:39:39.050Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T08:39:39.090Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T08:39:39.249Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T08:39:39.266Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-863-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-06T08:39:41.159Z] provisioning config files... [2021-04-06T08:39:41.176Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp/config6419571751743349459tmp [Pipeline] { [Pipeline] sh [2021-04-06T08:39:41.593Z] + set +x [2021-04-06T08:39:41.593Z] + curl -s https://codecov.io/bash [2021-04-06T08:39:41.593Z] + bash -s -- [2021-04-06T08:39:41.855Z] [2021-04-06T08:39:41.855Z] _____ _ [2021-04-06T08:39:41.855Z] / ____| | | [2021-04-06T08:39:41.855Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T08:39:41.855Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T08:39:41.855Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T08:39:41.855Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T08:39:41.855Z] Bash-20210309-2b87ace [2021-04-06T08:39:41.855Z] [2021-04-06T08:39:41.855Z] [2021-04-06T08:39:41.855Z] ==> git version 2.24.3 found [2021-04-06T08:39:41.855Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-06T08:39:41.855Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T08:39:41.855Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T08:39:41.855Z] ==> Jenkins CI detected. [2021-04-06T08:39:41.855Z] project root: . [2021-04-06T08:39:41.855Z] --> token set from env [2021-04-06T08:39:41.855Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T08:39:41.855Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T08:39:41.855Z] ==> Python coveragepy not found [2021-04-06T08:39:41.855Z] ==> Searching for coverage reports in: [2021-04-06T08:39:41.855Z] + . [2021-04-06T08:39:41.855Z] -> Found 1 reports [2021-04-06T08:39:41.855Z] ==> Detecting git/mercurial file structure [2021-04-06T08:39:41.855Z] ==> Reading reports [2021-04-06T08:39:41.855Z] + ./coverage.out bytes=101240 [2021-04-06T08:39:41.855Z] ==> Appending adjustments [2021-04-06T08:39:41.855Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T08:39:42.119Z] + Found adjustments [2021-04-06T08:39:42.119Z] ==> Gzipping contents [2021-04-06T08:39:42.119Z] 16K /tmp/codecov.73VyX7.gz [2021-04-06T08:39:42.119Z] ==> Uploading reports [2021-04-06T08:39:42.119Z] url: https://codecov.io [2021-04-06T08:39:42.119Z] query: branch=PR-863&commit=2d80251066bf1fa40f6706b3e0628535ff0cfc73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-863%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=863&job=&cmd_args= [2021-04-06T08:39:42.119Z] -> Pinging Codecov [2021-04-06T08:39:42.119Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-863&commit=2d80251066bf1fa40f6706b3e0628535ff0cfc73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-863%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=863&job=&cmd_args= [2021-04-06T08:39:42.695Z] -> Uploading to [2021-04-06T08:39:42.695Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/2d80251066bf1fa40f6706b3e0628535ff0cfc73/7922c103-67d4-4b70-9c5c-148b5dae8998.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T083942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f92cdc3807582f81a8cd2abb21de9bb835cf55e720c95f89f93fc50ab1d6ac2 [2021-04-06T08:39:42.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T08:39:42.695Z] Dload Upload Total Spent Left Speed [2021-04-06T08:39:43.278Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13717 0 0 100 13717 0 28297 --:--:-- --:--:-- --:--:-- 28282 100 13717 0 0 100 13717 0 28288 --:--:-- --:--:-- --:--:-- 28282 [2021-04-06T08:39:43.278Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2d80251066bf1fa40f6706b3e0628535ff0cfc73 [Pipeline] } [2021-04-06T08:39:43.304Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:39:46.617Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:39:46.959Z] ---> package-listing.sh [2021-04-06T08:39:46.959Z] ++ facter osfamily [2021-04-06T08:39:46.959Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T08:39:46.959Z] + OS_FAMILY=redhat [2021-04-06T08:39:46.959Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-863 [2021-04-06T08:39:46.959Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T08:39:46.959Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T08:39:46.959Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T08:39:46.959Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T08:39:46.959Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-863 ']' [2021-04-06T08:39:46.959Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T08:39:46.959Z] + case "${OS_FAMILY}" in [2021-04-06T08:39:46.959Z] + rpm -qa [2021-04-06T08:39:46.959Z] + sort [2021-04-06T08:39:52.278Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T08:39:52.278Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T08:39:52.278Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T08:39:52.278Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-863 ']' [2021-04-06T08:39:52.278Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-863/archives/ [2021-04-06T08:39:52.278Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-863/archives/ [Pipeline] echo [2021-04-06T08:39:52.314Z] 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-863/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T08:39:52.627Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:39:52.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:39:52.970Z] [2021-04-06T08:39:52.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:39:53.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:39:53.467Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T08:39:53.467Z] df20fa9351a1: Pulling fs layer [2021-04-06T08:39:53.467Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T08:39:53.467Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T08:39:53.467Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T08:39:53.467Z] 93b61091891f: Pulling fs layer [2021-04-06T08:39:53.467Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T08:39:53.467Z] 5e14af77c1be: Pulling fs layer [2021-04-06T08:39:53.467Z] 01666e4c0597: Pulling fs layer [2021-04-06T08:39:53.467Z] aa168da1d23b: Pulling fs layer [2021-04-06T08:39:53.467Z] 46f8f816bc3b: Waiting [2021-04-06T08:39:53.467Z] 93b61091891f: Waiting [2021-04-06T08:39:53.467Z] 93b9cdb0e59b: Waiting [2021-04-06T08:39:53.467Z] 5e14af77c1be: Waiting [2021-04-06T08:39:53.467Z] 01666e4c0597: Waiting [2021-04-06T08:39:53.467Z] aa168da1d23b: Waiting [2021-04-06T08:39:53.467Z] 36b3adc4ff6f: Verifying Checksum [2021-04-06T08:39:53.467Z] 36b3adc4ff6f: Download complete [2021-04-06T08:39:53.467Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T08:39:53.467Z] 46f8f816bc3b: Download complete [2021-04-06T08:39:53.467Z] df20fa9351a1: Download complete [2021-04-06T08:39:53.731Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T08:39:53.731Z] 93b9cdb0e59b: Download complete [2021-04-06T08:39:53.731Z] 5e14af77c1be: Verifying Checksum [2021-04-06T08:39:53.731Z] 5e14af77c1be: Download complete [2021-04-06T08:39:53.731Z] 01666e4c0597: Verifying Checksum [2021-04-06T08:39:53.731Z] 01666e4c0597: Download complete [2021-04-06T08:39:53.731Z] 93b61091891f: Verifying Checksum [2021-04-06T08:39:53.731Z] 93b61091891f: Download complete [2021-04-06T08:39:53.731Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T08:39:53.731Z] 8ad3a11d3b57: Download complete [2021-04-06T08:39:53.993Z] df20fa9351a1: Pull complete [2021-04-06T08:39:53.993Z] 36b3adc4ff6f: Pull complete [2021-04-06T08:39:54.568Z] 8ad3a11d3b57: Pull complete [2021-04-06T08:39:54.833Z] 46f8f816bc3b: Pull complete [2021-04-06T08:39:55.098Z] 93b61091891f: Pull complete [2021-04-06T08:39:55.360Z] 93b9cdb0e59b: Pull complete [2021-04-06T08:39:56.310Z] aa168da1d23b: Download complete [2021-04-06T08:39:56.573Z] 5e14af77c1be: Pull complete [2021-04-06T08:39:56.838Z] 01666e4c0597: Pull complete [2021-04-06T08:40:03.446Z] aa168da1d23b: Pull complete [2021-04-06T08:40:03.446Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T08:40:03.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:40:03.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T08:40:03.892Z] prd-centos7-docker-4c-2g-32936 does not seem to be running inside a container [2021-04-06T08:40:03.935Z] $ 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-863/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-863 -v /w/workspace/dgexfoundry_device-sdk-go_PR-863:/w/workspace/dgexfoundry_device-sdk-go_PR-863:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T08:40:06.839Z] $ docker top 7a56c0e514f35145339df53cf9a06eaf152f2ce6326ed92ee1753c8954bbac49 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:40:07.420Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T08:40:07.736Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T08:40:08.057Z] + ls /var/log/sa-host [2021-04-06T08:40:08.057Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T08:40:08.057Z] file_magic: OK [2021-04-06T08:40:08.057Z] HZ: Using current value: 100 [2021-04-06T08:40:08.057Z] file_header: OK [2021-04-06T08:40:08.057Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-06T08:40:08.057Z] Statistics: [2021-04-06T08:40:08.057Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-06T08:40:08.057Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T08:40:08.057Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T08:40:08.057Z] file_magic: OK [2021-04-06T08:40:08.057Z] HZ: Using current value: 100 [2021-04-06T08:40:08.057Z] file_header: OK [2021-04-06T08:40:08.057Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-06T08:40:08.057Z] Statistics: [2021-04-06T08:40:08.057Z] Hnuu...uuuununununu... [2021-04-06T08:40:08.057Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T08:40:08.846Z] provisioning config files... [2021-04-06T08:40:08.875Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-863@tmp/config987851507004194648tmp [Pipeline] { [Pipeline] echo [2021-04-06T08:40:08.980Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:40:09.325Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T08:40:09.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T08:40:09.497Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:40:09.833Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T08:40:09.864Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:40:10.201Z] ---> sudo-logs.sh [2021-04-06T08:40:10.201Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T08:40:10.322Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:40:10.656Z] ---> job-cost.sh [2021-04-06T08:40:10.656Z] lf-activate-venv: SKIPPING [2021-04-06T08:40:10.656Z] DEBUG: total: 0.20999999344348907 [2021-04-06T08:40:10.656Z] INFO: Retrieving Stack Cost... [2021-04-06T08:40:12.048Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T08:40:12.316Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T08:40:12.363Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:40:12.701Z] ---> logs-deploy.sh [2021-04-06T08:40:12.701Z] lf-activate-venv: SKIPPING [2021-04-06T08:40:12.701Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-863/1 [2021-04-06T08:40:12.701Z] INFO: archiving workspace using pattern(s): [2021-04-06T08:40:14.619Z] Archives upload complete. [2021-04-06T08:40:14.619Z] INFO: archiving logs to Nexus