Pull request #812 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8ff5853612742f5f027ed0a877703346ffea9667+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (c0e4e78317fddc1d7a5ddd7f78357d54f0582db4) 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-29262’ Running on prd-centos7-docker-4c-2g-29269 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [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-812 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 8ff5853612742f5f027ed0a877703346ffea9667 Merge succeeded, producing a2b66370f1ac85d995e8fab915882288755312fe Checking out Revision a2b66370f1ac85d995e8fab915882288755312fe (PR-812) > git config core.sparsecheckout # timeout=10 > git checkout -f 8ff5853612742f5f027ed0a877703346ffea9667 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2b66370f1ac85d995e8fab915882288755312fe # timeout=10 Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" > git rev-list --no-walk 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-10T06:46:28.934Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-10T06:46:29.207Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-10T06:46:29.319Z] ========================================================= [2021-03-10T06:46:29.319Z] EdgeX Global Pipelines Version Info [2021-03-10T06:46:29.319Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:46:30.761Z] ------------------- [2021-03-10T06:46:30.761Z] stable info: [2021-03-10T06:46:30.761Z] ------------------- [2021-03-10T06:46:30.761Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-10T06:46:30.761Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-10T06:46:30.761Z] Message: update stable to v1.0.184 [2021-03-10T06:46:31.704Z] ------------------- [2021-03-10T06:46:31.704Z] experimental info: [2021-03-10T06:46:31.704Z] ------------------- [2021-03-10T06:46:31.704Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-10T06:46:31.704Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-10T06:46:31.704Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-10T06:46:31.975Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-10T06:46:32.064Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-10T06:46:32.156Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-10T06:46:32.247Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-10T06:46:32.336Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-10T06:46:32.429Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-10T06:46:32.528Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-10T06:46:32.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-10T06:46:32.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-10T06:46:32.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-10T06:46:32.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-10T06:46:33.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-10T06:46:33.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-10T06:46:33.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-10T06:46:33.316Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-10T06:46:33.449Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T06:46:33.549Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T06:46:33.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T06:46:33.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-10T06:46:33.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-10T06:46:33.940Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-10T06:46:34.029Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-10T06:46:34.118Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-10T06:46:34.206Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-10T06:46:34.289Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-10T06:46:34.380Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-10T06:46:34.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-812 [Pipeline] echo [2021-03-10T06:46:34.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-812 [Pipeline] echo [2021-03-10T06:46:34.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-812 [Pipeline] echo [2021-03-10T06:46:34.791Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2b66370f1ac85d995e8fab915882288755312fe [Pipeline] echo [2021-03-10T06:46:34.880Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2b6637 [Pipeline] echo [2021-03-10T06:46:34.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T06:46:35.144Z] provisioning config files... [2021-03-10T06:46:35.170Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config6866871973242942940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:46:35.532Z] ---> docker-login.sh [2021-03-10T06:46:35.532Z] nexus3.edgexfoundry.org:10001 [2021-03-10T06:46:35.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:46:35.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:46:35.794Z] Configure a credential helper to remove this warning. See [2021-03-10T06:46:35.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:46:35.794Z] [2021-03-10T06:46:35.794Z] Login Succeeded [2021-03-10T06:46:35.794Z] nexus3.edgexfoundry.org:10002 [2021-03-10T06:46:36.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:46:36.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:46:36.057Z] Configure a credential helper to remove this warning. See [2021-03-10T06:46:36.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:46:36.057Z] [2021-03-10T06:46:36.057Z] Login Succeeded [2021-03-10T06:46:36.057Z] nexus3.edgexfoundry.org:10003 [2021-03-10T06:46:36.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:46:36.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:46:36.323Z] Configure a credential helper to remove this warning. See [2021-03-10T06:46:36.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:46:36.323Z] [2021-03-10T06:46:36.323Z] Login Succeeded [2021-03-10T06:46:36.323Z] nexus3.edgexfoundry.org:10004 [2021-03-10T06:46:36.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:46:36.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:46:36.323Z] Configure a credential helper to remove this warning. See [2021-03-10T06:46:36.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:46:36.323Z] [2021-03-10T06:46:36.323Z] Login Succeeded [2021-03-10T06:46:36.323Z] docker.io [2021-03-10T06:46:36.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:46:36.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:46:36.848Z] Configure a credential helper to remove this warning. See [2021-03-10T06:46:36.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:46:36.848Z] [2021-03-10T06:46:36.848Z] Login Succeeded [2021-03-10T06:46:36.848Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T06:46:36.858Z] 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-10T06:46:37.667Z] + git log --format=format:%s -1 a2b66370f1ac85d995e8fab915882288755312fe [Pipeline] echo [2021-03-10T06:46:37.730Z] GIT_COMMIT: a2b66370f1ac85d995e8fab915882288755312fe, Commit Message: Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD [Pipeline] echo [2021-03-10T06:46:37.776Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:46:38.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:46:38.415Z] [2021-03-10T06:46:38.415Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:46:38.764Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:46:38.764Z] latest: Pulling from edgex-devops/git-semver [2021-03-10T06:46:38.764Z] 31603596830f: Pulling fs layer [2021-03-10T06:46:38.764Z] 2a8b12db71e7: Pulling fs layer [2021-03-10T06:46:38.764Z] 6ca5941a6612: Pulling fs layer [2021-03-10T06:46:38.764Z] ecc8261a40a4: Pulling fs layer [2021-03-10T06:46:38.764Z] ecc8261a40a4: Waiting [2021-03-10T06:46:38.764Z] 2a8b12db71e7: Verifying Checksum [2021-03-10T06:46:38.764Z] 2a8b12db71e7: Download complete [2021-03-10T06:46:38.764Z] 31603596830f: Verifying Checksum [2021-03-10T06:46:38.764Z] 31603596830f: Download complete [2021-03-10T06:46:39.027Z] ecc8261a40a4: Verifying Checksum [2021-03-10T06:46:39.027Z] ecc8261a40a4: Download complete [2021-03-10T06:46:39.027Z] 6ca5941a6612: Verifying Checksum [2021-03-10T06:46:39.027Z] 6ca5941a6612: Download complete [2021-03-10T06:46:39.289Z] 31603596830f: Pull complete [2021-03-10T06:46:39.289Z] 2a8b12db71e7: Pull complete [2021-03-10T06:46:40.241Z] 6ca5941a6612: Pull complete [2021-03-10T06:46:40.241Z] ecc8261a40a4: Pull complete [2021-03-10T06:46:40.241Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-10T06:46:40.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T06:46:40.254Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-10T06:46:40.344Z] prd-centos7-docker-4c-2g-29269 does not seem to be running inside a container [2021-03-10T06:46:40.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-812 -v /w/workspace/dgexfoundry_device-sdk-go_PR-812:/w/workspace/dgexfoundry_device-sdk-go_PR-812:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-10T06:46:42.488Z] $ docker top 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-10T06:46:42.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T06:46:42.785Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T06:46:42.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T06:46:42.989Z] $ docker exec 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad ssh-agent [2021-03-10T06:46:43.151Z] SSH_AUTH_SOCK=/tmp/ssh-cpmrxB73XSWq/agent.11 [2021-03-10T06:46:43.151Z] SSH_AGENT_PID=16 [2021-03-10T06:46:43.160Z] Running ssh-add (command line suppressed) [2021-03-10T06:46:43.277Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_8397203673856924929.key (/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_8397203673856924929.key) [2021-03-10T06:46:43.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T06:46:43.673Z] + git tag --points-at HEAD [Pipeline] } [2021-03-10T06:46:43.689Z] $ docker exec --env ******** --env ******** 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad ssh-agent -k [2021-03-10T06:46:43.797Z] unset SSH_AUTH_SOCK; [2021-03-10T06:46:43.797Z] unset SSH_AGENT_PID; [2021-03-10T06:46:43.797Z] echo Agent pid 16 killed; [2021-03-10T06:46:43.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-10T06:46:44.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T06:46:44.020Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T06:46:44.182Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T06:46:44.180Z] $ docker exec 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad ssh-agent [2021-03-10T06:46:44.344Z] SSH_AUTH_SOCK=/tmp/ssh-p9lTppbYV0Vp/agent.44 [2021-03-10T06:46:44.344Z] SSH_AGENT_PID=49 [2021-03-10T06:46:44.351Z] Running ssh-add (command line suppressed) [2021-03-10T06:46:44.460Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_4417864780696774076.key (/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_4417864780696774076.key) [2021-03-10T06:46:44.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T06:46:44.852Z] + git semver init [2021-03-10T06:46:44.852Z] # -> Open(): unable to determine branch for HEAD [2021-03-10T06:46:44.852Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-812/.git [2021-03-10T06:46:44.852Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-812 [2021-03-10T06:46:44.852Z] # $SEMVER_REMOTE_NAME = origin [2021-03-10T06:46:44.852Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-10T06:46:44.852Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-10T06:46:44.852Z] # $SEMVER_BRANCH = PR-812 [2021-03-10T06:46:44.852Z] # $SEMVER_TEMP = /tmp/semver-146873387 [2021-03-10T06:46:44.852Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-10T06:46:45.426Z] # '/tmp/semver-146873387' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-812/.semver' [2021-03-10T06:46:45.426Z] # -> Force: false [2021-03-10T06:46:45.426Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-812/.semver [Pipeline] } [2021-03-10T06:46:45.433Z] $ docker exec --env ******** --env ******** 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad ssh-agent -k [2021-03-10T06:46:45.554Z] unset SSH_AUTH_SOCK; [2021-03-10T06:46:45.554Z] unset SSH_AGENT_PID; [2021-03-10T06:46:45.554Z] echo Agent pid 49 killed; [2021-03-10T06:46:45.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-10T06:46:46.070Z] + git semver [Pipeline] } [2021-03-10T06:46:46.081Z] $ docker stop --time=1 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad [2021-03-10T06:46:47.468Z] $ docker rm -f 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T06:46:47.990Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-10T06:46:48.387Z] Stashed 1 file(s) [Pipeline] echo [2021-03-10T06:46:48.389Z] [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-10T06:47:03.885Z] Still waiting to schedule task [2021-03-10T06:47:03.885Z] ‘prd-centos7-docker-4c-2g-29268’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-10T06:47:03.889Z] Still waiting to schedule task [2021-03-10T06:47:03.889Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-10T06:48:14.235Z] Running on prd-centos7-docker-4c-2g-29270 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [Pipeline] { [Pipeline] ws [2021-03-10T06:48:14.297Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-10T06:48:19.692Z] using credential edgex-jenkins-ssh [2021-03-10T06:48:19.787Z] Cloning the remote Git repository [2021-03-10T06:48:19.864Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:48:19.954Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-10T06:48:20.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:48:20.077Z] > git --version # timeout=10 [2021-03-10T06:48:20.151Z] > git --version # 'git version 2.24.3' [2021-03-10T06:48:20.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:48:20.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T06:48:21.653Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 8ff5853612742f5f027ed0a877703346ffea9667 [2021-03-10T06:48:21.871Z] Merge succeeded, producing 9503b86a3e9fcfaaf3d31a1421afeeeb58a9ab63 [2021-03-10T06:48:21.872Z] Checking out Revision 9503b86a3e9fcfaaf3d31a1421afeeeb58a9ab63 (PR-812) [2021-03-10T06:48:21.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T06:48:21.172Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T06:48:21.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T06:48:21.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:48:21.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:48:21.236Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-10T06:48:21.659Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T06:48:21.676Z] > git checkout -f 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 [2021-03-10T06:48:21.760Z] > git remote # timeout=10 [2021-03-10T06:48:21.774Z] > git config --get remote.origin.url # timeout=10 [2021-03-10T06:48:21.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:48:21.795Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-10T06:48:21.857Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-10T06:48:21.874Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T06:48:21.886Z] > git checkout -f 9503b86a3e9fcfaaf3d31a1421afeeeb58a9ab63 # timeout=10 [2021-03-10T06:48:26.065Z] Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" [2021-03-10T06:48:26.065Z] > git rev-list --no-walk 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T06:48:28.056Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-10T06:48:29.007Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-10T06:48:29.349Z] + true [2021-03-10T06:48:29.349Z] + sudo service docker restart [2021-03-10T06:48:29.349Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T06:48:30.843Z] provisioning config files... [2021-03-10T06:48:30.880Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4088739358080460307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:48:31.364Z] ---> docker-login.sh [2021-03-10T06:48:31.364Z] nexus3.edgexfoundry.org:10001 [2021-03-10T06:48:32.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:48:32.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:48:32.995Z] Configure a credential helper to remove this warning. See [2021-03-10T06:48:32.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:48:32.995Z] [2021-03-10T06:48:32.995Z] Login Succeeded [2021-03-10T06:48:32.995Z] nexus3.edgexfoundry.org:10002 [2021-03-10T06:48:34.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:48:34.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:48:34.125Z] Configure a credential helper to remove this warning. See [2021-03-10T06:48:34.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:48:34.125Z] [2021-03-10T06:48:34.125Z] Login Succeeded [2021-03-10T06:48:34.125Z] nexus3.edgexfoundry.org:10003 [2021-03-10T06:48:35.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:48:35.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:48:35.246Z] Configure a credential helper to remove this warning. See [2021-03-10T06:48:35.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:48:35.246Z] [2021-03-10T06:48:35.246Z] Login Succeeded [2021-03-10T06:48:35.246Z] nexus3.edgexfoundry.org:10004 [2021-03-10T06:48:35.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:48:35.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:48:35.532Z] Configure a credential helper to remove this warning. See [2021-03-10T06:48:35.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:48:35.532Z] [2021-03-10T06:48:35.532Z] Login Succeeded [2021-03-10T06:48:35.532Z] docker.io [2021-03-10T06:48:35.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:48:36.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:48:36.077Z] Configure a credential helper to remove this warning. See [2021-03-10T06:48:36.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:48:36.077Z] [2021-03-10T06:48:36.077Z] Login Succeeded [2021-03-10T06:48:36.077Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T06:48:36.088Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-10T06:48:36.594Z] ========================================================= [2021-03-10T06:48:36.594Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-10T06:48:36.594Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:48:36.960Z] + 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-10T06:48:37.227Z] Sending build context to Docker daemon 2.286MB [2021-03-10T06:48:37.227Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T06:48:37.227Z] Step 2/8 : FROM ${BASE} [2021-03-10T06:48:37.227Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-10T06:48:37.227Z] 188c0c94c7c5: Pulling fs layer [2021-03-10T06:48:37.227Z] 0ef7d3d256c8: Pulling fs layer [2021-03-10T06:48:37.227Z] de9db76c5a1d: Pulling fs layer [2021-03-10T06:48:37.227Z] bca2f99d35d6: Pulling fs layer [2021-03-10T06:48:37.227Z] 93359f2a8cfa: Pulling fs layer [2021-03-10T06:48:37.227Z] 7c6f9722023f: Pulling fs layer [2021-03-10T06:48:37.227Z] a35cf1a2eb13: Pulling fs layer [2021-03-10T06:48:37.227Z] 93359f2a8cfa: Waiting [2021-03-10T06:48:37.227Z] 7c6f9722023f: Waiting [2021-03-10T06:48:37.227Z] a35cf1a2eb13: Waiting [2021-03-10T06:48:37.227Z] bca2f99d35d6: Waiting [2021-03-10T06:48:37.227Z] de9db76c5a1d: Verifying Checksum [2021-03-10T06:48:37.227Z] de9db76c5a1d: Download complete [2021-03-10T06:48:37.227Z] 0ef7d3d256c8: Verifying Checksum [2021-03-10T06:48:37.227Z] 0ef7d3d256c8: Download complete [2021-03-10T06:48:37.845Z] 93359f2a8cfa: Verifying Checksum [2021-03-10T06:48:37.845Z] 93359f2a8cfa: Download complete [2021-03-10T06:48:37.845Z] 7c6f9722023f: Verifying Checksum [2021-03-10T06:48:37.845Z] 7c6f9722023f: Download complete [2021-03-10T06:48:37.845Z] 188c0c94c7c5: Download complete [2021-03-10T06:48:38.444Z] 188c0c94c7c5: Pull complete [2021-03-10T06:48:38.722Z] 0ef7d3d256c8: Pull complete [2021-03-10T06:48:38.722Z] de9db76c5a1d: Pull complete [2021-03-10T06:48:40.706Z] a35cf1a2eb13: Verifying Checksum [2021-03-10T06:48:40.706Z] a35cf1a2eb13: Download complete [2021-03-10T06:48:41.301Z] bca2f99d35d6: Verifying Checksum [2021-03-10T06:48:41.301Z] bca2f99d35d6: Download complete [2021-03-10T06:48:51.460Z] bca2f99d35d6: Pull complete [2021-03-10T06:48:51.460Z] 93359f2a8cfa: Pull complete [2021-03-10T06:48:51.460Z] 7c6f9722023f: Pull complete [2021-03-10T06:48:59.866Z] a35cf1a2eb13: Pull complete [2021-03-10T06:48:59.866Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-10T06:48:59.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-10T06:48:59.866Z] ---> a62c8e92a672 [2021-03-10T06:48:59.866Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:48:59.866Z] ---> Running in 08f27f0a80a1 [2021-03-10T06:48:59.866Z] Removing intermediate container 08f27f0a80a1 [2021-03-10T06:48:59.866Z] ---> c9bde40ca197 [2021-03-10T06:48:59.866Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T06:48:59.866Z] ---> Running in 19713bd747b6 [2021-03-10T06:49:02.802Z] Removing intermediate container 19713bd747b6 [2021-03-10T06:49:02.802Z] ---> 3553f2163c14 [2021-03-10T06:49:02.802Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-10T06:49:03.103Z] ---> Running in 9bfcbb6eeba2 [2021-03-10T06:49:04.099Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-10T06:49:04.693Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-10T06:49:05.280Z] OK: 166 MiB in 39 packages [2021-03-10T06:49:05.907Z] Removing intermediate container 9bfcbb6eeba2 [2021-03-10T06:49:05.907Z] ---> 5ef9126f187e [2021-03-10T06:49:05.907Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-10T06:49:05.907Z] ---> Running in 38e460943ff9 [2021-03-10T06:49:06.214Z] Removing intermediate container 38e460943ff9 [2021-03-10T06:49:06.214Z] ---> 932324c4e5e1 [2021-03-10T06:49:06.214Z] Step 7/8 : COPY . . [2021-03-10T06:49:08.324Z] ---> 7ef33d6973cb [2021-03-10T06:49:08.324Z] Step 8/8 : RUN go mod download [2021-03-10T06:49:08.324Z] ---> Running in 4be12d8529e3 [2021-03-10T06:49:55.856Z] Removing intermediate container 4be12d8529e3 [2021-03-10T06:49:55.856Z] ---> dca6fe4f8b80 [2021-03-10T06:49:55.856Z] Successfully built dca6fe4f8b80 [2021-03-10T06:49:55.856Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:49:56.199Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-10T06:49:56.858Z] . [Pipeline] withDockerContainer [2021-03-10T06:49:57.812Z] prd-centos7-docker-4c-2g-29270 does not seem to be running inside a container [2021-03-10T06:49:57.997Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-10T06:50:00.476Z] $ docker top 931f8c2e2d5d20857be1f5350db230c015df83d09094848315e8c08106a89174 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:50:02.513Z] + go version [2021-03-10T06:50:02.827Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-10T06:50:02.996Z] $ docker stop --time=1 931f8c2e2d5d20857be1f5350db230c015df83d09094848315e8c08106a89174 [2021-03-10T06:50:05.661Z] $ docker rm -f 931f8c2e2d5d20857be1f5350db230c015df83d09094848315e8c08106a89174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:50:06.845Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-10T06:50:06.845Z] . [Pipeline] withDockerContainer [2021-03-10T06:50:07.044Z] prd-centos7-docker-4c-2g-29270 does not seem to be running inside a container [2021-03-10T06:50:07.113Z] $ 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 ******** ci-base-image-x86_64 cat [2021-03-10T06:50:08.665Z] $ docker top 0f4f4e2550065815eb0873bbefece9b68b4728c7fe91d8c9d2600ebdb4e11fb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:50:09.647Z] + make test [2021-03-10T06:50:09.647Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-10T06:50:28.316Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-10T06:50:41.984Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29271 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [Pipeline] { [Pipeline] ws [2021-03-10T06:50:42.059Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-10T06:50:46.800Z] using credential edgex-jenkins-ssh [2021-03-10T06:50:46.860Z] Cloning the remote Git repository [2021-03-10T06:50:46.900Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:50:47.001Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-10T06:50:47.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:50:47.065Z] > git --version # timeout=10 [2021-03-10T06:50:47.080Z] > git --version # 'git version 2.17.1' [2021-03-10T06:50:47.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:50:47.140Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T06:50:48.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T06:50:48.163Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T06:50:48.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T06:50:48.222Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T06:50:48.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:50:48.239Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-10T06:50:48.715Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 8ff5853612742f5f027ed0a877703346ffea9667 [2021-03-10T06:50:49.016Z] Merge succeeded, producing b957467c9019e8ed40a0c77e85167c5c70d31de3 [2021-03-10T06:50:49.017Z] Checking out Revision b957467c9019e8ed40a0c77e85167c5c70d31de3 (PR-812) [2021-03-10T06:50:48.726Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T06:50:48.742Z] > git checkout -f 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 [2021-03-10T06:50:48.855Z] > git remote # timeout=10 [2021-03-10T06:50:48.870Z] > git config --get remote.origin.url # timeout=10 [2021-03-10T06:50:48.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T06:50:48.892Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-10T06:50:48.994Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-10T06:50:49.014Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T06:50:49.029Z] > git checkout -f b957467c9019e8ed40a0c77e85167c5c70d31de3 # timeout=10 [2021-03-10T06:50:50.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-10T06:50:50.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-10T06:50:50.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-10T06:50:53.337Z] Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" [2021-03-10T06:50:53.337Z] > git rev-list --no-walk 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T06:50:55.007Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-10T06:50:55.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 25.5% of statements [2021-03-10T06:50:55.482Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-10T06:50:55.826Z] + + true [2021-03-10T06:50:55.826Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T06:50:57.905Z] provisioning config files... [2021-03-10T06:50:57.943Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1806465489091679970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:50:58.352Z] ---> docker-login.sh [2021-03-10T06:50:58.352Z] nexus3.edgexfoundry.org:10001 [2021-03-10T06:50:59.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:50:59.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:50:59.609Z] Configure a credential helper to remove this warning. See [2021-03-10T06:50:59.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:50:59.609Z] [2021-03-10T06:50:59.609Z] Login Succeeded [2021-03-10T06:50:59.609Z] nexus3.edgexfoundry.org:10002 [2021-03-10T06:50:59.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:50:59.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:50:59.882Z] Configure a credential helper to remove this warning. See [2021-03-10T06:50:59.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:50:59.882Z] [2021-03-10T06:50:59.882Z] Login Succeeded [2021-03-10T06:51:00.156Z] nexus3.edgexfoundry.org:10003 [2021-03-10T06:51:00.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:51:00.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:51:00.701Z] Configure a credential helper to remove this warning. See [2021-03-10T06:51:00.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:51:00.701Z] [2021-03-10T06:51:00.701Z] Login Succeeded [2021-03-10T06:51:00.701Z] nexus3.edgexfoundry.org:10004 [2021-03-10T06:51:00.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:51:00.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:51:00.973Z] Configure a credential helper to remove this warning. See [2021-03-10T06:51:00.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:51:00.973Z] [2021-03-10T06:51:00.973Z] Login Succeeded [2021-03-10T06:51:00.973Z] docker.io [2021-03-10T06:51:01.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T06:51:01.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T06:51:01.843Z] Configure a credential helper to remove this warning. See [2021-03-10T06:51:01.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T06:51:01.843Z] [2021-03-10T06:51:01.843Z] Login Succeeded [2021-03-10T06:51:01.843Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T06:51:01.861Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-10T06:51:02.325Z] ========================================================= [2021-03-10T06:51:02.326Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-10T06:51:02.326Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:51:02.704Z] + 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-10T06:51:02.981Z] Sending build context to Docker daemon 2.293MB [2021-03-10T06:51:02.981Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T06:51:02.981Z] Step 2/8 : FROM ${BASE} [2021-03-10T06:51:03.254Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-10T06:51:03.254Z] 5f621e34cdf4: Pulling fs layer [2021-03-10T06:51:03.254Z] a4357932f1b6: Pulling fs layer [2021-03-10T06:51:03.254Z] 18c013af1878: Pulling fs layer [2021-03-10T06:51:03.254Z] 00ac8860ef70: Pulling fs layer [2021-03-10T06:51:03.254Z] 63d7cb157983: Pulling fs layer [2021-03-10T06:51:03.254Z] b116817d02f9: Pulling fs layer [2021-03-10T06:51:03.254Z] 745a02a5169b: Pulling fs layer [2021-03-10T06:51:03.254Z] 63d7cb157983: Waiting [2021-03-10T06:51:03.254Z] b116817d02f9: Waiting [2021-03-10T06:51:03.254Z] 745a02a5169b: Waiting [2021-03-10T06:51:03.254Z] 00ac8860ef70: Waiting [2021-03-10T06:51:03.254Z] 18c013af1878: Verifying Checksum [2021-03-10T06:51:03.254Z] 18c013af1878: Download complete [2021-03-10T06:51:03.254Z] a4357932f1b6: Download complete [2021-03-10T06:51:03.254Z] 63d7cb157983: Verifying Checksum [2021-03-10T06:51:03.254Z] 63d7cb157983: Download complete [2021-03-10T06:51:03.883Z] 5f621e34cdf4: Verifying Checksum [2021-03-10T06:51:03.883Z] 5f621e34cdf4: Download complete [2021-03-10T06:51:03.883Z] b116817d02f9: Verifying Checksum [2021-03-10T06:51:03.883Z] b116817d02f9: Download complete [2021-03-10T06:51:04.491Z] 5f621e34cdf4: Pull complete [2021-03-10T06:51:05.098Z] a4357932f1b6: Pull complete [2021-03-10T06:51:05.369Z] 18c013af1878: Pull complete [2021-03-10T06:51:05.968Z] 745a02a5169b: Download complete [2021-03-10T06:51:07.394Z] 00ac8860ef70: Verifying Checksum [2021-03-10T06:51:07.394Z] 00ac8860ef70: Download complete [2021-03-10T06:51:17.555Z] 00ac8860ef70: Pull complete [2021-03-10T06:51:17.555Z] 63d7cb157983: Pull complete [2021-03-10T06:51:17.827Z] b116817d02f9: Pull complete [2021-03-10T06:51:22.147Z] 745a02a5169b: Pull complete [2021-03-10T06:51:22.147Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-10T06:51:22.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-10T06:51:22.147Z] ---> b7e6874047d6 [2021-03-10T06:51:22.147Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:51:24.126Z] ---> Running in bc92a4616653 [2021-03-10T06:51:24.727Z] Removing intermediate container bc92a4616653 [2021-03-10T06:51:24.727Z] ---> 9ffafdfcfaaf [2021-03-10T06:51:24.727Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T06:51:24.727Z] ---> Running in 937d451866f0 [2021-03-10T06:51:27.359Z] Removing intermediate container 937d451866f0 [2021-03-10T06:51:27.359Z] ---> 2a8fd6ca2a10 [2021-03-10T06:51:27.359Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-10T06:51:27.359Z] ---> Running in 4145f01e3d29 [2021-03-10T06:51:27.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.097s coverage: 10.5% of statements [2021-03-10T06:51:27.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.202s coverage: 12.5% of statements [2021-03-10T06:51:27.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-10T06:51:27.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.087s coverage: 84.8% of statements [2021-03-10T06:51:27.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-10T06:51:27.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-10T06:51:27.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-10T06:51:27.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 47.6% of statements [2021-03-10T06:51:27.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-10T06:51:27.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.140s coverage: 81.3% of statements [2021-03-10T06:51:27.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.092s coverage: 24.8% of statements [2021-03-10T06:51:27.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.975s coverage: 6.4% of statements [2021-03-10T06:51:27.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.2% of statements [2021-03-10T06:51:27.785Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-10T06:51:27.785Z] GO111MODULE=on go vet ./... [2021-03-10T06:51:28.338Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-10T06:51:28.931Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-10T06:51:29.527Z] OK: 142 MiB in 39 packages [2021-03-10T06:51:30.958Z] Removing intermediate container 4145f01e3d29 [2021-03-10T06:51:30.958Z] ---> f48cafc24446 [2021-03-10T06:51:30.958Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-10T06:51:30.958Z] ---> Running in 95a968115cc4 [2021-03-10T06:51:31.553Z] Removing intermediate container 95a968115cc4 [2021-03-10T06:51:31.553Z] ---> 89115026b8b7 [2021-03-10T06:51:31.553Z] Step 7/8 : COPY . . [2021-03-10T06:51:32.987Z] ---> 6672f51d35ec [2021-03-10T06:51:32.987Z] Step 8/8 : RUN go mod download [2021-03-10T06:51:32.987Z] ---> Running in ea5551ba54aa [2021-03-10T06:51:46.972Z] gofmt -l . [2021-03-10T06:51:46.972Z] [ "`gofmt -l .`" = "" ] [2021-03-10T06:51:46.972Z] ./bin/test-attribution-txt.sh [2021-03-10T06:51:47.570Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-10T06:51:48.574Z] $ docker stop --time=1 0f4f4e2550065815eb0873bbefece9b68b4728c7fe91d8c9d2600ebdb4e11fb4 [2021-03-10T06:51:50.895Z] $ docker rm -f 0f4f4e2550065815eb0873bbefece9b68b4728c7fe91d8c9d2600ebdb4e11fb4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T06:51:52.156Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-10T06:51:52.930Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-10T06:51:54.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-10T06:51:54.556Z] + ls -al . [2021-03-10T06:51:54.556Z] total 184 [2021-03-10T06:51:54.556Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 10 06:51 . [2021-03-10T06:51:54.556Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 10 06:48 .. [2021-03-10T06:51:54.556Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 10 06:48 bin [2021-03-10T06:51:54.556Z] -rw-r--r--. 1 jenkins jenkins 102298 Mar 10 06:51 coverage.out [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 10 06:48 Dockerfile.build [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 10 06:48 .dockerignore [2021-03-10T06:51:54.556Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 10 06:48 example [2021-03-10T06:51:54.556Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 10 06:48 .git [2021-03-10T06:51:54.556Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 10 06:48 .github [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 10 06:48 .gitignore [2021-03-10T06:51:54.556Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 10 06:51 go.mod [2021-03-10T06:51:54.556Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 10 06:51 go.sum [2021-03-10T06:51:54.556Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 10 06:48 internal [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 10 06:48 Jenkinsfile [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 10 06:48 LICENSE [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 10 06:48 Makefile [2021-03-10T06:51:54.556Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 10 06:48 openapi [2021-03-10T06:51:54.556Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 10 06:48 pkg [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 10 06:48 README.md [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 10 06:48 RELEASE-NOTES.txt [2021-03-10T06:51:54.556Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 10 06:48 snap [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 10 06:46 VERSION [2021-03-10T06:51:54.556Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 10 06:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:51:54.893Z] + 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=a2b66370f1ac85d995e8fab915882288755312fe --label arch=amd64 --label version=0.0.0 . [2021-03-10T06:51:55.257Z] Sending build context to Docker daemon 2.388MB [2021-03-10T06:51:55.257Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T06:51:55.257Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-10T06:51:55.257Z] ---> dca6fe4f8b80 [2021-03-10T06:51:55.257Z] Step 3/24 : ARG MAKE='make build' [2021-03-10T06:51:55.648Z] ---> Running in ca3035f2ac2f [2021-03-10T06:51:56.805Z] Removing intermediate container ca3035f2ac2f [2021-03-10T06:51:56.805Z] ---> 3302161fb536 [2021-03-10T06:51:56.805Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-10T06:51:57.082Z] ---> Running in 39d1785e5fd3 [2021-03-10T06:51:57.350Z] Removing intermediate container 39d1785e5fd3 [2021-03-10T06:51:57.350Z] ---> c372817ea891 [2021-03-10T06:51:57.350Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:51:57.632Z] ---> Running in 8453cd0f3b7b [2021-03-10T06:51:58.278Z] Removing intermediate container 8453cd0f3b7b [2021-03-10T06:51:58.278Z] ---> ff431cfd4e9a [2021-03-10T06:51:58.278Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T06:51:58.559Z] ---> Running in e4b736380436 [2021-03-10T06:51:59.776Z] Removing intermediate container ea5551ba54aa [2021-03-10T06:51:59.776Z] ---> 59299f467759 [2021-03-10T06:51:59.776Z] Successfully built 59299f467759 [2021-03-10T06:51:59.776Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:52:00.124Z] + docker inspect -f . ci-base-image-arm64 [2021-03-10T06:52:00.124Z] . [Pipeline] withDockerContainer [2021-03-10T06:52:00.408Z] prd-ubuntu18.04-docker-arm64-4c-16g-29271 does not seem to be running inside a container [2021-03-10T06:52:00.488Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-10T06:52:01.360Z] Removing intermediate container e4b736380436 [2021-03-10T06:52:01.360Z] ---> 4899686a0a3b [2021-03-10T06:52:01.360Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-10T06:52:01.360Z] ---> Running in 9552a78b4979 [2021-03-10T06:52:02.087Z] $ docker top b2eab98c5d4c966288852382d892446eae8f7d62650ff895594d7f3f8063aab6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:52:03.119Z] + go version [2021-03-10T06:52:03.119Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-10T06:52:03.134Z] $ docker stop --time=1 b2eab98c5d4c966288852382d892446eae8f7d62650ff895594d7f3f8063aab6 [2021-03-10T06:52:03.399Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-10T06:52:03.669Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-10T06:52:04.273Z] OK: 166 MiB in 39 packages [2021-03-10T06:52:05.174Z] $ docker rm -f b2eab98c5d4c966288852382d892446eae8f7d62650ff895594d7f3f8063aab6 [2021-03-10T06:52:05.268Z] Removing intermediate container 9552a78b4979 [2021-03-10T06:52:05.268Z] ---> 53ba2e0e18e0 [2021-03-10T06:52:05.268Z] Step 8/24 : COPY . . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:52:06.259Z] + docker inspect -f . ci-base-image-arm64 [2021-03-10T06:52:06.259Z] . [2021-03-10T06:52:06.275Z] ---> b751aa36491c [2021-03-10T06:52:06.275Z] Step 9/24 : RUN ${MAKE} [Pipeline] withDockerContainer [2021-03-10T06:52:06.527Z] prd-ubuntu18.04-docker-arm64-4c-16g-29271 does not seem to be running inside a container [2021-03-10T06:52:06.564Z] ---> Running in 8e7ee71d371c [2021-03-10T06:52:06.597Z] $ 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 ******** ci-base-image-arm64 cat [2021-03-10T06:52:08.089Z] $ docker top a17a3f662f14920344f8856c41ca2fb97c1f4bd5dad6cb0efb689777f33bd0b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:52:08.685Z] 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-10T06:52:09.102Z] + make test [2021-03-10T06:52:09.102Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-10T06:52:24.375Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-10T06:52:27.346Z] Removing intermediate container 8e7ee71d371c [2021-03-10T06:52:27.346Z] ---> cb54a7d72ac1 [2021-03-10T06:52:27.346Z] Step 10/24 : FROM scratch [2021-03-10T06:52:27.346Z] ---> [2021-03-10T06:52:27.346Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:52:27.772Z] ---> Running in 03ca51dfe5c6 [2021-03-10T06:52:28.076Z] Removing intermediate container 03ca51dfe5c6 [2021-03-10T06:52:28.076Z] ---> 8e6b355deadd [2021-03-10T06:52:28.076Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-10T06:52:28.076Z] ---> Running in 00763c783763 [2021-03-10T06:52:28.657Z] Removing intermediate container 00763c783763 [2021-03-10T06:52:28.658Z] ---> d1131ff8d9f2 [2021-03-10T06:52:28.658Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-10T06:52:28.934Z] ---> Running in 82c1450d9d70 [2021-03-10T06:52:29.202Z] Removing intermediate container 82c1450d9d70 [2021-03-10T06:52:29.202Z] ---> 068ceedf34de [2021-03-10T06:52:29.202Z] Step 14/24 : WORKDIR / [2021-03-10T06:52:29.468Z] ---> Running in aab5a4c4b6b4 [2021-03-10T06:52:29.732Z] Removing intermediate container aab5a4c4b6b4 [2021-03-10T06:52:29.732Z] ---> 6aa2b10e828d [2021-03-10T06:52:29.732Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-10T06:52:31.150Z] ---> 3a23ad1505b7 [2021-03-10T06:52:31.150Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-10T06:52:31.303Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-10T06:52:31.776Z] ---> de0807a0e922 [2021-03-10T06:52:31.776Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-10T06:52:32.053Z] ---> 6911be380c39 [2021-03-10T06:52:32.053Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-10T06:52:32.650Z] ---> 2a08bc14da9d [2021-03-10T06:52:32.650Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-10T06:52:32.919Z] ---> 4154e96848a5 [2021-03-10T06:52:32.919Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-10T06:52:32.919Z] ---> Running in 2121241ff3de [2021-03-10T06:52:33.187Z] Removing intermediate container 2121241ff3de [2021-03-10T06:52:33.187Z] ---> 6657c4d988e9 [2021-03-10T06:52:33.187Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-10T06:52:33.454Z] ---> Running in 683f52189e7b [2021-03-10T06:52:33.719Z] Removing intermediate container 683f52189e7b [2021-03-10T06:52:33.719Z] ---> 8544a175c47a [2021-03-10T06:52:33.719Z] Step 22/24 : LABEL arch=amd64 [2021-03-10T06:52:34.034Z] ---> Running in 38cc7a8617f4 [2021-03-10T06:52:34.346Z] Removing intermediate container 38cc7a8617f4 [2021-03-10T06:52:34.346Z] ---> 203a7592d65e [2021-03-10T06:52:34.346Z] Step 23/24 : LABEL git_sha=a2b66370f1ac85d995e8fab915882288755312fe [2021-03-10T06:52:34.629Z] ---> Running in e5dfbc2966c5 [2021-03-10T06:52:35.260Z] Removing intermediate container e5dfbc2966c5 [2021-03-10T06:52:35.260Z] ---> e2dedc1eb119 [2021-03-10T06:52:35.260Z] Step 24/24 : LABEL version=0.0.0 [2021-03-10T06:52:35.531Z] ---> Running in e6cdc1812366 [2021-03-10T06:52:35.820Z] Removing intermediate container e6cdc1812366 [2021-03-10T06:52:35.820Z] ---> 5f4dc4c38117 [2021-03-10T06:52:35.820Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-10T06:52:35.820Z] Successfully built 5f4dc4c38117 [2021-03-10T06:52:35.820Z] 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-10T06:52:37.095Z] ---> job-cost.sh [2021-03-10T06:52:37.096Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5S2K [2021-03-10T06:53:04.026Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-10T06:53:10.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-10T06:53:10.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-10T06:53:10.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-10T06:53:17.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.129s coverage: 25.5% of statements [2021-03-10T06:53:43.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.162s coverage: 10.5% of statements [2021-03-10T06:53:43.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.152s coverage: 12.5% of statements [2021-03-10T06:53:43.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-10T06:53:43.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements [2021-03-10T06:53:43.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-10T06:53:43.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-10T06:53:43.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-10T06:53:43.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.173s coverage: 47.6% of statements [2021-03-10T06:53:43.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-10T06:53:43.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.183s coverage: 81.3% of statements [2021-03-10T06:53:43.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.174s coverage: 24.8% of statements [2021-03-10T06:53:43.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.803s coverage: 6.4% of statements [2021-03-10T06:53:43.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.2% of statements [2021-03-10T06:53:43.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-10T06:53:43.902Z] GO111MODULE=on go vet ./... [2021-03-10T06:53:51.180Z] lf-activate-venv(): INFO: Adding /tmp/venv-5S2K/bin to PATH [2021-03-10T06:53:51.180Z] INFO: No Stack... [2021-03-10T06:53:51.180Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-10T06:53:51.180Z] INFO: Archiving Costs [Pipeline] sh [2021-03-10T06:53:51.517Z] + cut -d, -f6 [2021-03-10T06:53:51.517Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-03-10T06:53:51.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [2021-03-10T06:53:51.631Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] did not exist. Created. [2021-03-10T06:53:51.631Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-10T06:53:52.045Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-10T06:53:52.265Z] Stashed 1 file(s) [Pipeline] } [2021-03-10T06:53:52.280Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-10T06:54:16.581Z] gofmt -l . [2021-03-10T06:54:16.581Z] [ "`gofmt -l .`" = "" ] [2021-03-10T06:54:16.581Z] ./bin/test-attribution-txt.sh [2021-03-10T06:54:16.860Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-10T06:54:17.475Z] $ docker stop --time=1 a17a3f662f14920344f8856c41ca2fb97c1f4bd5dad6cb0efb689777f33bd0b8 [2021-03-10T06:54:19.631Z] $ docker rm -f a17a3f662f14920344f8856c41ca2fb97c1f4bd5dad6cb0efb689777f33bd0b8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T06:54:20.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-10T06:54:20.863Z] Warning: overwriting stash ‘coverage-report’ [2021-03-10T06:54:21.643Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T06:54:22.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-10T06:54:22.733Z] + ls -al . [2021-03-10T06:54:22.733Z] total 220 [2021-03-10T06:54:22.733Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 06:54 . [2021-03-10T06:54:22.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:50 .. [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 06:50 .dockerignore [2021-03-10T06:54:22.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 06:50 .git [2021-03-10T06:54:22.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:50 .github [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 10 06:50 .gitignore [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 10 06:50 Dockerfile.build [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 10 06:50 Jenkinsfile [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 10 06:50 LICENSE [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 10 06:50 Makefile [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 10 06:50 README.md [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 10 06:50 RELEASE-NOTES.txt [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 06:46 VERSION [2021-03-10T06:54:22.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:50 bin [2021-03-10T06:54:22.733Z] -rw-r--r-- 1 jenkins jenkins 102298 Mar 10 06:53 coverage.out [2021-03-10T06:54:22.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:50 example [2021-03-10T06:54:22.733Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 10 06:54 go.mod [2021-03-10T06:54:22.733Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 10 06:54 go.sum [2021-03-10T06:54:22.733Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 06:50 internal [2021-03-10T06:54:22.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:50 openapi [2021-03-10T06:54:22.733Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 10 06:50 pkg [2021-03-10T06:54:22.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:50 snap [2021-03-10T06:54:22.733Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 10 06:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:54:23.071Z] + 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=a2b66370f1ac85d995e8fab915882288755312fe --label arch=arm64 --label version=0.0.0 . [2021-03-10T06:54:23.665Z] Sending build context to Docker daemon 2.396MB [2021-03-10T06:54:23.665Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T06:54:23.665Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-10T06:54:23.665Z] ---> 59299f467759 [2021-03-10T06:54:23.665Z] Step 3/24 : ARG MAKE='make build' [2021-03-10T06:54:23.940Z] ---> Running in 7101ebd9c254 [2021-03-10T06:54:24.212Z] Removing intermediate container 7101ebd9c254 [2021-03-10T06:54:24.212Z] ---> ac40751f47a3 [2021-03-10T06:54:24.212Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-10T06:54:24.487Z] ---> Running in f10238c30b80 [2021-03-10T06:54:24.762Z] Removing intermediate container f10238c30b80 [2021-03-10T06:54:24.762Z] ---> c014e1d038f9 [2021-03-10T06:54:24.762Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:54:25.040Z] ---> Running in 7e754341817f [2021-03-10T06:54:25.314Z] Removing intermediate container 7e754341817f [2021-03-10T06:54:25.314Z] ---> 800bdd45c0ce [2021-03-10T06:54:25.314Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T06:54:25.589Z] ---> Running in e682c72746cc [2021-03-10T06:54:27.569Z] Removing intermediate container e682c72746cc [2021-03-10T06:54:27.569Z] ---> 32356853fc0f [2021-03-10T06:54:27.569Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-10T06:54:27.569Z] ---> Running in 64fcbdd29ecb [2021-03-10T06:54:29.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-10T06:54:29.613Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-10T06:54:30.216Z] OK: 142 MiB in 39 packages [2021-03-10T06:54:31.200Z] Removing intermediate container 64fcbdd29ecb [2021-03-10T06:54:31.200Z] ---> 039c5a1b082d [2021-03-10T06:54:31.200Z] Step 8/24 : COPY . . [2021-03-10T06:54:32.633Z] ---> b65a84dc232b [2021-03-10T06:54:32.633Z] Step 9/24 : RUN ${MAKE} [2021-03-10T06:54:32.633Z] ---> Running in c6b2e2f44b26 [2021-03-10T06:54:33.616Z] 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-10T06:55:00.488Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-10T06:55:01.090Z] Removing intermediate container c6b2e2f44b26 [2021-03-10T06:55:01.090Z] ---> 1662c54c7729 [2021-03-10T06:55:01.090Z] Step 10/24 : FROM scratch [2021-03-10T06:55:01.090Z] ---> [2021-03-10T06:55:01.090Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T06:55:01.364Z] ---> Running in 4c34748c33bc [2021-03-10T06:55:01.642Z] Removing intermediate container 4c34748c33bc [2021-03-10T06:55:01.642Z] ---> 99320d102f14 [2021-03-10T06:55:01.643Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-10T06:55:01.915Z] ---> Running in 29725bc4628b [2021-03-10T06:55:02.510Z] Removing intermediate container 29725bc4628b [2021-03-10T06:55:02.510Z] ---> af63b57b2f1d [2021-03-10T06:55:02.510Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-10T06:55:02.510Z] ---> Running in dfc166fcdec5 [2021-03-10T06:55:02.781Z] Removing intermediate container dfc166fcdec5 [2021-03-10T06:55:02.781Z] ---> 5f671e04d9a9 [2021-03-10T06:55:02.781Z] Step 14/24 : WORKDIR / [2021-03-10T06:55:03.054Z] ---> Running in fb0e785a70b8 [2021-03-10T06:55:03.341Z] Removing intermediate container fb0e785a70b8 [2021-03-10T06:55:03.341Z] ---> 23a2fed74aa4 [2021-03-10T06:55:03.341Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-10T06:55:04.770Z] ---> 7b899f664347 [2021-03-10T06:55:04.770Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-10T06:55:05.368Z] ---> e385b2463717 [2021-03-10T06:55:05.368Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-10T06:55:05.967Z] ---> 25f499aca39d [2021-03-10T06:55:05.967Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-10T06:55:06.950Z] ---> 2fe8a29731fa [2021-03-10T06:55:06.950Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-10T06:55:07.546Z] ---> d35fda027433 [2021-03-10T06:55:07.546Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-10T06:55:07.546Z] ---> Running in d517749ec33c [2021-03-10T06:55:08.140Z] Removing intermediate container d517749ec33c [2021-03-10T06:55:08.140Z] ---> 3b8d737f37d6 [2021-03-10T06:55:08.140Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-10T06:55:08.140Z] ---> Running in 1e0475619723 [2021-03-10T06:55:08.733Z] Removing intermediate container 1e0475619723 [2021-03-10T06:55:08.733Z] ---> 4cca753c0390 [2021-03-10T06:55:08.733Z] Step 22/24 : LABEL arch=arm64 [2021-03-10T06:55:08.733Z] ---> Running in 22b0ca15b507 [2021-03-10T06:55:09.326Z] Removing intermediate container 22b0ca15b507 [2021-03-10T06:55:09.326Z] ---> 132a751e7a6f [2021-03-10T06:55:09.326Z] Step 23/24 : LABEL git_sha=a2b66370f1ac85d995e8fab915882288755312fe [2021-03-10T06:55:09.327Z] ---> Running in b9dca15bfc16 [2021-03-10T06:55:09.922Z] Removing intermediate container b9dca15bfc16 [2021-03-10T06:55:09.922Z] ---> b5a89ad03cec [2021-03-10T06:55:09.922Z] Step 24/24 : LABEL version=0.0.0 [2021-03-10T06:55:09.922Z] ---> Running in 58629dda855f [2021-03-10T06:55:10.517Z] Removing intermediate container 58629dda855f [2021-03-10T06:55:10.517Z] ---> 8c2904ac7a64 [2021-03-10T06:55:10.517Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-10T06:55:10.517Z] Successfully built 8c2904ac7a64 [2021-03-10T06:55:10.517Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:55:11.378Z] ---> job-cost.sh [2021-03-10T06:55:11.378Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XmQP [2021-03-10T06:55:50.339Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-10T06:57:27.142Z] lf-activate-venv(): INFO: Adding /tmp/venv-XmQP/bin to PATH [2021-03-10T06:57:27.142Z] INFO: No Stack... [2021-03-10T06:57:27.142Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-10T06:57:27.142Z] INFO: Archiving Costs [Pipeline] sh [2021-03-10T06:57:27.484Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-10T06:57:27.484Z] [Pipeline] lock [2021-03-10T06:57:27.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [2021-03-10T06:57:27.658Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] did not exist. Created. [2021-03-10T06:57:27.659Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-10T06:57:28.111Z] /w/workspace/device-sdk-go/2@tmp/durable-b4489d10/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-b4489d10/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-10T06:57:28.460Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-10T06:57:28.534Z] Warning: overwriting stash ‘stack-cost’ [2021-03-10T06:57:28.707Z] Stashed 1 file(s) [Pipeline] } [2021-03-10T06:57:28.723Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-812-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-10T06:57:30.063Z] provisioning config files... [2021-03-10T06:57:30.073Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config6621592995718218082tmp [Pipeline] { [Pipeline] sh [2021-03-10T06:57:30.572Z] + set +x [2021-03-10T06:57:30.572Z] + curl -s https://codecov.io/bash [2021-03-10T06:57:30.572Z] + bash -s -- [2021-03-10T06:57:30.835Z] [2021-03-10T06:57:30.835Z] _____ _ [2021-03-10T06:57:30.835Z] / ____| | | [2021-03-10T06:57:30.835Z] | | ___ __| | ___ ___ _____ __ [2021-03-10T06:57:30.835Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-10T06:57:30.835Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-10T06:57:30.835Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-10T06:57:30.835Z] Bash-20210309-2b87ace [2021-03-10T06:57:30.835Z] [2021-03-10T06:57:30.835Z] [2021-03-10T06:57:30.835Z] ==> git version 2.24.3 found [2021-03-10T06:57:30.835Z] ==> 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-10T06:57:30.835Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-10T06:57:30.835Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-10T06:57:30.835Z] ==> Jenkins CI detected. [2021-03-10T06:57:30.835Z] project root: . [2021-03-10T06:57:30.835Z] --> token set from env [2021-03-10T06:57:30.835Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-10T06:57:30.835Z] ==> Running gcov in . (disable via -X gcov) [2021-03-10T06:57:30.835Z] ==> Python coveragepy not found [2021-03-10T06:57:30.835Z] ==> Searching for coverage reports in: [2021-03-10T06:57:30.835Z] + . [2021-03-10T06:57:30.835Z] -> Found 1 reports [2021-03-10T06:57:30.835Z] ==> Detecting git/mercurial file structure [2021-03-10T06:57:30.835Z] ==> Reading reports [2021-03-10T06:57:30.835Z] + ./coverage.out bytes=102298 [2021-03-10T06:57:30.835Z] ==> Appending adjustments [2021-03-10T06:57:30.835Z] https://docs.codecov.io/docs/fixing-reports [2021-03-10T06:57:31.099Z] + Found adjustments [2021-03-10T06:57:31.099Z] ==> Gzipping contents [2021-03-10T06:57:31.099Z] 16K /tmp/codecov.Adhsov.gz [2021-03-10T06:57:31.099Z] ==> Uploading reports [2021-03-10T06:57:31.099Z] url: https://codecov.io [2021-03-10T06:57:31.099Z] query: branch=PR-812&commit=a2b66370f1ac85d995e8fab915882288755312fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-812%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=812&job=&cmd_args= [2021-03-10T06:57:31.099Z] -> Pinging Codecov [2021-03-10T06:57:31.099Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-812&commit=a2b66370f1ac85d995e8fab915882288755312fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-812%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=812&job=&cmd_args= [2021-03-10T06:57:31.673Z] -> Uploading to [2021-03-10T06:57:31.673Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-10/7E55EF52A471D76F132DFD9A03CDDE97/a2b66370f1ac85d995e8fab915882288755312fe/d0e803c7-d854-4b39-8f6c-16e879d3a62b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210310%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210310T065731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6dba3a2335ea998d6377794e8df07c15404ee6c1e4dd719ef0cd182241e8b42d [2021-03-10T06:57:31.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-10T06:57:31.673Z] Dload Upload Total Spent Left Speed [2021-03-10T06:57:31.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15206 0 0 100 15206 0 33367 --:--:-- --:--:-- --:--:-- 33346 [2021-03-10T06:57:31.937Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a2b66370f1ac85d995e8fab915882288755312fe [Pipeline] } [2021-03-10T06:57:31.947Z] 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-10T06:57:35.534Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:57:36.108Z] ---> package-listing.sh [2021-03-10T06:57:36.109Z] ++ facter osfamily [2021-03-10T06:57:36.109Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-10T06:57:36.109Z] + OS_FAMILY=redhat [2021-03-10T06:57:36.109Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-812 [2021-03-10T06:57:36.109Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-10T06:57:36.109Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-10T06:57:36.109Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-10T06:57:36.109Z] + PACKAGES=/tmp/packages_start.txt [2021-03-10T06:57:36.109Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-812 ']' [2021-03-10T06:57:36.109Z] + PACKAGES=/tmp/packages_end.txt [2021-03-10T06:57:36.109Z] + case "${OS_FAMILY}" in [2021-03-10T06:57:36.109Z] + rpm -qa [2021-03-10T06:57:36.109Z] + sort [2021-03-10T06:57:41.434Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-10T06:57:41.435Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-10T06:57:41.435Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-10T06:57:41.435Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-812 ']' [2021-03-10T06:57:41.435Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-812/archives/ [2021-03-10T06:57:41.435Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-812/archives/ [Pipeline] echo [2021-03-10T06:57:41.449Z] 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-812/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-10T06:57:41.737Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:57:42.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T06:57:42.044Z] [2021-03-10T06:57:42.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-10T06:57:42.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T06:57:42.397Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-10T06:57:42.397Z] df20fa9351a1: Pulling fs layer [2021-03-10T06:57:42.397Z] 36b3adc4ff6f: Pulling fs layer [2021-03-10T06:57:42.397Z] 8ad3a11d3b57: Pulling fs layer [2021-03-10T06:57:42.397Z] 46f8f816bc3b: Pulling fs layer [2021-03-10T06:57:42.397Z] 93b61091891f: Pulling fs layer [2021-03-10T06:57:42.397Z] 93b9cdb0e59b: Pulling fs layer [2021-03-10T06:57:42.397Z] 5e14af77c1be: Pulling fs layer [2021-03-10T06:57:42.397Z] 01666e4c0597: Pulling fs layer [2021-03-10T06:57:42.397Z] aa168da1d23b: Pulling fs layer [2021-03-10T06:57:42.397Z] 46f8f816bc3b: Waiting [2021-03-10T06:57:42.397Z] 93b61091891f: Waiting [2021-03-10T06:57:42.397Z] 93b9cdb0e59b: Waiting [2021-03-10T06:57:42.397Z] 5e14af77c1be: Waiting [2021-03-10T06:57:42.397Z] 01666e4c0597: Waiting [2021-03-10T06:57:42.397Z] aa168da1d23b: Waiting [2021-03-10T06:57:42.397Z] 36b3adc4ff6f: Download complete [2021-03-10T06:57:42.397Z] 46f8f816bc3b: Verifying Checksum [2021-03-10T06:57:42.397Z] 46f8f816bc3b: Download complete [2021-03-10T06:57:42.397Z] df20fa9351a1: Download complete [2021-03-10T06:57:42.666Z] 93b9cdb0e59b: Verifying Checksum [2021-03-10T06:57:42.666Z] 93b9cdb0e59b: Download complete [2021-03-10T06:57:42.666Z] 5e14af77c1be: Verifying Checksum [2021-03-10T06:57:42.666Z] 5e14af77c1be: Download complete [2021-03-10T06:57:42.666Z] 01666e4c0597: Verifying Checksum [2021-03-10T06:57:42.666Z] 01666e4c0597: Download complete [2021-03-10T06:57:42.666Z] 93b61091891f: Verifying Checksum [2021-03-10T06:57:42.666Z] 93b61091891f: Download complete [2021-03-10T06:57:42.933Z] 8ad3a11d3b57: Verifying Checksum [2021-03-10T06:57:42.933Z] 8ad3a11d3b57: Download complete [2021-03-10T06:57:42.933Z] df20fa9351a1: Pull complete [2021-03-10T06:57:43.196Z] 36b3adc4ff6f: Pull complete [2021-03-10T06:57:43.779Z] 8ad3a11d3b57: Pull complete [2021-03-10T06:57:44.355Z] 46f8f816bc3b: Pull complete [2021-03-10T06:57:44.618Z] aa168da1d23b: Verifying Checksum [2021-03-10T06:57:44.618Z] aa168da1d23b: Download complete [2021-03-10T06:57:44.881Z] 93b61091891f: Pull complete [2021-03-10T06:57:45.145Z] 93b9cdb0e59b: Pull complete [2021-03-10T06:57:45.145Z] 5e14af77c1be: Pull complete [2021-03-10T06:57:45.409Z] 01666e4c0597: Pull complete [2021-03-10T06:57:52.032Z] aa168da1d23b: Pull complete [2021-03-10T06:57:52.032Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-10T06:57:52.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T06:57:52.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-10T06:57:52.204Z] prd-centos7-docker-4c-2g-29269 does not seem to be running inside a container [2021-03-10T06:57:52.260Z] $ 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-812/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-812 -v /w/workspace/dgexfoundry_device-sdk-go_PR-812:/w/workspace/dgexfoundry_device-sdk-go_PR-812:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-10T06:57:55.263Z] $ docker top 544f9137ce0717c0c3d6e8c90ddb9c0bfd814e2ee2da6f9fb616c0b68c4d2717 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T06:57:55.838Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-10T06:57:56.139Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-10T06:57:56.441Z] + ls /var/log/sa-host [2021-03-10T06:57:56.441Z] + sadf -c /var/log/sa-host/sa10 [2021-03-10T06:57:56.441Z] file_magic: OK [2021-03-10T06:57:56.441Z] HZ: Using current value: 100 [2021-03-10T06:57:56.441Z] file_header: OK [2021-03-10T06:57:56.441Z] 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-10T06:57:56.441Z] Statistics: [2021-03-10T06:57:56.441Z] 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-10T06:57:56.441Z] File successfully converted to sysstat format version 12.2.1 [2021-03-10T06:57:56.441Z] + sadf -c /var/log/sa-host/sa23 [2021-03-10T06:57:56.441Z] file_magic: OK [2021-03-10T06:57:56.441Z] HZ: Using current value: 100 [2021-03-10T06:57:56.441Z] file_header: OK [2021-03-10T06:57:56.441Z] 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-10T06:57:56.441Z] Statistics: [2021-03-10T06:57:56.441Z] Hnuu...uuuununununu... [2021-03-10T06:57:56.441Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-10T06:57:56.681Z] provisioning config files... [2021-03-10T06:57:56.695Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config6795471233324275911tmp [Pipeline] { [Pipeline] echo [2021-03-10T06:57:56.779Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:57:57.082Z] ---> create-netrc.sh [Pipeline] } [2021-03-10T06:57:57.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-10T06:57:57.182Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:57:57.478Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-10T06:57:57.488Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:57:57.786Z] ---> sudo-logs.sh [2021-03-10T06:57:57.786Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-10T06:57:57.857Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:57:58.158Z] ---> job-cost.sh [2021-03-10T06:57:58.158Z] lf-activate-venv: SKIPPING [2021-03-10T06:57:58.158Z] DEBUG: total: 0.20999999344348907 [2021-03-10T06:57:58.158Z] INFO: Retrieving Stack Cost... [2021-03-10T06:57:59.555Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-10T06:57:59.818Z] INFO: Archiving Costs [Pipeline] echo [2021-03-10T06:57:59.834Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T06:58:00.134Z] ---> logs-deploy.sh [2021-03-10T06:58:00.134Z] lf-activate-venv: SKIPPING [2021-03-10T06:58:00.134Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-812/2 [2021-03-10T06:58:00.134Z] INFO: archiving workspace using pattern(s): [2021-03-10T06:58:02.062Z] Archives upload complete. [2021-03-10T06:58:02.062Z] INFO: archiving logs to Nexus