Pull request #738 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 9e21f7aaa05ce715440a955ecf777a7356d89dab+d47b03cf12e2f169eefdaad978a8d5668b399891 (daf249907bb43fbaf84413714b696ffb87cc82ce) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20974 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [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-738 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 9e21f7aaa05ce715440a955ecf777a7356d89dab Merge succeeded, producing 9e21f7aaa05ce715440a955ecf777a7356d89dab Checking out Revision 9e21f7aaa05ce715440a955ecf777a7356d89dab (PR-738) > git config core.sparsecheckout # timeout=10 > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # 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 d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 Commit message: "refactor: remove ValueType enumeration in Go-SDK" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-18T09:44:13.175Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-18T09:44:13.471Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-18T09:44:13.588Z] ========================================================= [2021-01-18T09:44:13.588Z] EdgeX Global Pipelines Version Info [2021-01-18T09:44:13.588Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:44:15.118Z] ------------------- [2021-01-18T09:44:15.118Z] stable info: [2021-01-18T09:44:15.118Z] ------------------- [2021-01-18T09:44:15.118Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-18T09:44:15.118Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-18T09:44:15.118Z] Message: update stable to v1.0.177 [2021-01-18T09:44:16.068Z] ------------------- [2021-01-18T09:44:16.068Z] experimental info: [2021-01-18T09:44:16.068Z] ------------------- [2021-01-18T09:44:16.068Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-18T09:44:16.068Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-18T09:44:16.068Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-18T09:44:16.351Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-18T09:44:16.468Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-18T09:44:16.568Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-18T09:44:16.670Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-18T09:44:16.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-18T09:44:16.901Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-18T09:44:16.995Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-18T09:44:17.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-18T09:44:17.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-18T09:44:17.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-18T09:44:17.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-18T09:44:17.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-18T09:44:17.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-18T09:44:17.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-18T09:44:17.802Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T09:44:17.936Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T09:44:18.027Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T09:44:18.120Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T09:44:18.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-18T09:44:18.307Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-18T09:44:18.438Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-18T09:44:18.530Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-18T09:44:18.625Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-18T09:44:18.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-18T09:44:18.863Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-18T09:44:18.960Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-18T09:44:19.060Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-18T09:44:19.152Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-738 [Pipeline] echo [2021-01-18T09:44:19.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-738 [Pipeline] echo [2021-01-18T09:44:19.349Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-738 [Pipeline] echo [2021-01-18T09:44:19.443Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e21f7aaa05ce715440a955ecf777a7356d89dab [Pipeline] echo [2021-01-18T09:44:19.538Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e21f7a [Pipeline] echo [2021-01-18T09:44:19.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T09:44:19.805Z] provisioning config files... [2021-01-18T09:44:19.841Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config4295965389053993826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:44:20.226Z] ---> docker-login.sh [2021-01-18T09:44:20.226Z] nexus3.edgexfoundry.org:10001 [2021-01-18T09:44:20.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:20.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:20.752Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:20.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:20.752Z] [2021-01-18T09:44:20.752Z] Login Succeeded [2021-01-18T09:44:20.752Z] nexus3.edgexfoundry.org:10002 [2021-01-18T09:44:20.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:20.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:20.752Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:20.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:20.752Z] [2021-01-18T09:44:20.752Z] Login Succeeded [2021-01-18T09:44:20.752Z] nexus3.edgexfoundry.org:10003 [2021-01-18T09:44:21.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:21.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:21.016Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:21.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:21.016Z] [2021-01-18T09:44:21.016Z] Login Succeeded [2021-01-18T09:44:21.016Z] nexus3.edgexfoundry.org:10004 [2021-01-18T09:44:21.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:21.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:21.278Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:21.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:21.278Z] [2021-01-18T09:44:21.278Z] Login Succeeded [2021-01-18T09:44:21.278Z] docker.io [2021-01-18T09:44:21.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:21.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:21.540Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:21.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:21.540Z] [2021-01-18T09:44:21.540Z] Login Succeeded [2021-01-18T09:44:21.540Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T09:44:21.550Z] 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-01-18T09:44:22.386Z] + git log --format=format:%s -1 9e21f7aaa05ce715440a955ecf777a7356d89dab [Pipeline] echo [2021-01-18T09:44:22.453Z] GIT_COMMIT: 9e21f7aaa05ce715440a955ecf777a7356d89dab, Commit Message: refactor: remove ValueType enumeration in Go-SDK [Pipeline] echo [2021-01-18T09:44:22.501Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:44:23.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:44:23.740Z] [2021-01-18T09:44:23.740Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:44:24.094Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:44:24.094Z] latest: Pulling from edgex-devops/git-semver [2021-01-18T09:44:24.094Z] 31603596830f: Pulling fs layer [2021-01-18T09:44:24.094Z] 2a8b12db71e7: Pulling fs layer [2021-01-18T09:44:24.094Z] 6ca5941a6612: Pulling fs layer [2021-01-18T09:44:24.094Z] ecc8261a40a4: Pulling fs layer [2021-01-18T09:44:24.094Z] ecc8261a40a4: Waiting [2021-01-18T09:44:24.094Z] 2a8b12db71e7: Verifying Checksum [2021-01-18T09:44:24.094Z] 2a8b12db71e7: Download complete [2021-01-18T09:44:24.357Z] 31603596830f: Verifying Checksum [2021-01-18T09:44:24.357Z] 31603596830f: Download complete [2021-01-18T09:44:24.357Z] ecc8261a40a4: Verifying Checksum [2021-01-18T09:44:24.357Z] ecc8261a40a4: Download complete [2021-01-18T09:44:24.357Z] 6ca5941a6612: Verifying Checksum [2021-01-18T09:44:24.357Z] 6ca5941a6612: Download complete [2021-01-18T09:44:24.625Z] 31603596830f: Pull complete [2021-01-18T09:44:24.891Z] 2a8b12db71e7: Pull complete [2021-01-18T09:44:25.468Z] 6ca5941a6612: Pull complete [2021-01-18T09:44:25.730Z] ecc8261a40a4: Pull complete [2021-01-18T09:44:25.730Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-18T09:44:25.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:44:25.992Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-18T09:44:26.097Z] prd-centos7-docker-4c-2g-20974 does not seem to be running inside a container [2021-01-18T09:44:26.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-18T09:44:28.472Z] $ docker top 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T09:44:28.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T09:44:28.761Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T09:44:28.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T09:44:28.986Z] $ docker exec 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 ssh-agent [2021-01-18T09:44:29.144Z] SSH_AUTH_SOCK=/tmp/ssh-QQ3YWwpRrkrb/agent.12 [2021-01-18T09:44:29.144Z] SSH_AGENT_PID=18 [2021-01-18T09:44:29.154Z] Running ssh-add (command line suppressed) [2021-01-18T09:44:29.269Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_5072667311676116487.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_5072667311676116487.key) [2021-01-18T09:44:29.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T09:44:29.656Z] + git tag --points-at HEAD [Pipeline] } [2021-01-18T09:44:29.678Z] $ docker exec --env ******** --env ******** 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 ssh-agent -k [2021-01-18T09:44:29.785Z] unset SSH_AUTH_SOCK; [2021-01-18T09:44:29.785Z] unset SSH_AGENT_PID; [2021-01-18T09:44:29.785Z] echo Agent pid 18 killed; [2021-01-18T09:44:29.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-18T09:44:29.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T09:44:29.982Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T09:44:30.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T09:44:30.144Z] $ docker exec 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 ssh-agent [2021-01-18T09:44:30.303Z] SSH_AUTH_SOCK=/tmp/ssh-PMDARiicD8xR/agent.47 [2021-01-18T09:44:30.303Z] SSH_AGENT_PID=52 [2021-01-18T09:44:30.311Z] Running ssh-add (command line suppressed) [2021-01-18T09:44:30.431Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_2934246356804841264.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_2934246356804841264.key) [2021-01-18T09:44:30.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T09:44:30.876Z] + git semver init [2021-01-18T09:44:30.876Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T09:44:30.876Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.git [2021-01-18T09:44:30.876Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-738 [2021-01-18T09:44:30.876Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T09:44:30.876Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T09:44:30.876Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T09:44:30.876Z] # $SEMVER_BRANCH = PR-738 [2021-01-18T09:44:30.876Z] # $SEMVER_TEMP = /tmp/semver-939632637 [2021-01-18T09:44:30.876Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-18T09:44:31.458Z] # '/tmp/semver-939632637' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver' [2021-01-18T09:44:31.458Z] # -> Force: false [2021-01-18T09:44:31.458Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver [Pipeline] } [2021-01-18T09:44:31.471Z] $ docker exec --env ******** --env ******** 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 ssh-agent -k [2021-01-18T09:44:31.580Z] unset SSH_AUTH_SOCK; [2021-01-18T09:44:31.581Z] unset SSH_AGENT_PID; [2021-01-18T09:44:31.581Z] echo Agent pid 52 killed; [2021-01-18T09:44:31.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T09:44:32.098Z] + git semver [Pipeline] } [2021-01-18T09:44:32.117Z] $ docker stop --time=1 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 [2021-01-18T09:44:33.659Z] $ docker rm -f 6a41c36b23d3159c6bd4c28fd2f1cb014b4d97ffa75500fb2e21f259ad2f31c8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T09:44:34.111Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-18T09:44:34.509Z] Stashed 1 file(s) [Pipeline] echo [2021-01-18T09:44:34.512Z] [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-01-18T09:44:35.171Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20957 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws [2021-01-18T09:44:35.223Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-18T09:44:39.685Z] using credential edgex-jenkins-ssh [2021-01-18T09:44:39.748Z] Cloning the remote Git repository [2021-01-18T09:44:39.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:44:39.928Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-18T09:44:40.011Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:44:40.012Z] > git --version # timeout=10 [2021-01-18T09:44:40.036Z] > git --version # 'git version 2.17.1' [2021-01-18T09:44:40.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:44:40.104Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T09:44:41.090Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T09:44:41.127Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T09:44:41.158Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T09:44:41.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:44:41.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:44:41.205Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T09:44:41.819Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 9e21f7aaa05ce715440a955ecf777a7356d89dab [2021-01-18T09:44:42.051Z] Merge succeeded, producing 9e21f7aaa05ce715440a955ecf777a7356d89dab [2021-01-18T09:44:42.052Z] Checking out Revision 9e21f7aaa05ce715440a955ecf777a7356d89dab (PR-738) [2021-01-18T09:44:41.842Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T09:44:41.859Z] > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 [2021-01-18T09:44:41.971Z] > git remote # timeout=10 [2021-01-18T09:44:41.996Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T09:44:42.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:44:42.019Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-18T09:44:42.041Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T09:44:42.064Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T09:44:42.087Z] > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 [2021-01-18T09:44:46.383Z] Commit message: "refactor: remove ValueType enumeration in Go-SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T09:44:47.789Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-18T09:44:48.188Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T09:44:48.531Z] + + true [2021-01-18T09:44:48.531Z] sudo service docker restart [2021-01-18T09:44:50.005Z] Still waiting to schedule task [2021-01-18T09:44:50.005Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T09:44:50.606Z] provisioning config files... [2021-01-18T09:44:50.647Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5687913388094790844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:44:51.095Z] ---> docker-login.sh [2021-01-18T09:44:51.095Z] nexus3.edgexfoundry.org:10001 [2021-01-18T09:44:52.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:52.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:52.353Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:52.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:52.353Z] [2021-01-18T09:44:52.353Z] Login Succeeded [2021-01-18T09:44:52.353Z] nexus3.edgexfoundry.org:10002 [2021-01-18T09:44:52.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:52.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:52.898Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:52.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:52.898Z] [2021-01-18T09:44:52.898Z] Login Succeeded [2021-01-18T09:44:52.898Z] nexus3.edgexfoundry.org:10003 [2021-01-18T09:44:53.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:53.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:53.169Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:53.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:53.169Z] [2021-01-18T09:44:53.169Z] Login Succeeded [2021-01-18T09:44:53.169Z] nexus3.edgexfoundry.org:10004 [2021-01-18T09:44:53.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:53.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:53.713Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:53.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:53.713Z] [2021-01-18T09:44:53.713Z] Login Succeeded [2021-01-18T09:44:53.713Z] docker.io [2021-01-18T09:44:53.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:44:54.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:44:54.583Z] Configure a credential helper to remove this warning. See [2021-01-18T09:44:54.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:44:54.583Z] [2021-01-18T09:44:54.583Z] Login Succeeded [2021-01-18T09:44:54.583Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T09:44:54.600Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T09:44:55.058Z] ========================================================= [2021-01-18T09:44:55.058Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-18T09:44:55.058Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:44:55.433Z] + 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-01-18T09:44:56.046Z] Sending build context to Docker daemon 2.587MB [2021-01-18T09:44:56.046Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T09:44:56.046Z] Step 2/8 : FROM ${BASE} [2021-01-18T09:44:56.046Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-18T09:44:56.046Z] 5f621e34cdf4: Pulling fs layer [2021-01-18T09:44:56.046Z] a4357932f1b6: Pulling fs layer [2021-01-18T09:44:56.046Z] 18c013af1878: Pulling fs layer [2021-01-18T09:44:56.046Z] 00ac8860ef70: Pulling fs layer [2021-01-18T09:44:56.046Z] 63d7cb157983: Pulling fs layer [2021-01-18T09:44:56.046Z] b116817d02f9: Pulling fs layer [2021-01-18T09:44:56.046Z] 745a02a5169b: Pulling fs layer [2021-01-18T09:44:56.046Z] 63d7cb157983: Waiting [2021-01-18T09:44:56.046Z] b116817d02f9: Waiting [2021-01-18T09:44:56.046Z] 00ac8860ef70: Waiting [2021-01-18T09:44:56.046Z] 745a02a5169b: Waiting [2021-01-18T09:44:56.046Z] 18c013af1878: Verifying Checksum [2021-01-18T09:44:56.046Z] 18c013af1878: Download complete [2021-01-18T09:44:56.046Z] a4357932f1b6: Verifying Checksum [2021-01-18T09:44:56.046Z] a4357932f1b6: Download complete [2021-01-18T09:44:56.046Z] 63d7cb157983: Verifying Checksum [2021-01-18T09:44:56.046Z] 63d7cb157983: Download complete [2021-01-18T09:44:56.324Z] b116817d02f9: Verifying Checksum [2021-01-18T09:44:56.324Z] b116817d02f9: Download complete [2021-01-18T09:44:56.324Z] 5f621e34cdf4: Verifying Checksum [2021-01-18T09:44:56.324Z] 5f621e34cdf4: Download complete [2021-01-18T09:44:56.928Z] 5f621e34cdf4: Pull complete [2021-01-18T09:44:57.207Z] a4357932f1b6: Pull complete [2021-01-18T09:44:57.808Z] 18c013af1878: Pull complete [2021-01-18T09:44:59.246Z] 745a02a5169b: Verifying Checksum [2021-01-18T09:44:59.246Z] 745a02a5169b: Download complete [2021-01-18T09:45:00.231Z] 00ac8860ef70: Verifying Checksum [2021-01-18T09:45:00.231Z] 00ac8860ef70: Download complete [2021-01-18T09:45:10.411Z] 00ac8860ef70: Pull complete [2021-01-18T09:45:11.011Z] 63d7cb157983: Pull complete [2021-01-18T09:45:11.285Z] b116817d02f9: Pull complete [2021-01-18T09:45:15.613Z] 745a02a5169b: Pull complete [2021-01-18T09:45:15.613Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-18T09:45:15.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-18T09:45:15.613Z] ---> b7e6874047d6 [2021-01-18T09:45:15.613Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:45:18.235Z] ---> Running in 3c2afd4e6174 [2021-01-18T09:45:18.235Z] Removing intermediate container 3c2afd4e6174 [2021-01-18T09:45:18.235Z] ---> edbee9b631b8 [2021-01-18T09:45:18.235Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T09:45:18.515Z] ---> Running in 4c17dd2e2411 [2021-01-18T09:45:21.132Z] Removing intermediate container 4c17dd2e2411 [2021-01-18T09:45:21.132Z] ---> 396dcfc4baea [2021-01-18T09:45:21.132Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-18T09:45:21.132Z] ---> Running in b34ba5c35906 [2021-01-18T09:45:21.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T09:45:22.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T09:45:23.304Z] OK: 142 MiB in 39 packages [2021-01-18T09:45:24.294Z] Removing intermediate container b34ba5c35906 [2021-01-18T09:45:24.294Z] ---> f851a05b4e54 [2021-01-18T09:45:24.294Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-18T09:45:24.568Z] ---> Running in b6c0a2979249 [2021-01-18T09:45:25.168Z] Removing intermediate container b6c0a2979249 [2021-01-18T09:45:25.168Z] ---> 186ad2897498 [2021-01-18T09:45:25.168Z] Step 7/8 : COPY . . [2021-01-18T09:45:26.606Z] ---> b2c9dcf26dfb [2021-01-18T09:45:26.606Z] Step 8/8 : RUN go mod download [2021-01-18T09:45:26.606Z] ---> Running in 1a31695f7218 [2021-01-18T09:45:48.799Z] Removing intermediate container 1a31695f7218 [2021-01-18T09:45:48.799Z] ---> 8115cf7138e1 [2021-01-18T09:45:48.799Z] Successfully built 8115cf7138e1 [2021-01-18T09:45:48.799Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:45:49.143Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T09:45:49.143Z] . [Pipeline] withDockerContainer [2021-01-18T09:45:49.508Z] prd-ubuntu18.04-docker-arm64-4c-16g-20957 does not seem to be running inside a container [2021-01-18T09:45:49.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-18T09:45:51.198Z] $ docker top 2c1238d9ac1c4d8b69e89c59c95f9944c6f9f9fc5e9ce7006c112b30010cd652 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:45:52.315Z] + go version [2021-01-18T09:45:52.316Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-18T09:45:52.343Z] $ docker stop --time=1 2c1238d9ac1c4d8b69e89c59c95f9944c6f9f9fc5e9ce7006c112b30010cd652 [2021-01-18T09:45:54.292Z] $ docker rm -f 2c1238d9ac1c4d8b69e89c59c95f9944c6f9f9fc5e9ce7006c112b30010cd652 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:45:55.334Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T09:45:55.334Z] . [Pipeline] withDockerContainer [2021-01-18T09:45:55.572Z] prd-ubuntu18.04-docker-arm64-4c-16g-20957 does not seem to be running inside a container [2021-01-18T09:45:55.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-18T09:45:57.239Z] $ docker top 7a6bd0f0d6f4eb43e62d864659867b03edb91ed050b5dc37b30c34196481a203 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:45:58.237Z] + make test [2021-01-18T09:45:58.237Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T09:46:20.413Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-18T09:47:07.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-18T09:47:07.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-18T09:47:07.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-18T09:47:07.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 19.4% of statements [2021-01-18T09:47:07.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.180s coverage: 97.1% of statements [2021-01-18T09:47:34.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.123s coverage: 9.4% of statements [2021-01-18T09:47:34.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.112s coverage: 21.7% of statements [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-18T09:47:34.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.627s coverage: 42.9% of statements [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-18T09:47:34.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.726s coverage: 68.9% of statements [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-18T09:47:34.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-18T09:47:34.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.180s coverage: 25.6% of statements [2021-01-18T09:47:34.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.982s coverage: 83.5% of statements [2021-01-18T09:47:34.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 4.2% of statements [2021-01-18T09:47:34.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-18T09:47:34.341Z] GO111MODULE=on go vet ./... [2021-01-18T09:47:44.721Z] Running on prd-centos7-docker-4c-2g-20975 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws [2021-01-18T09:47:44.779Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-18T09:47:51.265Z] using credential edgex-jenkins-ssh [2021-01-18T09:47:51.361Z] Cloning the remote Git repository [2021-01-18T09:47:51.428Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:47:51.531Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-18T09:47:51.711Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:47:51.711Z] > git --version # timeout=10 [2021-01-18T09:47:51.759Z] > git --version # 'git version 2.24.3' [2021-01-18T09:47:51.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:47:51.844Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T09:47:53.483Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 9e21f7aaa05ce715440a955ecf777a7356d89dab [2021-01-18T09:47:53.682Z] Merge succeeded, producing 9e21f7aaa05ce715440a955ecf777a7356d89dab [2021-01-18T09:47:53.683Z] Checking out Revision 9e21f7aaa05ce715440a955ecf777a7356d89dab (PR-738) [2021-01-18T09:47:52.787Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T09:47:52.821Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T09:47:52.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T09:47:52.895Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:47:52.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:47:52.907Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T09:47:53.504Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T09:47:53.524Z] > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 [2021-01-18T09:47:53.610Z] > git remote # timeout=10 [2021-01-18T09:47:53.630Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T09:47:53.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:47:53.656Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-18T09:47:53.670Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T09:47:53.687Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T09:47:53.696Z] > git checkout -f 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 [2021-01-18T09:47:58.105Z] Commit message: "refactor: remove ValueType enumeration in Go-SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T09:48:00.241Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-18T09:48:00.660Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T09:48:01.018Z] + sudo service docker restart [2021-01-18T09:48:01.018Z] + true [2021-01-18T09:48:01.018Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T09:48:02.567Z] provisioning config files... [2021-01-18T09:48:02.622Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5109665025928446237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:48:03.045Z] ---> docker-login.sh [2021-01-18T09:48:03.045Z] nexus3.edgexfoundry.org:10001 [2021-01-18T09:48:04.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:48:04.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:48:04.047Z] Configure a credential helper to remove this warning. See [2021-01-18T09:48:04.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:48:04.047Z] [2021-01-18T09:48:04.047Z] Login Succeeded [2021-01-18T09:48:04.047Z] nexus3.edgexfoundry.org:10002 [2021-01-18T09:48:04.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:48:04.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:48:04.338Z] Configure a credential helper to remove this warning. See [2021-01-18T09:48:04.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:48:04.338Z] [2021-01-18T09:48:04.338Z] Login Succeeded [2021-01-18T09:48:04.338Z] nexus3.edgexfoundry.org:10003 [2021-01-18T09:48:04.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:48:04.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:48:04.888Z] Configure a credential helper to remove this warning. See [2021-01-18T09:48:04.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:48:04.888Z] [2021-01-18T09:48:04.888Z] Login Succeeded [2021-01-18T09:48:04.888Z] nexus3.edgexfoundry.org:10004 [2021-01-18T09:48:05.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:48:05.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:48:05.171Z] Configure a credential helper to remove this warning. See [2021-01-18T09:48:05.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:48:05.171Z] [2021-01-18T09:48:05.171Z] Login Succeeded [2021-01-18T09:48:05.171Z] docker.io [2021-01-18T09:48:05.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:48:05.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:48:05.717Z] Configure a credential helper to remove this warning. See [2021-01-18T09:48:05.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:48:05.717Z] [2021-01-18T09:48:05.717Z] Login Succeeded [2021-01-18T09:48:05.717Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T09:48:05.769Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T09:48:06.224Z] ========================================================= [2021-01-18T09:48:06.224Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-18T09:48:06.224Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:48:06.691Z] + 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-01-18T09:48:06.748Z] gofmt -l . [2021-01-18T09:48:07.020Z] [ "`gofmt -l .`" = "" ] [2021-01-18T09:48:07.292Z] Sending build context to Docker daemon 2.581MB [2021-01-18T09:48:07.292Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T09:48:07.292Z] Step 2/8 : FROM ${BASE} [2021-01-18T09:48:07.292Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-18T09:48:07.292Z] 188c0c94c7c5: Pulling fs layer [2021-01-18T09:48:07.292Z] 0ef7d3d256c8: Pulling fs layer [2021-01-18T09:48:07.292Z] de9db76c5a1d: Pulling fs layer [2021-01-18T09:48:07.292Z] bca2f99d35d6: Pulling fs layer [2021-01-18T09:48:07.292Z] 93359f2a8cfa: Pulling fs layer [2021-01-18T09:48:07.292Z] 7c6f9722023f: Pulling fs layer [2021-01-18T09:48:07.292Z] a35cf1a2eb13: Pulling fs layer [2021-01-18T09:48:07.292Z] 93359f2a8cfa: Waiting [2021-01-18T09:48:07.292Z] 7c6f9722023f: Waiting [2021-01-18T09:48:07.292Z] a35cf1a2eb13: Waiting [2021-01-18T09:48:07.292Z] bca2f99d35d6: Waiting [2021-01-18T09:48:07.292Z] de9db76c5a1d: Verifying Checksum [2021-01-18T09:48:07.292Z] de9db76c5a1d: Download complete [2021-01-18T09:48:07.578Z] 0ef7d3d256c8: Verifying Checksum [2021-01-18T09:48:07.578Z] 0ef7d3d256c8: Download complete [2021-01-18T09:48:07.616Z] ./bin/test-attribution-txt.sh [2021-01-18T09:48:08.224Z] 93359f2a8cfa: Verifying Checksum [2021-01-18T09:48:08.225Z] 93359f2a8cfa: Download complete [2021-01-18T09:48:08.225Z] 7c6f9722023f: Verifying Checksum [2021-01-18T09:48:08.225Z] 7c6f9722023f: Download complete [2021-01-18T09:48:08.503Z] 188c0c94c7c5: Verifying Checksum [2021-01-18T09:48:08.503Z] 188c0c94c7c5: Download complete [2021-01-18T09:48:08.598Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-18T09:48:08.899Z] $ docker stop --time=1 7a6bd0f0d6f4eb43e62d864659867b03edb91ed050b5dc37b30c34196481a203 [2021-01-18T09:48:09.127Z] 188c0c94c7c5: Pull complete [2021-01-18T09:48:09.756Z] 0ef7d3d256c8: Pull complete [2021-01-18T09:48:09.756Z] de9db76c5a1d: Pull complete [2021-01-18T09:48:11.214Z] a35cf1a2eb13: Verifying Checksum [2021-01-18T09:48:11.214Z] a35cf1a2eb13: Download complete [2021-01-18T09:48:11.275Z] $ docker rm -f 7a6bd0f0d6f4eb43e62d864659867b03edb91ed050b5dc37b30c34196481a203 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T09:48:12.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-18T09:48:13.240Z] bca2f99d35d6: Verifying Checksum [2021-01-18T09:48:13.240Z] bca2f99d35d6: Download complete [2021-01-18T09:48:13.362Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T09:48:15.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-18T09:48:16.293Z] + ls -al . [2021-01-18T09:48:16.293Z] total 252 [2021-01-18T09:48:16.293Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 09:48 . [2021-01-18T09:48:16.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:44 .. [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 09:44 .dockerignore [2021-01-18T09:48:16.293Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 09:44 .git [2021-01-18T09:48:16.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 09:44 .github [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 18 09:44 .gitignore [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 18 09:44 Dockerfile.build [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 18 09:44 Jenkinsfile [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 18 09:44 LICENSE [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 18 09:44 Makefile [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 18 09:44 README.md [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 18 09:44 RELEASE-NOTES.txt [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 09:44 VERSION [2021-01-18T09:48:16.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 09:44 bin [2021-01-18T09:48:16.293Z] -rw-r--r-- 1 jenkins jenkins 137435 Jan 18 09:47 coverage.out [2021-01-18T09:48:16.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:44 example [2021-01-18T09:48:16.293Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 18 09:48 go.mod [2021-01-18T09:48:16.293Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 18 09:48 go.sum [2021-01-18T09:48:16.293Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 18 09:44 internal [2021-01-18T09:48:16.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:44 openapi [2021-01-18T09:48:16.293Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 18 09:44 pkg [2021-01-18T09:48:16.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:44 snap [2021-01-18T09:48:16.293Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 18 09:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:48:16.655Z] + 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=9e21f7aaa05ce715440a955ecf777a7356d89dab --label arch=arm64 --label version=0.0.0 . [2021-01-18T09:48:17.256Z] Sending build context to Docker daemon 2.725MB [2021-01-18T09:48:17.256Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T09:48:17.256Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-18T09:48:17.256Z] ---> 8115cf7138e1 [2021-01-18T09:48:17.256Z] Step 3/24 : ARG MAKE='make build' [2021-01-18T09:48:17.531Z] ---> Running in 0c0535279ec5 [2021-01-18T09:48:17.804Z] Removing intermediate container 0c0535279ec5 [2021-01-18T09:48:17.804Z] ---> d19e961c7325 [2021-01-18T09:48:17.804Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-18T09:48:18.077Z] ---> Running in bd5179fd16d2 [2021-01-18T09:48:18.670Z] Removing intermediate container bd5179fd16d2 [2021-01-18T09:48:18.670Z] ---> d24a83a723db [2021-01-18T09:48:18.670Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:48:18.670Z] ---> Running in 2bb93692bbe1 [2021-01-18T09:48:19.268Z] Removing intermediate container 2bb93692bbe1 [2021-01-18T09:48:19.268Z] ---> fb9c68406631 [2021-01-18T09:48:19.268Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T09:48:19.268Z] ---> Running in 6292e70dfad7 [2021-01-18T09:48:21.257Z] Removing intermediate container 6292e70dfad7 [2021-01-18T09:48:21.257Z] ---> bfa5a895745a [2021-01-18T09:48:21.257Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-18T09:48:21.539Z] ---> Running in 360bddf50bb8 [2021-01-18T09:48:21.550Z] bca2f99d35d6: Pull complete [2021-01-18T09:48:21.817Z] 93359f2a8cfa: Pull complete [2021-01-18T09:48:21.817Z] 7c6f9722023f: Pull complete [2021-01-18T09:48:22.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T09:48:23.491Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T09:48:24.464Z] OK: 142 MiB in 39 packages [2021-01-18T09:48:25.441Z] Removing intermediate container 360bddf50bb8 [2021-01-18T09:48:25.441Z] ---> d0106bc4ab50 [2021-01-18T09:48:25.441Z] Step 8/24 : COPY . . [2021-01-18T09:48:26.875Z] ---> 045595331712 [2021-01-18T09:48:26.875Z] Step 9/24 : RUN ${MAKE} [2021-01-18T09:48:26.875Z] ---> Running in cba0f3936e92 [2021-01-18T09:48:28.316Z] 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-01-18T09:48:28.662Z] a35cf1a2eb13: Pull complete [2021-01-18T09:48:28.662Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-18T09:48:28.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-18T09:48:28.662Z] ---> a62c8e92a672 [2021-01-18T09:48:28.662Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:48:28.940Z] ---> Running in 4d8461c29d8e [2021-01-18T09:48:29.560Z] Removing intermediate container 4d8461c29d8e [2021-01-18T09:48:29.560Z] ---> 5484e350ceaf [2021-01-18T09:48:29.560Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T09:48:29.560Z] ---> Running in f042dd88e123 [2021-01-18T09:48:31.604Z] Removing intermediate container f042dd88e123 [2021-01-18T09:48:31.604Z] ---> 2b653c4d8b04 [2021-01-18T09:48:31.604Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-18T09:48:31.604Z] ---> Running in f757500e1aac [2021-01-18T09:48:32.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T09:48:33.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T09:48:33.955Z] OK: 166 MiB in 39 packages [2021-01-18T09:48:34.724Z] Removing intermediate container f757500e1aac [2021-01-18T09:48:34.724Z] ---> 7b5679151432 [2021-01-18T09:48:34.724Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-18T09:48:34.724Z] ---> Running in 4f694fc7f830 [2021-01-18T09:48:34.990Z] Removing intermediate container 4f694fc7f830 [2021-01-18T09:48:34.990Z] ---> 0c87acba654c [2021-01-18T09:48:34.990Z] Step 7/8 : COPY . . [2021-01-18T09:48:36.996Z] ---> 6150398007a4 [2021-01-18T09:48:36.996Z] Step 8/8 : RUN go mod download [2021-01-18T09:48:36.996Z] ---> Running in b8ccd9b84eae [2021-01-18T09:48:55.152Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-18T09:48:55.744Z] Removing intermediate container cba0f3936e92 [2021-01-18T09:48:55.744Z] ---> dc882d988f64 [2021-01-18T09:48:55.744Z] Step 10/24 : FROM scratch [2021-01-18T09:48:55.744Z] ---> [2021-01-18T09:48:55.744Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:48:55.744Z] ---> Running in f6c0890fba34 [2021-01-18T09:48:56.025Z] Removing intermediate container f6c0890fba34 [2021-01-18T09:48:56.025Z] ---> 465c56d71c76 [2021-01-18T09:48:56.025Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-18T09:48:56.297Z] ---> Running in 797c69e823fc [2021-01-18T09:48:56.569Z] Removing intermediate container 797c69e823fc [2021-01-18T09:48:56.569Z] ---> 99d4682e19ad [2021-01-18T09:48:56.569Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-18T09:48:56.842Z] ---> Running in ffdef95d3091 [2021-01-18T09:48:57.436Z] Removing intermediate container ffdef95d3091 [2021-01-18T09:48:57.436Z] ---> 22ffc307d8ea [2021-01-18T09:48:57.436Z] Step 14/24 : WORKDIR / [2021-01-18T09:48:57.436Z] ---> Running in 149a09d6e41f [2021-01-18T09:48:57.716Z] Removing intermediate container 149a09d6e41f [2021-01-18T09:48:57.716Z] ---> 1e2fcfff77ef [2021-01-18T09:48:57.716Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-18T09:48:59.147Z] ---> 830fce6e042e [2021-01-18T09:48:59.147Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-18T09:48:59.739Z] ---> eeb8fc5d10d7 [2021-01-18T09:48:59.739Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-18T09:49:00.339Z] ---> 5e4e87e578ba [2021-01-18T09:49:00.339Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-18T09:49:01.314Z] ---> be0897b29d5f [2021-01-18T09:49:01.314Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-18T09:49:01.913Z] ---> 9d6747d8662e [2021-01-18T09:49:01.913Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-18T09:49:01.913Z] ---> Running in 2da2ab59b0a5 [2021-01-18T09:49:02.508Z] Removing intermediate container 2da2ab59b0a5 [2021-01-18T09:49:02.508Z] ---> d0756d837ab4 [2021-01-18T09:49:02.508Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-18T09:49:02.509Z] ---> Running in d9164ea5c7a3 [2021-01-18T09:49:03.105Z] Removing intermediate container d9164ea5c7a3 [2021-01-18T09:49:03.105Z] ---> 531ab12433b8 [2021-01-18T09:49:03.105Z] Step 22/24 : LABEL arch=arm64 [2021-01-18T09:49:03.105Z] ---> Running in e361425bf6f4 [2021-01-18T09:49:03.698Z] Removing intermediate container e361425bf6f4 [2021-01-18T09:49:03.698Z] ---> 36125a8aace7 [2021-01-18T09:49:03.698Z] Step 23/24 : LABEL git_sha=9e21f7aaa05ce715440a955ecf777a7356d89dab [2021-01-18T09:49:03.698Z] ---> Running in e11f4cade4b6 [2021-01-18T09:49:04.008Z] Removing intermediate container b8ccd9b84eae [2021-01-18T09:49:04.008Z] ---> a0566c554c13 [2021-01-18T09:49:04.008Z] Successfully built a0566c554c13 [2021-01-18T09:49:04.008Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:49:04.299Z] Removing intermediate container e11f4cade4b6 [2021-01-18T09:49:04.299Z] ---> f99500fb4473 [2021-01-18T09:49:04.299Z] Step 24/24 : LABEL version=0.0.0 [2021-01-18T09:49:04.299Z] ---> Running in 13bc1e7208ec [2021-01-18T09:49:04.397Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T09:49:04.579Z] Removing intermediate container 13bc1e7208ec [2021-01-18T09:49:04.579Z] ---> 7046c6c82f0a [2021-01-18T09:49:04.579Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-18T09:49:04.671Z] . [Pipeline] withDockerContainer [2021-01-18T09:49:04.851Z] Successfully built 7046c6c82f0a [2021-01-18T09:49:04.851Z] Successfully tagged docker-device-sdk-simple-arm64:latest [2021-01-18T09:49:04.968Z] prd-centos7-docker-4c-2g-20975 does not seem to be running inside a container [2021-01-18T09:49:05.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-01-18T09:49:06.335Z] $ docker top 40d15a7642e11a0f64bc365e5c9322fdaf17feb884a92fec01ee735bfd3cf089 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-01-18T09:49:06.942Z] + go version [2021-01-18T09:49:06.942Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-18T09:49:06.979Z] $ docker stop --time=1 40d15a7642e11a0f64bc365e5c9322fdaf17feb884a92fec01ee735bfd3cf089 [2021-01-18T09:49:08.529Z] $ docker rm -f 40d15a7642e11a0f64bc365e5c9322fdaf17feb884a92fec01ee735bfd3cf089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:49:09.831Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T09:49:09.831Z] . [Pipeline] withDockerContainer [2021-01-18T09:49:10.007Z] prd-centos7-docker-4c-2g-20975 does not seem to be running inside a container [2021-01-18T09:49:10.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-01-18T09:49:11.183Z] $ docker top 4f5eb221498332cf20c6436c0a1bdffbc110044555d0bd242172d77eb085edcf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:49:11.818Z] + make test [2021-01-18T09:49:11.818Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T09:49:24.421Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-18T09:49:51.895Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-18T09:49:51.895Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-18T09:49:51.895Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-18T09:49:51.895Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.105s coverage: 19.4% of statements [2021-01-18T09:49:57.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.623s coverage: 97.1% of statements [2021-01-18T09:50:24.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.077s coverage: 9.4% of statements [2021-01-18T09:50:24.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.218s coverage: 21.7% of statements [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-18T09:50:24.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.465s coverage: 42.9% of statements [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-18T09:50:24.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.542s coverage: 68.9% of statements [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-18T09:50:24.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.163s coverage: 53.8% of statements [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-18T09:50:24.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.176s coverage: 25.6% of statements [2021-01-18T09:50:24.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.346s coverage: 83.5% of statements [2021-01-18T09:50:24.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.095s coverage: 4.2% of statements [2021-01-18T09:50:24.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-18T09:50:24.517Z] GO111MODULE=on go vet ./... [2021-01-18T09:50:47.156Z] gofmt -l . [2021-01-18T09:50:47.156Z] [ "`gofmt -l .`" = "" ] [2021-01-18T09:50:47.156Z] ./bin/test-attribution-txt.sh [2021-01-18T09:50:47.156Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-18T09:50:47.201Z] $ docker stop --time=1 4f5eb221498332cf20c6436c0a1bdffbc110044555d0bd242172d77eb085edcf [2021-01-18T09:50:50.394Z] $ docker rm -f 4f5eb221498332cf20c6436c0a1bdffbc110044555d0bd242172d77eb085edcf [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T09:50:51.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-18T09:50:51.377Z] Warning: overwriting stash ‘coverage-report’ [2021-01-18T09:50:51.994Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-18T09:50:52.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-18T09:50:53.078Z] + ls -al . [2021-01-18T09:50:53.078Z] total 216 [2021-01-18T09:50:53.078Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 09:50 . [2021-01-18T09:50:53.078Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 18 09:47 .. [2021-01-18T09:50:53.078Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 18 09:47 bin [2021-01-18T09:50:53.078Z] -rw-r--r--. 1 jenkins jenkins 137434 Jan 18 09:50 coverage.out [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 18 09:47 Dockerfile.build [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 18 09:47 .dockerignore [2021-01-18T09:50:53.078Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 18 09:47 example [2021-01-18T09:50:53.078Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 18 09:47 .git [2021-01-18T09:50:53.078Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 18 09:47 .github [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 18 09:47 .gitignore [2021-01-18T09:50:53.078Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 18 09:50 go.mod [2021-01-18T09:50:53.078Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 18 09:50 go.sum [2021-01-18T09:50:53.078Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 18 09:47 internal [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 18 09:47 Jenkinsfile [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 18 09:47 LICENSE [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 18 09:47 Makefile [2021-01-18T09:50:53.078Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 18 09:47 openapi [2021-01-18T09:50:53.078Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 18 09:47 pkg [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 18 09:47 README.md [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 18 09:47 RELEASE-NOTES.txt [2021-01-18T09:50:53.078Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 18 09:47 snap [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 18 09:44 VERSION [2021-01-18T09:50:53.078Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 18 09:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:50:53.592Z] + 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=9e21f7aaa05ce715440a955ecf777a7356d89dab --label arch=amd64 --label version=0.0.0 . [2021-01-18T09:50:54.610Z] Sending build context to Docker daemon 2.719MB [2021-01-18T09:50:54.610Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T09:50:54.610Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-18T09:50:54.610Z] ---> a0566c554c13 [2021-01-18T09:50:54.610Z] Step 3/24 : ARG MAKE='make build' [2021-01-18T09:50:54.887Z] ---> Running in b783e928184c [2021-01-18T09:50:55.173Z] Removing intermediate container b783e928184c [2021-01-18T09:50:55.173Z] ---> c008b424c931 [2021-01-18T09:50:55.173Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-18T09:50:55.173Z] ---> Running in b24d521d25fc [2021-01-18T09:50:55.461Z] Removing intermediate container b24d521d25fc [2021-01-18T09:50:55.461Z] ---> 2442afe1ab01 [2021-01-18T09:50:55.461Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:50:55.461Z] ---> Running in 97a90200b10f [2021-01-18T09:50:55.840Z] Removing intermediate container 97a90200b10f [2021-01-18T09:50:55.840Z] ---> f6091059e949 [2021-01-18T09:50:55.841Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T09:50:55.841Z] ---> Running in 9097455ea810 [2021-01-18T09:50:57.910Z] Removing intermediate container 9097455ea810 [2021-01-18T09:50:57.910Z] ---> 311df798a933 [2021-01-18T09:50:57.910Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-18T09:50:57.910Z] ---> Running in ad44d29ccb55 [2021-01-18T09:50:58.922Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T09:50:59.526Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T09:51:00.130Z] OK: 166 MiB in 39 packages [2021-01-18T09:51:00.716Z] Removing intermediate container ad44d29ccb55 [2021-01-18T09:51:00.716Z] ---> a507d3d2e675 [2021-01-18T09:51:00.716Z] Step 8/24 : COPY . . [2021-01-18T09:51:01.717Z] ---> 13e819dba79d [2021-01-18T09:51:01.717Z] Step 9/24 : RUN ${MAKE} [2021-01-18T09:51:01.717Z] ---> Running in 3a69dc672c0d [2021-01-18T09:51:02.722Z] 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-01-18T09:51:18.284Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-18T09:51:21.715Z] Removing intermediate container 3a69dc672c0d [2021-01-18T09:51:21.715Z] ---> 2c8fa56a5054 [2021-01-18T09:51:21.715Z] Step 10/24 : FROM scratch [2021-01-18T09:51:21.715Z] ---> [2021-01-18T09:51:21.715Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:51:21.715Z] ---> Running in dd6a0b9a8aa9 [2021-01-18T09:51:21.715Z] Removing intermediate container dd6a0b9a8aa9 [2021-01-18T09:51:21.715Z] ---> c56ee9cedc47 [2021-01-18T09:51:21.715Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-18T09:51:21.715Z] ---> Running in dfd83cf59bdd [2021-01-18T09:51:22.004Z] Removing intermediate container dfd83cf59bdd [2021-01-18T09:51:22.004Z] ---> 1d633e05a770 [2021-01-18T09:51:22.004Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-18T09:51:22.004Z] ---> Running in 8e3c9b0a2825 [2021-01-18T09:51:22.285Z] Removing intermediate container 8e3c9b0a2825 [2021-01-18T09:51:22.285Z] ---> b1813a8b541d [2021-01-18T09:51:22.285Z] Step 14/24 : WORKDIR / [2021-01-18T09:51:22.285Z] ---> Running in 6768e3c4460f [2021-01-18T09:51:22.916Z] Removing intermediate container 6768e3c4460f [2021-01-18T09:51:22.916Z] ---> 76345c589a28 [2021-01-18T09:51:22.916Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-18T09:51:24.390Z] ---> 21c98e926ae7 [2021-01-18T09:51:24.390Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-18T09:51:24.664Z] ---> 39f2d9aeb393 [2021-01-18T09:51:24.664Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-18T09:51:24.944Z] ---> e70748e57f6d [2021-01-18T09:51:24.944Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-18T09:51:25.225Z] ---> 6fddd7e95196 [2021-01-18T09:51:25.225Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-18T09:51:25.862Z] ---> d0a2f24a25fd [2021-01-18T09:51:25.862Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-18T09:51:25.862Z] ---> Running in 64bf8e0cc73c [2021-01-18T09:51:26.198Z] Removing intermediate container 64bf8e0cc73c [2021-01-18T09:51:26.198Z] ---> 49c54fcac5e3 [2021-01-18T09:51:26.198Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-18T09:51:26.530Z] ---> Running in 1c1fcb4b6c12 [2021-01-18T09:51:26.825Z] Removing intermediate container 1c1fcb4b6c12 [2021-01-18T09:51:26.825Z] ---> a37fcc15dcec [2021-01-18T09:51:26.825Z] Step 22/24 : LABEL arch=amd64 [2021-01-18T09:51:26.825Z] ---> Running in 6f9f28010448 [2021-01-18T09:51:27.483Z] Removing intermediate container 6f9f28010448 [2021-01-18T09:51:27.483Z] ---> 42792191567c [2021-01-18T09:51:27.483Z] Step 23/24 : LABEL git_sha=9e21f7aaa05ce715440a955ecf777a7356d89dab [2021-01-18T09:51:27.483Z] ---> Running in 940718a87bf7 [2021-01-18T09:51:27.754Z] Removing intermediate container 940718a87bf7 [2021-01-18T09:51:27.754Z] ---> b927ffdb9cbf [2021-01-18T09:51:27.754Z] Step 24/24 : LABEL version=0.0.0 [2021-01-18T09:51:27.754Z] ---> Running in ac0f5b41c838 [2021-01-18T09:51:28.029Z] Removing intermediate container ac0f5b41c838 [2021-01-18T09:51:28.029Z] ---> 1f545e8df247 [2021-01-18T09:51:28.029Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-18T09:51:28.029Z] Successfully built 1f545e8df247 [2021-01-18T09:51:28.029Z] 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 [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-01-18T09:51:30.227Z] provisioning config files... [2021-01-18T09:51:30.244Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config3414819450916937416tmp [Pipeline] { [Pipeline] sh [2021-01-18T09:51:30.769Z] + set +x [2021-01-18T09:51:30.769Z] + curl -s https://codecov.io/bash [2021-01-18T09:51:30.769Z] + bash -s -- [2021-01-18T09:51:31.033Z] [2021-01-18T09:51:31.033Z] _____ _ [2021-01-18T09:51:31.033Z] / ____| | | [2021-01-18T09:51:31.033Z] | | ___ __| | ___ ___ _____ __ [2021-01-18T09:51:31.033Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-18T09:51:31.033Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-18T09:51:31.033Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-18T09:51:31.033Z] Bash-20210115-cec3c92 [2021-01-18T09:51:31.033Z] [2021-01-18T09:51:31.033Z] [2021-01-18T09:51:31.033Z] ==> git version 2.24.3 found [2021-01-18T09:51:31.033Z] ==> 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-01-18T09:51:31.033Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-18T09:51:31.033Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-18T09:51:31.033Z] ==> Jenkins CI detected. [2021-01-18T09:51:31.033Z] project root: . [2021-01-18T09:51:31.033Z] --> token set from env [2021-01-18T09:51:31.033Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-18T09:51:31.033Z] ==> Running gcov in . (disable via -X gcov) [2021-01-18T09:51:31.033Z] ==> Python coveragepy not found [2021-01-18T09:51:31.033Z] ==> Searching for coverage reports in: [2021-01-18T09:51:31.033Z] + . [2021-01-18T09:51:31.033Z] -> Found 1 reports [2021-01-18T09:51:31.033Z] ==> Detecting git/mercurial file structure [2021-01-18T09:51:31.033Z] ==> Reading reports [2021-01-18T09:51:31.033Z] + ./coverage.out bytes=137434 [2021-01-18T09:51:31.033Z] ==> Appending adjustments [2021-01-18T09:51:31.033Z] https://docs.codecov.io/docs/fixing-reports [2021-01-18T09:51:31.608Z] + Found adjustments [2021-01-18T09:51:31.608Z] ==> Gzipping contents [2021-01-18T09:51:31.608Z] 24K /tmp/codecov.rwXrh3.gz [2021-01-18T09:51:31.608Z] ==> Uploading reports [2021-01-18T09:51:31.608Z] url: https://codecov.io [2021-01-18T09:51:31.608Z] query: branch=PR-738&commit=9e21f7aaa05ce715440a955ecf777a7356d89dab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= [2021-01-18T09:51:31.608Z] -> Pinging Codecov [2021-01-18T09:51:31.608Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-738&commit=9e21f7aaa05ce715440a955ecf777a7356d89dab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= [2021-01-18T09:51:32.185Z] -> Uploading to [2021-01-18T09:51:32.185Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-18/7E55EF52A471D76F132DFD9A03CDDE97/9e21f7aaa05ce715440a955ecf777a7356d89dab/bfa0b9f0-3091-4457-a01e-a393f8fee3e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210118T095132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd69c46ff36d9ed017c2a45eefab4f9e9a7a2bf4e686e564e56368e934e43dc1 [2021-01-18T09:51:32.185Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-18T09:51:32.185Z] Dload Upload Total Spent Left Speed [2021-01-18T09:51:32.760Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21600 0 0 100 21600 0 42203 --:--:-- --:--:-- --:--:-- 42187 100 21600 0 0 100 21600 0 42190 --:--:-- --:--:-- --:--:-- 42187 [2021-01-18T09:51:32.760Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9e21f7aaa05ce715440a955ecf777a7356d89dab [Pipeline] } [2021-01-18T09:51:32.770Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-01-18T09:51:35.412Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:51:35.724Z] ---> package-listing.sh [2021-01-18T09:51:35.724Z] ++ facter osfamily [2021-01-18T09:51:35.724Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-18T09:51:35.724Z] + OS_FAMILY=redhat [2021-01-18T09:51:35.724Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-738 [2021-01-18T09:51:35.724Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-18T09:51:35.724Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-18T09:51:35.724Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-18T09:51:35.724Z] + PACKAGES=/tmp/packages_start.txt [2021-01-18T09:51:35.724Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' [2021-01-18T09:51:35.724Z] + PACKAGES=/tmp/packages_end.txt [2021-01-18T09:51:35.724Z] + case "${OS_FAMILY}" in [2021-01-18T09:51:35.724Z] + rpm -qa [2021-01-18T09:51:35.724Z] + sort [2021-01-18T09:51:41.034Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-18T09:51:41.034Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-18T09:51:41.034Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-18T09:51:41.034Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' [2021-01-18T09:51:41.034Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ [2021-01-18T09:51:41.034Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ [Pipeline] echo [2021-01-18T09:51:41.048Z] 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-738/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-18T09:51:41.340Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:51:41.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T09:51:41.647Z] [2021-01-18T09:51:41.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:51:42.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T09:51:42.016Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-18T09:51:42.016Z] df20fa9351a1: Pulling fs layer [2021-01-18T09:51:42.016Z] 36b3adc4ff6f: Pulling fs layer [2021-01-18T09:51:42.016Z] 8ad3a11d3b57: Pulling fs layer [2021-01-18T09:51:42.016Z] 46f8f816bc3b: Pulling fs layer [2021-01-18T09:51:42.016Z] 93b61091891f: Pulling fs layer [2021-01-18T09:51:42.016Z] 93b9cdb0e59b: Pulling fs layer [2021-01-18T09:51:42.016Z] 5e14af77c1be: Pulling fs layer [2021-01-18T09:51:42.016Z] 01666e4c0597: Pulling fs layer [2021-01-18T09:51:42.016Z] aa168da1d23b: Pulling fs layer [2021-01-18T09:51:42.016Z] 93b9cdb0e59b: Waiting [2021-01-18T09:51:42.016Z] 5e14af77c1be: Waiting [2021-01-18T09:51:42.016Z] 01666e4c0597: Waiting [2021-01-18T09:51:42.016Z] aa168da1d23b: Waiting [2021-01-18T09:51:42.016Z] 46f8f816bc3b: Waiting [2021-01-18T09:51:42.016Z] 93b61091891f: Waiting [2021-01-18T09:51:42.016Z] 36b3adc4ff6f: Verifying Checksum [2021-01-18T09:51:42.016Z] 36b3adc4ff6f: Download complete [2021-01-18T09:51:42.016Z] 46f8f816bc3b: Download complete [2021-01-18T09:51:42.278Z] df20fa9351a1: Download complete [2021-01-18T09:51:42.278Z] 93b9cdb0e59b: Verifying Checksum [2021-01-18T09:51:42.278Z] 93b9cdb0e59b: Download complete [2021-01-18T09:51:42.278Z] 93b61091891f: Verifying Checksum [2021-01-18T09:51:42.278Z] 93b61091891f: Download complete [2021-01-18T09:51:42.278Z] 5e14af77c1be: Download complete [2021-01-18T09:51:42.278Z] 01666e4c0597: Verifying Checksum [2021-01-18T09:51:42.278Z] 01666e4c0597: Download complete [2021-01-18T09:51:42.541Z] df20fa9351a1: Pull complete [2021-01-18T09:51:42.804Z] 36b3adc4ff6f: Pull complete [2021-01-18T09:51:43.068Z] 8ad3a11d3b57: Verifying Checksum [2021-01-18T09:51:43.068Z] 8ad3a11d3b57: Download complete [2021-01-18T09:51:44.038Z] 8ad3a11d3b57: Pull complete [2021-01-18T09:51:44.038Z] 46f8f816bc3b: Pull complete [2021-01-18T09:51:44.619Z] 93b61091891f: Pull complete [2021-01-18T09:51:44.882Z] aa168da1d23b: Verifying Checksum [2021-01-18T09:51:44.882Z] aa168da1d23b: Download complete [2021-01-18T09:51:44.882Z] 93b9cdb0e59b: Pull complete [2021-01-18T09:51:45.147Z] 5e14af77c1be: Pull complete [2021-01-18T09:51:45.147Z] 01666e4c0597: Pull complete [2021-01-18T09:51:51.796Z] aa168da1d23b: Pull complete [2021-01-18T09:51:51.796Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-18T09:51:51.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T09:51:51.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-18T09:51:51.993Z] prd-centos7-docker-4c-2g-20974 does not seem to be running inside a container [2021-01-18T09:51:52.038Z] $ 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-738/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-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-18T09:51:57.987Z] $ docker top 9fcda8912b44e91da348e6b6c1c096a94e3023cf84b07e90c3a29a09ebb87d4e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:51:58.521Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-18T09:51:58.823Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-18T09:51:59.125Z] + ls /var/log/sa-host [2021-01-18T09:51:59.125Z] + sadf -c /var/log/sa-host/sa18 [2021-01-18T09:51:59.125Z] file_magic: OK [2021-01-18T09:51:59.125Z] HZ: Using current value: 100 [2021-01-18T09:51:59.125Z] file_header: OK [2021-01-18T09:51:59.125Z] 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-01-18T09:51:59.125Z] Statistics: [2021-01-18T09:51:59.125Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-18T09:51:59.125Z] File successfully converted to sysstat format version 12.2.1 [2021-01-18T09:51:59.125Z] + sadf -c /var/log/sa-host/sa23 [2021-01-18T09:51:59.125Z] file_magic: OK [2021-01-18T09:51:59.125Z] HZ: Using current value: 100 [2021-01-18T09:51:59.125Z] file_header: OK [2021-01-18T09:51:59.125Z] 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-01-18T09:51:59.125Z] Statistics: [2021-01-18T09:51:59.125Z] Hnuu...uuuununununu... [2021-01-18T09:51:59.125Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-18T09:51:59.695Z] provisioning config files... [2021-01-18T09:52:00.438Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config2420651579149209831tmp [Pipeline] { [Pipeline] echo [2021-01-18T09:52:00.496Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:52:00.797Z] ---> create-netrc.sh [Pipeline] } [2021-01-18T09:52:00.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-18T09:52:00.903Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:52:01.205Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-18T09:52:01.215Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:52:01.518Z] ---> sudo-logs.sh [2021-01-18T09:52:01.518Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-18T09:52:01.529Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:52:01.829Z] ---> job-cost.sh [2021-01-18T09:52:01.829Z] lf-activate-venv: SKIPPING [2021-01-18T09:52:01.829Z] INFO: No Stack... [2021-01-18T09:52:03.222Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-18T09:52:03.485Z] INFO: Archiving Costs [Pipeline] echo [2021-01-18T09:52:03.499Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:52:03.797Z] ---> logs-deploy.sh [2021-01-18T09:52:03.797Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-738/2 [2021-01-18T09:52:03.797Z] INFO: archiving workspace using pattern(s): [2021-01-18T09:52:05.719Z] Archives upload complete. [2021-01-18T09:52:05.719Z] INFO: archiving logs to Nexus