Pull request #862 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ff9571a65c38542c5e32f78632fd3858ae2adc04+f8ce82a60cbe95ca283042008e77ff6fa7203569 (a988da0370d8631c5085636b1d9a914a6310a0e8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32944 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [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-862 # 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/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f8ce82a60cbe95ca283042008e77ff6fa7203569 into PR head commit ff9571a65c38542c5e32f78632fd3858ae2adc04 > git config core.sparsecheckout # timeout=10 > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 Merge succeeded, producing ff9571a65c38542c5e32f78632fd3858ae2adc04 Checking out Revision ff9571a65c38542c5e32f78632fd3858ae2adc04 (PR-862) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f8ce82a60cbe95ca283042008e77ff6fa7203569 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 Commit message: "refactor: leverage latest profile cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T08:47:04.239Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk b292f1c52d86a78f2a842fe4b599153adb4b841c # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T08:47:04.484Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T08:47:04.573Z] ========================================================= [2021-04-06T08:47:04.574Z] EdgeX Global Pipelines Version Info [2021-04-06T08:47:04.574Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:47:08.058Z] ------------------- [2021-04-06T08:47:08.058Z] stable info: [2021-04-06T08:47:08.058Z] ------------------- [2021-04-06T08:47:08.058Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T08:47:08.058Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T08:47:08.059Z] Message: update stable to v1.0.186 [2021-04-06T08:47:09.645Z] ------------------- [2021-04-06T08:47:09.645Z] experimental info: [2021-04-06T08:47:09.645Z] ------------------- [2021-04-06T08:47:09.645Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T08:47:09.645Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T08:47:09.645Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T08:47:10.027Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-06T08:47:10.111Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-06T08:47:10.224Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T08:47:10.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T08:47:10.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T08:47:10.553Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T08:47:10.647Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T08:47:10.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T08:47:10.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-06T08:47:10.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T08:47:11.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T08:47:11.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-06T08:47:11.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T08:47:11.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T08:47:11.440Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-06T08:47:11.532Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:47:11.618Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:47:11.700Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:47:11.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T08:47:11.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T08:47:11.975Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-06T08:47:12.059Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-06T08:47:12.144Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T08:47:12.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T08:47:12.320Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-06T08:47:12.409Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T08:47:12.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-862 [Pipeline] echo [2021-04-06T08:47:12.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-862 [Pipeline] echo [2021-04-06T08:47:12.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-862 [Pipeline] echo [2021-04-06T08:47:13.012Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff9571a65c38542c5e32f78632fd3858ae2adc04 [Pipeline] echo [2021-04-06T08:47:13.095Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff9571a [Pipeline] echo [2021-04-06T08:47:13.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:47:13.385Z] provisioning config files... [2021-04-06T08:47:13.555Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config9108402547461455170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:47:14.257Z] ---> docker-login.sh [2021-04-06T08:47:14.257Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:47:14.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:47:15.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:47:15.537Z] Configure a credential helper to remove this warning. See [2021-04-06T08:47:15.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:47:15.537Z] [2021-04-06T08:47:15.537Z] Login Succeeded [2021-04-06T08:47:15.537Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:47:16.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:47:16.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:47:16.176Z] Configure a credential helper to remove this warning. See [2021-04-06T08:47:16.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:47:16.176Z] [2021-04-06T08:47:16.176Z] Login Succeeded [2021-04-06T08:47:16.176Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:47:16.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:47:17.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:47:17.330Z] Configure a credential helper to remove this warning. See [2021-04-06T08:47:17.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:47:17.330Z] [2021-04-06T08:47:17.330Z] Login Succeeded [2021-04-06T08:47:17.330Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:47:17.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:47:18.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:47:18.046Z] Configure a credential helper to remove this warning. See [2021-04-06T08:47:18.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:47:18.046Z] [2021-04-06T08:47:18.046Z] Login Succeeded [2021-04-06T08:47:18.046Z] docker.io [2021-04-06T08:47:18.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:47:18.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:47:18.607Z] Configure a credential helper to remove this warning. See [2021-04-06T08:47:18.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:47:18.607Z] [2021-04-06T08:47:18.607Z] Login Succeeded [2021-04-06T08:47:18.607Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:47:18.632Z] 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-04-06T08:47:19.596Z] + git log --format=format:%s -1 ff9571a65c38542c5e32f78632fd3858ae2adc04 [Pipeline] echo [2021-04-06T08:47:19.789Z] GIT_COMMIT: ff9571a65c38542c5e32f78632fd3858ae2adc04, Commit Message: refactor: leverage latest profile cache [Pipeline] echo [2021-04-06T08:47:19.832Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:47:21.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:47:21.213Z] [2021-04-06T08:47:21.213Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:47:21.679Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:47:21.980Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T08:47:21.980Z] 31603596830f: Pulling fs layer [2021-04-06T08:47:21.980Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T08:47:21.980Z] 6ca5941a6612: Pulling fs layer [2021-04-06T08:47:21.980Z] ecc8261a40a4: Pulling fs layer [2021-04-06T08:47:21.980Z] ecc8261a40a4: Waiting [2021-04-06T08:47:21.980Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T08:47:22.275Z] 2a8b12db71e7: Download complete [2021-04-06T08:47:22.630Z] 31603596830f: Verifying Checksum [2021-04-06T08:47:22.630Z] 31603596830f: Download complete [2021-04-06T08:47:23.010Z] ecc8261a40a4: Verifying Checksum [2021-04-06T08:47:23.010Z] ecc8261a40a4: Download complete [2021-04-06T08:47:23.363Z] 6ca5941a6612: Verifying Checksum [2021-04-06T08:47:23.363Z] 6ca5941a6612: Download complete [2021-04-06T08:47:23.648Z] 31603596830f: Pull complete [2021-04-06T08:47:23.982Z] 2a8b12db71e7: Pull complete [2021-04-06T08:47:26.788Z] 6ca5941a6612: Pull complete [2021-04-06T08:47:27.074Z] ecc8261a40a4: Pull complete [2021-04-06T08:47:27.074Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T08:47:27.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:47:27.074Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T08:47:27.372Z] prd-centos7-docker-4c-2g-32944 does not seem to be running inside a container [2021-04-06T08:47:27.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-06T08:47:31.321Z] $ docker top 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T08:47:32.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T08:47:32.174Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T08:47:32.949Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T08:47:32.950Z] $ docker exec 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 ssh-agent [2021-04-06T08:47:33.214Z] SSH_AUTH_SOCK=/tmp/ssh-33WivJdqCAEz/agent.11 [2021-04-06T08:47:33.214Z] SSH_AGENT_PID=17 [2021-04-06T08:47:33.231Z] Running ssh-add (command line suppressed) [2021-04-06T08:47:33.428Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_3794115913431142276.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_3794115913431142276.key) [2021-04-06T08:47:33.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T08:47:34.419Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T08:47:34.468Z] $ docker exec --env ******** --env ******** 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 ssh-agent -k [2021-04-06T08:47:34.638Z] unset SSH_AUTH_SOCK; [2021-04-06T08:47:34.638Z] unset SSH_AGENT_PID; [2021-04-06T08:47:34.638Z] echo Agent pid 17 killed; [2021-04-06T08:47:34.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T08:47:34.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T08:47:34.872Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T08:47:35.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T08:47:35.176Z] $ docker exec 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 ssh-agent [2021-04-06T08:47:35.455Z] SSH_AUTH_SOCK=/tmp/ssh-kzEolppTmNHy/agent.46 [2021-04-06T08:47:35.455Z] SSH_AGENT_PID=51 [2021-04-06T08:47:35.466Z] Running ssh-add (command line suppressed) [2021-04-06T08:47:35.863Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_4869811248466262790.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_4869811248466262790.key) [2021-04-06T08:47:36.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T08:47:36.631Z] + git semver init [2021-04-06T08:47:36.631Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T08:47:36.631Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.git [2021-04-06T08:47:36.631Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-862 [2021-04-06T08:47:36.631Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T08:47:36.631Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T08:47:36.631Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T08:47:36.631Z] # $SEMVER_BRANCH = PR-862 [2021-04-06T08:47:36.631Z] # $SEMVER_TEMP = /tmp/semver-992241809 [2021-04-06T08:47:36.631Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-06T08:47:38.241Z] # '/tmp/semver-992241809' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver' [2021-04-06T08:47:38.242Z] # -> Force: false [2021-04-06T08:47:38.242Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver [Pipeline] } [2021-04-06T08:47:38.317Z] $ docker exec --env ******** --env ******** 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 ssh-agent -k [2021-04-06T08:47:38.832Z] unset SSH_AUTH_SOCK; [2021-04-06T08:47:38.833Z] unset SSH_AGENT_PID; [2021-04-06T08:47:38.833Z] echo Agent pid 51 killed; [2021-04-06T08:47:38.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T08:47:39.633Z] + git semver [Pipeline] } [2021-04-06T08:47:39.938Z] $ docker stop --time=1 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 [2021-04-06T08:47:41.934Z] $ docker rm -f 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:47:42.693Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T08:47:46.674Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T08:47:46.677Z] [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-04-06T08:48:02.192Z] Still waiting to schedule task [2021-04-06T08:48:02.192Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-06T08:48:02.195Z] Still waiting to schedule task [2021-04-06T08:48:02.195Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-32942’ [2021-04-06T08:49:54.379Z] Running on prd-centos7-docker-4c-2g-32947 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws [2021-04-06T08:49:54.429Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-04-06T08:49:56.904Z] using credential edgex-jenkins-ssh [2021-04-06T08:49:56.955Z] Cloning the remote Git repository [2021-04-06T08:49:56.884Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:49:56.977Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-04-06T08:49:57.047Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:49:57.048Z] > git --version # timeout=10 [2021-04-06T08:49:57.056Z] > git --version # 'git version 2.24.3' [2021-04-06T08:49:57.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:49:57.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:49:58.529Z] Merging remotes/origin/master commit f8ce82a60cbe95ca283042008e77ff6fa7203569 into PR head commit ff9571a65c38542c5e32f78632fd3858ae2adc04 [2021-04-06T08:49:58.678Z] Merge succeeded, producing ff9571a65c38542c5e32f78632fd3858ae2adc04 [2021-04-06T08:49:58.678Z] Checking out Revision ff9571a65c38542c5e32f78632fd3858ae2adc04 (PR-862) [2021-04-06T08:49:57.925Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:49:57.934Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:49:57.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:49:57.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:49:57.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:49:57.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T08:49:58.538Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:49:58.545Z] > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 [2021-04-06T08:49:58.621Z] > git remote # timeout=10 [2021-04-06T08:49:58.627Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T08:49:58.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:49:58.654Z] > git merge f8ce82a60cbe95ca283042008e77ff6fa7203569 # timeout=10 [2021-04-06T08:49:58.671Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T08:49:58.682Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:49:58.689Z] > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 [2021-04-06T08:50:02.364Z] Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:50:03.778Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:50:04.117Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:50:04.440Z] + sudo service docker restart [2021-04-06T08:50:04.440Z] + true [2021-04-06T08:50:04.440Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:50:05.899Z] provisioning config files... [2021-04-06T08:50:05.928Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3634993425899224009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:50:06.309Z] ---> docker-login.sh [2021-04-06T08:50:06.309Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:50:06.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:50:06.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:50:06.572Z] Configure a credential helper to remove this warning. See [2021-04-06T08:50:06.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:50:06.572Z] [2021-04-06T08:50:06.572Z] Login Succeeded [2021-04-06T08:50:06.572Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:50:06.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:50:06.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:50:06.837Z] Configure a credential helper to remove this warning. See [2021-04-06T08:50:06.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:50:06.837Z] [2021-04-06T08:50:06.837Z] Login Succeeded [2021-04-06T08:50:06.837Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:50:07.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:50:07.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:50:07.101Z] Configure a credential helper to remove this warning. See [2021-04-06T08:50:07.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:50:07.101Z] [2021-04-06T08:50:07.101Z] Login Succeeded [2021-04-06T08:50:07.101Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:50:07.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:50:07.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:50:07.365Z] Configure a credential helper to remove this warning. See [2021-04-06T08:50:07.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:50:07.365Z] [2021-04-06T08:50:07.365Z] Login Succeeded [2021-04-06T08:50:07.365Z] docker.io [2021-04-06T08:50:07.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:50:07.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:50:07.628Z] Configure a credential helper to remove this warning. See [2021-04-06T08:50:07.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:50:07.628Z] [2021-04-06T08:50:07.628Z] Login Succeeded [2021-04-06T08:50:07.628Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:50:07.638Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T08:50:07.958Z] ========================================================= [2021-04-06T08:50:07.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T08:50:07.958Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:50:08.303Z] + 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-04-06T08:50:08.598Z] Sending build context to Docker daemon 2.396MB [2021-04-06T08:50:08.598Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:50:08.598Z] Step 2/8 : FROM ${BASE} [2021-04-06T08:50:08.598Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T08:50:08.598Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T08:50:08.598Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T08:50:08.598Z] de9db76c5a1d: Pulling fs layer [2021-04-06T08:50:08.598Z] bca2f99d35d6: Pulling fs layer [2021-04-06T08:50:08.598Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T08:50:08.598Z] 7c6f9722023f: Pulling fs layer [2021-04-06T08:50:08.598Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T08:50:08.598Z] bca2f99d35d6: Waiting [2021-04-06T08:50:08.598Z] 93359f2a8cfa: Waiting [2021-04-06T08:50:08.598Z] 7c6f9722023f: Waiting [2021-04-06T08:50:08.598Z] de9db76c5a1d: Verifying Checksum [2021-04-06T08:50:08.598Z] de9db76c5a1d: Download complete [2021-04-06T08:50:08.598Z] 0ef7d3d256c8: Verifying Checksum [2021-04-06T08:50:08.598Z] 0ef7d3d256c8: Download complete [2021-04-06T08:50:08.598Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T08:50:08.598Z] 93359f2a8cfa: Download complete [2021-04-06T08:50:08.598Z] 7c6f9722023f: Verifying Checksum [2021-04-06T08:50:08.598Z] 7c6f9722023f: Download complete [2021-04-06T08:50:08.598Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T08:50:08.598Z] 188c0c94c7c5: Download complete [2021-04-06T08:50:08.866Z] 188c0c94c7c5: Pull complete [2021-04-06T08:50:09.128Z] 0ef7d3d256c8: Pull complete [2021-04-06T08:50:09.393Z] de9db76c5a1d: Pull complete [2021-04-06T08:50:11.350Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T08:50:11.350Z] a35cf1a2eb13: Download complete [2021-04-06T08:50:11.350Z] bca2f99d35d6: Verifying Checksum [2021-04-06T08:50:11.350Z] bca2f99d35d6: Download complete [2021-04-06T08:50:16.710Z] bca2f99d35d6: Pull complete [2021-04-06T08:50:16.710Z] 93359f2a8cfa: Pull complete [2021-04-06T08:50:16.710Z] 7c6f9722023f: Pull complete [2021-04-06T08:50:24.926Z] a35cf1a2eb13: Pull complete [2021-04-06T08:50:24.926Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T08:50:24.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T08:50:24.926Z] ---> a62c8e92a672 [2021-04-06T08:50:24.926Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:50:24.926Z] ---> Running in 6e8c6670ee4a [2021-04-06T08:50:24.926Z] Removing intermediate container 6e8c6670ee4a [2021-04-06T08:50:24.926Z] ---> 88d0dea22002 [2021-04-06T08:50:24.926Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:50:24.926Z] ---> Running in 86afca98d5e6 [2021-04-06T08:50:25.521Z] Removing intermediate container 86afca98d5e6 [2021-04-06T08:50:25.521Z] ---> 91a2d7d38f53 [2021-04-06T08:50:25.521Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T08:50:25.521Z] ---> Running in 34e207ae3844 [2021-04-06T08:50:26.952Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:50:27.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:50:28.107Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T08:50:28.371Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T08:50:28.371Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T08:50:28.371Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T08:50:28.634Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T08:50:28.634Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T08:50:28.634Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T08:50:28.898Z] OK: 167 MiB in 45 packages [2021-04-06T08:50:29.474Z] Removing intermediate container 34e207ae3844 [2021-04-06T08:50:29.474Z] ---> 12be510eecdb [2021-04-06T08:50:29.474Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T08:50:29.474Z] ---> Running in a23b79dbea53 [2021-04-06T08:50:29.741Z] Removing intermediate container a23b79dbea53 [2021-04-06T08:50:29.741Z] ---> 4605b6acaae2 [2021-04-06T08:50:29.741Z] Step 7/8 : COPY . . [2021-04-06T08:50:30.689Z] ---> 4f1361b21102 [2021-04-06T08:50:30.689Z] Step 8/8 : RUN go mod download [2021-04-06T08:50:30.953Z] ---> Running in 89871c2bd37b [2021-04-06T08:50:53.005Z] Removing intermediate container 89871c2bd37b [2021-04-06T08:50:53.005Z] ---> 788aeb2a452b [2021-04-06T08:50:53.005Z] Successfully built 788aeb2a452b [2021-04-06T08:50:53.005Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:50:53.328Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T08:50:53.329Z] . [Pipeline] withDockerContainer [2021-04-06T08:50:53.564Z] prd-centos7-docker-4c-2g-32947 does not seem to be running inside a container [2021-04-06T08:50:53.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-04-06T08:50:54.531Z] $ docker top 3a3cd772117e92da06563c28f8bd5d23d0b77ae92d70e762d5677f55ca3c5117 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:50:55.015Z] + go version [2021-04-06T08:50:55.015Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T08:50:55.030Z] $ docker stop --time=1 3a3cd772117e92da06563c28f8bd5d23d0b77ae92d70e762d5677f55ca3c5117 [2021-04-06T08:50:56.367Z] $ docker rm -f 3a3cd772117e92da06563c28f8bd5d23d0b77ae92d70e762d5677f55ca3c5117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:50:57.167Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T08:50:57.167Z] . [Pipeline] withDockerContainer [2021-04-06T08:50:57.294Z] prd-centos7-docker-4c-2g-32947 does not seem to be running inside a container [2021-04-06T08:50:57.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-04-06T08:50:57.926Z] $ docker top 71d0927bd315880bf67bbc598659ab224272c357627e930cb85c5993530b37cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:50:58.397Z] + make test [2021-04-06T08:50:58.397Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T08:51:06.581Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T08:51:27.965Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32948 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws [2021-04-06T08:51:28.059Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-04-06T08:51:28.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T08:51:28.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T08:51:28.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T08:51:28.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T08:51:28.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T08:51:29.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.081s coverage: 28.1% of statements [2021-04-06T08:51:29.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2021-04-06T08:51:30.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.092s coverage: 7.8% of statements [2021-04-06T08:51:30.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T08:51:30.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T08:51:30.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T08:51:30.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.075s coverage: 32.5% of statements [2021-04-06T08:51:30.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T08:51:30.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T08:51:30.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T08:51:31.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 57.3% of statements [2021-04-06T08:51:31.798Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.235s coverage: 6.6% of statements [2021-04-06T08:51:31.798Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.081s coverage: 5.0% of statements [2021-04-06T08:51:31.798Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T08:51:32.070Z] GO111MODULE=on go vet ./... [2021-04-06T08:51:33.264Z] using credential edgex-jenkins-ssh [2021-04-06T08:51:33.354Z] Cloning the remote Git repository [2021-04-06T08:51:33.406Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:51:33.515Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-04-06T08:51:33.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:51:33.627Z] > git --version # timeout=10 [2021-04-06T08:51:33.651Z] > git --version # 'git version 2.17.1' [2021-04-06T08:51:33.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:51:33.706Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:51:35.587Z] Merging remotes/origin/master commit f8ce82a60cbe95ca283042008e77ff6fa7203569 into PR head commit ff9571a65c38542c5e32f78632fd3858ae2adc04 [2021-04-06T08:51:34.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:51:34.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:51:34.898Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:51:34.937Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:51:34.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:51:34.950Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T08:51:35.603Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:51:35.624Z] > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 [2021-04-06T08:51:35.907Z] Merge succeeded, producing ff9571a65c38542c5e32f78632fd3858ae2adc04 [2021-04-06T08:51:35.907Z] Checking out Revision ff9571a65c38542c5e32f78632fd3858ae2adc04 (PR-862) [2021-04-06T08:51:35.727Z] > git remote # timeout=10 [2021-04-06T08:51:35.751Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T08:51:35.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:51:35.825Z] > git merge f8ce82a60cbe95ca283042008e77ff6fa7203569 # timeout=10 [2021-04-06T08:51:35.859Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T08:51:35.912Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:51:35.951Z] > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 [2021-04-06T08:51:40.232Z] Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:51:43.759Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:51:44.180Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:51:44.569Z] + sudo service docker restart [2021-04-06T08:51:44.569Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:51:47.305Z] provisioning config files... [2021-04-06T08:51:47.340Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config869191577511822775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:51:47.741Z] ---> docker-login.sh [2021-04-06T08:51:47.741Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:51:48.063Z] gofmt -l . [2021-04-06T08:51:48.064Z] [ "`gofmt -l .`" = "" ] [2021-04-06T08:51:48.064Z] ./bin/test-attribution-txt.sh [2021-04-06T08:51:48.064Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T08:51:48.348Z] $ docker stop --time=1 71d0927bd315880bf67bbc598659ab224272c357627e930cb85c5993530b37cd [2021-04-06T08:51:48.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:51:48.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:51:48.995Z] Configure a credential helper to remove this warning. See [2021-04-06T08:51:48.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:51:48.995Z] [2021-04-06T08:51:48.995Z] Login Succeeded [2021-04-06T08:51:48.995Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:51:49.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:51:49.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:51:49.546Z] Configure a credential helper to remove this warning. See [2021-04-06T08:51:49.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:51:49.546Z] [2021-04-06T08:51:49.546Z] Login Succeeded [2021-04-06T08:51:49.546Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:51:49.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:51:50.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:51:50.096Z] Configure a credential helper to remove this warning. See [2021-04-06T08:51:50.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:51:50.096Z] [2021-04-06T08:51:50.096Z] Login Succeeded [2021-04-06T08:51:50.096Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:51:50.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:51:50.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:51:50.644Z] Configure a credential helper to remove this warning. See [2021-04-06T08:51:50.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:51:50.644Z] [2021-04-06T08:51:50.644Z] Login Succeeded [2021-04-06T08:51:50.644Z] docker.io [2021-04-06T08:51:50.722Z] $ docker rm -f 71d0927bd315880bf67bbc598659ab224272c357627e930cb85c5993530b37cd [2021-04-06T08:51:50.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:51:51.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:51:51.190Z] Configure a credential helper to remove this warning. See [2021-04-06T08:51:51.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:51:51.190Z] [2021-04-06T08:51:51.190Z] Login Succeeded [2021-04-06T08:51:51.190Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:51:51.221Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-06T08:51:51.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-04-06T08:51:51.727Z] ========================================================= [2021-04-06T08:51:51.727Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T08:51:51.727Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:51:51.986Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-06T08:51:52.216Z] + 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-04-06T08:51:52.816Z] Sending build context to Docker daemon 2.397MB [2021-04-06T08:51:52.816Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:51:52.816Z] Step 2/8 : FROM ${BASE} [2021-04-06T08:51:52.816Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T08:51:52.816Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T08:51:52.816Z] a4357932f1b6: Pulling fs layer [2021-04-06T08:51:52.816Z] 18c013af1878: Pulling fs layer [2021-04-06T08:51:52.816Z] 00ac8860ef70: Pulling fs layer [2021-04-06T08:51:52.816Z] 63d7cb157983: Pulling fs layer [2021-04-06T08:51:52.816Z] b116817d02f9: Pulling fs layer [2021-04-06T08:51:52.816Z] 745a02a5169b: Pulling fs layer [2021-04-06T08:51:52.816Z] 00ac8860ef70: Waiting [2021-04-06T08:51:52.816Z] 63d7cb157983: Waiting [2021-04-06T08:51:52.816Z] b116817d02f9: Waiting [2021-04-06T08:51:52.816Z] 745a02a5169b: Waiting [2021-04-06T08:51:52.816Z] 18c013af1878: Verifying Checksum [2021-04-06T08:51:52.816Z] 18c013af1878: Download complete [2021-04-06T08:51:52.816Z] a4357932f1b6: Verifying Checksum [2021-04-06T08:51:52.816Z] a4357932f1b6: Download complete [Pipeline] sh [2021-04-06T08:51:53.088Z] 63d7cb157983: Download complete [2021-04-06T08:51:53.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T08:51:53.364Z] b116817d02f9: Verifying Checksum [2021-04-06T08:51:53.364Z] b116817d02f9: Download complete [2021-04-06T08:51:53.513Z] + ls -al . [2021-04-06T08:51:53.513Z] total 188 [2021-04-06T08:51:53.513Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 08:51 . [2021-04-06T08:51:53.513Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 08:49 .. [2021-04-06T08:51:53.513Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 08:49 bin [2021-04-06T08:51:53.513Z] -rw-r--r--. 1 jenkins jenkins 99189 Apr 6 08:51 coverage.out [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 08:49 Dockerfile.build [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 08:49 .dockerignore [2021-04-06T08:51:53.513Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 08:49 example [2021-04-06T08:51:53.513Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 08:50 .git [2021-04-06T08:51:53.513Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 08:49 .github [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 08:49 .gitignore [2021-04-06T08:51:53.513Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 6 08:51 go.mod [2021-04-06T08:51:53.513Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 08:51 go.sum [2021-04-06T08:51:53.513Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 08:49 internal [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 08:49 Jenkinsfile [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 08:49 LICENSE [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 08:49 Makefile [2021-04-06T08:51:53.513Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 08:49 openapi [2021-04-06T08:51:53.513Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 08:49 pkg [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 08:49 README.md [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 08:49 RELEASE-NOTES.txt [2021-04-06T08:51:53.513Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 08:49 snap [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 08:47 VERSION [2021-04-06T08:51:53.513Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 08:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:51:53.645Z] 5f621e34cdf4: Download complete [2021-04-06T08:51:53.823Z] + 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=ff9571a65c38542c5e32f78632fd3858ae2adc04 --label arch=amd64 --label version=0.0.0 . [2021-04-06T08:51:54.087Z] Sending build context to Docker daemon 2.495MB [2021-04-06T08:51:54.087Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:51:54.087Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T08:51:54.087Z] ---> 788aeb2a452b [2021-04-06T08:51:54.087Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T08:51:54.249Z] 5f621e34cdf4: Pull complete [2021-04-06T08:51:54.665Z] ---> Running in e19b2483cafd [2021-04-06T08:51:54.848Z] a4357932f1b6: Pull complete [2021-04-06T08:51:54.933Z] Removing intermediate container e19b2483cafd [2021-04-06T08:51:54.933Z] ---> 6fe205f9c0d2 [2021-04-06T08:51:54.933Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:51:54.933Z] ---> Running in 49ce18955420 [2021-04-06T08:51:55.127Z] 18c013af1878: Pull complete [2021-04-06T08:51:55.205Z] Removing intermediate container 49ce18955420 [2021-04-06T08:51:55.205Z] ---> a72b76755312 [2021-04-06T08:51:55.205Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:51:55.205Z] ---> Running in aa245bbc77e8 [2021-04-06T08:51:55.727Z] 745a02a5169b: Download complete [2021-04-06T08:51:56.606Z] Removing intermediate container aa245bbc77e8 [2021-04-06T08:51:56.606Z] ---> c9680025de6e [2021-04-06T08:51:56.606Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T08:51:56.606Z] ---> Running in eb861a4fdd79 [2021-04-06T08:51:56.708Z] 00ac8860ef70: Verifying Checksum [2021-04-06T08:51:56.708Z] 00ac8860ef70: Download complete [2021-04-06T08:51:56.872Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:51:57.826Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:51:58.405Z] OK: 167 MiB in 45 packages [2021-04-06T08:51:58.986Z] Removing intermediate container eb861a4fdd79 [2021-04-06T08:51:58.986Z] ---> 17bea063e6ad [2021-04-06T08:51:58.986Z] Step 7/23 : COPY . . [2021-04-06T08:51:59.952Z] ---> 24e89ba338fd [2021-04-06T08:51:59.952Z] Step 8/23 : RUN go mod download [2021-04-06T08:52:00.218Z] ---> Running in 9b785b226c2b [2021-04-06T08:52:01.636Z] Removing intermediate container 9b785b226c2b [2021-04-06T08:52:01.636Z] ---> ff858bc26f9e [2021-04-06T08:52:01.636Z] Step 9/23 : RUN make build [2021-04-06T08:52:01.636Z] ---> Running in b9540f1f5289 [2021-04-06T08:52:01.915Z] CGO_ENABLED=1 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-04-06T08:52:06.868Z] 00ac8860ef70: Pull complete [2021-04-06T08:52:07.142Z] 63d7cb157983: Pull complete [2021-04-06T08:52:07.415Z] b116817d02f9: Pull complete [2021-04-06T08:52:11.735Z] 745a02a5169b: Pull complete [2021-04-06T08:52:11.735Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T08:52:11.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T08:52:11.735Z] ---> b7e6874047d6 [2021-04-06T08:52:11.735Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:52:14.369Z] ---> Running in 37526d6417b2 [2021-04-06T08:52:14.649Z] Removing intermediate container 37526d6417b2 [2021-04-06T08:52:14.649Z] ---> 1a125569b82e [2021-04-06T08:52:14.649Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:52:14.649Z] ---> Running in 790a10bc6b55 [2021-04-06T08:52:17.019Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T08:52:17.019Z] Removing intermediate container b9540f1f5289 [2021-04-06T08:52:17.019Z] ---> f4fec217596b [2021-04-06T08:52:17.019Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T08:52:17.279Z] Removing intermediate container 790a10bc6b55 [2021-04-06T08:52:17.279Z] ---> b150b9f5f513 [2021-04-06T08:52:17.279Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T08:52:17.279Z] ---> Running in ca9dd62a19e2 [2021-04-06T08:52:17.595Z] 3.12: Pulling from library/alpine [2021-04-06T08:52:17.595Z] 532819f3e44c: Pulling fs layer [2021-04-06T08:52:17.595Z] 532819f3e44c: Verifying Checksum [2021-04-06T08:52:17.595Z] 532819f3e44c: Download complete [2021-04-06T08:52:18.172Z] 532819f3e44c: Pull complete [2021-04-06T08:52:18.172Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T08:52:18.172Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T08:52:18.172Z] ---> 7230e588e954 [2021-04-06T08:52:18.172Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:52:18.172Z] ---> Running in 6c6564c31d44 [2021-04-06T08:52:18.258Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T08:52:18.436Z] Removing intermediate container 6c6564c31d44 [2021-04-06T08:52:18.437Z] ---> b1aa16afc23f [2021-04-06T08:52:18.437Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:52:18.437Z] ---> Running in 79d174140513 [2021-04-06T08:52:19.239Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:52:19.402Z] Removing intermediate container 79d174140513 [2021-04-06T08:52:19.402Z] ---> 7a17f3dbad60 [2021-04-06T08:52:19.402Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T08:52:19.402Z] ---> Running in 17ebb72bcd54 [2021-04-06T08:52:19.831Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T08:52:19.986Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:52:20.102Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T08:52:20.102Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T08:52:20.374Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T08:52:20.374Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T08:52:20.562Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:52:20.646Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T08:52:20.646Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T08:52:20.646Z] OK: 144 MiB in 45 packages [2021-04-06T08:52:21.510Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T08:52:21.510Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T08:52:21.510Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T08:52:21.773Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T08:52:21.773Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T08:52:22.040Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T08:52:22.040Z] OK: 8 MiB in 19 packages [2021-04-06T08:52:22.078Z] Removing intermediate container ca9dd62a19e2 [2021-04-06T08:52:22.078Z] ---> bc5169809e30 [2021-04-06T08:52:22.078Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T08:52:22.078Z] ---> Running in 7b3134442dbd [2021-04-06T08:52:22.616Z] Removing intermediate container 17ebb72bcd54 [2021-04-06T08:52:22.616Z] ---> 828f59e5c441 [2021-04-06T08:52:22.616Z] Step 14/23 : WORKDIR / [2021-04-06T08:52:22.616Z] ---> Running in 2c3b04bd5e09 [2021-04-06T08:52:22.674Z] Removing intermediate container 7b3134442dbd [2021-04-06T08:52:22.674Z] ---> 6a989465d842 [2021-04-06T08:52:22.674Z] Step 7/8 : COPY . . [2021-04-06T08:52:22.881Z] Removing intermediate container 2c3b04bd5e09 [2021-04-06T08:52:22.881Z] ---> e79743c59fdc [2021-04-06T08:52:22.881Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T08:52:23.145Z] ---> 3fbf60a3b365 [2021-04-06T08:52:23.145Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T08:52:23.748Z] ---> ee804709aa06 [2021-04-06T08:52:23.748Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T08:52:24.012Z] ---> e43754708c22 [2021-04-06T08:52:24.012Z] Step 18/23 : EXPOSE 49990 [2021-04-06T08:52:24.103Z] ---> 1fc6251fe229 [2021-04-06T08:52:24.103Z] Step 8/8 : RUN go mod download [2021-04-06T08:52:24.103Z] ---> Running in 881df1ddb537 [2021-04-06T08:52:24.278Z] ---> Running in 0f9c7fd85878 [2021-04-06T08:52:24.278Z] Removing intermediate container 0f9c7fd85878 [2021-04-06T08:52:24.278Z] ---> 42ae9954de13 [2021-04-06T08:52:24.278Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T08:52:24.543Z] ---> Running in e6577384ad9f [2021-04-06T08:52:24.543Z] Removing intermediate container e6577384ad9f [2021-04-06T08:52:24.543Z] ---> 762854d6a6df [2021-04-06T08:52:24.543Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T08:52:24.809Z] ---> Running in a04bdc23c311 [2021-04-06T08:52:24.809Z] Removing intermediate container a04bdc23c311 [2021-04-06T08:52:24.809Z] ---> 1084a35fb977 [2021-04-06T08:52:24.809Z] Step 21/23 : LABEL arch=amd64 [2021-04-06T08:52:24.809Z] ---> Running in cf79e548808c [2021-04-06T08:52:25.072Z] Removing intermediate container cf79e548808c [2021-04-06T08:52:25.072Z] ---> 1024c8a53311 [2021-04-06T08:52:25.072Z] Step 22/23 : LABEL git_sha=ff9571a65c38542c5e32f78632fd3858ae2adc04 [2021-04-06T08:52:25.072Z] ---> Running in 3c389330ba5b [2021-04-06T08:52:25.341Z] Removing intermediate container 3c389330ba5b [2021-04-06T08:52:25.341Z] ---> ec706039693e [2021-04-06T08:52:25.341Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T08:52:25.341Z] ---> Running in 68988630626f [2021-04-06T08:52:25.611Z] Removing intermediate container 68988630626f [2021-04-06T08:52:25.611Z] ---> 9052b8eefe9e [2021-04-06T08:52:25.611Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-06T08:52:25.611Z] Successfully built 9052b8eefe9e [2021-04-06T08:52:25.611Z] 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-04-06T08:52:26.565Z] ---> job-cost.sh [2021-04-06T08:52:26.565Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jWJV [2021-04-06T08:52:44.737Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T08:52:50.924Z] Removing intermediate container 881df1ddb537 [2021-04-06T08:52:50.924Z] ---> 1f9e25a4dc22 [2021-04-06T08:52:50.924Z] Successfully built 1f9e25a4dc22 [2021-04-06T08:52:50.924Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:52:51.267Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T08:52:51.267Z] . [Pipeline] withDockerContainer [2021-04-06T08:52:51.538Z] prd-ubuntu18.04-docker-arm64-4c-16g-32948 does not seem to be running inside a container [2021-04-06T08:52:51.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-04-06T08:52:53.273Z] $ docker top 618a0913514f8ad9cfcedc5c0d75c6fe1ecfec95228903faa7ba35afefd09ebb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:52:54.304Z] + go version [2021-04-06T08:52:54.304Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T08:52:54.363Z] $ docker stop --time=1 618a0913514f8ad9cfcedc5c0d75c6fe1ecfec95228903faa7ba35afefd09ebb [2021-04-06T08:52:56.322Z] $ docker rm -f 618a0913514f8ad9cfcedc5c0d75c6fe1ecfec95228903faa7ba35afefd09ebb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:52:57.333Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T08:52:57.333Z] . [Pipeline] withDockerContainer [2021-04-06T08:52:57.589Z] prd-ubuntu18.04-docker-arm64-4c-16g-32948 does not seem to be running inside a container [2021-04-06T08:52:57.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-04-06T08:52:59.255Z] $ docker top 7bfe6844186a1ec10f74fe7e40f282d8acd883ae9da8991e5b7d6db84ed2c066 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:53:00.308Z] + make test [2021-04-06T08:53:00.308Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T08:53:16.915Z] lf-activate-venv(): INFO: Adding /tmp/venv-jWJV/bin to PATH [2021-04-06T08:53:16.915Z] INFO: No Stack... [2021-04-06T08:53:16.915Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T08:53:16.915Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T08:53:17.234Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-04-06T08:53:17.234Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T08:53:17.313Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] [2021-04-06T08:53:17.320Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] did not exist. Created. [2021-04-06T08:53:17.320Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T08:53:17.723Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T08:53:17.826Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T08:53:17.840Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-06T08:53:22.495Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T08:54:19.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T08:54:19.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T08:54:19.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T08:54:19.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T08:54:19.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T08:54:21.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements [2021-04-06T08:54:22.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.189s coverage: 78.9% of statements [2021-04-06T08:54:22.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.190s coverage: 7.8% of statements [2021-04-06T08:54:22.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T08:54:22.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T08:54:22.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T08:54:24.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.265s coverage: 32.5% of statements [2021-04-06T08:54:24.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T08:54:24.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T08:54:24.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T08:54:27.760Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.259s coverage: 57.3% of statements [2021-04-06T08:54:27.760Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.072s coverage: 6.6% of statements [2021-04-06T08:54:28.030Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 5.0% of statements [2021-04-06T08:54:28.030Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T08:54:28.300Z] GO111MODULE=on go vet ./... [2021-04-06T08:55:15.527Z] gofmt -l . [2021-04-06T08:55:15.527Z] [ "`gofmt -l .`" = "" ] [2021-04-06T08:55:15.527Z] ./bin/test-attribution-txt.sh [2021-04-06T08:55:15.527Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T08:55:15.836Z] $ docker stop --time=1 7bfe6844186a1ec10f74fe7e40f282d8acd883ae9da8991e5b7d6db84ed2c066 [2021-04-06T08:55:18.357Z] $ docker rm -f 7bfe6844186a1ec10f74fe7e40f282d8acd883ae9da8991e5b7d6db84ed2c066 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:55:19.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T08:55:19.642Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T08:55:20.510Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:55:21.257Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T08:55:21.589Z] + ls -al . [2021-04-06T08:55:21.589Z] total 224 [2021-04-06T08:55:21.589Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:55 . [2021-04-06T08:55:21.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:51 .. [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 08:51 .dockerignore [2021-04-06T08:55:21.589Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:51 .git [2021-04-06T08:55:21.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:51 .github [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 08:51 .gitignore [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 08:51 Dockerfile.build [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 08:51 Jenkinsfile [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 08:51 LICENSE [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 08:51 Makefile [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 08:51 README.md [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 08:51 RELEASE-NOTES.txt [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 08:47 VERSION [2021-04-06T08:55:21.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:51 bin [2021-04-06T08:55:21.589Z] -rw-r--r-- 1 jenkins jenkins 99189 Apr 6 08:54 coverage.out [2021-04-06T08:55:21.589Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 08:51 example [2021-04-06T08:55:21.589Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 6 08:55 go.mod [2021-04-06T08:55:21.589Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 08:55 go.sum [2021-04-06T08:55:21.589Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 08:51 internal [2021-04-06T08:55:21.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:51 openapi [2021-04-06T08:55:21.589Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 08:51 pkg [2021-04-06T08:55:21.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:51 snap [2021-04-06T08:55:21.589Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 08:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:55:21.928Z] + 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=ff9571a65c38542c5e32f78632fd3858ae2adc04 --label arch=arm64 --label version=0.0.0 . [2021-04-06T08:55:22.524Z] Sending build context to Docker daemon 2.497MB [2021-04-06T08:55:22.524Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:55:22.524Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T08:55:22.524Z] ---> 1f9e25a4dc22 [2021-04-06T08:55:22.524Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T08:55:22.797Z] ---> Running in 86a39bf4702b [2021-04-06T08:55:23.396Z] Removing intermediate container 86a39bf4702b [2021-04-06T08:55:23.396Z] ---> 8b750aabd522 [2021-04-06T08:55:23.396Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:55:23.396Z] ---> Running in 645abcda63c7 [2021-04-06T08:55:23.991Z] Removing intermediate container 645abcda63c7 [2021-04-06T08:55:23.991Z] ---> eea38d38a286 [2021-04-06T08:55:23.991Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:55:23.991Z] ---> Running in 2b6380fe07da [2021-04-06T08:55:25.966Z] Removing intermediate container 2b6380fe07da [2021-04-06T08:55:25.966Z] ---> edabc02866a6 [2021-04-06T08:55:25.966Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T08:55:26.240Z] ---> Running in 67ac8dea105f [2021-04-06T08:55:27.218Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T08:55:28.193Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:55:28.785Z] OK: 144 MiB in 45 packages [2021-04-06T08:55:30.222Z] Removing intermediate container 67ac8dea105f [2021-04-06T08:55:30.222Z] ---> d3b76d611386 [2021-04-06T08:55:30.222Z] Step 7/23 : COPY . . [2021-04-06T08:55:31.198Z] ---> 4e8d395a5cdb [2021-04-06T08:55:31.198Z] Step 8/23 : RUN go mod download [2021-04-06T08:55:31.476Z] ---> Running in 6b1967d52205 [2021-04-06T08:55:33.447Z] Removing intermediate container 6b1967d52205 [2021-04-06T08:55:33.448Z] ---> 1345956b29dd [2021-04-06T08:55:33.448Z] Step 9/23 : RUN make build [2021-04-06T08:55:33.719Z] ---> Running in ba3f7c92ab13 [2021-04-06T08:55:34.699Z] CGO_ENABLED=1 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-04-06T08:56:07.084Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T08:56:09.057Z] Removing intermediate container ba3f7c92ab13 [2021-04-06T08:56:09.057Z] ---> 3dba18800b31 [2021-04-06T08:56:09.057Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T08:56:09.649Z] 3.12: Pulling from library/alpine [2021-04-06T08:56:09.649Z] 9a219e8acc52: Pulling fs layer [2021-04-06T08:56:09.926Z] 9a219e8acc52: Verifying Checksum [2021-04-06T08:56:09.926Z] 9a219e8acc52: Download complete [2021-04-06T08:56:10.518Z] 9a219e8acc52: Pull complete [2021-04-06T08:56:10.518Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T08:56:10.518Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T08:56:10.518Z] ---> d75e27dfc0a0 [2021-04-06T08:56:10.518Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:56:10.792Z] ---> Running in 9886139ef364 [2021-04-06T08:56:11.063Z] Removing intermediate container 9886139ef364 [2021-04-06T08:56:11.063Z] ---> 1a21bd12f72f [2021-04-06T08:56:11.063Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:56:11.336Z] ---> Running in cbece690d4f5 [2021-04-06T08:56:13.307Z] Removing intermediate container cbece690d4f5 [2021-04-06T08:56:13.307Z] ---> 676798d9a86e [2021-04-06T08:56:13.307Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T08:56:13.586Z] ---> Running in 5679434c515a [2021-04-06T08:56:14.558Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T08:56:15.153Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:56:16.121Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T08:56:16.121Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T08:56:16.121Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T08:56:16.392Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T08:56:16.392Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T08:56:16.661Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T08:56:16.662Z] OK: 8 MiB in 19 packages [2021-04-06T08:56:18.093Z] Removing intermediate container 5679434c515a [2021-04-06T08:56:18.093Z] ---> 07714312ea94 [2021-04-06T08:56:18.093Z] Step 14/23 : WORKDIR / [2021-04-06T08:56:18.093Z] ---> Running in f4fa6e257962 [2021-04-06T08:56:18.365Z] Removing intermediate container f4fa6e257962 [2021-04-06T08:56:18.365Z] ---> 7a46aa3f935b [2021-04-06T08:56:18.365Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T08:56:19.372Z] ---> 126ca748be68 [2021-04-06T08:56:19.372Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T08:56:20.347Z] ---> 55b662bc458b [2021-04-06T08:56:20.347Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T08:56:21.322Z] ---> 366c05137319 [2021-04-06T08:56:21.322Z] Step 18/23 : EXPOSE 49990 [2021-04-06T08:56:21.322Z] ---> Running in 0950114d5fd6 [2021-04-06T08:56:21.596Z] Removing intermediate container 0950114d5fd6 [2021-04-06T08:56:21.596Z] ---> 3f4275564df7 [2021-04-06T08:56:21.596Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T08:56:21.868Z] ---> Running in 4d4fc9c5b6d3 [2021-04-06T08:56:22.144Z] Removing intermediate container 4d4fc9c5b6d3 [2021-04-06T08:56:22.144Z] ---> 03a577ccd2b1 [2021-04-06T08:56:22.144Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T08:56:22.416Z] ---> Running in 9045a1ff23bc [2021-04-06T08:56:23.009Z] Removing intermediate container 9045a1ff23bc [2021-04-06T08:56:23.009Z] ---> 41c9a3b4a462 [2021-04-06T08:56:23.009Z] Step 21/23 : LABEL arch=arm64 [2021-04-06T08:56:23.009Z] ---> Running in d58691c48a1d [2021-04-06T08:56:23.605Z] Removing intermediate container d58691c48a1d [2021-04-06T08:56:23.605Z] ---> 592e5e8e0cd3 [2021-04-06T08:56:23.605Z] Step 22/23 : LABEL git_sha=ff9571a65c38542c5e32f78632fd3858ae2adc04 [2021-04-06T08:56:23.605Z] ---> Running in 552f85f7fdc3 [2021-04-06T08:56:24.200Z] Removing intermediate container 552f85f7fdc3 [2021-04-06T08:56:24.200Z] ---> 7d994fb8c8ff [2021-04-06T08:56:24.200Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T08:56:24.200Z] ---> Running in 328a417de949 [2021-04-06T08:56:24.805Z] Removing intermediate container 328a417de949 [2021-04-06T08:56:24.805Z] ---> b2d5d7322a59 [2021-04-06T08:56:24.805Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-06T08:56:24.805Z] Successfully built b2d5d7322a59 [2021-04-06T08:56:24.805Z] 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-04-06T08:56:25.682Z] ---> job-cost.sh [2021-04-06T08:56:25.682Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fnZi [2021-04-06T08:57:04.642Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T08:58:41.437Z] lf-activate-venv(): INFO: Adding /tmp/venv-fnZi/bin to PATH [2021-04-06T08:58:41.437Z] INFO: No Stack... [2021-04-06T08:58:41.437Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T08:58:41.437Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T08:58:41.785Z] + cut -d, -f6 [2021-04-06T08:58:41.785Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-04-06T08:58:41.893Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] [2021-04-06T08:58:41.902Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] did not exist. Created. [2021-04-06T08:58:41.902Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T08:58:42.327Z] /w/workspace/device-sdk-go/4@tmp/durable-70e55346/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-70e55346/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T08:58:42.670Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T08:58:42.690Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T08:58:42.855Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T08:58:42.888Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-4-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-04-06T08:58:44.254Z] provisioning config files... [2021-04-06T08:58:44.292Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config2876170706161844540tmp [Pipeline] { [Pipeline] sh [2021-04-06T08:58:45.043Z] + set +x [2021-04-06T08:58:45.043Z] + curl -s https://codecov.io/bash [2021-04-06T08:58:45.043Z] + bash -s -- [2021-04-06T08:58:45.403Z] [2021-04-06T08:58:45.403Z] _____ _ [2021-04-06T08:58:45.403Z] / ____| | | [2021-04-06T08:58:45.403Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T08:58:45.403Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T08:58:45.403Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T08:58:45.403Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T08:58:45.403Z] Bash-20210309-2b87ace [2021-04-06T08:58:45.403Z] [2021-04-06T08:58:45.403Z] [2021-04-06T08:58:45.403Z] ==> git version 2.24.3 found [2021-04-06T08:58:45.403Z] ==> 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-04-06T08:58:45.403Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T08:58:45.403Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T08:58:45.403Z] ==> Jenkins CI detected. [2021-04-06T08:58:45.403Z] project root: . [2021-04-06T08:58:45.403Z] --> token set from env [2021-04-06T08:58:45.403Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T08:58:45.709Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T08:58:45.709Z] ==> Python coveragepy not found [2021-04-06T08:58:45.709Z] ==> Searching for coverage reports in: [2021-04-06T08:58:45.709Z] + . [2021-04-06T08:58:45.709Z] -> Found 1 reports [2021-04-06T08:58:45.709Z] ==> Detecting git/mercurial file structure [2021-04-06T08:58:45.709Z] ==> Reading reports [2021-04-06T08:58:45.709Z] + ./coverage.out bytes=99189 [2021-04-06T08:58:46.006Z] ==> Appending adjustments [2021-04-06T08:58:46.006Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T08:58:48.197Z] + Found adjustments [2021-04-06T08:58:48.197Z] ==> Gzipping contents [2021-04-06T08:58:48.197Z] 16K /tmp/codecov.MyxmRK.gz [2021-04-06T08:58:48.197Z] ==> Uploading reports [2021-04-06T08:58:48.197Z] url: https://codecov.io [2021-04-06T08:58:48.197Z] query: branch=PR-862&commit=ff9571a65c38542c5e32f78632fd3858ae2adc04&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= [2021-04-06T08:58:48.197Z] -> Pinging Codecov [2021-04-06T08:58:48.197Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-862&commit=ff9571a65c38542c5e32f78632fd3858ae2adc04&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= [2021-04-06T08:58:48.805Z] -> Uploading to [2021-04-06T08:58:48.805Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/ff9571a65c38542c5e32f78632fd3858ae2adc04/da122b60-bd11-43c6-a38c-7f0be02dc020.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T085848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db9324b06e1ce6c593559fb77a60b8d1ce2174c373f60987617ed9d1d9b02e50 [2021-04-06T08:58:48.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T08:58:48.805Z] Dload Upload Total Spent Left Speed [2021-04-06T08:58:49.175Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13401 0 0 100 13401 0 25518 --:--:-- --:--:-- --:--:-- 25574 [2021-04-06T08:58:49.175Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ff9571a65c38542c5e32f78632fd3858ae2adc04 [Pipeline] } [2021-04-06T08:58:49.200Z] 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-04-06T08:58:52.046Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:58:52.738Z] ---> package-listing.sh [2021-04-06T08:58:52.738Z] ++ facter osfamily [2021-04-06T08:58:52.738Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T08:58:53.005Z] + OS_FAMILY=redhat [2021-04-06T08:58:53.005Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-862 [2021-04-06T08:58:53.005Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T08:58:53.005Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T08:58:53.005Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T08:58:53.005Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T08:58:53.005Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' [2021-04-06T08:58:53.005Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T08:58:53.005Z] + case "${OS_FAMILY}" in [2021-04-06T08:58:53.005Z] + sort [2021-04-06T08:58:53.005Z] + rpm -qa [2021-04-06T08:59:04.047Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T08:59:04.047Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T08:59:04.047Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T08:59:04.047Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' [2021-04-06T08:59:04.047Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ [2021-04-06T08:59:04.047Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ [Pipeline] echo [2021-04-06T08:59:04.073Z] 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-862/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T08:59:04.604Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:59:05.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:59:05.469Z] [2021-04-06T08:59:05.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:59:05.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:59:06.258Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T08:59:06.258Z] df20fa9351a1: Pulling fs layer [2021-04-06T08:59:06.258Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T08:59:06.258Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T08:59:06.258Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T08:59:06.258Z] 93b61091891f: Pulling fs layer [2021-04-06T08:59:06.258Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T08:59:06.258Z] 5e14af77c1be: Pulling fs layer [2021-04-06T08:59:06.258Z] 01666e4c0597: Pulling fs layer [2021-04-06T08:59:06.258Z] aa168da1d23b: Pulling fs layer [2021-04-06T08:59:06.258Z] 46f8f816bc3b: Waiting [2021-04-06T08:59:06.258Z] 93b61091891f: Waiting [2021-04-06T08:59:06.258Z] 93b9cdb0e59b: Waiting [2021-04-06T08:59:06.258Z] 5e14af77c1be: Waiting [2021-04-06T08:59:06.258Z] 01666e4c0597: Waiting [2021-04-06T08:59:06.258Z] aa168da1d23b: Waiting [2021-04-06T08:59:06.258Z] 36b3adc4ff6f: Verifying Checksum [2021-04-06T08:59:06.258Z] 36b3adc4ff6f: Download complete [2021-04-06T08:59:06.258Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T08:59:06.258Z] 46f8f816bc3b: Download complete [2021-04-06T08:59:06.608Z] 93b61091891f: Verifying Checksum [2021-04-06T08:59:06.608Z] 93b61091891f: Download complete [2021-04-06T08:59:06.608Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T08:59:06.608Z] 93b9cdb0e59b: Download complete [2021-04-06T08:59:06.608Z] 5e14af77c1be: Verifying Checksum [2021-04-06T08:59:06.608Z] 5e14af77c1be: Download complete [2021-04-06T08:59:06.608Z] df20fa9351a1: Verifying Checksum [2021-04-06T08:59:06.608Z] 01666e4c0597: Verifying Checksum [2021-04-06T08:59:06.608Z] 01666e4c0597: Download complete [2021-04-06T08:59:07.246Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T08:59:07.246Z] 8ad3a11d3b57: Download complete [2021-04-06T08:59:07.546Z] df20fa9351a1: Pull complete [2021-04-06T08:59:08.307Z] 36b3adc4ff6f: Pull complete [2021-04-06T08:59:12.342Z] 8ad3a11d3b57: Pull complete [2021-04-06T08:59:13.022Z] 46f8f816bc3b: Pull complete [2021-04-06T08:59:15.102Z] aa168da1d23b: Verifying Checksum [2021-04-06T08:59:15.102Z] aa168da1d23b: Download complete [2021-04-06T08:59:15.102Z] 93b61091891f: Pull complete [2021-04-06T08:59:15.389Z] 93b9cdb0e59b: Pull complete [2021-04-06T08:59:15.657Z] 5e14af77c1be: Pull complete [2021-04-06T08:59:15.657Z] 01666e4c0597: Pull complete [2021-04-06T08:59:31.472Z] aa168da1d23b: Pull complete [2021-04-06T08:59:31.472Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T08:59:31.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:59:31.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T08:59:32.074Z] prd-centos7-docker-4c-2g-32944 does not seem to be running inside a container [2021-04-06T08:59:32.431Z] $ 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-862/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-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-06T08:59:37.524Z] $ docker top 61551b2b999760dffe0879d2cbcab40ca61f5705e79112bef82565b192ac6a0e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:59:38.729Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T08:59:39.158Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T08:59:40.645Z] + ls /var/log/sa-host [2021-04-06T08:59:40.645Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T08:59:40.645Z] file_magic: OK [2021-04-06T08:59:40.645Z] HZ: Using current value: 100 [2021-04-06T08:59:40.645Z] file_header: OK [2021-04-06T08:59:40.645Z] 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-04-06T08:59:40.645Z] Statistics: [2021-04-06T08:59:40.645Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-06T08:59:40.645Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T08:59:40.645Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T08:59:40.645Z] file_magic: OK [2021-04-06T08:59:40.645Z] HZ: Using current value: 100 [2021-04-06T08:59:40.645Z] file_header: OK [2021-04-06T08:59:40.645Z] 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-04-06T08:59:40.645Z] Statistics: [2021-04-06T08:59:40.645Z] Hnuu...uuuununununu... [2021-04-06T08:59:40.645Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T08:59:41.308Z] provisioning config files... [2021-04-06T08:59:41.329Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config1647044432748273749tmp [Pipeline] { [Pipeline] echo [2021-04-06T08:59:41.447Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:59:41.866Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T08:59:42.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T08:59:42.283Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:59:42.709Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T08:59:42.732Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:59:43.574Z] ---> sudo-logs.sh [2021-04-06T08:59:43.574Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T08:59:44.107Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:59:44.771Z] ---> job-cost.sh [2021-04-06T08:59:45.040Z] lf-activate-venv: SKIPPING [2021-04-06T08:59:45.040Z] DEBUG: total: 0.20999999344348907 [2021-04-06T08:59:45.040Z] INFO: Retrieving Stack Cost... [2021-04-06T08:59:46.016Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T08:59:46.610Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T08:59:46.650Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:59:47.695Z] ---> logs-deploy.sh [2021-04-06T08:59:47.695Z] lf-activate-venv: SKIPPING [2021-04-06T08:59:47.696Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-862/4 [2021-04-06T08:59:47.696Z] INFO: archiving workspace using pattern(s): [2021-04-06T08:59:51.413Z] Archives upload complete. [2021-04-06T08:59:51.413Z] INFO: archiving logs to Nexus [2021-04-06T08:59:53.036Z] ---> uname -a: [2021-04-06T08:59:53.036Z] Linux prd-centos7-docker-4c-2g-32944.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-06T08:59:53.036Z] [2021-04-06T08:59:53.036Z]