Pull request #833 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 0699ac1c52d75de8326690523b0c234d7b3fdcc8+e522836f5d508ce20413c5d2a08a926bd2b9771b (8be7ab0116b930c8b3031b1ec3c01cb49a091641) 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-833/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-833/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-31103 in /w/workspace/dgexfoundry_device-sdk-go_PR-833 [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-833 # 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/833/head:refs/remotes/origin/PR-833 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 0699ac1c52d75de8326690523b0c234d7b3fdcc8 Merge succeeded, producing 0699ac1c52d75de8326690523b0c234d7b3fdcc8 Checking out Revision 0699ac1c52d75de8326690523b0c234d7b3fdcc8 (PR-833) > git config core.sparsecheckout # timeout=10 > git checkout -f 0699ac1c52d75de8326690523b0c234d7b3fdcc8 # 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 e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0699ac1c52d75de8326690523b0c234d7b3fdcc8 # timeout=10 Commit message: "feat: Add support for structured custom configuration" 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-03-23T17:27:54.849Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-23T17:27:55.222Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-23T17:27:55.473Z] ========================================================= [2021-03-23T17:27:55.473Z] EdgeX Global Pipelines Version Info [2021-03-23T17:27:55.473Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:27:57.027Z] ------------------- [2021-03-23T17:27:57.027Z] stable info: [2021-03-23T17:27:57.027Z] ------------------- [2021-03-23T17:27:57.027Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-23T17:27:57.027Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-23T17:27:57.027Z] Message: update stable to v1.0.186 [2021-03-23T17:27:57.974Z] ------------------- [2021-03-23T17:27:57.974Z] experimental info: [2021-03-23T17:27:57.974Z] ------------------- [2021-03-23T17:27:57.974Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-23T17:27:57.975Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-23T17:27:57.975Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-23T17:27:58.463Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-23T17:27:58.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-23T17:27:58.738Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-23T17:27:58.888Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-23T17:27:59.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-23T17:27:59.298Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-23T17:27:59.430Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-23T17:27:59.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-23T17:27:59.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-23T17:27:59.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-23T17:27:59.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-23T17:28:00.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-23T17:28:00.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-23T17:28:00.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-23T17:28:00.612Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-23T17:28:00.778Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T17:28:00.938Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T17:28:01.088Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T17:28:01.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-23T17:28:01.346Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-23T17:28:01.468Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-23T17:28:01.594Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-23T17:28:01.717Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-23T17:28:01.881Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-23T17:28:02.051Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-23T17:28:02.222Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-23T17:28:02.398Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-833 [Pipeline] echo [2021-03-23T17:28:02.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-833 [Pipeline] echo [2021-03-23T17:28:02.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-833 [Pipeline] echo [2021-03-23T17:28:02.838Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0699ac1c52d75de8326690523b0c234d7b3fdcc8 [Pipeline] echo [2021-03-23T17:28:02.962Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0699ac1 [Pipeline] echo [2021-03-23T17:28:03.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T17:28:03.344Z] provisioning config files... [2021-03-23T17:28:03.375Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config6599179005463060226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:28:03.799Z] ---> docker-login.sh [2021-03-23T17:28:03.799Z] nexus3.edgexfoundry.org:10001 [2021-03-23T17:28:04.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:28:04.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:28:04.061Z] Configure a credential helper to remove this warning. See [2021-03-23T17:28:04.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:28:04.061Z] [2021-03-23T17:28:04.061Z] Login Succeeded [2021-03-23T17:28:04.061Z] nexus3.edgexfoundry.org:10002 [2021-03-23T17:28:04.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:28:04.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:28:04.326Z] Configure a credential helper to remove this warning. See [2021-03-23T17:28:04.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:28:04.326Z] [2021-03-23T17:28:04.326Z] Login Succeeded [2021-03-23T17:28:04.326Z] nexus3.edgexfoundry.org:10003 [2021-03-23T17:28:04.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:28:04.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:28:04.589Z] Configure a credential helper to remove this warning. See [2021-03-23T17:28:04.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:28:04.589Z] [2021-03-23T17:28:04.589Z] Login Succeeded [2021-03-23T17:28:04.589Z] nexus3.edgexfoundry.org:10004 [2021-03-23T17:28:04.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:28:04.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:28:04.589Z] Configure a credential helper to remove this warning. See [2021-03-23T17:28:04.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:28:04.589Z] [2021-03-23T17:28:04.589Z] Login Succeeded [2021-03-23T17:28:04.589Z] docker.io [2021-03-23T17:28:04.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:28:05.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:28:05.111Z] Configure a credential helper to remove this warning. See [2021-03-23T17:28:05.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:28:05.111Z] [2021-03-23T17:28:05.111Z] Login Succeeded [2021-03-23T17:28:05.111Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T17:28:05.134Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T17:28:06.206Z] + git log --format=format:%s -1 0699ac1c52d75de8326690523b0c234d7b3fdcc8 [Pipeline] echo [2021-03-23T17:28:06.304Z] GIT_COMMIT: 0699ac1c52d75de8326690523b0c234d7b3fdcc8, Commit Message: feat: Add support for structured custom configuration [Pipeline] echo [2021-03-23T17:28:06.384Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:28:07.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T17:28:07.569Z] [2021-03-23T17:28:07.569Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:28:07.974Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T17:28:07.974Z] latest: Pulling from edgex-devops/git-semver [2021-03-23T17:28:07.974Z] 31603596830f: Pulling fs layer [2021-03-23T17:28:07.974Z] 2a8b12db71e7: Pulling fs layer [2021-03-23T17:28:07.974Z] 6ca5941a6612: Pulling fs layer [2021-03-23T17:28:07.974Z] ecc8261a40a4: Pulling fs layer [2021-03-23T17:28:07.974Z] ecc8261a40a4: Waiting [2021-03-23T17:28:07.974Z] 2a8b12db71e7: Verifying Checksum [2021-03-23T17:28:07.974Z] 2a8b12db71e7: Download complete [2021-03-23T17:28:07.974Z] 31603596830f: Verifying Checksum [2021-03-23T17:28:07.974Z] 31603596830f: Download complete [2021-03-23T17:28:08.250Z] 6ca5941a6612: Verifying Checksum [2021-03-23T17:28:08.250Z] 6ca5941a6612: Download complete [2021-03-23T17:28:08.250Z] 31603596830f: Pull complete [2021-03-23T17:28:08.525Z] ecc8261a40a4: Verifying Checksum [2021-03-23T17:28:08.525Z] ecc8261a40a4: Download complete [2021-03-23T17:28:08.525Z] 2a8b12db71e7: Pull complete [2021-03-23T17:28:09.117Z] 6ca5941a6612: Pull complete [2021-03-23T17:28:09.705Z] ecc8261a40a4: Pull complete [2021-03-23T17:28:09.705Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-23T17:28:09.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T17:28:09.705Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-23T17:28:09.845Z] prd-centos7-docker-4c-2g-31103 does not seem to be running inside a container [2021-03-23T17:28:09.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-833 -v /w/workspace/dgexfoundry_device-sdk-go_PR-833:/w/workspace/dgexfoundry_device-sdk-go_PR-833:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-833@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-23T17:28:11.927Z] $ docker top 35f0cf78d3cd26ed4a09ea744a8b1a914abe1966d440cda80d0e4a2768b83b3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-23T17:28:12.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T17:28:12.290Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T17:28:12.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T17:28:12.481Z] $ docker exec 35f0cf78d3cd26ed4a09ea744a8b1a914abe1966d440cda80d0e4a2768b83b3c ssh-agent [2021-03-23T17:28:12.647Z] SSH_AUTH_SOCK=/tmp/ssh-bxwQBDvLkEjV/agent.11 [2021-03-23T17:28:12.647Z] SSH_AGENT_PID=17 [2021-03-23T17:28:12.754Z] Running ssh-add (command line suppressed) [2021-03-23T17:28:12.875Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_7159036276056945793.key (/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_7159036276056945793.key) [2021-03-23T17:28:12.923Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T17:28:13.301Z] + git tag --points-at HEAD [Pipeline] } [2021-03-23T17:28:13.332Z] $ docker exec --env ******** --env ******** 35f0cf78d3cd26ed4a09ea744a8b1a914abe1966d440cda80d0e4a2768b83b3c ssh-agent -k [2021-03-23T17:28:13.439Z] unset SSH_AUTH_SOCK; [2021-03-23T17:28:13.440Z] unset SSH_AGENT_PID; [2021-03-23T17:28:13.440Z] echo Agent pid 17 killed; [2021-03-23T17:28:13.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-23T17:28:13.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T17:28:13.717Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T17:28:13.879Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T17:28:13.883Z] $ docker exec 35f0cf78d3cd26ed4a09ea744a8b1a914abe1966d440cda80d0e4a2768b83b3c ssh-agent [2021-03-23T17:28:14.040Z] SSH_AUTH_SOCK=/tmp/ssh-NiTsBnC5KPSV/agent.47 [2021-03-23T17:28:14.040Z] SSH_AGENT_PID=53 [2021-03-23T17:28:14.047Z] Running ssh-add (command line suppressed) [2021-03-23T17:28:14.167Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_4713239740952936825.key (/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_4713239740952936825.key) [2021-03-23T17:28:14.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T17:28:14.603Z] + git semver init [2021-03-23T17:28:14.603Z] # -> Open(): unable to determine branch for HEAD [2021-03-23T17:28:14.603Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-833/.git [2021-03-23T17:28:14.603Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-833 [2021-03-23T17:28:14.603Z] # $SEMVER_REMOTE_NAME = origin [2021-03-23T17:28:14.603Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-23T17:28:14.603Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-23T17:28:14.603Z] # $SEMVER_BRANCH = PR-833 [2021-03-23T17:28:14.603Z] # $SEMVER_TEMP = /tmp/semver-181082315 [2021-03-23T17:28:14.603Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-23T17:28:15.187Z] # '/tmp/semver-181082315' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-833/.semver' [2021-03-23T17:28:15.187Z] # -> Force: false [2021-03-23T17:28:15.187Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-833/.semver [Pipeline] } [2021-03-23T17:28:15.207Z] $ docker exec --env ******** --env ******** 35f0cf78d3cd26ed4a09ea744a8b1a914abe1966d440cda80d0e4a2768b83b3c ssh-agent -k [2021-03-23T17:28:15.324Z] unset SSH_AUTH_SOCK; [2021-03-23T17:28:15.325Z] unset SSH_AGENT_PID; [2021-03-23T17:28:15.325Z] echo Agent pid 53 killed; [2021-03-23T17:28:15.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-23T17:28:15.970Z] + git semver [Pipeline] } [2021-03-23T17:28:16.001Z] $ docker stop --time=1 35f0cf78d3cd26ed4a09ea744a8b1a914abe1966d440cda80d0e4a2768b83b3c [2021-03-23T17:28:17.413Z] $ docker rm -f 35f0cf78d3cd26ed4a09ea744a8b1a914abe1966d440cda80d0e4a2768b83b3c [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-23T17:28:17.974Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-23T17:28:18.424Z] Stashed 1 file(s) [Pipeline] echo [2021-03-23T17:28:18.453Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-23T17:28:34.567Z] Still waiting to schedule task [2021-03-23T17:28:34.568Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31103’ [2021-03-23T17:28:34.597Z] Still waiting to schedule task [2021-03-23T17:28:34.597Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-23T17:30:30.579Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31104 in /w/workspace/dgexfoundry_device-sdk-go_PR-833 [Pipeline] { [Pipeline] ws [2021-03-23T17:30:30.696Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-23T17:30:35.892Z] using credential edgex-jenkins-ssh [2021-03-23T17:30:35.953Z] Cloning the remote Git repository [2021-03-23T17:30:36.008Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T17:30:36.124Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-23T17:30:36.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T17:30:36.196Z] > git --version # timeout=10 [2021-03-23T17:30:36.227Z] > git --version # 'git version 2.17.1' [2021-03-23T17:30:36.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T17:30:36.291Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T17:30:38.137Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 0699ac1c52d75de8326690523b0c234d7b3fdcc8 [2021-03-23T17:30:38.388Z] Merge succeeded, producing 0699ac1c52d75de8326690523b0c234d7b3fdcc8 [2021-03-23T17:30:38.388Z] Checking out Revision 0699ac1c52d75de8326690523b0c234d7b3fdcc8 (PR-833) [2021-03-23T17:30:37.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T17:30:37.448Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T17:30:37.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T17:30:37.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T17:30:37.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T17:30:37.535Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/833/head:refs/remotes/origin/PR-833 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-23T17:30:38.158Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T17:30:38.186Z] > git checkout -f 0699ac1c52d75de8326690523b0c234d7b3fdcc8 # timeout=10 [2021-03-23T17:30:38.292Z] > git remote # timeout=10 [2021-03-23T17:30:38.313Z] > git config --get remote.origin.url # timeout=10 [2021-03-23T17:30:38.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T17:30:38.342Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-23T17:30:38.366Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-23T17:30:38.395Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T17:30:38.416Z] > git checkout -f 0699ac1c52d75de8326690523b0c234d7b3fdcc8 # timeout=10 [2021-03-23T17:30:42.776Z] Commit message: "feat: Add support for structured custom configuration" [2021-03-23T17:30:42.836Z] > git --version # timeout=10 [2021-03-23T17:30:42.854Z] > git --version # 'git version 2.17.1' [2021-03-23T17:30:42.877Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T17:30:44.583Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-23T17:30:45.004Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-23T17:30:45.423Z] + true [2021-03-23T17:30:45.423Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T17:30:48.177Z] provisioning config files... [2021-03-23T17:30:48.250Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9069296292185038827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:30:48.759Z] ---> docker-login.sh [2021-03-23T17:30:48.759Z] nexus3.edgexfoundry.org:10001 [2021-03-23T17:30:49.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:30:49.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:30:49.975Z] Configure a credential helper to remove this warning. See [2021-03-23T17:30:49.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:30:49.975Z] [2021-03-23T17:30:49.975Z] Login Succeeded [2021-03-23T17:30:49.975Z] nexus3.edgexfoundry.org:10002 [2021-03-23T17:30:50.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:30:50.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:30:50.255Z] Configure a credential helper to remove this warning. See [2021-03-23T17:30:50.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:30:50.255Z] [2021-03-23T17:30:50.255Z] Login Succeeded [2021-03-23T17:30:50.528Z] nexus3.edgexfoundry.org:10003 [2021-03-23T17:30:50.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:30:50.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:30:50.805Z] Configure a credential helper to remove this warning. See [2021-03-23T17:30:50.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:30:50.806Z] [2021-03-23T17:30:50.806Z] Login Succeeded [2021-03-23T17:30:50.806Z] nexus3.edgexfoundry.org:10004 [2021-03-23T17:30:51.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:30:51.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:30:51.412Z] Configure a credential helper to remove this warning. See [2021-03-23T17:30:51.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:30:51.412Z] [2021-03-23T17:30:51.412Z] Login Succeeded [2021-03-23T17:30:51.412Z] docker.io [2021-03-23T17:30:51.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:30:52.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:30:52.280Z] Configure a credential helper to remove this warning. See [2021-03-23T17:30:52.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:30:52.280Z] [2021-03-23T17:30:52.280Z] Login Succeeded [2021-03-23T17:30:52.280Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T17:30:52.313Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-23T17:30:52.824Z] ========================================================= [2021-03-23T17:30:52.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-23T17:30:52.824Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:30:53.265Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-23T17:30:53.866Z] Sending build context to Docker daemon 2.315MB [2021-03-23T17:30:53.866Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T17:30:53.866Z] Step 2/8 : FROM ${BASE} [2021-03-23T17:30:53.866Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-23T17:30:53.866Z] 5f621e34cdf4: Pulling fs layer [2021-03-23T17:30:53.866Z] a4357932f1b6: Pulling fs layer [2021-03-23T17:30:53.866Z] 18c013af1878: Pulling fs layer [2021-03-23T17:30:53.866Z] 00ac8860ef70: Pulling fs layer [2021-03-23T17:30:53.866Z] 63d7cb157983: Pulling fs layer [2021-03-23T17:30:53.866Z] b116817d02f9: Pulling fs layer [2021-03-23T17:30:53.866Z] 745a02a5169b: Pulling fs layer [2021-03-23T17:30:53.866Z] 00ac8860ef70: Waiting [2021-03-23T17:30:53.866Z] 63d7cb157983: Waiting [2021-03-23T17:30:53.866Z] 745a02a5169b: Waiting [2021-03-23T17:30:53.866Z] b116817d02f9: Waiting [2021-03-23T17:30:53.866Z] 18c013af1878: Verifying Checksum [2021-03-23T17:30:53.866Z] 18c013af1878: Download complete [2021-03-23T17:30:53.866Z] a4357932f1b6: Download complete [2021-03-23T17:30:54.148Z] 63d7cb157983: Verifying Checksum [2021-03-23T17:30:54.148Z] 63d7cb157983: Download complete [2021-03-23T17:30:54.148Z] b116817d02f9: Verifying Checksum [2021-03-23T17:30:54.148Z] b116817d02f9: Download complete [2021-03-23T17:30:54.148Z] 5f621e34cdf4: Verifying Checksum [2021-03-23T17:30:54.148Z] 5f621e34cdf4: Download complete [2021-03-23T17:30:54.752Z] 5f621e34cdf4: Pull complete [2021-03-23T17:30:55.373Z] a4357932f1b6: Pull complete [2021-03-23T17:30:55.588Z] Running on prd-centos7-docker-4c-2g-31105 in /w/workspace/dgexfoundry_device-sdk-go_PR-833 [Pipeline] { [Pipeline] ws [2021-03-23T17:30:55.694Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-23T17:30:55.971Z] 18c013af1878: Pull complete [2021-03-23T17:30:56.259Z] 745a02a5169b: Verifying Checksum [2021-03-23T17:30:56.259Z] 745a02a5169b: Download complete [2021-03-23T17:30:57.709Z] 00ac8860ef70: Verifying Checksum [2021-03-23T17:30:57.709Z] 00ac8860ef70: Download complete [2021-03-23T17:30:58.142Z] using credential edgex-jenkins-ssh [2021-03-23T17:30:58.190Z] Cloning the remote Git repository [2021-03-23T17:30:58.245Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T17:30:58.315Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-23T17:30:58.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T17:30:58.377Z] > git --version # timeout=10 [2021-03-23T17:30:58.386Z] > git --version # 'git version 2.24.3' [2021-03-23T17:30:58.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T17:30:58.419Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T17:30:59.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T17:30:59.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T17:30:59.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T17:30:59.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T17:30:59.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T17:30:59.154Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/833/head:refs/remotes/origin/PR-833 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-23T17:30:59.621Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 0699ac1c52d75de8326690523b0c234d7b3fdcc8 [2021-03-23T17:30:59.717Z] Merge succeeded, producing 0699ac1c52d75de8326690523b0c234d7b3fdcc8 [2021-03-23T17:30:59.718Z] Checking out Revision 0699ac1c52d75de8326690523b0c234d7b3fdcc8 (PR-833) [2021-03-23T17:30:59.630Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T17:30:59.639Z] > git checkout -f 0699ac1c52d75de8326690523b0c234d7b3fdcc8 # timeout=10 [2021-03-23T17:30:59.682Z] > git remote # timeout=10 [2021-03-23T17:30:59.688Z] > git config --get remote.origin.url # timeout=10 [2021-03-23T17:30:59.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T17:30:59.699Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-23T17:30:59.711Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-23T17:30:59.720Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T17:30:59.724Z] > git checkout -f 0699ac1c52d75de8326690523b0c234d7b3fdcc8 # timeout=10 [2021-03-23T17:31:03.436Z] Commit message: "feat: Add support for structured custom configuration" [2021-03-23T17:31:03.466Z] > git --version # timeout=10 [2021-03-23T17:31:03.472Z] > git --version # 'git version 2.24.3' [2021-03-23T17:31:03.479Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T17:31:04.819Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-23T17:31:05.166Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-23T17:31:05.497Z] + sudo service docker restart [2021-03-23T17:31:05.497Z] + true [2021-03-23T17:31:05.497Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T17:31:06.573Z] provisioning config files... [2021-03-23T17:31:06.600Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1927051423480141487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:31:07.052Z] ---> docker-login.sh [2021-03-23T17:31:07.053Z] nexus3.edgexfoundry.org:10001 [2021-03-23T17:31:07.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:31:07.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:31:07.316Z] Configure a credential helper to remove this warning. See [2021-03-23T17:31:07.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:31:07.316Z] [2021-03-23T17:31:07.316Z] Login Succeeded [2021-03-23T17:31:07.316Z] nexus3.edgexfoundry.org:10002 [2021-03-23T17:31:07.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:31:07.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:31:07.578Z] Configure a credential helper to remove this warning. See [2021-03-23T17:31:07.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:31:07.578Z] [2021-03-23T17:31:07.578Z] Login Succeeded [2021-03-23T17:31:07.578Z] nexus3.edgexfoundry.org:10003 [2021-03-23T17:31:07.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:31:07.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:31:07.843Z] Configure a credential helper to remove this warning. See [2021-03-23T17:31:07.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:31:07.843Z] [2021-03-23T17:31:07.843Z] Login Succeeded [2021-03-23T17:31:07.843Z] nexus3.edgexfoundry.org:10004 [2021-03-23T17:31:07.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:31:07.941Z] 00ac8860ef70: Pull complete [2021-03-23T17:31:07.942Z] 63d7cb157983: Pull complete [2021-03-23T17:31:08.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:31:08.106Z] Configure a credential helper to remove this warning. See [2021-03-23T17:31:08.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:31:08.106Z] [2021-03-23T17:31:08.106Z] Login Succeeded [2021-03-23T17:31:08.106Z] docker.io [2021-03-23T17:31:08.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T17:31:08.212Z] b116817d02f9: Pull complete [2021-03-23T17:31:08.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T17:31:08.368Z] Configure a credential helper to remove this warning. See [2021-03-23T17:31:08.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T17:31:08.368Z] [2021-03-23T17:31:08.368Z] Login Succeeded [2021-03-23T17:31:08.368Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T17:31:08.391Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-23T17:31:08.938Z] ========================================================= [2021-03-23T17:31:08.938Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-23T17:31:08.938Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:31:09.316Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-23T17:31:09.595Z] Sending build context to Docker daemon 2.318MB [2021-03-23T17:31:09.596Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T17:31:09.596Z] Step 2/8 : FROM ${BASE} [2021-03-23T17:31:09.596Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-23T17:31:09.596Z] 188c0c94c7c5: Pulling fs layer [2021-03-23T17:31:09.596Z] 0ef7d3d256c8: Pulling fs layer [2021-03-23T17:31:09.596Z] de9db76c5a1d: Pulling fs layer [2021-03-23T17:31:09.596Z] bca2f99d35d6: Pulling fs layer [2021-03-23T17:31:09.596Z] 93359f2a8cfa: Pulling fs layer [2021-03-23T17:31:09.596Z] 7c6f9722023f: Pulling fs layer [2021-03-23T17:31:09.596Z] a35cf1a2eb13: Pulling fs layer [2021-03-23T17:31:09.596Z] 7c6f9722023f: Waiting [2021-03-23T17:31:09.596Z] bca2f99d35d6: Waiting [2021-03-23T17:31:09.596Z] 93359f2a8cfa: Waiting [2021-03-23T17:31:09.596Z] a35cf1a2eb13: Waiting [2021-03-23T17:31:09.596Z] de9db76c5a1d: Verifying Checksum [2021-03-23T17:31:09.596Z] de9db76c5a1d: Download complete [2021-03-23T17:31:09.596Z] 0ef7d3d256c8: Verifying Checksum [2021-03-23T17:31:09.596Z] 0ef7d3d256c8: Download complete [2021-03-23T17:31:09.596Z] 93359f2a8cfa: Download complete [2021-03-23T17:31:09.596Z] 188c0c94c7c5: Verifying Checksum [2021-03-23T17:31:09.596Z] 188c0c94c7c5: Download complete [2021-03-23T17:31:09.596Z] 7c6f9722023f: Verifying Checksum [2021-03-23T17:31:09.596Z] 7c6f9722023f: Download complete [2021-03-23T17:31:09.866Z] 188c0c94c7c5: Pull complete [2021-03-23T17:31:10.136Z] 0ef7d3d256c8: Pull complete [2021-03-23T17:31:10.403Z] de9db76c5a1d: Pull complete [2021-03-23T17:31:10.983Z] a35cf1a2eb13: Verifying Checksum [2021-03-23T17:31:10.983Z] a35cf1a2eb13: Download complete [2021-03-23T17:31:11.609Z] 745a02a5169b: Pull complete [2021-03-23T17:31:11.609Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-23T17:31:11.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-23T17:31:11.882Z] ---> b7e6874047d6 [2021-03-23T17:31:11.882Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T17:31:11.941Z] bca2f99d35d6: Verifying Checksum [2021-03-23T17:31:11.941Z] bca2f99d35d6: Download complete [2021-03-23T17:31:15.270Z] ---> Running in 89afe58cf085 [2021-03-23T17:31:15.270Z] Removing intermediate container 89afe58cf085 [2021-03-23T17:31:15.270Z] ---> 0bb2f72dec20 [2021-03-23T17:31:15.270Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T17:31:15.270Z] ---> Running in 05717441a509 [2021-03-23T17:31:17.273Z] bca2f99d35d6: Pull complete [2021-03-23T17:31:17.273Z] 93359f2a8cfa: Pull complete [2021-03-23T17:31:17.273Z] 7c6f9722023f: Pull complete [2021-03-23T17:31:17.909Z] Removing intermediate container 05717441a509 [2021-03-23T17:31:17.909Z] ---> 860790498161 [2021-03-23T17:31:17.909Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-23T17:31:17.909Z] ---> Running in 0b2b5a44bb1c [2021-03-23T17:31:18.894Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-23T17:31:19.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-23T17:31:20.465Z] OK: 142 MiB in 39 packages [2021-03-23T17:31:21.442Z] Removing intermediate container 0b2b5a44bb1c [2021-03-23T17:31:21.442Z] ---> a98b650ca433 [2021-03-23T17:31:21.442Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-23T17:31:21.442Z] ---> Running in 048ab2cc1b8d [2021-03-23T17:31:21.726Z] Removing intermediate container 048ab2cc1b8d [2021-03-23T17:31:21.726Z] ---> 9f16998fba6f [2021-03-23T17:31:21.726Z] Step 7/8 : COPY . . [2021-03-23T17:31:22.601Z] a35cf1a2eb13: Pull complete [2021-03-23T17:31:22.601Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-23T17:31:22.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-23T17:31:22.865Z] ---> a62c8e92a672 [2021-03-23T17:31:22.865Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T17:31:23.126Z] ---> Running in aae265dcca0b [2021-03-23T17:31:23.166Z] ---> ecad7a78e7cc [2021-03-23T17:31:23.166Z] Step 8/8 : RUN go mod download [2021-03-23T17:31:23.166Z] ---> Running in 425a45491ce9 [2021-03-23T17:31:23.390Z] Removing intermediate container aae265dcca0b [2021-03-23T17:31:23.390Z] ---> 379aa595ea7f [2021-03-23T17:31:23.390Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T17:31:23.390Z] ---> Running in e98837bf3a89 [2021-03-23T17:31:24.341Z] Removing intermediate container e98837bf3a89 [2021-03-23T17:31:24.341Z] ---> 18f101f55b4d [2021-03-23T17:31:24.341Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-23T17:31:24.341Z] ---> Running in 3551cf21fc8d [2021-03-23T17:31:25.742Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-23T17:31:26.318Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-23T17:31:26.893Z] OK: 166 MiB in 39 packages [2021-03-23T17:31:27.156Z] Removing intermediate container 3551cf21fc8d [2021-03-23T17:31:27.156Z] ---> 5a110e4b4f69 [2021-03-23T17:31:27.156Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-23T17:31:27.420Z] ---> Running in c50bfd184c5e [2021-03-23T17:31:27.420Z] Removing intermediate container c50bfd184c5e [2021-03-23T17:31:27.420Z] ---> 6e549781a0dd [2021-03-23T17:31:27.420Z] Step 7/8 : COPY . . [2021-03-23T17:31:28.822Z] ---> 42f4ea338dab [2021-03-23T17:31:28.822Z] Step 8/8 : RUN go mod download [2021-03-23T17:31:28.822Z] ---> Running in 0b32cce42a85 [2021-03-23T17:31:49.975Z] Removing intermediate container 425a45491ce9 [2021-03-23T17:31:49.975Z] ---> 141d6cc9a26c [2021-03-23T17:31:49.975Z] Successfully built 141d6cc9a26c [2021-03-23T17:31:49.975Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:31:50.352Z] + docker inspect -f . ci-base-image-arm64 [2021-03-23T17:31:50.352Z] . [Pipeline] withDockerContainer [2021-03-23T17:31:50.647Z] prd-ubuntu18.04-docker-arm64-4c-16g-31104 does not seem to be running inside a container [2021-03-23T17:31:50.724Z] $ 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-arm64 cat [2021-03-23T17:31:50.857Z] Removing intermediate container 0b32cce42a85 [2021-03-23T17:31:50.857Z] ---> 5cbba552f2fa [2021-03-23T17:31:50.857Z] Successfully built 5cbba552f2fa [2021-03-23T17:31:50.857Z] Successfully tagged ci-base-image-x86_64:latest [2021-03-23T17:31:52.192Z] $ docker top c119a451139c6caec6ac2546dc6eabf7b29a2898721e3b00eb51e7ef4e520d9e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:31:53.143Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-23T17:31:53.143Z] . [Pipeline] withDockerContainer [2021-03-23T17:31:53.287Z] prd-centos7-docker-4c-2g-31105 does not seem to be running inside a container [2021-03-23T17:31:53.313Z] + go version [2021-03-23T17:31:53.313Z] go version go1.15.5 linux/arm64 [2021-03-23T17:31:53.335Z] $ 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-03-23T17:31:54.138Z] $ docker top 0dc65e35d6898d6adaaa4bb933447f31724ffc9f65102e68c3fefcf6e712687f -eo pid,comm [Pipeline] { [Pipeline] } [2021-03-23T17:31:54.388Z] $ docker stop --time=1 c119a451139c6caec6ac2546dc6eabf7b29a2898721e3b00eb51e7ef4e520d9e [2021-03-23T17:31:56.336Z] $ docker rm -f c119a451139c6caec6ac2546dc6eabf7b29a2898721e3b00eb51e7ef4e520d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [2021-03-23T17:31:56.952Z] + go version [2021-03-23T17:31:56.952Z] go version go1.15.5 linux/amd64 [Pipeline] // stage [Pipeline] } [2021-03-23T17:31:57.042Z] $ docker stop --time=1 0dc65e35d6898d6adaaa4bb933447f31724ffc9f65102e68c3fefcf6e712687f [2021-03-23T17:31:58.415Z] $ docker rm -f 0dc65e35d6898d6adaaa4bb933447f31724ffc9f65102e68c3fefcf6e712687f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:31:59.465Z] + docker inspect -f . ci-base-image-arm64 [2021-03-23T17:31:59.465Z] . [Pipeline] withDockerContainer [2021-03-23T17:31:59.581Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-23T17:31:59.581Z] . [2021-03-23T17:31:59.741Z] prd-ubuntu18.04-docker-arm64-4c-16g-31104 does not seem to be running inside a container [2021-03-23T17:31:59.816Z] $ 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-arm64 cat [2021-03-23T17:32:01.248Z] $ docker top 8fe09a226b741688e016841844f6fa6213437545c66f1baa4184dfe67cec1a25 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-23T17:32:01.799Z] prd-centos7-docker-4c-2g-31105 does not seem to be running inside a container [2021-03-23T17:32:01.861Z] $ 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-03-23T17:32:02.611Z] $ docker top 125195eeeca7bab567ad93e54077d8c02eded13a00037c777dc6129b71c3e2d9 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-23T17:32:03.315Z] + make test [2021-03-23T17:32:03.315Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-23T17:32:03.582Z] + make test [2021-03-23T17:32:03.582Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-23T17:32:09.958Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-23T17:32:24.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-23T17:32:24.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-23T17:32:24.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-23T17:32:24.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-23T17:32:24.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-23T17:32:25.761Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-23T17:32:27.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 27.0% of statements [2021-03-23T17:32:28.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 81.2% of statements [2021-03-23T17:33:00.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.055s coverage: 10.5% of statements [2021-03-23T17:33:00.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-23T17:33:00.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-23T17:33:00.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 32.5% of statements [2021-03-23T17:33:00.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-23T17:33:00.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-23T17:33:00.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-23T17:33:00.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 57.3% of statements [2021-03-23T17:33:00.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.184s coverage: 6.6% of statements [2021-03-23T17:33:00.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements [2021-03-23T17:33:00.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-23T17:33:00.337Z] GO111MODULE=on go vet ./... [2021-03-23T17:33:04.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-23T17:33:04.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-23T17:33:04.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-23T17:33:04.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-23T17:33:04.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-23T17:33:06.991Z] gofmt -l . [2021-03-23T17:33:06.991Z] [ "`gofmt -l .`" = "" ] [2021-03-23T17:33:06.991Z] ./bin/test-attribution-txt.sh [2021-03-23T17:33:06.991Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-23T17:33:07.313Z] $ docker stop --time=1 125195eeeca7bab567ad93e54077d8c02eded13a00037c777dc6129b71c3e2d9 [2021-03-23T17:33:09.335Z] $ docker rm -f 125195eeeca7bab567ad93e54077d8c02eded13a00037c777dc6129b71c3e2d9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-23T17:33:10.084Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-23T17:33:10.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 27.0% of statements [2021-03-23T17:33:10.452Z] Stashed 1 file(s) [Pipeline] } [2021-03-23T17:33:10.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.182s coverage: 81.2% of statements [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-23T17:33:13.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-23T17:33:13.910Z] + ls -al . [2021-03-23T17:33:13.910Z] total 184 [2021-03-23T17:33:13.910Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 23 17:33 . [2021-03-23T17:33:13.910Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 23 17:30 .. [2021-03-23T17:33:13.910Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 23 17:30 bin [2021-03-23T17:33:13.910Z] -rw-r--r--. 1 jenkins jenkins 100081 Mar 23 17:32 coverage.out [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 23 17:30 Dockerfile.build [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 23 17:30 .dockerignore [2021-03-23T17:33:13.910Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 23 17:30 example [2021-03-23T17:33:13.910Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 23 17:31 .git [2021-03-23T17:33:13.910Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 23 17:30 .github [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 23 17:30 .gitignore [2021-03-23T17:33:13.910Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 23 17:33 go.mod [2021-03-23T17:33:13.910Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 23 17:33 go.sum [2021-03-23T17:33:13.910Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 23 17:30 internal [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 23 17:30 Jenkinsfile [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 23 17:30 LICENSE [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 23 17:30 Makefile [2021-03-23T17:33:13.910Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 23 17:30 openapi [2021-03-23T17:33:13.910Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 23 17:30 pkg [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 23 17:30 README.md [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 23 17:30 RELEASE-NOTES.txt [2021-03-23T17:33:13.910Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 23 17:30 snap [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 23 17:28 VERSION [2021-03-23T17:33:13.910Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 23 17:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:33:14.254Z] + 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=0699ac1c52d75de8326690523b0c234d7b3fdcc8 --label arch=amd64 --label version=0.0.0 . [2021-03-23T17:33:14.517Z] Sending build context to Docker daemon 2.419MB [2021-03-23T17:33:14.517Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T17:33:14.517Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-23T17:33:14.517Z] ---> 5cbba552f2fa [2021-03-23T17:33:14.517Z] Step 3/24 : ARG MAKE='make build' [2021-03-23T17:33:15.101Z] ---> Running in 48c35c6f54b5 [2021-03-23T17:33:15.362Z] Removing intermediate container 48c35c6f54b5 [2021-03-23T17:33:15.362Z] ---> b02c2fb82e63 [2021-03-23T17:33:15.362Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-23T17:33:15.362Z] ---> Running in 52d5d0f49ac7 [2021-03-23T17:33:15.625Z] Removing intermediate container 52d5d0f49ac7 [2021-03-23T17:33:15.625Z] ---> 7359268c596d [2021-03-23T17:33:15.625Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T17:33:15.625Z] ---> Running in 2307f5e82793 [2021-03-23T17:33:15.890Z] Removing intermediate container 2307f5e82793 [2021-03-23T17:33:15.890Z] ---> d8d13dcfcbc7 [2021-03-23T17:33:15.890Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T17:33:15.890Z] ---> Running in d05797eeb964 [2021-03-23T17:33:16.838Z] Removing intermediate container d05797eeb964 [2021-03-23T17:33:16.838Z] ---> e5f01d1a9bcd [2021-03-23T17:33:16.838Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-23T17:33:16.838Z] ---> Running in 0b1978317ba4 [2021-03-23T17:33:17.411Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-23T17:33:17.986Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-23T17:33:18.562Z] OK: 166 MiB in 39 packages [2021-03-23T17:33:19.135Z] Removing intermediate container 0b1978317ba4 [2021-03-23T17:33:19.135Z] ---> 22c51b6d638a [2021-03-23T17:33:19.135Z] Step 8/24 : COPY . . [2021-03-23T17:33:20.088Z] ---> d70fef39e6c4 [2021-03-23T17:33:20.088Z] Step 9/24 : RUN ${MAKE} [2021-03-23T17:33:20.088Z] ---> Running in 2ca38f4536d1 [2021-03-23T17:33:20.661Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-23T17:33:30.793Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-23T17:33:31.374Z] Removing intermediate container 2ca38f4536d1 [2021-03-23T17:33:31.374Z] ---> d5784a2ce23d [2021-03-23T17:33:31.374Z] Step 10/24 : FROM scratch [2021-03-23T17:33:31.374Z] ---> [2021-03-23T17:33:31.374Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T17:33:31.374Z] ---> Running in f6949af1193c [2021-03-23T17:33:31.636Z] Removing intermediate container f6949af1193c [2021-03-23T17:33:31.636Z] ---> 94f4f0b84962 [2021-03-23T17:33:31.636Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-23T17:33:31.636Z] ---> Running in e627db7d046e [2021-03-23T17:33:31.900Z] Removing intermediate container e627db7d046e [2021-03-23T17:33:31.900Z] ---> a8a4bc23b069 [2021-03-23T17:33:31.900Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-23T17:33:31.900Z] ---> Running in 78f268a79d4a [2021-03-23T17:33:32.167Z] Removing intermediate container 78f268a79d4a [2021-03-23T17:33:32.167Z] ---> bcf58a697638 [2021-03-23T17:33:32.167Z] Step 14/24 : WORKDIR / [2021-03-23T17:33:32.167Z] ---> Running in bee1eaca8a17 [2021-03-23T17:33:32.429Z] Removing intermediate container bee1eaca8a17 [2021-03-23T17:33:32.429Z] ---> f81894fab85f [2021-03-23T17:33:32.429Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-23T17:33:33.004Z] ---> ed273621041f [2021-03-23T17:33:33.004Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-23T17:33:33.004Z] ---> 3b784dbd84d0 [2021-03-23T17:33:33.004Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-23T17:33:33.267Z] ---> 066f0a191538 [2021-03-23T17:33:33.267Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-23T17:33:33.529Z] ---> e87bf3383f93 [2021-03-23T17:33:33.529Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-23T17:33:33.792Z] ---> 47e5bf06697e [2021-03-23T17:33:33.792Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-23T17:33:33.792Z] ---> Running in ca0ddd1b0bee [2021-03-23T17:33:34.056Z] Removing intermediate container ca0ddd1b0bee [2021-03-23T17:33:34.056Z] ---> 2a00cedc40c8 [2021-03-23T17:33:34.056Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-23T17:33:34.056Z] ---> Running in 585eaade2b23 [2021-03-23T17:33:34.318Z] Removing intermediate container 585eaade2b23 [2021-03-23T17:33:34.318Z] ---> 00fa86db3149 [2021-03-23T17:33:34.318Z] Step 22/24 : LABEL arch=amd64 [2021-03-23T17:33:34.318Z] ---> Running in 7072b6b209ff [2021-03-23T17:33:34.588Z] Removing intermediate container 7072b6b209ff [2021-03-23T17:33:34.588Z] ---> f04ba475417f [2021-03-23T17:33:34.588Z] Step 23/24 : LABEL git_sha=0699ac1c52d75de8326690523b0c234d7b3fdcc8 [2021-03-23T17:33:34.588Z] ---> Running in 4d1226c97221 [2021-03-23T17:33:34.852Z] Removing intermediate container 4d1226c97221 [2021-03-23T17:33:34.852Z] ---> 55d26911e731 [2021-03-23T17:33:34.852Z] Step 24/24 : LABEL version=0.0.0 [2021-03-23T17:33:34.852Z] ---> Running in 8777e2bbb9a0 [2021-03-23T17:33:35.116Z] Removing intermediate container 8777e2bbb9a0 [2021-03-23T17:33:35.116Z] ---> ad9812f85441 [2021-03-23T17:33:35.116Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-23T17:33:35.116Z] Successfully built ad9812f85441 [2021-03-23T17:33:35.116Z] 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-03-23T17:33:36.527Z] ---> job-cost.sh [2021-03-23T17:33:36.527Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Kahu [2021-03-23T17:33:42.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.124s coverage: 10.5% of statements [2021-03-23T17:33:42.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-23T17:33:42.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-23T17:33:42.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.201s coverage: 32.5% of statements [2021-03-23T17:33:42.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-23T17:33:42.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-23T17:33:42.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-23T17:33:42.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.270s coverage: 57.3% of statements [2021-03-23T17:33:42.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.923s coverage: 6.6% of statements [2021-03-23T17:33:42.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.129s coverage: 5.0% of statements [2021-03-23T17:33:42.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-23T17:33:42.878Z] GO111MODULE=on go vet ./... [2021-03-23T17:33:51.479Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-23T17:34:15.390Z] gofmt -l . [2021-03-23T17:34:15.390Z] [ "`gofmt -l .`" = "" ] [2021-03-23T17:34:15.390Z] ./bin/test-attribution-txt.sh [2021-03-23T17:34:15.390Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-23T17:34:15.425Z] $ docker stop --time=1 8fe09a226b741688e016841844f6fa6213437545c66f1baa4184dfe67cec1a25 [2021-03-23T17:34:17.494Z] $ docker rm -f 8fe09a226b741688e016841844f6fa6213437545c66f1baa4184dfe67cec1a25 [Pipeline] // withDockerContainer [2021-03-23T17:34:18.348Z] lf-activate-venv(): INFO: Adding /tmp/venv-Kahu/bin to PATH [2021-03-23T17:34:18.348Z] INFO: No Stack... [Pipeline] sh [2021-03-23T17:34:18.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-23T17:34:18.753Z] Warning: overwriting stash ‘coverage-report’ [2021-03-23T17:34:19.332Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-23T17:34:19.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T17:34:20.288Z] INFO: Archiving Costs [Pipeline] sh [2021-03-23T17:34:20.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-23T17:34:20.614Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-23T17:34:20.614Z] + cut -d, -f6 [Pipeline] lock [2021-03-23T17:34:20.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-833-1-stack-cost] [2021-03-23T17:34:20.726Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-833-1-stack-cost] did not exist. Created. [2021-03-23T17:34:20.726Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-833-1-stack-cost] [Pipeline] { [2021-03-23T17:34:20.770Z] + ls -al . [2021-03-23T17:34:20.770Z] total 220 [2021-03-23T17:34:20.770Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 17:34 . [2021-03-23T17:34:20.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:30 .. [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 17:30 .dockerignore [2021-03-23T17:34:20.770Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 17:30 .git [2021-03-23T17:34:20.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:30 .github [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 23 17:30 .gitignore [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 23 17:30 Dockerfile.build [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 23 17:30 Jenkinsfile [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 23 17:30 LICENSE [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 23 17:30 Makefile [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 23 17:30 README.md [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 23 17:30 RELEASE-NOTES.txt [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 17:28 VERSION [2021-03-23T17:34:20.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:30 bin [2021-03-23T17:34:20.770Z] -rw-r--r-- 1 jenkins jenkins 100081 Mar 23 17:33 coverage.out [2021-03-23T17:34:20.770Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 17:30 example [2021-03-23T17:34:20.770Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 23 17:34 go.mod [2021-03-23T17:34:20.770Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 23 17:34 go.sum [2021-03-23T17:34:20.770Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 23 17:30 internal [2021-03-23T17:34:20.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:30 openapi [2021-03-23T17:34:20.770Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 17:30 pkg [2021-03-23T17:34:20.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:30 snap [2021-03-23T17:34:20.770Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 23 17:30 version.go [Pipeline] unstash [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:34:21.241Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-23T17:34:21.382Z] Stashed 1 file(s) [2021-03-23T17:34:21.389Z] + 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=0699ac1c52d75de8326690523b0c234d7b3fdcc8 --label arch=arm64 --label version=0.0.0 . [Pipeline] } [2021-03-23T17:34:21.403Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-833-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-03-23T17:34:21.664Z] Sending build context to Docker daemon 2.416MB [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-03-23T17:34:21.935Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T17:34:21.935Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-23T17:34:21.935Z] ---> 141d6cc9a26c [2021-03-23T17:34:21.935Z] Step 3/24 : ARG MAKE='make build' [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-03-23T17:34:22.210Z] ---> Running in f748bbb89f1b [Pipeline] // stage [Pipeline] } [2021-03-23T17:34:22.481Z] Removing intermediate container f748bbb89f1b [2021-03-23T17:34:22.481Z] ---> 0b00381b06d7 [2021-03-23T17:34:22.481Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-23T17:34:22.752Z] ---> Running in 641b8eaa5b73 [2021-03-23T17:34:23.347Z] Removing intermediate container 641b8eaa5b73 [2021-03-23T17:34:23.347Z] ---> e4a891723750 [2021-03-23T17:34:23.347Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T17:34:23.347Z] ---> Running in 65efc5620f1a [2021-03-23T17:34:23.939Z] Removing intermediate container 65efc5620f1a [2021-03-23T17:34:23.939Z] ---> 2e6eb40202ec [2021-03-23T17:34:23.939Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T17:34:23.939Z] ---> Running in 06c47b7c9ba3 [2021-03-23T17:34:25.916Z] Removing intermediate container 06c47b7c9ba3 [2021-03-23T17:34:25.916Z] ---> 5368c8c9be55 [2021-03-23T17:34:25.916Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-23T17:34:26.187Z] ---> Running in 0ba843d5a690 [2021-03-23T17:34:27.162Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-23T17:34:28.137Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-23T17:34:28.730Z] OK: 142 MiB in 39 packages [2021-03-23T17:34:30.164Z] Removing intermediate container 0ba843d5a690 [2021-03-23T17:34:30.164Z] ---> a34699118c91 [2021-03-23T17:34:30.164Z] Step 8/24 : COPY . . [2021-03-23T17:34:31.140Z] ---> 0476d25a0123 [2021-03-23T17:34:31.141Z] Step 9/24 : RUN ${MAKE} [2021-03-23T17:34:31.141Z] ---> Running in c94c5e86f23e [2021-03-23T17:34:32.114Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-23T17:34:58.903Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-23T17:34:59.880Z] Removing intermediate container c94c5e86f23e [2021-03-23T17:34:59.880Z] ---> 8f7d52e0771c [2021-03-23T17:34:59.880Z] Step 10/24 : FROM scratch [2021-03-23T17:34:59.880Z] ---> [2021-03-23T17:34:59.880Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T17:34:59.880Z] ---> Running in 8749a151b3c0 [2021-03-23T17:35:00.475Z] Removing intermediate container 8749a151b3c0 [2021-03-23T17:35:00.475Z] ---> 44d991050cbd [2021-03-23T17:35:00.475Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-23T17:35:00.475Z] ---> Running in 03a64ed1dab8 [2021-03-23T17:35:01.069Z] Removing intermediate container 03a64ed1dab8 [2021-03-23T17:35:01.069Z] ---> 7c91bb219801 [2021-03-23T17:35:01.069Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-23T17:35:01.069Z] ---> Running in e8308213929f [2021-03-23T17:35:01.344Z] Removing intermediate container e8308213929f [2021-03-23T17:35:01.344Z] ---> 59866aac36a6 [2021-03-23T17:35:01.344Z] Step 14/24 : WORKDIR / [2021-03-23T17:35:01.616Z] ---> Running in 110c772da8a5 [2021-03-23T17:35:01.888Z] Removing intermediate container 110c772da8a5 [2021-03-23T17:35:01.888Z] ---> bd01b5386b78 [2021-03-23T17:35:01.888Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-23T17:35:03.333Z] ---> cf4de069a069 [2021-03-23T17:35:03.333Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-23T17:35:03.930Z] ---> 5ca521404f7f [2021-03-23T17:35:03.930Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-23T17:35:04.521Z] ---> b642853ec9af [2021-03-23T17:35:04.521Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-23T17:35:05.494Z] ---> ba3f881745e0 [2021-03-23T17:35:05.494Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-23T17:35:06.088Z] ---> 7e3c77b578d5 [2021-03-23T17:35:06.088Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-23T17:35:06.088Z] ---> Running in e56a95d09187 [2021-03-23T17:35:06.683Z] Removing intermediate container e56a95d09187 [2021-03-23T17:35:06.683Z] ---> b32cd090f00a [2021-03-23T17:35:06.683Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-23T17:35:06.683Z] ---> Running in be92c73a810f [2021-03-23T17:35:07.280Z] Removing intermediate container be92c73a810f [2021-03-23T17:35:07.280Z] ---> 4f2d3082a02f [2021-03-23T17:35:07.280Z] Step 22/24 : LABEL arch=arm64 [2021-03-23T17:35:07.280Z] ---> Running in cb65fb657d82 [2021-03-23T17:35:07.555Z] Removing intermediate container cb65fb657d82 [2021-03-23T17:35:07.555Z] ---> 8fd8f2c01198 [2021-03-23T17:35:07.555Z] Step 23/24 : LABEL git_sha=0699ac1c52d75de8326690523b0c234d7b3fdcc8 [2021-03-23T17:35:07.835Z] ---> Running in f923326f779e [2021-03-23T17:35:08.428Z] Removing intermediate container f923326f779e [2021-03-23T17:35:08.428Z] ---> 9e278bf8981a [2021-03-23T17:35:08.428Z] Step 24/24 : LABEL version=0.0.0 [2021-03-23T17:35:08.428Z] ---> Running in 3b804c779dda [2021-03-23T17:35:09.019Z] Removing intermediate container 3b804c779dda [2021-03-23T17:35:09.019Z] ---> 2fb44492f60a [2021-03-23T17:35:09.019Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-23T17:35:09.019Z] Successfully built 2fb44492f60a [2021-03-23T17:35:09.019Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:35:10.038Z] ---> job-cost.sh [2021-03-23T17:35:10.038Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9pxe [2021-03-23T17:35:48.983Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-23T17:37:10.704Z] lf-activate-venv(): INFO: Adding /tmp/venv-9pxe/bin to PATH [2021-03-23T17:37:10.704Z] INFO: No Stack... [2021-03-23T17:37:11.685Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-23T17:37:12.279Z] INFO: Archiving Costs [Pipeline] sh [2021-03-23T17:37:12.643Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-23T17:37:12.644Z] + cut -d, -f6 [Pipeline] lock [2021-03-23T17:37:12.808Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-833-1-stack-cost] [2021-03-23T17:37:12.815Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-833-1-stack-cost] did not exist. Created. [2021-03-23T17:37:12.815Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-833-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-23T17:37:13.338Z] /w/workspace/device-sdk-go/1@tmp/durable-0287be67/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-0287be67/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-23T17:37:13.712Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-23T17:37:13.751Z] Warning: overwriting stash ‘stack-cost’ [2021-03-23T17:37:13.900Z] Stashed 1 file(s) [Pipeline] } [2021-03-23T17:37:13.921Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-833-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-03-23T17:37:15.894Z] provisioning config files... [2021-03-23T17:37:15.906Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config8278805545936050680tmp [Pipeline] { [Pipeline] sh [2021-03-23T17:37:16.325Z] + set +x [2021-03-23T17:37:16.325Z] + curl -s https://codecov.io/bash [2021-03-23T17:37:16.325Z] + bash -s -- [2021-03-23T17:37:16.590Z] [2021-03-23T17:37:16.590Z] _____ _ [2021-03-23T17:37:16.590Z] / ____| | | [2021-03-23T17:37:16.590Z] | | ___ __| | ___ ___ _____ __ [2021-03-23T17:37:16.590Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-23T17:37:16.590Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-23T17:37:16.590Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-23T17:37:16.590Z] Bash-20210309-2b87ace [2021-03-23T17:37:16.590Z] [2021-03-23T17:37:16.590Z] [2021-03-23T17:37:16.590Z] ==> git version 2.24.3 found [2021-03-23T17:37:16.590Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-23T17:37:16.590Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-23T17:37:16.590Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-23T17:37:16.590Z] ==> Jenkins CI detected. [2021-03-23T17:37:16.590Z] project root: . [2021-03-23T17:37:16.590Z] --> token set from env [2021-03-23T17:37:16.590Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-23T17:37:16.590Z] ==> Running gcov in . (disable via -X gcov) [2021-03-23T17:37:16.590Z] ==> Python coveragepy not found [2021-03-23T17:37:16.590Z] ==> Searching for coverage reports in: [2021-03-23T17:37:16.590Z] + . [2021-03-23T17:37:16.590Z] -> Found 1 reports [2021-03-23T17:37:16.590Z] ==> Detecting git/mercurial file structure [2021-03-23T17:37:16.590Z] ==> Reading reports [2021-03-23T17:37:16.590Z] + ./coverage.out bytes=100081 [2021-03-23T17:37:16.590Z] ==> Appending adjustments [2021-03-23T17:37:16.590Z] https://docs.codecov.io/docs/fixing-reports [2021-03-23T17:37:16.854Z] + Found adjustments [2021-03-23T17:37:16.854Z] ==> Gzipping contents [2021-03-23T17:37:16.854Z] 16K /tmp/codecov.uuFgO9.gz [2021-03-23T17:37:16.854Z] ==> Uploading reports [2021-03-23T17:37:16.854Z] url: https://codecov.io [2021-03-23T17:37:16.854Z] query: branch=PR-833&commit=0699ac1c52d75de8326690523b0c234d7b3fdcc8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-833%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=833&job=&cmd_args= [2021-03-23T17:37:16.854Z] -> Pinging Codecov [2021-03-23T17:37:16.854Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-833&commit=0699ac1c52d75de8326690523b0c234d7b3fdcc8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-833%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=833&job=&cmd_args= [2021-03-23T17:37:17.428Z] -> Uploading to [2021-03-23T17:37:17.429Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-23/7E55EF52A471D76F132DFD9A03CDDE97/0699ac1c52d75de8326690523b0c234d7b3fdcc8/fdd64e03-7613-464e-b552-d1ca1c46c5d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210323T173717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39f3c52b613a23a96508e6b044bf8660c2c3f46e6ca647331e6c11960d1da540 [2021-03-23T17:37:17.429Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-23T17:37:17.429Z] Dload Upload Total Spent Left Speed [2021-03-23T17:37:17.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13582 0 0 100 13582 0 32951 --:--:-- --:--:-- --:--:-- 32966 [2021-03-23T17:37:17.694Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0699ac1c52d75de8326690523b0c234d7b3fdcc8 [Pipeline] } [2021-03-23T17:37:17.722Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:37:21.222Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:37:21.566Z] ---> package-listing.sh [2021-03-23T17:37:21.566Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-23T17:37:21.566Z] ++ facter osfamily [2021-03-23T17:37:21.566Z] + OS_FAMILY=redhat [2021-03-23T17:37:21.566Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-833 [2021-03-23T17:37:21.566Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-23T17:37:21.566Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-23T17:37:21.566Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-23T17:37:21.566Z] + PACKAGES=/tmp/packages_start.txt [2021-03-23T17:37:21.566Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-833 ']' [2021-03-23T17:37:21.566Z] + PACKAGES=/tmp/packages_end.txt [2021-03-23T17:37:21.566Z] + case "${OS_FAMILY}" in [2021-03-23T17:37:21.566Z] + rpm -qa [2021-03-23T17:37:21.566Z] + sort [2021-03-23T17:37:26.870Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-23T17:37:26.871Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-23T17:37:26.871Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-23T17:37:26.871Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-833 ']' [2021-03-23T17:37:26.871Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-833/archives/ [2021-03-23T17:37:26.871Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-833/archives/ [Pipeline] echo [2021-03-23T17:37:26.904Z] 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-833/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-23T17:37:27.210Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:37:27.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T17:37:27.538Z] [2021-03-23T17:37:27.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-23T17:37:27.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T17:37:27.925Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-23T17:37:27.925Z] df20fa9351a1: Pulling fs layer [2021-03-23T17:37:27.925Z] 36b3adc4ff6f: Pulling fs layer [2021-03-23T17:37:27.925Z] 8ad3a11d3b57: Pulling fs layer [2021-03-23T17:37:27.925Z] 46f8f816bc3b: Pulling fs layer [2021-03-23T17:37:27.925Z] 93b61091891f: Pulling fs layer [2021-03-23T17:37:27.925Z] 93b9cdb0e59b: Pulling fs layer [2021-03-23T17:37:27.925Z] 5e14af77c1be: Pulling fs layer [2021-03-23T17:37:27.925Z] 01666e4c0597: Pulling fs layer [2021-03-23T17:37:27.925Z] aa168da1d23b: Pulling fs layer [2021-03-23T17:37:27.925Z] 93b9cdb0e59b: Waiting [2021-03-23T17:37:27.925Z] 5e14af77c1be: Waiting [2021-03-23T17:37:27.925Z] 01666e4c0597: Waiting [2021-03-23T17:37:27.925Z] aa168da1d23b: Waiting [2021-03-23T17:37:27.925Z] 46f8f816bc3b: Waiting [2021-03-23T17:37:27.925Z] 93b61091891f: Waiting [2021-03-23T17:37:28.190Z] 36b3adc4ff6f: Download complete [2021-03-23T17:37:28.190Z] 46f8f816bc3b: Download complete [2021-03-23T17:37:28.190Z] df20fa9351a1: Verifying Checksum [2021-03-23T17:37:28.190Z] df20fa9351a1: Download complete [2021-03-23T17:37:28.190Z] 93b9cdb0e59b: Verifying Checksum [2021-03-23T17:37:28.190Z] 93b9cdb0e59b: Download complete [2021-03-23T17:37:28.451Z] 93b61091891f: Verifying Checksum [2021-03-23T17:37:28.451Z] 5e14af77c1be: Verifying Checksum [2021-03-23T17:37:28.451Z] 93b61091891f: Download complete [2021-03-23T17:37:28.451Z] 5e14af77c1be: Download complete [2021-03-23T17:37:28.451Z] 01666e4c0597: Verifying Checksum [2021-03-23T17:37:28.451Z] 01666e4c0597: Download complete [2021-03-23T17:37:28.717Z] df20fa9351a1: Pull complete [2021-03-23T17:37:28.979Z] 36b3adc4ff6f: Pull complete [2021-03-23T17:37:29.249Z] 8ad3a11d3b57: Verifying Checksum [2021-03-23T17:37:29.249Z] 8ad3a11d3b57: Download complete [2021-03-23T17:37:29.831Z] 8ad3a11d3b57: Pull complete [2021-03-23T17:37:30.103Z] 46f8f816bc3b: Pull complete [2021-03-23T17:37:30.369Z] 93b61091891f: Pull complete [2021-03-23T17:37:30.947Z] aa168da1d23b: Verifying Checksum [2021-03-23T17:37:31.211Z] 93b9cdb0e59b: Pull complete [2021-03-23T17:37:31.211Z] 5e14af77c1be: Pull complete [2021-03-23T17:37:31.479Z] 01666e4c0597: Pull complete [2021-03-23T17:37:38.084Z] aa168da1d23b: Pull complete [2021-03-23T17:37:38.084Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-23T17:37:38.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T17:37:38.084Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-23T17:37:38.247Z] prd-centos7-docker-4c-2g-31103 does not seem to be running inside a container [2021-03-23T17:37:38.288Z] $ 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-833/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-833 -v /w/workspace/dgexfoundry_device-sdk-go_PR-833:/w/workspace/dgexfoundry_device-sdk-go_PR-833:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-23T17:37:41.679Z] $ docker top 7a0da37aead9c1b9ce94ce31fb7a4c89e62dc241ec941291fb3c9cb92ba412f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T17:37:42.316Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-23T17:37:42.627Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-23T17:37:42.942Z] + ls /var/log/sa-host [2021-03-23T17:37:42.942Z] + sadf -c /var/log/sa-host/sa23 [2021-03-23T17:37:42.942Z] file_magic: OK [2021-03-23T17:37:42.942Z] HZ: Using current value: 100 [2021-03-23T17:37:42.942Z] file_header: OK [2021-03-23T17:37:42.942Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-23T17:37:42.942Z] Statistics: [2021-03-23T17:37:42.942Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-23T17:37:42.942Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-23T17:37:43.683Z] provisioning config files... [2021-03-23T17:37:43.699Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config2228876591939760633tmp [Pipeline] { [Pipeline] echo [2021-03-23T17:37:43.821Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:37:44.171Z] ---> create-netrc.sh [Pipeline] } [2021-03-23T17:37:44.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-23T17:37:44.598Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:37:44.926Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-23T17:37:44.958Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:37:45.285Z] ---> sudo-logs.sh [2021-03-23T17:37:45.285Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-23T17:37:45.402Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:37:45.741Z] ---> job-cost.sh [2021-03-23T17:37:45.741Z] lf-activate-venv: SKIPPING [2021-03-23T17:37:45.741Z] DEBUG: total: 0.20999999344348907 [2021-03-23T17:37:45.741Z] INFO: Retrieving Stack Cost... [2021-03-23T17:37:46.683Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-23T17:37:47.256Z] INFO: Archiving Costs [Pipeline] echo [2021-03-23T17:37:47.293Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T17:37:47.625Z] ---> logs-deploy.sh [2021-03-23T17:37:47.625Z] lf-activate-venv: SKIPPING [2021-03-23T17:37:47.625Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-833/1 [2021-03-23T17:37:47.625Z] INFO: archiving workspace using pattern(s): [2021-03-23T17:37:49.538Z] Archives upload complete. [2021-03-23T17:37:49.538Z] INFO: archiving logs to Nexus