Pull request #833 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b+e522836f5d508ce20413c5d2a08a926bd2b9771b (b22566e1f4f1fcb76e6c205d3aa4eb03c002fb94) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31253 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 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b Merge succeeded, producing ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b Checking out Revision ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b (PR-833) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # 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 ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 Commit message: "fix: Updates to address PR comments from Tony" > git rev-list --no-walk 0699ac1c52d75de8326690523b0c234d7b3fdcc8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-24T20:16:30.725Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-24T20:16:31.004Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-24T20:16:31.126Z] ========================================================= [2021-03-24T20:16:31.126Z] EdgeX Global Pipelines Version Info [2021-03-24T20:16:31.126Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:16:32.593Z] ------------------- [2021-03-24T20:16:32.593Z] stable info: [2021-03-24T20:16:32.593Z] ------------------- [2021-03-24T20:16:32.593Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-24T20:16:32.593Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-24T20:16:32.593Z] Message: update stable to v1.0.186 [2021-03-24T20:16:33.553Z] ------------------- [2021-03-24T20:16:33.553Z] experimental info: [2021-03-24T20:16:33.553Z] ------------------- [2021-03-24T20:16:33.553Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-24T20:16:33.553Z] Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 [2021-03-24T20:16:33.553Z] Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-24T20:16:33.849Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-24T20:16:33.975Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-24T20:16:34.061Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-24T20:16:34.149Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-24T20:16:34.256Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-24T20:16:34.379Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-24T20:16:34.467Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-24T20:16:34.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-24T20:16:34.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-24T20:16:34.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-24T20:16:34.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-24T20:16:34.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-24T20:16:35.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-24T20:16:35.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-24T20:16:35.262Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-24T20:16:35.351Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T20:16:35.445Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T20:16:35.529Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T20:16:35.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-24T20:16:35.706Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-24T20:16:35.798Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-24T20:16:35.893Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-24T20:16:35.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-24T20:16:36.076Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-24T20:16:36.183Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-24T20:16:36.273Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-24T20:16:36.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-833 [Pipeline] echo [2021-03-24T20:16:36.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-833 [Pipeline] echo [2021-03-24T20:16:36.551Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-833 [Pipeline] echo [2021-03-24T20:16:36.636Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [Pipeline] echo [2021-03-24T20:16:36.721Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba1d8f4 [Pipeline] echo [2021-03-24T20:16:36.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-24T20:16:37.006Z] provisioning config files... [2021-03-24T20:16:37.034Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config6326407285306437053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:16:37.402Z] ---> docker-login.sh [2021-03-24T20:16:37.402Z] nexus3.edgexfoundry.org:10001 [2021-03-24T20:16:37.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:16:37.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:16:37.931Z] Configure a credential helper to remove this warning. See [2021-03-24T20:16:37.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:16:37.931Z] [2021-03-24T20:16:37.931Z] Login Succeeded [2021-03-24T20:16:37.931Z] nexus3.edgexfoundry.org:10002 [2021-03-24T20:16:38.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:16:38.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:16:38.196Z] Configure a credential helper to remove this warning. See [2021-03-24T20:16:38.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:16:38.196Z] [2021-03-24T20:16:38.196Z] Login Succeeded [2021-03-24T20:16:38.196Z] nexus3.edgexfoundry.org:10003 [2021-03-24T20:16:38.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:16:38.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:16:38.460Z] Configure a credential helper to remove this warning. See [2021-03-24T20:16:38.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:16:38.460Z] [2021-03-24T20:16:38.460Z] Login Succeeded [2021-03-24T20:16:38.460Z] nexus3.edgexfoundry.org:10004 [2021-03-24T20:16:38.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:16:38.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:16:38.460Z] Configure a credential helper to remove this warning. See [2021-03-24T20:16:38.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:16:38.460Z] [2021-03-24T20:16:38.460Z] Login Succeeded [2021-03-24T20:16:38.460Z] docker.io [2021-03-24T20:16:38.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:16:38.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:16:38.986Z] Configure a credential helper to remove this warning. See [2021-03-24T20:16:38.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:16:38.986Z] [2021-03-24T20:16:38.986Z] Login Succeeded [2021-03-24T20:16:38.986Z] ---> docker-login.sh ends [Pipeline] } [2021-03-24T20:16:38.997Z] 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-24T20:16:39.763Z] + git log --format=format:%s -1 ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [Pipeline] echo [2021-03-24T20:16:39.835Z] GIT_COMMIT: ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b, Commit Message: fix: Updates to address PR comments from Tony [Pipeline] echo [2021-03-24T20:16:39.887Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:16:40.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T20:16:40.530Z] [2021-03-24T20:16:40.530Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:16:40.882Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T20:16:40.882Z] latest: Pulling from edgex-devops/git-semver [2021-03-24T20:16:40.882Z] 31603596830f: Pulling fs layer [2021-03-24T20:16:40.882Z] 2a8b12db71e7: Pulling fs layer [2021-03-24T20:16:40.882Z] 6ca5941a6612: Pulling fs layer [2021-03-24T20:16:40.882Z] ecc8261a40a4: Pulling fs layer [2021-03-24T20:16:40.882Z] ecc8261a40a4: Waiting [2021-03-24T20:16:40.882Z] 2a8b12db71e7: Verifying Checksum [2021-03-24T20:16:40.882Z] 2a8b12db71e7: Download complete [2021-03-24T20:16:41.150Z] 31603596830f: Download complete [2021-03-24T20:16:41.150Z] ecc8261a40a4: Verifying Checksum [2021-03-24T20:16:41.150Z] ecc8261a40a4: Download complete [2021-03-24T20:16:41.150Z] 6ca5941a6612: Verifying Checksum [2021-03-24T20:16:41.150Z] 6ca5941a6612: Download complete [2021-03-24T20:16:41.413Z] 31603596830f: Pull complete [2021-03-24T20:16:41.679Z] 2a8b12db71e7: Pull complete [2021-03-24T20:16:42.644Z] 6ca5941a6612: Pull complete [2021-03-24T20:16:42.644Z] ecc8261a40a4: Pull complete [2021-03-24T20:16:42.907Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-24T20:16:42.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T20:16:42.907Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-24T20:16:43.023Z] prd-centos7-docker-4c-2g-31253 does not seem to be running inside a container [2021-03-24T20:16:43.075Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-24T20:16:45.379Z] $ docker top 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-24T20:16:45.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T20:16:45.716Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T20:16:45.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T20:16:45.970Z] $ docker exec 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 ssh-agent [2021-03-24T20:16:46.168Z] SSH_AUTH_SOCK=/tmp/ssh-diJRU6Rkv58C/agent.11 [2021-03-24T20:16:46.168Z] SSH_AGENT_PID=16 [2021-03-24T20:16:46.181Z] Running ssh-add (command line suppressed) [2021-03-24T20:16:46.313Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_5506955584634749608.key (/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_5506955584634749608.key) [2021-03-24T20:16:46.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T20:16:46.705Z] + git tag --points-at HEAD [Pipeline] } [2021-03-24T20:16:46.728Z] $ docker exec --env ******** --env ******** 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 ssh-agent -k [2021-03-24T20:16:46.857Z] unset SSH_AUTH_SOCK; [2021-03-24T20:16:46.857Z] unset SSH_AGENT_PID; [2021-03-24T20:16:46.857Z] echo Agent pid 16 killed; [2021-03-24T20:16:46.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-24T20:16:47.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T20:16:47.072Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T20:16:47.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T20:16:47.256Z] $ docker exec 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 ssh-agent [2021-03-24T20:16:47.444Z] SSH_AUTH_SOCK=/tmp/ssh-TYUn3QWm76ja/agent.45 [2021-03-24T20:16:47.444Z] SSH_AGENT_PID=50 [2021-03-24T20:16:47.451Z] Running ssh-add (command line suppressed) [2021-03-24T20:16:47.581Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_4645130343322424293.key (/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/private_key_4645130343322424293.key) [2021-03-24T20:16:47.644Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T20:16:47.989Z] + git semver init [2021-03-24T20:16:47.989Z] # -> Open(): unable to determine branch for HEAD [2021-03-24T20:16:47.989Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-833/.git [2021-03-24T20:16:47.989Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-833 [2021-03-24T20:16:47.989Z] # $SEMVER_REMOTE_NAME = origin [2021-03-24T20:16:47.989Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-24T20:16:47.989Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-24T20:16:47.989Z] # $SEMVER_BRANCH = PR-833 [2021-03-24T20:16:47.989Z] # $SEMVER_TEMP = /tmp/semver-389378480 [2021-03-24T20:16:47.989Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-24T20:16:48.939Z] # '/tmp/semver-389378480' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-833/.semver' [2021-03-24T20:16:48.939Z] # -> Force: false [2021-03-24T20:16:48.939Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-833/.semver [Pipeline] } [2021-03-24T20:16:48.960Z] $ docker exec --env ******** --env ******** 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 ssh-agent -k [2021-03-24T20:16:49.087Z] unset SSH_AUTH_SOCK; [2021-03-24T20:16:49.087Z] unset SSH_AGENT_PID; [2021-03-24T20:16:49.087Z] echo Agent pid 50 killed; [2021-03-24T20:16:49.135Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-24T20:16:49.596Z] + git semver [Pipeline] } [2021-03-24T20:16:49.615Z] $ docker stop --time=1 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 [2021-03-24T20:16:51.196Z] $ docker rm -f 249bafcebe9dd6a57ef29c077a7726c048b7de2aab202f009675bd21c4b2b6d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T20:16:51.764Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-24T20:16:52.202Z] Stashed 1 file(s) [Pipeline] echo [2021-03-24T20:16:52.205Z] [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-24T20:17:07.751Z] Still waiting to schedule task [2021-03-24T20:17:07.751Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-24T20:17:07.756Z] Still waiting to schedule task [2021-03-24T20:17:07.756Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-24T20:19:37.604Z] Running on prd-centos7-docker-4c-2g-31254 in /w/workspace/dgexfoundry_device-sdk-go_PR-833 [Pipeline] { [Pipeline] ws [2021-03-24T20:19:37.771Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-24T20:19:47.759Z] using credential edgex-jenkins-ssh [2021-03-24T20:19:47.824Z] Cloning the remote Git repository [2021-03-24T20:19:48.105Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T20:19:48.344Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-24T20:19:48.895Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T20:19:48.895Z] > git --version # timeout=10 [2021-03-24T20:19:48.954Z] > git --version # 'git version 2.24.3' [2021-03-24T20:19:48.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T20:19:49.040Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T20:19:52.817Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [2021-03-24T20:19:51.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-24T20:19:51.943Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T20:19:51.987Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-24T20:19:52.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T20:19:52.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T20:19:52.044Z] > 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-24T20:19:52.844Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T20:19:53.695Z] Merge succeeded, producing ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [2021-03-24T20:19:53.695Z] Checking out Revision ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b (PR-833) [2021-03-24T20:19:53.019Z] > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 [2021-03-24T20:19:53.378Z] > git remote # timeout=10 [2021-03-24T20:19:53.469Z] > git config --get remote.origin.url # timeout=10 [2021-03-24T20:19:53.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T20:19:53.545Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-24T20:19:53.625Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-24T20:19:53.719Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T20:19:53.768Z] > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 [2021-03-24T20:19:58.225Z] Commit message: "fix: Updates to address PR comments from Tony" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-24T20:19:59.946Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-24T20:20:00.344Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-24T20:20:00.674Z] + sudo service docker restart [2021-03-24T20:20:00.674Z] + true [2021-03-24T20:20:00.674Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-24T20:20:02.722Z] provisioning config files... [2021-03-24T20:20:02.762Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6812711262493081166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:20:03.591Z] ---> docker-login.sh [2021-03-24T20:20:03.591Z] nexus3.edgexfoundry.org:10001 [2021-03-24T20:20:05.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:05.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:05.888Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:05.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:05.888Z] [2021-03-24T20:20:05.888Z] Login Succeeded [2021-03-24T20:20:05.888Z] nexus3.edgexfoundry.org:10002 [2021-03-24T20:20:06.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:06.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:06.515Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:06.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:06.515Z] [2021-03-24T20:20:06.515Z] Login Succeeded [2021-03-24T20:20:06.515Z] nexus3.edgexfoundry.org:10003 [2021-03-24T20:20:06.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:07.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:07.132Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:07.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:07.132Z] [2021-03-24T20:20:07.132Z] Login Succeeded [2021-03-24T20:20:07.132Z] nexus3.edgexfoundry.org:10004 [2021-03-24T20:20:07.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:07.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:07.409Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:07.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:07.409Z] [2021-03-24T20:20:07.409Z] Login Succeeded [2021-03-24T20:20:07.409Z] docker.io [2021-03-24T20:20:07.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:07.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:07.988Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:07.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:07.988Z] [2021-03-24T20:20:07.988Z] Login Succeeded [2021-03-24T20:20:07.988Z] ---> docker-login.sh ends [Pipeline] } [2021-03-24T20:20:08.022Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-24T20:20:08.688Z] ========================================================= [2021-03-24T20:20:08.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-24T20:20:08.688Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:20:09.093Z] + 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-24T20:20:09.795Z] Sending build context to Docker daemon 2.352MB [2021-03-24T20:20:09.795Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T20:20:09.795Z] Step 2/8 : FROM ${BASE} [2021-03-24T20:20:09.795Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-24T20:20:09.795Z] 188c0c94c7c5: Pulling fs layer [2021-03-24T20:20:09.795Z] 0ef7d3d256c8: Pulling fs layer [2021-03-24T20:20:09.795Z] de9db76c5a1d: Pulling fs layer [2021-03-24T20:20:09.795Z] bca2f99d35d6: Pulling fs layer [2021-03-24T20:20:09.795Z] 93359f2a8cfa: Pulling fs layer [2021-03-24T20:20:09.795Z] 7c6f9722023f: Pulling fs layer [2021-03-24T20:20:09.795Z] a35cf1a2eb13: Pulling fs layer [2021-03-24T20:20:09.795Z] bca2f99d35d6: Waiting [2021-03-24T20:20:09.795Z] 93359f2a8cfa: Waiting [2021-03-24T20:20:09.795Z] 7c6f9722023f: Waiting [2021-03-24T20:20:09.795Z] a35cf1a2eb13: Waiting [2021-03-24T20:20:09.795Z] de9db76c5a1d: Verifying Checksum [2021-03-24T20:20:09.795Z] de9db76c5a1d: Download complete [2021-03-24T20:20:10.080Z] 0ef7d3d256c8: Verifying Checksum [2021-03-24T20:20:10.080Z] 0ef7d3d256c8: Download complete [2021-03-24T20:20:10.080Z] 93359f2a8cfa: Download complete [2021-03-24T20:20:10.080Z] 7c6f9722023f: Verifying Checksum [2021-03-24T20:20:10.080Z] 7c6f9722023f: Download complete [2021-03-24T20:20:10.080Z] 188c0c94c7c5: Verifying Checksum [2021-03-24T20:20:10.080Z] 188c0c94c7c5: Download complete [2021-03-24T20:20:10.736Z] 188c0c94c7c5: Pull complete [2021-03-24T20:20:11.413Z] 0ef7d3d256c8: Pull complete [2021-03-24T20:20:11.694Z] de9db76c5a1d: Pull complete [2021-03-24T20:20:16.152Z] a35cf1a2eb13: Verifying Checksum [2021-03-24T20:20:16.152Z] a35cf1a2eb13: Download complete [2021-03-24T20:20:16.869Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31255 in /w/workspace/dgexfoundry_device-sdk-go_PR-833 [Pipeline] { [2021-03-24T20:20:16.878Z] bca2f99d35d6: Verifying Checksum [2021-03-24T20:20:16.878Z] bca2f99d35d6: Download complete [Pipeline] ws [2021-03-24T20:20:16.918Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-24T20:20:22.499Z] using credential edgex-jenkins-ssh [2021-03-24T20:20:22.563Z] Cloning the remote Git repository [2021-03-24T20:20:22.620Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T20:20:22.731Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-24T20:20:22.838Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T20:20:22.838Z] > git --version # timeout=10 [2021-03-24T20:20:22.857Z] > git --version # 'git version 2.17.1' [2021-03-24T20:20:22.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T20:20:22.915Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T20:20:24.195Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-24T20:20:24.217Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T20:20:24.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-24T20:20:24.278Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T20:20:24.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T20:20:24.302Z] > 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-24T20:20:24.926Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [2021-03-24T20:20:25.285Z] Merge succeeded, producing ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [2021-03-24T20:20:25.285Z] Checking out Revision ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b (PR-833) [2021-03-24T20:20:24.942Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T20:20:24.967Z] > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 [2021-03-24T20:20:25.087Z] > git remote # timeout=10 [2021-03-24T20:20:25.159Z] > git config --get remote.origin.url # timeout=10 [2021-03-24T20:20:25.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T20:20:25.208Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-24T20:20:25.246Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-24T20:20:25.287Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T20:20:25.362Z] > git checkout -f ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b # timeout=10 [2021-03-24T20:20:29.621Z] Commit message: "fix: Updates to address PR comments from Tony" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-24T20:20:31.064Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-24T20:20:31.581Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-24T20:20:31.923Z] + sudo service docker restart [2021-03-24T20:20:31.923Z] + true [2021-03-24T20:20:32.296Z] bca2f99d35d6: Pull complete [2021-03-24T20:20:32.674Z] 93359f2a8cfa: Pull complete [2021-03-24T20:20:33.351Z] 7c6f9722023f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-24T20:20:33.981Z] provisioning config files... [2021-03-24T20:20:34.019Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5374121313311237783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:20:34.448Z] ---> docker-login.sh [2021-03-24T20:20:34.449Z] nexus3.edgexfoundry.org:10001 [2021-03-24T20:20:35.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:35.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:35.704Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:35.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:35.704Z] [2021-03-24T20:20:35.704Z] Login Succeeded [2021-03-24T20:20:35.704Z] nexus3.edgexfoundry.org:10002 [2021-03-24T20:20:35.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:36.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:36.252Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:36.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:36.253Z] [2021-03-24T20:20:36.253Z] Login Succeeded [2021-03-24T20:20:36.253Z] nexus3.edgexfoundry.org:10003 [2021-03-24T20:20:36.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:36.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:36.800Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:36.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:36.800Z] [2021-03-24T20:20:36.800Z] Login Succeeded [2021-03-24T20:20:36.800Z] nexus3.edgexfoundry.org:10004 [2021-03-24T20:20:37.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:37.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:37.345Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:37.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:37.345Z] [2021-03-24T20:20:37.345Z] Login Succeeded [2021-03-24T20:20:37.345Z] docker.io [2021-03-24T20:20:37.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T20:20:38.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T20:20:38.213Z] Configure a credential helper to remove this warning. See [2021-03-24T20:20:38.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T20:20:38.213Z] [2021-03-24T20:20:38.213Z] Login Succeeded [2021-03-24T20:20:38.213Z] ---> docker-login.sh ends [Pipeline] } [2021-03-24T20:20:38.231Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-24T20:20:38.752Z] ========================================================= [2021-03-24T20:20:38.752Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-24T20:20:38.752Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:20:39.207Z] + 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-24T20:20:39.495Z] Sending build context to Docker daemon 2.351MB [2021-03-24T20:20:39.771Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T20:20:39.771Z] Step 2/8 : FROM ${BASE} [2021-03-24T20:20:39.771Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-24T20:20:39.771Z] 5f621e34cdf4: Pulling fs layer [2021-03-24T20:20:39.771Z] a4357932f1b6: Pulling fs layer [2021-03-24T20:20:39.771Z] 18c013af1878: Pulling fs layer [2021-03-24T20:20:39.771Z] 00ac8860ef70: Pulling fs layer [2021-03-24T20:20:39.771Z] 63d7cb157983: Pulling fs layer [2021-03-24T20:20:39.771Z] b116817d02f9: Pulling fs layer [2021-03-24T20:20:39.771Z] 745a02a5169b: Pulling fs layer [2021-03-24T20:20:39.771Z] 63d7cb157983: Waiting [2021-03-24T20:20:39.771Z] b116817d02f9: Waiting [2021-03-24T20:20:39.771Z] 745a02a5169b: Waiting [2021-03-24T20:20:39.771Z] 00ac8860ef70: Waiting [2021-03-24T20:20:39.771Z] 18c013af1878: Verifying Checksum [2021-03-24T20:20:39.771Z] 18c013af1878: Download complete [2021-03-24T20:20:39.771Z] a4357932f1b6: Verifying Checksum [2021-03-24T20:20:39.771Z] a4357932f1b6: Download complete [2021-03-24T20:20:39.771Z] 63d7cb157983: Verifying Checksum [2021-03-24T20:20:39.771Z] 63d7cb157983: Download complete [2021-03-24T20:20:39.771Z] b116817d02f9: Verifying Checksum [2021-03-24T20:20:39.771Z] b116817d02f9: Download complete [2021-03-24T20:20:39.771Z] 5f621e34cdf4: Verifying Checksum [2021-03-24T20:20:40.045Z] 5f621e34cdf4: Download complete [2021-03-24T20:20:40.658Z] 5f621e34cdf4: Pull complete [2021-03-24T20:20:41.262Z] a4357932f1b6: Pull complete [2021-03-24T20:20:41.543Z] 18c013af1878: Pull complete [2021-03-24T20:20:41.733Z] a35cf1a2eb13: Pull complete [2021-03-24T20:20:41.733Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-24T20:20:41.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-24T20:20:41.733Z] ---> a62c8e92a672 [2021-03-24T20:20:41.733Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T20:20:41.733Z] ---> Running in a88a1ebb4561 [2021-03-24T20:20:42.143Z] 745a02a5169b: Verifying Checksum [2021-03-24T20:20:42.143Z] 745a02a5169b: Download complete [2021-03-24T20:20:42.246Z] Removing intermediate container a88a1ebb4561 [2021-03-24T20:20:42.246Z] ---> 156b034d428e [2021-03-24T20:20:42.246Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-24T20:20:42.246Z] ---> Running in c7b854cc5049 [2021-03-24T20:20:43.588Z] 00ac8860ef70: Verifying Checksum [2021-03-24T20:20:43.588Z] 00ac8860ef70: Download complete [2021-03-24T20:20:46.881Z] Removing intermediate container c7b854cc5049 [2021-03-24T20:20:46.881Z] ---> 8cdb34aa537d [2021-03-24T20:20:46.881Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-24T20:20:46.881Z] ---> Running in bfd258973791 [2021-03-24T20:20:48.583Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-24T20:20:48.859Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-24T20:20:49.488Z] OK: 166 MiB in 39 packages [2021-03-24T20:20:51.040Z] Removing intermediate container bfd258973791 [2021-03-24T20:20:51.040Z] ---> 18091ed34e53 [2021-03-24T20:20:51.040Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-24T20:20:51.040Z] ---> Running in 2055bc08d1d9 [2021-03-24T20:20:51.752Z] Removing intermediate container 2055bc08d1d9 [2021-03-24T20:20:51.752Z] ---> f8ac45a9e18e [2021-03-24T20:20:51.752Z] Step 7/8 : COPY . . [2021-03-24T20:20:53.755Z] 00ac8860ef70: Pull complete [2021-03-24T20:20:53.755Z] 63d7cb157983: Pull complete [2021-03-24T20:20:53.755Z] b116817d02f9: Pull complete [2021-03-24T20:20:54.460Z] ---> b426454f1f6d [2021-03-24T20:20:54.460Z] Step 8/8 : RUN go mod download [2021-03-24T20:20:54.460Z] ---> Running in 6cdb8a7e8d42 [2021-03-24T20:20:58.071Z] 745a02a5169b: Pull complete [2021-03-24T20:20:58.071Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-24T20:20:58.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-24T20:20:58.071Z] ---> b7e6874047d6 [2021-03-24T20:20:58.071Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T20:21:00.698Z] ---> Running in 36103d47f547 [2021-03-24T20:21:00.698Z] Removing intermediate container 36103d47f547 [2021-03-24T20:21:00.698Z] ---> 4bb0b2e81005 [2021-03-24T20:21:00.698Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-24T20:21:00.975Z] ---> Running in e392c3bd5071 [2021-03-24T20:21:03.642Z] Removing intermediate container e392c3bd5071 [2021-03-24T20:21:03.642Z] ---> 311bcd5a51cc [2021-03-24T20:21:03.642Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-24T20:21:03.642Z] ---> Running in b0992ca99388 [2021-03-24T20:21:04.626Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-24T20:21:05.220Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-24T20:21:06.198Z] OK: 142 MiB in 39 packages [2021-03-24T20:21:07.176Z] Removing intermediate container b0992ca99388 [2021-03-24T20:21:07.176Z] ---> 19a0e081f2ea [2021-03-24T20:21:07.176Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-24T20:21:07.450Z] ---> Running in c21c5b2572f2 [2021-03-24T20:21:08.050Z] Removing intermediate container c21c5b2572f2 [2021-03-24T20:21:08.050Z] ---> 37e9c0768cc1 [2021-03-24T20:21:08.050Z] Step 7/8 : COPY . . [2021-03-24T20:21:09.027Z] ---> 12259dabd1b5 [2021-03-24T20:21:09.027Z] Step 8/8 : RUN go mod download [2021-03-24T20:21:09.303Z] ---> Running in 90a69ffcfb4e [2021-03-24T20:21:31.478Z] Removing intermediate container 90a69ffcfb4e [2021-03-24T20:21:31.478Z] ---> 7c31a16a688c [2021-03-24T20:21:31.478Z] Successfully built 7c31a16a688c [2021-03-24T20:21:31.478Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:21:31.824Z] + docker inspect -f . ci-base-image-arm64 [2021-03-24T20:21:31.824Z] . [Pipeline] withDockerContainer [2021-03-24T20:21:32.097Z] prd-ubuntu18.04-docker-arm64-4c-16g-31255 does not seem to be running inside a container [2021-03-24T20:21:32.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-24T20:21:33.727Z] $ docker top 04116e07156db0aed3c5fc88c6af908098f2d86e5b420b9d6f5b2bf6676ff08e -eo pid,comm [2021-03-24T20:21:34.017Z] Removing intermediate container 6cdb8a7e8d42 [2021-03-24T20:21:34.018Z] ---> ac5b3e64e8dd [2021-03-24T20:21:34.018Z] Successfully built ac5b3e64e8dd [2021-03-24T20:21:34.018Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:21:34.602Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-24T20:21:34.793Z] + go version [2021-03-24T20:21:34.793Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-24T20:21:34.813Z] $ docker stop --time=1 04116e07156db0aed3c5fc88c6af908098f2d86e5b420b9d6f5b2bf6676ff08e [2021-03-24T20:21:34.869Z] . [2021-03-24T20:21:36.883Z] $ docker rm -f 04116e07156db0aed3c5fc88c6af908098f2d86e5b420b9d6f5b2bf6676ff08e [Pipeline] // withDockerContainer [Pipeline] withDockerContainer [2021-03-24T20:21:37.972Z] prd-centos7-docker-4c-2g-31254 does not seem to be running inside a container [2021-03-24T20:21:38.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-24T20:21:40.846Z] $ docker top 48f46179940f0fc4c83d33c712a91e24c2a4f470638b6243775f942740085fc1 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:21:42.272Z] + docker inspect -f . ci-base-image-arm64 [2021-03-24T20:21:42.272Z] . [Pipeline] withDockerContainer [2021-03-24T20:21:42.365Z] + go version [2021-03-24T20:21:42.365Z] go version go1.15.5 linux/amd64 [2021-03-24T20:21:42.540Z] prd-ubuntu18.04-docker-arm64-4c-16g-31255 does not seem to be running inside a container [2021-03-24T20:21:42.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-24T20:21:44.208Z] $ docker top 304c5fd74a7633a0e4cfe84b6d6f45fe3f6b9cb34364d73c27fa5cff713373f9 -eo pid,comm [Pipeline] { [Pipeline] } [2021-03-24T20:21:44.643Z] $ docker stop --time=1 48f46179940f0fc4c83d33c712a91e24c2a4f470638b6243775f942740085fc1 [2021-03-24T20:21:46.895Z] $ docker rm -f 48f46179940f0fc4c83d33c712a91e24c2a4f470638b6243775f942740085fc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:21:47.792Z] + make test [2021-03-24T20:21:47.792Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-24T20:21:48.016Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-24T20:21:48.016Z] . [Pipeline] withDockerContainer [2021-03-24T20:21:48.240Z] prd-centos7-docker-4c-2g-31254 does not seem to be running inside a container [2021-03-24T20:21:48.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-24T20:21:50.506Z] $ docker top 37ba5d75b0d3378406bbcaea20efbd4cabe3a85e063c346655589cb8acd95208 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T20:21:51.970Z] + make test [2021-03-24T20:21:51.970Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-24T20:22:07.253Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-24T20:22:09.986Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-24T20:22:40.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-24T20:22:40.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-24T20:22:40.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-24T20:22:40.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-24T20:22:40.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-24T20:22:42.932Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.387s coverage: 27.0% of statements [2021-03-24T20:22:45.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.282s coverage: 81.2% of statements [2021-03-24T20:22:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-24T20:22:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-24T20:22:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-24T20:22:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-24T20:22:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-24T20:22:57.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 27.0% of statements [2021-03-24T20:22:57.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.177s coverage: 81.2% of statements [2021-03-24T20:23:12.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.097s coverage: 10.5% of statements [2021-03-24T20:23:12.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-24T20:23:12.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-24T20:23:12.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 32.5% of statements [2021-03-24T20:23:12.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-24T20:23:12.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-24T20:23:12.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-24T20:23:12.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 57.3% of statements [2021-03-24T20:23:12.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.915s coverage: 6.6% of statements [2021-03-24T20:23:12.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.114s coverage: 5.0% of statements [2021-03-24T20:23:12.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-24T20:23:12.831Z] GO111MODULE=on go vet ./... [2021-03-24T20:23:23.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.119s coverage: 10.5% of statements [2021-03-24T20:23:23.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-24T20:23:23.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-24T20:23:23.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.218s coverage: 32.5% of statements [2021-03-24T20:23:23.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-24T20:23:23.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-24T20:23:23.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-24T20:23:23.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.254s coverage: 57.3% of statements [2021-03-24T20:23:23.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.934s coverage: 6.6% of statements [2021-03-24T20:23:23.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.0% of statements [2021-03-24T20:23:23.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-24T20:23:23.827Z] GO111MODULE=on go vet ./... [2021-03-24T20:23:40.717Z] gofmt -l . [2021-03-24T20:23:40.717Z] [ "`gofmt -l .`" = "" ] [2021-03-24T20:23:40.717Z] ./bin/test-attribution-txt.sh [2021-03-24T20:23:42.154Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-24T20:23:42.457Z] $ docker stop --time=1 37ba5d75b0d3378406bbcaea20efbd4cabe3a85e063c346655589cb8acd95208 [2021-03-24T20:23:45.162Z] $ docker rm -f 37ba5d75b0d3378406bbcaea20efbd4cabe3a85e063c346655589cb8acd95208 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T20:23:46.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-24T20:23:47.329Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-24T20:23:50.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-24T20:23:50.824Z] + ls -al . [2021-03-24T20:23:50.824Z] total 184 [2021-03-24T20:23:50.824Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 24 20:23 . [2021-03-24T20:23:50.824Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 24 20:19 .. [2021-03-24T20:23:50.824Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 24 20:19 bin [2021-03-24T20:23:50.824Z] -rw-r--r--. 1 jenkins jenkins 100081 Mar 24 20:23 coverage.out [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 24 20:19 Dockerfile.build [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 24 20:19 .dockerignore [2021-03-24T20:23:50.824Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 24 20:19 example [2021-03-24T20:23:50.824Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 24 20:19 .git [2021-03-24T20:23:50.824Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 24 20:19 .github [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 24 20:19 .gitignore [2021-03-24T20:23:50.824Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 24 20:23 go.mod [2021-03-24T20:23:50.824Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 24 20:23 go.sum [2021-03-24T20:23:50.824Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 24 20:19 internal [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 24 20:19 Jenkinsfile [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 24 20:19 LICENSE [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 24 20:19 Makefile [2021-03-24T20:23:50.824Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 24 20:19 openapi [2021-03-24T20:23:50.824Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 24 20:19 pkg [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 24 20:19 README.md [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 24 20:19 RELEASE-NOTES.txt [2021-03-24T20:23:50.824Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 24 20:19 snap [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 24 20:16 VERSION [2021-03-24T20:23:50.824Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 24 20:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:23:51.295Z] + 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=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b --label arch=amd64 --label version=0.0.0 . [2021-03-24T20:23:52.307Z] Sending build context to Docker daemon 2.453MB [2021-03-24T20:23:52.307Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T20:23:52.307Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-24T20:23:52.307Z] ---> ac5b3e64e8dd [2021-03-24T20:23:52.307Z] Step 3/24 : ARG MAKE='make build' [2021-03-24T20:23:52.596Z] ---> Running in abe59fdb64a2 [2021-03-24T20:23:53.264Z] Removing intermediate container abe59fdb64a2 [2021-03-24T20:23:53.264Z] ---> f72b15ad2cae [2021-03-24T20:23:53.264Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-24T20:23:53.560Z] ---> Running in 48da0413132b [2021-03-24T20:23:53.856Z] Removing intermediate container 48da0413132b [2021-03-24T20:23:53.856Z] ---> a52c17c4bfb3 [2021-03-24T20:23:53.856Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T20:23:54.174Z] ---> Running in d3d2e8072577 [2021-03-24T20:23:54.447Z] Removing intermediate container d3d2e8072577 [2021-03-24T20:23:54.447Z] ---> f28f6e3622c0 [2021-03-24T20:23:54.447Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-24T20:23:54.775Z] ---> Running in 02efe8890599 [2021-03-24T20:23:56.281Z] gofmt -l . [2021-03-24T20:23:56.281Z] [ "`gofmt -l .`" = "" ] [2021-03-24T20:23:56.281Z] ./bin/test-attribution-txt.sh [2021-03-24T20:23:56.793Z] Removing intermediate container 02efe8890599 [2021-03-24T20:23:56.793Z] ---> ef3fb4c9e0d7 [2021-03-24T20:23:56.793Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-24T20:23:57.064Z] ---> Running in 6496ce10ced9 [2021-03-24T20:23:57.263Z] ./bin/test-go-mod-tidy.sh [2021-03-24T20:23:57.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] } [2021-03-24T20:23:57.881Z] $ docker stop --time=1 304c5fd74a7633a0e4cfe84b6d6f45fe3f6b9cb34364d73c27fa5cff713373f9 [2021-03-24T20:23:58.625Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-24T20:23:58.889Z] OK: 166 MiB in 39 packages [2021-03-24T20:23:59.481Z] Removing intermediate container 6496ce10ced9 [2021-03-24T20:23:59.481Z] ---> 397242383383 [2021-03-24T20:23:59.481Z] Step 8/24 : COPY . . [2021-03-24T20:24:00.153Z] $ docker rm -f 304c5fd74a7633a0e4cfe84b6d6f45fe3f6b9cb34364d73c27fa5cff713373f9 [2021-03-24T20:24:00.435Z] ---> 410c90459cae [2021-03-24T20:24:00.435Z] Step 9/24 : RUN ${MAKE} [2021-03-24T20:24:00.698Z] ---> Running in bf6c9b46005a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T20:24:01.296Z] + sudo chown -R jenkins:jenkins . [2021-03-24T20:24:01.303Z] 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 [Pipeline] stash [2021-03-24T20:24:01.360Z] Warning: overwriting stash ‘coverage-report’ [2021-03-24T20:24:02.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-24T20:24:02.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-24T20:24:03.228Z] + ls -al . [2021-03-24T20:24:03.228Z] total 220 [2021-03-24T20:24:03.228Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 20:23 . [2021-03-24T20:24:03.228Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 20:20 .. [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 20:20 .dockerignore [2021-03-24T20:24:03.228Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 20:20 .git [2021-03-24T20:24:03.228Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 20:20 .github [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 24 20:20 .gitignore [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 24 20:20 Dockerfile.build [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 24 20:20 Jenkinsfile [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 20:20 LICENSE [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 24 20:20 Makefile [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 24 20:20 README.md [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 24 20:20 RELEASE-NOTES.txt [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 20:16 VERSION [2021-03-24T20:24:03.228Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 20:20 bin [2021-03-24T20:24:03.228Z] -rw-r--r-- 1 jenkins jenkins 100081 Mar 24 20:23 coverage.out [2021-03-24T20:24:03.228Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 20:20 example [2021-03-24T20:24:03.228Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 24 20:23 go.mod [2021-03-24T20:24:03.228Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 24 20:23 go.sum [2021-03-24T20:24:03.228Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 24 20:20 internal [2021-03-24T20:24:03.228Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 20:20 openapi [2021-03-24T20:24:03.228Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 20:20 pkg [2021-03-24T20:24:03.228Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 20:20 snap [2021-03-24T20:24:03.228Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 20:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:24:03.579Z] + 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=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b --label arch=arm64 --label version=0.0.0 . [2021-03-24T20:24:04.174Z] Sending build context to Docker daemon 2.452MB [2021-03-24T20:24:04.174Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T20:24:04.174Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-24T20:24:04.174Z] ---> 7c31a16a688c [2021-03-24T20:24:04.174Z] Step 3/24 : ARG MAKE='make build' [2021-03-24T20:24:04.445Z] ---> Running in 20a31ee5af6b [2021-03-24T20:24:04.718Z] Removing intermediate container 20a31ee5af6b [2021-03-24T20:24:04.718Z] ---> 066a5842362d [2021-03-24T20:24:04.718Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-24T20:24:04.993Z] ---> Running in 5fcb098702c8 [2021-03-24T20:24:05.594Z] Removing intermediate container 5fcb098702c8 [2021-03-24T20:24:05.594Z] ---> b154ff9b11b4 [2021-03-24T20:24:05.594Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T20:24:05.594Z] ---> Running in 9fe4c3ce7c33 [2021-03-24T20:24:06.188Z] Removing intermediate container 9fe4c3ce7c33 [2021-03-24T20:24:06.188Z] ---> 6e5842902503 [2021-03-24T20:24:06.188Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-24T20:24:06.188Z] ---> Running in ef97ba0ee186 [2021-03-24T20:24:08.158Z] Removing intermediate container ef97ba0ee186 [2021-03-24T20:24:08.158Z] ---> 00bcca8bbe48 [2021-03-24T20:24:08.158Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-24T20:24:08.431Z] ---> Running in 5674a1112a97 [2021-03-24T20:24:09.413Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-24T20:24:10.390Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-24T20:24:11.366Z] OK: 142 MiB in 39 packages [2021-03-24T20:24:12.354Z] Removing intermediate container 5674a1112a97 [2021-03-24T20:24:12.354Z] ---> 1a38665595c5 [2021-03-24T20:24:12.354Z] Step 8/24 : COPY . . [2021-03-24T20:24:13.797Z] ---> 5ee6ca48934b [2021-03-24T20:24:13.797Z] Step 9/24 : RUN ${MAKE} [2021-03-24T20:24:13.797Z] ---> Running in 27ae476f8df8 [2021-03-24T20:24:15.230Z] 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-24T20:24:24.709Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-24T20:24:29.174Z] Removing intermediate container bf6c9b46005a [2021-03-24T20:24:29.174Z] ---> d99fe2077995 [2021-03-24T20:24:29.174Z] Step 10/24 : FROM scratch [2021-03-24T20:24:29.174Z] ---> [2021-03-24T20:24:29.174Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T20:24:29.572Z] ---> Running in 2b1b6c36f86c [2021-03-24T20:24:29.844Z] Removing intermediate container 2b1b6c36f86c [2021-03-24T20:24:29.844Z] ---> 5522caf9f51d [2021-03-24T20:24:29.844Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-24T20:24:29.844Z] ---> Running in dc4fe9c5dfec [2021-03-24T20:24:30.172Z] Removing intermediate container dc4fe9c5dfec [2021-03-24T20:24:30.172Z] ---> c6d4a37a4d7a [2021-03-24T20:24:30.172Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-24T20:24:30.459Z] ---> Running in 3393c48a96f9 [2021-03-24T20:24:30.729Z] Removing intermediate container 3393c48a96f9 [2021-03-24T20:24:30.729Z] ---> 20592c204dd5 [2021-03-24T20:24:30.729Z] Step 14/24 : WORKDIR / [2021-03-24T20:24:30.997Z] ---> Running in e4eeb96ae92d [2021-03-24T20:24:31.273Z] Removing intermediate container e4eeb96ae92d [2021-03-24T20:24:31.273Z] ---> 88f7ce08443c [2021-03-24T20:24:31.273Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-24T20:24:32.326Z] ---> 345f159e850f [2021-03-24T20:24:32.326Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-24T20:24:32.961Z] ---> 81806f5a8be6 [2021-03-24T20:24:32.961Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-24T20:24:34.049Z] ---> f2e17322d6d8 [2021-03-24T20:24:34.049Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-24T20:24:34.739Z] ---> 06c3151217be [2021-03-24T20:24:34.739Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-24T20:24:35.391Z] ---> a02ec3d4ecd9 [2021-03-24T20:24:35.391Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-24T20:24:35.391Z] ---> Running in aded263f3cfc [2021-03-24T20:24:36.014Z] Removing intermediate container aded263f3cfc [2021-03-24T20:24:36.014Z] ---> 9c3ef87b69a4 [2021-03-24T20:24:36.014Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-24T20:24:36.014Z] ---> Running in 2ccb82bff041 [2021-03-24T20:24:36.622Z] Removing intermediate container 2ccb82bff041 [2021-03-24T20:24:36.622Z] ---> f14668b16a68 [2021-03-24T20:24:36.622Z] Step 22/24 : LABEL arch=amd64 [2021-03-24T20:24:36.928Z] ---> Running in 34c5e3e044d0 [2021-03-24T20:24:37.532Z] Removing intermediate container 34c5e3e044d0 [2021-03-24T20:24:37.532Z] ---> 56bf8c7b37c8 [2021-03-24T20:24:37.532Z] Step 23/24 : LABEL git_sha=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [2021-03-24T20:24:37.532Z] ---> Running in 5dd370a08be5 [2021-03-24T20:24:38.120Z] Removing intermediate container 5dd370a08be5 [2021-03-24T20:24:38.120Z] ---> 39f8d30b61d9 [2021-03-24T20:24:38.120Z] Step 24/24 : LABEL version=0.0.0 [2021-03-24T20:24:38.120Z] ---> Running in c17ea864acec [2021-03-24T20:24:38.716Z] Removing intermediate container c17ea864acec [2021-03-24T20:24:38.716Z] ---> 1d83309550b0 [2021-03-24T20:24:38.716Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-24T20:24:38.716Z] Successfully built 1d83309550b0 [2021-03-24T20:24:38.716Z] 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-24T20:24:39.703Z] ---> job-cost.sh [2021-03-24T20:24:39.703Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eQzR [2021-03-24T20:24:42.033Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-24T20:24:43.022Z] Removing intermediate container 27ae476f8df8 [2021-03-24T20:24:43.022Z] ---> 0c4ef18e88fb [2021-03-24T20:24:43.022Z] Step 10/24 : FROM scratch [2021-03-24T20:24:43.022Z] ---> [2021-03-24T20:24:43.022Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T20:24:43.022Z] ---> Running in cd871198e2d9 [2021-03-24T20:24:43.618Z] Removing intermediate container cd871198e2d9 [2021-03-24T20:24:43.618Z] ---> 79fdd2e97d42 [2021-03-24T20:24:43.618Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-24T20:24:43.618Z] ---> Running in 85091d430b53 [2021-03-24T20:24:43.889Z] Removing intermediate container 85091d430b53 [2021-03-24T20:24:43.889Z] ---> c8b881a7e1dd [2021-03-24T20:24:43.889Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-24T20:24:44.162Z] ---> Running in 0c1a492a4779 [2021-03-24T20:24:44.439Z] Removing intermediate container 0c1a492a4779 [2021-03-24T20:24:44.439Z] ---> 01d3ea78ff83 [2021-03-24T20:24:44.439Z] Step 14/24 : WORKDIR / [2021-03-24T20:24:44.722Z] ---> Running in a6a70e973734 [2021-03-24T20:24:45.320Z] Removing intermediate container a6a70e973734 [2021-03-24T20:24:45.320Z] ---> 6ea1a261157d [2021-03-24T20:24:45.320Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-24T20:24:46.299Z] ---> 83fe54bcaf0e [2021-03-24T20:24:46.299Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-24T20:24:46.903Z] ---> 63578d407316 [2021-03-24T20:24:46.903Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-24T20:24:47.884Z] ---> 45835a43edae [2021-03-24T20:24:47.885Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-24T20:24:48.481Z] ---> bc3d179fa999 [2021-03-24T20:24:48.481Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-24T20:24:49.076Z] ---> f9f30cdfe858 [2021-03-24T20:24:49.076Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-24T20:24:49.350Z] ---> Running in e9ab823236ba [2021-03-24T20:24:49.942Z] Removing intermediate container e9ab823236ba [2021-03-24T20:24:49.942Z] ---> a64bef6aab63 [2021-03-24T20:24:49.942Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-24T20:24:49.942Z] ---> Running in 0c7aa2a41c39 [2021-03-24T20:24:50.535Z] Removing intermediate container 0c7aa2a41c39 [2021-03-24T20:24:50.535Z] ---> 30b1d2287dfd [2021-03-24T20:24:50.535Z] Step 22/24 : LABEL arch=arm64 [2021-03-24T20:24:50.535Z] ---> Running in 98ec4e8a620e [2021-03-24T20:24:51.127Z] Removing intermediate container 98ec4e8a620e [2021-03-24T20:24:51.127Z] ---> 4ec0c7b5a882 [2021-03-24T20:24:51.127Z] Step 23/24 : LABEL git_sha=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [2021-03-24T20:24:51.127Z] ---> Running in 17c1aef89a83 [2021-03-24T20:24:51.722Z] Removing intermediate container 17c1aef89a83 [2021-03-24T20:24:51.722Z] ---> d13652d47d2e [2021-03-24T20:24:51.722Z] Step 24/24 : LABEL version=0.0.0 [2021-03-24T20:24:51.723Z] ---> Running in bb17b56b7954 [2021-03-24T20:24:52.316Z] Removing intermediate container bb17b56b7954 [2021-03-24T20:24:52.316Z] ---> 721d4f6b0068 [2021-03-24T20:24:52.316Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-24T20:24:52.316Z] Successfully built 721d4f6b0068 [2021-03-24T20:24:52.316Z] 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-24T20:24:53.126Z] ---> job-cost.sh [2021-03-24T20:24:53.126Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-907A [2021-03-24T20:25:12.351Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-24T20:25:33.686Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-24T20:25:59.892Z] lf-activate-venv(): INFO: Adding /tmp/venv-eQzR/bin to PATH [2021-03-24T20:25:59.892Z] INFO: No Stack... [2021-03-24T20:25:59.892Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-24T20:25:59.892Z] INFO: Archiving Costs [Pipeline] sh [2021-03-24T20:26:00.342Z] + cut -d, -f6 [2021-03-24T20:26:00.343Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-03-24T20:26:00.455Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [2021-03-24T20:26:00.469Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] did not exist. Created. [2021-03-24T20:26:00.469Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-24T20:26:00.897Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-24T20:26:01.138Z] Stashed 1 file(s) [Pipeline] } [2021-03-24T20:26:01.150Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-24T20:26:55.418Z] lf-activate-venv(): INFO: Adding /tmp/venv-907A/bin to PATH [2021-03-24T20:26:55.418Z] INFO: No Stack... [2021-03-24T20:26:56.006Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-24T20:26:56.593Z] INFO: Archiving Costs [Pipeline] sh [2021-03-24T20:26:56.923Z] + cut -d, -f6 [2021-03-24T20:26:56.923Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-03-24T20:26:57.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [2021-03-24T20:26:57.048Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] did not exist. Created. [2021-03-24T20:26:57.048Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-24T20:26:57.480Z] /w/workspace/device-sdk-go/2@tmp/durable-dbcef1a6/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-dbcef1a6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-24T20:26:57.820Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-24T20:26:57.881Z] Warning: overwriting stash ‘stack-cost’ [2021-03-24T20:26:58.030Z] Stashed 1 file(s) [Pipeline] } [2021-03-24T20:26:58.045Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-833-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-24T20:26:59.288Z] provisioning config files... [2021-03-24T20:26:59.300Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config3774613130329952317tmp [Pipeline] { [Pipeline] sh [2021-03-24T20:26:59.728Z] + set +x [2021-03-24T20:26:59.728Z] + curl -s https://codecov.io/bash [2021-03-24T20:26:59.728Z] + bash -s -- [2021-03-24T20:26:59.991Z] [2021-03-24T20:26:59.991Z] _____ _ [2021-03-24T20:26:59.991Z] / ____| | | [2021-03-24T20:26:59.991Z] | | ___ __| | ___ ___ _____ __ [2021-03-24T20:26:59.991Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-24T20:26:59.991Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-24T20:26:59.991Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-24T20:26:59.991Z] Bash-20210309-2b87ace [2021-03-24T20:26:59.991Z] [2021-03-24T20:26:59.991Z] [2021-03-24T20:26:59.991Z] ==> git version 2.24.3 found [2021-03-24T20:26:59.991Z] ==> 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-24T20:26:59.991Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-24T20:26:59.991Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-24T20:26:59.991Z] ==> Jenkins CI detected. [2021-03-24T20:26:59.991Z] project root: . [2021-03-24T20:26:59.991Z] --> token set from env [2021-03-24T20:26:59.991Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-24T20:26:59.991Z] ==> Running gcov in . (disable via -X gcov) [2021-03-24T20:26:59.991Z] ==> Python coveragepy not found [2021-03-24T20:26:59.991Z] ==> Searching for coverage reports in: [2021-03-24T20:26:59.991Z] + . [2021-03-24T20:26:59.991Z] -> Found 1 reports [2021-03-24T20:26:59.991Z] ==> Detecting git/mercurial file structure [2021-03-24T20:26:59.991Z] ==> Reading reports [2021-03-24T20:26:59.991Z] + ./coverage.out bytes=100081 [2021-03-24T20:26:59.991Z] ==> Appending adjustments [2021-03-24T20:26:59.991Z] https://docs.codecov.io/docs/fixing-reports [2021-03-24T20:27:00.254Z] + Found adjustments [2021-03-24T20:27:00.254Z] ==> Gzipping contents [2021-03-24T20:27:00.254Z] 16K /tmp/codecov.IMcrwy.gz [2021-03-24T20:27:00.254Z] ==> Uploading reports [2021-03-24T20:27:00.254Z] url: https://codecov.io [2021-03-24T20:27:00.254Z] query: branch=PR-833&commit=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-833%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=833&job=&cmd_args= [2021-03-24T20:27:00.254Z] -> Pinging Codecov [2021-03-24T20:27:00.254Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-833&commit=ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-833%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=833&job=&cmd_args= [2021-03-24T20:27:00.830Z] -> Uploading to [2021-03-24T20:27:00.830Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-24/7E55EF52A471D76F132DFD9A03CDDE97/ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b/4252d346-b36d-4c80-bc37-44d3b4008673.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210324T202700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cac0e9ca08a7ba57f30bc5821bff41ffbd25e998467e5292418efe2c10763d50 [2021-03-24T20:27:00.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-24T20:27:00.830Z] Dload Upload Total Spent Left Speed [2021-03-24T20:27:01.093Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13570 0 0 100 13570 0 33812 --:--:-- --:--:-- --:--:-- 33756 [2021-03-24T20:27:01.093Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ba1d8f4c9db05b3f0dee1aefcdb51c3f6abd651b [Pipeline] } [2021-03-24T20:27:01.104Z] 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-24T20:27:03.420Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:27:03.991Z] ---> package-listing.sh [2021-03-24T20:27:03.991Z] ++ facter osfamily [2021-03-24T20:27:03.991Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-24T20:27:03.991Z] + OS_FAMILY=redhat [2021-03-24T20:27:03.991Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-833 [2021-03-24T20:27:03.991Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-24T20:27:03.991Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-24T20:27:03.991Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-24T20:27:03.991Z] + PACKAGES=/tmp/packages_start.txt [2021-03-24T20:27:03.991Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-833 ']' [2021-03-24T20:27:03.991Z] + PACKAGES=/tmp/packages_end.txt [2021-03-24T20:27:03.991Z] + case "${OS_FAMILY}" in [2021-03-24T20:27:03.991Z] + rpm -qa [2021-03-24T20:27:03.991Z] + sort [2021-03-24T20:27:09.315Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-24T20:27:09.315Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-24T20:27:09.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-24T20:27:09.315Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-833 ']' [2021-03-24T20:27:09.315Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-833/archives/ [2021-03-24T20:27:09.315Z] + 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-24T20:27:09.330Z] 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-24T20:27:09.633Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:27:09.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T20:27:09.948Z] [2021-03-24T20:27:09.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-24T20:27:10.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T20:27:10.323Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-24T20:27:10.323Z] df20fa9351a1: Pulling fs layer [2021-03-24T20:27:10.323Z] 36b3adc4ff6f: Pulling fs layer [2021-03-24T20:27:10.323Z] 8ad3a11d3b57: Pulling fs layer [2021-03-24T20:27:10.323Z] 46f8f816bc3b: Pulling fs layer [2021-03-24T20:27:10.323Z] 93b61091891f: Pulling fs layer [2021-03-24T20:27:10.323Z] 93b9cdb0e59b: Pulling fs layer [2021-03-24T20:27:10.323Z] 5e14af77c1be: Pulling fs layer [2021-03-24T20:27:10.323Z] 01666e4c0597: Pulling fs layer [2021-03-24T20:27:10.323Z] aa168da1d23b: Pulling fs layer [2021-03-24T20:27:10.323Z] 46f8f816bc3b: Waiting [2021-03-24T20:27:10.323Z] 5e14af77c1be: Waiting [2021-03-24T20:27:10.323Z] 93b61091891f: Waiting [2021-03-24T20:27:10.323Z] 93b9cdb0e59b: Waiting [2021-03-24T20:27:10.323Z] 01666e4c0597: Waiting [2021-03-24T20:27:10.323Z] aa168da1d23b: Waiting [2021-03-24T20:27:10.323Z] 36b3adc4ff6f: Verifying Checksum [2021-03-24T20:27:10.323Z] 36b3adc4ff6f: Download complete [2021-03-24T20:27:10.323Z] 46f8f816bc3b: Verifying Checksum [2021-03-24T20:27:10.323Z] 46f8f816bc3b: Download complete [2021-03-24T20:27:10.323Z] df20fa9351a1: Verifying Checksum [2021-03-24T20:27:10.591Z] 93b9cdb0e59b: Verifying Checksum [2021-03-24T20:27:10.591Z] 93b9cdb0e59b: Download complete [2021-03-24T20:27:10.591Z] 5e14af77c1be: Verifying Checksum [2021-03-24T20:27:10.591Z] 5e14af77c1be: Download complete [2021-03-24T20:27:10.591Z] 93b61091891f: Verifying Checksum [2021-03-24T20:27:10.591Z] 93b61091891f: Download complete [2021-03-24T20:27:10.591Z] 01666e4c0597: Verifying Checksum [2021-03-24T20:27:10.591Z] 01666e4c0597: Download complete [2021-03-24T20:27:10.591Z] 8ad3a11d3b57: Verifying Checksum [2021-03-24T20:27:10.591Z] 8ad3a11d3b57: Download complete [2021-03-24T20:27:10.861Z] df20fa9351a1: Pull complete [2021-03-24T20:27:11.137Z] 36b3adc4ff6f: Pull complete [2021-03-24T20:27:12.573Z] 8ad3a11d3b57: Pull complete [2021-03-24T20:27:12.573Z] aa168da1d23b: Verifying Checksum [2021-03-24T20:27:12.573Z] aa168da1d23b: Download complete [2021-03-24T20:27:12.839Z] 46f8f816bc3b: Pull complete [2021-03-24T20:27:13.103Z] 93b61091891f: Pull complete [2021-03-24T20:27:13.367Z] 93b9cdb0e59b: Pull complete [2021-03-24T20:27:13.367Z] 5e14af77c1be: Pull complete [2021-03-24T20:27:13.636Z] 01666e4c0597: Pull complete [2021-03-24T20:27:20.314Z] aa168da1d23b: Pull complete [2021-03-24T20:27:20.314Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-24T20:27:20.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T20:27:20.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-24T20:27:20.489Z] prd-centos7-docker-4c-2g-31253 does not seem to be running inside a container [2021-03-24T20:27:20.538Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-24T20:27:26.904Z] $ docker top 0be8cd886694bdc39cf4af8c9a727d34cd9f9b834e325bb0169107d6cd7f24a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T20:27:27.494Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-24T20:27:27.797Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-24T20:27:28.110Z] + ls /var/log/sa-host [2021-03-24T20:27:28.110Z] + sadf -c /var/log/sa-host/sa23 [2021-03-24T20:27:28.110Z] file_magic: OK [2021-03-24T20:27:28.110Z] HZ: Using current value: 100 [2021-03-24T20:27:28.110Z] file_header: OK [2021-03-24T20:27:28.110Z] 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-24T20:27:28.110Z] Statistics: [2021-03-24T20:27:28.110Z] Hnuu...uuuununununu... [2021-03-24T20:27:28.110Z] File successfully converted to sysstat format version 12.2.1 [2021-03-24T20:27:28.110Z] + sadf -c /var/log/sa-host/sa24 [2021-03-24T20:27:28.110Z] file_magic: OK [2021-03-24T20:27:28.110Z] HZ: Using current value: 100 [2021-03-24T20:27:28.110Z] file_header: OK [2021-03-24T20:27:28.110Z] 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-24T20:27:28.110Z] Statistics: [2021-03-24T20:27:28.110Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-24T20:27:28.110Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-24T20:27:28.327Z] provisioning config files... [2021-03-24T20:27:28.345Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-833@tmp/config6398789271376533055tmp [Pipeline] { [Pipeline] echo [2021-03-24T20:27:28.435Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:27:28.740Z] ---> create-netrc.sh [Pipeline] } [2021-03-24T20:27:28.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-24T20:27:28.846Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:27:29.162Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-24T20:27:29.179Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:27:29.490Z] ---> sudo-logs.sh [2021-03-24T20:27:29.490Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-24T20:27:29.554Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:27:29.855Z] ---> job-cost.sh [2021-03-24T20:27:29.855Z] lf-activate-venv: SKIPPING [2021-03-24T20:27:29.855Z] DEBUG: total: 0.20999999344348907 [2021-03-24T20:27:29.855Z] INFO: Retrieving Stack Cost... [2021-03-24T20:27:31.248Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-24T20:27:31.512Z] INFO: Archiving Costs [Pipeline] echo [2021-03-24T20:27:31.526Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T20:27:31.827Z] ---> logs-deploy.sh [2021-03-24T20:27:31.827Z] lf-activate-venv: SKIPPING [2021-03-24T20:27:31.827Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-833/2 [2021-03-24T20:27:31.827Z] INFO: archiving workspace using pattern(s): [2021-03-24T20:27:33.773Z] Archives upload complete. [2021-03-24T20:27:33.773Z] INFO: archiving logs to Nexus