Pull request #867 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7a59099b22a9388dfc6249f76e984302afe3ad87+00c5ba735e55045c2b436cba75d2b8d60948dbc8 (c3680eed3bdc93d9be423b82c96cc4cf75b1335b) 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-867/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-867/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33197 in /w/workspace/dgexfoundry_device-sdk-go_PR-867 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-867 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/867/head:refs/remotes/origin/PR-867 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 7a59099b22a9388dfc6249f76e984302afe3ad87 Merge succeeded, producing 7a59099b22a9388dfc6249f76e984302afe3ad87 Checking out Revision 7a59099b22a9388dfc6249f76e984302afe3ad87 (PR-867) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a59099b22a9388dfc6249f76e984302afe3ad87 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a59099b22a9388dfc6249f76e984302afe3ad87 # timeout=10 Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens" 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-07T22:07:32.361Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-07T22:07:32.720Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T22:07:32.957Z] ========================================================= [2021-04-07T22:07:32.957Z] EdgeX Global Pipelines Version Info [2021-04-07T22:07:32.957Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:07:37.665Z] ------------------- [2021-04-07T22:07:37.666Z] stable info: [2021-04-07T22:07:37.666Z] ------------------- [2021-04-07T22:07:37.666Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T22:07:37.666Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T22:07:37.666Z] Message: update stable to v1.0.186 [2021-04-07T22:07:38.848Z] ------------------- [2021-04-07T22:07:38.848Z] experimental info: [2021-04-07T22:07:38.848Z] ------------------- [2021-04-07T22:07:38.848Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T22:07:38.848Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T22:07:38.848Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T22:07:39.482Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-07T22:07:39.630Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-07T22:07:39.779Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T22:07:39.911Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T22:07:40.043Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T22:07:40.229Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-07T22:07:40.362Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-07T22:07:40.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-07T22:07:40.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-07T22:07:40.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-07T22:07:41.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T22:07:41.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-07T22:07:41.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T22:07:41.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T22:07:41.787Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T22:07:41.968Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:07:42.106Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:07:42.233Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:07:42.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T22:07:42.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T22:07:42.622Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-07T22:07:42.746Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-07T22:07:42.923Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-07T22:07:43.043Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-07T22:07:43.180Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-07T22:07:43.312Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T22:07:43.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-867 [Pipeline] echo [2021-04-07T22:07:43.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-867 [Pipeline] echo [2021-04-07T22:07:43.711Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-867 [Pipeline] echo [2021-04-07T22:07:43.843Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a59099b22a9388dfc6249f76e984302afe3ad87 [Pipeline] echo [2021-04-07T22:07:44.013Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a59099 [Pipeline] echo [2021-04-07T22:07:44.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T22:07:44.426Z] provisioning config files... [2021-04-07T22:07:44.489Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/config3147690256284739537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:07:45.130Z] ---> docker-login.sh [2021-04-07T22:07:45.131Z] nexus3.edgexfoundry.org:10001 [2021-04-07T22:07:46.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:07:47.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:07:47.005Z] Configure a credential helper to remove this warning. See [2021-04-07T22:07:47.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:07:47.005Z] [2021-04-07T22:07:47.005Z] Login Succeeded [2021-04-07T22:07:47.005Z] nexus3.edgexfoundry.org:10002 [2021-04-07T22:07:47.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:07:48.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:07:48.097Z] Configure a credential helper to remove this warning. See [2021-04-07T22:07:48.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:07:48.097Z] [2021-04-07T22:07:48.097Z] Login Succeeded [2021-04-07T22:07:48.097Z] nexus3.edgexfoundry.org:10003 [2021-04-07T22:07:48.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:07:48.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:07:48.839Z] Configure a credential helper to remove this warning. See [2021-04-07T22:07:48.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:07:48.839Z] [2021-04-07T22:07:48.839Z] Login Succeeded [2021-04-07T22:07:48.839Z] nexus3.edgexfoundry.org:10004 [2021-04-07T22:07:50.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:07:50.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:07:50.422Z] Configure a credential helper to remove this warning. See [2021-04-07T22:07:50.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:07:50.422Z] [2021-04-07T22:07:50.422Z] Login Succeeded [2021-04-07T22:07:50.422Z] docker.io [2021-04-07T22:07:51.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:07:51.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:07:51.506Z] Configure a credential helper to remove this warning. See [2021-04-07T22:07:51.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:07:51.506Z] [2021-04-07T22:07:51.506Z] Login Succeeded [2021-04-07T22:07:51.506Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T22:07:51.602Z] 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-07T22:07:52.929Z] + git log --format=format:%s -1 7a59099b22a9388dfc6249f76e984302afe3ad87 [Pipeline] echo [2021-04-07T22:07:53.170Z] GIT_COMMIT: 7a59099b22a9388dfc6249f76e984302afe3ad87, Commit Message: refactor: Replace file based with use of Secret Provider to get Access Tokens [Pipeline] echo [2021-04-07T22:07:53.256Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:07:54.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:07:54.897Z] [2021-04-07T22:07:54.897Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:07:55.409Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:07:55.745Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T22:07:55.745Z] 31603596830f: Pulling fs layer [2021-04-07T22:07:55.745Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T22:07:55.745Z] 6ca5941a6612: Pulling fs layer [2021-04-07T22:07:55.745Z] ecc8261a40a4: Pulling fs layer [2021-04-07T22:07:55.745Z] ecc8261a40a4: Waiting [2021-04-07T22:07:55.745Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T22:07:55.745Z] 2a8b12db71e7: Download complete [2021-04-07T22:07:56.554Z] 31603596830f: Verifying Checksum [2021-04-07T22:07:56.554Z] 31603596830f: Download complete [2021-04-07T22:07:56.930Z] ecc8261a40a4: Verifying Checksum [2021-04-07T22:07:56.930Z] ecc8261a40a4: Download complete [2021-04-07T22:07:57.252Z] 6ca5941a6612: Verifying Checksum [2021-04-07T22:07:57.252Z] 6ca5941a6612: Download complete [2021-04-07T22:07:57.252Z] 31603596830f: Pull complete [2021-04-07T22:07:57.528Z] 2a8b12db71e7: Pull complete [2021-04-07T22:07:59.113Z] 6ca5941a6612: Pull complete [2021-04-07T22:08:00.113Z] ecc8261a40a4: Pull complete [2021-04-07T22:08:00.113Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T22:08:00.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:08:00.113Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T22:08:00.532Z] prd-centos7-docker-4c-2g-33197 does not seem to be running inside a container [2021-04-07T22:08:01.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-867 -v /w/workspace/dgexfoundry_device-sdk-go_PR-867:/w/workspace/dgexfoundry_device-sdk-go_PR-867:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-07T22:08:06.048Z] $ docker top b05e17ac570aede55a596735098ffcd43eb08da7435191132abe739cc6ad9a8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T22:08:06.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:08:06.987Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:08:07.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:08:07.681Z] $ docker exec b05e17ac570aede55a596735098ffcd43eb08da7435191132abe739cc6ad9a8c ssh-agent [2021-04-07T22:08:08.605Z] SSH_AUTH_SOCK=/tmp/ssh-ca9rdnEcIAuO/agent.11 [2021-04-07T22:08:08.605Z] SSH_AGENT_PID=16 [2021-04-07T22:08:08.648Z] Running ssh-add (command line suppressed) [2021-04-07T22:08:09.037Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/private_key_445901569667831494.key (/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/private_key_445901569667831494.key) [2021-04-07T22:08:09.237Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:08:10.053Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T22:08:10.189Z] $ docker exec --env ******** --env ******** b05e17ac570aede55a596735098ffcd43eb08da7435191132abe739cc6ad9a8c ssh-agent -k [2021-04-07T22:08:10.985Z] unset SSH_AUTH_SOCK; [2021-04-07T22:08:10.986Z] unset SSH_AGENT_PID; [2021-04-07T22:08:10.986Z] echo Agent pid 16 killed; [2021-04-07T22:08:11.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T22:08:11.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:08:11.465Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:08:11.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:08:11.785Z] $ docker exec b05e17ac570aede55a596735098ffcd43eb08da7435191132abe739cc6ad9a8c ssh-agent [2021-04-07T22:08:12.069Z] SSH_AUTH_SOCK=/tmp/ssh-iccGBjeJsq7f/agent.44 [2021-04-07T22:08:12.069Z] SSH_AGENT_PID=50 [2021-04-07T22:08:12.151Z] Running ssh-add (command line suppressed) [2021-04-07T22:08:12.381Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/private_key_1712368456275791950.key (/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/private_key_1712368456275791950.key) [2021-04-07T22:08:12.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:08:13.574Z] + git semver init [2021-04-07T22:08:13.574Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T22:08:13.574Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-867/.git [2021-04-07T22:08:13.574Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-867 [2021-04-07T22:08:13.574Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T22:08:13.574Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T22:08:13.574Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T22:08:13.574Z] # $SEMVER_BRANCH = PR-867 [2021-04-07T22:08:13.574Z] # $SEMVER_TEMP = /tmp/semver-162887676 [2021-04-07T22:08:13.574Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-07T22:08:15.115Z] # '/tmp/semver-162887676' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-867/.semver' [2021-04-07T22:08:15.115Z] # -> Force: false [2021-04-07T22:08:15.115Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-867/.semver [Pipeline] } [2021-04-07T22:08:15.456Z] $ docker exec --env ******** --env ******** b05e17ac570aede55a596735098ffcd43eb08da7435191132abe739cc6ad9a8c ssh-agent -k [2021-04-07T22:08:15.785Z] unset SSH_AUTH_SOCK; [2021-04-07T22:08:15.786Z] unset SSH_AGENT_PID; [2021-04-07T22:08:15.786Z] echo Agent pid 50 killed; [2021-04-07T22:08:16.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T22:08:16.746Z] + git semver [Pipeline] } [2021-04-07T22:08:17.084Z] $ docker stop --time=1 b05e17ac570aede55a596735098ffcd43eb08da7435191132abe739cc6ad9a8c [2021-04-07T22:08:19.745Z] $ docker rm -f b05e17ac570aede55a596735098ffcd43eb08da7435191132abe739cc6ad9a8c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T22:08:20.614Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T22:08:22.581Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T22:08:22.611Z] [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-07T22:08:38.463Z] Still waiting to schedule task [2021-04-07T22:08:38.463Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-07T22:08:38.502Z] Still waiting to schedule task [2021-04-07T22:08:38.502Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-07T22:10:20.592Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33198 in /w/workspace/dgexfoundry_device-sdk-go_PR-867 [Pipeline] { [Pipeline] ws [2021-04-07T22:10:20.726Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-07T22:10:26.094Z] using credential edgex-jenkins-ssh [2021-04-07T22:10:26.229Z] Cloning the remote Git repository [2021-04-07T22:10:26.293Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T22:10:26.414Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-07T22:10:26.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T22:10:26.521Z] > git --version # timeout=10 [2021-04-07T22:10:26.551Z] > git --version # 'git version 2.17.1' [2021-04-07T22:10:26.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:10:26.628Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:10:27.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T22:10:27.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:10:27.773Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T22:10:27.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T22:10:27.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:10:27.824Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/867/head:refs/remotes/origin/PR-867 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T22:10:28.435Z] Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 7a59099b22a9388dfc6249f76e984302afe3ad87 [2021-04-07T22:10:28.760Z] Merge succeeded, producing 7a59099b22a9388dfc6249f76e984302afe3ad87 [2021-04-07T22:10:28.760Z] Checking out Revision 7a59099b22a9388dfc6249f76e984302afe3ad87 (PR-867) [2021-04-07T22:10:28.458Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:10:28.479Z] > git checkout -f 7a59099b22a9388dfc6249f76e984302afe3ad87 # timeout=10 [2021-04-07T22:10:28.581Z] > git remote # timeout=10 [2021-04-07T22:10:28.597Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T22:10:28.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:10:28.623Z] > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [2021-04-07T22:10:28.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T22:10:28.771Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:10:28.823Z] > git checkout -f 7a59099b22a9388dfc6249f76e984302afe3ad87 # timeout=10 [2021-04-07T22:10:33.122Z] Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens" [2021-04-07T22:10:33.191Z] > git --version # timeout=10 [2021-04-07T22:10:33.202Z] > git --version # 'git version 2.17.1' [2021-04-07T22:10:33.213Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T22:10:35.063Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:10:35.508Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:10:35.870Z] + sudo service docker restart [2021-04-07T22:10:35.870Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T22:10:38.659Z] provisioning config files... [2021-04-07T22:10:38.696Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4675291354814584188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:10:39.153Z] ---> docker-login.sh [2021-04-07T22:10:39.153Z] nexus3.edgexfoundry.org:10001 [2021-04-07T22:10:40.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:10:40.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:10:40.422Z] Configure a credential helper to remove this warning. See [2021-04-07T22:10:40.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:10:40.422Z] [2021-04-07T22:10:40.422Z] Login Succeeded [2021-04-07T22:10:40.422Z] nexus3.edgexfoundry.org:10002 [2021-04-07T22:10:40.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:10:40.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:10:40.975Z] Configure a credential helper to remove this warning. See [2021-04-07T22:10:40.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:10:40.975Z] [2021-04-07T22:10:40.975Z] Login Succeeded [2021-04-07T22:10:40.975Z] nexus3.edgexfoundry.org:10003 [2021-04-07T22:10:41.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:10:41.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:10:41.525Z] Configure a credential helper to remove this warning. See [2021-04-07T22:10:41.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:10:41.525Z] [2021-04-07T22:10:41.525Z] Login Succeeded [2021-04-07T22:10:41.525Z] nexus3.edgexfoundry.org:10004 [2021-04-07T22:10:41.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:10:41.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:10:41.800Z] Configure a credential helper to remove this warning. See [2021-04-07T22:10:41.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:10:41.800Z] [2021-04-07T22:10:41.800Z] Login Succeeded [2021-04-07T22:10:42.077Z] docker.io [2021-04-07T22:10:42.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:10:42.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:10:42.634Z] Configure a credential helper to remove this warning. See [2021-04-07T22:10:42.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:10:42.634Z] [2021-04-07T22:10:42.634Z] Login Succeeded [2021-04-07T22:10:42.634Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T22:10:42.674Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T22:10:43.223Z] ========================================================= [2021-04-07T22:10:43.223Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-07T22:10:43.223Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:10:43.681Z] + 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-07T22:10:43.958Z] Sending build context to Docker daemon 2.413MB [2021-04-07T22:10:44.233Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T22:10:44.233Z] Step 2/8 : FROM ${BASE} [2021-04-07T22:10:44.233Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-07T22:10:44.233Z] 5f621e34cdf4: Pulling fs layer [2021-04-07T22:10:44.233Z] a4357932f1b6: Pulling fs layer [2021-04-07T22:10:44.233Z] 18c013af1878: Pulling fs layer [2021-04-07T22:10:44.233Z] 00ac8860ef70: Pulling fs layer [2021-04-07T22:10:44.233Z] 63d7cb157983: Pulling fs layer [2021-04-07T22:10:44.233Z] b116817d02f9: Pulling fs layer [2021-04-07T22:10:44.233Z] 745a02a5169b: Pulling fs layer [2021-04-07T22:10:44.233Z] 00ac8860ef70: Waiting [2021-04-07T22:10:44.233Z] 63d7cb157983: Waiting [2021-04-07T22:10:44.233Z] b116817d02f9: Waiting [2021-04-07T22:10:44.233Z] 745a02a5169b: Waiting [2021-04-07T22:10:44.233Z] 18c013af1878: Verifying Checksum [2021-04-07T22:10:44.233Z] 18c013af1878: Download complete [2021-04-07T22:10:44.233Z] a4357932f1b6: Verifying Checksum [2021-04-07T22:10:44.233Z] a4357932f1b6: Download complete [2021-04-07T22:10:44.233Z] 63d7cb157983: Verifying Checksum [2021-04-07T22:10:44.233Z] 63d7cb157983: Download complete [2021-04-07T22:10:45.216Z] b116817d02f9: Verifying Checksum [2021-04-07T22:10:45.216Z] b116817d02f9: Download complete [2021-04-07T22:10:45.216Z] 5f621e34cdf4: Verifying Checksum [2021-04-07T22:10:45.216Z] 5f621e34cdf4: Download complete [2021-04-07T22:10:45.824Z] 5f621e34cdf4: Pull complete [2021-04-07T22:10:46.423Z] a4357932f1b6: Pull complete [2021-04-07T22:10:46.699Z] 18c013af1878: Pull complete [2021-04-07T22:10:47.302Z] 745a02a5169b: Verifying Checksum [2021-04-07T22:10:47.302Z] 745a02a5169b: Download complete [2021-04-07T22:10:48.767Z] 00ac8860ef70: Download complete [2021-04-07T22:10:57.553Z] Running on prd-centos7-docker-4c-2g-33199 in /w/workspace/dgexfoundry_device-sdk-go_PR-867 [Pipeline] { [Pipeline] ws [2021-04-07T22:10:57.649Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-07T22:10:58.940Z] 00ac8860ef70: Pull complete [2021-04-07T22:10:58.940Z] 63d7cb157983: Pull complete [2021-04-07T22:10:59.213Z] b116817d02f9: Pull complete [2021-04-07T22:11:00.029Z] using credential edgex-jenkins-ssh [2021-04-07T22:11:00.146Z] Cloning the remote Git repository [2021-04-07T22:11:00.085Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T22:11:00.159Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-07T22:11:00.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T22:11:00.228Z] > git --version # timeout=10 [2021-04-07T22:11:00.235Z] > git --version # 'git version 2.24.3' [2021-04-07T22:11:00.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:11:00.269Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:11:01.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T22:11:01.317Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:11:01.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T22:11:01.340Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T22:11:01.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:11:01.344Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/867/head:refs/remotes/origin/PR-867 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T22:11:02.365Z] Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 7a59099b22a9388dfc6249f76e984302afe3ad87 [2021-04-07T22:11:02.456Z] Merge succeeded, producing 7a59099b22a9388dfc6249f76e984302afe3ad87 [2021-04-07T22:11:02.457Z] Checking out Revision 7a59099b22a9388dfc6249f76e984302afe3ad87 (PR-867) [2021-04-07T22:11:02.376Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:11:02.381Z] > git checkout -f 7a59099b22a9388dfc6249f76e984302afe3ad87 # timeout=10 [2021-04-07T22:11:02.426Z] > git remote # timeout=10 [2021-04-07T22:11:02.431Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T22:11:02.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:11:02.441Z] > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [2021-04-07T22:11:02.451Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T22:11:02.462Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:11:02.467Z] > git checkout -f 7a59099b22a9388dfc6249f76e984302afe3ad87 # timeout=10 [2021-04-07T22:11:03.561Z] 745a02a5169b: Pull complete [2021-04-07T22:11:03.561Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-07T22:11:03.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-07T22:11:03.561Z] ---> b7e6874047d6 [2021-04-07T22:11:03.561Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T22:11:06.049Z] Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens" [2021-04-07T22:11:06.076Z] > git --version # timeout=10 [2021-04-07T22:11:06.085Z] > git --version # 'git version 2.24.3' [2021-04-07T22:11:06.089Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T22:11:06.171Z] ---> Running in 3cf4d08f0442 [2021-04-07T22:11:06.445Z] Removing intermediate container 3cf4d08f0442 [2021-04-07T22:11:06.445Z] ---> 005d6ec15160 [2021-04-07T22:11:06.445Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T22:11:06.445Z] ---> Running in b9de8ce63c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T22:11:07.508Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:11:07.876Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:11:08.223Z] + true [2021-04-07T22:11:08.223Z] + sudo service docker restart [2021-04-07T22:11:08.223Z] Redirecting to /bin/systemctl restart docker.service [2021-04-07T22:11:09.100Z] Removing intermediate container b9de8ce63c79 [2021-04-07T22:11:09.100Z] ---> 4386ac70892d [2021-04-07T22:11:09.100Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T22:11:09.100Z] ---> Running in 2b184cc0278b [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T22:11:09.296Z] provisioning config files... [2021-04-07T22:11:09.328Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6297521705598053772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:11:09.708Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T22:11:09.748Z] ---> docker-login.sh [2021-04-07T22:11:09.748Z] nexus3.edgexfoundry.org:10001 [2021-04-07T22:11:10.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:11:10.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:11:10.011Z] Configure a credential helper to remove this warning. See [2021-04-07T22:11:10.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:11:10.011Z] [2021-04-07T22:11:10.011Z] Login Succeeded [2021-04-07T22:11:10.011Z] nexus3.edgexfoundry.org:10002 [2021-04-07T22:11:10.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:11:10.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:11:10.275Z] Configure a credential helper to remove this warning. See [2021-04-07T22:11:10.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:11:10.275Z] [2021-04-07T22:11:10.275Z] Login Succeeded [2021-04-07T22:11:10.275Z] nexus3.edgexfoundry.org:10003 [2021-04-07T22:11:10.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:11:10.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:11:10.540Z] Configure a credential helper to remove this warning. See [2021-04-07T22:11:10.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:11:10.541Z] [2021-04-07T22:11:10.541Z] Login Succeeded [2021-04-07T22:11:10.541Z] nexus3.edgexfoundry.org:10004 [2021-04-07T22:11:10.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:11:10.696Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T22:11:10.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:11:10.804Z] Configure a credential helper to remove this warning. See [2021-04-07T22:11:10.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:11:10.804Z] [2021-04-07T22:11:10.804Z] Login Succeeded [2021-04-07T22:11:10.804Z] docker.io [2021-04-07T22:11:10.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:11:11.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:11:11.068Z] Configure a credential helper to remove this warning. See [2021-04-07T22:11:11.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:11:11.068Z] [2021-04-07T22:11:11.068Z] Login Succeeded [2021-04-07T22:11:11.068Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T22:11:11.093Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T22:11:11.606Z] ========================================================= [2021-04-07T22:11:11.606Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-07T22:11:11.606Z] ========================================================= [2021-04-07T22:11:11.675Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T22:11:11.675Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T22:11:11.675Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T22:11:11.675Z] (4/6) Installing libsodium-dev (1.0.18-r0) [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:11:11.949Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T22:11:11.949Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T22:11:11.949Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T22:11:11.949Z] OK: 144 MiB in 45 packages [2021-04-07T22:11:12.001Z] + 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-07T22:11:12.001Z] Sending build context to Docker daemon 2.411MB [2021-04-07T22:11:12.001Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T22:11:12.001Z] Step 2/8 : FROM ${BASE} [2021-04-07T22:11:12.262Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-07T22:11:12.262Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T22:11:12.262Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T22:11:12.262Z] de9db76c5a1d: Pulling fs layer [2021-04-07T22:11:12.262Z] bca2f99d35d6: Pulling fs layer [2021-04-07T22:11:12.262Z] 93359f2a8cfa: Pulling fs layer [2021-04-07T22:11:12.262Z] 7c6f9722023f: Pulling fs layer [2021-04-07T22:11:12.262Z] a35cf1a2eb13: Pulling fs layer [2021-04-07T22:11:12.262Z] bca2f99d35d6: Waiting [2021-04-07T22:11:12.262Z] 93359f2a8cfa: Waiting [2021-04-07T22:11:12.262Z] 7c6f9722023f: Waiting [2021-04-07T22:11:12.262Z] a35cf1a2eb13: Waiting [2021-04-07T22:11:12.262Z] de9db76c5a1d: Verifying Checksum [2021-04-07T22:11:12.262Z] de9db76c5a1d: Download complete [2021-04-07T22:11:12.262Z] 0ef7d3d256c8: Verifying Checksum [2021-04-07T22:11:12.262Z] 0ef7d3d256c8: Download complete [2021-04-07T22:11:12.262Z] 93359f2a8cfa: Verifying Checksum [2021-04-07T22:11:12.262Z] 93359f2a8cfa: Download complete [2021-04-07T22:11:12.839Z] 188c0c94c7c5: Verifying Checksum [2021-04-07T22:11:12.839Z] 7c6f9722023f: Verifying Checksum [2021-04-07T22:11:12.839Z] 7c6f9722023f: Download complete [2021-04-07T22:11:13.101Z] 188c0c94c7c5: Pull complete [2021-04-07T22:11:13.363Z] 0ef7d3d256c8: Pull complete [2021-04-07T22:11:13.363Z] de9db76c5a1d: Pull complete [2021-04-07T22:11:13.379Z] Removing intermediate container 2b184cc0278b [2021-04-07T22:11:13.379Z] ---> 703f87028dc6 [2021-04-07T22:11:13.379Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T22:11:13.379Z] ---> Running in aa3a3c8ae0bc [2021-04-07T22:11:13.983Z] Removing intermediate container aa3a3c8ae0bc [2021-04-07T22:11:13.983Z] ---> 0bc7dacc0ec6 [2021-04-07T22:11:13.983Z] Step 7/8 : COPY . . [2021-04-07T22:11:14.759Z] a35cf1a2eb13: Verifying Checksum [2021-04-07T22:11:14.759Z] a35cf1a2eb13: Download complete [2021-04-07T22:11:14.759Z] bca2f99d35d6: Verifying Checksum [2021-04-07T22:11:14.759Z] bca2f99d35d6: Download complete [2021-04-07T22:11:15.415Z] ---> 4b9bfb6a1696 [2021-04-07T22:11:15.415Z] Step 8/8 : RUN go mod download [2021-04-07T22:11:15.415Z] ---> Running in 6f9ed91187c2 [2021-04-07T22:11:21.395Z] bca2f99d35d6: Pull complete [2021-04-07T22:11:21.395Z] 93359f2a8cfa: Pull complete [2021-04-07T22:11:21.395Z] 7c6f9722023f: Pull complete [2021-04-07T22:11:24.723Z] a35cf1a2eb13: Pull complete [2021-04-07T22:11:24.724Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-07T22:11:24.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-07T22:11:24.724Z] ---> a62c8e92a672 [2021-04-07T22:11:24.724Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T22:11:24.990Z] ---> Running in 30440f959e56 [2021-04-07T22:11:25.254Z] Removing intermediate container 30440f959e56 [2021-04-07T22:11:25.254Z] ---> 088358501b11 [2021-04-07T22:11:25.254Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T22:11:25.254Z] ---> Running in 4944461dc0c5 [2021-04-07T22:11:26.212Z] Removing intermediate container 4944461dc0c5 [2021-04-07T22:11:26.212Z] ---> 0ae0905ae667 [2021-04-07T22:11:26.212Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T22:11:26.212Z] ---> Running in 4a9ab9cee0f7 [2021-04-07T22:11:26.795Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T22:11:27.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T22:11:27.948Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T22:11:27.948Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T22:11:27.948Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T22:11:28.211Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-07T22:11:28.211Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T22:11:28.474Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T22:11:28.474Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T22:11:28.474Z] OK: 167 MiB in 45 packages [2021-04-07T22:11:29.055Z] Removing intermediate container 4a9ab9cee0f7 [2021-04-07T22:11:29.055Z] ---> f7d59a5a7465 [2021-04-07T22:11:29.055Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T22:11:29.055Z] ---> Running in 7d468bc35988 [2021-04-07T22:11:29.322Z] Removing intermediate container 7d468bc35988 [2021-04-07T22:11:29.322Z] ---> acb3947888fb [2021-04-07T22:11:29.322Z] Step 7/8 : COPY . . [2021-04-07T22:11:30.715Z] ---> 9b8e68568e5b [2021-04-07T22:11:30.715Z] Step 8/8 : RUN go mod download [2021-04-07T22:11:30.715Z] ---> Running in 82196a87c23b [2021-04-07T22:11:42.232Z] Removing intermediate container 6f9ed91187c2 [2021-04-07T22:11:42.232Z] ---> 28169e1a0efd [2021-04-07T22:11:42.232Z] Successfully built 28169e1a0efd [2021-04-07T22:11:42.232Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:11:42.604Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T22:11:42.604Z] . [Pipeline] withDockerContainer [2021-04-07T22:11:42.886Z] prd-ubuntu18.04-docker-arm64-4c-16g-33198 does not seem to be running inside a container [2021-04-07T22:11:42.972Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-07T22:11:44.489Z] $ docker top 17b0ba2bec85b3ac56ee153c38c7a10683b453f6ddfbfb4f65eaf38a6f352412 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:11:45.568Z] + go version [2021-04-07T22:11:45.568Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-07T22:11:45.608Z] $ docker stop --time=1 17b0ba2bec85b3ac56ee153c38c7a10683b453f6ddfbfb4f65eaf38a6f352412 [2021-04-07T22:11:47.520Z] $ docker rm -f 17b0ba2bec85b3ac56ee153c38c7a10683b453f6ddfbfb4f65eaf38a6f352412 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:11:48.752Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T22:11:48.752Z] . [Pipeline] withDockerContainer [2021-04-07T22:11:49.032Z] prd-ubuntu18.04-docker-arm64-4c-16g-33198 does not seem to be running inside a container [2021-04-07T22:11:49.114Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-07T22:11:50.628Z] $ docker top 66723e995d81e68e881537a014581c834f613cfe548de374a53b81abaea9e857 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:11:51.735Z] + make test [2021-04-07T22:11:51.735Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T22:11:57.374Z] Removing intermediate container 82196a87c23b [2021-04-07T22:11:57.374Z] ---> 9540b1c2066a [2021-04-07T22:11:57.374Z] Successfully built 9540b1c2066a [2021-04-07T22:11:57.374Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:11:57.724Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T22:11:57.725Z] . [Pipeline] withDockerContainer [2021-04-07T22:11:57.859Z] prd-centos7-docker-4c-2g-33199 does not seem to be running inside a container [2021-04-07T22:11:57.913Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-07T22:11:58.725Z] $ docker top bb8a38ce8f1a29ce2a1e675b671c980c64c85afc852150a756cf9b5de7265498 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:11:59.303Z] + go version [2021-04-07T22:11:59.303Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-07T22:11:59.340Z] $ docker stop --time=1 bb8a38ce8f1a29ce2a1e675b671c980c64c85afc852150a756cf9b5de7265498 [2021-04-07T22:12:00.682Z] $ docker rm -f bb8a38ce8f1a29ce2a1e675b671c980c64c85afc852150a756cf9b5de7265498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:12:01.779Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T22:12:01.779Z] . [Pipeline] withDockerContainer [2021-04-07T22:12:01.914Z] prd-centos7-docker-4c-2g-33199 does not seem to be running inside a container [2021-04-07T22:12:01.967Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-07T22:12:02.542Z] $ docker top dc8ac3c93ccb20f2efc07ca3349fd7e277c5ba626f154dfc2e8f8249f3d2e500 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:12:03.062Z] + make test [2021-04-07T22:12:03.062Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T22:12:11.280Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T22:12:13.922Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T22:12:29.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T22:12:29.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T22:12:29.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T22:12:29.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T22:12:29.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T22:12:33.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 28.1% of statements [2021-04-07T22:12:33.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2021-04-07T22:12:34.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.106s coverage: 7.8% of statements [2021-04-07T22:12:34.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T22:12:34.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T22:12:34.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T22:12:34.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 32.5% of statements [2021-04-07T22:12:34.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T22:12:34.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T22:12:34.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T22:12:34.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 57.3% of statements [2021-04-07T22:12:35.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.171s coverage: 6.6% of statements [2021-04-07T22:12:35.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-07T22:12:35.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T22:12:35.439Z] GO111MODULE=on go vet ./... [2021-04-07T22:12:50.531Z] gofmt -l . [2021-04-07T22:12:50.531Z] [ "`gofmt -l .`" = "" ] [2021-04-07T22:12:50.531Z] ./bin/test-attribution-txt.sh [2021-04-07T22:12:50.531Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T22:12:50.569Z] $ docker stop --time=1 dc8ac3c93ccb20f2efc07ca3349fd7e277c5ba626f154dfc2e8f8249f3d2e500 [2021-04-07T22:12:52.855Z] $ docker rm -f dc8ac3c93ccb20f2efc07ca3349fd7e277c5ba626f154dfc2e8f8249f3d2e500 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T22:12:53.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T22:12:54.048Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-07T22:12:57.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T22:12:57.359Z] + ls -al . [2021-04-07T22:12:57.359Z] total 188 [2021-04-07T22:12:57.359Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 7 22:12 . [2021-04-07T22:12:57.359Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 22:11 .. [2021-04-07T22:12:57.359Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 22:11 bin [2021-04-07T22:12:57.359Z] -rw-r--r--. 1 jenkins jenkins 99189 Apr 7 22:12 coverage.out [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 7 22:11 Dockerfile.build [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 22:11 .dockerignore [2021-04-07T22:12:57.359Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 7 22:11 example [2021-04-07T22:12:57.359Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 22:11 .git [2021-04-07T22:12:57.359Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 22:11 .github [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 7 22:11 .gitignore [2021-04-07T22:12:57.359Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 7 22:12 go.mod [2021-04-07T22:12:57.359Z] -rw-r--r--. 1 jenkins jenkins 20726 Apr 7 22:12 go.sum [2021-04-07T22:12:57.359Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 7 22:11 internal [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 7 22:11 Jenkinsfile [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 7 22:11 LICENSE [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 7 22:11 Makefile [2021-04-07T22:12:57.359Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 7 22:11 openapi [2021-04-07T22:12:57.359Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 7 22:11 pkg [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 7 22:11 README.md [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 7 22:11 RELEASE-NOTES.txt [2021-04-07T22:12:57.359Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 22:11 snap [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 22:08 VERSION [2021-04-07T22:12:57.359Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 7 22:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:12:57.696Z] + 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=7a59099b22a9388dfc6249f76e984302afe3ad87 --label arch=amd64 --label version=0.0.0 . [2021-04-07T22:12:57.958Z] Sending build context to Docker daemon 2.511MB [2021-04-07T22:12:57.958Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T22:12:57.958Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T22:12:57.958Z] ---> 9540b1c2066a [2021-04-07T22:12:57.958Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T22:12:58.534Z] ---> Running in c5c3b3d368b6 [2021-04-07T22:12:58.799Z] Removing intermediate container c5c3b3d368b6 [2021-04-07T22:12:58.799Z] ---> 720de857801b [2021-04-07T22:12:58.799Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T22:12:58.799Z] ---> Running in d5c01f72aa6d [2021-04-07T22:12:59.061Z] Removing intermediate container d5c01f72aa6d [2021-04-07T22:12:59.061Z] ---> 5a60d5823caa [2021-04-07T22:12:59.061Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T22:12:59.324Z] ---> Running in eb5ce899d43c [2021-04-07T22:13:00.277Z] Removing intermediate container eb5ce899d43c [2021-04-07T22:13:00.277Z] ---> ff4de22dfee7 [2021-04-07T22:13:00.277Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T22:13:00.277Z] ---> Running in 581da6f2638d [2021-04-07T22:13:00.852Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T22:13:01.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T22:13:02.021Z] OK: 167 MiB in 45 packages [2021-04-07T22:13:02.594Z] Removing intermediate container 581da6f2638d [2021-04-07T22:13:02.594Z] ---> de2b50ad9fe5 [2021-04-07T22:13:02.594Z] Step 7/23 : COPY . . [2021-04-07T22:13:03.545Z] ---> 72d8b97d84ee [2021-04-07T22:13:03.545Z] Step 8/23 : RUN go mod download [2021-04-07T22:13:03.809Z] ---> Running in ed58d25742ea [2021-04-07T22:13:05.206Z] Removing intermediate container ed58d25742ea [2021-04-07T22:13:05.206Z] ---> d84cf993a58d [2021-04-07T22:13:05.206Z] Step 9/23 : RUN make build [2021-04-07T22:13:05.206Z] ---> Running in e646530ba903 [2021-04-07T22:13:05.481Z] 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-07T22:13:10.555Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T22:13:10.555Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T22:13:10.555Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T22:13:10.555Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T22:13:10.555Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T22:13:13.187Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 28.1% of statements [2021-04-07T22:13:13.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.178s coverage: 78.9% of statements [2021-04-07T22:13:13.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.172s coverage: 7.8% of statements [2021-04-07T22:13:13.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T22:13:13.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T22:13:13.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T22:13:15.578Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T22:13:15.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.311s coverage: 32.5% of statements [2021-04-07T22:13:15.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T22:13:15.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T22:13:15.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T22:13:17.503Z] Removing intermediate container e646530ba903 [2021-04-07T22:13:17.503Z] ---> 2cfe345fff48 [2021-04-07T22:13:17.503Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T22:13:18.076Z] 3.12: Pulling from library/alpine [2021-04-07T22:13:18.076Z] 532819f3e44c: Pulling fs layer [2021-04-07T22:13:18.339Z] 532819f3e44c: Download complete [2021-04-07T22:13:18.605Z] 532819f3e44c: Pull complete [2021-04-07T22:13:18.605Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T22:13:18.605Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T22:13:18.605Z] ---> 7230e588e954 [2021-04-07T22:13:18.605Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T22:13:19.179Z] ---> Running in a39310299035 [2021-04-07T22:13:19.179Z] Removing intermediate container a39310299035 [2021-04-07T22:13:19.179Z] ---> 8806d181af87 [2021-04-07T22:13:19.179Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T22:13:19.445Z] ---> Running in a4c785a451f6 [2021-04-07T22:13:20.589Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.263s coverage: 57.3% of statements [2021-04-07T22:13:20.589Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.769s coverage: 6.6% of statements [2021-04-07T22:13:20.589Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-04-07T22:13:20.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T22:13:20.864Z] GO111MODULE=on go vet ./... [2021-04-07T22:13:21.373Z] Removing intermediate container a4c785a451f6 [2021-04-07T22:13:21.373Z] ---> 7536bd664506 [2021-04-07T22:13:21.373Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T22:13:21.373Z] ---> Running in 1baf8a6d8f86 [2021-04-07T22:13:21.636Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T22:13:22.585Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T22:13:22.846Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T22:13:22.846Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T22:13:22.846Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T22:13:23.108Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T22:13:23.369Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T22:13:23.369Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T22:13:23.369Z] OK: 8 MiB in 19 packages [2021-04-07T22:13:23.942Z] Removing intermediate container 1baf8a6d8f86 [2021-04-07T22:13:23.942Z] ---> 2c6d3eb6907b [2021-04-07T22:13:23.942Z] Step 14/23 : WORKDIR / [2021-04-07T22:13:24.207Z] ---> Running in 8e02c9ba3c7d [2021-04-07T22:13:24.469Z] Removing intermediate container 8e02c9ba3c7d [2021-04-07T22:13:24.469Z] ---> f391a42869ae [2021-04-07T22:13:24.469Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T22:13:24.731Z] ---> 20969245ea49 [2021-04-07T22:13:24.731Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T22:13:25.308Z] ---> e6bc9cdb2b9d [2021-04-07T22:13:25.308Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T22:13:25.570Z] ---> dce048eb1e39 [2021-04-07T22:13:25.570Z] Step 18/23 : EXPOSE 49990 [2021-04-07T22:13:25.832Z] ---> Running in 13bf3e2c7027 [2021-04-07T22:13:26.118Z] Removing intermediate container 13bf3e2c7027 [2021-04-07T22:13:26.118Z] ---> c7939d2e99f1 [2021-04-07T22:13:26.118Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T22:13:26.118Z] ---> Running in 602fbd4ffa54 [2021-04-07T22:13:26.429Z] Removing intermediate container 602fbd4ffa54 [2021-04-07T22:13:26.429Z] ---> b10c6f3fb62c [2021-04-07T22:13:26.429Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T22:13:26.702Z] ---> Running in 1f9141fb94e0 [2021-04-07T22:13:26.972Z] Removing intermediate container 1f9141fb94e0 [2021-04-07T22:13:26.972Z] ---> ff2295a1f1cf [2021-04-07T22:13:26.972Z] Step 21/23 : LABEL arch=amd64 [2021-04-07T22:13:26.972Z] ---> Running in 2214c22c0e33 [2021-04-07T22:13:27.239Z] Removing intermediate container 2214c22c0e33 [2021-04-07T22:13:27.239Z] ---> 2287d86850ea [2021-04-07T22:13:27.239Z] Step 22/23 : LABEL git_sha=7a59099b22a9388dfc6249f76e984302afe3ad87 [2021-04-07T22:13:27.506Z] ---> Running in 0b71de0f4b6c [2021-04-07T22:13:27.779Z] Removing intermediate container 0b71de0f4b6c [2021-04-07T22:13:27.779Z] ---> 42d2168a1085 [2021-04-07T22:13:27.779Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T22:13:27.779Z] ---> Running in 2eb4b8bcf2e3 [2021-04-07T22:13:28.055Z] Removing intermediate container 2eb4b8bcf2e3 [2021-04-07T22:13:28.055Z] ---> 75c2323dcb20 [2021-04-07T22:13:28.055Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T22:13:28.055Z] Successfully built 75c2323dcb20 [2021-04-07T22:13:28.055Z] 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-07T22:13:29.422Z] ---> job-cost.sh [2021-04-07T22:13:29.422Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dxVk [2021-04-07T22:13:44.350Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T22:14:07.858Z] gofmt -l . [2021-04-07T22:14:07.858Z] [ "`gofmt -l .`" = "" ] [2021-04-07T22:14:07.858Z] ./bin/test-attribution-txt.sh [2021-04-07T22:14:07.858Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T22:14:07.887Z] $ docker stop --time=1 66723e995d81e68e881537a014581c834f613cfe548de374a53b81abaea9e857 [2021-04-07T22:14:10.219Z] $ docker rm -f 66723e995d81e68e881537a014581c834f613cfe548de374a53b81abaea9e857 [2021-04-07T22:14:10.986Z] lf-activate-venv(): INFO: Adding /tmp/venv-dxVk/bin to PATH [2021-04-07T22:14:10.986Z] INFO: No Stack... [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T22:14:11.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T22:14:11.504Z] Warning: overwriting stash ‘coverage-report’ [2021-04-07T22:14:11.558Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T22:14:12.133Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T22:14:12.460Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-07T22:14:12.460Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T22:14:12.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-867-1-stack-cost] [2021-04-07T22:14:12.585Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-867-1-stack-cost] did not exist. Created. [2021-04-07T22:14:12.585Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-867-1-stack-cost] [Pipeline] { [Pipeline] unstash [2021-04-07T22:14:12.831Z] Stashed 1 file(s) [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [2021-04-07T22:14:13.138Z] + echo total: 0.029999999329447746 [Pipeline] // stage [Pipeline] stash [Pipeline] stage [Pipeline] { (Build) [2021-04-07T22:14:13.392Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T22:14:13.438Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-867-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] sh [2021-04-07T22:14:14.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T22:14:14.827Z] + ls -al . [2021-04-07T22:14:14.828Z] total 224 [2021-04-07T22:14:14.828Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 22:14 . [2021-04-07T22:14:14.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 22:10 .. [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 22:10 .dockerignore [2021-04-07T22:14:14.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 22:10 .git [2021-04-07T22:14:14.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 22:10 .github [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 7 22:10 .gitignore [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 7 22:10 Dockerfile.build [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 7 22:10 Jenkinsfile [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 22:10 LICENSE [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 7 22:10 Makefile [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 7 22:10 README.md [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 7 22:10 RELEASE-NOTES.txt [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 22:08 VERSION [2021-04-07T22:14:14.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 22:10 bin [2021-04-07T22:14:14.828Z] -rw-r--r-- 1 jenkins jenkins 99189 Apr 7 22:13 coverage.out [2021-04-07T22:14:14.828Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 22:10 example [2021-04-07T22:14:14.828Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 7 22:14 go.mod [2021-04-07T22:14:14.828Z] -rw-r--r-- 1 jenkins jenkins 20726 Apr 7 22:14 go.sum [2021-04-07T22:14:14.828Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 22:10 internal [2021-04-07T22:14:14.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 22:10 openapi [2021-04-07T22:14:14.828Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 22:10 pkg [2021-04-07T22:14:14.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 22:10 snap [2021-04-07T22:14:14.828Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 22:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:14:15.198Z] + 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=7a59099b22a9388dfc6249f76e984302afe3ad87 --label arch=arm64 --label version=0.0.0 . [2021-04-07T22:14:15.798Z] Sending build context to Docker daemon 2.513MB [2021-04-07T22:14:15.798Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T22:14:15.798Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T22:14:15.798Z] ---> 28169e1a0efd [2021-04-07T22:14:15.798Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T22:14:15.798Z] ---> Running in 7a9c31c565fa [2021-04-07T22:14:16.394Z] Removing intermediate container 7a9c31c565fa [2021-04-07T22:14:16.394Z] ---> 461fb6935fce [2021-04-07T22:14:16.394Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T22:14:16.394Z] ---> Running in b3df5c2ba43f [2021-04-07T22:14:16.995Z] Removing intermediate container b3df5c2ba43f [2021-04-07T22:14:16.995Z] ---> 9ec4ecd0f466 [2021-04-07T22:14:16.995Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T22:14:16.995Z] ---> Running in dac1609977e9 [2021-04-07T22:14:19.611Z] Removing intermediate container dac1609977e9 [2021-04-07T22:14:19.611Z] ---> 01b04d15f97d [2021-04-07T22:14:19.611Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T22:14:19.611Z] ---> Running in 165729b9e96e [2021-04-07T22:14:20.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T22:14:21.180Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T22:14:21.773Z] OK: 144 MiB in 45 packages [2021-04-07T22:14:22.753Z] Removing intermediate container 165729b9e96e [2021-04-07T22:14:22.753Z] ---> 2236227daa34 [2021-04-07T22:14:22.753Z] Step 7/23 : COPY . . [2021-04-07T22:14:24.184Z] ---> 4ac59291f166 [2021-04-07T22:14:24.184Z] Step 8/23 : RUN go mod download [2021-04-07T22:14:24.184Z] ---> Running in 4a502654d0c1 [2021-04-07T22:14:26.809Z] Removing intermediate container 4a502654d0c1 [2021-04-07T22:14:26.809Z] ---> d758df677fb5 [2021-04-07T22:14:26.809Z] Step 9/23 : RUN make build [2021-04-07T22:14:26.809Z] ---> Running in 940d85206429 [2021-04-07T22:14:27.787Z] 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-07T22:15:00.159Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T22:15:03.556Z] Removing intermediate container 940d85206429 [2021-04-07T22:15:03.556Z] ---> 80fa1bfb8d4e [2021-04-07T22:15:03.556Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T22:15:03.826Z] 3.12: Pulling from library/alpine [2021-04-07T22:15:04.099Z] 9a219e8acc52: Pulling fs layer [2021-04-07T22:15:04.100Z] 9a219e8acc52: Verifying Checksum [2021-04-07T22:15:04.100Z] 9a219e8acc52: Download complete [2021-04-07T22:15:04.704Z] 9a219e8acc52: Pull complete [2021-04-07T22:15:04.704Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T22:15:04.704Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T22:15:04.704Z] ---> d75e27dfc0a0 [2021-04-07T22:15:04.704Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T22:15:04.983Z] ---> Running in 17390cb696aa [2021-04-07T22:15:05.576Z] Removing intermediate container 17390cb696aa [2021-04-07T22:15:05.576Z] ---> 624544b846b7 [2021-04-07T22:15:05.576Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T22:15:05.576Z] ---> Running in 1efc70a529c1 [2021-04-07T22:15:07.543Z] Removing intermediate container 1efc70a529c1 [2021-04-07T22:15:07.543Z] ---> 34f4c9cd6f02 [2021-04-07T22:15:07.543Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T22:15:07.816Z] ---> Running in d2ba001b7265 [2021-04-07T22:15:08.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T22:15:09.402Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T22:15:10.379Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T22:15:10.379Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T22:15:10.379Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T22:15:10.661Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T22:15:10.661Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T22:15:10.661Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T22:15:10.661Z] OK: 8 MiB in 19 packages [2021-04-07T22:15:12.098Z] Removing intermediate container d2ba001b7265 [2021-04-07T22:15:12.099Z] ---> 213686e5a0ac [2021-04-07T22:15:12.099Z] Step 14/23 : WORKDIR / [2021-04-07T22:15:12.099Z] ---> Running in 527204da19df [2021-04-07T22:15:12.696Z] Removing intermediate container 527204da19df [2021-04-07T22:15:12.696Z] ---> c234258ff85c [2021-04-07T22:15:12.696Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T22:15:13.679Z] ---> a5675808ef67 [2021-04-07T22:15:13.679Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T22:15:14.658Z] ---> f711b8574787 [2021-04-07T22:15:14.658Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T22:15:15.250Z] ---> a92cec506db9 [2021-04-07T22:15:15.250Z] Step 18/23 : EXPOSE 49990 [2021-04-07T22:15:15.522Z] ---> Running in 8e17b6396355 [2021-04-07T22:15:16.122Z] Removing intermediate container 8e17b6396355 [2021-04-07T22:15:16.122Z] ---> 75dac336962c [2021-04-07T22:15:16.122Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T22:15:16.122Z] ---> Running in 2b3cbd708866 [2021-04-07T22:15:16.719Z] Removing intermediate container 2b3cbd708866 [2021-04-07T22:15:16.719Z] ---> db5cb31f80a6 [2021-04-07T22:15:16.719Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T22:15:16.719Z] ---> Running in a17d87af67a3 [2021-04-07T22:15:16.992Z] Removing intermediate container a17d87af67a3 [2021-04-07T22:15:16.992Z] ---> c8e9fa10a96f [2021-04-07T22:15:16.992Z] Step 21/23 : LABEL arch=arm64 [2021-04-07T22:15:17.265Z] ---> Running in 27182bc9b3b5 [2021-04-07T22:15:17.862Z] Removing intermediate container 27182bc9b3b5 [2021-04-07T22:15:17.862Z] ---> 541df988e325 [2021-04-07T22:15:17.862Z] Step 22/23 : LABEL git_sha=7a59099b22a9388dfc6249f76e984302afe3ad87 [2021-04-07T22:15:17.862Z] ---> Running in 6f2db405d4c4 [2021-04-07T22:15:18.456Z] Removing intermediate container 6f2db405d4c4 [2021-04-07T22:15:18.456Z] ---> e0e77dedda2d [2021-04-07T22:15:18.456Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T22:15:18.456Z] ---> Running in 4dd884000426 [2021-04-07T22:15:19.051Z] Removing intermediate container 4dd884000426 [2021-04-07T22:15:19.051Z] ---> 8de41f48dd8d [2021-04-07T22:15:19.051Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T22:15:19.051Z] Successfully built 8de41f48dd8d [2021-04-07T22:15:19.051Z] 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-07T22:15:20.090Z] ---> job-cost.sh [2021-04-07T22:15:20.091Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EE5f [2021-04-07T22:15:59.050Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T22:17:35.843Z] lf-activate-venv(): INFO: Adding /tmp/venv-EE5f/bin to PATH [2021-04-07T22:17:35.843Z] INFO: No Stack... [2021-04-07T22:17:35.843Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-07T22:17:35.843Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T22:17:36.212Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, [2021-04-07T22:17:36.212Z] -f6 [Pipeline] lock [2021-04-07T22:17:36.361Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-867-1-stack-cost] [2021-04-07T22:17:36.367Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-867-1-stack-cost] did not exist. Created. [2021-04-07T22:17:36.367Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-867-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T22:17:36.903Z] /w/workspace/device-sdk-go/1@tmp/durable-5b83d2e7/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-5b83d2e7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-07T22:17:37.283Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-07T22:17:37.325Z] Warning: overwriting stash ‘stack-cost’ [2021-04-07T22:17:37.474Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T22:17:37.496Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-867-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-07T22:17:39.420Z] provisioning config files... [2021-04-07T22:17:39.442Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/config1407530070159003415tmp [Pipeline] { [Pipeline] sh [2021-04-07T22:17:40.032Z] + set +x [2021-04-07T22:17:40.032Z] + curl -s https://codecov.io/bash [2021-04-07T22:17:40.032Z] + bash -s -- [2021-04-07T22:17:40.367Z] [2021-04-07T22:17:40.367Z] _____ _ [2021-04-07T22:17:40.367Z] / ____| | | [2021-04-07T22:17:40.367Z] | | ___ __| | ___ ___ _____ __ [2021-04-07T22:17:40.367Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-07T22:17:40.367Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-07T22:17:40.367Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-07T22:17:40.367Z] Bash-20210309-2b87ace [2021-04-07T22:17:40.367Z] [2021-04-07T22:17:40.367Z] [2021-04-07T22:17:40.367Z] ==> git version 2.24.3 found [2021-04-07T22:17:40.367Z] ==> 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-07T22:17:40.367Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-07T22:17:40.367Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-07T22:17:40.367Z] ==> Jenkins CI detected. [2021-04-07T22:17:40.367Z] project root: . [2021-04-07T22:17:40.367Z] --> token set from env [2021-04-07T22:17:40.689Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-07T22:17:40.689Z] ==> Running gcov in . (disable via -X gcov) [2021-04-07T22:17:40.689Z] ==> Python coveragepy not found [2021-04-07T22:17:40.689Z] ==> Searching for coverage reports in: [2021-04-07T22:17:40.689Z] + . [2021-04-07T22:17:40.964Z] -> Found 1 reports [2021-04-07T22:17:40.964Z] ==> Detecting git/mercurial file structure [2021-04-07T22:17:40.964Z] ==> Reading reports [2021-04-07T22:17:40.964Z] + ./coverage.out bytes=99189 [2021-04-07T22:17:40.964Z] ==> Appending adjustments [2021-04-07T22:17:40.964Z] https://docs.codecov.io/docs/fixing-reports [2021-04-07T22:17:41.628Z] + Found adjustments [2021-04-07T22:17:41.628Z] ==> Gzipping contents [2021-04-07T22:17:41.628Z] 16K /tmp/codecov.CEZ0Yi.gz [2021-04-07T22:17:41.628Z] ==> Uploading reports [2021-04-07T22:17:41.628Z] url: https://codecov.io [2021-04-07T22:17:41.628Z] query: branch=PR-867&commit=7a59099b22a9388dfc6249f76e984302afe3ad87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-867%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=867&job=&cmd_args= [2021-04-07T22:17:41.628Z] -> Pinging Codecov [2021-04-07T22:17:41.628Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-867&commit=7a59099b22a9388dfc6249f76e984302afe3ad87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-867%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=867&job=&cmd_args= [2021-04-07T22:17:42.267Z] -> Uploading to [2021-04-07T22:17:42.267Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-07/7E55EF52A471D76F132DFD9A03CDDE97/7a59099b22a9388dfc6249f76e984302afe3ad87/b9630771-7ffb-4a9c-8e55-141e68a14dff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T221742Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6aab2df37515a2011c55b3abcfdfb0909d9730a4ade0b1aa506fc901ecb89ca9 [2021-04-07T22:17:42.267Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-07T22:17:42.267Z] Dload Upload Total Spent Left Speed [2021-04-07T22:17:42.869Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13369 0 0 100 13369 0 27049 --:--:-- --:--:-- --:--:-- 27117 [2021-04-07T22:17:42.869Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7a59099b22a9388dfc6249f76e984302afe3ad87 [Pipeline] } [2021-04-07T22:17:42.909Z] 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-07T22:17:46.612Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:17:47.910Z] ---> package-listing.sh [2021-04-07T22:17:47.910Z] ++ facter osfamily [2021-04-07T22:17:47.910Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T22:17:48.183Z] + OS_FAMILY=redhat [2021-04-07T22:17:48.183Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-867 [2021-04-07T22:17:48.183Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T22:17:48.183Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T22:17:48.183Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T22:17:48.183Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T22:17:48.183Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-867 ']' [2021-04-07T22:17:48.183Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T22:17:48.183Z] + case "${OS_FAMILY}" in [2021-04-07T22:17:48.183Z] + rpm -qa [2021-04-07T22:17:48.183Z] + sort [2021-04-07T22:17:56.720Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T22:17:56.720Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T22:17:56.720Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T22:17:56.720Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-867 ']' [2021-04-07T22:17:56.720Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-867/archives/ [2021-04-07T22:17:56.720Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-867/archives/ [Pipeline] echo [2021-04-07T22:17:56.782Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-867/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-07T22:17:57.128Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:17:57.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:17:58.211Z] [2021-04-07T22:17:58.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:17:58.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:17:59.496Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T22:17:59.496Z] df20fa9351a1: Pulling fs layer [2021-04-07T22:17:59.496Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T22:17:59.496Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T22:17:59.496Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T22:17:59.496Z] 93b61091891f: Pulling fs layer [2021-04-07T22:17:59.496Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T22:17:59.496Z] 5e14af77c1be: Pulling fs layer [2021-04-07T22:17:59.496Z] 01666e4c0597: Pulling fs layer [2021-04-07T22:17:59.496Z] aa168da1d23b: Pulling fs layer [2021-04-07T22:17:59.496Z] 46f8f816bc3b: Waiting [2021-04-07T22:17:59.496Z] 01666e4c0597: Waiting [2021-04-07T22:17:59.496Z] aa168da1d23b: Waiting [2021-04-07T22:17:59.496Z] 93b61091891f: Waiting [2021-04-07T22:17:59.496Z] 93b9cdb0e59b: Waiting [2021-04-07T22:17:59.496Z] 5e14af77c1be: Waiting [2021-04-07T22:17:59.496Z] 36b3adc4ff6f: Verifying Checksum [2021-04-07T22:17:59.496Z] 36b3adc4ff6f: Download complete [2021-04-07T22:18:00.199Z] 46f8f816bc3b: Download complete [2021-04-07T22:18:00.670Z] df20fa9351a1: Verifying Checksum [2021-04-07T22:18:00.670Z] df20fa9351a1: Download complete [2021-04-07T22:18:00.670Z] 93b9cdb0e59b: Verifying Checksum [2021-04-07T22:18:00.670Z] 93b9cdb0e59b: Download complete [2021-04-07T22:18:00.670Z] 5e14af77c1be: Verifying Checksum [2021-04-07T22:18:00.670Z] 5e14af77c1be: Download complete [2021-04-07T22:18:00.670Z] 01666e4c0597: Verifying Checksum [2021-04-07T22:18:00.670Z] 01666e4c0597: Download complete [2021-04-07T22:18:00.670Z] 93b61091891f: Download complete [2021-04-07T22:18:00.974Z] df20fa9351a1: Pull complete [2021-04-07T22:18:01.334Z] 36b3adc4ff6f: Pull complete [2021-04-07T22:18:02.080Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T22:18:02.080Z] 8ad3a11d3b57: Download complete [2021-04-07T22:18:04.927Z] 8ad3a11d3b57: Pull complete [2021-04-07T22:18:05.250Z] 46f8f816bc3b: Pull complete [2021-04-07T22:18:06.297Z] 93b61091891f: Pull complete [2021-04-07T22:18:06.668Z] 93b9cdb0e59b: Pull complete [2021-04-07T22:18:06.997Z] 5e14af77c1be: Pull complete [2021-04-07T22:18:07.267Z] 01666e4c0597: Pull complete [2021-04-07T22:18:09.378Z] aa168da1d23b: Verifying Checksum [2021-04-07T22:18:09.378Z] aa168da1d23b: Download complete [2021-04-07T22:18:28.510Z] aa168da1d23b: Pull complete [2021-04-07T22:18:28.510Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T22:18:28.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:18:28.510Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T22:18:29.282Z] prd-centos7-docker-4c-2g-33197 does not seem to be running inside a container [2021-04-07T22:18:29.751Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-867/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-867 -v /w/workspace/dgexfoundry_device-sdk-go_PR-867:/w/workspace/dgexfoundry_device-sdk-go_PR-867:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-07T22:18:32.228Z] $ docker top 61f0e5023f3e01eb20411b58655ca7f6fa29c76750cb4253ff3ae36f6d460b92 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:18:33.065Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T22:18:33.483Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T22:18:35.260Z] + ls /var/log/sa-host [2021-04-07T22:18:35.260Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T22:18:35.260Z] file_magic: OK [2021-04-07T22:18:35.260Z] HZ: Using current value: 100 [2021-04-07T22:18:35.260Z] file_header: OK [2021-04-07T22:18:35.260Z] 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-07T22:18:35.260Z] Statistics: [2021-04-07T22:18:35.260Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T22:18:35.260Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T22:18:35.260Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T22:18:35.261Z] file_magic: OK [2021-04-07T22:18:35.261Z] HZ: Using current value: 100 [2021-04-07T22:18:35.261Z] file_header: OK [2021-04-07T22:18:35.261Z] 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-07T22:18:35.261Z] Statistics: [2021-04-07T22:18:35.261Z] Hnuu...uuuununununu... [2021-04-07T22:18:35.261Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T22:18:36.096Z] provisioning config files... [2021-04-07T22:18:36.129Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp/config2019249007869112339tmp [Pipeline] { [Pipeline] echo [2021-04-07T22:18:36.265Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:18:37.294Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T22:18:37.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T22:18:37.820Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:18:38.241Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T22:18:38.276Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:18:39.019Z] ---> sudo-logs.sh [2021-04-07T22:18:39.019Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T22:18:39.140Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:18:39.499Z] ---> job-cost.sh [2021-04-07T22:18:39.783Z] lf-activate-venv: SKIPPING [2021-04-07T22:18:39.783Z] DEBUG: total: 0.20999999344348907 [2021-04-07T22:18:39.783Z] INFO: Retrieving Stack Cost... [2021-04-07T22:18:41.205Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T22:18:41.857Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T22:18:41.907Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:18:42.651Z] ---> logs-deploy.sh [2021-04-07T22:18:42.651Z] lf-activate-venv: SKIPPING [2021-04-07T22:18:42.651Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-867/1 [2021-04-07T22:18:42.651Z] INFO: archiving workspace using pattern(s): [2021-04-07T22:18:46.231Z] Archives upload complete. [2021-04-07T22:18:46.231Z] INFO: archiving logs to Nexus [2021-04-07T22:18:48.329Z] ---> uname -a: [2021-04-07T22:18:48.329Z] Linux prd-centos7-docker-4c-2g-33197.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] ---> lscpu: [2021-04-07T22:18:48.329Z] Architecture: x86_64 [2021-04-07T22:18:48.329Z] CPU op-mode(s): 32-bit, 64-bit [2021-04-07T22:18:48.329Z] Byte Order: Little Endian [2021-04-07T22:18:48.329Z] Address sizes: 40 bits physical, 48 bits virtual [2021-04-07T22:18:48.329Z] CPU(s): 4 [2021-04-07T22:18:48.329Z] On-line CPU(s) list: 0-3 [2021-04-07T22:18:48.329Z] Thread(s) per core: 1 [2021-04-07T22:18:48.329Z] Core(s) per socket: 1 [2021-04-07T22:18:48.329Z] Socket(s): 4 [2021-04-07T22:18:48.329Z] NUMA node(s): 1 [2021-04-07T22:18:48.329Z] Vendor ID: GenuineIntel [2021-04-07T22:18:48.329Z] CPU family: 6 [2021-04-07T22:18:48.329Z] Model: 44 [2021-04-07T22:18:48.329Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-04-07T22:18:48.329Z] Stepping: 1 [2021-04-07T22:18:48.329Z] CPU MHz: 2933.438 [2021-04-07T22:18:48.329Z] BogoMIPS: 5866.87 [2021-04-07T22:18:48.329Z] Virtualization: VT-x [2021-04-07T22:18:48.329Z] Hypervisor vendor: KVM [2021-04-07T22:18:48.329Z] Virtualization type: full [2021-04-07T22:18:48.329Z] L1d cache: 128 KiB [2021-04-07T22:18:48.329Z] L1i cache: 128 KiB [2021-04-07T22:18:48.329Z] L2 cache: 16 MiB [2021-04-07T22:18:48.329Z] L3 cache: 64 MiB [2021-04-07T22:18:48.329Z] NUMA node0 CPU(s): 0-3 [2021-04-07T22:18:48.329Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-04-07T22:18:48.329Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-04-07T22:18:48.329Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-04-07T22:18:48.329Z] Vulnerability Meltdown: Mitigation; PTI [2021-04-07T22:18:48.329Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-04-07T22:18:48.329Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-04-07T22:18:48.329Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-04-07T22:18:48.329Z] Vulnerability Srbds: Not affected [2021-04-07T22:18:48.329Z] Vulnerability Tsx async abort: Not affected [2021-04-07T22:18:48.329Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] ---> nproc: [2021-04-07T22:18:48.329Z] 4 [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] ---> df -h: [2021-04-07T22:18:48.329Z] Filesystem Size Used Available Use% Mounted on [2021-04-07T22:18:48.329Z] overlay 50.0G 7.3G 42.7G 15% / [2021-04-07T22:18:48.329Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-04-07T22:18:48.329Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-04-07T22:18:48.329Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-867 [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-867@tmp [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-04-07T22:18:48.329Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] ---> free -m: [2021-04-07T22:18:48.329Z] total used free shared buff/cache available [2021-04-07T22:18:48.329Z] Mem: 1837 737 102 0 997 994 [2021-04-07T22:18:48.329Z] Swap: 1023 1 1022 [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z] ---> ip addr: [2021-04-07T22:18:48.329Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-04-07T22:18:48.329Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-04-07T22:18:48.329Z] inet 127.0.0.1/8 scope host lo [2021-04-07T22:18:48.329Z] valid_lft forever preferred_lft forever [2021-04-07T22:18:48.329Z] inet6 ::1/128 scope host [2021-04-07T22:18:48.329Z] valid_lft forever preferred_lft forever [2021-04-07T22:18:48.329Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-04-07T22:18:48.329Z] link/ether fa:16:3e:bd:03:11 brd ff:ff:ff:ff:ff:ff [2021-04-07T22:18:48.329Z] inet 10.30.123.203/23 brd 10.30.123.255 scope global dynamic eth0 [2021-04-07T22:18:48.329Z] valid_lft 85639sec preferred_lft 85639sec [2021-04-07T22:18:48.329Z] inet6 fe80::f816:3eff:febd:311/64 scope link [2021-04-07T22:18:48.329Z] valid_lft forever preferred_lft forever [2021-04-07T22:18:48.329Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-04-07T22:18:48.329Z] link/ether 02:42:3d:c7:1d:f9 brd ff:ff:ff:ff:ff:ff [2021-04-07T22:18:48.329Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-04-07T22:18:48.329Z] valid_lft forever preferred_lft forever [2021-04-07T22:18:48.329Z] inet6 fe80::42:3dff:fec7:1df9/64 scope link [2021-04-07T22:18:48.329Z] valid_lft forever preferred_lft forever [2021-04-07T22:18:48.329Z] [2021-04-07T22:18:48.329Z]