Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 381b9d61912d7ab842f409859564ba10d5e6c264+d47b03cf12e2f169eefdaad978a8d5668b399891 (e929efad2ec53ef3c8aa4ef51400696f86b98dd4) 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-21047 in /w/workspace/dgexfoundry_device-sdk-go_PR-734 [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-734 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 381b9d61912d7ab842f409859564ba10d5e6c264 Merge succeeded, producing 7d742fce70d723d48d67fa79c5739c0e6426799b Checking out Revision 7d742fce70d723d48d67fa79c5739c0e6426799b (PR-734) > 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/734/head:refs/remotes/origin/PR-734 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # 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 7d742fce70d723d48d67fa79c5739c0e6426799b # timeout=10 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" > git rev-list --no-walk 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T02:42:58.735Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-19T02:42:58.994Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T02:42:59.084Z] ========================================================= [2021-01-19T02:42:59.085Z] EdgeX Global Pipelines Version Info [2021-01-19T02:42:59.085Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:43:00.540Z] ------------------- [2021-01-19T02:43:00.540Z] stable info: [2021-01-19T02:43:00.540Z] ------------------- [2021-01-19T02:43:00.540Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T02:43:00.540Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T02:43:00.540Z] Message: update stable to v1.0.177 [2021-01-19T02:43:01.497Z] ------------------- [2021-01-19T02:43:01.497Z] experimental info: [2021-01-19T02:43:01.497Z] ------------------- [2021-01-19T02:43:01.497Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T02:43:01.497Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T02:43:01.497Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T02:43:01.923Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-19T02:43:02.051Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-19T02:43:02.241Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T02:43:02.351Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T02:43:02.456Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T02:43:02.648Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T02:43:02.727Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T02:43:02.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T02:43:02.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-19T02:43:02.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T02:43:03.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T02:43:03.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-19T02:43:03.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T02:43:03.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T02:43:03.497Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-19T02:43:03.609Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:43:03.697Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:43:03.777Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:43:03.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-19T02:43:03.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T02:43:04.101Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-19T02:43:04.190Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-19T02:43:04.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T02:43:04.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T02:43:04.458Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-19T02:43:04.548Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T02:43:04.637Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T02:43:04.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-734 [Pipeline] echo [2021-01-19T02:43:04.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-734 [Pipeline] echo [2021-01-19T02:43:04.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-734 [Pipeline] echo [2021-01-19T02:43:05.013Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d742fce70d723d48d67fa79c5739c0e6426799b [Pipeline] echo [2021-01-19T02:43:05.111Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d742fc [Pipeline] echo [2021-01-19T02:43:05.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:43:05.361Z] provisioning config files... [2021-01-19T02:43:05.406Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/config3161939091576806283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:43:05.789Z] ---> docker-login.sh [2021-01-19T02:43:05.789Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:43:06.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:06.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:06.315Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:06.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:06.315Z] [2021-01-19T02:43:06.315Z] Login Succeeded [2021-01-19T02:43:06.315Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:43:06.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:06.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:06.579Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:06.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:06.579Z] [2021-01-19T02:43:06.579Z] Login Succeeded [2021-01-19T02:43:06.579Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:43:06.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:06.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:06.579Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:06.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:06.579Z] [2021-01-19T02:43:06.579Z] Login Succeeded [2021-01-19T02:43:06.579Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:43:06.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:06.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:06.841Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:06.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:06.841Z] [2021-01-19T02:43:06.841Z] Login Succeeded [2021-01-19T02:43:06.841Z] docker.io [2021-01-19T02:43:06.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:07.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:07.105Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:07.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:07.105Z] [2021-01-19T02:43:07.105Z] Login Succeeded [2021-01-19T02:43:07.105Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:43:07.115Z] 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-19T02:43:07.863Z] + git log --format=format:%s -1 7d742fce70d723d48d67fa79c5739c0e6426799b [Pipeline] echo [2021-01-19T02:43:07.929Z] GIT_COMMIT: 7d742fce70d723d48d67fa79c5739c0e6426799b, Commit Message: Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD [Pipeline] echo [2021-01-19T02:43:07.969Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:43:08.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:43:08.523Z] [2021-01-19T02:43:08.523Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:43:08.882Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:43:08.882Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T02:43:08.882Z] 31603596830f: Pulling fs layer [2021-01-19T02:43:08.882Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T02:43:08.882Z] 6ca5941a6612: Pulling fs layer [2021-01-19T02:43:08.882Z] ecc8261a40a4: Pulling fs layer [2021-01-19T02:43:08.882Z] ecc8261a40a4: Waiting [2021-01-19T02:43:08.882Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T02:43:08.882Z] 2a8b12db71e7: Download complete [2021-01-19T02:43:08.882Z] 31603596830f: Verifying Checksum [2021-01-19T02:43:08.882Z] 31603596830f: Download complete [2021-01-19T02:43:09.159Z] ecc8261a40a4: Verifying Checksum [2021-01-19T02:43:09.159Z] ecc8261a40a4: Download complete [2021-01-19T02:43:09.159Z] 6ca5941a6612: Verifying Checksum [2021-01-19T02:43:09.159Z] 6ca5941a6612: Download complete [2021-01-19T02:43:09.423Z] 31603596830f: Pull complete [2021-01-19T02:43:09.686Z] 2a8b12db71e7: Pull complete [2021-01-19T02:43:10.635Z] 6ca5941a6612: Pull complete [2021-01-19T02:43:10.898Z] ecc8261a40a4: Pull complete [2021-01-19T02:43:10.898Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T02:43:10.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:43:10.898Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T02:43:11.006Z] prd-centos7-docker-4c-2g-21047 does not seem to be running inside a container [2021-01-19T02:43:11.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-734 -v /w/workspace/dgexfoundry_device-sdk-go_PR-734:/w/workspace/dgexfoundry_device-sdk-go_PR-734:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-734@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T02:43:13.199Z] $ docker top 260796a48eab254aedf989d20c6f3e3a96b821b6a4b090b4a77f98ac09baf16f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T02:43:13.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T02:43:13.651Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T02:43:13.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T02:43:13.936Z] $ docker exec 260796a48eab254aedf989d20c6f3e3a96b821b6a4b090b4a77f98ac09baf16f ssh-agent [2021-01-19T02:43:14.139Z] SSH_AUTH_SOCK=/tmp/ssh-waoFnFPNJlTi/agent.12 [2021-01-19T02:43:14.139Z] SSH_AGENT_PID=17 [2021-01-19T02:43:14.158Z] Running ssh-add (command line suppressed) [2021-01-19T02:43:14.297Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/private_key_5107404512006276592.key (/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/private_key_5107404512006276592.key) [2021-01-19T02:43:14.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T02:43:14.702Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T02:43:14.731Z] $ docker exec --env ******** --env ******** 260796a48eab254aedf989d20c6f3e3a96b821b6a4b090b4a77f98ac09baf16f ssh-agent -k [2021-01-19T02:43:14.864Z] unset SSH_AUTH_SOCK; [2021-01-19T02:43:14.865Z] unset SSH_AGENT_PID; [2021-01-19T02:43:14.865Z] echo Agent pid 17 killed; [2021-01-19T02:43:14.922Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T02:43:15.066Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T02:43:15.066Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T02:43:15.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T02:43:15.253Z] $ docker exec 260796a48eab254aedf989d20c6f3e3a96b821b6a4b090b4a77f98ac09baf16f ssh-agent [2021-01-19T02:43:15.430Z] SSH_AUTH_SOCK=/tmp/ssh-3drQAUyQ0cuq/agent.46 [2021-01-19T02:43:15.430Z] SSH_AGENT_PID=51 [2021-01-19T02:43:15.438Z] Running ssh-add (command line suppressed) [2021-01-19T02:43:15.569Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/private_key_3720757841677788043.key (/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/private_key_3720757841677788043.key) [2021-01-19T02:43:15.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T02:43:15.981Z] + git semver init [2021-01-19T02:43:15.981Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T02:43:15.981Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-734/.git [2021-01-19T02:43:15.981Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-734 [2021-01-19T02:43:15.981Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T02:43:15.981Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T02:43:15.981Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T02:43:15.981Z] # $SEMVER_BRANCH = PR-734 [2021-01-19T02:43:15.981Z] # $SEMVER_TEMP = /tmp/semver-824157756 [2021-01-19T02:43:15.981Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-19T02:43:16.935Z] # '/tmp/semver-824157756' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-734/.semver' [2021-01-19T02:43:16.935Z] # -> Force: false [2021-01-19T02:43:16.935Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-734/.semver [Pipeline] } [2021-01-19T02:43:16.950Z] $ docker exec --env ******** --env ******** 260796a48eab254aedf989d20c6f3e3a96b821b6a4b090b4a77f98ac09baf16f ssh-agent -k [2021-01-19T02:43:17.082Z] unset SSH_AUTH_SOCK; [2021-01-19T02:43:17.083Z] unset SSH_AGENT_PID; [2021-01-19T02:43:17.083Z] echo Agent pid 51 killed; [2021-01-19T02:43:17.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T02:43:17.596Z] + git semver [Pipeline] } [2021-01-19T02:43:17.616Z] $ docker stop --time=1 260796a48eab254aedf989d20c6f3e3a96b821b6a4b090b4a77f98ac09baf16f [2021-01-19T02:43:19.423Z] $ docker rm -f 260796a48eab254aedf989d20c6f3e3a96b821b6a4b090b4a77f98ac09baf16f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:43:19.983Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T02:43:20.496Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T02:43:20.499Z] [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-19T02:43:35.991Z] Still waiting to schedule task [2021-01-19T02:43:35.991Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-19T02:43:35.994Z] Still waiting to schedule task [2021-01-19T02:43:35.994Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-19T02:44:27.940Z] Running on prd-centos7-docker-4c-2g-21053 in /w/workspace/dgexfoundry_device-sdk-go_PR-734 [Pipeline] { [Pipeline] ws [2021-01-19T02:44:27.997Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-19T02:44:30.437Z] using credential edgex-jenkins-ssh [2021-01-19T02:44:30.494Z] Cloning the remote Git repository [2021-01-19T02:44:30.529Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:30.611Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-19T02:44:30.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:30.688Z] > git --version # timeout=10 [2021-01-19T02:44:30.700Z] > git --version # 'git version 2.24.3' [2021-01-19T02:44:30.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:30.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:44:31.413Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:44:31.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:44:31.432Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:44:31.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:31.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:31.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/734/head:refs/remotes/origin/PR-734 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T02:44:31.851Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 381b9d61912d7ab842f409859564ba10d5e6c264 [2021-01-19T02:44:31.994Z] Merge succeeded, producing dcc6742b930eb1e2d3017206ae499526bf9ac7f8 [2021-01-19T02:44:31.995Z] Checking out Revision dcc6742b930eb1e2d3017206ae499526bf9ac7f8 (PR-734) [2021-01-19T02:44:31.861Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:44:31.868Z] > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 [2021-01-19T02:44:31.934Z] > git remote # timeout=10 [2021-01-19T02:44:31.940Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T02:44:31.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:31.950Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-19T02:44:31.987Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T02:44:31.997Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:44:32.002Z] > git checkout -f dcc6742b930eb1e2d3017206ae499526bf9ac7f8 # timeout=10 [2021-01-19T02:44:35.838Z] Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" [2021-01-19T02:44:35.843Z] > git rev-list --no-walk 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:44:37.092Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:44:37.419Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:44:37.722Z] + sudo service docker restart [2021-01-19T02:44:37.722Z] + true [2021-01-19T02:44:37.722Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:44:38.739Z] provisioning config files... [2021-01-19T02:44:38.774Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7362674800420670369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:44:39.143Z] ---> docker-login.sh [2021-01-19T02:44:39.143Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:44:39.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:39.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:39.674Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:39.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:39.674Z] [2021-01-19T02:44:39.674Z] Login Succeeded [2021-01-19T02:44:39.674Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:44:39.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:39.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:39.938Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:39.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:39.938Z] [2021-01-19T02:44:39.938Z] Login Succeeded [2021-01-19T02:44:39.938Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:44:39.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:39.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:39.938Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:39.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:39.938Z] [2021-01-19T02:44:39.938Z] Login Succeeded [2021-01-19T02:44:39.938Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:44:40.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:40.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:40.208Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:40.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:40.208Z] [2021-01-19T02:44:40.208Z] Login Succeeded [2021-01-19T02:44:40.208Z] docker.io [2021-01-19T02:44:40.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:40.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:40.481Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:40.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:40.481Z] [2021-01-19T02:44:40.481Z] Login Succeeded [2021-01-19T02:44:40.481Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:44:40.491Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T02:44:41.114Z] ========================================================= [2021-01-19T02:44:41.114Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T02:44:41.114Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:44:41.458Z] + 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-19T02:44:41.726Z] Sending build context to Docker daemon 2.522MB [2021-01-19T02:44:41.726Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:44:41.726Z] Step 2/8 : FROM ${BASE} [2021-01-19T02:44:41.726Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T02:44:41.726Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T02:44:41.726Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T02:44:41.726Z] de9db76c5a1d: Pulling fs layer [2021-01-19T02:44:41.726Z] bca2f99d35d6: Pulling fs layer [2021-01-19T02:44:41.726Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T02:44:41.726Z] 7c6f9722023f: Pulling fs layer [2021-01-19T02:44:41.726Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T02:44:41.726Z] 93359f2a8cfa: Waiting [2021-01-19T02:44:41.726Z] 7c6f9722023f: Waiting [2021-01-19T02:44:41.726Z] bca2f99d35d6: Waiting [2021-01-19T02:44:41.726Z] a35cf1a2eb13: Waiting [2021-01-19T02:44:41.726Z] de9db76c5a1d: Verifying Checksum [2021-01-19T02:44:41.726Z] de9db76c5a1d: Download complete [2021-01-19T02:44:41.726Z] 0ef7d3d256c8: Download complete [2021-01-19T02:44:41.726Z] 93359f2a8cfa: Download complete [2021-01-19T02:44:41.726Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T02:44:41.726Z] 188c0c94c7c5: Download complete [2021-01-19T02:44:42.011Z] 7c6f9722023f: Verifying Checksum [2021-01-19T02:44:42.011Z] 7c6f9722023f: Download complete [2021-01-19T02:44:42.283Z] 188c0c94c7c5: Pull complete [2021-01-19T02:44:42.560Z] 0ef7d3d256c8: Pull complete [2021-01-19T02:44:42.560Z] de9db76c5a1d: Pull complete [2021-01-19T02:44:43.521Z] a35cf1a2eb13: Download complete [2021-01-19T02:44:44.479Z] bca2f99d35d6: Verifying Checksum [2021-01-19T02:44:44.479Z] bca2f99d35d6: Download complete [2021-01-19T02:44:49.836Z] bca2f99d35d6: Pull complete [2021-01-19T02:44:49.836Z] 93359f2a8cfa: Pull complete [2021-01-19T02:44:49.836Z] 7c6f9722023f: Pull complete [2021-01-19T02:44:54.083Z] a35cf1a2eb13: Pull complete [2021-01-19T02:44:54.083Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T02:44:54.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T02:44:54.083Z] ---> a62c8e92a672 [2021-01-19T02:44:54.083Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:44:54.348Z] ---> Running in 7f7f0aab272e [2021-01-19T02:44:54.613Z] Removing intermediate container 7f7f0aab272e [2021-01-19T02:44:54.614Z] ---> 87c29c91c86e [2021-01-19T02:44:54.614Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:44:54.876Z] ---> Running in a7c8d3390869 [2021-01-19T02:44:55.829Z] Removing intermediate container a7c8d3390869 [2021-01-19T02:44:55.830Z] ---> 1a7fbc23f45c [2021-01-19T02:44:55.830Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T02:44:55.830Z] ---> Running in 9bf775c33880 [2021-01-19T02:44:57.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T02:44:57.494Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T02:44:58.069Z] OK: 166 MiB in 39 packages [2021-01-19T02:44:58.338Z] Removing intermediate container 9bf775c33880 [2021-01-19T02:44:58.338Z] ---> 30e86031c1c3 [2021-01-19T02:44:58.338Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T02:44:58.602Z] ---> Running in 70bd362cdc43 [2021-01-19T02:44:58.602Z] Removing intermediate container 70bd362cdc43 [2021-01-19T02:44:58.602Z] ---> a3b310d7197a [2021-01-19T02:44:58.602Z] Step 7/8 : COPY . . [2021-01-19T02:45:00.008Z] ---> 420e7fc31ca4 [2021-01-19T02:45:00.008Z] Step 8/8 : RUN go mod download [2021-01-19T02:45:00.008Z] ---> Running in 2c3d39c69c27 [2021-01-19T02:45:18.215Z] Removing intermediate container 2c3d39c69c27 [2021-01-19T02:45:18.215Z] ---> 731592a4d36a [2021-01-19T02:45:18.215Z] Successfully built 731592a4d36a [2021-01-19T02:45:18.215Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:45:18.533Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T02:45:18.533Z] . [Pipeline] withDockerContainer [2021-01-19T02:45:18.644Z] prd-centos7-docker-4c-2g-21053 does not seem to be running inside a container [2021-01-19T02:45:18.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T02:45:19.433Z] $ docker top 38df4d69a676d53e7779c8036c2bcbfa3eebc81b1005d3724b9093db91fd68b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:45:20.060Z] + go version [2021-01-19T02:45:20.060Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T02:45:20.075Z] $ docker stop --time=1 38df4d69a676d53e7779c8036c2bcbfa3eebc81b1005d3724b9093db91fd68b7 [2021-01-19T02:45:21.759Z] $ docker rm -f 38df4d69a676d53e7779c8036c2bcbfa3eebc81b1005d3724b9093db91fd68b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:45:22.667Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T02:45:22.667Z] . [Pipeline] withDockerContainer [2021-01-19T02:45:22.787Z] prd-centos7-docker-4c-2g-21053 does not seem to be running inside a container [2021-01-19T02:45:22.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T02:45:23.621Z] $ docker top eb0055ba728ef06efa227fb473b076f75f01921ac0761c834345fcc1ce1e8f15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:45:24.123Z] + make test [2021-01-19T02:45:24.123Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T02:45:30.783Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T02:45:49.062Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T02:45:49.062Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T02:45:49.062Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T02:45:49.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 19.4% of statements [2021-01-19T02:45:49.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.457s coverage: 97.1% of statements [2021-01-19T02:46:17.271Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21057 in /w/workspace/dgexfoundry_device-sdk-go_PR-734 [Pipeline] { [Pipeline] ws [2021-01-19T02:46:17.324Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-19T02:46:21.245Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.053s coverage: 9.4% of statements [2021-01-19T02:46:21.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T02:46:21.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.212s coverage: 42.9% of statements [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T02:46:21.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.300s coverage: 68.9% of statements [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T02:46:21.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 53.8% of statements [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T02:46:21.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.078s coverage: 25.6% of statements [2021-01-19T02:46:21.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.028s coverage: 68.9% of statements [2021-01-19T02:46:21.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-19T02:46:21.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T02:46:21.246Z] GO111MODULE=on go vet ./... [2021-01-19T02:46:22.630Z] using credential edgex-jenkins-ssh [2021-01-19T02:46:22.701Z] Cloning the remote Git repository [2021-01-19T02:46:22.759Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:46:22.885Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-19T02:46:22.960Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:46:22.962Z] > git --version # timeout=10 [2021-01-19T02:46:22.981Z] > git --version # 'git version 2.17.1' [2021-01-19T02:46:22.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:46:23.123Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:46:24.823Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 381b9d61912d7ab842f409859564ba10d5e6c264 [2021-01-19T02:46:24.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:46:24.223Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:46:24.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:46:24.292Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:46:24.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:46:24.305Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/734/head:refs/remotes/origin/PR-734 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T02:46:24.842Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:46:24.857Z] > git checkout -f 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 [2021-01-19T02:46:25.242Z] Merge succeeded, producing b5b2e1507b597fa57bf45b42fcce7ba44518d963 [2021-01-19T02:46:25.242Z] Checking out Revision b5b2e1507b597fa57bf45b42fcce7ba44518d963 (PR-734) [2021-01-19T02:46:24.981Z] > git remote # timeout=10 [2021-01-19T02:46:25.000Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T02:46:25.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:46:25.073Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-19T02:46:25.211Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T02:46:25.255Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:46:25.330Z] > git checkout -f b5b2e1507b597fa57bf45b42fcce7ba44518d963 # timeout=10 [2021-01-19T02:46:29.509Z] gofmt -l . [2021-01-19T02:46:29.509Z] [ "`gofmt -l .`" = "" ] [2021-01-19T02:46:29.509Z] ./bin/test-attribution-txt.sh [2021-01-19T02:46:29.509Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T02:46:29.527Z] $ docker stop --time=1 eb0055ba728ef06efa227fb473b076f75f01921ac0761c834345fcc1ce1e8f15 [2021-01-19T02:46:29.752Z] Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" [2021-01-19T02:46:29.765Z] > git rev-list --no-walk 381b9d61912d7ab842f409859564ba10d5e6c264 # timeout=10 [2021-01-19T02:46:31.534Z] $ docker rm -f eb0055ba728ef06efa227fb473b076f75f01921ac0761c834345fcc1ce1e8f15 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-19T02:46:32.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:46:32.590Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-19T02:46:33.285Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2021-01-19T02:46:34.293Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:46:34.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T02:46:34.640Z] + true [2021-01-19T02:46:34.640Z] + sudo service docker restart [2021-01-19T02:46:34.704Z] + ls -al . [2021-01-19T02:46:34.705Z] total 224 [2021-01-19T02:46:34.705Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 02:46 . [2021-01-19T02:46:34.705Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 02:44 .. [2021-01-19T02:46:34.705Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 02:44 bin [2021-01-19T02:46:34.705Z] -rw-r--r--. 1 jenkins jenkins 144063 Jan 19 02:46 coverage.out [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 02:44 Dockerfile.build [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 02:44 .dockerignore [2021-01-19T02:46:34.705Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 02:44 example [2021-01-19T02:46:34.705Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 02:44 .git [2021-01-19T02:46:34.705Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 02:44 .github [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 02:44 .gitignore [2021-01-19T02:46:34.705Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 19 02:46 go.mod [2021-01-19T02:46:34.705Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 19 02:46 go.sum [2021-01-19T02:46:34.705Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 02:44 internal [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 02:44 Jenkinsfile [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 02:44 LICENSE [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 02:44 Makefile [2021-01-19T02:46:34.705Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 02:44 openapi [2021-01-19T02:46:34.705Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 02:44 pkg [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 02:44 README.md [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 02:44 RELEASE-NOTES.txt [2021-01-19T02:46:34.705Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 02:44 snap [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 02:43 VERSION [2021-01-19T02:46:34.705Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:46:35.016Z] + 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=7d742fce70d723d48d67fa79c5739c0e6426799b --label arch=amd64 --label version=0.0.0 . [2021-01-19T02:46:35.280Z] Sending build context to Docker daemon 2.666MB [2021-01-19T02:46:35.280Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:46:35.280Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T02:46:35.280Z] ---> 731592a4d36a [2021-01-19T02:46:35.280Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T02:46:35.859Z] ---> Running in 98a3caaf296a [2021-01-19T02:46:36.125Z] Removing intermediate container 98a3caaf296a [2021-01-19T02:46:36.125Z] ---> 14b30dc2e3e9 [2021-01-19T02:46:36.125Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T02:46:36.125Z] ---> Running in 93e2ce7d0d66 [2021-01-19T02:46:36.389Z] Removing intermediate container 93e2ce7d0d66 [2021-01-19T02:46:36.389Z] ---> 372ae2b081c9 [2021-01-19T02:46:36.389Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:46:36.389Z] ---> Running in f9d7554ad35e [2021-01-19T02:46:36.651Z] Removing intermediate container f9d7554ad35e [2021-01-19T02:46:36.651Z] ---> a328d913c5b9 [2021-01-19T02:46:36.651Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:46:36.651Z] ---> Running in 561b9631234f [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:46:37.345Z] provisioning config files... [2021-01-19T02:46:37.388Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7749174593087710436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:46:37.606Z] Removing intermediate container 561b9631234f [2021-01-19T02:46:37.606Z] ---> 047188d8e9b2 [2021-01-19T02:46:37.606Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T02:46:37.606Z] ---> Running in f0e894b02ef7 [2021-01-19T02:46:37.801Z] ---> docker-login.sh [2021-01-19T02:46:37.801Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:46:38.188Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T02:46:38.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T02:46:38.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:39.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:39.390Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:39.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:39.390Z] [2021-01-19T02:46:39.390Z] Login Succeeded [2021-01-19T02:46:39.390Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:46:39.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:39.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:39.666Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:39.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:39.666Z] [2021-01-19T02:46:39.717Z] OK: 166 MiB in 39 packages [2021-01-19T02:46:39.939Z] Login Succeeded [2021-01-19T02:46:39.939Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:46:39.983Z] Removing intermediate container f0e894b02ef7 [2021-01-19T02:46:39.984Z] ---> f36330a4a652 [2021-01-19T02:46:39.984Z] Step 8/24 : COPY . . [2021-01-19T02:46:40.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:40.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:40.487Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:40.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:40.487Z] [2021-01-19T02:46:40.487Z] Login Succeeded [2021-01-19T02:46:40.487Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:46:40.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:40.934Z] ---> 45b00e54c421 [2021-01-19T02:46:40.934Z] Step 9/24 : RUN ${MAKE} [2021-01-19T02:46:41.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:41.041Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:41.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:41.041Z] [2021-01-19T02:46:41.041Z] Login Succeeded [2021-01-19T02:46:41.041Z] docker.io [2021-01-19T02:46:41.201Z] ---> Running in beee9a1f19ae [2021-01-19T02:46:41.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:46:41.787Z] 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-19T02:46:41.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:46:41.913Z] Configure a credential helper to remove this warning. See [2021-01-19T02:46:41.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:46:41.913Z] [2021-01-19T02:46:41.913Z] Login Succeeded [2021-01-19T02:46:41.913Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:46:41.938Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T02:46:42.398Z] ========================================================= [2021-01-19T02:46:42.398Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T02:46:42.398Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:46:42.785Z] + 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-19T02:46:43.068Z] Sending build context to Docker daemon 2.519MB [2021-01-19T02:46:43.350Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:46:43.350Z] Step 2/8 : FROM ${BASE} [2021-01-19T02:46:43.350Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T02:46:43.350Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T02:46:43.350Z] a4357932f1b6: Pulling fs layer [2021-01-19T02:46:43.350Z] 18c013af1878: Pulling fs layer [2021-01-19T02:46:43.350Z] 00ac8860ef70: Pulling fs layer [2021-01-19T02:46:43.350Z] 63d7cb157983: Pulling fs layer [2021-01-19T02:46:43.350Z] b116817d02f9: Pulling fs layer [2021-01-19T02:46:43.350Z] 745a02a5169b: Pulling fs layer [2021-01-19T02:46:43.350Z] 63d7cb157983: Waiting [2021-01-19T02:46:43.350Z] 00ac8860ef70: Waiting [2021-01-19T02:46:43.350Z] b116817d02f9: Waiting [2021-01-19T02:46:43.350Z] 745a02a5169b: Waiting [2021-01-19T02:46:43.350Z] 18c013af1878: Verifying Checksum [2021-01-19T02:46:43.350Z] 18c013af1878: Download complete [2021-01-19T02:46:43.350Z] a4357932f1b6: Download complete [2021-01-19T02:46:43.350Z] 63d7cb157983: Verifying Checksum [2021-01-19T02:46:43.350Z] 63d7cb157983: Download complete [2021-01-19T02:46:43.623Z] b116817d02f9: Download complete [2021-01-19T02:46:43.623Z] 5f621e34cdf4: Download complete [2021-01-19T02:46:44.232Z] 5f621e34cdf4: Pull complete [2021-01-19T02:46:44.843Z] a4357932f1b6: Pull complete [2021-01-19T02:46:45.117Z] 18c013af1878: Pull complete [2021-01-19T02:46:46.570Z] 745a02a5169b: Verifying Checksum [2021-01-19T02:46:46.570Z] 745a02a5169b: Download complete [2021-01-19T02:46:48.545Z] 00ac8860ef70: Verifying Checksum [2021-01-19T02:46:48.545Z] 00ac8860ef70: Download complete [2021-01-19T02:46:50.042Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T02:46:52.623Z] Removing intermediate container beee9a1f19ae [2021-01-19T02:46:52.623Z] ---> a270a1477d7d [2021-01-19T02:46:52.623Z] Step 10/24 : FROM scratch [2021-01-19T02:46:52.623Z] ---> [2021-01-19T02:46:52.623Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:46:52.623Z] ---> Running in 4a0fab2202ed [2021-01-19T02:46:52.887Z] Removing intermediate container 4a0fab2202ed [2021-01-19T02:46:52.887Z] ---> e94ec9b8dcf7 [2021-01-19T02:46:52.887Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T02:46:52.887Z] ---> Running in 5884ac576e8d [2021-01-19T02:46:53.151Z] Removing intermediate container 5884ac576e8d [2021-01-19T02:46:53.151Z] ---> 4b42994d033d [2021-01-19T02:46:53.151Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T02:46:53.151Z] ---> Running in 353038e70e00 [2021-01-19T02:46:53.151Z] Removing intermediate container 353038e70e00 [2021-01-19T02:46:53.151Z] ---> f42c24914596 [2021-01-19T02:46:53.151Z] Step 14/24 : WORKDIR / [2021-01-19T02:46:53.413Z] ---> Running in 129d070a41a3 [2021-01-19T02:46:53.413Z] Removing intermediate container 129d070a41a3 [2021-01-19T02:46:53.413Z] ---> c1203d258662 [2021-01-19T02:46:53.413Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T02:46:53.995Z] ---> 8d26e0db084f [2021-01-19T02:46:53.995Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T02:46:54.258Z] ---> 5c55183880a9 [2021-01-19T02:46:54.258Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T02:46:54.520Z] ---> ccc3e5440f06 [2021-01-19T02:46:54.520Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T02:46:54.782Z] ---> 9999b0f94173 [2021-01-19T02:46:54.782Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T02:46:55.047Z] ---> 85384883036d [2021-01-19T02:46:55.047Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T02:46:55.047Z] ---> Running in 19bfbd56c2e5 [2021-01-19T02:46:55.312Z] Removing intermediate container 19bfbd56c2e5 [2021-01-19T02:46:55.312Z] ---> 5ed2a15be63b [2021-01-19T02:46:55.312Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T02:46:55.312Z] ---> Running in 917006ada751 [2021-01-19T02:46:55.574Z] Removing intermediate container 917006ada751 [2021-01-19T02:46:55.574Z] ---> 9994e6ca8810 [2021-01-19T02:46:55.574Z] Step 22/24 : LABEL arch=amd64 [2021-01-19T02:46:55.574Z] ---> Running in 9d0f9565d16c [2021-01-19T02:46:55.574Z] Removing intermediate container 9d0f9565d16c [2021-01-19T02:46:55.574Z] ---> 08da389b89f1 [2021-01-19T02:46:55.574Z] Step 23/24 : LABEL git_sha=7d742fce70d723d48d67fa79c5739c0e6426799b [2021-01-19T02:46:55.837Z] ---> Running in a4e3097e25a2 [2021-01-19T02:46:55.837Z] Removing intermediate container a4e3097e25a2 [2021-01-19T02:46:55.837Z] ---> 090729ba80ae [2021-01-19T02:46:55.837Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T02:46:55.837Z] ---> Running in 728f0a636886 [2021-01-19T02:46:56.099Z] Removing intermediate container 728f0a636886 [2021-01-19T02:46:56.099Z] ---> 02c25aed2d7b [2021-01-19T02:46:56.099Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T02:46:56.099Z] Successfully built 02c25aed2d7b [2021-01-19T02:46:56.099Z] 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] } [2021-01-19T02:46:56.821Z] 00ac8860ef70: Pull complete [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-19T02:46:57.421Z] 63d7cb157983: Pull complete [2021-01-19T02:46:57.742Z] b116817d02f9: Pull complete [2021-01-19T02:47:02.079Z] 745a02a5169b: Pull complete [2021-01-19T02:47:02.079Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T02:47:02.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T02:47:02.079Z] ---> b7e6874047d6 [2021-01-19T02:47:02.079Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:47:04.716Z] ---> Running in 971ed3faef5d [2021-01-19T02:47:05.319Z] Removing intermediate container 971ed3faef5d [2021-01-19T02:47:05.319Z] ---> 0105b195f813 [2021-01-19T02:47:05.319Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:47:05.319Z] ---> Running in bd73e11c5980 [2021-01-19T02:47:07.955Z] Removing intermediate container bd73e11c5980 [2021-01-19T02:47:07.955Z] ---> 9c964d6ea798 [2021-01-19T02:47:07.955Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T02:47:07.955Z] ---> Running in c61d946a0752 [2021-01-19T02:47:08.949Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T02:47:09.926Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T02:47:10.525Z] OK: 142 MiB in 39 packages [2021-01-19T02:47:11.974Z] Removing intermediate container c61d946a0752 [2021-01-19T02:47:11.974Z] ---> e0327d4e86d9 [2021-01-19T02:47:11.974Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T02:47:11.974Z] ---> Running in 6173eacee7a2 [2021-01-19T02:47:12.572Z] Removing intermediate container 6173eacee7a2 [2021-01-19T02:47:12.572Z] ---> 382e7c3da5fb [2021-01-19T02:47:12.572Z] Step 7/8 : COPY . . [2021-01-19T02:47:14.013Z] ---> 4bac96eabb57 [2021-01-19T02:47:14.013Z] Step 8/8 : RUN go mod download [2021-01-19T02:47:14.013Z] ---> Running in be00c3dc9548 [2021-01-19T02:47:40.861Z] Removing intermediate container be00c3dc9548 [2021-01-19T02:47:40.861Z] ---> b5366c5f79b3 [2021-01-19T02:47:40.861Z] Successfully built b5366c5f79b3 [2021-01-19T02:47:40.861Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:47:41.212Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T02:47:41.212Z] . [Pipeline] withDockerContainer [2021-01-19T02:47:41.500Z] prd-ubuntu18.04-docker-arm64-4c-16g-21057 does not seem to be running inside a container [2021-01-19T02:47:41.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T02:47:43.188Z] $ docker top 8268f884a6ed93a04c054e12c5d1d5d4f8627dd8ff442b53d6a556d021a80bc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:47:44.216Z] + go version [2021-01-19T02:47:44.216Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T02:47:44.248Z] $ docker stop --time=1 8268f884a6ed93a04c054e12c5d1d5d4f8627dd8ff442b53d6a556d021a80bc5 [2021-01-19T02:47:46.270Z] $ docker rm -f 8268f884a6ed93a04c054e12c5d1d5d4f8627dd8ff442b53d6a556d021a80bc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:47:47.519Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T02:47:47.519Z] . [Pipeline] withDockerContainer [2021-01-19T02:47:47.795Z] prd-ubuntu18.04-docker-arm64-4c-16g-21057 does not seem to be running inside a container [2021-01-19T02:47:47.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T02:47:49.497Z] $ docker top a901344028273f177c5582c12c9fb2886eb7f2bfe854e1becaf089e2ee475c3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:47:50.517Z] + make test [2021-01-19T02:47:50.517Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T02:48:17.374Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T02:49:04.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T02:49:04.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T02:49:04.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T02:49:04.437Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 19.4% of statements [2021-01-19T02:49:05.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.386s coverage: 97.1% of statements [2021-01-19T02:49:32.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.142s coverage: 9.4% of statements [2021-01-19T02:49:32.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.125s coverage: 21.7% of statements [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T02:49:32.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.693s coverage: 42.9% of statements [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T02:49:32.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.849s coverage: 68.9% of statements [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T02:49:32.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.247s coverage: 53.8% of statements [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T02:49:32.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.223s coverage: 25.6% of statements [2021-01-19T02:49:32.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.303s coverage: 68.9% of statements [2021-01-19T02:49:32.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.155s coverage: 4.2% of statements [2021-01-19T02:49:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T02:49:32.655Z] GO111MODULE=on go vet ./... [2021-01-19T02:50:11.841Z] gofmt -l . [2021-01-19T02:50:11.841Z] [ "`gofmt -l .`" = "" ] [2021-01-19T02:50:11.841Z] ./bin/test-attribution-txt.sh [2021-01-19T02:50:12.485Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T02:50:13.149Z] $ docker stop --time=1 a901344028273f177c5582c12c9fb2886eb7f2bfe854e1becaf089e2ee475c3c [2021-01-19T02:50:15.395Z] $ docker rm -f a901344028273f177c5582c12c9fb2886eb7f2bfe854e1becaf089e2ee475c3c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:50:16.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T02:50:16.632Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T02:50:17.542Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:50:18.206Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T02:50:18.548Z] + ls -al . [2021-01-19T02:50:18.548Z] total 260 [2021-01-19T02:50:18.548Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:50 . [2021-01-19T02:50:18.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:46 .. [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:46 .dockerignore [2021-01-19T02:50:18.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:46 .git [2021-01-19T02:50:18.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:46 .github [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 02:46 .gitignore [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 02:46 Dockerfile.build [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 02:46 Jenkinsfile [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 02:46 LICENSE [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 02:46 Makefile [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 02:46 README.md [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 02:46 RELEASE-NOTES.txt [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:43 VERSION [2021-01-19T02:50:18.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:46 bin [2021-01-19T02:50:18.548Z] -rw-r--r-- 1 jenkins jenkins 144063 Jan 19 02:49 coverage.out [2021-01-19T02:50:18.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:46 example [2021-01-19T02:50:18.548Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 19 02:50 go.mod [2021-01-19T02:50:18.548Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 19 02:50 go.sum [2021-01-19T02:50:18.548Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 02:46 internal [2021-01-19T02:50:18.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:46 openapi [2021-01-19T02:50:18.548Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 02:46 pkg [2021-01-19T02:50:18.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:46 snap [2021-01-19T02:50:18.548Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:50:18.936Z] + 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=7d742fce70d723d48d67fa79c5739c0e6426799b --label arch=arm64 --label version=0.0.0 . [2021-01-19T02:50:19.544Z] Sending build context to Docker daemon 2.664MB [2021-01-19T02:50:19.544Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:50:19.544Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T02:50:19.544Z] ---> b5366c5f79b3 [2021-01-19T02:50:19.544Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T02:50:19.829Z] ---> Running in 0da671656083 [2021-01-19T02:50:20.437Z] Removing intermediate container 0da671656083 [2021-01-19T02:50:20.437Z] ---> 77cce4a0a5c4 [2021-01-19T02:50:20.437Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T02:50:20.437Z] ---> Running in 23d042bc4deb [2021-01-19T02:50:21.038Z] Removing intermediate container 23d042bc4deb [2021-01-19T02:50:21.038Z] ---> 0e7588ac0647 [2021-01-19T02:50:21.038Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:50:21.038Z] ---> Running in 387508e0ed36 [2021-01-19T02:50:21.645Z] Removing intermediate container 387508e0ed36 [2021-01-19T02:50:21.645Z] ---> e80769824712 [2021-01-19T02:50:21.645Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:50:21.645Z] ---> Running in 7a5f5908f49f [2021-01-19T02:50:23.710Z] Removing intermediate container 7a5f5908f49f [2021-01-19T02:50:23.710Z] ---> b7a84aa3eb72 [2021-01-19T02:50:23.710Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T02:50:23.989Z] ---> Running in 4af5c4da79da [2021-01-19T02:50:24.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T02:50:25.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T02:50:26.547Z] OK: 142 MiB in 39 packages [2021-01-19T02:50:27.523Z] Removing intermediate container 4af5c4da79da [2021-01-19T02:50:27.523Z] ---> cd319f56f5fa [2021-01-19T02:50:27.523Z] Step 8/24 : COPY . . [2021-01-19T02:50:28.956Z] ---> 5bd968c2cd7b [2021-01-19T02:50:28.956Z] Step 9/24 : RUN ${MAKE} [2021-01-19T02:50:29.240Z] ---> Running in 8ed4e9fc6dfa [2021-01-19T02:50:30.238Z] 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-19T02:51:02.634Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T02:51:02.634Z] Removing intermediate container 8ed4e9fc6dfa [2021-01-19T02:51:02.634Z] ---> df762925ac60 [2021-01-19T02:51:02.634Z] Step 10/24 : FROM scratch [2021-01-19T02:51:02.634Z] ---> [2021-01-19T02:51:02.634Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:51:02.634Z] ---> Running in ccef959cf8e6 [2021-01-19T02:51:02.634Z] Removing intermediate container ccef959cf8e6 [2021-01-19T02:51:02.634Z] ---> 411520e60445 [2021-01-19T02:51:02.634Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T02:51:02.634Z] ---> Running in ba405cee12d7 [2021-01-19T02:51:02.634Z] Removing intermediate container ba405cee12d7 [2021-01-19T02:51:02.634Z] ---> 03bdf1691873 [2021-01-19T02:51:02.634Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T02:51:02.634Z] ---> Running in 3b4c24f27f91 [2021-01-19T02:51:02.634Z] Removing intermediate container 3b4c24f27f91 [2021-01-19T02:51:02.634Z] ---> 1cdd668e3c3c [2021-01-19T02:51:02.634Z] Step 14/24 : WORKDIR / [2021-01-19T02:51:02.634Z] ---> Running in 952dafe8ce6e [2021-01-19T02:51:02.908Z] Removing intermediate container 952dafe8ce6e [2021-01-19T02:51:02.908Z] ---> 10eb8b21a1f0 [2021-01-19T02:51:02.908Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T02:51:04.372Z] ---> 016f3702450b [2021-01-19T02:51:04.372Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T02:51:04.969Z] ---> 510b458cde02 [2021-01-19T02:51:04.969Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T02:51:05.568Z] ---> 0977faf79cc5 [2021-01-19T02:51:05.568Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T02:51:06.550Z] ---> 82cef7512e1f [2021-01-19T02:51:06.550Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T02:51:07.149Z] ---> 1ea6214d8383 [2021-01-19T02:51:07.149Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T02:51:07.149Z] ---> Running in 77f3a42ce348 [2021-01-19T02:51:07.748Z] Removing intermediate container 77f3a42ce348 [2021-01-19T02:51:07.748Z] ---> 30611cbfd773 [2021-01-19T02:51:07.748Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T02:51:07.748Z] ---> Running in 8eff4c94aaf2 [2021-01-19T02:51:08.343Z] Removing intermediate container 8eff4c94aaf2 [2021-01-19T02:51:08.343Z] ---> 75884a2582df [2021-01-19T02:51:08.343Z] Step 22/24 : LABEL arch=arm64 [2021-01-19T02:51:08.343Z] ---> Running in 7901cbf155bd [2021-01-19T02:51:08.945Z] Removing intermediate container 7901cbf155bd [2021-01-19T02:51:08.945Z] ---> 6bb3c9d5f3f4 [2021-01-19T02:51:08.945Z] Step 23/24 : LABEL git_sha=7d742fce70d723d48d67fa79c5739c0e6426799b [2021-01-19T02:51:08.945Z] ---> Running in 10af730a3ba4 [2021-01-19T02:51:09.542Z] Removing intermediate container 10af730a3ba4 [2021-01-19T02:51:09.542Z] ---> 1803d6689a17 [2021-01-19T02:51:09.542Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T02:51:09.814Z] ---> Running in ed506046a91b [2021-01-19T02:51:10.085Z] Removing intermediate container ed506046a91b [2021-01-19T02:51:10.085Z] ---> 130f4121f422 [2021-01-19T02:51:10.085Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T02:51:10.085Z] Successfully built 130f4121f422 [2021-01-19T02:51:10.356Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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-19T02:51:11.978Z] provisioning config files... [2021-01-19T02:51:11.996Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/config3318263467946896834tmp [Pipeline] { [Pipeline] sh [2021-01-19T02:51:12.416Z] + set +x [2021-01-19T02:51:12.417Z] + curl -s https://codecov.io/bash [2021-01-19T02:51:12.417Z] + bash -s -- [2021-01-19T02:51:12.685Z] [2021-01-19T02:51:12.685Z] _____ _ [2021-01-19T02:51:12.685Z] / ____| | | [2021-01-19T02:51:12.685Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T02:51:12.685Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T02:51:12.685Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T02:51:12.685Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T02:51:12.685Z] Bash-20210115-cec3c92 [2021-01-19T02:51:12.685Z] [2021-01-19T02:51:12.685Z] [2021-01-19T02:51:12.685Z] ==> git version 2.24.3 found [2021-01-19T02:51:12.685Z] ==> 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-19T02:51:12.685Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T02:51:12.685Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T02:51:12.685Z] ==> Jenkins CI detected. [2021-01-19T02:51:12.685Z] project root: . [2021-01-19T02:51:12.685Z] --> token set from env [2021-01-19T02:51:12.685Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T02:51:12.685Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T02:51:12.685Z] ==> Python coveragepy not found [2021-01-19T02:51:12.685Z] ==> Searching for coverage reports in: [2021-01-19T02:51:12.685Z] + . [2021-01-19T02:51:12.685Z] -> Found 1 reports [2021-01-19T02:51:12.685Z] ==> Detecting git/mercurial file structure [2021-01-19T02:51:12.685Z] ==> Reading reports [2021-01-19T02:51:12.685Z] + ./coverage.out bytes=144063 [2021-01-19T02:51:12.685Z] ==> Appending adjustments [2021-01-19T02:51:12.685Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T02:51:13.268Z] + Found adjustments [2021-01-19T02:51:13.268Z] ==> Gzipping contents [2021-01-19T02:51:13.268Z] 24K /tmp/codecov.0kfHjn.gz [2021-01-19T02:51:13.268Z] ==> Uploading reports [2021-01-19T02:51:13.268Z] url: https://codecov.io [2021-01-19T02:51:13.268Z] query: branch=PR-734&commit=7d742fce70d723d48d67fa79c5739c0e6426799b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-734%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=734&job=&cmd_args= [2021-01-19T02:51:13.268Z] -> Pinging Codecov [2021-01-19T02:51:13.268Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-734&commit=7d742fce70d723d48d67fa79c5739c0e6426799b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-734%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=734&job=&cmd_args= [2021-01-19T02:51:13.844Z] -> Uploading to [2021-01-19T02:51:13.844Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/7d742fce70d723d48d67fa79c5739c0e6426799b/c8f395bf-724a-46fa-9f57-ab53dd9472eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T025113Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=089fbae103787f532102165aa9bc393c14121959494bb0138db18244ba4cb101 [2021-01-19T02:51:13.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T02:51:13.844Z] Dload Upload Total Spent Left Speed [2021-01-19T02:51:14.107Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22332 0 0 100 22332 0 50164 --:--:-- --:--:-- --:--:-- 50184 [2021-01-19T02:51:14.107Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7d742fce70d723d48d67fa79c5739c0e6426799b [Pipeline] } [2021-01-19T02:51:14.118Z] 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-19T02:51:16.547Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:17.117Z] ---> package-listing.sh [2021-01-19T02:51:17.117Z] ++ facter osfamily [2021-01-19T02:51:17.117Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T02:51:17.117Z] + OS_FAMILY=redhat [2021-01-19T02:51:17.117Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-734 [2021-01-19T02:51:17.117Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T02:51:17.117Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T02:51:17.117Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T02:51:17.117Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T02:51:17.117Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-734 ']' [2021-01-19T02:51:17.117Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T02:51:17.117Z] + case "${OS_FAMILY}" in [2021-01-19T02:51:17.117Z] + rpm -qa [2021-01-19T02:51:17.117Z] + sort [2021-01-19T02:51:22.436Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T02:51:22.436Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T02:51:22.436Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T02:51:22.436Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-734 ']' [2021-01-19T02:51:22.436Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-734/archives/ [2021-01-19T02:51:22.436Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-734/archives/ [Pipeline] echo [2021-01-19T02:51:22.451Z] 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-734/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-19T02:51:22.765Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:51:23.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:51:23.079Z] [2021-01-19T02:51:23.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:51:23.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:51:23.435Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T02:51:23.435Z] df20fa9351a1: Pulling fs layer [2021-01-19T02:51:23.435Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T02:51:23.435Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T02:51:23.436Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T02:51:23.436Z] 93b61091891f: Pulling fs layer [2021-01-19T02:51:23.436Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T02:51:23.436Z] 5e14af77c1be: Pulling fs layer [2021-01-19T02:51:23.436Z] 01666e4c0597: Pulling fs layer [2021-01-19T02:51:23.436Z] aa168da1d23b: Pulling fs layer [2021-01-19T02:51:23.436Z] 46f8f816bc3b: Waiting [2021-01-19T02:51:23.436Z] 93b61091891f: Waiting [2021-01-19T02:51:23.436Z] 93b9cdb0e59b: Waiting [2021-01-19T02:51:23.436Z] 5e14af77c1be: Waiting [2021-01-19T02:51:23.436Z] 01666e4c0597: Waiting [2021-01-19T02:51:23.436Z] aa168da1d23b: Waiting [2021-01-19T02:51:23.436Z] 36b3adc4ff6f: Download complete [2021-01-19T02:51:23.436Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T02:51:23.436Z] 46f8f816bc3b: Download complete [2021-01-19T02:51:23.700Z] df20fa9351a1: Verifying Checksum [2021-01-19T02:51:23.700Z] df20fa9351a1: Download complete [2021-01-19T02:51:23.700Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T02:51:23.700Z] 93b9cdb0e59b: Download complete [2021-01-19T02:51:23.700Z] 5e14af77c1be: Download complete [2021-01-19T02:51:23.700Z] 93b61091891f: Verifying Checksum [2021-01-19T02:51:23.700Z] 93b61091891f: Download complete [2021-01-19T02:51:23.700Z] 01666e4c0597: Verifying Checksum [2021-01-19T02:51:23.700Z] 01666e4c0597: Download complete [2021-01-19T02:51:23.700Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T02:51:23.700Z] 8ad3a11d3b57: Download complete [2021-01-19T02:51:23.967Z] df20fa9351a1: Pull complete [2021-01-19T02:51:24.232Z] 36b3adc4ff6f: Pull complete [2021-01-19T02:51:25.660Z] aa168da1d23b: Verifying Checksum [2021-01-19T02:51:25.660Z] aa168da1d23b: Download complete [2021-01-19T02:51:26.254Z] 8ad3a11d3b57: Pull complete [2021-01-19T02:51:26.254Z] 46f8f816bc3b: Pull complete [2021-01-19T02:51:26.842Z] 93b61091891f: Pull complete [2021-01-19T02:51:26.842Z] 93b9cdb0e59b: Pull complete [2021-01-19T02:51:26.842Z] 5e14af77c1be: Pull complete [2021-01-19T02:51:27.114Z] 01666e4c0597: Pull complete [2021-01-19T02:51:35.385Z] aa168da1d23b: Pull complete [2021-01-19T02:51:35.385Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T02:51:35.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:51:35.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T02:51:35.554Z] prd-centos7-docker-4c-2g-21047 does not seem to be running inside a container [2021-01-19T02:51:35.650Z] $ 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-734/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-734 -v /w/workspace/dgexfoundry_device-sdk-go_PR-734:/w/workspace/dgexfoundry_device-sdk-go_PR-734:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T02:51:38.997Z] $ docker top a0fce750422f1c4a0a096e07c0003cf900b50e7ba636d72571f234688b6540a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:51:39.513Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T02:51:39.817Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T02:51:40.129Z] + ls /var/log/sa-host [2021-01-19T02:51:40.129Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T02:51:40.129Z] file_magic: OK [2021-01-19T02:51:40.129Z] HZ: Using current value: 100 [2021-01-19T02:51:40.129Z] file_header: OK [2021-01-19T02:51:40.129Z] 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-19T02:51:40.129Z] Statistics: [2021-01-19T02:51:40.129Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T02:51:40.129Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T02:51:40.129Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T02:51:40.129Z] file_magic: OK [2021-01-19T02:51:40.129Z] HZ: Using current value: 100 [2021-01-19T02:51:40.129Z] file_header: OK [2021-01-19T02:51:40.129Z] 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-19T02:51:40.129Z] Statistics: [2021-01-19T02:51:40.129Z] Hnuu...uuuununununu... [2021-01-19T02:51:40.129Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T02:51:40.415Z] provisioning config files... [2021-01-19T02:51:40.432Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-734@tmp/config7249199078040798576tmp [Pipeline] { [Pipeline] echo [2021-01-19T02:51:40.504Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:40.805Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T02:51:40.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T02:51:40.926Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:41.232Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T02:51:41.243Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:41.542Z] ---> sudo-logs.sh [2021-01-19T02:51:41.542Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T02:51:41.554Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:41.852Z] ---> job-cost.sh [2021-01-19T02:51:41.852Z] lf-activate-venv: SKIPPING [2021-01-19T02:51:41.852Z] INFO: No Stack... [2021-01-19T02:51:42.800Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T02:51:43.377Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T02:51:43.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:51:43.690Z] ---> logs-deploy.sh [2021-01-19T02:51:43.690Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-734/4 [2021-01-19T02:51:43.690Z] INFO: archiving workspace using pattern(s): [2021-01-19T02:51:45.634Z] Archives upload complete. [2021-01-19T02:51:45.634Z] INFO: archiving logs to Nexus