Pull request #811 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 df528cba39348f8e1f4e13a531a95c1d592230f2+62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (d662939435c225b76137ce4ebdd553c35a827c1a) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29128 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [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-811 # 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 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit df528cba39348f8e1f4e13a531a95c1d592230f2 Merge succeeded, producing df528cba39348f8e1f4e13a531a95c1d592230f2 Checking out Revision df528cba39348f8e1f4e13a531a95c1d592230f2 (PR-811) 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/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # 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 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 Commit message: "refactor: use new CommandValue function/method" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 76e103c2ad1a104127ad77989930aecfa798f89b # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-09T09:51:17.782Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-09T09:51:18.147Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-09T09:51:18.269Z] ========================================================= [2021-03-09T09:51:18.269Z] EdgeX Global Pipelines Version Info [2021-03-09T09:51:18.269Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-09T09:51:19.737Z] ------------------- [2021-03-09T09:51:19.737Z] stable info: [2021-03-09T09:51:19.737Z] ------------------- [2021-03-09T09:51:19.737Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-09T09:51:19.737Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-09T09:51:19.737Z] Message: update stable to v1.0.184 [2021-03-09T09:51:20.686Z] ------------------- [2021-03-09T09:51:20.686Z] experimental info: [2021-03-09T09:51:20.686Z] ------------------- [2021-03-09T09:51:20.686Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-09T09:51:20.686Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-09T09:51:20.686Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-09T09:51:21.136Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-09T09:51:21.235Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-09T09:51:21.367Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-09T09:51:21.477Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-09T09:51:21.582Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-09T09:51:21.689Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-09T09:51:21.800Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-09T09:51:21.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-09T09:51:22.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-09T09:51:22.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-09T09:51:22.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-09T09:51:22.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-09T09:51:22.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-09T09:51:22.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-09T09:51:22.619Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-09T09:51:22.717Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-09T09:51:22.851Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-09T09:51:22.942Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-09T09:51:23.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-09T09:51:23.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-09T09:51:23.249Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-09T09:51:23.374Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-09T09:51:23.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-09T09:51:23.570Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-09T09:51:23.664Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-09T09:51:23.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-09T09:51:23.880Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-811 [Pipeline] echo [2021-03-09T09:51:23.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-811 [Pipeline] echo [2021-03-09T09:51:24.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-811 [Pipeline] echo [2021-03-09T09:51:24.155Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df528cba39348f8e1f4e13a531a95c1d592230f2 [Pipeline] echo [2021-03-09T09:51:24.241Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df528cb [Pipeline] echo [2021-03-09T09:51:24.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-09T09:51:24.627Z] provisioning config files... [2021-03-09T09:51:24.679Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config5487798637440807827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-09T09:51:25.041Z] ---> docker-login.sh [2021-03-09T09:51:25.042Z] nexus3.edgexfoundry.org:10001 [2021-03-09T09:51:25.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:51:25.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:51:25.571Z] Configure a credential helper to remove this warning. See [2021-03-09T09:51:25.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:51:25.571Z] [2021-03-09T09:51:25.571Z] Login Succeeded [2021-03-09T09:51:25.571Z] nexus3.edgexfoundry.org:10002 [2021-03-09T09:51:25.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:51:25.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:51:25.839Z] Configure a credential helper to remove this warning. See [2021-03-09T09:51:25.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:51:25.839Z] [2021-03-09T09:51:25.839Z] Login Succeeded [2021-03-09T09:51:25.839Z] nexus3.edgexfoundry.org:10003 [2021-03-09T09:51:26.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:51:26.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:51:26.105Z] Configure a credential helper to remove this warning. See [2021-03-09T09:51:26.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:51:26.105Z] [2021-03-09T09:51:26.105Z] Login Succeeded [2021-03-09T09:51:26.105Z] nexus3.edgexfoundry.org:10004 [2021-03-09T09:51:26.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:51:26.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:51:26.370Z] Configure a credential helper to remove this warning. See [2021-03-09T09:51:26.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:51:26.370Z] [2021-03-09T09:51:26.370Z] Login Succeeded [2021-03-09T09:51:26.370Z] docker.io [2021-03-09T09:51:26.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:51:26.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:51:26.633Z] Configure a credential helper to remove this warning. See [2021-03-09T09:51:26.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:51:26.633Z] [2021-03-09T09:51:26.633Z] Login Succeeded [2021-03-09T09:51:26.633Z] ---> docker-login.sh ends [Pipeline] } [2021-03-09T09:51:26.643Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-09T09:51:27.510Z] + git log --format=format:%s -1 df528cba39348f8e1f4e13a531a95c1d592230f2 [Pipeline] echo [2021-03-09T09:51:27.582Z] GIT_COMMIT: df528cba39348f8e1f4e13a531a95c1d592230f2, Commit Message: refactor: use new CommandValue function/method [Pipeline] echo [2021-03-09T09:51:27.642Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:51:28.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-09T09:51:28.631Z] [2021-03-09T09:51:28.631Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:51:28.996Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-09T09:51:28.996Z] latest: Pulling from edgex-devops/git-semver [2021-03-09T09:51:28.996Z] 31603596830f: Pulling fs layer [2021-03-09T09:51:28.996Z] 2a8b12db71e7: Pulling fs layer [2021-03-09T09:51:28.996Z] 6ca5941a6612: Pulling fs layer [2021-03-09T09:51:28.996Z] ecc8261a40a4: Pulling fs layer [2021-03-09T09:51:28.996Z] ecc8261a40a4: Waiting [2021-03-09T09:51:28.996Z] 2a8b12db71e7: Verifying Checksum [2021-03-09T09:51:28.996Z] 2a8b12db71e7: Download complete [2021-03-09T09:51:29.266Z] 31603596830f: Verifying Checksum [2021-03-09T09:51:29.266Z] 31603596830f: Download complete [2021-03-09T09:51:29.266Z] ecc8261a40a4: Verifying Checksum [2021-03-09T09:51:29.266Z] ecc8261a40a4: Download complete [2021-03-09T09:51:29.266Z] 6ca5941a6612: Verifying Checksum [2021-03-09T09:51:29.266Z] 6ca5941a6612: Download complete [2021-03-09T09:51:29.530Z] 31603596830f: Pull complete [2021-03-09T09:51:29.530Z] 2a8b12db71e7: Pull complete [2021-03-09T09:51:30.490Z] 6ca5941a6612: Pull complete [2021-03-09T09:51:31.067Z] ecc8261a40a4: Pull complete [2021-03-09T09:51:31.067Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-09T09:51:31.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-09T09:51:31.331Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-09T09:51:31.442Z] prd-centos7-docker-4c-2g-29128 does not seem to be running inside a container [2021-03-09T09:51:31.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-811 -v /w/workspace/dgexfoundry_device-sdk-go_PR-811:/w/workspace/dgexfoundry_device-sdk-go_PR-811:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-09T09:51:33.500Z] $ docker top b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-09T09:51:33.805Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-09T09:51:33.805Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-09T09:51:34.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-09T09:51:34.054Z] $ docker exec b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 ssh-agent [2021-03-09T09:51:34.241Z] SSH_AUTH_SOCK=/tmp/ssh-eFOWkfP09hAL/agent.13 [2021-03-09T09:51:34.241Z] SSH_AGENT_PID=18 [2021-03-09T09:51:34.255Z] Running ssh-add (command line suppressed) [2021-03-09T09:51:34.383Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_9181079985248086176.key (/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_9181079985248086176.key) [2021-03-09T09:51:34.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-09T09:51:34.787Z] + git tag --points-at HEAD [Pipeline] } [2021-03-09T09:51:34.811Z] $ docker exec --env ******** --env ******** b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 ssh-agent -k [2021-03-09T09:51:34.947Z] unset SSH_AUTH_SOCK; [2021-03-09T09:51:34.947Z] unset SSH_AGENT_PID; [2021-03-09T09:51:34.947Z] echo Agent pid 18 killed; [2021-03-09T09:51:34.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-09T09:51:35.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-09T09:51:35.143Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-09T09:51:35.329Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-09T09:51:35.333Z] $ docker exec b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 ssh-agent [2021-03-09T09:51:35.506Z] SSH_AUTH_SOCK=/tmp/ssh-Dq74xdJ7xwmf/agent.47 [2021-03-09T09:51:35.506Z] SSH_AGENT_PID=52 [2021-03-09T09:51:35.515Z] Running ssh-add (command line suppressed) [2021-03-09T09:51:35.642Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_7749204403182443979.key (/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_7749204403182443979.key) [2021-03-09T09:51:35.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-09T09:51:36.074Z] + git semver init [2021-03-09T09:51:36.074Z] # -> Open(): unable to determine branch for HEAD [2021-03-09T09:51:36.074Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-811/.git [2021-03-09T09:51:36.074Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-811 [2021-03-09T09:51:36.074Z] # $SEMVER_REMOTE_NAME = origin [2021-03-09T09:51:36.074Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-09T09:51:36.074Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-09T09:51:36.074Z] # $SEMVER_BRANCH = PR-811 [2021-03-09T09:51:36.074Z] # $SEMVER_TEMP = /tmp/semver-529401558 [2021-03-09T09:51:36.074Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-09T09:51:36.657Z] # '/tmp/semver-529401558' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-811/.semver' [2021-03-09T09:51:36.657Z] # -> Force: false [2021-03-09T09:51:36.657Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-811/.semver [Pipeline] } [2021-03-09T09:51:36.672Z] $ docker exec --env ******** --env ******** b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 ssh-agent -k [2021-03-09T09:51:36.794Z] unset SSH_AUTH_SOCK; [2021-03-09T09:51:36.794Z] unset SSH_AGENT_PID; [2021-03-09T09:51:36.794Z] echo Agent pid 52 killed; [2021-03-09T09:51:36.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-09T09:51:37.510Z] + git semver [Pipeline] } [2021-03-09T09:51:37.528Z] $ docker stop --time=1 b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 [2021-03-09T09:51:38.953Z] $ docker rm -f b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-09T09:51:39.419Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-09T09:51:39.965Z] Stashed 1 file(s) [Pipeline] echo [2021-03-09T09:51:39.968Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-09T09:51:55.584Z] Still waiting to schedule task [2021-03-09T09:51:55.584Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29128’ [2021-03-09T09:51:55.586Z] Still waiting to schedule task [2021-03-09T09:51:55.586Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-09T09:53:42.154Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29129 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] ws [2021-03-09T09:53:42.225Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-09T09:53:47.455Z] using credential edgex-jenkins-ssh [2021-03-09T09:53:47.522Z] Cloning the remote Git repository [2021-03-09T09:53:47.572Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T09:53:47.691Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-09T09:53:47.761Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T09:53:47.762Z] > git --version # timeout=10 [2021-03-09T09:53:47.783Z] > git --version # 'git version 2.17.1' [2021-03-09T09:53:47.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T09:53:47.873Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-09T09:53:49.632Z] Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit df528cba39348f8e1f4e13a531a95c1d592230f2 [2021-03-09T09:53:48.929Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-09T09:53:48.958Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-09T09:53:48.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-09T09:53:49.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T09:53:49.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T09:53:49.043Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-09T09:53:49.650Z] > git config core.sparsecheckout # timeout=10 [2021-03-09T09:53:49.669Z] > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 [2021-03-09T09:53:49.790Z] > git remote # timeout=10 [2021-03-09T09:53:49.816Z] > git config --get remote.origin.url # timeout=10 [2021-03-09T09:53:49.902Z] Merge succeeded, producing df528cba39348f8e1f4e13a531a95c1d592230f2 [2021-03-09T09:53:49.903Z] Checking out Revision df528cba39348f8e1f4e13a531a95c1d592230f2 (PR-811) [2021-03-09T09:53:49.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T09:53:49.849Z] > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-09T09:53:49.876Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-09T09:53:49.905Z] > git config core.sparsecheckout # timeout=10 [2021-03-09T09:53:49.922Z] > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 [2021-03-09T09:53:54.523Z] Commit message: "refactor: use new CommandValue function/method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-09T09:53:56.318Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-09T09:53:56.737Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-09T09:53:57.120Z] + sudo service docker restart [2021-03-09T09:53:57.120Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-09T09:53:59.819Z] provisioning config files... [2021-03-09T09:53:59.859Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7916684252753864307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-09T09:54:00.273Z] ---> docker-login.sh [2021-03-09T09:54:00.273Z] nexus3.edgexfoundry.org:10001 [2021-03-09T09:54:01.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:01.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:01.526Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:01.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:01.526Z] [2021-03-09T09:54:01.526Z] Login Succeeded [2021-03-09T09:54:01.526Z] nexus3.edgexfoundry.org:10002 [2021-03-09T09:54:01.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:02.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:02.080Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:02.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:02.080Z] [2021-03-09T09:54:02.080Z] Login Succeeded [2021-03-09T09:54:02.080Z] nexus3.edgexfoundry.org:10003 [2021-03-09T09:54:02.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:02.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:02.354Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:02.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:02.354Z] [2021-03-09T09:54:02.354Z] Login Succeeded [2021-03-09T09:54:02.354Z] nexus3.edgexfoundry.org:10004 [2021-03-09T09:54:02.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:02.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:02.951Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:02.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:02.951Z] [2021-03-09T09:54:02.951Z] Login Succeeded [2021-03-09T09:54:02.951Z] docker.io [2021-03-09T09:54:03.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:03.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:03.500Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:03.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:03.500Z] [2021-03-09T09:54:03.500Z] Login Succeeded [2021-03-09T09:54:03.500Z] ---> docker-login.sh ends [Pipeline] } [2021-03-09T09:54:03.517Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-09T09:54:03.960Z] ========================================================= [2021-03-09T09:54:03.960Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-09T09:54:03.960Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:54:04.363Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-09T09:54:04.656Z] Sending build context to Docker daemon 2.323MB [2021-03-09T09:54:04.931Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-09T09:54:04.931Z] Step 2/8 : FROM ${BASE} [2021-03-09T09:54:04.931Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-09T09:54:04.931Z] 5f621e34cdf4: Pulling fs layer [2021-03-09T09:54:04.931Z] a4357932f1b6: Pulling fs layer [2021-03-09T09:54:04.932Z] 18c013af1878: Pulling fs layer [2021-03-09T09:54:04.932Z] 00ac8860ef70: Pulling fs layer [2021-03-09T09:54:04.932Z] 63d7cb157983: Pulling fs layer [2021-03-09T09:54:04.932Z] b116817d02f9: Pulling fs layer [2021-03-09T09:54:04.932Z] 745a02a5169b: Pulling fs layer [2021-03-09T09:54:04.932Z] 63d7cb157983: Waiting [2021-03-09T09:54:04.932Z] 00ac8860ef70: Waiting [2021-03-09T09:54:04.932Z] b116817d02f9: Waiting [2021-03-09T09:54:04.932Z] 745a02a5169b: Waiting [2021-03-09T09:54:04.932Z] 18c013af1878: Verifying Checksum [2021-03-09T09:54:04.932Z] 18c013af1878: Download complete [2021-03-09T09:54:04.932Z] a4357932f1b6: Verifying Checksum [2021-03-09T09:54:04.932Z] a4357932f1b6: Download complete [2021-03-09T09:54:04.932Z] 63d7cb157983: Verifying Checksum [2021-03-09T09:54:04.932Z] 63d7cb157983: Download complete [2021-03-09T09:54:05.203Z] b116817d02f9: Download complete [2021-03-09T09:54:05.484Z] 5f621e34cdf4: Verifying Checksum [2021-03-09T09:54:05.484Z] 5f621e34cdf4: Download complete [2021-03-09T09:54:06.484Z] 5f621e34cdf4: Pull complete [2021-03-09T09:54:06.762Z] a4357932f1b6: Pull complete [2021-03-09T09:54:07.360Z] 18c013af1878: Pull complete [2021-03-09T09:54:07.635Z] 745a02a5169b: Verifying Checksum [2021-03-09T09:54:07.635Z] 745a02a5169b: Download complete [2021-03-09T09:54:09.621Z] 00ac8860ef70: Verifying Checksum [2021-03-09T09:54:09.621Z] 00ac8860ef70: Download complete [2021-03-09T09:54:19.811Z] 00ac8860ef70: Pull complete [2021-03-09T09:54:19.811Z] 63d7cb157983: Pull complete [2021-03-09T09:54:20.085Z] b116817d02f9: Pull complete [2021-03-09T09:54:20.818Z] Running on prd-centos7-docker-4c-2g-29130 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] ws [2021-03-09T09:54:20.905Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-09T09:54:23.441Z] using credential edgex-jenkins-ssh [2021-03-09T09:54:23.497Z] Cloning the remote Git repository [2021-03-09T09:54:24.409Z] 745a02a5169b: Pull complete [2021-03-09T09:54:24.409Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-09T09:54:24.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-09T09:54:24.409Z] ---> b7e6874047d6 [2021-03-09T09:54:24.409Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T09:54:23.524Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T09:54:23.593Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-09T09:54:23.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T09:54:23.651Z] > git --version # timeout=10 [2021-03-09T09:54:23.660Z] > git --version # 'git version 2.24.3' [2021-03-09T09:54:23.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T09:54:23.689Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-09T09:54:24.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-09T09:54:24.412Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-09T09:54:24.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-09T09:54:24.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T09:54:24.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T09:54:24.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-09T09:54:24.916Z] Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit df528cba39348f8e1f4e13a531a95c1d592230f2 [2021-03-09T09:54:25.009Z] Merge succeeded, producing df528cba39348f8e1f4e13a531a95c1d592230f2 [2021-03-09T09:54:25.010Z] Checking out Revision df528cba39348f8e1f4e13a531a95c1d592230f2 (PR-811) [2021-03-09T09:54:24.923Z] > git config core.sparsecheckout # timeout=10 [2021-03-09T09:54:24.930Z] > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 [2021-03-09T09:54:24.974Z] > git remote # timeout=10 [2021-03-09T09:54:24.980Z] > git config --get remote.origin.url # timeout=10 [2021-03-09T09:54:24.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T09:54:24.991Z] > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-09T09:54:25.001Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-09T09:54:25.011Z] > git config core.sparsecheckout # timeout=10 [2021-03-09T09:54:25.016Z] > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 [2021-03-09T09:54:27.032Z] ---> Running in d70c7306287d [2021-03-09T09:54:27.309Z] Removing intermediate container d70c7306287d [2021-03-09T09:54:27.309Z] ---> 85f774f631bd [2021-03-09T09:54:27.309Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-09T09:54:27.309Z] ---> Running in 9abaeb510543 [2021-03-09T09:54:28.693Z] Commit message: "refactor: use new CommandValue function/method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-09T09:54:29.939Z] Removing intermediate container 9abaeb510543 [2021-03-09T09:54:29.939Z] ---> cb415350ad65 [2021-03-09T09:54:29.939Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-09T09:54:29.939Z] ---> Running in 80611ff9175c [2021-03-09T09:54:29.961Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-09T09:54:30.309Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-09T09:54:30.614Z] + sudo service docker restart [2021-03-09T09:54:30.614Z] + true [2021-03-09T09:54:30.614Z] Redirecting to /bin/systemctl restart docker.service [2021-03-09T09:54:30.917Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-09T09:54:31.899Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-09T09:54:32.082Z] provisioning config files... [2021-03-09T09:54:32.122Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8897176264208013280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-09T09:54:32.497Z] OK: 142 MiB in 39 packages [2021-03-09T09:54:32.506Z] ---> docker-login.sh [2021-03-09T09:54:32.506Z] nexus3.edgexfoundry.org:10001 [2021-03-09T09:54:32.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:32.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:32.769Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:32.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:32.769Z] [2021-03-09T09:54:32.769Z] Login Succeeded [2021-03-09T09:54:32.769Z] nexus3.edgexfoundry.org:10002 [2021-03-09T09:54:33.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:33.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:33.034Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:33.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:33.034Z] [2021-03-09T09:54:33.034Z] Login Succeeded [2021-03-09T09:54:33.034Z] nexus3.edgexfoundry.org:10003 [2021-03-09T09:54:33.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:33.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:33.299Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:33.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:33.299Z] [2021-03-09T09:54:33.299Z] Login Succeeded [2021-03-09T09:54:33.299Z] nexus3.edgexfoundry.org:10004 [2021-03-09T09:54:33.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:33.473Z] Removing intermediate container 80611ff9175c [2021-03-09T09:54:33.473Z] ---> 28c66bfb89d0 [2021-03-09T09:54:33.473Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-09T09:54:33.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:33.565Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:33.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:33.565Z] [2021-03-09T09:54:33.565Z] Login Succeeded [2021-03-09T09:54:33.565Z] docker.io [2021-03-09T09:54:33.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T09:54:33.748Z] ---> Running in f67e54c134eb [2021-03-09T09:54:33.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T09:54:33.829Z] Configure a credential helper to remove this warning. See [2021-03-09T09:54:33.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T09:54:33.829Z] [2021-03-09T09:54:33.829Z] Login Succeeded [2021-03-09T09:54:33.829Z] ---> docker-login.sh ends [Pipeline] } [2021-03-09T09:54:33.840Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-03-09T09:54:34.027Z] Removing intermediate container f67e54c134eb [2021-03-09T09:54:34.027Z] ---> bd6d9dfb010f [2021-03-09T09:54:34.027Z] Step 7/8 : COPY . . [Pipeline] unstash [Pipeline] echo [2021-03-09T09:54:34.241Z] ========================================================= [2021-03-09T09:54:34.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-09T09:54:34.241Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:54:34.589Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-09T09:54:34.853Z] Sending build context to Docker daemon 2.324MB [2021-03-09T09:54:34.853Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-09T09:54:34.853Z] Step 2/8 : FROM ${BASE} [2021-03-09T09:54:34.853Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-09T09:54:34.853Z] 188c0c94c7c5: Pulling fs layer [2021-03-09T09:54:34.853Z] 0ef7d3d256c8: Pulling fs layer [2021-03-09T09:54:34.853Z] de9db76c5a1d: Pulling fs layer [2021-03-09T09:54:34.853Z] bca2f99d35d6: Pulling fs layer [2021-03-09T09:54:34.853Z] 93359f2a8cfa: Pulling fs layer [2021-03-09T09:54:34.853Z] 7c6f9722023f: Pulling fs layer [2021-03-09T09:54:34.853Z] a35cf1a2eb13: Pulling fs layer [2021-03-09T09:54:34.853Z] 93359f2a8cfa: Waiting [2021-03-09T09:54:34.853Z] 7c6f9722023f: Waiting [2021-03-09T09:54:34.853Z] a35cf1a2eb13: Waiting [2021-03-09T09:54:34.853Z] bca2f99d35d6: Waiting [2021-03-09T09:54:34.853Z] 0ef7d3d256c8: Verifying Checksum [2021-03-09T09:54:34.853Z] 0ef7d3d256c8: Download complete [2021-03-09T09:54:34.853Z] de9db76c5a1d: Verifying Checksum [2021-03-09T09:54:34.853Z] de9db76c5a1d: Download complete [2021-03-09T09:54:34.853Z] 93359f2a8cfa: Verifying Checksum [2021-03-09T09:54:34.853Z] 93359f2a8cfa: Download complete [2021-03-09T09:54:34.853Z] 188c0c94c7c5: Verifying Checksum [2021-03-09T09:54:34.853Z] 188c0c94c7c5: Download complete [2021-03-09T09:54:34.853Z] 7c6f9722023f: Verifying Checksum [2021-03-09T09:54:34.853Z] 7c6f9722023f: Download complete [2021-03-09T09:54:35.120Z] 188c0c94c7c5: Pull complete [2021-03-09T09:54:35.387Z] 0ef7d3d256c8: Pull complete [2021-03-09T09:54:35.477Z] ---> 73adc89faff6 [2021-03-09T09:54:35.477Z] Step 8/8 : RUN go mod download [2021-03-09T09:54:35.477Z] ---> Running in fb322055fe0a [2021-03-09T09:54:35.656Z] de9db76c5a1d: Pull complete [2021-03-09T09:54:36.610Z] a35cf1a2eb13: Download complete [2021-03-09T09:54:37.578Z] bca2f99d35d6: Verifying Checksum [2021-03-09T09:54:37.578Z] bca2f99d35d6: Download complete [2021-03-09T09:54:44.271Z] bca2f99d35d6: Pull complete [2021-03-09T09:54:44.271Z] 93359f2a8cfa: Pull complete [2021-03-09T09:54:44.271Z] 7c6f9722023f: Pull complete [2021-03-09T09:54:50.927Z] a35cf1a2eb13: Pull complete [2021-03-09T09:54:50.927Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-09T09:54:50.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-09T09:54:50.927Z] ---> a62c8e92a672 [2021-03-09T09:54:50.927Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T09:54:50.927Z] ---> Running in be674ecd3271 [2021-03-09T09:54:50.927Z] Removing intermediate container be674ecd3271 [2021-03-09T09:54:50.927Z] ---> b9ca18f55a02 [2021-03-09T09:54:50.927Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-09T09:54:51.190Z] ---> Running in 4175e5e766f3 [2021-03-09T09:54:52.148Z] Removing intermediate container 4175e5e766f3 [2021-03-09T09:54:52.148Z] ---> 68fcfeaf893e [2021-03-09T09:54:52.148Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-09T09:54:52.148Z] ---> Running in 090de7de452e [2021-03-09T09:54:53.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-09T09:54:54.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-09T09:54:54.699Z] OK: 166 MiB in 39 packages [2021-03-09T09:54:54.963Z] Removing intermediate container 090de7de452e [2021-03-09T09:54:54.963Z] ---> 86e59a72e2d0 [2021-03-09T09:54:54.963Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-09T09:54:54.963Z] ---> Running in b847074bedf1 [2021-03-09T09:54:55.228Z] Removing intermediate container b847074bedf1 [2021-03-09T09:54:55.228Z] ---> e7e5e50b4013 [2021-03-09T09:54:55.228Z] Step 7/8 : COPY . . [2021-03-09T09:54:56.179Z] ---> 7ab3d6de1273 [2021-03-09T09:54:56.179Z] Step 8/8 : RUN go mod download [2021-03-09T09:54:56.454Z] ---> Running in 037cfc08b59e [2021-03-09T09:55:02.256Z] Removing intermediate container fb322055fe0a [2021-03-09T09:55:02.256Z] ---> 7eeb7ae915cb [2021-03-09T09:55:02.256Z] Successfully built 7eeb7ae915cb [2021-03-09T09:55:02.256Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:55:02.601Z] + docker inspect -f . ci-base-image-arm64 [2021-03-09T09:55:02.601Z] . [Pipeline] withDockerContainer [2021-03-09T09:55:02.823Z] prd-ubuntu18.04-docker-arm64-4c-16g-29129 does not seem to be running inside a container [2021-03-09T09:55:02.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-09T09:55:04.275Z] $ docker top 36c69f3547697aa2f72703231b5ac9ca91fb8cb793a5a0d3fca85ab74a6c257d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T09:55:05.232Z] + go version [2021-03-09T09:55:05.232Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-09T09:55:05.265Z] $ docker stop --time=1 36c69f3547697aa2f72703231b5ac9ca91fb8cb793a5a0d3fca85ab74a6c257d [2021-03-09T09:55:07.207Z] $ docker rm -f 36c69f3547697aa2f72703231b5ac9ca91fb8cb793a5a0d3fca85ab74a6c257d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:55:08.176Z] + docker inspect -f . ci-base-image-arm64 [2021-03-09T09:55:08.176Z] . [Pipeline] withDockerContainer [2021-03-09T09:55:08.429Z] prd-ubuntu18.04-docker-arm64-4c-16g-29129 does not seem to be running inside a container [2021-03-09T09:55:08.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-09T09:55:09.941Z] $ docker top 9a0dc837b3531189d2faff3c53f91d008e17449cbd264bd2f2757d6e7d5078d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T09:55:10.967Z] + make test [2021-03-09T09:55:10.967Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-09T09:55:18.484Z] Removing intermediate container 037cfc08b59e [2021-03-09T09:55:18.484Z] ---> e2b2e2004a6c [2021-03-09T09:55:18.484Z] Successfully built e2b2e2004a6c [2021-03-09T09:55:18.484Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:55:18.803Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-09T09:55:18.803Z] . [Pipeline] withDockerContainer [2021-03-09T09:55:19.129Z] prd-centos7-docker-4c-2g-29130 does not seem to be running inside a container [2021-03-09T09:55:19.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-09T09:55:20.086Z] $ docker top 8d3f8479ae25b7f2e5f2417a78ae40b5aff8f6b6c9c7f904a7b33baff6a634d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T09:55:20.595Z] + go version [2021-03-09T09:55:20.595Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-09T09:55:20.611Z] $ docker stop --time=1 8d3f8479ae25b7f2e5f2417a78ae40b5aff8f6b6c9c7f904a7b33baff6a634d1 [2021-03-09T09:55:21.988Z] $ docker rm -f 8d3f8479ae25b7f2e5f2417a78ae40b5aff8f6b6c9c7f904a7b33baff6a634d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:55:22.848Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-09T09:55:22.848Z] . [Pipeline] withDockerContainer [2021-03-09T09:55:22.960Z] prd-centos7-docker-4c-2g-29130 does not seem to be running inside a container [2021-03-09T09:55:23.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-09T09:55:23.693Z] $ docker top 4da4a4687ad9b8594e844f4ab2dc575fb68c90bb4b02b4bc88f4ebfcb735bb2a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T09:55:24.214Z] + make test [2021-03-09T09:55:24.214Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-09T09:55:32.438Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-09T09:55:33.169Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-09T09:55:47.481Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-09T09:55:47.481Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-09T09:55:47.481Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-09T09:55:50.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 25.5% of statements [2021-03-09T09:56:20.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-09T09:56:20.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-09T09:56:20.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-09T09:56:20.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.124s coverage: 25.5% of statements [2021-03-09T09:56:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 10.5% of statements [2021-03-09T09:56:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 12.5% of statements [2021-03-09T09:56:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-09T09:56:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements [2021-03-09T09:56:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-09T09:56:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-09T09:56:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-09T09:56:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 47.6% of statements [2021-03-09T09:56:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-09T09:56:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.070s coverage: 81.3% of statements [2021-03-09T09:56:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.080s coverage: 24.8% of statements [2021-03-09T09:56:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.148s coverage: 6.4% of statements [2021-03-09T09:56:23.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.2% of statements [2021-03-09T09:56:23.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-09T09:56:23.070Z] GO111MODULE=on go vet ./... [2021-03-09T09:56:31.340Z] gofmt -l . [2021-03-09T09:56:31.340Z] [ "`gofmt -l .`" = "" ] [2021-03-09T09:56:31.340Z] ./bin/test-attribution-txt.sh [2021-03-09T09:56:31.921Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-09T09:56:32.204Z] $ docker stop --time=1 4da4a4687ad9b8594e844f4ab2dc575fb68c90bb4b02b4bc88f4ebfcb735bb2a [2021-03-09T09:56:34.213Z] $ docker rm -f 4da4a4687ad9b8594e844f4ab2dc575fb68c90bb4b02b4bc88f4ebfcb735bb2a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-09T09:56:34.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-09T09:56:35.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-09T09:56:38.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-09T09:56:38.595Z] + ls -al . [2021-03-09T09:56:38.595Z] total 184 [2021-03-09T09:56:38.595Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 9 09:56 . [2021-03-09T09:56:38.595Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 09:54 .. [2021-03-09T09:56:38.595Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 09:54 bin [2021-03-09T09:56:38.595Z] -rw-r--r--. 1 jenkins jenkins 102298 Mar 9 09:56 coverage.out [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 9 09:54 Dockerfile.build [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 09:54 .dockerignore [2021-03-09T09:56:38.595Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 9 09:54 example [2021-03-09T09:56:38.595Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 09:54 .git [2021-03-09T09:56:38.595Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 9 09:54 .github [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 09:54 .gitignore [2021-03-09T09:56:38.595Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 9 09:56 go.mod [2021-03-09T09:56:38.595Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 9 09:56 go.sum [2021-03-09T09:56:38.595Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 9 09:54 internal [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 9 09:54 Jenkinsfile [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 09:54 LICENSE [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 9 09:54 Makefile [2021-03-09T09:56:38.595Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 9 09:54 openapi [2021-03-09T09:56:38.595Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 9 09:54 pkg [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 9 09:54 README.md [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 9 09:54 RELEASE-NOTES.txt [2021-03-09T09:56:38.595Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 09:54 snap [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 09:51 VERSION [2021-03-09T09:56:38.595Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 09:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:56:38.908Z] + 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=df528cba39348f8e1f4e13a531a95c1d592230f2 --label arch=amd64 --label version=0.0.0 . [2021-03-09T09:56:39.172Z] Sending build context to Docker daemon 2.427MB [2021-03-09T09:56:39.172Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-09T09:56:39.172Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-09T09:56:39.172Z] ---> e2b2e2004a6c [2021-03-09T09:56:39.172Z] Step 3/24 : ARG MAKE='make build' [2021-03-09T09:56:39.748Z] ---> Running in 5ce53f1b3e9b [2021-03-09T09:56:40.011Z] Removing intermediate container 5ce53f1b3e9b [2021-03-09T09:56:40.011Z] ---> 1731fde061ae [2021-03-09T09:56:40.011Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-09T09:56:40.011Z] ---> Running in 8596a6ff07ec [2021-03-09T09:56:40.275Z] Removing intermediate container 8596a6ff07ec [2021-03-09T09:56:40.275Z] ---> ae02fbc9dc56 [2021-03-09T09:56:40.275Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T09:56:40.275Z] ---> Running in 3d80bb8460cc [2021-03-09T09:56:40.539Z] Removing intermediate container 3d80bb8460cc [2021-03-09T09:56:40.539Z] ---> 7150fc6f215c [2021-03-09T09:56:40.539Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-09T09:56:40.539Z] ---> Running in 8b719eb2919f [2021-03-09T09:56:41.489Z] Removing intermediate container 8b719eb2919f [2021-03-09T09:56:41.489Z] ---> 29e0b224e494 [2021-03-09T09:56:41.489Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-09T09:56:41.752Z] ---> Running in 89851dcb6919 [2021-03-09T09:56:42.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-09T09:56:43.288Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-09T09:56:43.865Z] OK: 166 MiB in 39 packages [2021-03-09T09:56:44.443Z] Removing intermediate container 89851dcb6919 [2021-03-09T09:56:44.443Z] ---> dbed556cf6a3 [2021-03-09T09:56:44.443Z] Step 8/24 : COPY . . [2021-03-09T09:56:45.391Z] ---> e59480959f9e [2021-03-09T09:56:45.391Z] Step 9/24 : RUN ${MAKE} [2021-03-09T09:56:45.656Z] ---> Running in d07a358c939f [2021-03-09T09:56:46.242Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-09T09:56:47.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.114s coverage: 10.5% of statements [2021-03-09T09:56:47.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 12.5% of statements [2021-03-09T09:56:47.009Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-09T09:56:47.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.135s coverage: 84.8% of statements [2021-03-09T09:56:47.009Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-09T09:56:47.009Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-09T09:56:47.009Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-09T09:56:47.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.184s coverage: 47.6% of statements [2021-03-09T09:56:47.009Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-09T09:56:47.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.158s coverage: 81.3% of statements [2021-03-09T09:56:47.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.162s coverage: 24.8% of statements [2021-03-09T09:56:47.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.830s coverage: 6.4% of statements [2021-03-09T09:56:47.009Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.2% of statements [2021-03-09T09:56:47.009Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-09T09:56:47.009Z] GO111MODULE=on go vet ./... [2021-03-09T09:56:56.354Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-09T09:56:57.306Z] Removing intermediate container d07a358c939f [2021-03-09T09:56:57.306Z] ---> 5e97da5bd05e [2021-03-09T09:56:57.306Z] Step 10/24 : FROM scratch [2021-03-09T09:56:57.306Z] ---> [2021-03-09T09:56:57.306Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T09:56:57.306Z] ---> Running in d6152dc3e68b [2021-03-09T09:56:57.306Z] Removing intermediate container d6152dc3e68b [2021-03-09T09:56:57.306Z] ---> 9a335a006401 [2021-03-09T09:56:57.306Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-09T09:56:57.306Z] ---> Running in 7a01924550ae [2021-03-09T09:56:57.570Z] Removing intermediate container 7a01924550ae [2021-03-09T09:56:57.570Z] ---> e81bcf1e87a6 [2021-03-09T09:56:57.570Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-09T09:56:57.570Z] ---> Running in 5dcc7063ae70 [2021-03-09T09:56:57.835Z] Removing intermediate container 5dcc7063ae70 [2021-03-09T09:56:57.836Z] ---> cb5a483895c9 [2021-03-09T09:56:57.836Z] Step 14/24 : WORKDIR / [2021-03-09T09:56:57.836Z] ---> Running in b7d6f37ef8ef [2021-03-09T09:56:57.836Z] Removing intermediate container b7d6f37ef8ef [2021-03-09T09:56:57.836Z] ---> 291009d9cdbb [2021-03-09T09:56:57.836Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-09T09:56:58.413Z] ---> 0dab57d16ff3 [2021-03-09T09:56:58.413Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-09T09:56:58.677Z] ---> 0aa77318a3c1 [2021-03-09T09:56:58.677Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-09T09:56:58.940Z] ---> 27c09e77b844 [2021-03-09T09:56:58.940Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-09T09:56:59.203Z] ---> 4517783fedeb [2021-03-09T09:56:59.203Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-09T09:56:59.466Z] ---> 030b937a12fb [2021-03-09T09:56:59.466Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-09T09:56:59.466Z] ---> Running in b02b7dc00678 [2021-03-09T09:56:59.466Z] Removing intermediate container b02b7dc00678 [2021-03-09T09:56:59.466Z] ---> 0f6223ba16a4 [2021-03-09T09:56:59.466Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-09T09:56:59.729Z] ---> Running in f747810b3ed9 [2021-03-09T09:56:59.729Z] Removing intermediate container f747810b3ed9 [2021-03-09T09:56:59.729Z] ---> 8140d85a7c26 [2021-03-09T09:56:59.729Z] Step 22/24 : LABEL arch=amd64 [2021-03-09T09:56:59.995Z] ---> Running in 32f070c79a59 [2021-03-09T09:56:59.995Z] Removing intermediate container 32f070c79a59 [2021-03-09T09:56:59.995Z] ---> 8f3fbd80738e [2021-03-09T09:56:59.995Z] Step 23/24 : LABEL git_sha=df528cba39348f8e1f4e13a531a95c1d592230f2 [2021-03-09T09:56:59.995Z] ---> Running in 4ba61c233d15 [2021-03-09T09:57:00.260Z] Removing intermediate container 4ba61c233d15 [2021-03-09T09:57:00.260Z] ---> b28509d6adda [2021-03-09T09:57:00.260Z] Step 24/24 : LABEL version=0.0.0 [2021-03-09T09:57:00.260Z] ---> Running in b6b265152128 [2021-03-09T09:57:00.524Z] Removing intermediate container b6b265152128 [2021-03-09T09:57:00.524Z] ---> a05c7ae2e6f8 [2021-03-09T09:57:00.524Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-09T09:57:00.524Z] Successfully built a05c7ae2e6f8 [2021-03-09T09:57:00.524Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-09T09:57:01.862Z] ---> job-cost.sh [2021-03-09T09:57:01.862Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qRoC [2021-03-09T09:57:16.845Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-09T09:57:19.390Z] gofmt -l . [2021-03-09T09:57:19.390Z] [ "`gofmt -l .`" = "" ] [2021-03-09T09:57:19.390Z] ./bin/test-attribution-txt.sh [2021-03-09T09:57:19.983Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-09T09:57:20.628Z] $ docker stop --time=1 9a0dc837b3531189d2faff3c53f91d008e17449cbd264bd2f2757d6e7d5078d5 [2021-03-09T09:57:22.876Z] $ docker rm -f 9a0dc837b3531189d2faff3c53f91d008e17449cbd264bd2f2757d6e7d5078d5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-09T09:57:23.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-09T09:57:23.980Z] Warning: overwriting stash ‘coverage-report’ [2021-03-09T09:57:24.808Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-09T09:57:25.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-09T09:57:25.903Z] + ls -al . [2021-03-09T09:57:25.903Z] total 220 [2021-03-09T09:57:25.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 09:57 . [2021-03-09T09:57:25.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 09:53 .. [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 09:53 .dockerignore [2021-03-09T09:57:25.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 09:53 .git [2021-03-09T09:57:25.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 09:53 .github [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 9 09:53 .gitignore [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 9 09:53 Dockerfile.build [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 9 09:53 Jenkinsfile [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 09:53 LICENSE [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 9 09:53 Makefile [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 9 09:53 README.md [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 9 09:53 RELEASE-NOTES.txt [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 09:51 VERSION [2021-03-09T09:57:25.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 09:53 bin [2021-03-09T09:57:25.903Z] -rw-r--r-- 1 jenkins jenkins 102298 Mar 9 09:56 coverage.out [2021-03-09T09:57:25.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 09:53 example [2021-03-09T09:57:25.903Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 9 09:57 go.mod [2021-03-09T09:57:25.903Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 9 09:57 go.sum [2021-03-09T09:57:25.903Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 09:53 internal [2021-03-09T09:57:25.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 09:53 openapi [2021-03-09T09:57:25.903Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 09:53 pkg [2021-03-09T09:57:25.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 09:53 snap [2021-03-09T09:57:25.903Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 09:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-09T09:57:26.257Z] + 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=df528cba39348f8e1f4e13a531a95c1d592230f2 --label arch=arm64 --label version=0.0.0 . [2021-03-09T09:57:26.870Z] Sending build context to Docker daemon 2.426MB [2021-03-09T09:57:26.870Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-09T09:57:26.870Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-09T09:57:26.870Z] ---> 7eeb7ae915cb [2021-03-09T09:57:26.870Z] Step 3/24 : ARG MAKE='make build' [2021-03-09T09:57:27.153Z] ---> Running in 12043177e59a [2021-03-09T09:57:27.761Z] Removing intermediate container 12043177e59a [2021-03-09T09:57:27.761Z] ---> 44cbf00b9fd2 [2021-03-09T09:57:27.761Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-09T09:57:27.761Z] ---> Running in 40dd1e9cfe93 [2021-03-09T09:57:28.357Z] Removing intermediate container 40dd1e9cfe93 [2021-03-09T09:57:28.357Z] ---> 2d0a022da4be [2021-03-09T09:57:28.357Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T09:57:28.357Z] ---> Running in 212b71441ee0 [2021-03-09T09:57:28.953Z] Removing intermediate container 212b71441ee0 [2021-03-09T09:57:28.953Z] ---> 2b2f3393d933 [2021-03-09T09:57:28.953Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-09T09:57:28.953Z] ---> Running in 6d7f6cf74a1d [2021-03-09T09:57:30.926Z] Removing intermediate container 6d7f6cf74a1d [2021-03-09T09:57:30.926Z] ---> 461af355a04e [2021-03-09T09:57:30.926Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-09T09:57:31.205Z] ---> Running in e9acb7593c4b [2021-03-09T09:57:32.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-09T09:57:33.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-09T09:57:33.754Z] OK: 142 MiB in 39 packages [2021-03-09T09:57:34.761Z] Removing intermediate container e9acb7593c4b [2021-03-09T09:57:34.761Z] ---> 4c9c6ae84e05 [2021-03-09T09:57:34.761Z] Step 8/24 : COPY . . [2021-03-09T09:57:36.192Z] ---> 56998136f462 [2021-03-09T09:57:36.192Z] Step 9/24 : RUN ${MAKE} [2021-03-09T09:57:36.192Z] ---> Running in 33bd895919a0 [2021-03-09T09:57:37.167Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-09T09:57:49.188Z] lf-activate-venv(): INFO: Adding /tmp/venv-qRoC/bin to PATH [2021-03-09T09:57:49.188Z] INFO: No Stack... [2021-03-09T09:57:49.188Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-09T09:57:49.188Z] INFO: Archiving Costs [Pipeline] sh [2021-03-09T09:57:49.505Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-09T09:57:49.505Z] + cut -d, -f6 [Pipeline] lock [2021-03-09T09:57:49.599Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [2021-03-09T09:57:49.608Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] did not exist. Created. [2021-03-09T09:57:49.608Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-09T09:57:50.033Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-09T09:57:50.211Z] Stashed 1 file(s) [Pipeline] } [2021-03-09T09:57:50.224Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-09T09:58:03.980Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-09T09:58:03.980Z] Removing intermediate container 33bd895919a0 [2021-03-09T09:58:03.980Z] ---> b4db4cee872f [2021-03-09T09:58:03.980Z] Step 10/24 : FROM scratch [2021-03-09T09:58:03.980Z] ---> [2021-03-09T09:58:03.980Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T09:58:03.980Z] ---> Running in 9a648c8b68e8 [2021-03-09T09:58:04.251Z] Removing intermediate container 9a648c8b68e8 [2021-03-09T09:58:04.251Z] ---> d166ea08bf06 [2021-03-09T09:58:04.251Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-09T09:58:04.522Z] ---> Running in 1c89ffadd85e [2021-03-09T09:58:05.117Z] Removing intermediate container 1c89ffadd85e [2021-03-09T09:58:05.117Z] ---> c8711286f699 [2021-03-09T09:58:05.117Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-09T09:58:05.117Z] ---> Running in 0f0946c92f0e [2021-03-09T09:58:05.388Z] Removing intermediate container 0f0946c92f0e [2021-03-09T09:58:05.388Z] ---> a9e1a2136460 [2021-03-09T09:58:05.388Z] Step 14/24 : WORKDIR / [2021-03-09T09:58:05.388Z] ---> Running in 39a439c6bf3f [2021-03-09T09:58:05.979Z] Removing intermediate container 39a439c6bf3f [2021-03-09T09:58:05.979Z] ---> 887f9159050b [2021-03-09T09:58:05.979Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-09T09:58:06.959Z] ---> 80a2b84372d7 [2021-03-09T09:58:06.959Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-09T09:58:07.941Z] ---> f978f1b86f22 [2021-03-09T09:58:07.941Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-09T09:58:08.540Z] ---> 7393147c5e8b [2021-03-09T09:58:08.540Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-09T09:58:09.137Z] ---> 4d288263484e [2021-03-09T09:58:09.137Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-09T09:58:10.115Z] ---> 83d828788979 [2021-03-09T09:58:10.115Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-09T09:58:10.115Z] ---> Running in 45914b0f386c [2021-03-09T09:58:10.390Z] Removing intermediate container 45914b0f386c [2021-03-09T09:58:10.390Z] ---> 670be5446bdd [2021-03-09T09:58:10.390Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-09T09:58:10.667Z] ---> Running in 8f7289112065 [2021-03-09T09:58:10.938Z] Removing intermediate container 8f7289112065 [2021-03-09T09:58:10.938Z] ---> e7abc0014b33 [2021-03-09T09:58:10.938Z] Step 22/24 : LABEL arch=arm64 [2021-03-09T09:58:11.211Z] ---> Running in ebdca4522a4a [2021-03-09T09:58:11.481Z] Removing intermediate container ebdca4522a4a [2021-03-09T09:58:11.481Z] ---> a1c4650c2068 [2021-03-09T09:58:11.481Z] Step 23/24 : LABEL git_sha=df528cba39348f8e1f4e13a531a95c1d592230f2 [2021-03-09T09:58:11.751Z] ---> Running in 2344ca405414 [2021-03-09T09:58:12.027Z] Removing intermediate container 2344ca405414 [2021-03-09T09:58:12.027Z] ---> 3b7d5283173a [2021-03-09T09:58:12.027Z] Step 24/24 : LABEL version=0.0.0 [2021-03-09T09:58:12.303Z] ---> Running in 84e8efb74cf1 [2021-03-09T09:58:12.575Z] Removing intermediate container 84e8efb74cf1 [2021-03-09T09:58:12.575Z] ---> 180b399be771 [2021-03-09T09:58:12.575Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-09T09:58:12.575Z] Successfully built 180b399be771 [2021-03-09T09:58:12.848Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-09T09:58:13.701Z] ---> job-cost.sh [2021-03-09T09:58:13.701Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-32yJ [2021-03-09T09:58:52.641Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-09T10:00:29.422Z] lf-activate-venv(): INFO: Adding /tmp/venv-32yJ/bin to PATH [2021-03-09T10:00:29.422Z] INFO: No Stack... [2021-03-09T10:00:29.422Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-09T10:00:29.422Z] INFO: Archiving Costs [Pipeline] sh [2021-03-09T10:00:29.759Z] + cat+ /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-09T10:00:29.759Z] cut -d, -f6 [Pipeline] lock [2021-03-09T10:00:29.869Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [2021-03-09T10:00:29.878Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] did not exist. Created. [2021-03-09T10:00:29.878Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-09T10:00:30.324Z] /w/workspace/device-sdk-go/4@tmp/durable-fb703288/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-fb703288/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-09T10:00:30.664Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-09T10:00:30.758Z] Warning: overwriting stash ‘stack-cost’ [2021-03-09T10:00:30.926Z] Stashed 1 file(s) [Pipeline] } [2021-03-09T10:00:30.935Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-09T10:00:32.627Z] provisioning config files... [2021-03-09T10:00:32.644Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config8606029243293311731tmp [Pipeline] { [Pipeline] sh [2021-03-09T10:00:33.073Z] + set +x [2021-03-09T10:00:33.073Z] + bash -s -- [2021-03-09T10:00:33.073Z] + curl -s https://codecov.io/bash [2021-03-09T10:00:33.342Z] [2021-03-09T10:00:33.342Z] _____ _ [2021-03-09T10:00:33.342Z] / ____| | | [2021-03-09T10:00:33.342Z] | | ___ __| | ___ ___ _____ __ [2021-03-09T10:00:33.342Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-09T10:00:33.342Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-09T10:00:33.342Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-09T10:00:33.342Z] Bash-20210226-7100762 [2021-03-09T10:00:33.342Z] [2021-03-09T10:00:33.342Z] [2021-03-09T10:00:33.342Z] ==> git version 2.24.3 found [2021-03-09T10:00:33.342Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-09T10:00:33.342Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-09T10:00:33.342Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-09T10:00:33.342Z] ==> Jenkins CI detected. [2021-03-09T10:00:33.342Z] project root: . [2021-03-09T10:00:33.342Z] --> token set from env [2021-03-09T10:00:33.342Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-09T10:00:33.342Z] ==> Running gcov in . (disable via -X gcov) [2021-03-09T10:00:33.342Z] ==> Python coveragepy not found [2021-03-09T10:00:33.342Z] ==> Searching for coverage reports in: [2021-03-09T10:00:33.342Z] + . [2021-03-09T10:00:33.342Z] -> Found 1 reports [2021-03-09T10:00:33.342Z] ==> Detecting git/mercurial file structure [2021-03-09T10:00:33.342Z] ==> Reading reports [2021-03-09T10:00:33.342Z] + ./coverage.out bytes=102298 [2021-03-09T10:00:33.342Z] ==> Appending adjustments [2021-03-09T10:00:33.342Z] https://docs.codecov.io/docs/fixing-reports [2021-03-09T10:00:33.922Z] + Found adjustments [2021-03-09T10:00:33.922Z] ==> Gzipping contents [2021-03-09T10:00:33.922Z] 16K /tmp/codecov.P7ry3i.gz [2021-03-09T10:00:33.922Z] ==> Uploading reports [2021-03-09T10:00:33.922Z] url: https://codecov.io [2021-03-09T10:00:33.922Z] query: branch=PR-811&commit=df528cba39348f8e1f4e13a531a95c1d592230f2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-811%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=811&job=&cmd_args= [2021-03-09T10:00:33.922Z] -> Pinging Codecov [2021-03-09T10:00:33.922Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-811&commit=df528cba39348f8e1f4e13a531a95c1d592230f2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-811%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=811&job=&cmd_args= [2021-03-09T10:00:34.874Z] -> Uploading to [2021-03-09T10:00:34.874Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-09/7E55EF52A471D76F132DFD9A03CDDE97/df528cba39348f8e1f4e13a531a95c1d592230f2/00cf3a74-4c4e-4c82-ad93-16e353d07989.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210309T100034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=423b826b3857671053b1b3534e85f4682e9e9309049fad1bf1da89642f786940 [2021-03-09T10:00:34.874Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-09T10:00:34.874Z] Dload Upload Total Spent Left Speed [2021-03-09T10:00:35.459Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15187 0 0 100 15187 0 31371 --:--:-- --:--:-- --:--:-- 31443 [2021-03-09T10:00:35.459Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/df528cba39348f8e1f4e13a531a95c1d592230f2 [Pipeline] } [2021-03-09T10:00:35.470Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-09T10:00:37.930Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T10:00:38.506Z] ---> package-listing.sh [2021-03-09T10:00:38.506Z] ++ facter osfamily [2021-03-09T10:00:38.506Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-09T10:00:38.506Z] + OS_FAMILY=redhat [2021-03-09T10:00:38.506Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-811 [2021-03-09T10:00:38.506Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-09T10:00:38.506Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-09T10:00:38.506Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-09T10:00:38.506Z] + PACKAGES=/tmp/packages_start.txt [2021-03-09T10:00:38.506Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-811 ']' [2021-03-09T10:00:38.506Z] + PACKAGES=/tmp/packages_end.txt [2021-03-09T10:00:38.506Z] + case "${OS_FAMILY}" in [2021-03-09T10:00:38.506Z] + rpm -qa [2021-03-09T10:00:38.506Z] + sort [2021-03-09T10:00:43.826Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-09T10:00:43.826Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-09T10:00:43.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-09T10:00:43.826Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-811 ']' [2021-03-09T10:00:43.826Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-811/archives/ [2021-03-09T10:00:43.826Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-811/archives/ [Pipeline] echo [2021-03-09T10:00:43.840Z] 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-811/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-09T10:00:44.137Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-09T10:00:44.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-09T10:00:44.449Z] [2021-03-09T10:00:44.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-09T10:00:44.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-09T10:00:44.804Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-09T10:00:44.804Z] df20fa9351a1: Pulling fs layer [2021-03-09T10:00:44.804Z] 36b3adc4ff6f: Pulling fs layer [2021-03-09T10:00:44.804Z] 8ad3a11d3b57: Pulling fs layer [2021-03-09T10:00:44.804Z] 46f8f816bc3b: Pulling fs layer [2021-03-09T10:00:44.804Z] 93b61091891f: Pulling fs layer [2021-03-09T10:00:44.804Z] 93b9cdb0e59b: Pulling fs layer [2021-03-09T10:00:44.804Z] 5e14af77c1be: Pulling fs layer [2021-03-09T10:00:44.804Z] 01666e4c0597: Pulling fs layer [2021-03-09T10:00:44.804Z] aa168da1d23b: Pulling fs layer [2021-03-09T10:00:44.804Z] 93b9cdb0e59b: Waiting [2021-03-09T10:00:44.804Z] 5e14af77c1be: Waiting [2021-03-09T10:00:44.804Z] 46f8f816bc3b: Waiting [2021-03-09T10:00:44.804Z] 01666e4c0597: Waiting [2021-03-09T10:00:44.804Z] aa168da1d23b: Waiting [2021-03-09T10:00:44.804Z] 93b61091891f: Waiting [2021-03-09T10:00:45.073Z] 36b3adc4ff6f: Verifying Checksum [2021-03-09T10:00:45.073Z] 36b3adc4ff6f: Download complete [2021-03-09T10:00:45.073Z] 46f8f816bc3b: Verifying Checksum [2021-03-09T10:00:45.073Z] 46f8f816bc3b: Download complete [2021-03-09T10:00:45.073Z] df20fa9351a1: Verifying Checksum [2021-03-09T10:00:45.073Z] df20fa9351a1: Download complete [2021-03-09T10:00:45.073Z] 93b9cdb0e59b: Download complete [2021-03-09T10:00:45.073Z] 5e14af77c1be: Download complete [2021-03-09T10:00:45.073Z] 93b61091891f: Verifying Checksum [2021-03-09T10:00:45.073Z] 93b61091891f: Download complete [2021-03-09T10:00:45.073Z] 01666e4c0597: Verifying Checksum [2021-03-09T10:00:45.073Z] 01666e4c0597: Download complete [2021-03-09T10:00:45.337Z] 8ad3a11d3b57: Verifying Checksum [2021-03-09T10:00:45.337Z] 8ad3a11d3b57: Download complete [2021-03-09T10:00:45.603Z] df20fa9351a1: Pull complete [2021-03-09T10:00:45.603Z] 36b3adc4ff6f: Pull complete [2021-03-09T10:00:46.564Z] 8ad3a11d3b57: Pull complete [2021-03-09T10:00:46.835Z] 46f8f816bc3b: Pull complete [2021-03-09T10:00:47.417Z] 93b61091891f: Pull complete [2021-03-09T10:00:47.417Z] aa168da1d23b: Verifying Checksum [2021-03-09T10:00:47.417Z] aa168da1d23b: Download complete [2021-03-09T10:00:47.684Z] 93b9cdb0e59b: Pull complete [2021-03-09T10:00:47.954Z] 5e14af77c1be: Pull complete [2021-03-09T10:00:47.954Z] 01666e4c0597: Pull complete [2021-03-09T10:00:56.170Z] aa168da1d23b: Pull complete [2021-03-09T10:00:56.170Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-09T10:00:56.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-09T10:00:56.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-09T10:00:56.378Z] prd-centos7-docker-4c-2g-29128 does not seem to be running inside a container [2021-03-09T10:00:56.430Z] $ 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-811/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-811 -v /w/workspace/dgexfoundry_device-sdk-go_PR-811:/w/workspace/dgexfoundry_device-sdk-go_PR-811:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-09T10:00:59.431Z] $ docker top ebdd4c498eb437950991f64e67fa39f2b100674fad191c18230d52492f1450b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T10:01:00.001Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-09T10:01:00.305Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-09T10:01:00.608Z] + ls /var/log/sa-host [2021-03-09T10:01:00.608Z] + sadf -c /var/log/sa-host/sa09 [2021-03-09T10:01:00.608Z] file_magic: OK [2021-03-09T10:01:00.608Z] HZ: Using current value: 100 [2021-03-09T10:01:00.608Z] file_header: OK [2021-03-09T10:01:00.608Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-09T10:01:00.608Z] Statistics: [2021-03-09T10:01:00.608Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-09T10:01:00.608Z] File successfully converted to sysstat format version 12.2.1 [2021-03-09T10:01:00.608Z] + sadf -c /var/log/sa-host/sa23 [2021-03-09T10:01:00.608Z] file_magic: OK [2021-03-09T10:01:00.608Z] HZ: Using current value: 100 [2021-03-09T10:01:00.608Z] file_header: OK [2021-03-09T10:01:00.608Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-09T10:01:00.608Z] Statistics: [2021-03-09T10:01:00.608Z] Hnuu...uuuununununu... [2021-03-09T10:01:00.608Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-09T10:01:01.254Z] provisioning config files... [2021-03-09T10:01:01.285Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config9007004267209085533tmp [Pipeline] { [Pipeline] echo [2021-03-09T10:01:01.354Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T10:01:01.662Z] ---> create-netrc.sh [Pipeline] } [2021-03-09T10:01:01.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-09T10:01:01.808Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T10:01:02.122Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-09T10:01:02.140Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T10:01:02.652Z] ---> sudo-logs.sh [2021-03-09T10:01:02.652Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-09T10:01:02.719Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T10:01:03.018Z] ---> job-cost.sh [2021-03-09T10:01:03.018Z] lf-activate-venv: SKIPPING [2021-03-09T10:01:03.018Z] DEBUG: total: 0.20999999344348907 [2021-03-09T10:01:03.018Z] INFO: Retrieving Stack Cost... [2021-03-09T10:01:04.409Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-09T10:01:04.672Z] INFO: Archiving Costs [Pipeline] echo [2021-03-09T10:01:04.687Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T10:01:04.987Z] ---> logs-deploy.sh [2021-03-09T10:01:04.987Z] lf-activate-venv: SKIPPING [2021-03-09T10:01:04.987Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-811/4 [2021-03-09T10:01:04.987Z] INFO: archiving workspace using pattern(s): [2021-03-09T10:01:06.917Z] Archives upload complete. [2021-03-09T10:01:06.917Z] INFO: archiving logs to Nexus [2021-03-09T10:01:07.866Z] ---> uname -a: [2021-03-09T10:01:07.866Z] Linux prd-centos7-docker-4c-2g-29128.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-03-09T10:01:07.866Z] [2021-03-09T10:01:07.866Z]