Pull request #804 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d38291b108151c678147caa989c3776b19aa5fc1 rather than 5cbefb55819c18007a34e5b99697e72d2dc34ccf Obtained Jenkinsfile from d38291b108151c678147caa989c3776b19aa5fc1 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-28347 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [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-804 # 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/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 5cbefb55819c18007a34e5b99697e72d2dc34ccf Merge succeeded, producing 5cbefb55819c18007a34e5b99697e72d2dc34ccf Checking out Revision 5cbefb55819c18007a34e5b99697e72d2dc34ccf (PR-804) > git config core.sparsecheckout # timeout=10 > git checkout -f 5cbefb55819c18007a34e5b99697e72d2dc34ccf # 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 d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5cbefb55819c18007a34e5b99697e72d2dc34ccf # timeout=10 Commit message: "build: Upgrade the go-mod-core-contracts lib" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-03T05:37:09.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-03T05:37:09.755Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 0ea23e3f0ca961e87626e4a39ea2010358eb753d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-03T05:37:09.860Z] ========================================================= [2021-03-03T05:37:09.860Z] EdgeX Global Pipelines Version Info [2021-03-03T05:37:09.860Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:37:11.314Z] ------------------- [2021-03-03T05:37:11.314Z] stable info: [2021-03-03T05:37:11.314Z] ------------------- [2021-03-03T05:37:11.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-03T05:37:11.314Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T05:37:11.314Z] Message: update stable to v1.0.184 [2021-03-03T05:37:12.269Z] ------------------- [2021-03-03T05:37:12.269Z] experimental info: [2021-03-03T05:37:12.269Z] ------------------- [2021-03-03T05:37:12.269Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-03T05:37:12.269Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-03T05:37:12.269Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-03T05:37:12.567Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-03T05:37:12.671Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-03T05:37:12.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-03T05:37:12.867Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-03T05:37:12.961Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-03T05:37:13.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-03T05:37:13.171Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-03T05:37:13.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-03T05:37:13.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-03T05:37:13.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-03T05:37:13.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-03T05:37:13.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-03T05:37:13.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-03T05:37:14.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-03T05:37:14.126Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-03T05:37:14.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T05:37:14.320Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T05:37:14.442Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-03T05:37:14.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-03T05:37:14.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-03T05:37:14.779Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-03T05:37:14.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-03T05:37:14.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-03T05:37:15.068Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-03T05:37:15.160Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-03T05:37:15.293Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-03T05:37:15.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-804 [Pipeline] echo [2021-03-03T05:37:15.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-804 [Pipeline] echo [2021-03-03T05:37:15.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-804 [Pipeline] echo [2021-03-03T05:37:15.673Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5cbefb55819c18007a34e5b99697e72d2dc34ccf [Pipeline] echo [2021-03-03T05:37:15.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5cbefb5 [Pipeline] echo [2021-03-03T05:37:15.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-03T05:37:16.062Z] provisioning config files... [2021-03-03T05:37:16.100Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config1210467002261713524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:37:16.458Z] ---> docker-login.sh [2021-03-03T05:37:16.458Z] nexus3.edgexfoundry.org:10001 [2021-03-03T05:37:16.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:37:16.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:37:16.985Z] Configure a credential helper to remove this warning. See [2021-03-03T05:37:16.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:37:16.985Z] [2021-03-03T05:37:16.985Z] Login Succeeded [2021-03-03T05:37:16.985Z] nexus3.edgexfoundry.org:10002 [2021-03-03T05:37:16.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:37:17.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:37:17.251Z] Configure a credential helper to remove this warning. See [2021-03-03T05:37:17.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:37:17.251Z] [2021-03-03T05:37:17.251Z] Login Succeeded [2021-03-03T05:37:17.251Z] nexus3.edgexfoundry.org:10003 [2021-03-03T05:37:17.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:37:17.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:37:17.251Z] Configure a credential helper to remove this warning. See [2021-03-03T05:37:17.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:37:17.251Z] [2021-03-03T05:37:17.251Z] Login Succeeded [2021-03-03T05:37:17.251Z] nexus3.edgexfoundry.org:10004 [2021-03-03T05:37:17.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:37:17.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:37:17.515Z] Configure a credential helper to remove this warning. See [2021-03-03T05:37:17.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:37:17.515Z] [2021-03-03T05:37:17.515Z] Login Succeeded [2021-03-03T05:37:17.515Z] docker.io [2021-03-03T05:37:17.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:37:17.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:37:17.779Z] Configure a credential helper to remove this warning. See [2021-03-03T05:37:17.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:37:17.779Z] [2021-03-03T05:37:17.779Z] Login Succeeded [2021-03-03T05:37:17.779Z] ---> docker-login.sh ends [Pipeline] } [2021-03-03T05:37:17.790Z] 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-03T05:37:18.775Z] + git log --format=format:%s -1 5cbefb55819c18007a34e5b99697e72d2dc34ccf [Pipeline] echo [2021-03-03T05:37:18.844Z] GIT_COMMIT: 5cbefb55819c18007a34e5b99697e72d2dc34ccf, Commit Message: build: Upgrade the go-mod-core-contracts lib [Pipeline] echo [2021-03-03T05:37:18.889Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:37:19.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T05:37:19.910Z] [2021-03-03T05:37:19.910Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:37:20.262Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T05:37:20.262Z] latest: Pulling from edgex-devops/git-semver [2021-03-03T05:37:20.262Z] 31603596830f: Pulling fs layer [2021-03-03T05:37:20.262Z] 2a8b12db71e7: Pulling fs layer [2021-03-03T05:37:20.262Z] 6ca5941a6612: Pulling fs layer [2021-03-03T05:37:20.262Z] ecc8261a40a4: Pulling fs layer [2021-03-03T05:37:20.262Z] ecc8261a40a4: Waiting [2021-03-03T05:37:20.262Z] 2a8b12db71e7: Download complete [2021-03-03T05:37:20.525Z] 31603596830f: Verifying Checksum [2021-03-03T05:37:20.525Z] 31603596830f: Download complete [2021-03-03T05:37:20.525Z] 6ca5941a6612: Verifying Checksum [2021-03-03T05:37:20.525Z] 6ca5941a6612: Download complete [2021-03-03T05:37:20.525Z] ecc8261a40a4: Verifying Checksum [2021-03-03T05:37:20.525Z] ecc8261a40a4: Download complete [2021-03-03T05:37:20.789Z] 31603596830f: Pull complete [2021-03-03T05:37:21.052Z] 2a8b12db71e7: Pull complete [2021-03-03T05:37:22.004Z] 6ca5941a6612: Pull complete [2021-03-03T05:37:22.004Z] ecc8261a40a4: Pull complete [2021-03-03T05:37:22.004Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-03T05:37:22.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-03T05:37:22.267Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-03T05:37:22.379Z] prd-centos7-docker-4c-2g-28347 does not seem to be running inside a container [2021-03-03T05:37:22.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-03T05:37:24.660Z] $ docker top 80f717cf7980dd91ad5fb589c24b785e53b1518679b63a08a919c6ea9dd98e80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-03T05:37:24.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T05:37:24.962Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T05:37:25.201Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T05:37:25.205Z] $ docker exec 80f717cf7980dd91ad5fb589c24b785e53b1518679b63a08a919c6ea9dd98e80 ssh-agent [2021-03-03T05:37:25.378Z] SSH_AUTH_SOCK=/tmp/ssh-qkPynnwClKRu/agent.12 [2021-03-03T05:37:25.379Z] SSH_AGENT_PID=17 [2021-03-03T05:37:25.389Z] Running ssh-add (command line suppressed) [2021-03-03T05:37:25.523Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_6555197549431567553.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_6555197549431567553.key) [2021-03-03T05:37:25.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T05:37:25.959Z] + git tag --points-at HEAD [Pipeline] } [2021-03-03T05:37:25.980Z] $ docker exec --env ******** --env ******** 80f717cf7980dd91ad5fb589c24b785e53b1518679b63a08a919c6ea9dd98e80 ssh-agent -k [2021-03-03T05:37:26.096Z] unset SSH_AUTH_SOCK; [2021-03-03T05:37:26.096Z] unset SSH_AGENT_PID; [2021-03-03T05:37:26.097Z] echo Agent pid 17 killed; [2021-03-03T05:37:26.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-03T05:37:26.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-03T05:37:26.313Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-03T05:37:26.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-03T05:37:26.504Z] $ docker exec 80f717cf7980dd91ad5fb589c24b785e53b1518679b63a08a919c6ea9dd98e80 ssh-agent [2021-03-03T05:37:26.689Z] SSH_AUTH_SOCK=/tmp/ssh-3ZCZsbmCNlF1/agent.45 [2021-03-03T05:37:26.689Z] SSH_AGENT_PID=51 [2021-03-03T05:37:26.700Z] Running ssh-add (command line suppressed) [2021-03-03T05:37:26.830Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_4957493512122731644.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_4957493512122731644.key) [2021-03-03T05:37:26.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-03T05:37:27.251Z] + git semver init [2021-03-03T05:37:27.251Z] # -> Open(): unable to determine branch for HEAD [2021-03-03T05:37:27.251Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.git [2021-03-03T05:37:27.251Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-03T05:37:27.251Z] # $SEMVER_REMOTE_NAME = origin [2021-03-03T05:37:27.251Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-03T05:37:27.251Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-03T05:37:27.251Z] # $SEMVER_BRANCH = PR-804 [2021-03-03T05:37:27.251Z] # $SEMVER_TEMP = /tmp/semver-192641592 [2021-03-03T05:37:27.251Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-03T05:37:27.826Z] # '/tmp/semver-192641592' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver' [2021-03-03T05:37:27.826Z] # -> Force: false [2021-03-03T05:37:27.826Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver [Pipeline] } [2021-03-03T05:37:27.837Z] $ docker exec --env ******** --env ******** 80f717cf7980dd91ad5fb589c24b785e53b1518679b63a08a919c6ea9dd98e80 ssh-agent -k [2021-03-03T05:37:27.950Z] unset SSH_AUTH_SOCK; [2021-03-03T05:37:27.951Z] unset SSH_AGENT_PID; [2021-03-03T05:37:27.951Z] echo Agent pid 51 killed; [2021-03-03T05:37:27.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-03T05:37:28.471Z] + git semver [Pipeline] } [2021-03-03T05:37:28.487Z] $ docker stop --time=1 80f717cf7980dd91ad5fb589c24b785e53b1518679b63a08a919c6ea9dd98e80 [2021-03-03T05:37:29.841Z] $ docker rm -f 80f717cf7980dd91ad5fb589c24b785e53b1518679b63a08a919c6ea9dd98e80 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T05:37:30.352Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-03T05:37:30.838Z] Stashed 1 file(s) [Pipeline] echo [2021-03-03T05:37:30.841Z] [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-03T05:37:46.371Z] Still waiting to schedule task [2021-03-03T05:37:46.371Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28347’ [2021-03-03T05:37:46.374Z] Still waiting to schedule task [2021-03-03T05:37:46.374Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-03T05:39:29.614Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28348 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-03T05:39:29.672Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-03T05:39:34.833Z] using credential edgex-jenkins-ssh [2021-03-03T05:39:34.888Z] Cloning the remote Git repository [2021-03-03T05:39:34.967Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T05:39:35.076Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-03T05:39:35.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T05:39:35.160Z] > git --version # timeout=10 [2021-03-03T05:39:35.182Z] > git --version # 'git version 2.17.1' [2021-03-03T05:39:35.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T05:39:35.250Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T05:39:36.979Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 5cbefb55819c18007a34e5b99697e72d2dc34ccf [2021-03-03T05:39:37.231Z] Merge succeeded, producing 5cbefb55819c18007a34e5b99697e72d2dc34ccf [2021-03-03T05:39:37.232Z] Checking out Revision 5cbefb55819c18007a34e5b99697e72d2dc34ccf (PR-804) [2021-03-03T05:39:36.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-03T05:39:36.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T05:39:36.383Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-03T05:39:36.415Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T05:39:36.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T05:39:36.428Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T05:39:37.020Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T05:39:37.051Z] > git checkout -f 5cbefb55819c18007a34e5b99697e72d2dc34ccf # timeout=10 [2021-03-03T05:39:37.168Z] > git remote # timeout=10 [2021-03-03T05:39:37.185Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T05:39:37.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T05:39:37.214Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-03T05:39:37.239Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T05:39:37.260Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T05:39:37.270Z] > git checkout -f 5cbefb55819c18007a34e5b99697e72d2dc34ccf # timeout=10 [2021-03-03T05:39:41.668Z] Commit message: "build: Upgrade the go-mod-core-contracts lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T05:39:43.272Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-03T05:39:43.694Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T05:39:44.040Z] + true [2021-03-03T05:39:44.040Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-03T05:39:46.738Z] provisioning config files... [2021-03-03T05:39:46.826Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5824436867039306410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:39:47.267Z] ---> docker-login.sh [2021-03-03T05:39:47.267Z] nexus3.edgexfoundry.org:10001 [2021-03-03T05:39:48.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:39:48.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:39:48.530Z] Configure a credential helper to remove this warning. See [2021-03-03T05:39:48.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:39:48.530Z] [2021-03-03T05:39:48.530Z] Login Succeeded [2021-03-03T05:39:48.530Z] nexus3.edgexfoundry.org:10002 [2021-03-03T05:39:48.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:39:49.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:39:49.079Z] Configure a credential helper to remove this warning. See [2021-03-03T05:39:49.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:39:49.079Z] [2021-03-03T05:39:49.079Z] Login Succeeded [2021-03-03T05:39:49.079Z] nexus3.edgexfoundry.org:10003 [2021-03-03T05:39:49.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:39:49.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:39:49.352Z] Configure a credential helper to remove this warning. See [2021-03-03T05:39:49.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:39:49.352Z] [2021-03-03T05:39:49.352Z] Login Succeeded [2021-03-03T05:39:49.352Z] nexus3.edgexfoundry.org:10004 [2021-03-03T05:39:49.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:39:49.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:39:49.950Z] Configure a credential helper to remove this warning. See [2021-03-03T05:39:49.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:39:49.950Z] [2021-03-03T05:39:49.950Z] Login Succeeded [2021-03-03T05:39:49.950Z] docker.io [2021-03-03T05:39:50.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:39:50.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:39:50.819Z] Configure a credential helper to remove this warning. See [2021-03-03T05:39:50.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:39:50.819Z] [2021-03-03T05:39:50.819Z] Login Succeeded [2021-03-03T05:39:50.819Z] ---> docker-login.sh ends [Pipeline] } [2021-03-03T05:39:50.837Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-03T05:39:51.278Z] ========================================================= [2021-03-03T05:39:51.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-03T05:39:51.278Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:39:51.659Z] + 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-03T05:39:52.265Z] Sending build context to Docker daemon 2.469MB [2021-03-03T05:39:52.265Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T05:39:52.265Z] Step 2/8 : FROM ${BASE} [2021-03-03T05:39:52.265Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-03T05:39:52.265Z] 5f621e34cdf4: Pulling fs layer [2021-03-03T05:39:52.265Z] a4357932f1b6: Pulling fs layer [2021-03-03T05:39:52.265Z] 18c013af1878: Pulling fs layer [2021-03-03T05:39:52.265Z] 00ac8860ef70: Pulling fs layer [2021-03-03T05:39:52.265Z] 63d7cb157983: Pulling fs layer [2021-03-03T05:39:52.265Z] b116817d02f9: Pulling fs layer [2021-03-03T05:39:52.265Z] 745a02a5169b: Pulling fs layer [2021-03-03T05:39:52.265Z] 00ac8860ef70: Waiting [2021-03-03T05:39:52.266Z] b116817d02f9: Waiting [2021-03-03T05:39:52.266Z] 63d7cb157983: Waiting [2021-03-03T05:39:52.266Z] 745a02a5169b: Waiting [2021-03-03T05:39:52.266Z] 18c013af1878: Verifying Checksum [2021-03-03T05:39:52.266Z] 18c013af1878: Download complete [2021-03-03T05:39:52.266Z] a4357932f1b6: Download complete [2021-03-03T05:39:52.266Z] 63d7cb157983: Verifying Checksum [2021-03-03T05:39:52.266Z] 63d7cb157983: Download complete [2021-03-03T05:39:53.252Z] b116817d02f9: Verifying Checksum [2021-03-03T05:39:53.252Z] b116817d02f9: Download complete [2021-03-03T05:39:53.252Z] 5f621e34cdf4: Verifying Checksum [2021-03-03T05:39:53.252Z] 5f621e34cdf4: Download complete [2021-03-03T05:39:53.860Z] 5f621e34cdf4: Pull complete [2021-03-03T05:39:54.465Z] a4357932f1b6: Pull complete [2021-03-03T05:39:54.745Z] 18c013af1878: Pull complete [2021-03-03T05:39:55.722Z] 745a02a5169b: Verifying Checksum [2021-03-03T05:39:55.722Z] 745a02a5169b: Download complete [2021-03-03T05:39:56.315Z] 00ac8860ef70: Verifying Checksum [2021-03-03T05:39:56.315Z] 00ac8860ef70: Download complete [2021-03-03T05:40:06.460Z] 00ac8860ef70: Pull complete [2021-03-03T05:40:06.734Z] 63d7cb157983: Pull complete [2021-03-03T05:40:07.015Z] b116817d02f9: Pull complete [2021-03-03T05:40:11.328Z] 745a02a5169b: Pull complete [2021-03-03T05:40:11.328Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-03T05:40:11.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-03T05:40:11.328Z] ---> b7e6874047d6 [2021-03-03T05:40:11.328Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T05:40:13.950Z] ---> Running in d42d38cdba5a [2021-03-03T05:40:13.950Z] Removing intermediate container d42d38cdba5a [2021-03-03T05:40:13.950Z] ---> 5f84d1aee3d6 [2021-03-03T05:40:13.950Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-03T05:40:13.950Z] ---> Running in bc3dc0bdd02a [2021-03-03T05:40:16.579Z] Removing intermediate container bc3dc0bdd02a [2021-03-03T05:40:16.579Z] ---> 2ecea3b0dede [2021-03-03T05:40:16.579Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-03T05:40:16.579Z] ---> Running in 8a626f6a8c8b [2021-03-03T05:40:17.569Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-03T05:40:17.790Z] Running on prd-centos7-docker-4c-2g-28349 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-03T05:40:17.847Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-03T05:40:18.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-03T05:40:19.149Z] OK: 142 MiB in 39 packages [2021-03-03T05:40:20.124Z] Removing intermediate container 8a626f6a8c8b [2021-03-03T05:40:20.124Z] ---> a3a22a27b3b2 [2021-03-03T05:40:20.124Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-03T05:40:20.225Z] using credential edgex-jenkins-ssh [2021-03-03T05:40:20.281Z] Cloning the remote Git repository [2021-03-03T05:40:20.397Z] ---> Running in fd7684584063 [2021-03-03T05:40:20.991Z] Removing intermediate container fd7684584063 [2021-03-03T05:40:20.991Z] ---> 80ebeaaf1593 [2021-03-03T05:40:20.991Z] Step 7/8 : COPY . . [2021-03-03T05:40:19.666Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T05:40:19.746Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-03T05:40:19.816Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T05:40:19.816Z] > git --version # timeout=10 [2021-03-03T05:40:19.832Z] > git --version # 'git version 2.24.3' [2021-03-03T05:40:19.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T05:40:19.866Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T05:40:21.980Z] ---> 55d5febe7458 [2021-03-03T05:40:21.980Z] Step 8/8 : RUN go mod download [2021-03-03T05:40:22.176Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 5cbefb55819c18007a34e5b99697e72d2dc34ccf [2021-03-03T05:40:21.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-03T05:40:21.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-03T05:40:21.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-03T05:40:21.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-03T05:40:21.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T05:40:21.134Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-03T05:40:21.691Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T05:40:21.700Z] > git checkout -f 5cbefb55819c18007a34e5b99697e72d2dc34ccf # timeout=10 [2021-03-03T05:40:21.757Z] > git remote # timeout=10 [2021-03-03T05:40:22.252Z] ---> Running in eac423171e02 [2021-03-03T05:40:22.282Z] Merge succeeded, producing 5cbefb55819c18007a34e5b99697e72d2dc34ccf [2021-03-03T05:40:22.282Z] Checking out Revision 5cbefb55819c18007a34e5b99697e72d2dc34ccf (PR-804) [2021-03-03T05:40:21.765Z] > git config --get remote.origin.url # timeout=10 [2021-03-03T05:40:21.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-03T05:40:21.776Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-03T05:40:21.789Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-03T05:40:21.800Z] > git config core.sparsecheckout # timeout=10 [2021-03-03T05:40:21.805Z] > git checkout -f 5cbefb55819c18007a34e5b99697e72d2dc34ccf # timeout=10 [2021-03-03T05:40:25.708Z] Commit message: "build: Upgrade the go-mod-core-contracts lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T05:40:26.809Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-03T05:40:27.143Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-03T05:40:27.447Z] + sudo service docker restart [2021-03-03T05:40:27.447Z] + true [2021-03-03T05:40:27.447Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-03T05:40:29.442Z] provisioning config files... [2021-03-03T05:40:29.475Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8073937452153836654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:40:29.839Z] ---> docker-login.sh [2021-03-03T05:40:29.839Z] nexus3.edgexfoundry.org:10001 [2021-03-03T05:40:30.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:40:30.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:40:30.102Z] Configure a credential helper to remove this warning. See [2021-03-03T05:40:30.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:40:30.102Z] [2021-03-03T05:40:30.102Z] Login Succeeded [2021-03-03T05:40:30.102Z] nexus3.edgexfoundry.org:10002 [2021-03-03T05:40:30.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:40:30.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:40:30.365Z] Configure a credential helper to remove this warning. See [2021-03-03T05:40:30.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:40:30.365Z] [2021-03-03T05:40:30.365Z] Login Succeeded [2021-03-03T05:40:30.365Z] nexus3.edgexfoundry.org:10003 [2021-03-03T05:40:30.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:40:30.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:40:30.634Z] Configure a credential helper to remove this warning. See [2021-03-03T05:40:30.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:40:30.634Z] [2021-03-03T05:40:30.634Z] Login Succeeded [2021-03-03T05:40:30.634Z] nexus3.edgexfoundry.org:10004 [2021-03-03T05:40:30.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:40:30.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:40:30.634Z] Configure a credential helper to remove this warning. See [2021-03-03T05:40:30.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:40:30.634Z] [2021-03-03T05:40:30.634Z] Login Succeeded [2021-03-03T05:40:30.634Z] docker.io [2021-03-03T05:40:30.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-03T05:40:31.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-03T05:40:31.159Z] Configure a credential helper to remove this warning. See [2021-03-03T05:40:31.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-03T05:40:31.159Z] [2021-03-03T05:40:31.159Z] Login Succeeded [2021-03-03T05:40:31.159Z] ---> docker-login.sh ends [Pipeline] } [2021-03-03T05:40:31.168Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-03T05:40:31.521Z] ========================================================= [2021-03-03T05:40:31.521Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-03T05:40:31.521Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:40:31.866Z] + 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-03T05:40:31.866Z] Sending build context to Docker daemon 2.462MB [2021-03-03T05:40:32.128Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T05:40:32.128Z] Step 2/8 : FROM ${BASE} [2021-03-03T05:40:32.128Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-03T05:40:32.128Z] 188c0c94c7c5: Pulling fs layer [2021-03-03T05:40:32.128Z] 0ef7d3d256c8: Pulling fs layer [2021-03-03T05:40:32.128Z] de9db76c5a1d: Pulling fs layer [2021-03-03T05:40:32.128Z] bca2f99d35d6: Pulling fs layer [2021-03-03T05:40:32.128Z] 93359f2a8cfa: Pulling fs layer [2021-03-03T05:40:32.128Z] 7c6f9722023f: Pulling fs layer [2021-03-03T05:40:32.128Z] a35cf1a2eb13: Pulling fs layer [2021-03-03T05:40:32.128Z] 93359f2a8cfa: Waiting [2021-03-03T05:40:32.128Z] 7c6f9722023f: Waiting [2021-03-03T05:40:32.128Z] bca2f99d35d6: Waiting [2021-03-03T05:40:32.128Z] a35cf1a2eb13: Waiting [2021-03-03T05:40:32.128Z] de9db76c5a1d: Verifying Checksum [2021-03-03T05:40:32.128Z] de9db76c5a1d: Download complete [2021-03-03T05:40:32.128Z] 0ef7d3d256c8: Verifying Checksum [2021-03-03T05:40:32.128Z] 0ef7d3d256c8: Download complete [2021-03-03T05:40:32.128Z] 93359f2a8cfa: Verifying Checksum [2021-03-03T05:40:32.128Z] 93359f2a8cfa: Download complete [2021-03-03T05:40:32.128Z] 188c0c94c7c5: Verifying Checksum [2021-03-03T05:40:32.128Z] 188c0c94c7c5: Download complete [2021-03-03T05:40:32.128Z] 7c6f9722023f: Verifying Checksum [2021-03-03T05:40:32.128Z] 7c6f9722023f: Download complete [2021-03-03T05:40:32.395Z] 188c0c94c7c5: Pull complete [2021-03-03T05:40:32.659Z] 0ef7d3d256c8: Pull complete [2021-03-03T05:40:32.659Z] de9db76c5a1d: Pull complete [2021-03-03T05:40:34.051Z] a35cf1a2eb13: Verifying Checksum [2021-03-03T05:40:34.630Z] bca2f99d35d6: Verifying Checksum [2021-03-03T05:40:34.630Z] bca2f99d35d6: Download complete [2021-03-03T05:40:41.264Z] bca2f99d35d6: Pull complete [2021-03-03T05:40:41.264Z] 93359f2a8cfa: Pull complete [2021-03-03T05:40:41.264Z] 7c6f9722023f: Pull complete [2021-03-03T05:40:45.519Z] a35cf1a2eb13: Pull complete [2021-03-03T05:40:45.519Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-03T05:40:45.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-03T05:40:45.519Z] ---> a62c8e92a672 [2021-03-03T05:40:45.519Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T05:40:45.519Z] ---> Running in 689e88c65271 [2021-03-03T05:40:45.519Z] Removing intermediate container 689e88c65271 [2021-03-03T05:40:45.519Z] ---> 0795d0fde753 [2021-03-03T05:40:45.519Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-03T05:40:45.519Z] ---> Running in 14a7871c7f19 [2021-03-03T05:40:46.492Z] Removing intermediate container 14a7871c7f19 [2021-03-03T05:40:46.492Z] ---> f4aea6fa8eaf [2021-03-03T05:40:46.492Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-03T05:40:46.492Z] ---> Running in 253fdaf91221 [2021-03-03T05:40:47.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-03T05:40:48.466Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-03T05:40:48.728Z] OK: 166 MiB in 39 packages [2021-03-03T05:40:49.067Z] Removing intermediate container eac423171e02 [2021-03-03T05:40:49.067Z] ---> 954e8a63bc4a [2021-03-03T05:40:49.067Z] Successfully built 954e8a63bc4a [2021-03-03T05:40:49.067Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:40:49.308Z] Removing intermediate container 253fdaf91221 [2021-03-03T05:40:49.308Z] ---> 9e162f3adf9c [2021-03-03T05:40:49.308Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-03T05:40:49.308Z] ---> Running in be32534330b0 [2021-03-03T05:40:49.412Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T05:40:49.412Z] . [Pipeline] withDockerContainer [2021-03-03T05:40:49.571Z] Removing intermediate container be32534330b0 [2021-03-03T05:40:49.571Z] ---> 8db233a3a476 [2021-03-03T05:40:49.571Z] Step 7/8 : COPY . . [2021-03-03T05:40:49.652Z] prd-ubuntu18.04-docker-arm64-4c-16g-28348 does not seem to be running inside a container [2021-03-03T05:40:49.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-03T05:40:50.978Z] ---> 3904f4433ccc [2021-03-03T05:40:50.978Z] Step 8/8 : RUN go mod download [2021-03-03T05:40:50.978Z] ---> Running in e06c45888945 [2021-03-03T05:40:51.237Z] $ docker top e457a045bd3a85ebd01884823be7419cf8e0420bf4112293452209c7a617eb5a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T05:40:52.309Z] + go version [2021-03-03T05:40:52.309Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-03T05:40:52.343Z] $ docker stop --time=1 e457a045bd3a85ebd01884823be7419cf8e0420bf4112293452209c7a617eb5a [2021-03-03T05:40:54.207Z] $ docker rm -f e457a045bd3a85ebd01884823be7419cf8e0420bf4112293452209c7a617eb5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:40:55.186Z] + docker inspect -f . ci-base-image-arm64 [2021-03-03T05:40:55.187Z] . [Pipeline] withDockerContainer [2021-03-03T05:40:55.421Z] prd-ubuntu18.04-docker-arm64-4c-16g-28348 does not seem to be running inside a container [2021-03-03T05:40:55.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-03T05:40:56.991Z] $ docker top b81d8e0bde7baf8bb0c2a5012bbe29816f02f1b59b51bb5ee6dd722e1b27f981 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T05:40:57.998Z] + make test [2021-03-03T05:40:57.998Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-03T05:41:13.097Z] Removing intermediate container e06c45888945 [2021-03-03T05:41:13.097Z] ---> 402bb7c2b3dc [2021-03-03T05:41:13.097Z] Successfully built 402bb7c2b3dc [2021-03-03T05:41:13.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:41:13.451Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T05:41:13.451Z] . [Pipeline] withDockerContainer [2021-03-03T05:41:13.568Z] prd-centos7-docker-4c-2g-28349 does not seem to be running inside a container [2021-03-03T05:41:13.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-03T05:41:14.569Z] $ docker top b3d7c29926261182ba39125001aaa99074293a1f627e154b34d0fb544056502e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T05:41:15.168Z] + go version [2021-03-03T05:41:15.168Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-03T05:41:15.190Z] $ docker stop --time=1 b3d7c29926261182ba39125001aaa99074293a1f627e154b34d0fb544056502e [2021-03-03T05:41:16.561Z] $ docker rm -f b3d7c29926261182ba39125001aaa99074293a1f627e154b34d0fb544056502e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:41:17.362Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-03T05:41:17.363Z] . [Pipeline] withDockerContainer [2021-03-03T05:41:17.474Z] prd-centos7-docker-4c-2g-28349 does not seem to be running inside a container [2021-03-03T05:41:17.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-03T05:41:18.442Z] $ docker top 795c62c9b2979ec4fc5ec6a06b13ad05459d203354c8eafb8a1e828bfeabdb21 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T05:41:18.931Z] + make test [2021-03-03T05:41:18.931Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-03T05:41:20.187Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-03T05:41:27.156Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-03T05:41:42.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-03T05:41:42.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-03T05:41:42.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-03T05:41:44.791Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 25.5% of statements [2021-03-03T05:42:07.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-03T05:42:07.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-03T05:42:07.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-03T05:42:07.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 25.5% of statements [2021-03-03T05:42:16.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 10.5% of statements [2021-03-03T05:42:16.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.075s coverage: 12.5% of statements [2021-03-03T05:42:16.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-03T05:42:16.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.075s coverage: 84.8% of statements [2021-03-03T05:42:16.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-03T05:42:16.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-03T05:42:16.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-03T05:42:16.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-03T05:42:16.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 48.7% of statements [2021-03-03T05:42:16.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-03T05:42:16.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.063s coverage: 81.3% of statements [2021-03-03T05:42:16.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.086s coverage: 24.8% of statements [2021-03-03T05:42:16.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.569s coverage: 83.5% of statements [2021-03-03T05:42:16.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.2% of statements [2021-03-03T05:42:16.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-03T05:42:16.997Z] GO111MODULE=on go vet ./... [2021-03-03T05:42:25.241Z] gofmt -l . [2021-03-03T05:42:25.241Z] [ "`gofmt -l .`" = "" ] [2021-03-03T05:42:25.241Z] ./bin/test-attribution-txt.sh [2021-03-03T05:42:25.505Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-03T05:42:25.788Z] $ docker stop --time=1 795c62c9b2979ec4fc5ec6a06b13ad05459d203354c8eafb8a1e828bfeabdb21 [2021-03-03T05:42:27.788Z] $ docker rm -f 795c62c9b2979ec4fc5ec6a06b13ad05459d203354c8eafb8a1e828bfeabdb21 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T05:42:28.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-03T05:42:29.071Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-03T05:42:31.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-03T05:42:32.034Z] + ls -al . [2021-03-03T05:42:32.034Z] total 188 [2021-03-03T05:42:32.034Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 3 05:42 . [2021-03-03T05:42:32.034Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 3 05:40 .. [2021-03-03T05:42:32.034Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 3 05:40 bin [2021-03-03T05:42:32.034Z] -rw-r--r--. 1 jenkins jenkins 102529 Mar 3 05:42 coverage.out [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 3 05:40 Dockerfile.build [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 3 05:40 .dockerignore [2021-03-03T05:42:32.034Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 3 05:40 example [2021-03-03T05:42:32.034Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 3 05:40 .git [2021-03-03T05:42:32.034Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 3 05:40 .github [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 3 05:40 .gitignore [2021-03-03T05:42:32.034Z] -rw-r--r--. 1 jenkins jenkins 516 Mar 3 05:42 go.mod [2021-03-03T05:42:32.034Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 3 05:42 go.sum [2021-03-03T05:42:32.034Z] drwxrwxr-x. 13 jenkins jenkins 183 Mar 3 05:40 internal [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 3 05:40 Jenkinsfile [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 3 05:40 LICENSE [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 3 05:40 Makefile [2021-03-03T05:42:32.034Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 3 05:40 openapi [2021-03-03T05:42:32.034Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 3 05:40 pkg [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 3 05:40 README.md [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 3 05:40 RELEASE-NOTES.txt [2021-03-03T05:42:32.034Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 3 05:40 snap [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 3 05:37 VERSION [2021-03-03T05:42:32.034Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 3 05:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:42:32.340Z] + 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=5cbefb55819c18007a34e5b99697e72d2dc34ccf --label arch=amd64 --label version=0.0.0 . [2021-03-03T05:42:32.603Z] Sending build context to Docker daemon 2.565MB [2021-03-03T05:42:32.603Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T05:42:32.603Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-03T05:42:32.603Z] ---> 402bb7c2b3dc [2021-03-03T05:42:32.603Z] Step 3/24 : ARG MAKE='make build' [2021-03-03T05:42:33.177Z] ---> Running in 3216fd949aa5 [2021-03-03T05:42:33.439Z] Removing intermediate container 3216fd949aa5 [2021-03-03T05:42:33.439Z] ---> eb7ba3c548d5 [2021-03-03T05:42:33.439Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-03T05:42:33.439Z] ---> Running in d46bb8d75de8 [2021-03-03T05:42:33.703Z] Removing intermediate container d46bb8d75de8 [2021-03-03T05:42:33.703Z] ---> b022a32e04d1 [2021-03-03T05:42:33.703Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T05:42:33.703Z] ---> Running in 8448ca832185 [2021-03-03T05:42:33.703Z] Removing intermediate container 8448ca832185 [2021-03-03T05:42:33.703Z] ---> c244ec676bfa [2021-03-03T05:42:33.703Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-03T05:42:33.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.122s coverage: 10.5% of statements [2021-03-03T05:42:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.145s coverage: 12.5% of statements [2021-03-03T05:42:33.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-03T05:42:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.147s coverage: 84.8% of statements [2021-03-03T05:42:33.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-03T05:42:33.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-03T05:42:33.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-03T05:42:33.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-03T05:42:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.189s coverage: 48.7% of statements [2021-03-03T05:42:33.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-03T05:42:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.162s coverage: 81.3% of statements [2021-03-03T05:42:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.213s coverage: 24.8% of statements [2021-03-03T05:42:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.677s coverage: 83.5% of statements [2021-03-03T05:42:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.128s coverage: 5.2% of statements [2021-03-03T05:42:33.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-03T05:42:33.979Z] GO111MODULE=on go vet ./... [2021-03-03T05:42:33.979Z] ---> Running in 1b3a3dd744c1 [2021-03-03T05:42:34.928Z] Removing intermediate container 1b3a3dd744c1 [2021-03-03T05:42:34.928Z] ---> bb4ff50eef9a [2021-03-03T05:42:34.928Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-03T05:42:35.192Z] ---> Running in 0f64f4d55ae3 [2021-03-03T05:42:35.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-03T05:42:36.404Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-03T05:42:36.978Z] OK: 166 MiB in 39 packages [2021-03-03T05:42:37.242Z] Removing intermediate container 0f64f4d55ae3 [2021-03-03T05:42:37.242Z] ---> d9650e0b283f [2021-03-03T05:42:37.242Z] Step 8/24 : COPY . . [2021-03-03T05:42:38.635Z] ---> 853e2a4b68c9 [2021-03-03T05:42:38.635Z] Step 9/24 : RUN ${MAKE} [2021-03-03T05:42:38.635Z] ---> Running in f07aa86f605b [2021-03-03T05:42:38.903Z] 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-03T05:42:49.067Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-03T05:42:50.993Z] Removing intermediate container f07aa86f605b [2021-03-03T05:42:50.993Z] ---> 0378ebf366bd [2021-03-03T05:42:50.993Z] Step 10/24 : FROM scratch [2021-03-03T05:42:50.993Z] ---> [2021-03-03T05:42:50.993Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T05:42:50.993Z] ---> Running in 6cfebb38ee99 [2021-03-03T05:42:51.256Z] Removing intermediate container 6cfebb38ee99 [2021-03-03T05:42:51.256Z] ---> 66ec0da72e07 [2021-03-03T05:42:51.256Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-03T05:42:51.256Z] ---> Running in 7bff9f61e866 [2021-03-03T05:42:51.519Z] Removing intermediate container 7bff9f61e866 [2021-03-03T05:42:51.519Z] ---> 3b36f55077b6 [2021-03-03T05:42:51.519Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-03T05:42:51.519Z] ---> Running in 61b8140fcb8a [2021-03-03T05:42:51.519Z] Removing intermediate container 61b8140fcb8a [2021-03-03T05:42:51.519Z] ---> d83b15d86a76 [2021-03-03T05:42:51.519Z] Step 14/24 : WORKDIR / [2021-03-03T05:42:51.784Z] ---> Running in ed9153492a53 [2021-03-03T05:42:51.784Z] Removing intermediate container ed9153492a53 [2021-03-03T05:42:51.784Z] ---> f54a0a475107 [2021-03-03T05:42:51.784Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-03T05:42:52.361Z] ---> b12797ac6692 [2021-03-03T05:42:52.361Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-03T05:42:52.631Z] ---> 655c2dd58277 [2021-03-03T05:42:52.631Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-03T05:42:52.896Z] ---> efc0477cf8f8 [2021-03-03T05:42:52.896Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-03T05:42:53.160Z] ---> d86f57671f1a [2021-03-03T05:42:53.160Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-03T05:42:53.422Z] ---> 2ec3764d9eb2 [2021-03-03T05:42:53.422Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-03T05:42:53.422Z] ---> Running in 71de8da77c43 [2021-03-03T05:42:53.686Z] Removing intermediate container 71de8da77c43 [2021-03-03T05:42:53.686Z] ---> 75d32a086b48 [2021-03-03T05:42:53.686Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-03T05:42:53.686Z] ---> Running in eff3a93be377 [2021-03-03T05:42:53.949Z] Removing intermediate container eff3a93be377 [2021-03-03T05:42:53.950Z] ---> 494707407b62 [2021-03-03T05:42:53.950Z] Step 22/24 : LABEL arch=amd64 [2021-03-03T05:42:53.950Z] ---> Running in 27ddaab136d3 [2021-03-03T05:42:54.213Z] Removing intermediate container 27ddaab136d3 [2021-03-03T05:42:54.213Z] ---> e7d2b06d63bd [2021-03-03T05:42:54.213Z] Step 23/24 : LABEL git_sha=5cbefb55819c18007a34e5b99697e72d2dc34ccf [2021-03-03T05:42:54.213Z] ---> Running in 9fac5e7dd4e1 [2021-03-03T05:42:54.477Z] Removing intermediate container 9fac5e7dd4e1 [2021-03-03T05:42:54.477Z] ---> 502538a8003c [2021-03-03T05:42:54.477Z] Step 24/24 : LABEL version=0.0.0 [2021-03-03T05:42:54.477Z] ---> Running in e9b438fbf7ef [2021-03-03T05:42:54.477Z] Removing intermediate container e9b438fbf7ef [2021-03-03T05:42:54.477Z] ---> de4afb4626f8 [2021-03-03T05:42:54.477Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-03T05:42:54.739Z] Successfully built de4afb4626f8 [2021-03-03T05:42:54.739Z] 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-03T05:42:55.914Z] ---> job-cost.sh [2021-03-03T05:42:55.914Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n24l [2021-03-03T05:43:13.335Z] gofmt -l . [2021-03-03T05:43:13.335Z] [ "`gofmt -l .`" = "" ] [2021-03-03T05:43:13.335Z] ./bin/test-attribution-txt.sh [2021-03-03T05:43:13.335Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-03T05:43:13.370Z] $ docker stop --time=1 b81d8e0bde7baf8bb0c2a5012bbe29816f02f1b59b51bb5ee6dd722e1b27f981 [2021-03-03T05:43:14.085Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T05:43:15.595Z] $ docker rm -f b81d8e0bde7baf8bb0c2a5012bbe29816f02f1b59b51bb5ee6dd722e1b27f981 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-03T05:43:16.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-03T05:43:16.778Z] Warning: overwriting stash ‘coverage-report’ [2021-03-03T05:43:17.545Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-03T05:43:18.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-03T05:43:18.596Z] + ls -al . [2021-03-03T05:43:18.596Z] total 224 [2021-03-03T05:43:18.596Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 05:43 . [2021-03-03T05:43:18.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 05:39 .. [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 05:39 .dockerignore [2021-03-03T05:43:18.596Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 05:39 .git [2021-03-03T05:43:18.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 05:39 .github [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 3 05:39 .gitignore [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 3 05:39 Dockerfile.build [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 3 05:39 Jenkinsfile [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 05:39 LICENSE [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 3 05:39 Makefile [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 3 05:39 README.md [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 3 05:39 RELEASE-NOTES.txt [2021-03-03T05:43:18.596Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 05:37 VERSION [2021-03-03T05:43:18.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 05:39 bin [2021-03-03T05:43:18.596Z] -rw-r--r-- 1 jenkins jenkins 102528 Mar 3 05:42 coverage.out [2021-03-03T05:43:18.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 05:39 example [2021-03-03T05:43:18.597Z] -rw-r--r-- 1 jenkins jenkins 516 Mar 3 05:43 go.mod [2021-03-03T05:43:18.597Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 3 05:43 go.sum [2021-03-03T05:43:18.597Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 3 05:39 internal [2021-03-03T05:43:18.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 05:39 openapi [2021-03-03T05:43:18.597Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 05:39 pkg [2021-03-03T05:43:18.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 05:39 snap [2021-03-03T05:43:18.597Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 05:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:43:18.935Z] + 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=5cbefb55819c18007a34e5b99697e72d2dc34ccf --label arch=arm64 --label version=0.0.0 . [2021-03-03T05:43:19.532Z] Sending build context to Docker daemon 2.573MB [2021-03-03T05:43:19.532Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-03T05:43:19.532Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-03T05:43:19.532Z] ---> 954e8a63bc4a [2021-03-03T05:43:19.532Z] Step 3/24 : ARG MAKE='make build' [2021-03-03T05:43:19.805Z] ---> Running in 39698c173fca [2021-03-03T05:43:20.400Z] Removing intermediate container 39698c173fca [2021-03-03T05:43:20.400Z] ---> 51cd6973ae85 [2021-03-03T05:43:20.401Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-03T05:43:20.401Z] ---> Running in eba91ac07382 [2021-03-03T05:43:20.995Z] Removing intermediate container eba91ac07382 [2021-03-03T05:43:20.995Z] ---> 73f17eaffc9a [2021-03-03T05:43:20.995Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T05:43:20.995Z] ---> Running in 43b87b710244 [2021-03-03T05:43:21.592Z] Removing intermediate container 43b87b710244 [2021-03-03T05:43:21.592Z] ---> bb469e3e7cd6 [2021-03-03T05:43:21.592Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-03T05:43:21.592Z] ---> Running in b7894d3b81cb [2021-03-03T05:43:24.207Z] Removing intermediate container b7894d3b81cb [2021-03-03T05:43:24.207Z] ---> d45e5ad87715 [2021-03-03T05:43:24.207Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-03T05:43:24.207Z] ---> Running in 3fd6e39cd4cd [2021-03-03T05:43:25.182Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-03T05:43:25.777Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-03T05:43:26.373Z] OK: 142 MiB in 39 packages [2021-03-03T05:43:27.810Z] Removing intermediate container 3fd6e39cd4cd [2021-03-03T05:43:27.810Z] ---> b86382a75517 [2021-03-03T05:43:27.810Z] Step 8/24 : COPY . . [2021-03-03T05:43:28.804Z] ---> fad28d6fb1ed [2021-03-03T05:43:28.804Z] Step 9/24 : RUN ${MAKE} [2021-03-03T05:43:29.078Z] ---> Running in 55afd6b371cd [2021-03-03T05:43:30.059Z] 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-03T05:43:40.754Z] lf-activate-venv(): INFO: Adding /tmp/venv-n24l/bin to PATH [2021-03-03T05:43:40.755Z] INFO: No Stack... [2021-03-03T05:43:41.701Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T05:43:42.649Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T05:43:42.963Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-03-03T05:43:42.964Z] + cut -d, -f6 [Pipeline] lock [2021-03-03T05:43:43.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-3-stack-cost] [2021-03-03T05:43:43.061Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-3-stack-cost] did not exist. Created. [2021-03-03T05:43:43.061Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T05:43:43.469Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-03T05:43:43.663Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T05:43:43.679Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-03T05:43:56.876Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-03T05:43:57.854Z] Removing intermediate container 55afd6b371cd [2021-03-03T05:43:57.854Z] ---> 5f18d78eb945 [2021-03-03T05:43:57.854Z] Step 10/24 : FROM scratch [2021-03-03T05:43:57.854Z] ---> [2021-03-03T05:43:57.854Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-03T05:43:57.854Z] ---> Running in 4948decdc8ab [2021-03-03T05:43:58.447Z] Removing intermediate container 4948decdc8ab [2021-03-03T05:43:58.447Z] ---> 36d54495ccbb [2021-03-03T05:43:58.447Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-03T05:43:58.447Z] ---> Running in ba6dfa1dd882 [2021-03-03T05:43:59.043Z] Removing intermediate container ba6dfa1dd882 [2021-03-03T05:43:59.043Z] ---> dec2a9501bd1 [2021-03-03T05:43:59.043Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-03T05:43:59.043Z] ---> Running in 01f0be2cde42 [2021-03-03T05:43:59.638Z] Removing intermediate container 01f0be2cde42 [2021-03-03T05:43:59.639Z] ---> 226695422d76 [2021-03-03T05:43:59.639Z] Step 14/24 : WORKDIR / [2021-03-03T05:43:59.639Z] ---> Running in fa4005cd6800 [2021-03-03T05:44:00.232Z] Removing intermediate container fa4005cd6800 [2021-03-03T05:44:00.232Z] ---> 5d03c04fa84e [2021-03-03T05:44:00.232Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-03T05:44:01.210Z] ---> 2e1e85fa5cde [2021-03-03T05:44:01.210Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-03T05:44:01.807Z] ---> f23d472e32b7 [2021-03-03T05:44:01.807Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-03T05:44:02.789Z] ---> 20c749d6707a [2021-03-03T05:44:02.789Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-03T05:44:03.383Z] ---> 35a08a1a9baa [2021-03-03T05:44:03.383Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-03T05:44:03.978Z] ---> e9f1374c329d [2021-03-03T05:44:03.978Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-03T05:44:04.252Z] ---> Running in b747dc4cf635 [2021-03-03T05:44:04.846Z] Removing intermediate container b747dc4cf635 [2021-03-03T05:44:04.846Z] ---> 5c40076fb8c9 [2021-03-03T05:44:04.846Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-03T05:44:04.846Z] ---> Running in 9efd6d009a2b [2021-03-03T05:44:05.440Z] Removing intermediate container 9efd6d009a2b [2021-03-03T05:44:05.440Z] ---> 2d068ecd5c13 [2021-03-03T05:44:05.440Z] Step 22/24 : LABEL arch=arm64 [2021-03-03T05:44:05.440Z] ---> Running in 896e2cc64431 [2021-03-03T05:44:05.713Z] Removing intermediate container 896e2cc64431 [2021-03-03T05:44:05.713Z] ---> de3ffe1d2c9d [2021-03-03T05:44:05.713Z] Step 23/24 : LABEL git_sha=5cbefb55819c18007a34e5b99697e72d2dc34ccf [2021-03-03T05:44:05.985Z] ---> Running in 35031460da25 [2021-03-03T05:44:06.581Z] Removing intermediate container 35031460da25 [2021-03-03T05:44:06.581Z] ---> ee200a568dd6 [2021-03-03T05:44:06.581Z] Step 24/24 : LABEL version=0.0.0 [2021-03-03T05:44:06.581Z] ---> Running in 89fd69df9c95 [2021-03-03T05:44:06.853Z] Removing intermediate container 89fd69df9c95 [2021-03-03T05:44:06.853Z] ---> ea2a07c51a8a [2021-03-03T05:44:06.853Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-03T05:44:07.124Z] Successfully built ea2a07c51a8a [2021-03-03T05:44:07.124Z] 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-03T05:44:07.913Z] ---> job-cost.sh [2021-03-03T05:44:07.913Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-G3r0 [2021-03-03T05:44:46.864Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-03T05:46:53.671Z] lf-activate-venv(): INFO: Adding /tmp/venv-G3r0/bin to PATH [2021-03-03T05:46:53.671Z] INFO: No Stack... [2021-03-03T05:46:53.671Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-03T05:46:53.671Z] INFO: Archiving Costs [Pipeline] sh [2021-03-03T05:46:54.011Z] + cut -d, -f6 [2021-03-03T05:46:54.011Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-03-03T05:46:54.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-3-stack-cost] [2021-03-03T05:46:54.141Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-3-stack-cost] did not exist. Created. [2021-03-03T05:46:54.142Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-03T05:46:54.620Z] /w/workspace/device-sdk-go/3@tmp/durable-70a77f87/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-70a77f87/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-03T05:46:54.963Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-03T05:46:55.038Z] Warning: overwriting stash ‘stack-cost’ [2021-03-03T05:46:55.191Z] Stashed 1 file(s) [Pipeline] } [2021-03-03T05:46:55.203Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-3-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-03T05:46:56.680Z] provisioning config files... [2021-03-03T05:46:56.694Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config1371391832669907833tmp [Pipeline] { [Pipeline] sh [2021-03-03T05:46:57.113Z] + set +x [2021-03-03T05:46:57.113Z] + curl -s https://codecov.io/bash [2021-03-03T05:46:57.113Z] + bash -s -- [2021-03-03T05:46:57.379Z] [2021-03-03T05:46:57.379Z] _____ _ [2021-03-03T05:46:57.379Z] / ____| | | [2021-03-03T05:46:57.379Z] | | ___ __| | ___ ___ _____ __ [2021-03-03T05:46:57.379Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-03T05:46:57.379Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-03T05:46:57.379Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-03T05:46:57.379Z] Bash-20210226-7100762 [2021-03-03T05:46:57.379Z] [2021-03-03T05:46:57.379Z] [2021-03-03T05:46:57.379Z] ==> git version 2.24.3 found [2021-03-03T05:46:57.379Z] ==> 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-03T05:46:57.380Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-03T05:46:57.380Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-03T05:46:57.380Z] ==> Jenkins CI detected. [2021-03-03T05:46:57.380Z] project root: . [2021-03-03T05:46:57.380Z] --> token set from env [2021-03-03T05:46:57.380Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-03T05:46:57.380Z] ==> Running gcov in . (disable via -X gcov) [2021-03-03T05:46:57.380Z] ==> Python coveragepy not found [2021-03-03T05:46:57.380Z] ==> Searching for coverage reports in: [2021-03-03T05:46:57.380Z] + . [2021-03-03T05:46:57.380Z] -> Found 1 reports [2021-03-03T05:46:57.380Z] ==> Detecting git/mercurial file structure [2021-03-03T05:46:57.380Z] ==> Reading reports [2021-03-03T05:46:57.380Z] + ./coverage.out bytes=102528 [2021-03-03T05:46:57.380Z] ==> Appending adjustments [2021-03-03T05:46:57.380Z] https://docs.codecov.io/docs/fixing-reports [2021-03-03T05:46:57.956Z] + Found adjustments [2021-03-03T05:46:57.956Z] ==> Gzipping contents [2021-03-03T05:46:57.956Z] 20K /tmp/codecov.sGELL0.gz [2021-03-03T05:46:57.956Z] ==> Uploading reports [2021-03-03T05:46:57.956Z] url: https://codecov.io [2021-03-03T05:46:57.956Z] query: branch=PR-804&commit=5cbefb55819c18007a34e5b99697e72d2dc34ccf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-03T05:46:57.956Z] -> Pinging Codecov [2021-03-03T05:46:57.956Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-804&commit=5cbefb55819c18007a34e5b99697e72d2dc34ccf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-03T05:46:58.907Z] -> Uploading to [2021-03-03T05:46:58.907Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-03/7E55EF52A471D76F132DFD9A03CDDE97/5cbefb55819c18007a34e5b99697e72d2dc34ccf/bd2afe3a-3e3f-4cec-a1cf-2c4a03c7fe9e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210303T054658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23314b631ead64fc6972ee67486546ed9fc93dec196cf4631f382e334d43999c [2021-03-03T05:46:58.907Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-03T05:46:58.907Z] Dload Upload Total Spent Left Speed [2021-03-03T05:46:59.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16586 0 0 100 16586 0 33143 --:--:-- --:--:-- --:--:-- 33172 [2021-03-03T05:46:59.170Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5cbefb55819c18007a34e5b99697e72d2dc34ccf [Pipeline] } [2021-03-03T05:46:59.183Z] 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-03T05:47:02.083Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:47:02.395Z] ---> package-listing.sh [2021-03-03T05:47:02.395Z] ++ facter osfamily [2021-03-03T05:47:02.395Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-03T05:47:02.395Z] + OS_FAMILY=redhat [2021-03-03T05:47:02.395Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-03T05:47:02.395Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-03T05:47:02.395Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-03T05:47:02.395Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-03T05:47:02.395Z] + PACKAGES=/tmp/packages_start.txt [2021-03-03T05:47:02.395Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-03T05:47:02.395Z] + PACKAGES=/tmp/packages_end.txt [2021-03-03T05:47:02.395Z] + case "${OS_FAMILY}" in [2021-03-03T05:47:02.395Z] + rpm -qa [2021-03-03T05:47:02.395Z] + sort [2021-03-03T05:47:07.719Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-03T05:47:07.719Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-03T05:47:07.719Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-03T05:47:07.719Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-03T05:47:07.719Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [2021-03-03T05:47:07.719Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [Pipeline] echo [2021-03-03T05:47:07.736Z] 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-804/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-03T05:47:08.035Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:47:08.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T05:47:08.349Z] [2021-03-03T05:47:08.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-03T05:47:08.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T05:47:08.722Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-03T05:47:08.722Z] df20fa9351a1: Pulling fs layer [2021-03-03T05:47:08.722Z] 36b3adc4ff6f: Pulling fs layer [2021-03-03T05:47:08.722Z] 8ad3a11d3b57: Pulling fs layer [2021-03-03T05:47:08.722Z] 46f8f816bc3b: Pulling fs layer [2021-03-03T05:47:08.722Z] 93b61091891f: Pulling fs layer [2021-03-03T05:47:08.722Z] 93b9cdb0e59b: Pulling fs layer [2021-03-03T05:47:08.722Z] 5e14af77c1be: Pulling fs layer [2021-03-03T05:47:08.722Z] 01666e4c0597: Pulling fs layer [2021-03-03T05:47:08.722Z] aa168da1d23b: Pulling fs layer [2021-03-03T05:47:08.722Z] 5e14af77c1be: Waiting [2021-03-03T05:47:08.722Z] 93b9cdb0e59b: Waiting [2021-03-03T05:47:08.722Z] 01666e4c0597: Waiting [2021-03-03T05:47:08.722Z] aa168da1d23b: Waiting [2021-03-03T05:47:08.722Z] 46f8f816bc3b: Waiting [2021-03-03T05:47:08.722Z] 93b61091891f: Waiting [2021-03-03T05:47:08.722Z] 36b3adc4ff6f: Verifying Checksum [2021-03-03T05:47:08.722Z] 36b3adc4ff6f: Download complete [2021-03-03T05:47:08.992Z] 46f8f816bc3b: Download complete [2021-03-03T05:47:08.992Z] df20fa9351a1: Verifying Checksum [2021-03-03T05:47:08.992Z] df20fa9351a1: Download complete [2021-03-03T05:47:08.992Z] 93b9cdb0e59b: Verifying Checksum [2021-03-03T05:47:08.992Z] 93b9cdb0e59b: Download complete [2021-03-03T05:47:08.992Z] 93b61091891f: Verifying Checksum [2021-03-03T05:47:08.992Z] 93b61091891f: Download complete [2021-03-03T05:47:08.992Z] 5e14af77c1be: Verifying Checksum [2021-03-03T05:47:08.992Z] 5e14af77c1be: Download complete [2021-03-03T05:47:08.992Z] 01666e4c0597: Verifying Checksum [2021-03-03T05:47:08.992Z] 01666e4c0597: Download complete [2021-03-03T05:47:09.255Z] 8ad3a11d3b57: Verifying Checksum [2021-03-03T05:47:09.255Z] 8ad3a11d3b57: Download complete [2021-03-03T05:47:09.255Z] df20fa9351a1: Pull complete [2021-03-03T05:47:09.523Z] 36b3adc4ff6f: Pull complete [2021-03-03T05:47:10.106Z] 8ad3a11d3b57: Pull complete [2021-03-03T05:47:10.375Z] 46f8f816bc3b: Pull complete [2021-03-03T05:47:10.960Z] 93b61091891f: Pull complete [2021-03-03T05:47:11.540Z] aa168da1d23b: Verifying Checksum [2021-03-03T05:47:11.540Z] aa168da1d23b: Download complete [2021-03-03T05:47:12.117Z] 93b9cdb0e59b: Pull complete [2021-03-03T05:47:12.117Z] 5e14af77c1be: Pull complete [2021-03-03T05:47:12.383Z] 01666e4c0597: Pull complete [2021-03-03T05:47:19.013Z] aa168da1d23b: Pull complete [2021-03-03T05:47:19.013Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-03T05:47:19.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-03T05:47:19.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-03T05:47:19.251Z] prd-centos7-docker-4c-2g-28347 does not seem to be running inside a container [2021-03-03T05:47:19.302Z] $ 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-804/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-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-03T05:47:23.078Z] $ docker top 7a7e4f8cee344d9cf657cb2e52a3798170553c20f727dea0112bb8ace973b172 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-03T05:47:23.646Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-03T05:47:23.950Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-03T05:47:24.254Z] + ls /var/log/sa-host [2021-03-03T05:47:24.255Z] + sadf -c /var/log/sa-host/sa03 [2021-03-03T05:47:24.255Z] file_magic: OK [2021-03-03T05:47:24.255Z] HZ: Using current value: 100 [2021-03-03T05:47:24.255Z] file_header: OK [2021-03-03T05:47:24.255Z] 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-03T05:47:24.255Z] Statistics: [2021-03-03T05:47:24.255Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-03T05:47:24.255Z] File successfully converted to sysstat format version 12.2.1 [2021-03-03T05:47:24.255Z] + sadf -c /var/log/sa-host/sa23 [2021-03-03T05:47:24.255Z] file_magic: OK [2021-03-03T05:47:24.255Z] HZ: Using current value: 100 [2021-03-03T05:47:24.255Z] file_header: OK [2021-03-03T05:47:24.255Z] 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-03T05:47:24.255Z] Statistics: [2021-03-03T05:47:24.255Z] Hnuu...uuuununununu... [2021-03-03T05:47:24.255Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-03T05:47:25.127Z] provisioning config files... [2021-03-03T05:47:25.146Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config8552872990098177439tmp [Pipeline] { [Pipeline] echo [2021-03-03T05:47:25.234Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:47:25.728Z] ---> create-netrc.sh [Pipeline] } [2021-03-03T05:47:25.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-03T05:47:25.837Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:47:26.142Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-03T05:47:26.155Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:47:26.471Z] ---> sudo-logs.sh [2021-03-03T05:47:26.472Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-03T05:47:26.543Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:47:26.851Z] ---> job-cost.sh [2021-03-03T05:47:26.851Z] lf-activate-venv: SKIPPING [2021-03-03T05:47:26.851Z] DEBUG: total: 0.20999999344348907 [2021-03-03T05:47:26.851Z] INFO: Retrieving Stack Cost... [2021-03-03T05:47:28.246Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-03T05:47:28.519Z] INFO: Archiving Costs [Pipeline] echo [2021-03-03T05:47:28.535Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-03T05:47:28.835Z] ---> logs-deploy.sh [2021-03-03T05:47:28.835Z] lf-activate-venv: SKIPPING [2021-03-03T05:47:28.835Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-804/3 [2021-03-03T05:47:28.835Z] INFO: archiving workspace using pattern(s): [2021-03-03T05:47:30.766Z] Archives upload complete. [2021-03-03T05:47:30.766Z] INFO: archiving logs to Nexus