Pull request #820 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 661e24c2be0ee237fe0754a20a2fbc962ea95f03+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (90819cea15cdb8b655d2dfb6cb519046a1334877) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 ‘prd-centos7-docker-4c-2g-29978’ Running on prd-centos7-docker-4c-2g-29980 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [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-820 # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 661e24c2be0ee237fe0754a20a2fbc962ea95f03 Merge succeeded, producing 661e24c2be0ee237fe0754a20a2fbc962ea95f03 Checking out Revision 661e24c2be0ee237fe0754a20a2fbc962ea95f03 (PR-820) > 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/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 661e24c2be0ee237fe0754a20a2fbc962ea95f03 # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 661e24c2be0ee237fe0754a20a2fbc962ea95f03 # timeout=10 Commit message: "refactor: remove v2 subdirectory for SDK" > git rev-list --no-walk fe842a3da74621a65eaede32a7aa518966e54624 # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-16T10:27:05.810Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-16T10:27:06.090Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-16T10:27:06.197Z] ========================================================= [2021-03-16T10:27:06.197Z] EdgeX Global Pipelines Version Info [2021-03-16T10:27:06.197Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:27:08.444Z] ------------------- [2021-03-16T10:27:08.444Z] stable info: [2021-03-16T10:27:08.444Z] ------------------- [2021-03-16T10:27:08.444Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-16T10:27:08.444Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T10:27:08.444Z] Message: update stable to v1.0.184 [2021-03-16T10:27:09.424Z] ------------------- [2021-03-16T10:27:09.424Z] experimental info: [2021-03-16T10:27:09.424Z] ------------------- [2021-03-16T10:27:09.424Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-16T10:27:09.424Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T10:27:09.424Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-16T10:27:09.708Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-16T10:27:09.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-16T10:27:09.899Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-16T10:27:10.229Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-16T10:27:10.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-16T10:27:10.456Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-16T10:27:10.573Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-16T10:27:10.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-16T10:27:10.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-16T10:27:10.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-16T10:27:11.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-16T10:27:11.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-16T10:27:11.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-16T10:27:11.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-16T10:27:11.404Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T10:27:11.498Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T10:27:11.589Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T10:27:11.681Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T10:27:11.769Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-16T10:27:11.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-16T10:27:12.019Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-16T10:27:12.120Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-16T10:27:12.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-16T10:27:12.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-16T10:27:12.423Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-16T10:27:12.538Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-16T10:27:12.645Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-820 [Pipeline] echo [2021-03-16T10:27:12.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-820 [Pipeline] echo [2021-03-16T10:27:12.817Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-820 [Pipeline] echo [2021-03-16T10:27:12.900Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 661e24c2be0ee237fe0754a20a2fbc962ea95f03 [Pipeline] echo [2021-03-16T10:27:12.986Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 661e24c [Pipeline] echo [2021-03-16T10:27:13.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T10:27:13.247Z] provisioning config files... [2021-03-16T10:27:13.279Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config4006228426581736709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:27:13.718Z] ---> docker-login.sh [2021-03-16T10:27:13.718Z] nexus3.edgexfoundry.org:10001 [2021-03-16T10:27:14.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:27:15.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:27:15.069Z] Configure a credential helper to remove this warning. See [2021-03-16T10:27:15.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:27:15.069Z] [2021-03-16T10:27:15.069Z] Login Succeeded [2021-03-16T10:27:15.069Z] nexus3.edgexfoundry.org:10002 [2021-03-16T10:27:15.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:27:15.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:27:15.636Z] Configure a credential helper to remove this warning. See [2021-03-16T10:27:15.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:27:15.636Z] [2021-03-16T10:27:15.636Z] Login Succeeded [2021-03-16T10:27:15.636Z] nexus3.edgexfoundry.org:10003 [2021-03-16T10:27:15.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:27:15.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:27:15.909Z] Configure a credential helper to remove this warning. See [2021-03-16T10:27:15.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:27:15.909Z] [2021-03-16T10:27:15.909Z] Login Succeeded [2021-03-16T10:27:15.909Z] nexus3.edgexfoundry.org:10004 [2021-03-16T10:27:16.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:27:16.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:27:16.197Z] Configure a credential helper to remove this warning. See [2021-03-16T10:27:16.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:27:16.197Z] [2021-03-16T10:27:16.197Z] Login Succeeded [2021-03-16T10:27:16.197Z] docker.io [2021-03-16T10:27:16.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:27:17.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:27:17.060Z] Configure a credential helper to remove this warning. See [2021-03-16T10:27:17.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:27:17.060Z] [2021-03-16T10:27:17.060Z] Login Succeeded [2021-03-16T10:27:17.060Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T10:27:17.073Z] 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-16T10:27:17.876Z] + git log --format=format:%s -1 661e24c2be0ee237fe0754a20a2fbc962ea95f03 [Pipeline] echo [2021-03-16T10:27:18.008Z] GIT_COMMIT: 661e24c2be0ee237fe0754a20a2fbc962ea95f03, Commit Message: refactor: remove v2 subdirectory for SDK [Pipeline] echo [2021-03-16T10:27:18.069Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:27:18.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T10:27:18.731Z] [2021-03-16T10:27:18.731Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:27:19.096Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T10:27:19.096Z] latest: Pulling from edgex-devops/git-semver [2021-03-16T10:27:19.096Z] 31603596830f: Pulling fs layer [2021-03-16T10:27:19.096Z] 2a8b12db71e7: Pulling fs layer [2021-03-16T10:27:19.096Z] 6ca5941a6612: Pulling fs layer [2021-03-16T10:27:19.096Z] ecc8261a40a4: Pulling fs layer [2021-03-16T10:27:19.096Z] ecc8261a40a4: Waiting [2021-03-16T10:27:19.096Z] 2a8b12db71e7: Verifying Checksum [2021-03-16T10:27:19.096Z] 2a8b12db71e7: Download complete [2021-03-16T10:27:19.375Z] 31603596830f: Verifying Checksum [2021-03-16T10:27:19.375Z] 31603596830f: Download complete [2021-03-16T10:27:19.375Z] ecc8261a40a4: Verifying Checksum [2021-03-16T10:27:19.375Z] ecc8261a40a4: Download complete [2021-03-16T10:27:19.684Z] 6ca5941a6612: Verifying Checksum [2021-03-16T10:27:19.684Z] 6ca5941a6612: Download complete [2021-03-16T10:27:20.663Z] 31603596830f: Pull complete [2021-03-16T10:27:20.663Z] 2a8b12db71e7: Pull complete [2021-03-16T10:27:22.698Z] 6ca5941a6612: Pull complete [2021-03-16T10:27:22.969Z] ecc8261a40a4: Pull complete [2021-03-16T10:27:22.969Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-16T10:27:22.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T10:27:22.969Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-16T10:27:23.112Z] prd-centos7-docker-4c-2g-29980 does not seem to be running inside a container [2021-03-16T10:27:23.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-820 -v /w/workspace/dgexfoundry_device-sdk-go_PR-820:/w/workspace/dgexfoundry_device-sdk-go_PR-820:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T10:27:27.712Z] $ docker top 5f75bb11ec64f3fa925c377b2b522e302edd2257e8bed923736cbf9f7027dfbb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T10:27:28.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T10:27:28.297Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T10:27:29.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T10:27:29.027Z] $ docker exec 5f75bb11ec64f3fa925c377b2b522e302edd2257e8bed923736cbf9f7027dfbb ssh-agent [2021-03-16T10:27:30.085Z] SSH_AUTH_SOCK=/tmp/ssh-Bue2Uw3qV5dk/agent.11 [2021-03-16T10:27:30.085Z] SSH_AGENT_PID=16 [2021-03-16T10:27:30.131Z] Running ssh-add (command line suppressed) [2021-03-16T10:27:30.840Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_8678170815712318311.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_8678170815712318311.key) [2021-03-16T10:27:31.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T10:27:31.795Z] + git tag --points-at HEAD [Pipeline] } [2021-03-16T10:27:31.838Z] $ docker exec --env ******** --env ******** 5f75bb11ec64f3fa925c377b2b522e302edd2257e8bed923736cbf9f7027dfbb ssh-agent -k [2021-03-16T10:27:32.224Z] unset SSH_AUTH_SOCK; [2021-03-16T10:27:32.225Z] unset SSH_AGENT_PID; [2021-03-16T10:27:32.225Z] echo Agent pid 16 killed; [2021-03-16T10:27:32.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-16T10:27:32.516Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T10:27:32.516Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T10:27:32.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T10:27:32.917Z] $ docker exec 5f75bb11ec64f3fa925c377b2b522e302edd2257e8bed923736cbf9f7027dfbb ssh-agent [2021-03-16T10:27:33.435Z] SSH_AUTH_SOCK=/tmp/ssh-qevCjL08VCXY/agent.44 [2021-03-16T10:27:33.436Z] SSH_AGENT_PID=49 [2021-03-16T10:27:33.449Z] Running ssh-add (command line suppressed) [2021-03-16T10:27:33.685Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_4883903840605721702.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_4883903840605721702.key) [2021-03-16T10:27:33.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T10:27:34.132Z] + git semver init [2021-03-16T10:27:34.493Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T10:27:34.493Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.git [2021-03-16T10:27:34.493Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-820 [2021-03-16T10:27:34.493Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T10:27:34.493Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T10:27:34.493Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T10:27:34.493Z] # $SEMVER_BRANCH = PR-820 [2021-03-16T10:27:34.493Z] # $SEMVER_TEMP = /tmp/semver-149214086 [2021-03-16T10:27:34.493Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-16T10:27:35.491Z] # '/tmp/semver-149214086' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver' [2021-03-16T10:27:35.491Z] # -> Force: false [2021-03-16T10:27:35.491Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver [Pipeline] } [2021-03-16T10:27:35.506Z] $ docker exec --env ******** --env ******** 5f75bb11ec64f3fa925c377b2b522e302edd2257e8bed923736cbf9f7027dfbb ssh-agent -k [2021-03-16T10:27:35.715Z] unset SSH_AUTH_SOCK; [2021-03-16T10:27:35.716Z] unset SSH_AGENT_PID; [2021-03-16T10:27:35.716Z] echo Agent pid 49 killed; [2021-03-16T10:27:35.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T10:27:36.619Z] + git semver [Pipeline] } [2021-03-16T10:27:36.641Z] $ docker stop --time=1 5f75bb11ec64f3fa925c377b2b522e302edd2257e8bed923736cbf9f7027dfbb [2021-03-16T10:27:39.050Z] $ docker rm -f 5f75bb11ec64f3fa925c377b2b522e302edd2257e8bed923736cbf9f7027dfbb [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T10:27:39.686Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-16T10:27:42.012Z] Stashed 1 file(s) [Pipeline] echo [2021-03-16T10:27:42.015Z] [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-16T10:27:57.492Z] Still waiting to schedule task [2021-03-16T10:27:57.492Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-16T10:27:57.495Z] Still waiting to schedule task [2021-03-16T10:27:57.495Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-16T10:29:43.263Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29982 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws [2021-03-16T10:29:43.353Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-16T10:29:48.478Z] using credential edgex-jenkins-ssh [2021-03-16T10:29:48.560Z] Cloning the remote Git repository [2021-03-16T10:29:48.619Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T10:29:48.735Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-16T10:29:48.825Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T10:29:48.825Z] > git --version # timeout=10 [2021-03-16T10:29:48.841Z] > git --version # 'git version 2.17.1' [2021-03-16T10:29:48.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T10:29:48.904Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T10:29:50.774Z] Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 661e24c2be0ee237fe0754a20a2fbc962ea95f03 [2021-03-16T10:29:50.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T10:29:50.075Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T10:29:50.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T10:29:50.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T10:29:50.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T10:29:50.146Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T10:29:50.797Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T10:29:50.816Z] > git checkout -f 661e24c2be0ee237fe0754a20a2fbc962ea95f03 # timeout=10 [2021-03-16T10:29:51.021Z] Merge succeeded, producing 661e24c2be0ee237fe0754a20a2fbc962ea95f03 [2021-03-16T10:29:51.022Z] Checking out Revision 661e24c2be0ee237fe0754a20a2fbc962ea95f03 (PR-820) [2021-03-16T10:29:50.913Z] > git remote # timeout=10 [2021-03-16T10:29:50.932Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T10:29:50.945Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T10:29:50.955Z] > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-16T10:29:50.975Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T10:29:51.033Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T10:29:51.051Z] > git checkout -f 661e24c2be0ee237fe0754a20a2fbc962ea95f03 # timeout=10 [2021-03-16T10:29:55.238Z] Commit message: "refactor: remove v2 subdirectory for SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T10:29:56.833Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-16T10:29:57.262Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T10:29:57.604Z] + sudo service+ docker restart [2021-03-16T10:29:57.604Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T10:29:59.673Z] provisioning config files... [2021-03-16T10:29:59.771Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2274500065842738154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:30:00.252Z] ---> docker-login.sh [2021-03-16T10:30:00.252Z] nexus3.edgexfoundry.org:10001 [2021-03-16T10:30:01.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:01.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:01.521Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:01.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:01.521Z] [2021-03-16T10:30:01.521Z] Login Succeeded [2021-03-16T10:30:01.521Z] nexus3.edgexfoundry.org:10002 [2021-03-16T10:30:02.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:02.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:02.393Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:02.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:02.393Z] [2021-03-16T10:30:02.393Z] Login Succeeded [2021-03-16T10:30:02.393Z] nexus3.edgexfoundry.org:10003 [2021-03-16T10:30:02.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:02.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:02.944Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:02.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:02.944Z] [2021-03-16T10:30:02.944Z] Login Succeeded [2021-03-16T10:30:02.944Z] nexus3.edgexfoundry.org:10004 [2021-03-16T10:30:03.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:03.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:03.491Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:03.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:03.491Z] [2021-03-16T10:30:03.491Z] Login Succeeded [2021-03-16T10:30:03.491Z] docker.io [2021-03-16T10:30:03.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:04.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:04.036Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:04.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:04.036Z] [2021-03-16T10:30:04.036Z] Login Succeeded [2021-03-16T10:30:04.036Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T10:30:04.053Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T10:30:04.531Z] ========================================================= [2021-03-16T10:30:04.531Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-16T10:30:04.531Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:30:04.915Z] + 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-16T10:30:05.197Z] Sending build context to Docker daemon 2.354MB [2021-03-16T10:30:05.474Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T10:30:05.474Z] Step 2/8 : FROM ${BASE} [2021-03-16T10:30:05.474Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-16T10:30:05.474Z] 5f621e34cdf4: Pulling fs layer [2021-03-16T10:30:05.474Z] a4357932f1b6: Pulling fs layer [2021-03-16T10:30:05.474Z] 18c013af1878: Pulling fs layer [2021-03-16T10:30:05.474Z] 00ac8860ef70: Pulling fs layer [2021-03-16T10:30:05.474Z] 63d7cb157983: Pulling fs layer [2021-03-16T10:30:05.474Z] b116817d02f9: Pulling fs layer [2021-03-16T10:30:05.474Z] 745a02a5169b: Pulling fs layer [2021-03-16T10:30:05.474Z] 00ac8860ef70: Waiting [2021-03-16T10:30:05.474Z] 63d7cb157983: Waiting [2021-03-16T10:30:05.474Z] 745a02a5169b: Waiting [2021-03-16T10:30:05.474Z] b116817d02f9: Waiting [2021-03-16T10:30:05.474Z] 18c013af1878: Verifying Checksum [2021-03-16T10:30:05.474Z] 18c013af1878: Download complete [2021-03-16T10:30:05.474Z] a4357932f1b6: Verifying Checksum [2021-03-16T10:30:05.474Z] a4357932f1b6: Download complete [2021-03-16T10:30:05.474Z] 63d7cb157983: Verifying Checksum [2021-03-16T10:30:05.474Z] 63d7cb157983: Download complete [2021-03-16T10:30:05.474Z] b116817d02f9: Verifying Checksum [2021-03-16T10:30:05.474Z] b116817d02f9: Download complete [2021-03-16T10:30:05.474Z] 5f621e34cdf4: Verifying Checksum [2021-03-16T10:30:05.474Z] 5f621e34cdf4: Download complete [2021-03-16T10:30:06.089Z] 5f621e34cdf4: Pull complete [2021-03-16T10:30:06.689Z] a4357932f1b6: Pull complete [2021-03-16T10:30:06.965Z] 18c013af1878: Pull complete [2021-03-16T10:30:08.409Z] 745a02a5169b: Verifying Checksum [2021-03-16T10:30:08.409Z] 745a02a5169b: Download complete [2021-03-16T10:30:09.394Z] 00ac8860ef70: Verifying Checksum [2021-03-16T10:30:09.394Z] 00ac8860ef70: Download complete [2021-03-16T10:30:19.550Z] 00ac8860ef70: Pull complete [2021-03-16T10:30:19.550Z] 63d7cb157983: Pull complete [2021-03-16T10:30:20.151Z] b116817d02f9: Pull complete [2021-03-16T10:30:23.550Z] 745a02a5169b: Pull complete [2021-03-16T10:30:23.550Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-16T10:30:23.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-16T10:30:23.550Z] ---> b7e6874047d6 [2021-03-16T10:30:23.550Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T10:30:26.944Z] ---> Running in 29d8b3710ae1 [2021-03-16T10:30:26.944Z] Removing intermediate container 29d8b3710ae1 [2021-03-16T10:30:26.944Z] ---> 41116802b1cb [2021-03-16T10:30:26.944Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T10:30:27.216Z] ---> Running in 2ce8272220e5 [2021-03-16T10:30:29.841Z] Removing intermediate container 2ce8272220e5 [2021-03-16T10:30:29.841Z] ---> 7512f1f45818 [2021-03-16T10:30:29.841Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T10:30:29.841Z] ---> Running in a2f027fce322 [2021-03-16T10:30:30.436Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T10:30:30.697Z] Running on prd-centos7-docker-4c-2g-29983 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws [2021-03-16T10:30:30.751Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-16T10:30:31.421Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T10:30:32.026Z] OK: 142 MiB in 39 packages [2021-03-16T10:30:33.465Z] Removing intermediate container a2f027fce322 [2021-03-16T10:30:33.465Z] ---> 87fe9712665b [2021-03-16T10:30:33.465Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T10:30:33.465Z] ---> Running in 6536a7875146 [2021-03-16T10:30:33.740Z] Removing intermediate container 6536a7875146 [2021-03-16T10:30:33.740Z] ---> d3943b8c8c26 [2021-03-16T10:30:33.740Z] Step 7/8 : COPY . . [2021-03-16T10:30:35.176Z] ---> d092683491cc [2021-03-16T10:30:35.176Z] Step 8/8 : RUN go mod download [2021-03-16T10:30:35.176Z] ---> Running in ada6f0106d7b [2021-03-16T10:30:39.239Z] using credential edgex-jenkins-ssh [2021-03-16T10:30:39.370Z] Cloning the remote Git repository [2021-03-16T10:30:39.666Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T10:30:39.773Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-16T10:30:39.883Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T10:30:39.883Z] > git --version # timeout=10 [2021-03-16T10:30:39.898Z] > git --version # 'git version 2.24.3' [2021-03-16T10:30:39.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T10:30:39.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T10:30:40.789Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T10:30:40.891Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T10:30:42.017Z] Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 661e24c2be0ee237fe0754a20a2fbc962ea95f03 [2021-03-16T10:30:40.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T10:30:41.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T10:30:41.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T10:30:41.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T10:30:42.040Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T10:30:42.079Z] > git checkout -f 661e24c2be0ee237fe0754a20a2fbc962ea95f03 # timeout=10 [2021-03-16T10:30:42.707Z] Merge succeeded, producing 661e24c2be0ee237fe0754a20a2fbc962ea95f03 [2021-03-16T10:30:42.708Z] Checking out Revision 661e24c2be0ee237fe0754a20a2fbc962ea95f03 (PR-820) [2021-03-16T10:30:42.457Z] > git remote # timeout=10 [2021-03-16T10:30:42.539Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T10:30:42.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T10:30:42.587Z] > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-16T10:30:42.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T10:30:42.712Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T10:30:42.732Z] > git checkout -f 661e24c2be0ee237fe0754a20a2fbc962ea95f03 # timeout=10 [2021-03-16T10:30:47.222Z] Commit message: "refactor: remove v2 subdirectory for SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T10:30:49.730Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-16T10:30:50.549Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T10:30:51.010Z] + sudo service docker restart [2021-03-16T10:30:51.010Z] + true [2021-03-16T10:30:51.010Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T10:30:53.028Z] provisioning config files... [2021-03-16T10:30:53.088Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3388189019336472364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:30:53.475Z] ---> docker-login.sh [2021-03-16T10:30:53.475Z] nexus3.edgexfoundry.org:10001 [2021-03-16T10:30:54.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:54.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:54.365Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:54.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:54.365Z] [2021-03-16T10:30:54.365Z] Login Succeeded [2021-03-16T10:30:54.365Z] nexus3.edgexfoundry.org:10002 [2021-03-16T10:30:54.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:54.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:54.640Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:54.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:54.640Z] [2021-03-16T10:30:54.640Z] Login Succeeded [2021-03-16T10:30:54.640Z] nexus3.edgexfoundry.org:10003 [2021-03-16T10:30:54.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:54.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:54.924Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:54.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:54.924Z] [2021-03-16T10:30:54.924Z] Login Succeeded [2021-03-16T10:30:54.924Z] nexus3.edgexfoundry.org:10004 [2021-03-16T10:30:55.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:55.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:55.196Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:55.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:55.196Z] [2021-03-16T10:30:55.196Z] Login Succeeded [2021-03-16T10:30:55.196Z] docker.io [2021-03-16T10:30:55.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T10:30:55.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T10:30:55.745Z] Configure a credential helper to remove this warning. See [2021-03-16T10:30:55.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T10:30:55.745Z] [2021-03-16T10:30:55.745Z] Login Succeeded [2021-03-16T10:30:55.745Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T10:30:55.773Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T10:30:56.140Z] ========================================================= [2021-03-16T10:30:56.140Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-16T10:30:56.140Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:30:56.518Z] + 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-16T10:30:56.798Z] Sending build context to Docker daemon 2.355MB [2021-03-16T10:30:56.798Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T10:30:56.798Z] Step 2/8 : FROM ${BASE} [2021-03-16T10:30:56.798Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-16T10:30:56.798Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T10:30:56.798Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T10:30:56.798Z] de9db76c5a1d: Pulling fs layer [2021-03-16T10:30:56.798Z] bca2f99d35d6: Pulling fs layer [2021-03-16T10:30:56.798Z] 93359f2a8cfa: Pulling fs layer [2021-03-16T10:30:56.798Z] 7c6f9722023f: Pulling fs layer [2021-03-16T10:30:56.798Z] a35cf1a2eb13: Pulling fs layer [2021-03-16T10:30:56.798Z] bca2f99d35d6: Waiting [2021-03-16T10:30:56.798Z] 93359f2a8cfa: Waiting [2021-03-16T10:30:56.798Z] 7c6f9722023f: Waiting [2021-03-16T10:30:56.798Z] a35cf1a2eb13: Waiting [2021-03-16T10:30:56.798Z] de9db76c5a1d: Download complete [2021-03-16T10:30:56.798Z] 0ef7d3d256c8: Download complete [2021-03-16T10:30:57.086Z] 93359f2a8cfa: Verifying Checksum [2021-03-16T10:30:57.086Z] 93359f2a8cfa: Download complete [2021-03-16T10:30:57.086Z] 7c6f9722023f: Verifying Checksum [2021-03-16T10:30:57.086Z] 7c6f9722023f: Download complete [2021-03-16T10:30:57.357Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T10:30:57.357Z] 188c0c94c7c5: Download complete [2021-03-16T10:30:57.625Z] 188c0c94c7c5: Pull complete [2021-03-16T10:30:58.234Z] 0ef7d3d256c8: Pull complete [2021-03-16T10:30:58.515Z] de9db76c5a1d: Pull complete [2021-03-16T10:30:59.515Z] a35cf1a2eb13: Verifying Checksum [2021-03-16T10:30:59.515Z] a35cf1a2eb13: Download complete [2021-03-16T10:31:00.959Z] bca2f99d35d6: Verifying Checksum [2021-03-16T10:31:00.959Z] bca2f99d35d6: Download complete [2021-03-16T10:31:01.975Z] Removing intermediate container ada6f0106d7b [2021-03-16T10:31:01.975Z] ---> 2b3c9bb0321c [2021-03-16T10:31:01.975Z] Successfully built 2b3c9bb0321c [2021-03-16T10:31:01.975Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:31:02.320Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T10:31:02.320Z] . [Pipeline] withDockerContainer [2021-03-16T10:31:02.597Z] prd-ubuntu18.04-docker-arm64-4c-16g-29982 does not seem to be running inside a container [2021-03-16T10:31:02.687Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-16T10:31:04.367Z] $ docker top e104fceae3ea9d21b50010538f3641773a24e787c94af78fe60fae6bc94119e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T10:31:05.410Z] + go version [2021-03-16T10:31:05.410Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-16T10:31:05.436Z] $ docker stop --time=1 e104fceae3ea9d21b50010538f3641773a24e787c94af78fe60fae6bc94119e3 [2021-03-16T10:31:07.387Z] $ docker rm -f e104fceae3ea9d21b50010538f3641773a24e787c94af78fe60fae6bc94119e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:31:08.402Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T10:31:08.402Z] . [Pipeline] withDockerContainer [2021-03-16T10:31:08.672Z] prd-ubuntu18.04-docker-arm64-4c-16g-29982 does not seem to be running inside a container [2021-03-16T10:31:08.758Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-16T10:31:10.212Z] $ docker top 6ae918267a8cf164023748f4918f7e50c80a17dc0b3839d7ee7ed59cc9d462c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T10:31:11.254Z] + make test [2021-03-16T10:31:11.255Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T10:31:19.562Z] bca2f99d35d6: Pull complete [2021-03-16T10:31:19.562Z] 93359f2a8cfa: Pull complete [2021-03-16T10:31:19.562Z] 7c6f9722023f: Pull complete [2021-03-16T10:31:24.969Z] a35cf1a2eb13: Pull complete [2021-03-16T10:31:24.969Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-16T10:31:24.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-16T10:31:24.969Z] ---> a62c8e92a672 [2021-03-16T10:31:24.969Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T10:31:24.969Z] ---> Running in 82185706e785 [2021-03-16T10:31:24.969Z] Removing intermediate container 82185706e785 [2021-03-16T10:31:24.969Z] ---> 80c994528421 [2021-03-16T10:31:24.969Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T10:31:24.969Z] ---> Running in afdfafc11b9f [2021-03-16T10:31:27.794Z] Removing intermediate container afdfafc11b9f [2021-03-16T10:31:27.794Z] ---> 33bc557b5518 [2021-03-16T10:31:27.794Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T10:31:27.794Z] ---> Running in 4730c53a45c6 [2021-03-16T10:31:28.424Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T10:31:29.009Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T10:31:30.143Z] OK: 166 MiB in 39 packages [2021-03-16T10:31:30.777Z] Removing intermediate container 4730c53a45c6 [2021-03-16T10:31:30.777Z] ---> 376e353de348 [2021-03-16T10:31:30.777Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T10:31:30.777Z] ---> Running in 45889985e11e [2021-03-16T10:31:31.328Z] Removing intermediate container 45889985e11e [2021-03-16T10:31:31.328Z] ---> f08c07619f06 [2021-03-16T10:31:31.328Z] Step 7/8 : COPY . . [2021-03-16T10:31:32.913Z] ---> 3aaed2097173 [2021-03-16T10:31:32.913Z] Step 8/8 : RUN go mod download [2021-03-16T10:31:33.212Z] ---> Running in ca9a83ff554c [2021-03-16T10:31:33.432Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T10:32:05.882Z] Removing intermediate container ca9a83ff554c [2021-03-16T10:32:05.882Z] ---> dbd8c10849a2 [2021-03-16T10:32:05.882Z] Successfully built dbd8c10849a2 [2021-03-16T10:32:05.882Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:32:06.252Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T10:32:06.528Z] . [Pipeline] withDockerContainer [2021-03-16T10:32:06.994Z] prd-centos7-docker-4c-2g-29983 does not seem to be running inside a container [2021-03-16T10:32:07.171Z] $ 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-16T10:32:08.930Z] $ docker top 2e0bd1dd97109f1e4f5503e6394dffb01b3a6143f2e3fb03151b63eff222e70d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T10:32:10.437Z] + go version [2021-03-16T10:32:10.437Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-16T10:32:10.484Z] $ docker stop --time=1 2e0bd1dd97109f1e4f5503e6394dffb01b3a6143f2e3fb03151b63eff222e70d [2021-03-16T10:32:12.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T10:32:12.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T10:32:12.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-16T10:32:12.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T10:32:13.087Z] $ docker rm -f 2e0bd1dd97109f1e4f5503e6394dffb01b3a6143f2e3fb03151b63eff222e70d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:32:14.344Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T10:32:14.344Z] . [Pipeline] withDockerContainer [2021-03-16T10:32:14.542Z] prd-centos7-docker-4c-2g-29983 does not seem to be running inside a container [2021-03-16T10:32:14.700Z] $ 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-16T10:32:15.976Z] $ docker top 6aff942a9b6486e4ac4c4aac0624777c31eb7e1286245cf4fa867c63f09262ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T10:32:16.619Z] + make test [2021-03-16T10:32:16.620Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T10:32:19.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 25.5% of statements [2021-03-16T10:32:19.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.166s coverage: 81.2% of statements [2021-03-16T10:32:32.304Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T10:32:46.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.107s coverage: 10.5% of statements [2021-03-16T10:32:46.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.105s coverage: 12.5% of statements [2021-03-16T10:32:46.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T10:32:46.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.237s coverage: 32.5% of statements [2021-03-16T10:32:46.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-16T10:32:46.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T10:32:46.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T10:32:46.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.263s coverage: 57.3% of statements [2021-03-16T10:32:46.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.914s coverage: 6.4% of statements [2021-03-16T10:32:46.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.1% of statements [2021-03-16T10:32:46.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T10:32:46.651Z] GO111MODULE=on go vet ./... [2021-03-16T10:33:05.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T10:33:05.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T10:33:05.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-16T10:33:05.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T10:33:09.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.169s coverage: 25.5% of statements [2021-03-16T10:33:10.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.147s coverage: 81.2% of statements [2021-03-16T10:33:19.175Z] gofmt -l . [2021-03-16T10:33:19.175Z] [ "`gofmt -l .`" = "" ] [2021-03-16T10:33:19.175Z] ./bin/test-attribution-txt.sh [2021-03-16T10:33:19.447Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T10:33:20.075Z] $ docker stop --time=1 6ae918267a8cf164023748f4918f7e50c80a17dc0b3839d7ee7ed59cc9d462c4 [2021-03-16T10:33:22.176Z] $ docker rm -f 6ae918267a8cf164023748f4918f7e50c80a17dc0b3839d7ee7ed59cc9d462c4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T10:33:23.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T10:33:24.201Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T10:33:26.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T10:33:27.261Z] + ls -al . [2021-03-16T10:33:27.261Z] total 224 [2021-03-16T10:33:27.261Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 10:33 . [2021-03-16T10:33:27.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:29 .. [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 10:29 .dockerignore [2021-03-16T10:33:27.261Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 10:29 .git [2021-03-16T10:33:27.261Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 10:29 .github [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 16 10:29 .gitignore [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 16 10:29 Dockerfile.build [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 16 10:29 Jenkinsfile [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 10:29 LICENSE [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 16 10:29 Makefile [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 16 10:29 README.md [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 16 10:29 RELEASE-NOTES.txt [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 10:27 VERSION [2021-03-16T10:33:27.261Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 10:29 bin [2021-03-16T10:33:27.261Z] -rw-r--r-- 1 jenkins jenkins 102948 Mar 16 10:32 coverage.out [2021-03-16T10:33:27.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:29 example [2021-03-16T10:33:27.261Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 16 10:33 go.mod [2021-03-16T10:33:27.261Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 16 10:33 go.sum [2021-03-16T10:33:27.261Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 16 10:29 internal [2021-03-16T10:33:27.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:29 openapi [2021-03-16T10:33:27.261Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 10:29 pkg [2021-03-16T10:33:27.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:29 snap [2021-03-16T10:33:27.261Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 10:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:33:27.597Z] + 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=661e24c2be0ee237fe0754a20a2fbc962ea95f03 --label arch=arm64 --label version=0.0.0 . [2021-03-16T10:33:27.869Z] Sending build context to Docker daemon 2.458MB [2021-03-16T10:33:28.143Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T10:33:28.143Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T10:33:28.143Z] ---> 2b3c9bb0321c [2021-03-16T10:33:28.143Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T10:33:28.143Z] ---> Running in 62dbc1bc672f [2021-03-16T10:33:28.738Z] Removing intermediate container 62dbc1bc672f [2021-03-16T10:33:28.738Z] ---> 2a0333937920 [2021-03-16T10:33:28.738Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T10:33:28.738Z] ---> Running in 40f77f8dea84 [2021-03-16T10:33:29.334Z] Removing intermediate container 40f77f8dea84 [2021-03-16T10:33:29.334Z] ---> 9c2efc09c8f9 [2021-03-16T10:33:29.334Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T10:33:29.334Z] ---> Running in 9119ce1ec1fd [2021-03-16T10:33:29.936Z] Removing intermediate container 9119ce1ec1fd [2021-03-16T10:33:29.936Z] ---> 4375c1aea491 [2021-03-16T10:33:29.936Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T10:33:29.936Z] ---> Running in da803fc63c02 [2021-03-16T10:33:32.555Z] Removing intermediate container da803fc63c02 [2021-03-16T10:33:32.555Z] ---> e2eb405d9536 [2021-03-16T10:33:32.555Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T10:33:32.555Z] ---> Running in 7912ce320936 [2021-03-16T10:33:33.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T10:33:34.138Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T10:33:35.120Z] OK: 142 MiB in 39 packages [2021-03-16T10:33:36.106Z] Removing intermediate container 7912ce320936 [2021-03-16T10:33:36.106Z] ---> fc1573c61f25 [2021-03-16T10:33:36.106Z] Step 8/24 : COPY . . [2021-03-16T10:33:37.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.131s coverage: 10.5% of statements [2021-03-16T10:33:37.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.212s coverage: 12.5% of statements [2021-03-16T10:33:37.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T10:33:37.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.330s coverage: 32.5% of statements [2021-03-16T10:33:37.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-16T10:33:37.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T10:33:37.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T10:33:37.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.238s coverage: 57.3% of statements [2021-03-16T10:33:37.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.199s coverage: 6.4% of statements [2021-03-16T10:33:37.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.1% of statements [2021-03-16T10:33:37.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T10:33:37.273Z] GO111MODULE=on go vet ./... [2021-03-16T10:33:37.558Z] ---> f22f34a73597 [2021-03-16T10:33:37.558Z] Step 9/24 : RUN ${MAKE} [2021-03-16T10:33:37.558Z] ---> Running in 7e9c3298946f [2021-03-16T10:33:38.993Z] 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-16T10:34:05.804Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T10:34:06.780Z] Removing intermediate container 7e9c3298946f [2021-03-16T10:34:06.780Z] ---> c276278163c2 [2021-03-16T10:34:06.780Z] Step 10/24 : FROM scratch [2021-03-16T10:34:06.780Z] ---> [2021-03-16T10:34:06.780Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T10:34:06.780Z] ---> Running in ce4387774202 [2021-03-16T10:34:07.053Z] Removing intermediate container ce4387774202 [2021-03-16T10:34:07.053Z] ---> 9f02a14e6094 [2021-03-16T10:34:07.053Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T10:34:07.327Z] ---> Running in bc76495aba9f [2021-03-16T10:34:07.921Z] Removing intermediate container bc76495aba9f [2021-03-16T10:34:07.921Z] ---> d048235fdb28 [2021-03-16T10:34:07.921Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T10:34:07.921Z] ---> Running in 189edf46eb92 [2021-03-16T10:34:08.518Z] Removing intermediate container 189edf46eb92 [2021-03-16T10:34:08.518Z] ---> f2a38d386560 [2021-03-16T10:34:08.518Z] Step 14/24 : WORKDIR / [2021-03-16T10:34:08.518Z] ---> Running in 93216babd152 [2021-03-16T10:34:09.114Z] Removing intermediate container 93216babd152 [2021-03-16T10:34:09.114Z] ---> a7f0eb24993c [2021-03-16T10:34:09.114Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T10:34:10.101Z] ---> 7e6de6fd62e7 [2021-03-16T10:34:10.102Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T10:34:10.269Z] gofmt -l . [2021-03-16T10:34:10.269Z] [ "`gofmt -l .`" = "" ] [2021-03-16T10:34:10.269Z] ./bin/test-attribution-txt.sh [2021-03-16T10:34:10.269Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T10:34:10.294Z] $ docker stop --time=1 6aff942a9b6486e4ac4c4aac0624777c31eb7e1286245cf4fa867c63f09262ab [2021-03-16T10:34:11.082Z] ---> 17f2225ae347 [2021-03-16T10:34:11.082Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T10:34:11.677Z] ---> 5f83d4227d2f [2021-03-16T10:34:11.677Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T10:34:12.273Z] ---> 6d9b8d45d853 [2021-03-16T10:34:12.273Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T10:34:13.253Z] ---> 9d59b9156563 [2021-03-16T10:34:13.253Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T10:34:13.253Z] ---> Running in 96ec9b7f60fa [2021-03-16T10:34:13.318Z] $ docker rm -f 6aff942a9b6486e4ac4c4aac0624777c31eb7e1286245cf4fa867c63f09262ab [2021-03-16T10:34:13.527Z] Removing intermediate container 96ec9b7f60fa [2021-03-16T10:34:13.527Z] ---> e4b495b69d71 [2021-03-16T10:34:13.527Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T10:34:13.799Z] ---> Running in befe61c40781 [2021-03-16T10:34:14.074Z] Removing intermediate container befe61c40781 [2021-03-16T10:34:14.074Z] ---> 28f70fa5452a [2021-03-16T10:34:14.074Z] Step 22/24 : LABEL arch=arm64 [2021-03-16T10:34:14.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T10:34:14.174Z] Warning: overwriting stash ‘coverage-report’ [2021-03-16T10:34:14.346Z] ---> Running in 869fe3bcb172 [2021-03-16T10:34:14.623Z] Removing intermediate container 869fe3bcb172 [2021-03-16T10:34:14.623Z] ---> 97055789310a [2021-03-16T10:34:14.623Z] Step 23/24 : LABEL git_sha=661e24c2be0ee237fe0754a20a2fbc962ea95f03 [2021-03-16T10:34:14.826Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2021-03-16T10:34:14.897Z] ---> Running in 39dab5e51746 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-16T10:34:15.499Z] Removing intermediate container 39dab5e51746 [2021-03-16T10:34:15.499Z] ---> 5d61535f9e22 [2021-03-16T10:34:15.499Z] Step 24/24 : LABEL version=0.0.0 [2021-03-16T10:34:15.499Z] ---> Running in 829ce6773da6 [2021-03-16T10:34:15.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T10:34:15.965Z] + ls -al . [2021-03-16T10:34:15.965Z] total 188 [2021-03-16T10:34:15.965Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 16 10:34 . [2021-03-16T10:34:15.965Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 16 10:30 .. [2021-03-16T10:34:15.965Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 10:30 bin [2021-03-16T10:34:15.965Z] -rw-r--r--. 1 jenkins jenkins 102948 Mar 16 10:33 coverage.out [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 16 10:30 Dockerfile.build [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 10:30 .dockerignore [2021-03-16T10:34:15.965Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 16 10:30 example [2021-03-16T10:34:15.965Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 10:30 .git [2021-03-16T10:34:15.965Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 10:30 .github [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 16 10:30 .gitignore [2021-03-16T10:34:15.965Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 16 10:34 go.mod [2021-03-16T10:34:15.965Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 16 10:34 go.sum [2021-03-16T10:34:15.965Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 16 10:30 internal [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 16 10:30 Jenkinsfile [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 16 10:30 LICENSE [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 16 10:30 Makefile [2021-03-16T10:34:15.965Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 16 10:30 openapi [2021-03-16T10:34:15.965Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 16 10:30 pkg [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 16 10:30 README.md [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 16 10:30 RELEASE-NOTES.txt [2021-03-16T10:34:15.965Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 16 10:30 snap [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 10:27 VERSION [2021-03-16T10:34:15.965Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 16 10:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:34:16.094Z] Removing intermediate container 829ce6773da6 [2021-03-16T10:34:16.094Z] ---> e2d582e2b561 [2021-03-16T10:34:16.094Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T10:34:16.094Z] Successfully built e2d582e2b561 [2021-03-16T10:34:16.094Z] 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] } [2021-03-16T10:34:16.482Z] + 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=661e24c2be0ee237fe0754a20a2fbc962ea95f03 --label arch=amd64 --label version=0.0.0 . [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:34:17.093Z] ---> job-cost.sh [2021-03-16T10:34:17.093Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TJSY [2021-03-16T10:34:17.224Z] Sending build context to Docker daemon 2.459MB [2021-03-16T10:34:17.224Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T10:34:17.224Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T10:34:17.224Z] ---> dbd8c10849a2 [2021-03-16T10:34:17.224Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T10:34:17.821Z] ---> Running in b465a0a8fe6f [2021-03-16T10:34:18.095Z] Removing intermediate container b465a0a8fe6f [2021-03-16T10:34:18.095Z] ---> f19f8c2c6048 [2021-03-16T10:34:18.095Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T10:34:18.095Z] ---> Running in 1499ea4dfdda [2021-03-16T10:34:18.366Z] Removing intermediate container 1499ea4dfdda [2021-03-16T10:34:18.366Z] ---> b168c9b2affc [2021-03-16T10:34:18.366Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T10:34:18.640Z] ---> Running in 505db8c2d905 [2021-03-16T10:34:18.908Z] Removing intermediate container 505db8c2d905 [2021-03-16T10:34:18.908Z] ---> 9d82a73ae549 [2021-03-16T10:34:18.908Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T10:34:19.210Z] ---> Running in 06243a3f6795 [2021-03-16T10:34:21.248Z] Removing intermediate container 06243a3f6795 [2021-03-16T10:34:21.248Z] ---> 684f04bdda84 [2021-03-16T10:34:21.248Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T10:34:21.248Z] ---> Running in fc57dbc3b207 [2021-03-16T10:34:22.674Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T10:34:23.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T10:34:24.240Z] OK: 166 MiB in 39 packages [2021-03-16T10:34:24.826Z] Removing intermediate container fc57dbc3b207 [2021-03-16T10:34:24.826Z] ---> a5e4be02b651 [2021-03-16T10:34:24.826Z] Step 8/24 : COPY . . [2021-03-16T10:34:26.358Z] ---> 0ba49fbd38ef [2021-03-16T10:34:26.358Z] Step 9/24 : RUN ${MAKE} [2021-03-16T10:34:26.358Z] ---> Running in 59bc78ff8d52 [2021-03-16T10:34:27.891Z] 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-16T10:34:51.104Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T10:34:54.773Z] Removing intermediate container 59bc78ff8d52 [2021-03-16T10:34:54.773Z] ---> f85b10057560 [2021-03-16T10:34:54.773Z] Step 10/24 : FROM scratch [2021-03-16T10:34:54.773Z] ---> [2021-03-16T10:34:54.773Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T10:34:54.773Z] ---> Running in 482a733b3d35 [2021-03-16T10:34:55.121Z] Removing intermediate container 482a733b3d35 [2021-03-16T10:34:55.121Z] ---> aba36dcea65c [2021-03-16T10:34:55.121Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T10:34:55.387Z] ---> Running in 9fc9ae2bc900 [2021-03-16T10:34:55.671Z] Removing intermediate container 9fc9ae2bc900 [2021-03-16T10:34:55.671Z] ---> b2cd68fb625b [2021-03-16T10:34:55.671Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T10:34:55.671Z] ---> Running in 9feddc1c1f0f [2021-03-16T10:34:55.987Z] Removing intermediate container 9feddc1c1f0f [2021-03-16T10:34:55.987Z] ---> 01b844534361 [2021-03-16T10:34:55.987Z] Step 14/24 : WORKDIR / [2021-03-16T10:34:55.987Z] ---> Running in 7842c2a6180f [2021-03-16T10:34:56.037Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T10:34:56.678Z] Removing intermediate container 7842c2a6180f [2021-03-16T10:34:56.678Z] ---> f982baa51958 [2021-03-16T10:34:56.678Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T10:34:57.937Z] ---> 65f7728c7aee [2021-03-16T10:34:57.937Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T10:34:58.413Z] ---> 001c98bcdcc3 [2021-03-16T10:34:58.413Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T10:34:58.714Z] ---> 56b1343510c0 [2021-03-16T10:34:58.714Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T10:34:59.039Z] ---> 5eaad6c82bb8 [2021-03-16T10:34:59.039Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T10:34:59.308Z] ---> c0074dcd3736 [2021-03-16T10:34:59.308Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T10:34:59.576Z] ---> Running in 2bb32bc55ea1 [2021-03-16T10:34:59.576Z] Removing intermediate container 2bb32bc55ea1 [2021-03-16T10:34:59.576Z] ---> 96837a3f7d38 [2021-03-16T10:34:59.576Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T10:34:59.857Z] ---> Running in 03a10b2ad66b [2021-03-16T10:35:00.134Z] Removing intermediate container 03a10b2ad66b [2021-03-16T10:35:00.134Z] ---> e726898ca358 [2021-03-16T10:35:00.134Z] Step 22/24 : LABEL arch=amd64 [2021-03-16T10:35:00.134Z] ---> Running in c55e94090049 [2021-03-16T10:35:00.405Z] Removing intermediate container c55e94090049 [2021-03-16T10:35:00.405Z] ---> e1c4984debc8 [2021-03-16T10:35:00.405Z] Step 23/24 : LABEL git_sha=661e24c2be0ee237fe0754a20a2fbc962ea95f03 [2021-03-16T10:35:00.709Z] ---> Running in 7899904549fb [2021-03-16T10:35:01.338Z] Removing intermediate container 7899904549fb [2021-03-16T10:35:01.338Z] ---> c7d13a01c10a [2021-03-16T10:35:01.338Z] Step 24/24 : LABEL version=0.0.0 [2021-03-16T10:35:01.625Z] ---> Running in 3b96a0902bde [2021-03-16T10:35:01.903Z] Removing intermediate container 3b96a0902bde [2021-03-16T10:35:01.903Z] ---> 97084c5a856d [2021-03-16T10:35:01.903Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T10:35:01.903Z] Successfully built 97084c5a856d [2021-03-16T10:35:02.249Z] 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-16T10:35:03.517Z] ---> job-cost.sh [2021-03-16T10:35:03.517Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OxYe [2021-03-16T10:35:30.424Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T10:36:09.562Z] lf-activate-venv(): INFO: Adding /tmp/venv-OxYe/bin to PATH [2021-03-16T10:36:09.562Z] INFO: No Stack... [2021-03-16T10:36:09.562Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T10:36:10.152Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T10:36:10.470Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-16T10:36:10.470Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T10:36:10.564Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-2-stack-cost] [2021-03-16T10:36:10.582Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-2-stack-cost] did not exist. Created. [2021-03-16T10:36:10.582Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T10:36:11.076Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-16T10:36:11.640Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T10:36:11.657Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-16T10:36:32.778Z] lf-activate-venv(): INFO: Adding /tmp/venv-TJSY/bin to PATH [2021-03-16T10:36:32.778Z] INFO: No Stack... [2021-03-16T10:36:32.778Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-16T10:36:32.778Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T10:36:33.138Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-16T10:36:33.138Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T10:36:33.262Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-2-stack-cost] [2021-03-16T10:36:33.276Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-2-stack-cost] did not exist. Created. [2021-03-16T10:36:33.276Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T10:36:33.723Z] /w/workspace/device-sdk-go/2@tmp/durable-43d6f189/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-43d6f189/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-16T10:36:34.066Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-16T10:36:34.132Z] Warning: overwriting stash ‘stack-cost’ [2021-03-16T10:36:34.287Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T10:36:34.305Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-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-16T10:36:35.785Z] provisioning config files... [2021-03-16T10:36:35.802Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config8852242696418161111tmp [Pipeline] { [Pipeline] sh [2021-03-16T10:36:36.272Z] + set +x [2021-03-16T10:36:36.272Z] + curl -s https://codecov.io/bash [2021-03-16T10:36:36.272Z] + bash -s -- [2021-03-16T10:36:36.545Z] [2021-03-16T10:36:36.545Z] _____ _ [2021-03-16T10:36:36.545Z] / ____| | | [2021-03-16T10:36:36.545Z] | | ___ __| | ___ ___ _____ __ [2021-03-16T10:36:36.545Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-16T10:36:36.545Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-16T10:36:36.545Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-16T10:36:36.545Z] Bash-20210309-2b87ace [2021-03-16T10:36:36.545Z] [2021-03-16T10:36:36.545Z] [2021-03-16T10:36:36.545Z] ==> git version 2.24.3 found [2021-03-16T10:36:36.545Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-16T10:36:36.546Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-16T10:36:36.546Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-16T10:36:36.546Z] ==> Jenkins CI detected. [2021-03-16T10:36:36.546Z] project root: . [2021-03-16T10:36:36.546Z] --> token set from env [2021-03-16T10:36:36.546Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-16T10:36:36.817Z] ==> Running gcov in . (disable via -X gcov) [2021-03-16T10:36:36.817Z] ==> Python coveragepy not found [2021-03-16T10:36:36.817Z] ==> Searching for coverage reports in: [2021-03-16T10:36:36.817Z] + . [2021-03-16T10:36:36.817Z] -> Found 1 reports [2021-03-16T10:36:36.817Z] ==> Detecting git/mercurial file structure [2021-03-16T10:36:36.817Z] ==> Reading reports [2021-03-16T10:36:36.817Z] + ./coverage.out bytes=102948 [2021-03-16T10:36:36.817Z] ==> Appending adjustments [2021-03-16T10:36:36.817Z] https://docs.codecov.io/docs/fixing-reports [2021-03-16T10:36:37.472Z] + Found adjustments [2021-03-16T10:36:37.472Z] ==> Gzipping contents [2021-03-16T10:36:37.472Z] 16K /tmp/codecov.Q3TB1x.gz [2021-03-16T10:36:37.472Z] ==> Uploading reports [2021-03-16T10:36:37.472Z] url: https://codecov.io [2021-03-16T10:36:37.472Z] query: branch=PR-820&commit=661e24c2be0ee237fe0754a20a2fbc962ea95f03&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= [2021-03-16T10:36:37.472Z] -> Pinging Codecov [2021-03-16T10:36:37.472Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-820&commit=661e24c2be0ee237fe0754a20a2fbc962ea95f03&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= [2021-03-16T10:36:38.058Z] -> Uploading to [2021-03-16T10:36:38.059Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-16/7E55EF52A471D76F132DFD9A03CDDE97/661e24c2be0ee237fe0754a20a2fbc962ea95f03/93340d1a-6a13-42c3-8d24-86579eff6e38.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T103637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=954adca90e7c602af4a93ab685f00449a62388afa160ba32332a14c42451db69 [2021-03-16T10:36:38.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T10:36:38.059Z] Dload Upload Total Spent Left Speed [2021-03-16T10:36:38.636Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13876 0 0 100 13876 0 28159 --:--:-- --:--:-- --:--:-- 28146 100 13876 0 0 100 13876 0 28140 --:--:-- --:--:-- --:--:-- 28146 [2021-03-16T10:36:38.636Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/661e24c2be0ee237fe0754a20a2fbc962ea95f03 [Pipeline] } [2021-03-16T10:36:38.651Z] 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-16T10:36:41.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:36:41.951Z] ---> package-listing.sh [2021-03-16T10:36:41.951Z] ++ facter osfamily [2021-03-16T10:36:41.951Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-16T10:36:42.223Z] + OS_FAMILY=redhat [2021-03-16T10:36:42.223Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-820 [2021-03-16T10:36:42.223Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-16T10:36:42.223Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-16T10:36:42.223Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-16T10:36:42.223Z] + PACKAGES=/tmp/packages_start.txt [2021-03-16T10:36:42.223Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' [2021-03-16T10:36:42.223Z] + PACKAGES=/tmp/packages_end.txt [2021-03-16T10:36:42.223Z] + case "${OS_FAMILY}" in [2021-03-16T10:36:42.223Z] + rpm -qa [2021-03-16T10:36:42.223Z] + sort [2021-03-16T10:36:47.692Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-16T10:36:47.692Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-16T10:36:47.692Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-16T10:36:47.692Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' [2021-03-16T10:36:47.692Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-820/archives/ [2021-03-16T10:36:47.692Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-820/archives/ [Pipeline] echo [2021-03-16T10:36:47.707Z] 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-820/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-16T10:36:48.015Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:36:48.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T10:36:48.609Z] [2021-03-16T10:36:48.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-16T10:36:48.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T10:36:48.983Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-16T10:36:48.983Z] df20fa9351a1: Pulling fs layer [2021-03-16T10:36:48.983Z] 36b3adc4ff6f: Pulling fs layer [2021-03-16T10:36:48.983Z] 8ad3a11d3b57: Pulling fs layer [2021-03-16T10:36:48.983Z] 46f8f816bc3b: Pulling fs layer [2021-03-16T10:36:48.983Z] 93b61091891f: Pulling fs layer [2021-03-16T10:36:48.983Z] 93b9cdb0e59b: Pulling fs layer [2021-03-16T10:36:48.983Z] 5e14af77c1be: Pulling fs layer [2021-03-16T10:36:48.983Z] 01666e4c0597: Pulling fs layer [2021-03-16T10:36:48.983Z] aa168da1d23b: Pulling fs layer [2021-03-16T10:36:48.983Z] 93b9cdb0e59b: Waiting [2021-03-16T10:36:48.983Z] 5e14af77c1be: Waiting [2021-03-16T10:36:48.983Z] 93b61091891f: Waiting [2021-03-16T10:36:48.983Z] 46f8f816bc3b: Waiting [2021-03-16T10:36:48.983Z] 01666e4c0597: Waiting [2021-03-16T10:36:48.983Z] aa168da1d23b: Waiting [2021-03-16T10:36:48.983Z] 36b3adc4ff6f: Verifying Checksum [2021-03-16T10:36:48.983Z] 36b3adc4ff6f: Download complete [2021-03-16T10:36:49.254Z] 46f8f816bc3b: Verifying Checksum [2021-03-16T10:36:49.254Z] 46f8f816bc3b: Download complete [2021-03-16T10:36:49.254Z] df20fa9351a1: Verifying Checksum [2021-03-16T10:36:49.254Z] df20fa9351a1: Download complete [2021-03-16T10:36:49.254Z] 93b9cdb0e59b: Verifying Checksum [2021-03-16T10:36:49.254Z] 93b9cdb0e59b: Download complete [2021-03-16T10:36:49.254Z] 93b61091891f: Download complete [2021-03-16T10:36:49.254Z] 5e14af77c1be: Download complete [2021-03-16T10:36:49.254Z] 01666e4c0597: Verifying Checksum [2021-03-16T10:36:49.254Z] 01666e4c0597: Download complete [2021-03-16T10:36:49.861Z] df20fa9351a1: Pull complete [2021-03-16T10:36:50.136Z] 8ad3a11d3b57: Verifying Checksum [2021-03-16T10:36:50.136Z] 8ad3a11d3b57: Download complete [2021-03-16T10:36:50.415Z] 36b3adc4ff6f: Pull complete [2021-03-16T10:36:51.909Z] 8ad3a11d3b57: Pull complete [2021-03-16T10:36:51.909Z] 46f8f816bc3b: Pull complete [2021-03-16T10:36:52.528Z] 93b61091891f: Pull complete [2021-03-16T10:36:52.803Z] 93b9cdb0e59b: Pull complete [2021-03-16T10:36:53.069Z] aa168da1d23b: Verifying Checksum [2021-03-16T10:36:53.069Z] aa168da1d23b: Download complete [2021-03-16T10:36:53.069Z] 5e14af77c1be: Pull complete [2021-03-16T10:36:53.395Z] 01666e4c0597: Pull complete [2021-03-16T10:37:11.890Z] aa168da1d23b: Pull complete [2021-03-16T10:37:11.890Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-16T10:37:11.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T10:37:11.890Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-16T10:37:12.567Z] prd-centos7-docker-4c-2g-29980 does not seem to be running inside a container [2021-03-16T10:37:12.665Z] $ 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-820/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-820 -v /w/workspace/dgexfoundry_device-sdk-go_PR-820:/w/workspace/dgexfoundry_device-sdk-go_PR-820:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-820@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-16T10:37:17.922Z] $ docker top c23ee15bb80158cc393d5f682a195da2cf9fa579f66fcb58588ad1f8968198c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T10:37:18.741Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-16T10:37:19.095Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-16T10:37:19.880Z] + ls /var/log/sa-host [2021-03-16T10:37:19.880Z] + sadf -c /var/log/sa-host/sa16 [2021-03-16T10:37:19.880Z] file_magic: OK [2021-03-16T10:37:19.880Z] HZ: Using current value: 100 [2021-03-16T10:37:19.880Z] file_header: OK [2021-03-16T10:37:19.880Z] 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-16T10:37:19.880Z] Statistics: [2021-03-16T10:37:19.880Z] 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-16T10:37:19.880Z] File successfully converted to sysstat format version 12.2.1 [2021-03-16T10:37:19.880Z] + sadf -c /var/log/sa-host/sa23 [2021-03-16T10:37:19.880Z] file_magic: OK [2021-03-16T10:37:19.880Z] HZ: Using current value: 100 [2021-03-16T10:37:19.880Z] file_header: OK [2021-03-16T10:37:19.880Z] 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-16T10:37:19.880Z] Statistics: [2021-03-16T10:37:19.880Z] Hnuu...uuuununununu... [2021-03-16T10:37:19.880Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-16T10:37:20.209Z] provisioning config files... [2021-03-16T10:37:20.230Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config5564935035897774822tmp [Pipeline] { [Pipeline] echo [2021-03-16T10:37:20.302Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:37:20.626Z] ---> create-netrc.sh [Pipeline] } [2021-03-16T10:37:20.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-16T10:37:20.736Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:37:21.067Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-16T10:37:21.087Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:37:21.418Z] ---> sudo-logs.sh [2021-03-16T10:37:21.418Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-16T10:37:21.494Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:37:21.808Z] ---> job-cost.sh [2021-03-16T10:37:21.809Z] lf-activate-venv: SKIPPING [2021-03-16T10:37:21.809Z] DEBUG: total: 0.20999999344348907 [2021-03-16T10:37:21.809Z] INFO: Retrieving Stack Cost... [2021-03-16T10:37:23.271Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T10:37:23.868Z] INFO: Archiving Costs [Pipeline] echo [2021-03-16T10:37:23.886Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T10:37:24.232Z] ---> logs-deploy.sh [2021-03-16T10:37:24.232Z] lf-activate-venv: SKIPPING [2021-03-16T10:37:24.232Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-820/2 [2021-03-16T10:37:24.232Z] INFO: archiving workspace using pattern(s): [2021-03-16T10:37:26.872Z] Archives upload complete. [2021-03-16T10:37:26.872Z] INFO: archiving logs to Nexus