Branch indexing 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+7565948cf2a22d3fef01b48e9653f9446226441c (b0335acb9c33ed0f6d2037724997cc10645a38a2) 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: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33104 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 7565948cf2a22d3fef01b48e9653f9446226441c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc > 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 Merge succeeded, producing f437281f1477c7681aed980e8d1e4874309ed8ba Checking out Revision f437281f1477c7681aed980e8d1e4874309ed8ba (PR-725) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7565948cf2a22d3fef01b48e9653f9446226441c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f437281f1477c7681aed980e8d1e4874309ed8ba # timeout=10 Commit message: "Merge commit '7565948cf2a22d3fef01b48e9653f9446226441c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-07T02:43:01.189Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-07T02:43:01.502Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T02:43:01.697Z] ========================================================= [2021-04-07T02:43:01.697Z] EdgeX Global Pipelines Version Info [2021-04-07T02:43:01.697Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2805920d8a105f762ab7e3ca530d3ad86fef2266 # timeout=10 [2021-04-07T02:43:05.641Z] ------------------- [2021-04-07T02:43:05.641Z] stable info: [2021-04-07T02:43:05.641Z] ------------------- [2021-04-07T02:43:05.641Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T02:43:05.641Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T02:43:05.641Z] Message: update stable to v1.0.186 [2021-04-07T02:43:06.720Z] ------------------- [2021-04-07T02:43:06.720Z] experimental info: [2021-04-07T02:43:06.720Z] ------------------- [2021-04-07T02:43:06.720Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T02:43:06.720Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T02:43:06.720Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T02:43:07.196Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-07T02:43:07.295Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-07T02:43:07.417Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T02:43:07.513Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T02:43:07.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T02:43:07.707Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-07T02:43:07.802Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-07T02:43:07.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-07T02:43:08.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-07T02:43:08.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-07T02:43:08.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T02:43:08.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-04-07T02:43:08.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T02:43:08.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T02:43:08.621Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T02:43:08.717Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T02:43:08.812Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T02:43:08.902Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T02:43:08.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T02:43:09.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T02:43:09.180Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-07T02:43:09.287Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-07T02:43:09.384Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-07T02:43:09.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-07T02:43:09.567Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-07T02:43:09.655Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T02:43:09.754Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-04-07T02:43:09.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-04-07T02:43:09.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-04-07T02:43:10.029Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f437281f1477c7681aed980e8d1e4874309ed8ba [Pipeline] echo [2021-04-07T02:43:10.125Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f437281 [Pipeline] echo [2021-04-07T02:43:10.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T02:43:10.405Z] provisioning config files... [2021-04-07T02:43:10.467Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8191235670173375267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:43:11.299Z] ---> docker-login.sh [2021-04-07T02:43:11.299Z] nexus3.edgexfoundry.org:10001 [2021-04-07T02:43:13.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:43:14.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:43:14.573Z] Configure a credential helper to remove this warning. See [2021-04-07T02:43:14.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:43:14.573Z] [2021-04-07T02:43:14.573Z] Login Succeeded [2021-04-07T02:43:14.573Z] nexus3.edgexfoundry.org:10002 [2021-04-07T02:43:15.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:43:15.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:43:15.986Z] Configure a credential helper to remove this warning. See [2021-04-07T02:43:15.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:43:15.986Z] [2021-04-07T02:43:15.986Z] Login Succeeded [2021-04-07T02:43:15.986Z] nexus3.edgexfoundry.org:10003 [2021-04-07T02:43:16.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:43:17.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:43:17.204Z] Configure a credential helper to remove this warning. See [2021-04-07T02:43:17.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:43:17.204Z] [2021-04-07T02:43:17.204Z] Login Succeeded [2021-04-07T02:43:17.204Z] nexus3.edgexfoundry.org:10004 [2021-04-07T02:43:18.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:43:18.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:43:18.414Z] Configure a credential helper to remove this warning. See [2021-04-07T02:43:18.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:43:18.414Z] [2021-04-07T02:43:18.414Z] Login Succeeded [2021-04-07T02:43:18.414Z] docker.io [2021-04-07T02:43:18.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:43:19.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:43:19.047Z] Configure a credential helper to remove this warning. See [2021-04-07T02:43:19.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:43:19.047Z] [2021-04-07T02:43:19.047Z] Login Succeeded [2021-04-07T02:43:19.047Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T02:43:19.125Z] 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-07T02:43:20.823Z] + git log --format=format:%s -1 f437281f1477c7681aed980e8d1e4874309ed8ba [Pipeline] echo [2021-04-07T02:43:21.024Z] GIT_COMMIT: f437281f1477c7681aed980e8d1e4874309ed8ba, Commit Message: Merge commit '7565948cf2a22d3fef01b48e9653f9446226441c' into HEAD [Pipeline] echo [2021-04-07T02:43:21.143Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:43:22.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T02:43:22.907Z] [2021-04-07T02:43:22.907Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:43:23.598Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T02:43:24.512Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T02:43:24.512Z] 31603596830f: Pulling fs layer [2021-04-07T02:43:24.512Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T02:43:24.512Z] 6ca5941a6612: Pulling fs layer [2021-04-07T02:43:24.512Z] ecc8261a40a4: Pulling fs layer [2021-04-07T02:43:24.512Z] ecc8261a40a4: Waiting [2021-04-07T02:43:25.099Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T02:43:25.099Z] 2a8b12db71e7: Download complete [2021-04-07T02:43:26.187Z] 31603596830f: Verifying Checksum [2021-04-07T02:43:26.187Z] 31603596830f: Download complete [2021-04-07T02:43:26.480Z] ecc8261a40a4: Verifying Checksum [2021-04-07T02:43:26.480Z] ecc8261a40a4: Download complete [2021-04-07T02:43:26.848Z] 6ca5941a6612: Verifying Checksum [2021-04-07T02:43:26.848Z] 6ca5941a6612: Download complete [2021-04-07T02:43:27.225Z] 31603596830f: Pull complete [2021-04-07T02:43:27.591Z] 2a8b12db71e7: Pull complete [2021-04-07T02:43:29.919Z] 6ca5941a6612: Pull complete [2021-04-07T02:43:30.548Z] ecc8261a40a4: Pull complete [2021-04-07T02:43:30.874Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T02:43:30.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T02:43:30.874Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T02:43:31.197Z] prd-centos7-docker-4c-2g-33104 does not seem to be running inside a container [2021-04-07T02:43:31.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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-07T02:43:36.092Z] $ docker top f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T02:43:36.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T02:43:36.820Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T02:43:37.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T02:43:37.218Z] $ docker exec f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa ssh-agent [2021-04-07T02:43:37.516Z] SSH_AUTH_SOCK=/tmp/ssh-uCbaZRRuysNf/agent.11 [2021-04-07T02:43:37.516Z] SSH_AGENT_PID=17 [2021-04-07T02:43:37.585Z] Running ssh-add (command line suppressed) [2021-04-07T02:43:38.073Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4124824555410561560.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4124824555410561560.key) [2021-04-07T02:43:38.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T02:43:39.099Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T02:43:39.284Z] $ docker exec --env ******** --env ******** f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa ssh-agent -k [2021-04-07T02:43:39.964Z] unset SSH_AUTH_SOCK; [2021-04-07T02:43:39.965Z] unset SSH_AGENT_PID; [2021-04-07T02:43:39.965Z] echo Agent pid 17 killed; [2021-04-07T02:43:40.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T02:43:40.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T02:43:40.329Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T02:43:41.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T02:43:41.480Z] $ docker exec f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa ssh-agent [2021-04-07T02:43:42.537Z] SSH_AUTH_SOCK=/tmp/ssh-L64gQQzPvtLf/agent.46 [2021-04-07T02:43:42.537Z] SSH_AGENT_PID=51 [2021-04-07T02:43:42.546Z] Running ssh-add (command line suppressed) [2021-04-07T02:43:42.936Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_365145476043123198.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_365145476043123198.key) [2021-04-07T02:43:43.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T02:43:44.206Z] + git semver init [2021-04-07T02:43:44.206Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T02:43:44.206Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-04-07T02:43:44.206Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-07T02:43:44.206Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T02:43:44.206Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T02:43:44.206Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T02:43:44.206Z] # $SEMVER_BRANCH = PR-725 [2021-04-07T02:43:44.206Z] # $SEMVER_TEMP = /tmp/semver-780630058 [2021-04-07T02:43:44.206Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-07T02:43:46.669Z] # '/tmp/semver-780630058' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-04-07T02:43:46.669Z] # -> Force: false [2021-04-07T02:43:46.669Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-04-07T02:43:46.755Z] $ docker exec --env ******** --env ******** f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa ssh-agent -k [2021-04-07T02:43:47.548Z] unset SSH_AUTH_SOCK; [2021-04-07T02:43:47.548Z] unset SSH_AGENT_PID; [2021-04-07T02:43:47.548Z] echo Agent pid 51 killed; [2021-04-07T02:43:47.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T02:43:48.893Z] + git semver [Pipeline] } [2021-04-07T02:43:48.950Z] $ docker stop --time=1 f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa [2021-04-07T02:43:51.526Z] $ docker rm -f f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T02:43:52.211Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T02:43:55.614Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T02:43:55.618Z] [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-07T02:43:56.185Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33101 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-07T02:43:56.265Z] Running in /w/workspace/device-sdk-go/30 [Pipeline] { [Pipeline] checkout [2021-04-07T02:44:01.407Z] using credential edgex-jenkins-ssh [2021-04-07T02:44:01.522Z] Cloning the remote Git repository [2021-04-07T02:44:01.582Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T02:44:01.690Z] > git init /w/workspace/device-sdk-go/30 # timeout=10 [2021-04-07T02:44:01.784Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T02:44:01.785Z] > git --version # timeout=10 [2021-04-07T02:44:01.806Z] > git --version # 'git version 2.17.1' [2021-04-07T02:44:01.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T02:44:01.863Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T02:44:03.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T02:44:03.742Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T02:44:03.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T02:44:03.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T02:44:03.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T02:44:03.836Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T02:44:04.438Z] Merging remotes/origin/master commit 7565948cf2a22d3fef01b48e9653f9446226441c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-07T02:44:04.892Z] Merge succeeded, producing 38de8821fc957d53a1a3e9484656fa94685fbe36 [2021-04-07T02:44:04.893Z] Checking out Revision 38de8821fc957d53a1a3e9484656fa94685fbe36 (PR-725) [2021-04-07T02:44:04.458Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T02:44:04.474Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-07T02:44:04.605Z] > git remote # timeout=10 [2021-04-07T02:44:04.628Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T02:44:04.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T02:44:04.657Z] > git merge 7565948cf2a22d3fef01b48e9653f9446226441c # timeout=10 [2021-04-07T02:44:04.855Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T02:44:04.895Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T02:44:04.911Z] > git checkout -f 38de8821fc957d53a1a3e9484656fa94685fbe36 # timeout=10 [2021-04-07T02:44:09.163Z] Commit message: "Merge commit '7565948cf2a22d3fef01b48e9653f9446226441c' into HEAD" [2021-04-07T02:44:09.183Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-04-07T02:44:09.164Z] > git rev-list --no-walk 2805920d8a105f762ab7e3ca530d3ad86fef2266 # timeout=10 [Pipeline] sh [2021-04-07T02:44:10.541Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T02:44:10.959Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T02:44:11.149Z] Still waiting to schedule task [2021-04-07T02:44:11.150Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-07T02:44:11.348Z] + + truesudo [2021-04-07T02:44:11.348Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T02:44:13.463Z] provisioning config files... [2021-04-07T02:44:13.504Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/30@tmp/config8790785924454387413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:44:13.909Z] ---> docker-login.sh [2021-04-07T02:44:13.910Z] nexus3.edgexfoundry.org:10001 [2021-04-07T02:44:14.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:44:15.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:44:15.114Z] Configure a credential helper to remove this warning. See [2021-04-07T02:44:15.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:44:15.114Z] [2021-04-07T02:44:15.114Z] Login Succeeded [2021-04-07T02:44:15.114Z] nexus3.edgexfoundry.org:10002 [2021-04-07T02:44:15.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:44:15.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:44:15.674Z] Configure a credential helper to remove this warning. See [2021-04-07T02:44:15.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:44:15.674Z] [2021-04-07T02:44:15.674Z] Login Succeeded [2021-04-07T02:44:15.674Z] nexus3.edgexfoundry.org:10003 [2021-04-07T02:44:15.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:44:16.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:44:16.243Z] Configure a credential helper to remove this warning. See [2021-04-07T02:44:16.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:44:16.243Z] [2021-04-07T02:44:16.243Z] Login Succeeded [2021-04-07T02:44:16.243Z] nexus3.edgexfoundry.org:10004 [2021-04-07T02:44:16.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:44:16.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:44:16.803Z] Configure a credential helper to remove this warning. See [2021-04-07T02:44:16.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:44:16.803Z] [2021-04-07T02:44:16.803Z] Login Succeeded [2021-04-07T02:44:16.803Z] docker.io [2021-04-07T02:44:17.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:44:17.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:44:17.345Z] Configure a credential helper to remove this warning. See [2021-04-07T02:44:17.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:44:17.345Z] [2021-04-07T02:44:17.345Z] Login Succeeded [2021-04-07T02:44:17.345Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T02:44:17.361Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T02:44:17.835Z] ========================================================= [2021-04-07T02:44:17.835Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-07T02:44:17.835Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:44:18.208Z] + 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-07T02:44:18.809Z] Sending build context to Docker daemon 2.386MB [2021-04-07T02:44:18.809Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T02:44:18.809Z] Step 2/8 : FROM ${BASE} [2021-04-07T02:44:18.809Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-07T02:44:18.809Z] 5f621e34cdf4: Pulling fs layer [2021-04-07T02:44:18.809Z] a4357932f1b6: Pulling fs layer [2021-04-07T02:44:18.809Z] 18c013af1878: Pulling fs layer [2021-04-07T02:44:18.809Z] 00ac8860ef70: Pulling fs layer [2021-04-07T02:44:18.809Z] 63d7cb157983: Pulling fs layer [2021-04-07T02:44:18.809Z] b116817d02f9: Pulling fs layer [2021-04-07T02:44:18.809Z] 745a02a5169b: Pulling fs layer [2021-04-07T02:44:18.809Z] 00ac8860ef70: Waiting [2021-04-07T02:44:18.809Z] 63d7cb157983: Waiting [2021-04-07T02:44:18.809Z] b116817d02f9: Waiting [2021-04-07T02:44:18.809Z] 745a02a5169b: Waiting [2021-04-07T02:44:18.809Z] 18c013af1878: Verifying Checksum [2021-04-07T02:44:18.809Z] 18c013af1878: Download complete [2021-04-07T02:44:18.809Z] a4357932f1b6: Verifying Checksum [2021-04-07T02:44:18.809Z] a4357932f1b6: Download complete [2021-04-07T02:44:18.809Z] 63d7cb157983: Verifying Checksum [2021-04-07T02:44:18.809Z] 63d7cb157983: Download complete [2021-04-07T02:44:18.809Z] 5f621e34cdf4: Verifying Checksum [2021-04-07T02:44:18.809Z] b116817d02f9: Verifying Checksum [2021-04-07T02:44:18.809Z] b116817d02f9: Download complete [2021-04-07T02:44:19.408Z] 5f621e34cdf4: Pull complete [2021-04-07T02:44:20.028Z] a4357932f1b6: Pull complete [2021-04-07T02:44:20.722Z] 18c013af1878: Pull complete [2021-04-07T02:44:22.189Z] 745a02a5169b: Verifying Checksum [2021-04-07T02:44:22.189Z] 745a02a5169b: Download complete [2021-04-07T02:44:23.166Z] 00ac8860ef70: Verifying Checksum [2021-04-07T02:44:23.166Z] 00ac8860ef70: Download complete [2021-04-07T02:44:35.560Z] 00ac8860ef70: Pull complete [2021-04-07T02:44:35.560Z] 63d7cb157983: Pull complete [2021-04-07T02:44:35.560Z] b116817d02f9: Pull complete [2021-04-07T02:44:38.207Z] 745a02a5169b: Pull complete [2021-04-07T02:44:38.208Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-07T02:44:38.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-07T02:44:38.208Z] ---> b7e6874047d6 [2021-04-07T02:44:38.208Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T02:44:41.597Z] ---> Running in 4a294300e992 [2021-04-07T02:44:41.597Z] Removing intermediate container 4a294300e992 [2021-04-07T02:44:41.597Z] ---> 117dcd30b401 [2021-04-07T02:44:41.597Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T02:44:41.597Z] ---> Running in 93123bb73bd7 [2021-04-07T02:44:43.627Z] Removing intermediate container 93123bb73bd7 [2021-04-07T02:44:43.627Z] ---> 67d9a00beca6 [2021-04-07T02:44:43.627Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T02:44:43.901Z] ---> Running in 91704c776f57 [2021-04-07T02:44:44.874Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T02:44:45.843Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T02:44:46.114Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T02:44:46.384Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T02:44:46.384Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T02:44:46.384Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-07T02:44:46.658Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T02:44:46.658Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T02:44:46.927Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T02:44:46.927Z] OK: 144 MiB in 45 packages [2021-04-07T02:44:47.905Z] Removing intermediate container 91704c776f57 [2021-04-07T02:44:47.905Z] ---> 7d87057b3ab5 [2021-04-07T02:44:47.905Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T02:44:48.175Z] ---> Running in 06a39bad6f30 [2021-04-07T02:44:48.770Z] Removing intermediate container 06a39bad6f30 [2021-04-07T02:44:48.771Z] ---> 0771e8a757d2 [2021-04-07T02:44:48.771Z] Step 7/8 : COPY . . [2021-04-07T02:44:49.750Z] ---> f374286e9aeb [2021-04-07T02:44:49.750Z] Step 8/8 : RUN go mod download [2021-04-07T02:44:49.750Z] ---> Running in 1b46b5dc5a32 [2021-04-07T02:45:16.594Z] Removing intermediate container 1b46b5dc5a32 [2021-04-07T02:45:16.595Z] ---> 096401e0e548 [2021-04-07T02:45:16.595Z] Successfully built 096401e0e548 [2021-04-07T02:45:16.595Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:45:16.985Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T02:45:16.985Z] . [Pipeline] withDockerContainer [2021-04-07T02:45:17.278Z] prd-ubuntu18.04-docker-arm64-4c-16g-33101 does not seem to be running inside a container [2021-04-07T02:45:17.366Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-07T02:45:18.836Z] $ docker top 13955ddcee519f0ef05416b5099397dc295d183eeeada999de6d0fa5018e64f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T02:45:19.872Z] + go version [2021-04-07T02:45:19.872Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-07T02:45:19.889Z] $ docker stop --time=1 13955ddcee519f0ef05416b5099397dc295d183eeeada999de6d0fa5018e64f9 [2021-04-07T02:45:22.027Z] $ docker rm -f 13955ddcee519f0ef05416b5099397dc295d183eeeada999de6d0fa5018e64f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:45:23.059Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T02:45:23.060Z] . [Pipeline] withDockerContainer [2021-04-07T02:45:23.345Z] prd-ubuntu18.04-docker-arm64-4c-16g-33101 does not seem to be running inside a container [2021-04-07T02:45:23.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-07T02:45:25.007Z] $ docker top 4598924baea9a0edab67993a12366373ad26ca6a154a9f52018e5b1ae8073a2f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T02:45:26.110Z] + make test [2021-04-07T02:45:26.110Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T02:45:48.294Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T02:46:19.161Z] Running on prd-centos7-docker-4c-2g-33106 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-07T02:46:19.258Z] Running in /w/workspace/device-sdk-go/30 [Pipeline] { [Pipeline] checkout [2021-04-07T02:46:21.544Z] using credential edgex-jenkins-ssh [2021-04-07T02:46:21.595Z] Cloning the remote Git repository [2021-04-07T02:46:21.619Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T02:46:21.691Z] > git init /w/workspace/device-sdk-go/30 # timeout=10 [2021-04-07T02:46:21.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T02:46:21.751Z] > git --version # timeout=10 [2021-04-07T02:46:21.761Z] > git --version # 'git version 2.24.3' [2021-04-07T02:46:21.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T02:46:21.793Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T02:46:22.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T02:46:22.579Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T02:46:22.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T02:46:22.604Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T02:46:22.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T02:46:22.609Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T02:46:23.103Z] Merging remotes/origin/master commit 7565948cf2a22d3fef01b48e9653f9446226441c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-07T02:46:23.273Z] Merge succeeded, producing 70f917ecf9b3bb69595e3987a0da25e46e40f59d [2021-04-07T02:46:23.274Z] Checking out Revision 70f917ecf9b3bb69595e3987a0da25e46e40f59d (PR-725) [2021-04-07T02:46:23.110Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T02:46:23.116Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-07T02:46:23.166Z] > git remote # timeout=10 [2021-04-07T02:46:23.171Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T02:46:23.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T02:46:23.181Z] > git merge 7565948cf2a22d3fef01b48e9653f9446226441c # timeout=10 [2021-04-07T02:46:23.265Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T02:46:23.275Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T02:46:23.282Z] > git checkout -f 70f917ecf9b3bb69595e3987a0da25e46e40f59d # timeout=10 [2021-04-07T02:46:26.896Z] Commit message: "Merge commit '7565948cf2a22d3fef01b48e9653f9446226441c' into HEAD" [2021-04-07T02:46:26.912Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T02:46:26.900Z] > git rev-list --no-walk 2805920d8a105f762ab7e3ca530d3ad86fef2266 # timeout=10 [2021-04-07T02:46:28.256Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-07T02:46:28.593Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T02:46:28.899Z] + sudo service docker restart [2021-04-07T02:46:28.899Z] + true [2021-04-07T02:46:28.899Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T02:46:30.053Z] provisioning config files... [2021-04-07T02:46:30.099Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/30@tmp/config3846339045259732187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:46:30.452Z] ---> docker-login.sh [2021-04-07T02:46:30.452Z] nexus3.edgexfoundry.org:10001 [2021-04-07T02:46:30.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:46:30.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:46:30.979Z] Configure a credential helper to remove this warning. See [2021-04-07T02:46:30.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:46:30.979Z] [2021-04-07T02:46:30.979Z] Login Succeeded [2021-04-07T02:46:30.979Z] nexus3.edgexfoundry.org:10002 [2021-04-07T02:46:30.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:46:30.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:46:30.979Z] Configure a credential helper to remove this warning. See [2021-04-07T02:46:30.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:46:30.979Z] [2021-04-07T02:46:30.979Z] Login Succeeded [2021-04-07T02:46:30.979Z] nexus3.edgexfoundry.org:10003 [2021-04-07T02:46:31.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:46:31.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:46:31.242Z] Configure a credential helper to remove this warning. See [2021-04-07T02:46:31.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:46:31.242Z] [2021-04-07T02:46:31.242Z] Login Succeeded [2021-04-07T02:46:31.242Z] nexus3.edgexfoundry.org:10004 [2021-04-07T02:46:31.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:46:31.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:46:31.505Z] Configure a credential helper to remove this warning. See [2021-04-07T02:46:31.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:46:31.505Z] [2021-04-07T02:46:31.505Z] Login Succeeded [2021-04-07T02:46:31.505Z] docker.io [2021-04-07T02:46:31.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T02:46:31.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T02:46:31.768Z] Configure a credential helper to remove this warning. See [2021-04-07T02:46:31.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T02:46:31.768Z] [2021-04-07T02:46:31.768Z] Login Succeeded [2021-04-07T02:46:31.768Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T02:46:31.778Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T02:46:32.114Z] ========================================================= [2021-04-07T02:46:32.114Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-07T02:46:32.114Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:46:32.456Z] + 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-07T02:46:32.456Z] Sending build context to Docker daemon 2.387MB [2021-04-07T02:46:32.456Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T02:46:32.456Z] Step 2/8 : FROM ${BASE} [2021-04-07T02:46:32.720Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-07T02:46:32.720Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T02:46:32.720Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T02:46:32.720Z] de9db76c5a1d: Pulling fs layer [2021-04-07T02:46:32.720Z] bca2f99d35d6: Pulling fs layer [2021-04-07T02:46:32.720Z] 93359f2a8cfa: Pulling fs layer [2021-04-07T02:46:32.720Z] 7c6f9722023f: Pulling fs layer [2021-04-07T02:46:32.720Z] a35cf1a2eb13: Pulling fs layer [2021-04-07T02:46:32.720Z] 93359f2a8cfa: Waiting [2021-04-07T02:46:32.720Z] 7c6f9722023f: Waiting [2021-04-07T02:46:32.720Z] a35cf1a2eb13: Waiting [2021-04-07T02:46:32.720Z] bca2f99d35d6: Waiting [2021-04-07T02:46:32.720Z] de9db76c5a1d: Verifying Checksum [2021-04-07T02:46:32.720Z] de9db76c5a1d: Download complete [2021-04-07T02:46:32.720Z] 0ef7d3d256c8: Verifying Checksum [2021-04-07T02:46:32.720Z] 0ef7d3d256c8: Download complete [2021-04-07T02:46:32.720Z] 93359f2a8cfa: Verifying Checksum [2021-04-07T02:46:32.720Z] 93359f2a8cfa: Download complete [2021-04-07T02:46:32.983Z] 188c0c94c7c5: Verifying Checksum [2021-04-07T02:46:32.983Z] 7c6f9722023f: Verifying Checksum [2021-04-07T02:46:32.983Z] 7c6f9722023f: Download complete [2021-04-07T02:46:33.245Z] 188c0c94c7c5: Pull complete [2021-04-07T02:46:33.510Z] 0ef7d3d256c8: Pull complete [2021-04-07T02:46:33.510Z] de9db76c5a1d: Pull complete [2021-04-07T02:46:35.440Z] a35cf1a2eb13: Verifying Checksum [2021-04-07T02:46:35.440Z] a35cf1a2eb13: Download complete [2021-04-07T02:46:35.440Z] bca2f99d35d6: Download complete [2021-04-07T02:46:40.773Z] bca2f99d35d6: Pull complete [2021-04-07T02:46:40.773Z] 93359f2a8cfa: Pull complete [2021-04-07T02:46:40.773Z] 7c6f9722023f: Pull complete [2021-04-07T02:46:44.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T02:46:44.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T02:46:44.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T02:46:44.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T02:46:44.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T02:46:47.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.129s coverage: 28.1% of statements [2021-04-07T02:46:47.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.166s coverage: 78.9% of statements [2021-04-07T02:46:47.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.150s coverage: 7.8% of statements [2021-04-07T02:46:47.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T02:46:47.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T02:46:47.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T02:46:48.947Z] a35cf1a2eb13: Pull complete [2021-04-07T02:46:48.947Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-07T02:46:48.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-07T02:46:48.947Z] ---> a62c8e92a672 [2021-04-07T02:46:48.947Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T02:46:49.211Z] ---> Running in 1204930f315a [2021-04-07T02:46:49.478Z] Removing intermediate container 1204930f315a [2021-04-07T02:46:49.478Z] ---> 663e826fff17 [2021-04-07T02:46:49.478Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T02:46:49.478Z] ---> Running in dad815a588af [2021-04-07T02:46:49.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.308s coverage: 32.5% of statements [2021-04-07T02:46:49.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T02:46:49.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T02:46:49.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T02:46:50.429Z] Removing intermediate container dad815a588af [2021-04-07T02:46:50.429Z] ---> e11522e56b2b [2021-04-07T02:46:50.429Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T02:46:50.429Z] ---> Running in 37d929a3a73c [2021-04-07T02:46:51.003Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T02:46:51.581Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T02:46:52.154Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T02:46:52.154Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T02:46:52.154Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T02:46:52.417Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-07T02:46:52.417Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T02:46:52.417Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T02:46:52.686Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T02:46:52.686Z] OK: 167 MiB in 45 packages [2021-04-07T02:46:53.260Z] Removing intermediate container 37d929a3a73c [2021-04-07T02:46:53.260Z] ---> 4674e4fb3ddc [2021-04-07T02:46:53.260Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T02:46:53.260Z] ---> Running in 45e06e506452 [2021-04-07T02:46:53.522Z] Removing intermediate container 45e06e506452 [2021-04-07T02:46:53.522Z] ---> 06a85f068126 [2021-04-07T02:46:53.522Z] Step 7/8 : COPY . . [2021-04-07T02:46:54.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.241s coverage: 57.3% of statements [2021-04-07T02:46:54.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.098s coverage: 6.6% of statements [2021-04-07T02:46:54.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-04-07T02:46:54.140Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T02:46:54.140Z] GO111MODULE=on go vet ./... [2021-04-07T02:46:54.481Z] ---> 318df5b5bed7 [2021-04-07T02:46:54.481Z] Step 8/8 : RUN go mod download [2021-04-07T02:46:54.746Z] ---> Running in fe954314680e [2021-04-07T02:47:16.775Z] Removing intermediate container fe954314680e [2021-04-07T02:47:16.775Z] ---> aceb3e652308 [2021-04-07T02:47:16.775Z] Successfully built aceb3e652308 [2021-04-07T02:47:16.775Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:47:17.095Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T02:47:17.095Z] . [Pipeline] withDockerContainer [2021-04-07T02:47:17.310Z] prd-centos7-docker-4c-2g-33106 does not seem to be running inside a container [2021-04-07T02:47:17.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@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-x86_64 cat [2021-04-07T02:47:18.571Z] $ docker top 836bd3135e92f7e49588b066d574482d2f5a5ef214c73b5c9088c52b63286ca2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T02:47:19.093Z] + go version [2021-04-07T02:47:19.093Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-07T02:47:19.110Z] $ docker stop --time=1 836bd3135e92f7e49588b066d574482d2f5a5ef214c73b5c9088c52b63286ca2 [2021-04-07T02:47:20.465Z] $ docker rm -f 836bd3135e92f7e49588b066d574482d2f5a5ef214c73b5c9088c52b63286ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:47:21.457Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T02:47:21.457Z] . [Pipeline] withDockerContainer [2021-04-07T02:47:21.555Z] prd-centos7-docker-4c-2g-33106 does not seem to be running inside a container [2021-04-07T02:47:21.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@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-x86_64 cat [2021-04-07T02:47:22.286Z] $ docker top d6b35a2da2cc98260e65b54646a4576cc09f8c23773c4a6235e6c4103099b0d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T02:47:22.960Z] + make test [2021-04-07T02:47:22.960Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T02:47:31.292Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T02:47:41.136Z] gofmt -l . [2021-04-07T02:47:41.136Z] [ "`gofmt -l .`" = "" ] [2021-04-07T02:47:41.136Z] ./bin/test-attribution-txt.sh [2021-04-07T02:47:41.136Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T02:47:41.155Z] $ docker stop --time=1 4598924baea9a0edab67993a12366373ad26ca6a154a9f52018e5b1ae8073a2f [2021-04-07T02:47:43.499Z] $ docker rm -f 4598924baea9a0edab67993a12366373ad26ca6a154a9f52018e5b1ae8073a2f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T02:47:44.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T02:47:45.800Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T02:47:48.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T02:47:49.115Z] + ls -al . [2021-04-07T02:47:49.116Z] total 224 [2021-04-07T02:47:49.116Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 02:47 . [2021-04-07T02:47:49.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:44 .. [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 02:44 .dockerignore [2021-04-07T02:47:49.116Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 02:44 .git [2021-04-07T02:47:49.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:44 .github [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 7 02:44 .gitignore [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 7 02:44 Dockerfile.build [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 894 Apr 7 02:44 Jenkinsfile [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 02:44 LICENSE [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 7 02:44 Makefile [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 7 02:44 README.md [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 7 02:44 RELEASE-NOTES.txt [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 02:43 VERSION [2021-04-07T02:47:49.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:44 bin [2021-04-07T02:47:49.116Z] -rw-r--r-- 1 jenkins jenkins 99189 Apr 7 02:46 coverage.out [2021-04-07T02:47:49.116Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 02:44 example [2021-04-07T02:47:49.116Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 7 02:47 go.mod [2021-04-07T02:47:49.116Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 7 02:47 go.sum [2021-04-07T02:47:49.116Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 02:44 internal [2021-04-07T02:47:49.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:44 openapi [2021-04-07T02:47:49.116Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 02:44 pkg [2021-04-07T02:47:49.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:44 snap [2021-04-07T02:47:49.116Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:47:49.485Z] + docker build -t 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=f437281f1477c7681aed980e8d1e4874309ed8ba --label arch=arm64 --label version=0.0.0 . [2021-04-07T02:47:49.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T02:47:49.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T02:47:49.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T02:47:49.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T02:47:49.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T02:47:49.775Z] Sending build context to Docker daemon 2.486MB [2021-04-07T02:47:50.050Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T02:47:50.050Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T02:47:50.050Z] ---> 096401e0e548 [2021-04-07T02:47:50.050Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T02:47:50.050Z] ---> Running in 2a529fa23583 [2021-04-07T02:47:50.647Z] Removing intermediate container 2a529fa23583 [2021-04-07T02:47:50.647Z] ---> 480d428af79c [2021-04-07T02:47:50.647Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T02:47:50.920Z] ---> Running in a1b7bdb7ba82 [2021-04-07T02:47:51.222Z] Removing intermediate container a1b7bdb7ba82 [2021-04-07T02:47:51.222Z] ---> 08dbcfc95c0f [2021-04-07T02:47:51.222Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T02:47:51.222Z] ---> Running in 1b24652e5ad4 [2021-04-07T02:47:52.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.079s coverage: 28.1% of statements [2021-04-07T02:47:52.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.096s coverage: 78.9% of statements [2021-04-07T02:47:53.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.060s coverage: 7.8% of statements [2021-04-07T02:47:53.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T02:47:53.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T02:47:53.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T02:47:53.205Z] Removing intermediate container 1b24652e5ad4 [2021-04-07T02:47:53.205Z] ---> ba44694686f4 [2021-04-07T02:47:53.205Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T02:47:53.479Z] ---> Running in fdaaa7f419e1 [2021-04-07T02:47:53.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 32.5% of statements [2021-04-07T02:47:53.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T02:47:53.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T02:47:53.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T02:47:53.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 57.3% of statements [2021-04-07T02:47:54.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.230s coverage: 6.6% of statements [2021-04-07T02:47:54.468Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T02:47:54.543Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-07T02:47:54.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T02:47:54.807Z] GO111MODULE=on go vet ./... [2021-04-07T02:47:55.440Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T02:47:56.033Z] OK: 144 MiB in 45 packages [2021-04-07T02:47:57.013Z] Removing intermediate container fdaaa7f419e1 [2021-04-07T02:47:57.014Z] ---> 298a73deb16e [2021-04-07T02:47:57.014Z] Step 7/23 : COPY . . [2021-04-07T02:47:58.442Z] ---> 4b58e183ec76 [2021-04-07T02:47:58.442Z] Step 8/23 : RUN go mod download [2021-04-07T02:47:58.442Z] ---> Running in e447b1a76b73 [2021-04-07T02:48:01.058Z] Removing intermediate container e447b1a76b73 [2021-04-07T02:48:01.058Z] ---> fa0e74446f50 [2021-04-07T02:48:01.058Z] Step 9/23 : RUN make build [2021-04-07T02:48:01.058Z] ---> Running in 70aed6b36d8f [2021-04-07T02:48:01.647Z] 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-07T02:48:13.094Z] gofmt -l . [2021-04-07T02:48:13.094Z] [ "`gofmt -l .`" = "" ] [2021-04-07T02:48:13.094Z] ./bin/test-attribution-txt.sh [2021-04-07T02:48:13.094Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T02:48:13.119Z] $ docker stop --time=1 d6b35a2da2cc98260e65b54646a4576cc09f8c23773c4a6235e6c4103099b0d0 [2021-04-07T02:48:14.814Z] $ docker rm -f d6b35a2da2cc98260e65b54646a4576cc09f8c23773c4a6235e6c4103099b0d0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T02:48:15.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T02:48:15.594Z] Warning: overwriting stash ‘coverage-report’ [2021-04-07T02:48:15.935Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-07T02:48:16.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T02:48:16.813Z] + ls -al . [2021-04-07T02:48:16.813Z] total 188 [2021-04-07T02:48:16.813Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 7 02:48 . [2021-04-07T02:48:16.813Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 7 02:46 .. [2021-04-07T02:48:16.813Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 02:46 bin [2021-04-07T02:48:16.813Z] -rw-r--r--. 1 jenkins jenkins 99189 Apr 7 02:47 coverage.out [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 7 02:46 Dockerfile.build [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 02:46 .dockerignore [2021-04-07T02:48:16.813Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 7 02:46 example [2021-04-07T02:48:16.813Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 02:46 .git [2021-04-07T02:48:16.813Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 02:46 .github [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 7 02:46 .gitignore [2021-04-07T02:48:16.813Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 7 02:48 go.mod [2021-04-07T02:48:16.813Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 7 02:48 go.sum [2021-04-07T02:48:16.813Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 7 02:46 internal [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 894 Apr 7 02:46 Jenkinsfile [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 7 02:46 LICENSE [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 7 02:46 Makefile [2021-04-07T02:48:16.813Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 7 02:46 openapi [2021-04-07T02:48:16.813Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 7 02:46 pkg [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 7 02:46 README.md [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 7 02:46 RELEASE-NOTES.txt [2021-04-07T02:48:16.813Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 02:46 snap [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 02:43 VERSION [2021-04-07T02:48:16.813Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 7 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:48:17.116Z] + docker build -t 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=f437281f1477c7681aed980e8d1e4874309ed8ba --label arch=amd64 --label version=0.0.0 . [2021-04-07T02:48:17.380Z] Sending build context to Docker daemon 2.487MB [2021-04-07T02:48:17.380Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T02:48:17.380Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T02:48:17.380Z] ---> aceb3e652308 [2021-04-07T02:48:17.380Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T02:48:18.332Z] ---> Running in 949a27e0f0af [2021-04-07T02:48:18.332Z] Removing intermediate container 949a27e0f0af [2021-04-07T02:48:18.332Z] ---> d824acf97633 [2021-04-07T02:48:18.332Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T02:48:18.596Z] ---> Running in bdd4787a51d7 [2021-04-07T02:48:18.596Z] Removing intermediate container bdd4787a51d7 [2021-04-07T02:48:18.596Z] ---> e29c7275e624 [2021-04-07T02:48:18.596Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T02:48:18.859Z] ---> Running in 0a948be85d51 [2021-04-07T02:48:19.815Z] Removing intermediate container 0a948be85d51 [2021-04-07T02:48:19.815Z] ---> 5a7ae9baf20e [2021-04-07T02:48:19.815Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T02:48:19.815Z] ---> Running in 1d7eacd264d6 [2021-04-07T02:48:20.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T02:48:21.024Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T02:48:21.287Z] OK: 167 MiB in 45 packages [2021-04-07T02:48:21.876Z] Removing intermediate container 1d7eacd264d6 [2021-04-07T02:48:21.877Z] ---> 1c917193ea2c [2021-04-07T02:48:21.877Z] Step 7/23 : COPY . . [2021-04-07T02:48:22.831Z] ---> 356106d04bad [2021-04-07T02:48:22.831Z] Step 8/23 : RUN go mod download [2021-04-07T02:48:22.831Z] ---> Running in e143126a5513 [2021-04-07T02:48:24.229Z] Removing intermediate container e143126a5513 [2021-04-07T02:48:24.229Z] ---> d3247252742c [2021-04-07T02:48:24.229Z] Step 9/23 : RUN make build [2021-04-07T02:48:24.229Z] ---> Running in 1a99f5e8fa2a [2021-04-07T02:48:24.491Z] 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-07T02:48:34.041Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T02:48:34.641Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T02:48:36.565Z] Removing intermediate container 1a99f5e8fa2a [2021-04-07T02:48:36.565Z] ---> f169087fec3b [2021-04-07T02:48:36.565Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T02:48:37.139Z] 3.12: Pulling from library/alpine [2021-04-07T02:48:37.402Z] 532819f3e44c: Pulling fs layer [2021-04-07T02:48:37.402Z] 532819f3e44c: Verifying Checksum [2021-04-07T02:48:37.402Z] 532819f3e44c: Download complete [2021-04-07T02:48:37.417Z] Removing intermediate container 70aed6b36d8f [2021-04-07T02:48:37.417Z] ---> 3e7b15bc26b6 [2021-04-07T02:48:37.417Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T02:48:37.417Z] 3.12: Pulling from library/alpine [2021-04-07T02:48:37.417Z] 9a219e8acc52: Pulling fs layer [2021-04-07T02:48:37.664Z] 532819f3e44c: Pull complete [2021-04-07T02:48:37.664Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T02:48:37.664Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T02:48:37.664Z] ---> 7230e588e954 [2021-04-07T02:48:37.664Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T02:48:37.690Z] 9a219e8acc52: Verifying Checksum [2021-04-07T02:48:37.690Z] 9a219e8acc52: Download complete [2021-04-07T02:48:37.944Z] ---> Running in de096d968438 [2021-04-07T02:48:37.944Z] Removing intermediate container de096d968438 [2021-04-07T02:48:37.944Z] ---> 28e7d9399e99 [2021-04-07T02:48:37.944Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T02:48:37.944Z] ---> Running in 54b05c0fbbf7 [2021-04-07T02:48:38.288Z] 9a219e8acc52: Pull complete [2021-04-07T02:48:38.288Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T02:48:38.288Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T02:48:38.288Z] ---> d75e27dfc0a0 [2021-04-07T02:48:38.288Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T02:48:38.558Z] ---> Running in 1fca153069af [2021-04-07T02:48:38.831Z] Removing intermediate container 1fca153069af [2021-04-07T02:48:38.831Z] ---> 95a99ba62a2d [2021-04-07T02:48:38.831Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T02:48:39.105Z] ---> Running in f5d545b6b6ff [2021-04-07T02:48:39.342Z] Removing intermediate container 54b05c0fbbf7 [2021-04-07T02:48:39.342Z] ---> bfe4d8c9199e [2021-04-07T02:48:39.342Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T02:48:39.342Z] ---> Running in 616e9b5ca9b6 [2021-04-07T02:48:39.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T02:48:40.178Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T02:48:40.751Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T02:48:40.751Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T02:48:40.751Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T02:48:41.017Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T02:48:41.017Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T02:48:41.069Z] Removing intermediate container f5d545b6b6ff [2021-04-07T02:48:41.069Z] ---> 5ac6afb087e7 [2021-04-07T02:48:41.069Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T02:48:41.279Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T02:48:41.279Z] OK: 8 MiB in 19 packages [2021-04-07T02:48:41.349Z] ---> Running in d4ff927e370c [2021-04-07T02:48:41.853Z] Removing intermediate container 616e9b5ca9b6 [2021-04-07T02:48:41.853Z] ---> b4f39dfc31a6 [2021-04-07T02:48:41.853Z] Step 14/23 : WORKDIR / [2021-04-07T02:48:41.853Z] ---> Running in 59594b633e91 [2021-04-07T02:48:41.853Z] Removing intermediate container 59594b633e91 [2021-04-07T02:48:41.853Z] ---> 65d0ed0bddc6 [2021-04-07T02:48:41.853Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T02:48:42.116Z] ---> 003794d9c499 [2021-04-07T02:48:42.116Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T02:48:42.323Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T02:48:42.696Z] ---> 6d8e40ec11fa [2021-04-07T02:48:42.697Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T02:48:42.962Z] ---> 61e70f5751ac [2021-04-07T02:48:42.962Z] Step 18/23 : EXPOSE 49990 [2021-04-07T02:48:42.962Z] ---> Running in 5fa5927a5428 [2021-04-07T02:48:43.224Z] Removing intermediate container 5fa5927a5428 [2021-04-07T02:48:43.224Z] ---> efb2ae48fe1c [2021-04-07T02:48:43.224Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T02:48:43.224Z] ---> Running in 28c5dd817b8f [2021-04-07T02:48:43.291Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T02:48:43.485Z] Removing intermediate container 28c5dd817b8f [2021-04-07T02:48:43.485Z] ---> 9c80c04f3b07 [2021-04-07T02:48:43.485Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T02:48:43.485Z] ---> Running in b480a35ba10b [2021-04-07T02:48:43.751Z] Removing intermediate container b480a35ba10b [2021-04-07T02:48:43.751Z] ---> a0897bf5454f [2021-04-07T02:48:43.751Z] Step 21/23 : LABEL arch=amd64 [2021-04-07T02:48:43.751Z] ---> Running in fb2948607c28 [2021-04-07T02:48:43.751Z] Removing intermediate container fb2948607c28 [2021-04-07T02:48:43.751Z] ---> 27c4604bea28 [2021-04-07T02:48:43.751Z] Step 22/23 : LABEL git_sha=f437281f1477c7681aed980e8d1e4874309ed8ba [2021-04-07T02:48:43.885Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T02:48:43.885Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T02:48:43.885Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T02:48:44.013Z] ---> Running in ed3bec8c5615 [2021-04-07T02:48:44.013Z] Removing intermediate container ed3bec8c5615 [2021-04-07T02:48:44.013Z] ---> cf0b3afedc97 [2021-04-07T02:48:44.013Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T02:48:44.159Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T02:48:44.159Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T02:48:44.159Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T02:48:44.277Z] ---> Running in 1c1d99b1eeac [2021-04-07T02:48:44.277Z] Removing intermediate container 1c1d99b1eeac [2021-04-07T02:48:44.277Z] ---> ebfac1230177 [2021-04-07T02:48:44.277Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T02:48:44.277Z] Successfully built ebfac1230177 [2021-04-07T02:48:44.277Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-04-07T02:48:44.433Z] OK: 8 MiB in 19 packages 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-07T02:48:45.289Z] ---> job-cost.sh [2021-04-07T02:48:45.289Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rwSi [2021-04-07T02:48:45.867Z] Removing intermediate container d4ff927e370c [2021-04-07T02:48:45.867Z] ---> b6021bafa201 [2021-04-07T02:48:45.867Z] Step 14/23 : WORKDIR / [2021-04-07T02:48:45.867Z] ---> Running in 85292904eb45 [2021-04-07T02:48:46.150Z] Removing intermediate container 85292904eb45 [2021-04-07T02:48:46.150Z] ---> b40aad848398 [2021-04-07T02:48:46.150Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T02:48:47.127Z] ---> 79b0f3a88587 [2021-04-07T02:48:47.127Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T02:48:48.103Z] ---> 8eb60a968182 [2021-04-07T02:48:48.103Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T02:48:49.076Z] ---> b1b4b2921c4b [2021-04-07T02:48:49.076Z] Step 18/23 : EXPOSE 49990 [2021-04-07T02:48:49.076Z] ---> Running in c07dfaac77eb [2021-04-07T02:48:49.346Z] Removing intermediate container c07dfaac77eb [2021-04-07T02:48:49.346Z] ---> 182f051d5d0d [2021-04-07T02:48:49.346Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T02:48:49.619Z] ---> Running in 88c5f7356ad7 [2021-04-07T02:48:49.889Z] Removing intermediate container 88c5f7356ad7 [2021-04-07T02:48:49.889Z] ---> 1046e67e7fb6 [2021-04-07T02:48:49.889Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T02:48:50.160Z] ---> Running in be409b98093b [2021-04-07T02:48:50.751Z] Removing intermediate container be409b98093b [2021-04-07T02:48:50.751Z] ---> db86b75d95d8 [2021-04-07T02:48:50.751Z] Step 21/23 : LABEL arch=arm64 [2021-04-07T02:48:50.751Z] ---> Running in fe4401c5c7b8 [2021-04-07T02:48:51.350Z] Removing intermediate container fe4401c5c7b8 [2021-04-07T02:48:51.350Z] ---> 75f01b84fcd5 [2021-04-07T02:48:51.350Z] Step 22/23 : LABEL git_sha=f437281f1477c7681aed980e8d1e4874309ed8ba [2021-04-07T02:48:51.350Z] ---> Running in 26c75ba2d39d [2021-04-07T02:48:51.942Z] Removing intermediate container 26c75ba2d39d [2021-04-07T02:48:51.942Z] ---> b33c1c8d84e8 [2021-04-07T02:48:51.942Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T02:48:51.942Z] ---> Running in 329929ef447b [2021-04-07T02:48:52.214Z] Removing intermediate container 329929ef447b [2021-04-07T02:48:52.214Z] ---> 2406097ec2ce [2021-04-07T02:48:52.214Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-07T02:48:52.483Z] Successfully built 2406097ec2ce [2021-04-07T02:48:52.483Z] Successfully tagged 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-07T02:48:53.308Z] ---> job-cost.sh [2021-04-07T02:48:53.308Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qMwM [2021-04-07T02:49:00.233Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T02:49:26.850Z] lf-activate-venv(): INFO: Adding /tmp/venv-rwSi/bin to PATH [2021-04-07T02:49:26.850Z] INFO: No Stack... [2021-04-07T02:49:27.111Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T02:49:27.687Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T02:49:27.997Z] + cut -d, -f6 [2021-04-07T02:49:27.997Z] + cat /w/workspace/device-sdk-go/30/archives/cost.csv [Pipeline] lock [2021-04-07T02:49:28.074Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] [2021-04-07T02:49:28.083Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] did not exist. Created. [2021-04-07T02:49:28.083Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T02:49:28.480Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-07T02:49:28.628Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T02:49:28.639Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-07T02:49:32.243Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T02:51:08.969Z] lf-activate-venv(): INFO: Adding /tmp/venv-qMwM/bin to PATH [2021-04-07T02:51:08.969Z] INFO: No Stack... [2021-04-07T02:51:08.969Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-07T02:51:08.969Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T02:51:09.308Z] + cat /w/workspace/device-sdk-go/30/archives/cost.csv [2021-04-07T02:51:09.309Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T02:51:09.428Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] [2021-04-07T02:51:09.437Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] did not exist. Created. [2021-04-07T02:51:09.437Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T02:51:09.891Z] /w/workspace/device-sdk-go/30@tmp/durable-d53d0e46/script.sh: 1: /w/workspace/device-sdk-go/30@tmp/durable-d53d0e46/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-07T02:51:10.254Z] + echo total: 0.4099999964237213 [Pipeline] stash [2021-04-07T02:51:10.330Z] Warning: overwriting stash ‘stack-cost’ [2021-04-07T02:51:10.504Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T02:51:10.518Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-30-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-07T02:51:12.411Z] provisioning config files... [2021-04-07T02:51:12.529Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8717367998957899288tmp [Pipeline] { [Pipeline] sh [2021-04-07T02:51:13.407Z] + set +x [2021-04-07T02:51:13.407Z] + curl -s https://codecov.io/bash [2021-04-07T02:51:13.407Z] + bash -s -- [2021-04-07T02:51:13.684Z] [2021-04-07T02:51:13.684Z] _____ _ [2021-04-07T02:51:13.684Z] / ____| | | [2021-04-07T02:51:13.684Z] | | ___ __| | ___ ___ _____ __ [2021-04-07T02:51:13.684Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-07T02:51:13.684Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-07T02:51:13.684Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-07T02:51:13.684Z] Bash-20210309-2b87ace [2021-04-07T02:51:13.684Z] [2021-04-07T02:51:13.684Z] [2021-04-07T02:51:13.684Z] ==> git version 2.24.3 found [2021-04-07T02:51:14.026Z] ==> 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-07T02:51:14.026Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-07T02:51:14.026Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-07T02:51:14.026Z] ==> Jenkins CI detected. [2021-04-07T02:51:14.026Z] project root: . [2021-04-07T02:51:14.026Z] --> token set from env [2021-04-07T02:51:14.026Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-07T02:51:14.026Z] ==> Running gcov in . (disable via -X gcov) [2021-04-07T02:51:14.026Z] ==> Python coveragepy not found [2021-04-07T02:51:14.026Z] ==> Searching for coverage reports in: [2021-04-07T02:51:14.026Z] + . [2021-04-07T02:51:14.321Z] -> Found 1 reports [2021-04-07T02:51:14.321Z] ==> Detecting git/mercurial file structure [2021-04-07T02:51:14.321Z] ==> Reading reports [2021-04-07T02:51:14.321Z] + ./coverage.out bytes=99189 [2021-04-07T02:51:14.321Z] ==> Appending adjustments [2021-04-07T02:51:14.321Z] https://docs.codecov.io/docs/fixing-reports [2021-04-07T02:51:15.035Z] + Found adjustments [2021-04-07T02:51:15.035Z] ==> Gzipping contents [2021-04-07T02:51:15.333Z] 16K /tmp/codecov.V3G8W8.gz [2021-04-07T02:51:15.333Z] ==> Uploading reports [2021-04-07T02:51:15.333Z] url: https://codecov.io [2021-04-07T02:51:15.333Z] query: branch=PR-725&commit=f437281f1477c7681aed980e8d1e4874309ed8ba&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-07T02:51:15.333Z] -> Pinging Codecov [2021-04-07T02:51:15.333Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=f437281f1477c7681aed980e8d1e4874309ed8ba&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-07T02:51:16.108Z] -> Uploading to [2021-04-07T02:51:16.108Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-07/7E55EF52A471D76F132DFD9A03CDDE97/f437281f1477c7681aed980e8d1e4874309ed8ba/693af3a4-efed-4067-b4d6-885e7cf1b9d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T025115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cae28447ca82129d41520183f9e21c11089ee73d6d6265d0024b80d79b760da [2021-04-07T02:51:16.108Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-07T02:51:16.108Z] Dload Upload Total Spent Left Speed [2021-04-07T02:51:16.804Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13430 0 0 100 13430 0 16737 --:--:-- --:--:-- --:--:-- 16724 [2021-04-07T02:51:16.804Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f437281f1477c7681aed980e8d1e4874309ed8ba [Pipeline] } [2021-04-07T02:51:16.852Z] 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-07T02:51:21.158Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:51:22.307Z] ---> package-listing.sh [2021-04-07T02:51:22.307Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T02:51:22.307Z] ++ facter osfamily [2021-04-07T02:51:22.669Z] + OS_FAMILY=redhat [2021-04-07T02:51:22.669Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-07T02:51:22.669Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T02:51:22.669Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T02:51:22.669Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T02:51:22.669Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T02:51:22.669Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-07T02:51:22.669Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T02:51:22.669Z] + case "${OS_FAMILY}" in [2021-04-07T02:51:22.669Z] + rpm -qa [2021-04-07T02:51:22.669Z] + sort [2021-04-07T02:51:33.552Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T02:51:33.552Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T02:51:33.552Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T02:51:33.552Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-07T02:51:33.552Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-04-07T02:51:33.552Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-04-07T02:51:33.757Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-07T02:51:34.434Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:51:35.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T02:51:36.267Z] [2021-04-07T02:51:36.267Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T02:51:36.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T02:51:36.855Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T02:51:36.855Z] df20fa9351a1: Pulling fs layer [2021-04-07T02:51:36.855Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T02:51:36.855Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T02:51:36.855Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T02:51:36.855Z] 93b61091891f: Pulling fs layer [2021-04-07T02:51:36.855Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T02:51:36.855Z] 5e14af77c1be: Pulling fs layer [2021-04-07T02:51:36.855Z] 01666e4c0597: Pulling fs layer [2021-04-07T02:51:36.855Z] aa168da1d23b: Pulling fs layer [2021-04-07T02:51:36.855Z] 93b9cdb0e59b: Waiting [2021-04-07T02:51:36.855Z] 5e14af77c1be: Waiting [2021-04-07T02:51:36.855Z] 01666e4c0597: Waiting [2021-04-07T02:51:36.855Z] aa168da1d23b: Waiting [2021-04-07T02:51:36.855Z] 46f8f816bc3b: Waiting [2021-04-07T02:51:36.855Z] 93b61091891f: Waiting [2021-04-07T02:51:37.153Z] 36b3adc4ff6f: Verifying Checksum [2021-04-07T02:51:37.153Z] 36b3adc4ff6f: Download complete [2021-04-07T02:51:37.500Z] 46f8f816bc3b: Verifying Checksum [2021-04-07T02:51:37.500Z] 46f8f816bc3b: Download complete [2021-04-07T02:51:37.817Z] 93b61091891f: Verifying Checksum [2021-04-07T02:51:37.817Z] 93b61091891f: Download complete [2021-04-07T02:51:37.817Z] 93b9cdb0e59b: Verifying Checksum [2021-04-07T02:51:37.817Z] 93b9cdb0e59b: Download complete [2021-04-07T02:51:37.817Z] 5e14af77c1be: Verifying Checksum [2021-04-07T02:51:37.817Z] 5e14af77c1be: Download complete [2021-04-07T02:51:37.817Z] df20fa9351a1: Verifying Checksum [2021-04-07T02:51:37.817Z] df20fa9351a1: Download complete [2021-04-07T02:51:37.817Z] 01666e4c0597: Verifying Checksum [2021-04-07T02:51:37.817Z] 01666e4c0597: Download complete [2021-04-07T02:51:39.846Z] df20fa9351a1: Pull complete [2021-04-07T02:51:40.189Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T02:51:40.189Z] 8ad3a11d3b57: Download complete [2021-04-07T02:51:40.534Z] 36b3adc4ff6f: Pull complete [2021-04-07T02:51:43.241Z] 8ad3a11d3b57: Pull complete [2021-04-07T02:51:44.434Z] 46f8f816bc3b: Pull complete [2021-04-07T02:51:46.037Z] 93b61091891f: Pull complete [2021-04-07T02:51:47.253Z] 93b9cdb0e59b: Pull complete [2021-04-07T02:51:47.536Z] 5e14af77c1be: Pull complete [2021-04-07T02:51:47.827Z] 01666e4c0597: Pull complete [2021-04-07T02:51:50.654Z] aa168da1d23b: Verifying Checksum [2021-04-07T02:51:50.654Z] aa168da1d23b: Download complete [2021-04-07T02:52:24.138Z] aa168da1d23b: Pull complete [2021-04-07T02:52:24.138Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T02:52:24.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T02:52:24.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T02:52:25.406Z] prd-centos7-docker-4c-2g-33104 does not seem to be running inside a container [2021-04-07T02:52:25.778Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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-07T02:52:29.187Z] $ docker top ebfdf159009fb092d5308820e3825094f95ae279465fc4b898ff52683a709091 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T02:52:30.484Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T02:52:31.441Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T02:52:32.101Z] + ls /var/log/sa-host [2021-04-07T02:52:32.101Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T02:52:32.101Z] file_magic: OK [2021-04-07T02:52:32.101Z] HZ: Using current value: 100 [2021-04-07T02:52:32.101Z] file_header: OK [2021-04-07T02:52:32.102Z] 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-07T02:52:32.102Z] Statistics: [2021-04-07T02:52:32.102Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T02:52:32.102Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T02:52:32.102Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T02:52:32.102Z] file_magic: OK [2021-04-07T02:52:32.102Z] HZ: Using current value: 100 [2021-04-07T02:52:32.102Z] file_header: OK [2021-04-07T02:52:32.102Z] 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-07T02:52:32.102Z] Statistics: [2021-04-07T02:52:32.102Z] Hnuu...uuuununununu... [2021-04-07T02:52:32.102Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T02:52:32.873Z] provisioning config files... [2021-04-07T02:52:33.111Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2439989139675531388tmp [Pipeline] { [Pipeline] echo [2021-04-07T02:52:33.280Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:52:34.292Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T02:52:34.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T02:52:34.418Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:52:35.903Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T02:52:35.940Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:52:36.821Z] ---> sudo-logs.sh [2021-04-07T02:52:36.822Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T02:52:37.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:52:39.095Z] ---> job-cost.sh [2021-04-07T02:52:39.095Z] lf-activate-venv: SKIPPING [2021-04-07T02:52:39.095Z] DEBUG: total: 0.4099999964237213 [2021-04-07T02:52:39.095Z] INFO: Retrieving Stack Cost... [2021-04-07T02:52:41.246Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T02:52:42.124Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T02:52:42.155Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T02:52:43.848Z] ---> logs-deploy.sh [2021-04-07T02:52:43.848Z] lf-activate-venv: SKIPPING [2021-04-07T02:52:43.848Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/30 [2021-04-07T02:52:43.848Z] INFO: archiving workspace using pattern(s): [2021-04-07T02:52:47.658Z] Archives upload complete. [2021-04-07T02:52:47.658Z] INFO: archiving logs to Nexus