Pull request #844 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c8fd14d44e3511f1fc42d47f205efd4689f12aac+666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 (fa4b9a4eac1df96a6c58aed33be72bbaa769ab1c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32459 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [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-844 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit c8fd14d44e3511f1fc42d47f205efd4689f12aac Merge succeeded, producing c8fd14d44e3511f1fc42d47f205efd4689f12aac Checking out Revision c8fd14d44e3511f1fc42d47f205efd4689f12aac (PR-844) > git config core.sparsecheckout # timeout=10 > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 Commit message: "feat: add capability to load devices from directory" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-01T12:24:05.739Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 0a2987b4589b813d1d3ff1f40d1ad7d23589abff # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-01T12:24:06.060Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-01T12:24:06.169Z] ========================================================= [2021-04-01T12:24:06.169Z] EdgeX Global Pipelines Version Info [2021-04-01T12:24:06.169Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:24:07.600Z] ------------------- [2021-04-01T12:24:07.600Z] stable info: [2021-04-01T12:24:07.600Z] ------------------- [2021-04-01T12:24:07.600Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-01T12:24:07.600Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-01T12:24:07.600Z] Message: update stable to v1.0.186 [2021-04-01T12:24:08.547Z] ------------------- [2021-04-01T12:24:08.547Z] experimental info: [2021-04-01T12:24:08.547Z] ------------------- [2021-04-01T12:24:08.547Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-01T12:24:08.547Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-01T12:24:08.547Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-01T12:24:08.829Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-01T12:24:08.929Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-01T12:24:09.081Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-01T12:24:09.196Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-01T12:24:09.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-01T12:24:09.429Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-01T12:24:09.538Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-01T12:24:09.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-01T12:24:09.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-01T12:24:09.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-01T12:24:09.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-01T12:24:10.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-01T12:24:10.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-01T12:24:10.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-01T12:24:10.460Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-01T12:24:10.608Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T12:24:10.739Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T12:24:10.905Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-01T12:24:10.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-01T12:24:11.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-01T12:24:11.233Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-01T12:24:11.326Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-01T12:24:11.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-01T12:24:11.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-01T12:24:11.657Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-01T12:24:11.772Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-01T12:24:11.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo [2021-04-01T12:24:12.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo [2021-04-01T12:24:12.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo [2021-04-01T12:24:12.189Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8fd14d44e3511f1fc42d47f205efd4689f12aac [Pipeline] echo [2021-04-01T12:24:12.315Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8fd14d [Pipeline] echo [2021-04-01T12:24:12.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T12:24:12.575Z] provisioning config files... [2021-04-01T12:24:12.603Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config7273581090749327013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:24:12.969Z] ---> docker-login.sh [2021-04-01T12:24:12.969Z] nexus3.edgexfoundry.org:10001 [2021-04-01T12:24:13.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:24:13.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:24:13.493Z] Configure a credential helper to remove this warning. See [2021-04-01T12:24:13.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:24:13.493Z] [2021-04-01T12:24:13.493Z] Login Succeeded [2021-04-01T12:24:13.493Z] nexus3.edgexfoundry.org:10002 [2021-04-01T12:24:13.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:24:13.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:24:13.493Z] Configure a credential helper to remove this warning. See [2021-04-01T12:24:13.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:24:13.493Z] [2021-04-01T12:24:13.493Z] Login Succeeded [2021-04-01T12:24:13.493Z] nexus3.edgexfoundry.org:10003 [2021-04-01T12:24:13.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:24:13.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:24:13.756Z] Configure a credential helper to remove this warning. See [2021-04-01T12:24:13.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:24:13.756Z] [2021-04-01T12:24:13.756Z] Login Succeeded [2021-04-01T12:24:13.756Z] nexus3.edgexfoundry.org:10004 [2021-04-01T12:24:14.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:24:14.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:24:14.021Z] Configure a credential helper to remove this warning. See [2021-04-01T12:24:14.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:24:14.021Z] [2021-04-01T12:24:14.021Z] Login Succeeded [2021-04-01T12:24:14.021Z] docker.io [2021-04-01T12:24:14.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:24:14.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:24:14.284Z] Configure a credential helper to remove this warning. See [2021-04-01T12:24:14.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:24:14.284Z] [2021-04-01T12:24:14.284Z] Login Succeeded [2021-04-01T12:24:14.284Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T12:24:14.295Z] 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-01T12:24:15.146Z] + git log --format=format:%s -1 c8fd14d44e3511f1fc42d47f205efd4689f12aac [Pipeline] echo [2021-04-01T12:24:15.240Z] GIT_COMMIT: c8fd14d44e3511f1fc42d47f205efd4689f12aac, Commit Message: feat: add capability to load devices from directory [Pipeline] echo [2021-04-01T12:24:15.314Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:24:16.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T12:24:16.290Z] [2021-04-01T12:24:16.290Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:24:16.694Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T12:24:16.694Z] latest: Pulling from edgex-devops/git-semver [2021-04-01T12:24:16.694Z] 31603596830f: Pulling fs layer [2021-04-01T12:24:16.694Z] 2a8b12db71e7: Pulling fs layer [2021-04-01T12:24:16.694Z] 6ca5941a6612: Pulling fs layer [2021-04-01T12:24:16.694Z] ecc8261a40a4: Pulling fs layer [2021-04-01T12:24:16.694Z] ecc8261a40a4: Waiting [2021-04-01T12:24:16.694Z] 2a8b12db71e7: Download complete [2021-04-01T12:24:16.694Z] 31603596830f: Verifying Checksum [2021-04-01T12:24:16.694Z] 31603596830f: Download complete [2021-04-01T12:24:16.971Z] 6ca5941a6612: Verifying Checksum [2021-04-01T12:24:16.971Z] 6ca5941a6612: Download complete [2021-04-01T12:24:16.971Z] ecc8261a40a4: Verifying Checksum [2021-04-01T12:24:16.971Z] ecc8261a40a4: Download complete [2021-04-01T12:24:17.236Z] 31603596830f: Pull complete [2021-04-01T12:24:17.236Z] 2a8b12db71e7: Pull complete [2021-04-01T12:24:18.204Z] 6ca5941a6612: Pull complete [2021-04-01T12:24:18.466Z] ecc8261a40a4: Pull complete [2021-04-01T12:24:18.466Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-01T12:24:18.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-01T12:24:18.466Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-01T12:24:18.573Z] prd-centos7-docker-4c-2g-32459 does not seem to be running inside a container [2021-04-01T12:24:18.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-01T12:24:20.530Z] $ docker top ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-01T12:24:20.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-01T12:24:20.885Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-01T12:24:21.103Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-01T12:24:21.109Z] $ docker exec ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 ssh-agent [2021-04-01T12:24:21.294Z] SSH_AUTH_SOCK=/tmp/ssh-Kzhj2OzjQWOU/agent.12 [2021-04-01T12:24:21.294Z] SSH_AGENT_PID=17 [2021-04-01T12:24:21.306Z] Running ssh-add (command line suppressed) [2021-04-01T12:24:21.434Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_6373756248854030205.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_6373756248854030205.key) [2021-04-01T12:24:21.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-01T12:24:21.826Z] + git tag --points-at HEAD [Pipeline] } [2021-04-01T12:24:21.851Z] $ docker exec --env ******** --env ******** ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 ssh-agent -k [2021-04-01T12:24:21.974Z] unset SSH_AUTH_SOCK; [2021-04-01T12:24:21.974Z] unset SSH_AGENT_PID; [2021-04-01T12:24:21.974Z] echo Agent pid 17 killed; [2021-04-01T12:24:22.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-01T12:24:22.183Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-01T12:24:22.183Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-01T12:24:22.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-01T12:24:22.369Z] $ docker exec ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 ssh-agent [2021-04-01T12:24:22.538Z] SSH_AUTH_SOCK=/tmp/ssh-3tTVdFJOwTl4/agent.46 [2021-04-01T12:24:22.538Z] SSH_AGENT_PID=51 [2021-04-01T12:24:22.546Z] Running ssh-add (command line suppressed) [2021-04-01T12:24:22.668Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_1617245576045985534.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_1617245576045985534.key) [2021-04-01T12:24:22.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-01T12:24:23.085Z] + git semver init [2021-04-01T12:24:23.085Z] # -> Open(): unable to determine branch for HEAD [2021-04-01T12:24:23.085Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git [2021-04-01T12:24:23.085Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-04-01T12:24:23.085Z] # $SEMVER_REMOTE_NAME = origin [2021-04-01T12:24:23.085Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-01T12:24:23.085Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-01T12:24:23.085Z] # $SEMVER_BRANCH = PR-844 [2021-04-01T12:24:23.085Z] # $SEMVER_TEMP = /tmp/semver-601211425 [2021-04-01T12:24:23.085Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-01T12:24:24.031Z] # '/tmp/semver-601211425' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' [2021-04-01T12:24:24.031Z] # -> Force: false [2021-04-01T12:24:24.031Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } [2021-04-01T12:24:24.045Z] $ docker exec --env ******** --env ******** ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 ssh-agent -k [2021-04-01T12:24:24.161Z] unset SSH_AUTH_SOCK; [2021-04-01T12:24:24.162Z] unset SSH_AGENT_PID; [2021-04-01T12:24:24.162Z] echo Agent pid 51 killed; [2021-04-01T12:24:24.212Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-01T12:24:24.708Z] + git semver [Pipeline] } [2021-04-01T12:24:24.728Z] $ docker stop --time=1 ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 [2021-04-01T12:24:26.420Z] $ docker rm -f ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T12:24:26.908Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-01T12:24:27.501Z] Stashed 1 file(s) [Pipeline] echo [2021-04-01T12:24:27.504Z] [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-01T12:24:43.052Z] Still waiting to schedule task [2021-04-01T12:24:43.052Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32459’ [2021-04-01T12:24:43.055Z] Still waiting to schedule task [2021-04-01T12:24:43.055Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-01T12:26:23.933Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32460 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-04-01T12:26:23.994Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-04-01T12:26:29.129Z] using credential edgex-jenkins-ssh [2021-04-01T12:26:29.211Z] Cloning the remote Git repository [2021-04-01T12:26:29.270Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T12:26:29.387Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-04-01T12:26:29.480Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T12:26:29.480Z] > git --version # timeout=10 [2021-04-01T12:26:29.499Z] > git --version # 'git version 2.17.1' [2021-04-01T12:26:29.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T12:26:29.579Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T12:26:31.409Z] Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit c8fd14d44e3511f1fc42d47f205efd4689f12aac [2021-04-01T12:26:31.639Z] Merge succeeded, producing c8fd14d44e3511f1fc42d47f205efd4689f12aac [2021-04-01T12:26:31.640Z] Checking out Revision c8fd14d44e3511f1fc42d47f205efd4689f12aac (PR-844) [2021-04-01T12:26:30.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T12:26:30.738Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T12:26:30.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T12:26:30.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T12:26:30.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T12:26:30.830Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-01T12:26:31.434Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T12:26:31.460Z] > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 [2021-04-01T12:26:31.560Z] > git remote # timeout=10 [2021-04-01T12:26:31.576Z] > git config --get remote.origin.url # timeout=10 [2021-04-01T12:26:31.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T12:26:31.605Z] > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 [2021-04-01T12:26:31.624Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-01T12:26:31.650Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T12:26:31.703Z] > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 [2021-04-01T12:26:36.154Z] Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T12:26:37.833Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-01T12:26:38.286Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-01T12:26:38.634Z] + true [2021-04-01T12:26:38.635Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T12:26:41.330Z] provisioning config files... [2021-04-01T12:26:41.367Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8954533159125761090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:26:41.765Z] ---> docker-login.sh [2021-04-01T12:26:41.765Z] nexus3.edgexfoundry.org:10001 [2021-04-01T12:26:42.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:26:42.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:26:42.974Z] Configure a credential helper to remove this warning. See [2021-04-01T12:26:42.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:26:42.974Z] [2021-04-01T12:26:42.974Z] Login Succeeded [2021-04-01T12:26:42.974Z] nexus3.edgexfoundry.org:10002 [2021-04-01T12:26:43.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:26:43.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:26:43.523Z] Configure a credential helper to remove this warning. See [2021-04-01T12:26:43.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:26:43.523Z] [2021-04-01T12:26:43.523Z] Login Succeeded [2021-04-01T12:26:43.523Z] nexus3.edgexfoundry.org:10003 [2021-04-01T12:26:43.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:26:43.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:26:43.796Z] Configure a credential helper to remove this warning. See [2021-04-01T12:26:43.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:26:43.796Z] [2021-04-01T12:26:43.796Z] Login Succeeded [2021-04-01T12:26:43.796Z] nexus3.edgexfoundry.org:10004 [2021-04-01T12:26:44.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:26:44.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:26:44.393Z] Configure a credential helper to remove this warning. See [2021-04-01T12:26:44.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:26:44.393Z] [2021-04-01T12:26:44.393Z] Login Succeeded [2021-04-01T12:26:44.393Z] docker.io [2021-04-01T12:26:44.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:26:44.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:26:44.940Z] Configure a credential helper to remove this warning. See [2021-04-01T12:26:44.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:26:44.940Z] [2021-04-01T12:26:44.940Z] Login Succeeded [2021-04-01T12:26:44.940Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T12:26:44.958Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-01T12:26:45.455Z] ========================================================= [2021-04-01T12:26:45.456Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-01T12:26:45.456Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:26:45.843Z] + 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-01T12:26:46.451Z] Sending build context to Docker daemon 2.404MB [2021-04-01T12:26:46.451Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T12:26:46.451Z] Step 2/8 : FROM ${BASE} [2021-04-01T12:26:46.451Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-01T12:26:46.451Z] 5f621e34cdf4: Pulling fs layer [2021-04-01T12:26:46.451Z] a4357932f1b6: Pulling fs layer [2021-04-01T12:26:46.451Z] 18c013af1878: Pulling fs layer [2021-04-01T12:26:46.451Z] 00ac8860ef70: Pulling fs layer [2021-04-01T12:26:46.451Z] 63d7cb157983: Pulling fs layer [2021-04-01T12:26:46.451Z] b116817d02f9: Pulling fs layer [2021-04-01T12:26:46.451Z] 745a02a5169b: Pulling fs layer [2021-04-01T12:26:46.451Z] 00ac8860ef70: Waiting [2021-04-01T12:26:46.451Z] 63d7cb157983: Waiting [2021-04-01T12:26:46.451Z] b116817d02f9: Waiting [2021-04-01T12:26:46.451Z] 745a02a5169b: Waiting [2021-04-01T12:26:46.451Z] 18c013af1878: Verifying Checksum [2021-04-01T12:26:46.451Z] 18c013af1878: Download complete [2021-04-01T12:26:46.451Z] a4357932f1b6: Verifying Checksum [2021-04-01T12:26:46.451Z] a4357932f1b6: Download complete [2021-04-01T12:26:46.451Z] 63d7cb157983: Download complete [2021-04-01T12:26:46.451Z] b116817d02f9: Verifying Checksum [2021-04-01T12:26:46.451Z] b116817d02f9: Download complete [2021-04-01T12:26:46.730Z] 5f621e34cdf4: Verifying Checksum [2021-04-01T12:26:46.730Z] 5f621e34cdf4: Download complete [2021-04-01T12:26:47.335Z] 5f621e34cdf4: Pull complete [2021-04-01T12:26:47.949Z] a4357932f1b6: Pull complete [2021-04-01T12:26:48.565Z] 18c013af1878: Pull complete [2021-04-01T12:26:49.167Z] 745a02a5169b: Verifying Checksum [2021-04-01T12:26:49.167Z] 745a02a5169b: Download complete [2021-04-01T12:26:50.155Z] 00ac8860ef70: Download complete [2021-04-01T12:27:00.341Z] 00ac8860ef70: Pull complete [2021-04-01T12:27:00.614Z] 63d7cb157983: Pull complete [2021-04-01T12:27:00.886Z] b116817d02f9: Pull complete [2021-04-01T12:27:05.236Z] 745a02a5169b: Pull complete [2021-04-01T12:27:05.237Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-01T12:27:05.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-01T12:27:05.237Z] ---> b7e6874047d6 [2021-04-01T12:27:05.237Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T12:27:07.242Z] ---> Running in 1409c403c624 [2021-04-01T12:27:07.687Z] Running on prd-centos7-docker-4c-2g-32461 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws [2021-04-01T12:27:07.775Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-04-01T12:27:07.840Z] Removing intermediate container 1409c403c624 [2021-04-01T12:27:07.840Z] ---> 93869a8e107d [2021-04-01T12:27:07.840Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T12:27:07.840Z] ---> Running in 7b4497107c31 [2021-04-01T12:27:09.853Z] Removing intermediate container 7b4497107c31 [2021-04-01T12:27:09.853Z] ---> 3bf1b9a11aaa [2021-04-01T12:27:09.853Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-01T12:27:10.135Z] ---> Running in 76aafd3821e5 [2021-04-01T12:27:10.251Z] using credential edgex-jenkins-ssh [2021-04-01T12:27:10.302Z] Cloning the remote Git repository [2021-04-01T12:27:11.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T12:27:10.329Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T12:27:10.395Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-04-01T12:27:10.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T12:27:10.455Z] > git --version # timeout=10 [2021-04-01T12:27:10.461Z] > git --version # 'git version 2.24.3' [2021-04-01T12:27:10.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T12:27:10.490Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T12:27:11.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T12:27:11.244Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-01T12:27:11.257Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-01T12:27:11.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-01T12:27:11.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T12:27:11.278Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-01T12:27:11.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T12:27:11.799Z] Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit c8fd14d44e3511f1fc42d47f205efd4689f12aac [2021-04-01T12:27:11.917Z] Merge succeeded, producing c8fd14d44e3511f1fc42d47f205efd4689f12aac [2021-04-01T12:27:11.917Z] Checking out Revision c8fd14d44e3511f1fc42d47f205efd4689f12aac (PR-844) [2021-04-01T12:27:12.308Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-01T12:27:11.812Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T12:27:11.818Z] > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 [2021-04-01T12:27:11.876Z] > git remote # timeout=10 [2021-04-01T12:27:11.884Z] > git config --get remote.origin.url # timeout=10 [2021-04-01T12:27:11.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-01T12:27:11.898Z] > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 [2021-04-01T12:27:11.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-01T12:27:11.922Z] > git config core.sparsecheckout # timeout=10 [2021-04-01T12:27:11.927Z] > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 [2021-04-01T12:27:12.600Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-01T12:27:12.601Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-01T12:27:12.601Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-01T12:27:12.884Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-01T12:27:13.497Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-01T12:27:13.497Z] Executing busybox-1.31.1-r19.trigger [2021-04-01T12:27:13.497Z] OK: 144 MiB in 45 packages [2021-04-01T12:27:14.486Z] Removing intermediate container 76aafd3821e5 [2021-04-01T12:27:14.486Z] ---> 565c96803640 [2021-04-01T12:27:14.486Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-01T12:27:14.773Z] ---> Running in 1f3f63895ac0 [2021-04-01T12:27:15.370Z] Removing intermediate container 1f3f63895ac0 [2021-04-01T12:27:15.370Z] ---> 40bf41f6c714 [2021-04-01T12:27:15.370Z] Step 7/8 : COPY . . [2021-04-01T12:27:15.615Z] Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T12:27:16.356Z] ---> b62db218864d [2021-04-01T12:27:16.357Z] Step 8/8 : RUN go mod download [2021-04-01T12:27:16.637Z] ---> Running in 5e7972ac44c3 [2021-04-01T12:27:16.813Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-01T12:27:17.141Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-01T12:27:17.445Z] + sudo service docker restart [2021-04-01T12:27:17.445Z] + true [2021-04-01T12:27:17.445Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-01T12:27:18.463Z] provisioning config files... [2021-04-01T12:27:18.487Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config2104992942384567362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:27:18.860Z] ---> docker-login.sh [2021-04-01T12:27:18.860Z] nexus3.edgexfoundry.org:10001 [2021-04-01T12:27:19.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:27:19.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:27:19.385Z] Configure a credential helper to remove this warning. See [2021-04-01T12:27:19.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:27:19.385Z] [2021-04-01T12:27:19.385Z] Login Succeeded [2021-04-01T12:27:19.385Z] nexus3.edgexfoundry.org:10002 [2021-04-01T12:27:19.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:27:19.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:27:19.385Z] Configure a credential helper to remove this warning. See [2021-04-01T12:27:19.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:27:19.385Z] [2021-04-01T12:27:19.385Z] Login Succeeded [2021-04-01T12:27:19.385Z] nexus3.edgexfoundry.org:10003 [2021-04-01T12:27:19.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:27:19.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:27:19.647Z] Configure a credential helper to remove this warning. See [2021-04-01T12:27:19.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:27:19.647Z] [2021-04-01T12:27:19.647Z] Login Succeeded [2021-04-01T12:27:19.647Z] nexus3.edgexfoundry.org:10004 [2021-04-01T12:27:19.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:27:19.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:27:19.910Z] Configure a credential helper to remove this warning. See [2021-04-01T12:27:19.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:27:19.910Z] [2021-04-01T12:27:19.910Z] Login Succeeded [2021-04-01T12:27:19.910Z] docker.io [2021-04-01T12:27:19.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-01T12:27:20.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-01T12:27:20.176Z] Configure a credential helper to remove this warning. See [2021-04-01T12:27:20.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-01T12:27:20.176Z] [2021-04-01T12:27:20.176Z] Login Succeeded [2021-04-01T12:27:20.176Z] ---> docker-login.sh ends [Pipeline] } [2021-04-01T12:27:20.186Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-01T12:27:20.678Z] ========================================================= [2021-04-01T12:27:20.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-01T12:27:20.679Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:27:21.141Z] + 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-01T12:27:21.141Z] Sending build context to Docker daemon 2.405MB [2021-04-01T12:27:21.141Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T12:27:21.141Z] Step 2/8 : FROM ${BASE} [2021-04-01T12:27:21.404Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-01T12:27:21.404Z] 188c0c94c7c5: Pulling fs layer [2021-04-01T12:27:21.404Z] 0ef7d3d256c8: Pulling fs layer [2021-04-01T12:27:21.404Z] de9db76c5a1d: Pulling fs layer [2021-04-01T12:27:21.404Z] bca2f99d35d6: Pulling fs layer [2021-04-01T12:27:21.404Z] 93359f2a8cfa: Pulling fs layer [2021-04-01T12:27:21.404Z] 7c6f9722023f: Pulling fs layer [2021-04-01T12:27:21.404Z] a35cf1a2eb13: Pulling fs layer [2021-04-01T12:27:21.404Z] 93359f2a8cfa: Waiting [2021-04-01T12:27:21.404Z] 7c6f9722023f: Waiting [2021-04-01T12:27:21.404Z] a35cf1a2eb13: Waiting [2021-04-01T12:27:21.404Z] bca2f99d35d6: Waiting [2021-04-01T12:27:21.404Z] de9db76c5a1d: Verifying Checksum [2021-04-01T12:27:21.404Z] de9db76c5a1d: Download complete [2021-04-01T12:27:21.404Z] 0ef7d3d256c8: Download complete [2021-04-01T12:27:21.404Z] 93359f2a8cfa: Verifying Checksum [2021-04-01T12:27:21.404Z] 93359f2a8cfa: Download complete [2021-04-01T12:27:21.404Z] 188c0c94c7c5: Verifying Checksum [2021-04-01T12:27:21.404Z] 188c0c94c7c5: Download complete [2021-04-01T12:27:21.404Z] 7c6f9722023f: Verifying Checksum [2021-04-01T12:27:21.404Z] 7c6f9722023f: Download complete [2021-04-01T12:27:21.665Z] 188c0c94c7c5: Pull complete [2021-04-01T12:27:21.928Z] 0ef7d3d256c8: Pull complete [2021-04-01T12:27:21.928Z] de9db76c5a1d: Pull complete [2021-04-01T12:27:23.320Z] a35cf1a2eb13: Verifying Checksum [2021-04-01T12:27:23.320Z] a35cf1a2eb13: Download complete [2021-04-01T12:27:24.275Z] bca2f99d35d6: Verifying Checksum [2021-04-01T12:27:24.275Z] bca2f99d35d6: Download complete [2021-04-01T12:27:29.609Z] bca2f99d35d6: Pull complete [2021-04-01T12:27:29.609Z] 93359f2a8cfa: Pull complete [2021-04-01T12:27:29.609Z] 7c6f9722023f: Pull complete [2021-04-01T12:27:33.862Z] a35cf1a2eb13: Pull complete [2021-04-01T12:27:33.862Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-01T12:27:33.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-01T12:27:33.862Z] ---> a62c8e92a672 [2021-04-01T12:27:33.862Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T12:27:33.862Z] ---> Running in b5f05b78ece5 [2021-04-01T12:27:33.862Z] Removing intermediate container b5f05b78ece5 [2021-04-01T12:27:33.862Z] ---> 0fe060a9081e [2021-04-01T12:27:33.862Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T12:27:33.862Z] ---> Running in 47dc6039591e [2021-04-01T12:27:34.816Z] Removing intermediate container 47dc6039591e [2021-04-01T12:27:34.816Z] ---> 2e3ea84a5bd0 [2021-04-01T12:27:34.816Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-01T12:27:34.816Z] ---> Running in 19b656560f55 [2021-04-01T12:27:35.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T12:27:36.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T12:27:37.289Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-01T12:27:37.289Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-01T12:27:37.289Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-01T12:27:37.551Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-01T12:27:37.551Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-01T12:27:37.812Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-01T12:27:37.812Z] Executing busybox-1.31.1-r19.trigger [2021-04-01T12:27:37.812Z] OK: 167 MiB in 45 packages [2021-04-01T12:27:38.394Z] Removing intermediate container 19b656560f55 [2021-04-01T12:27:38.394Z] ---> 76b6967e1277 [2021-04-01T12:27:38.394Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-01T12:27:38.662Z] ---> Running in b1583b445b36 [2021-04-01T12:27:38.662Z] Removing intermediate container b1583b445b36 [2021-04-01T12:27:38.662Z] ---> 1fa8e4a5ffea [2021-04-01T12:27:38.662Z] Step 7/8 : COPY . . [2021-04-01T12:27:40.062Z] ---> fbff16d38b90 [2021-04-01T12:27:40.063Z] Step 8/8 : RUN go mod download [2021-04-01T12:27:40.063Z] ---> Running in c391ed827008 [2021-04-01T12:27:43.427Z] Removing intermediate container 5e7972ac44c3 [2021-04-01T12:27:43.427Z] ---> b8dad619033c [2021-04-01T12:27:43.427Z] Successfully built b8dad619033c [2021-04-01T12:27:43.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:27:43.773Z] + docker inspect -f . ci-base-image-arm64 [2021-04-01T12:27:43.773Z] . [Pipeline] withDockerContainer [2021-04-01T12:27:44.013Z] prd-ubuntu18.04-docker-arm64-4c-16g-32460 does not seem to be running inside a container [2021-04-01T12:27:44.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-01T12:27:45.638Z] $ docker top 197c79ba3d168657083bff016012f09e6128bab2ced5399b8cb86153d9f474ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T12:27:46.668Z] + go version [2021-04-01T12:27:46.668Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-01T12:27:46.694Z] $ docker stop --time=1 197c79ba3d168657083bff016012f09e6128bab2ced5399b8cb86153d9f474ae [2021-04-01T12:27:48.644Z] $ docker rm -f 197c79ba3d168657083bff016012f09e6128bab2ced5399b8cb86153d9f474ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:27:49.688Z] + docker inspect -f . ci-base-image-arm64 [2021-04-01T12:27:49.688Z] . [Pipeline] withDockerContainer [2021-04-01T12:27:49.952Z] prd-ubuntu18.04-docker-arm64-4c-16g-32460 does not seem to be running inside a container [2021-04-01T12:27:50.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-01T12:27:51.460Z] $ docker top 7cbc672c91fbeb43e24d1940a214ad0a0f6605eaf1a7671387e1edb1d97a1d55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T12:27:52.513Z] + make test [2021-04-01T12:27:52.513Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-01T12:28:02.095Z] Removing intermediate container c391ed827008 [2021-04-01T12:28:02.095Z] ---> b93c1cb3c6af [2021-04-01T12:28:02.095Z] Successfully built b93c1cb3c6af [2021-04-01T12:28:02.095Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:28:02.426Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-01T12:28:02.427Z] . [Pipeline] withDockerContainer [2021-04-01T12:28:02.665Z] prd-centos7-docker-4c-2g-32461 does not seem to be running inside a container [2021-04-01T12:28:02.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-01T12:28:03.657Z] $ docker top 2e45b5eb08ad6c42e1a99b2d80c8e792db41897825e882426c07d3da5985e78f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T12:28:04.140Z] + go version [2021-04-01T12:28:04.140Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-01T12:28:04.158Z] $ docker stop --time=1 2e45b5eb08ad6c42e1a99b2d80c8e792db41897825e882426c07d3da5985e78f [2021-04-01T12:28:05.505Z] $ docker rm -f 2e45b5eb08ad6c42e1a99b2d80c8e792db41897825e882426c07d3da5985e78f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:28:06.304Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-01T12:28:06.304Z] . [Pipeline] withDockerContainer [2021-04-01T12:28:06.405Z] prd-centos7-docker-4c-2g-32461 does not seem to be running inside a container [2021-04-01T12:28:06.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-01T12:28:07.093Z] $ docker top a7e90a720d072b9017b9be10556d7cf12317f855b5db83ad4d93e154063bb812 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T12:28:07.606Z] + make test [2021-04-01T12:28:07.606Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-01T12:28:14.241Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-01T12:28:14.694Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-01T12:28:36.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-01T12:28:36.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-01T12:28:36.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-01T12:28:36.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-01T12:28:36.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-01T12:28:38.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.098s coverage: 28.1% of statements [2021-04-01T12:28:38.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.117s coverage: 81.2% of statements [2021-04-01T12:28:39.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.088s coverage: 7.8% of statements [2021-04-01T12:28:39.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-01T12:28:39.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-01T12:28:39.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-01T12:28:39.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 32.5% of statements [2021-04-01T12:28:39.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-01T12:28:39.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-01T12:28:39.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-01T12:28:39.530Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.084s coverage: 57.3% of statements [2021-04-01T12:28:40.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.163s coverage: 6.6% of statements [2021-04-01T12:28:40.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-01T12:28:40.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-01T12:28:40.369Z] GO111MODULE=on go vet ./... [2021-04-01T12:28:55.456Z] gofmt -l . [2021-04-01T12:28:55.456Z] [ "`gofmt -l .`" = "" ] [2021-04-01T12:28:55.456Z] ./bin/test-attribution-txt.sh [2021-04-01T12:28:55.456Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-01T12:28:55.476Z] $ docker stop --time=1 a7e90a720d072b9017b9be10556d7cf12317f855b5db83ad4d93e154063bb812 [2021-04-01T12:28:57.754Z] $ docker rm -f a7e90a720d072b9017b9be10556d7cf12317f855b5db83ad4d93e154063bb812 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T12:28:58.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-01T12:28:58.881Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-01T12:29:01.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-01T12:29:01.846Z] + ls -al . [2021-04-01T12:29:01.846Z] total 188 [2021-04-01T12:29:01.846Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 1 12:28 . [2021-04-01T12:29:01.846Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 1 12:27 .. [2021-04-01T12:29:01.846Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 1 12:27 bin [2021-04-01T12:29:01.846Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 1 12:28 coverage.out [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 1 12:27 Dockerfile.build [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 1 12:27 .dockerignore [2021-04-01T12:29:01.846Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 1 12:27 example [2021-04-01T12:29:01.846Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 1 12:27 .git [2021-04-01T12:29:01.846Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 1 12:27 .github [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 1 12:27 .gitignore [2021-04-01T12:29:01.846Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 1 12:28 go.mod [2021-04-01T12:29:01.846Z] -rw-r--r--. 1 jenkins jenkins 21117 Apr 1 12:28 go.sum [2021-04-01T12:29:01.846Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 1 12:27 internal [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 1 12:27 Jenkinsfile [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 1 12:27 LICENSE [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 1 12:27 Makefile [2021-04-01T12:29:01.846Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 1 12:27 openapi [2021-04-01T12:29:01.846Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 1 12:27 pkg [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 1 12:27 README.md [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 1 12:27 RELEASE-NOTES.txt [2021-04-01T12:29:01.846Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 1 12:27 snap [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 1 12:24 VERSION [2021-04-01T12:29:01.846Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 1 12:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:29:02.153Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c8fd14d44e3511f1fc42d47f205efd4689f12aac --label arch=amd64 --label version=0.0.0 . [2021-04-01T12:29:02.424Z] Sending build context to Docker daemon 2.507MB [2021-04-01T12:29:02.424Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T12:29:02.424Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-01T12:29:02.424Z] ---> b93c1cb3c6af [2021-04-01T12:29:02.424Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-01T12:29:03.002Z] ---> Running in 073ce1501ca3 [2021-04-01T12:29:03.267Z] Removing intermediate container 073ce1501ca3 [2021-04-01T12:29:03.267Z] ---> eaf23eb71c5c [2021-04-01T12:29:03.267Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T12:29:03.267Z] ---> Running in 6207e07346a6 [2021-04-01T12:29:03.267Z] Removing intermediate container 6207e07346a6 [2021-04-01T12:29:03.267Z] ---> 34b4ffaa33b0 [2021-04-01T12:29:03.267Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T12:29:03.533Z] ---> Running in a7e88888f6f3 [2021-04-01T12:29:04.494Z] Removing intermediate container a7e88888f6f3 [2021-04-01T12:29:04.494Z] ---> 060c947c7e57 [2021-04-01T12:29:04.494Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-01T12:29:04.494Z] ---> Running in 2a8ba7f8187a [2021-04-01T12:29:04.755Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T12:29:05.329Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T12:29:06.281Z] OK: 167 MiB in 45 packages [2021-04-01T12:29:06.544Z] Removing intermediate container 2a8ba7f8187a [2021-04-01T12:29:06.544Z] ---> 5e08c3492443 [2021-04-01T12:29:06.544Z] Step 7/23 : COPY . . [2021-04-01T12:29:07.492Z] ---> 232ab47ce674 [2021-04-01T12:29:07.492Z] Step 8/23 : RUN go mod download [2021-04-01T12:29:07.492Z] ---> Running in 8fb7c05f2a80 [2021-04-01T12:29:08.438Z] Removing intermediate container 8fb7c05f2a80 [2021-04-01T12:29:08.438Z] ---> e009a38c1796 [2021-04-01T12:29:08.438Z] Step 9/23 : RUN make build [2021-04-01T12:29:08.700Z] ---> Running in 4523a097a64e [2021-04-01T12:29:08.972Z] 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-01T12:29:11.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-01T12:29:11.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-01T12:29:11.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-01T12:29:11.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-01T12:29:11.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-01T12:29:13.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements [2021-04-01T12:29:14.369Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.262s coverage: 81.2% of statements [2021-04-01T12:29:14.369Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.156s coverage: 7.8% of statements [2021-04-01T12:29:14.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-01T12:29:14.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-01T12:29:14.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-01T12:29:15.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.252s coverage: 32.5% of statements [2021-04-01T12:29:15.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-01T12:29:15.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-01T12:29:15.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-01T12:29:20.172Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.246s coverage: 57.3% of statements [2021-04-01T12:29:20.172Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.149s coverage: 6.6% of statements [2021-04-01T12:29:20.172Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-01T12:29:20.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-01T12:29:20.172Z] GO111MODULE=on go vet ./... [2021-04-01T12:29:21.320Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-01T12:29:21.320Z] Removing intermediate container 4523a097a64e [2021-04-01T12:29:21.320Z] ---> a9243912a0b6 [2021-04-01T12:29:21.320Z] Step 10/23 : FROM alpine:3.12 [2021-04-01T12:29:21.919Z] 3.12: Pulling from library/alpine [2021-04-01T12:29:21.919Z] 532819f3e44c: Pulling fs layer [2021-04-01T12:29:22.196Z] 532819f3e44c: Verifying Checksum [2021-04-01T12:29:22.196Z] 532819f3e44c: Download complete [2021-04-01T12:29:22.458Z] 532819f3e44c: Pull complete [2021-04-01T12:29:22.459Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-01T12:29:22.459Z] Status: Downloaded newer image for alpine:3.12 [2021-04-01T12:29:22.459Z] ---> 7230e588e954 [2021-04-01T12:29:22.459Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T12:29:22.721Z] ---> Running in 10cf7f4e52ed [2021-04-01T12:29:22.721Z] Removing intermediate container 10cf7f4e52ed [2021-04-01T12:29:22.721Z] ---> 425550b2e515 [2021-04-01T12:29:22.721Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T12:29:22.721Z] ---> Running in 451a9a5e798a [2021-04-01T12:29:23.727Z] Removing intermediate container 451a9a5e798a [2021-04-01T12:29:23.727Z] ---> 6c1b37bffdf8 [2021-04-01T12:29:23.727Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-01T12:29:23.990Z] ---> Running in ded680d9f8ae [2021-04-01T12:29:24.261Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-01T12:29:24.833Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-01T12:29:25.780Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-01T12:29:25.780Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-01T12:29:25.780Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-01T12:29:26.046Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-01T12:29:26.046Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-01T12:29:26.308Z] Executing busybox-1.31.1-r20.trigger [2021-04-01T12:29:26.308Z] OK: 8 MiB in 19 packages [2021-04-01T12:29:26.570Z] Removing intermediate container ded680d9f8ae [2021-04-01T12:29:26.570Z] ---> 1a91d8d1c738 [2021-04-01T12:29:26.570Z] Step 14/23 : WORKDIR / [2021-04-01T12:29:26.831Z] ---> Running in 5b24e4b0e801 [2021-04-01T12:29:26.831Z] Removing intermediate container 5b24e4b0e801 [2021-04-01T12:29:26.831Z] ---> b6c8d7639e12 [2021-04-01T12:29:26.831Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-01T12:29:27.099Z] ---> a55c85b3d53b [2021-04-01T12:29:27.099Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-01T12:29:27.696Z] ---> 2d2f5d76d798 [2021-04-01T12:29:27.696Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-01T12:29:27.966Z] ---> 26530ee3d8ac [2021-04-01T12:29:27.966Z] Step 18/23 : EXPOSE 49990 [2021-04-01T12:29:27.966Z] ---> Running in ead4204da6f2 [2021-04-01T12:29:28.257Z] Removing intermediate container ead4204da6f2 [2021-04-01T12:29:28.257Z] ---> e43a40687355 [2021-04-01T12:29:28.257Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-01T12:29:28.257Z] ---> Running in 68727a2208c8 [2021-04-01T12:29:28.537Z] Removing intermediate container 68727a2208c8 [2021-04-01T12:29:28.537Z] ---> ecec7a4c23e3 [2021-04-01T12:29:28.537Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-01T12:29:28.537Z] ---> Running in 68ce40806777 [2021-04-01T12:29:28.817Z] Removing intermediate container 68ce40806777 [2021-04-01T12:29:28.817Z] ---> 8572ee5a98eb [2021-04-01T12:29:28.817Z] Step 21/23 : LABEL arch=amd64 [2021-04-01T12:29:28.817Z] ---> Running in 945d39543f31 [2021-04-01T12:29:28.817Z] Removing intermediate container 945d39543f31 [2021-04-01T12:29:28.817Z] ---> d302dbaacd99 [2021-04-01T12:29:28.818Z] Step 22/23 : LABEL git_sha=c8fd14d44e3511f1fc42d47f205efd4689f12aac [2021-04-01T12:29:29.106Z] ---> Running in 73a2124b4fca [2021-04-01T12:29:29.106Z] Removing intermediate container 73a2124b4fca [2021-04-01T12:29:29.107Z] ---> 141b1ba98f26 [2021-04-01T12:29:29.107Z] Step 23/23 : LABEL version=0.0.0 [2021-04-01T12:29:29.107Z] ---> Running in 4193e1c4b0d3 [2021-04-01T12:29:29.393Z] Removing intermediate container 4193e1c4b0d3 [2021-04-01T12:29:29.393Z] ---> e7808da64a09 [2021-04-01T12:29:29.393Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-01T12:29:29.393Z] Successfully built e7808da64a09 [2021-04-01T12:29:29.393Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:29:30.833Z] ---> job-cost.sh [2021-04-01T12:29:30.833Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yZhv [2021-04-01T12:29:46.802Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-01T12:30:07.645Z] gofmt -l . [2021-04-01T12:30:07.645Z] [ "`gofmt -l .`" = "" ] [2021-04-01T12:30:07.645Z] ./bin/test-attribution-txt.sh [2021-04-01T12:30:07.645Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-01T12:30:07.672Z] $ docker stop --time=1 7cbc672c91fbeb43e24d1940a214ad0a0f6605eaf1a7671387e1edb1d97a1d55 [2021-04-01T12:30:10.028Z] $ docker rm -f 7cbc672c91fbeb43e24d1940a214ad0a0f6605eaf1a7671387e1edb1d97a1d55 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-01T12:30:11.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-01T12:30:11.232Z] Warning: overwriting stash ‘coverage-report’ [2021-04-01T12:30:12.019Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-01T12:30:12.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-01T12:30:13.221Z] + ls -al . [2021-04-01T12:30:13.221Z] total 224 [2021-04-01T12:30:13.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 12:30 . [2021-04-01T12:30:13.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:26 .. [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 12:26 .dockerignore [2021-04-01T12:30:13.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 12:26 .git [2021-04-01T12:30:13.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 12:26 .github [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 1 12:26 .gitignore [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 1 12:26 Dockerfile.build [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 1 12:26 Jenkinsfile [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 1 12:26 LICENSE [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 1 12:26 Makefile [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 1 12:26 README.md [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 1 12:26 RELEASE-NOTES.txt [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 12:24 VERSION [2021-04-01T12:30:13.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 12:26 bin [2021-04-01T12:30:13.221Z] -rw-r--r-- 1 jenkins jenkins 101239 Apr 1 12:29 coverage.out [2021-04-01T12:30:13.221Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 12:26 example [2021-04-01T12:30:13.221Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 1 12:30 go.mod [2021-04-01T12:30:13.221Z] -rw-r--r-- 1 jenkins jenkins 21117 Apr 1 12:30 go.sum [2021-04-01T12:30:13.221Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 1 12:26 internal [2021-04-01T12:30:13.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:26 openapi [2021-04-01T12:30:13.221Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 12:26 pkg [2021-04-01T12:30:13.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:26 snap [2021-04-01T12:30:13.221Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 1 12:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:30:13.422Z] lf-activate-venv(): INFO: Adding /tmp/venv-yZhv/bin to PATH [2021-04-01T12:30:13.422Z] INFO: No Stack... [2021-04-01T12:30:13.422Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-01T12:30:13.422Z] INFO: Archiving Costs [Pipeline] sh [2021-04-01T12:30:13.560Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c8fd14d44e3511f1fc42d47f205efd4689f12aac --label arch=arm64 --label version=0.0.0 . [2021-04-01T12:30:13.730Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2021-04-01T12:30:13.730Z] + cut -d, -f6 [Pipeline] lock [2021-04-01T12:30:13.810Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] [2021-04-01T12:30:13.822Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] did not exist. Created. [2021-04-01T12:30:13.822Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-01T12:30:14.166Z] Sending build context to Docker daemon 2.506MB [2021-04-01T12:30:14.166Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-01T12:30:14.166Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-01T12:30:14.166Z] ---> b8dad619033c [2021-04-01T12:30:14.166Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-01T12:30:14.166Z] ---> Running in ddcf9f7925a5 [2021-04-01T12:30:14.250Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-01T12:30:14.404Z] Stashed 1 file(s) [Pipeline] } [2021-04-01T12:30:14.421Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-04-01T12:30:14.772Z] Removing intermediate container ddcf9f7925a5 [2021-04-01T12:30:14.772Z] ---> 68fdbd50b699 [2021-04-01T12:30:14.772Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T12:30:14.772Z] ---> Running in da4ff237ba45 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-01T12:30:15.395Z] Removing intermediate container da4ff237ba45 [2021-04-01T12:30:15.395Z] ---> b186bc9b08f7 [2021-04-01T12:30:15.395Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T12:30:15.395Z] ---> Running in 1524412d08a9 [2021-04-01T12:30:18.020Z] Removing intermediate container 1524412d08a9 [2021-04-01T12:30:18.020Z] ---> 67741e056cbc [2021-04-01T12:30:18.020Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-01T12:30:18.020Z] ---> Running in 3a5fd452a356 [2021-04-01T12:30:18.998Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T12:30:19.593Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T12:30:20.567Z] OK: 144 MiB in 45 packages [2021-04-01T12:30:21.564Z] Removing intermediate container 3a5fd452a356 [2021-04-01T12:30:21.564Z] ---> 2dc33e93c859 [2021-04-01T12:30:21.564Z] Step 7/23 : COPY . . [2021-04-01T12:30:22.996Z] ---> 67c87ff3fda9 [2021-04-01T12:30:22.997Z] Step 8/23 : RUN go mod download [2021-04-01T12:30:23.269Z] ---> Running in 75d3df0ab64b [2021-04-01T12:30:25.887Z] Removing intermediate container 75d3df0ab64b [2021-04-01T12:30:25.887Z] ---> 3f0779d793df [2021-04-01T12:30:25.887Z] Step 9/23 : RUN make build [2021-04-01T12:30:25.887Z] ---> Running in e9e27654e9de [2021-04-01T12:30:26.865Z] 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-01T12:30:59.206Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-01T12:31:00.643Z] Removing intermediate container e9e27654e9de [2021-04-01T12:31:00.643Z] ---> 4c0c7106f085 [2021-04-01T12:31:00.643Z] Step 10/23 : FROM alpine:3.12 [2021-04-01T12:31:01.237Z] 3.12: Pulling from library/alpine [2021-04-01T12:31:01.237Z] 9a219e8acc52: Pulling fs layer [2021-04-01T12:31:01.511Z] 9a219e8acc52: Verifying Checksum [2021-04-01T12:31:01.511Z] 9a219e8acc52: Download complete [2021-04-01T12:31:01.781Z] 9a219e8acc52: Pull complete [2021-04-01T12:31:02.051Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-01T12:31:02.051Z] Status: Downloaded newer image for alpine:3.12 [2021-04-01T12:31:02.051Z] ---> d75e27dfc0a0 [2021-04-01T12:31:02.051Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-01T12:31:02.321Z] ---> Running in 5c6235f4e6fb [2021-04-01T12:31:02.590Z] Removing intermediate container 5c6235f4e6fb [2021-04-01T12:31:02.590Z] ---> bbc7dae85161 [2021-04-01T12:31:02.590Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-01T12:31:02.860Z] ---> Running in 4428d920507c [2021-04-01T12:31:04.845Z] Removing intermediate container 4428d920507c [2021-04-01T12:31:04.845Z] ---> 8cb02d83907d [2021-04-01T12:31:04.845Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-01T12:31:04.845Z] ---> Running in 46203b6b292e [2021-04-01T12:31:05.820Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-01T12:31:06.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-01T12:31:07.376Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-01T12:31:07.646Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-01T12:31:07.646Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-01T12:31:07.916Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-01T12:31:08.188Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-01T12:31:08.188Z] Executing busybox-1.31.1-r20.trigger [2021-04-01T12:31:08.188Z] OK: 8 MiB in 19 packages [2021-04-01T12:31:09.619Z] Removing intermediate container 46203b6b292e [2021-04-01T12:31:09.619Z] ---> 23b628fdea6f [2021-04-01T12:31:09.619Z] Step 14/23 : WORKDIR / [2021-04-01T12:31:09.619Z] ---> Running in dd2afd109a90 [2021-04-01T12:31:10.215Z] Removing intermediate container dd2afd109a90 [2021-04-01T12:31:10.215Z] ---> c5e32c3d9948 [2021-04-01T12:31:10.215Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-01T12:31:10.812Z] ---> 897329d15fc8 [2021-04-01T12:31:10.812Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-01T12:31:12.244Z] ---> 9df3adb18a8c [2021-04-01T12:31:12.244Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-01T12:31:12.841Z] ---> fc6db14df97f [2021-04-01T12:31:12.841Z] Step 18/23 : EXPOSE 49990 [2021-04-01T12:31:12.841Z] ---> Running in 2b3287a20474 [2021-04-01T12:31:13.437Z] Removing intermediate container 2b3287a20474 [2021-04-01T12:31:13.437Z] ---> df259444ef84 [2021-04-01T12:31:13.437Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-01T12:31:13.437Z] ---> Running in bf83b3ddd71a [2021-04-01T12:31:13.714Z] Removing intermediate container bf83b3ddd71a [2021-04-01T12:31:13.714Z] ---> 7eec9e53dce9 [2021-04-01T12:31:13.714Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-01T12:31:13.987Z] ---> Running in 99279d6d0289 [2021-04-01T12:31:14.260Z] Removing intermediate container 99279d6d0289 [2021-04-01T12:31:14.260Z] ---> d5a178f93fbd [2021-04-01T12:31:14.260Z] Step 21/23 : LABEL arch=arm64 [2021-04-01T12:31:14.534Z] ---> Running in ed1353f6e424 [2021-04-01T12:31:14.809Z] Removing intermediate container ed1353f6e424 [2021-04-01T12:31:14.809Z] ---> 34d119798479 [2021-04-01T12:31:14.809Z] Step 22/23 : LABEL git_sha=c8fd14d44e3511f1fc42d47f205efd4689f12aac [2021-04-01T12:31:15.083Z] ---> Running in 86b044c85f8d [2021-04-01T12:31:15.356Z] Removing intermediate container 86b044c85f8d [2021-04-01T12:31:15.356Z] ---> a5263ad62357 [2021-04-01T12:31:15.356Z] Step 23/23 : LABEL version=0.0.0 [2021-04-01T12:31:15.629Z] ---> Running in 7747455e361e [2021-04-01T12:31:15.904Z] Removing intermediate container 7747455e361e [2021-04-01T12:31:15.904Z] ---> ba26da43d45d [2021-04-01T12:31:15.904Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-01T12:31:16.177Z] Successfully built ba26da43d45d [2021-04-01T12:31:16.177Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:31:17.047Z] ---> job-cost.sh [2021-04-01T12:31:17.095Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yX3c [2021-04-01T12:31:56.046Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-01T12:33:32.816Z] lf-activate-venv(): INFO: Adding /tmp/venv-yX3c/bin to PATH [2021-04-01T12:33:32.816Z] INFO: No Stack... [2021-04-01T12:33:32.816Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-01T12:33:32.816Z] INFO: Archiving Costs [Pipeline] sh [2021-04-01T12:33:33.155Z] + cut -d, -f6 [2021-04-01T12:33:33.155Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [Pipeline] lock [2021-04-01T12:33:33.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] [2021-04-01T12:33:33.288Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] did not exist. Created. [2021-04-01T12:33:33.288Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-01T12:33:33.744Z] /w/workspace/device-sdk-go/8@tmp/durable-165c52ab/script.sh: 1: /w/workspace/device-sdk-go/8@tmp/durable-165c52ab/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-01T12:33:34.095Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-01T12:33:34.171Z] Warning: overwriting stash ‘stack-cost’ [2021-04-01T12:33:34.326Z] Stashed 1 file(s) [Pipeline] } [2021-04-01T12:33:34.341Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-8-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-01T12:33:35.866Z] provisioning config files... [2021-04-01T12:33:35.879Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config3623153667893319061tmp [Pipeline] { [Pipeline] sh [2021-04-01T12:33:36.329Z] + set +x [2021-04-01T12:33:36.329Z] + curl -s https://codecov.io/bash [2021-04-01T12:33:36.329Z] + bash -s -- [2021-04-01T12:33:36.592Z] [2021-04-01T12:33:36.592Z] _____ _ [2021-04-01T12:33:36.592Z] / ____| | | [2021-04-01T12:33:36.592Z] | | ___ __| | ___ ___ _____ __ [2021-04-01T12:33:36.592Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-01T12:33:36.592Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-01T12:33:36.592Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-01T12:33:36.592Z] Bash-20210309-2b87ace [2021-04-01T12:33:36.592Z] [2021-04-01T12:33:36.592Z] [2021-04-01T12:33:36.592Z] ==> git version 2.24.3 found [2021-04-01T12:33:36.592Z] ==> 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-01T12:33:36.592Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-01T12:33:36.592Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-01T12:33:36.592Z] ==> Jenkins CI detected. [2021-04-01T12:33:36.592Z] project root: . [2021-04-01T12:33:36.592Z] --> token set from env [2021-04-01T12:33:36.592Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-01T12:33:36.592Z] ==> Running gcov in . (disable via -X gcov) [2021-04-01T12:33:36.592Z] ==> Python coveragepy not found [2021-04-01T12:33:36.592Z] ==> Searching for coverage reports in: [2021-04-01T12:33:36.592Z] + . [2021-04-01T12:33:36.592Z] -> Found 1 reports [2021-04-01T12:33:36.592Z] ==> Detecting git/mercurial file structure [2021-04-01T12:33:36.592Z] ==> Reading reports [2021-04-01T12:33:36.592Z] + ./coverage.out bytes=101239 [2021-04-01T12:33:36.592Z] ==> Appending adjustments [2021-04-01T12:33:36.592Z] https://docs.codecov.io/docs/fixing-reports [2021-04-01T12:33:37.169Z] + Found adjustments [2021-04-01T12:33:37.169Z] ==> Gzipping contents [2021-04-01T12:33:37.169Z] 16K /tmp/codecov.jOI6GY.gz [2021-04-01T12:33:37.169Z] ==> Uploading reports [2021-04-01T12:33:37.169Z] url: https://codecov.io [2021-04-01T12:33:37.169Z] query: branch=PR-844&commit=c8fd14d44e3511f1fc42d47f205efd4689f12aac&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= [2021-04-01T12:33:37.169Z] -> Pinging Codecov [2021-04-01T12:33:37.169Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-844&commit=c8fd14d44e3511f1fc42d47f205efd4689f12aac&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= [2021-04-01T12:33:37.439Z] -> Uploading to [2021-04-01T12:33:37.439Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-01/7E55EF52A471D76F132DFD9A03CDDE97/c8fd14d44e3511f1fc42d47f205efd4689f12aac/7b1f753d-ca54-4cae-ab4d-79cabef2e125.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210401T123337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43913d631e9faba489f0b7870b3b18d60d1e14481860d99dd2ea4ee650367022 [2021-04-01T12:33:37.439Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-01T12:33:37.439Z] Dload Upload Total Spent Left Speed [2021-04-01T12:33:38.025Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13716 0 0 100 13716 0 29022 --:--:-- --:--:-- --:--:-- 28997 100 13716 0 0 100 13716 0 29011 --:--:-- --:--:-- --:--:-- 28997 [2021-04-01T12:33:38.025Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c8fd14d44e3511f1fc42d47f205efd4689f12aac [Pipeline] } [2021-04-01T12:33:38.046Z] 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-01T12:33:40.813Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:33:41.126Z] ---> package-listing.sh [2021-04-01T12:33:41.126Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-01T12:33:41.126Z] ++ facter osfamily [2021-04-01T12:33:41.126Z] + OS_FAMILY=redhat [2021-04-01T12:33:41.126Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 [2021-04-01T12:33:41.126Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-01T12:33:41.126Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-01T12:33:41.126Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-01T12:33:41.126Z] + PACKAGES=/tmp/packages_start.txt [2021-04-01T12:33:41.126Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-04-01T12:33:41.126Z] + PACKAGES=/tmp/packages_end.txt [2021-04-01T12:33:41.126Z] + case "${OS_FAMILY}" in [2021-04-01T12:33:41.126Z] + rpm -qa [2021-04-01T12:33:41.126Z] + sort [2021-04-01T12:33:46.446Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-01T12:33:46.446Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-01T12:33:46.446Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-01T12:33:46.446Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' [2021-04-01T12:33:46.446Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [2021-04-01T12:33:46.446Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo [2021-04-01T12:33:46.465Z] 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-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-01T12:33:46.760Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:33:47.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T12:33:47.068Z] [2021-04-01T12:33:47.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-01T12:33:47.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T12:33:47.422Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-01T12:33:47.422Z] df20fa9351a1: Pulling fs layer [2021-04-01T12:33:47.422Z] 36b3adc4ff6f: Pulling fs layer [2021-04-01T12:33:47.422Z] 8ad3a11d3b57: Pulling fs layer [2021-04-01T12:33:47.422Z] 46f8f816bc3b: Pulling fs layer [2021-04-01T12:33:47.422Z] 46f8f816bc3b: Waiting [2021-04-01T12:33:47.422Z] 93b61091891f: Pulling fs layer [2021-04-01T12:33:47.422Z] 93b9cdb0e59b: Pulling fs layer [2021-04-01T12:33:47.422Z] 5e14af77c1be: Pulling fs layer [2021-04-01T12:33:47.422Z] 01666e4c0597: Pulling fs layer [2021-04-01T12:33:47.422Z] aa168da1d23b: Pulling fs layer [2021-04-01T12:33:47.422Z] 93b9cdb0e59b: Waiting [2021-04-01T12:33:47.422Z] 93b61091891f: Waiting [2021-04-01T12:33:47.422Z] 5e14af77c1be: Waiting [2021-04-01T12:33:47.422Z] 01666e4c0597: Waiting [2021-04-01T12:33:47.422Z] aa168da1d23b: Waiting [2021-04-01T12:33:47.422Z] 36b3adc4ff6f: Download complete [2021-04-01T12:33:47.685Z] 46f8f816bc3b: Verifying Checksum [2021-04-01T12:33:47.685Z] 46f8f816bc3b: Download complete [2021-04-01T12:33:47.685Z] df20fa9351a1: Verifying Checksum [2021-04-01T12:33:47.685Z] df20fa9351a1: Download complete [2021-04-01T12:33:47.685Z] 93b9cdb0e59b: Verifying Checksum [2021-04-01T12:33:47.685Z] 93b9cdb0e59b: Download complete [2021-04-01T12:33:47.685Z] 5e14af77c1be: Verifying Checksum [2021-04-01T12:33:47.685Z] 5e14af77c1be: Download complete [2021-04-01T12:33:47.685Z] 93b61091891f: Verifying Checksum [2021-04-01T12:33:47.685Z] 93b61091891f: Download complete [2021-04-01T12:33:47.685Z] 01666e4c0597: Verifying Checksum [2021-04-01T12:33:47.685Z] 01666e4c0597: Download complete [2021-04-01T12:33:47.946Z] df20fa9351a1: Pull complete [2021-04-01T12:33:48.207Z] 36b3adc4ff6f: Pull complete [2021-04-01T12:33:48.478Z] 8ad3a11d3b57: Verifying Checksum [2021-04-01T12:33:48.478Z] 8ad3a11d3b57: Download complete [2021-04-01T12:33:50.405Z] aa168da1d23b: Verifying Checksum [2021-04-01T12:33:50.405Z] aa168da1d23b: Download complete [2021-04-01T12:33:50.669Z] 8ad3a11d3b57: Pull complete [2021-04-01T12:33:50.669Z] 46f8f816bc3b: Pull complete [2021-04-01T12:33:50.932Z] 93b61091891f: Pull complete [2021-04-01T12:33:51.195Z] 93b9cdb0e59b: Pull complete [2021-04-01T12:33:51.195Z] 5e14af77c1be: Pull complete [2021-04-01T12:33:51.458Z] 01666e4c0597: Pull complete [2021-04-01T12:33:59.652Z] aa168da1d23b: Pull complete [2021-04-01T12:33:59.652Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-01T12:33:59.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-01T12:33:59.652Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-01T12:33:59.830Z] prd-centos7-docker-4c-2g-32459 does not seem to be running inside a container [2021-04-01T12:33:59.875Z] $ 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-844/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-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-01T12:34:03.927Z] $ docker top 586a82f85c199cf1d611159fb744c2d5703cf925666ecd11d8bc87627210c5dd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-01T12:34:04.461Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-01T12:34:04.763Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-01T12:34:05.061Z] + ls /var/log/sa-host [2021-04-01T12:34:05.061Z] + sadf -c /var/log/sa-host/sa01 [2021-04-01T12:34:05.061Z] file_magic: OK [2021-04-01T12:34:05.061Z] HZ: Using current value: 100 [2021-04-01T12:34:05.061Z] file_header: OK [2021-04-01T12:34:05.061Z] 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-01T12:34:05.061Z] Statistics: [2021-04-01T12:34:05.062Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-01T12:34:05.062Z] File successfully converted to sysstat format version 12.2.1 [2021-04-01T12:34:05.062Z] + sadf -c /var/log/sa-host/sa23 [2021-04-01T12:34:05.062Z] file_magic: OK [2021-04-01T12:34:05.062Z] HZ: Using current value: 100 [2021-04-01T12:34:05.062Z] file_header: OK [2021-04-01T12:34:05.062Z] 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-01T12:34:05.062Z] Statistics: [2021-04-01T12:34:05.062Z] Hnuu...uuuununununu... [2021-04-01T12:34:05.062Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-01T12:34:05.795Z] provisioning config files... [2021-04-01T12:34:05.819Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config1091470425370841773tmp [Pipeline] { [Pipeline] echo [2021-04-01T12:34:05.897Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:34:06.196Z] ---> create-netrc.sh [Pipeline] } [2021-04-01T12:34:06.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-01T12:34:06.316Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:34:06.613Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-01T12:34:06.624Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:34:06.922Z] ---> sudo-logs.sh [2021-04-01T12:34:06.922Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-01T12:34:06.991Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:34:07.287Z] ---> job-cost.sh [2021-04-01T12:34:07.287Z] lf-activate-venv: SKIPPING [2021-04-01T12:34:07.287Z] DEBUG: total: 0.20999999344348907 [2021-04-01T12:34:07.287Z] INFO: Retrieving Stack Cost... [2021-04-01T12:34:08.677Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-01T12:34:08.938Z] INFO: Archiving Costs [Pipeline] echo [2021-04-01T12:34:08.952Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-01T12:34:09.251Z] ---> logs-deploy.sh [2021-04-01T12:34:09.251Z] lf-activate-venv: SKIPPING [2021-04-01T12:34:09.251Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/8 [2021-04-01T12:34:09.251Z] INFO: archiving workspace using pattern(s): [2021-04-01T12:34:11.169Z] Archives upload complete. [2021-04-01T12:34:11.169Z] INFO: archiving logs to Nexus [2021-04-01T12:34:12.113Z] ---> uname -a: [2021-04-01T12:34:12.113Z] Linux prd-centos7-docker-4c-2g-32459.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-01T12:34:12.113Z] [2021-04-01T12:34:12.113Z]