Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 39f6424327cfa2a2c159b16b6df03d14786ff292+d47b03cf12e2f169eefdaad978a8d5668b399891 (575fb890eea77669d53bb0bbafc66b9653392a14) 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-21043 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [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-733 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 39f6424327cfa2a2c159b16b6df03d14786ff292 Merge succeeded, producing 446a2ee3888b4e20bf073e5449bfb97b9719054c Checking out Revision 446a2ee3888b4e20bf073e5449bfb97b9719054c (PR-733) > git config core.sparsecheckout # timeout=10 > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # 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 446a2ee3888b4e20bf073e5449bfb97b9719054c # timeout=10 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" > git rev-list --no-walk 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T02:41:40.578Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-19T02:41:40.901Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T02:41:41.029Z] ========================================================= [2021-01-19T02:41:41.029Z] EdgeX Global Pipelines Version Info [2021-01-19T02:41:41.029Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:41:42.516Z] ------------------- [2021-01-19T02:41:42.516Z] stable info: [2021-01-19T02:41:42.516Z] ------------------- [2021-01-19T02:41:42.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T02:41:42.516Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T02:41:42.516Z] Message: update stable to v1.0.177 [2021-01-19T02:41:43.464Z] ------------------- [2021-01-19T02:41:43.464Z] experimental info: [2021-01-19T02:41:43.464Z] ------------------- [2021-01-19T02:41:43.465Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T02:41:43.465Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T02:41:43.465Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T02:41:43.778Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-19T02:41:43.882Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-19T02:41:43.985Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T02:41:44.113Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T02:41:44.209Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T02:41:44.299Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T02:41:44.389Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T02:41:44.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T02:41:44.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-19T02:41:44.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T02:41:44.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T02:41:44.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-19T02:41:44.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T02:41:45.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T02:41:45.197Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-19T02:41:45.286Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:41:45.395Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:41:45.507Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T02:41:45.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-19T02:41:45.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T02:41:45.798Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-19T02:41:45.884Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-19T02:41:45.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T02:41:46.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T02:41:46.186Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-19T02:41:46.528Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T02:41:46.642Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T02:41:46.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-733 [Pipeline] echo [2021-01-19T02:41:46.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-733 [Pipeline] echo [2021-01-19T02:41:46.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-733 [Pipeline] echo [2021-01-19T02:41:47.062Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 446a2ee3888b4e20bf073e5449bfb97b9719054c [Pipeline] echo [2021-01-19T02:41:47.173Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 446a2ee [Pipeline] echo [2021-01-19T02:41:47.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:41:47.455Z] provisioning config files... [2021-01-19T02:41:47.482Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config5822705830710843748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:41:47.843Z] ---> docker-login.sh [2021-01-19T02:41:47.843Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:41:47.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:41:48.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:41:48.106Z] Configure a credential helper to remove this warning. See [2021-01-19T02:41:48.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:41:48.106Z] [2021-01-19T02:41:48.106Z] Login Succeeded [2021-01-19T02:41:48.106Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:41:48.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:41:48.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:41:48.370Z] Configure a credential helper to remove this warning. See [2021-01-19T02:41:48.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:41:48.370Z] [2021-01-19T02:41:48.370Z] Login Succeeded [2021-01-19T02:41:48.370Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:41:48.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:41:48.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:41:48.633Z] Configure a credential helper to remove this warning. See [2021-01-19T02:41:48.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:41:48.633Z] [2021-01-19T02:41:48.633Z] Login Succeeded [2021-01-19T02:41:48.633Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:41:48.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:41:48.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:41:48.633Z] Configure a credential helper to remove this warning. See [2021-01-19T02:41:48.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:41:48.633Z] [2021-01-19T02:41:48.633Z] Login Succeeded [2021-01-19T02:41:48.633Z] docker.io [2021-01-19T02:41:48.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:41:48.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:41:48.897Z] Configure a credential helper to remove this warning. See [2021-01-19T02:41:48.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:41:48.897Z] [2021-01-19T02:41:48.897Z] Login Succeeded [2021-01-19T02:41:49.160Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:41:49.170Z] 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:41:50.015Z] + git log --format=format:%s -1 446a2ee3888b4e20bf073e5449bfb97b9719054c [Pipeline] echo [2021-01-19T02:41:50.080Z] GIT_COMMIT: 446a2ee3888b4e20bf073e5449bfb97b9719054c, Commit Message: Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD [Pipeline] echo [2021-01-19T02:41:50.125Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:41:51.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:41:51.177Z] [2021-01-19T02:41:51.177Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:41:51.526Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:41:51.526Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T02:41:51.526Z] 31603596830f: Pulling fs layer [2021-01-19T02:41:51.526Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T02:41:51.526Z] 6ca5941a6612: Pulling fs layer [2021-01-19T02:41:51.526Z] ecc8261a40a4: Pulling fs layer [2021-01-19T02:41:51.526Z] ecc8261a40a4: Waiting [2021-01-19T02:41:51.526Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T02:41:51.526Z] 2a8b12db71e7: Download complete [2021-01-19T02:41:51.788Z] 31603596830f: Verifying Checksum [2021-01-19T02:41:51.788Z] 31603596830f: Download complete [2021-01-19T02:41:51.788Z] ecc8261a40a4: Verifying Checksum [2021-01-19T02:41:51.788Z] ecc8261a40a4: Download complete [2021-01-19T02:41:51.788Z] 6ca5941a6612: Verifying Checksum [2021-01-19T02:41:51.788Z] 6ca5941a6612: Download complete [2021-01-19T02:41:52.052Z] 31603596830f: Pull complete [2021-01-19T02:41:52.052Z] 2a8b12db71e7: Pull complete [2021-01-19T02:41:52.631Z] 6ca5941a6612: Pull complete [2021-01-19T02:41:52.898Z] ecc8261a40a4: Pull complete [2021-01-19T02:41:52.898Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T02:41:52.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T02:41:52.898Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T02:41:53.006Z] prd-centos7-docker-4c-2g-21043 does not seem to be running inside a container [2021-01-19T02:41:53.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-733 -v /w/workspace/dgexfoundry_device-sdk-go_PR-733:/w/workspace/dgexfoundry_device-sdk-go_PR-733:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-733@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T02:41:54.877Z] $ docker top e9374e28da104e93e0e874c546bc26aeb49f6bc3080015739d4cd825d74b85fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T02:41:55.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T02:41:55.230Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T02:41:55.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T02:41:55.423Z] $ docker exec e9374e28da104e93e0e874c546bc26aeb49f6bc3080015739d4cd825d74b85fd ssh-agent [2021-01-19T02:41:55.573Z] SSH_AUTH_SOCK=/tmp/ssh-Qsx895qR4YSt/agent.11 [2021-01-19T02:41:55.573Z] SSH_AGENT_PID=16 [2021-01-19T02:41:55.584Z] Running ssh-add (command line suppressed) [2021-01-19T02:41:55.695Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_2179169793624546309.key (/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_2179169793624546309.key) [2021-01-19T02:41:55.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T02:41:56.072Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T02:41:56.091Z] $ docker exec --env ******** --env ******** e9374e28da104e93e0e874c546bc26aeb49f6bc3080015739d4cd825d74b85fd ssh-agent -k [2021-01-19T02:41:56.190Z] unset SSH_AUTH_SOCK; [2021-01-19T02:41:56.191Z] unset SSH_AGENT_PID; [2021-01-19T02:41:56.191Z] echo Agent pid 16 killed; [2021-01-19T02:41:56.236Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T02:41:56.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T02:41:56.383Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T02:41:56.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T02:41:56.537Z] $ docker exec e9374e28da104e93e0e874c546bc26aeb49f6bc3080015739d4cd825d74b85fd ssh-agent [2021-01-19T02:41:56.687Z] SSH_AUTH_SOCK=/tmp/ssh-v1gpmIkFejoD/agent.47 [2021-01-19T02:41:56.687Z] SSH_AGENT_PID=52 [2021-01-19T02:41:56.694Z] Running ssh-add (command line suppressed) [2021-01-19T02:41:56.800Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_164476773784181552.key (/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_164476773784181552.key) [2021-01-19T02:41:56.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T02:41:57.229Z] + git semver init [2021-01-19T02:41:57.229Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T02:41:57.229Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-733/.git [2021-01-19T02:41:57.229Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-733 [2021-01-19T02:41:57.229Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T02:41:57.229Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T02:41:57.229Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T02:41:57.229Z] # $SEMVER_BRANCH = PR-733 [2021-01-19T02:41:57.229Z] # $SEMVER_TEMP = /tmp/semver-517966154 [2021-01-19T02:41:57.229Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-19T02:41:57.804Z] # '/tmp/semver-517966154' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-733/.semver' [2021-01-19T02:41:57.804Z] # -> Force: false [2021-01-19T02:41:57.804Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-733/.semver [Pipeline] } [2021-01-19T02:41:57.816Z] $ docker exec --env ******** --env ******** e9374e28da104e93e0e874c546bc26aeb49f6bc3080015739d4cd825d74b85fd ssh-agent -k [2021-01-19T02:41:57.925Z] unset SSH_AUTH_SOCK; [2021-01-19T02:41:57.925Z] unset SSH_AGENT_PID; [2021-01-19T02:41:57.925Z] echo Agent pid 52 killed; [2021-01-19T02:41:57.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T02:41:58.440Z] + git semver [Pipeline] } [2021-01-19T02:41:58.460Z] $ docker stop --time=1 e9374e28da104e93e0e874c546bc26aeb49f6bc3080015739d4cd825d74b85fd [2021-01-19T02:41:59.832Z] $ docker rm -f e9374e28da104e93e0e874c546bc26aeb49f6bc3080015739d4cd825d74b85fd [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:42:00.313Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T02:42:00.775Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T02:42:00.778Z] [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:42:16.328Z] Still waiting to schedule task [2021-01-19T02:42:16.329Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-19T02:42:16.330Z] Still waiting to schedule task [2021-01-19T02:42:16.331Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-19T02:43:34.368Z] Running on prd-centos7-docker-4c-2g-21050 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [Pipeline] { [Pipeline] ws [2021-01-19T02:43:34.438Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-19T02:43:36.952Z] using credential edgex-jenkins-ssh [2021-01-19T02:43:37.015Z] Cloning the remote Git repository [2021-01-19T02:43:36.944Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:43:37.027Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-19T02:43:37.102Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:43:37.102Z] > git --version # timeout=10 [2021-01-19T02:43:37.115Z] > git --version # 'git version 2.24.3' [2021-01-19T02:43:37.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:43:37.162Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:43:38.371Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 39f6424327cfa2a2c159b16b6df03d14786ff292 [2021-01-19T02:43:38.498Z] Merge succeeded, producing a7b13dd5d8ec6d314af042279a436235d73323e8 [2021-01-19T02:43:38.499Z] Checking out Revision a7b13dd5d8ec6d314af042279a436235d73323e8 (PR-733) [2021-01-19T02:43:37.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:43:37.915Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:43:37.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:43:37.940Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:43:37.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:43:37.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T02:43:38.388Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:43:38.394Z] > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [2021-01-19T02:43:38.446Z] > git remote # timeout=10 [2021-01-19T02:43:38.451Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T02:43:38.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:43:38.461Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-19T02:43:38.499Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T02:43:38.509Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:43:38.514Z] > git checkout -f a7b13dd5d8ec6d314af042279a436235d73323e8 # timeout=10 [2021-01-19T02:43:42.203Z] Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" [2021-01-19T02:43:42.214Z] > git rev-list --no-walk 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:43:43.649Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:43:43.999Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:43:44.346Z] + sudo service docker restart [2021-01-19T02:43:44.346Z] + true [2021-01-19T02:43:44.346Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T02:43:46.345Z] provisioning config files... [2021-01-19T02:43:46.372Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5695833473376207243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:43:46.738Z] ---> docker-login.sh [2021-01-19T02:43:46.738Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:43:47.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.000Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.000Z] [2021-01-19T02:43:47.000Z] Login Succeeded [2021-01-19T02:43:47.000Z] nexus3.edgexfoundry.org:10002 [2021-01-19T02:43:47.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.266Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.266Z] [2021-01-19T02:43:47.266Z] Login Succeeded [2021-01-19T02:43:47.266Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:43:47.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.531Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.531Z] [2021-01-19T02:43:47.531Z] Login Succeeded [2021-01-19T02:43:47.531Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:43:47.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:47.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:47.792Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:47.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:47.792Z] [2021-01-19T02:43:47.792Z] Login Succeeded [2021-01-19T02:43:47.792Z] docker.io [2021-01-19T02:43:47.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:43:48.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:43:48.060Z] Configure a credential helper to remove this warning. See [2021-01-19T02:43:48.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:43:48.060Z] [2021-01-19T02:43:48.060Z] Login Succeeded [2021-01-19T02:43:48.060Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:43:48.071Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T02:43:48.565Z] ========================================================= [2021-01-19T02:43:48.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T02:43:48.565Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:43:48.906Z] + 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:43:48.906Z] Sending build context to Docker daemon 2.52MB [2021-01-19T02:43:48.906Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:43:48.906Z] Step 2/8 : FROM ${BASE} [2021-01-19T02:43:49.857Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T02:43:49.857Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T02:43:49.857Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T02:43:49.857Z] de9db76c5a1d: Pulling fs layer [2021-01-19T02:43:49.857Z] bca2f99d35d6: Pulling fs layer [2021-01-19T02:43:49.857Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T02:43:49.857Z] 7c6f9722023f: Pulling fs layer [2021-01-19T02:43:49.857Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T02:43:49.857Z] 93359f2a8cfa: Waiting [2021-01-19T02:43:49.857Z] 7c6f9722023f: Waiting [2021-01-19T02:43:49.857Z] bca2f99d35d6: Waiting [2021-01-19T02:43:49.857Z] a35cf1a2eb13: Waiting [2021-01-19T02:43:50.119Z] de9db76c5a1d: Verifying Checksum [2021-01-19T02:43:50.119Z] de9db76c5a1d: Download complete [2021-01-19T02:43:50.119Z] 0ef7d3d256c8: Verifying Checksum [2021-01-19T02:43:50.119Z] 0ef7d3d256c8: Download complete [2021-01-19T02:43:50.119Z] 93359f2a8cfa: Download complete [2021-01-19T02:43:50.119Z] 7c6f9722023f: Verifying Checksum [2021-01-19T02:43:50.119Z] 7c6f9722023f: Download complete [2021-01-19T02:43:50.119Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T02:43:50.119Z] 188c0c94c7c5: Download complete [2021-01-19T02:43:50.391Z] 188c0c94c7c5: Pull complete [2021-01-19T02:43:50.654Z] 0ef7d3d256c8: Pull complete [2021-01-19T02:43:50.654Z] de9db76c5a1d: Pull complete [2021-01-19T02:43:53.977Z] a35cf1a2eb13: Verifying Checksum [2021-01-19T02:43:53.977Z] a35cf1a2eb13: Download complete [2021-01-19T02:43:54.556Z] bca2f99d35d6: Verifying Checksum [2021-01-19T02:43:54.556Z] bca2f99d35d6: Download complete [2021-01-19T02:43:59.889Z] bca2f99d35d6: Pull complete [2021-01-19T02:43:59.889Z] 93359f2a8cfa: Pull complete [2021-01-19T02:43:59.889Z] 7c6f9722023f: Pull complete [2021-01-19T02:44:06.555Z] a35cf1a2eb13: Pull complete [2021-01-19T02:44:06.555Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T02:44:06.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T02:44:06.555Z] ---> a62c8e92a672 [2021-01-19T02:44:06.555Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:44:06.555Z] ---> Running in 225fefe20487 [2021-01-19T02:44:06.555Z] Removing intermediate container 225fefe20487 [2021-01-19T02:44:06.555Z] ---> 08832c270da3 [2021-01-19T02:44:06.555Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:44:06.555Z] ---> Running in c4be3c4d573c [2021-01-19T02:44:07.143Z] Removing intermediate container c4be3c4d573c [2021-01-19T02:44:07.143Z] ---> 2b095a0a646d [2021-01-19T02:44:07.143Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T02:44:07.405Z] ---> Running in 5c3ffcd9f13c [2021-01-19T02:44:08.354Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T02:44:08.931Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T02:44:09.511Z] OK: 166 MiB in 39 packages [2021-01-19T02:44:10.090Z] Removing intermediate container 5c3ffcd9f13c [2021-01-19T02:44:10.090Z] ---> ced25f888773 [2021-01-19T02:44:10.090Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T02:44:10.090Z] ---> Running in 977eed361496 [2021-01-19T02:44:10.090Z] Removing intermediate container 977eed361496 [2021-01-19T02:44:10.090Z] ---> 21ae2153c942 [2021-01-19T02:44:10.090Z] Step 7/8 : COPY . . [2021-01-19T02:44:11.492Z] ---> 94cb8a3c2986 [2021-01-19T02:44:11.492Z] Step 8/8 : RUN go mod download [2021-01-19T02:44:11.492Z] ---> Running in 20d12c60d3d7 [2021-01-19T02:44:12.164Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21048 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [Pipeline] { [Pipeline] ws [2021-01-19T02:44:12.224Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-19T02:44:17.804Z] using credential edgex-jenkins-ssh [2021-01-19T02:44:17.885Z] Cloning the remote Git repository [2021-01-19T02:44:17.962Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:18.095Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-19T02:44:18.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:18.176Z] > git --version # timeout=10 [2021-01-19T02:44:18.194Z] > git --version # 'git version 2.17.1' [2021-01-19T02:44:18.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:18.282Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:44:19.410Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:44:19.429Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T02:44:19.462Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T02:44:19.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T02:44:19.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:19.518Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T02:44:20.074Z] Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit 39f6424327cfa2a2c159b16b6df03d14786ff292 [2021-01-19T02:44:20.515Z] Merge succeeded, producing bcae9e7af50f400e514ab3fc6046052a77d78c5f [2021-01-19T02:44:20.515Z] Checking out Revision bcae9e7af50f400e514ab3fc6046052a77d78c5f (PR-733) [2021-01-19T02:44:20.102Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:44:20.145Z] > git checkout -f 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [2021-01-19T02:44:20.326Z] > git remote # timeout=10 [2021-01-19T02:44:20.355Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T02:44:20.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T02:44:20.405Z] > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-19T02:44:20.507Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T02:44:20.529Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T02:44:20.548Z] > git checkout -f bcae9e7af50f400e514ab3fc6046052a77d78c5f # timeout=10 [2021-01-19T02:44:24.836Z] Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" [2021-01-19T02:44:24.850Z] > git rev-list --no-walk 39f6424327cfa2a2c159b16b6df03d14786ff292 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:44:26.749Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:44:27.167Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T02:44:27.535Z] + sudo service docker+ restart [2021-01-19T02:44:27.536Z] true [2021-01-19T02:44:29.705Z] Removing intermediate container 20d12c60d3d7 [2021-01-19T02:44:29.705Z] ---> 9d8d181cebdb [2021-01-19T02:44:29.705Z] Successfully built 9d8d181cebdb [2021-01-19T02:44:29.705Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:44:30.039Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T02:44:30.040Z] . [Pipeline] withDockerContainer [2021-01-19T02:44:30.176Z] prd-centos7-docker-4c-2g-21050 does not seem to be running inside a container [2021-01-19T02:44:30.239Z] $ 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:44:31.010Z] $ docker top a32dc1ebc5c94e631c292cbdf95a8e91ce08da98bfe10ddbe7ed29115b93cb02 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2021-01-19T02:44:31.275Z] provisioning config files... [2021-01-19T02:44:31.314Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config2503734872128937701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:44:31.490Z] + go version [2021-01-19T02:44:31.490Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T02:44:31.531Z] $ docker stop --time=1 a32dc1ebc5c94e631c292cbdf95a8e91ce08da98bfe10ddbe7ed29115b93cb02 [2021-01-19T02:44:31.745Z] ---> docker-login.sh [2021-01-19T02:44:31.745Z] nexus3.edgexfoundry.org:10001 [2021-01-19T02:44:32.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:32.886Z] $ docker rm -f a32dc1ebc5c94e631c292cbdf95a8e91ce08da98bfe10ddbe7ed29115b93cb02 [2021-01-19T02:44:33.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:33.006Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:33.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:33.006Z] [2021-01-19T02:44:33.006Z] Login Succeeded [2021-01-19T02:44:33.006Z] nexus3.edgexfoundry.org:10002 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:44:33.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:33.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:33.609Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:33.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:33.609Z] [2021-01-19T02:44:33.609Z] Login Succeeded [2021-01-19T02:44:33.609Z] nexus3.edgexfoundry.org:10003 [2021-01-19T02:44:33.714Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T02:44:33.714Z] . [Pipeline] withDockerContainer [2021-01-19T02:44:33.812Z] prd-centos7-docker-4c-2g-21050 does not seem to be running inside a container [2021-01-19T02:44:33.869Z] $ 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:44:34.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:34.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:34.207Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:34.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:34.207Z] [2021-01-19T02:44:34.207Z] Login Succeeded [2021-01-19T02:44:34.207Z] nexus3.edgexfoundry.org:10004 [2021-01-19T02:44:34.544Z] $ docker top e8b1231d5073982b1d78d4abb78b45affde4c5b1ddab89204b3f25f6f256f429 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:44:34.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:34.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:34.807Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:34.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:34.808Z] [2021-01-19T02:44:34.808Z] Login Succeeded [2021-01-19T02:44:34.808Z] docker.io [2021-01-19T02:44:35.051Z] + make test [2021-01-19T02:44:35.051Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T02:44:35.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T02:44:35.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T02:44:35.683Z] Configure a credential helper to remove this warning. See [2021-01-19T02:44:35.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T02:44:35.683Z] [2021-01-19T02:44:35.683Z] Login Succeeded [2021-01-19T02:44:35.683Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T02:44:35.705Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T02:44:36.225Z] ========================================================= [2021-01-19T02:44:36.225Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T02:44:36.225Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:44:36.608Z] + 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:44:37.227Z] Sending build context to Docker daemon 2.521MB [2021-01-19T02:44:37.227Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:44:37.227Z] Step 2/8 : FROM ${BASE} [2021-01-19T02:44:37.227Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T02:44:37.227Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T02:44:37.227Z] a4357932f1b6: Pulling fs layer [2021-01-19T02:44:37.227Z] 18c013af1878: Pulling fs layer [2021-01-19T02:44:37.227Z] 00ac8860ef70: Pulling fs layer [2021-01-19T02:44:37.227Z] 63d7cb157983: Pulling fs layer [2021-01-19T02:44:37.227Z] b116817d02f9: Pulling fs layer [2021-01-19T02:44:37.227Z] 745a02a5169b: Pulling fs layer [2021-01-19T02:44:37.227Z] 63d7cb157983: Waiting [2021-01-19T02:44:37.227Z] b116817d02f9: Waiting [2021-01-19T02:44:37.227Z] 745a02a5169b: Waiting [2021-01-19T02:44:37.227Z] 00ac8860ef70: Waiting [2021-01-19T02:44:37.227Z] 18c013af1878: Verifying Checksum [2021-01-19T02:44:37.227Z] 18c013af1878: Download complete [2021-01-19T02:44:37.227Z] a4357932f1b6: Download complete [2021-01-19T02:44:37.227Z] 5f621e34cdf4: Verifying Checksum [2021-01-19T02:44:37.227Z] 5f621e34cdf4: Download complete [2021-01-19T02:44:37.506Z] 63d7cb157983: Verifying Checksum [2021-01-19T02:44:37.506Z] 63d7cb157983: Download complete [2021-01-19T02:44:37.506Z] b116817d02f9: Verifying Checksum [2021-01-19T02:44:37.506Z] b116817d02f9: Download complete [2021-01-19T02:44:38.121Z] 5f621e34cdf4: Pull complete [2021-01-19T02:44:38.743Z] a4357932f1b6: Pull complete [2021-01-19T02:44:39.351Z] 18c013af1878: Pull complete [2021-01-19T02:44:39.632Z] 745a02a5169b: Verifying Checksum [2021-01-19T02:44:39.632Z] 745a02a5169b: Download complete [2021-01-19T02:44:41.078Z] 00ac8860ef70: Verifying Checksum [2021-01-19T02:44:41.078Z] 00ac8860ef70: Download complete [2021-01-19T02:44:43.313Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T02:44:51.266Z] 00ac8860ef70: Pull complete [2021-01-19T02:44:51.266Z] 63d7cb157983: Pull complete [2021-01-19T02:44:51.540Z] b116817d02f9: Pull complete [2021-01-19T02:44:55.878Z] 745a02a5169b: Pull complete [2021-01-19T02:44:55.878Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T02:44:55.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T02:44:55.878Z] ---> b7e6874047d6 [2021-01-19T02:44:55.878Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:44:58.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T02:44:58.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T02:44:58.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T02:44:58.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 19.4% of statements [2021-01-19T02:44:58.506Z] ---> Running in da4bf4b73f3f [2021-01-19T02:44:58.779Z] Removing intermediate container da4bf4b73f3f [2021-01-19T02:44:58.779Z] ---> 6ce69b9196e6 [2021-01-19T02:44:58.779Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:44:58.779Z] ---> Running in a2d879b4701d [2021-01-19T02:45:00.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.471s coverage: 97.1% of statements [2021-01-19T02:45:01.463Z] Removing intermediate container a2d879b4701d [2021-01-19T02:45:01.463Z] ---> 86342a9e0d20 [2021-01-19T02:45:01.463Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T02:45:01.463Z] ---> Running in e75ec59d9377 [2021-01-19T02:45:02.469Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T02:45:03.073Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T02:45:03.673Z] OK: 142 MiB in 39 packages [2021-01-19T02:45:05.117Z] Removing intermediate container e75ec59d9377 [2021-01-19T02:45:05.117Z] ---> ffe4b7581ecf [2021-01-19T02:45:05.117Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T02:45:05.117Z] ---> Running in 81ab1fd16b63 [2021-01-19T02:45:05.724Z] Removing intermediate container 81ab1fd16b63 [2021-01-19T02:45:05.724Z] ---> 6bdb247872b4 [2021-01-19T02:45:05.724Z] Step 7/8 : COPY . . [2021-01-19T02:45:07.161Z] ---> 6f056442f601 [2021-01-19T02:45:07.161Z] Step 8/8 : RUN go mod download [2021-01-19T02:45:07.436Z] ---> Running in 9d6b2b2312c6 [2021-01-19T02:45:29.639Z] Removing intermediate container 9d6b2b2312c6 [2021-01-19T02:45:29.639Z] ---> 410673baad28 [2021-01-19T02:45:29.639Z] Successfully built 410673baad28 [2021-01-19T02:45:29.639Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:45:29.977Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T02:45:29.977Z] . [Pipeline] withDockerContainer [2021-01-19T02:45:30.211Z] prd-ubuntu18.04-docker-arm64-4c-16g-21048 does not seem to be running inside a container [2021-01-19T02:45:30.302Z] $ 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-arm64 cat [2021-01-19T02:45:31.739Z] $ docker top 00a7a83afd7ae38d2fbc28b83ee695e26f42692d9280f498931445904219fbd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:45:32.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.088s coverage: 9.4% of statements [2021-01-19T02:45:32.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 21.7% of statements [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T02:45:32.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.223s coverage: 42.9% of statements [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T02:45:32.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.277s coverage: 68.9% of statements [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T02:45:32.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.064s coverage: 53.8% of statements [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T02:45:32.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.068s coverage: 25.6% of statements [2021-01-19T02:45:32.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.334s coverage: 68.9% of statements [2021-01-19T02:45:32.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements [2021-01-19T02:45:32.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T02:45:32.268Z] GO111MODULE=on go vet ./... [2021-01-19T02:45:32.765Z] + go version [2021-01-19T02:45:32.765Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T02:45:32.789Z] $ docker stop --time=1 00a7a83afd7ae38d2fbc28b83ee695e26f42692d9280f498931445904219fbd7 [2021-01-19T02:45:34.652Z] $ docker rm -f 00a7a83afd7ae38d2fbc28b83ee695e26f42692d9280f498931445904219fbd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:45:35.631Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T02:45:35.631Z] . [Pipeline] withDockerContainer [2021-01-19T02:45:35.856Z] prd-ubuntu18.04-docker-arm64-4c-16g-21048 does not seem to be running inside a container [2021-01-19T02:45:35.943Z] $ 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-arm64 cat [2021-01-19T02:45:37.407Z] $ docker top d6556f5f1a9744f30183975e358eac80626acafef79490eac85138ff48ee437f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:45:38.383Z] + make test [2021-01-19T02:45:38.383Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T02:45:38.962Z] gofmt -l . [2021-01-19T02:45:38.962Z] [ "`gofmt -l .`" = "" ] [2021-01-19T02:45:38.962Z] ./bin/test-attribution-txt.sh [2021-01-19T02:45:39.230Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T02:45:39.520Z] $ docker stop --time=1 e8b1231d5073982b1d78d4abb78b45affde4c5b1ddab89204b3f25f6f256f429 [2021-01-19T02:45:41.462Z] $ docker rm -f e8b1231d5073982b1d78d4abb78b45affde4c5b1ddab89204b3f25f6f256f429 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:45:42.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T02:45:42.554Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-19T02:45:45.206Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T02:45:45.511Z] + ls -al . [2021-01-19T02:45:45.511Z] total 224 [2021-01-19T02:45:45.511Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 02:45 . [2021-01-19T02:45:45.511Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 02:43 .. [2021-01-19T02:45:45.511Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 02:43 bin [2021-01-19T02:45:45.511Z] -rw-r--r--. 1 jenkins jenkins 144063 Jan 19 02:45 coverage.out [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 02:43 Dockerfile.build [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 02:43 .dockerignore [2021-01-19T02:45:45.511Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 02:43 example [2021-01-19T02:45:45.511Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 02:43 .git [2021-01-19T02:45:45.511Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 02:43 .github [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 02:43 .gitignore [2021-01-19T02:45:45.511Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 19 02:45 go.mod [2021-01-19T02:45:45.511Z] -rw-r--r--. 1 jenkins jenkins 14209 Jan 19 02:45 go.sum [2021-01-19T02:45:45.511Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 02:43 internal [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 02:43 Jenkinsfile [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 02:43 LICENSE [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 02:43 Makefile [2021-01-19T02:45:45.511Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 02:43 openapi [2021-01-19T02:45:45.511Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 02:43 pkg [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 02:43 README.md [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 02:43 RELEASE-NOTES.txt [2021-01-19T02:45:45.511Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 02:43 snap [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 02:42 VERSION [2021-01-19T02:45:45.511Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:45:45.829Z] + 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=446a2ee3888b4e20bf073e5449bfb97b9719054c --label arch=amd64 --label version=0.0.0 . [2021-01-19T02:45:46.096Z] Sending build context to Docker daemon 2.665MB [2021-01-19T02:45:46.096Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:45:46.096Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T02:45:46.096Z] ---> 9d8d181cebdb [2021-01-19T02:45:46.096Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T02:45:46.688Z] ---> Running in 2b11f23bf034 [2021-01-19T02:45:46.971Z] Removing intermediate container 2b11f23bf034 [2021-01-19T02:45:46.971Z] ---> 85a97c09949b [2021-01-19T02:45:46.971Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T02:45:46.971Z] ---> Running in 9b020f75c143 [2021-01-19T02:45:47.235Z] Removing intermediate container 9b020f75c143 [2021-01-19T02:45:47.235Z] ---> 2b4171b3c86b [2021-01-19T02:45:47.235Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:45:47.235Z] ---> Running in 00885245c7ea [2021-01-19T02:45:47.501Z] Removing intermediate container 00885245c7ea [2021-01-19T02:45:47.501Z] ---> 07f2e1abefec [2021-01-19T02:45:47.501Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:45:47.501Z] ---> Running in 36431e7d7a27 [2021-01-19T02:45:48.451Z] Removing intermediate container 36431e7d7a27 [2021-01-19T02:45:48.451Z] ---> ff7b72e56bf2 [2021-01-19T02:45:48.451Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T02:45:48.715Z] ---> Running in 2827f26f7a7e [2021-01-19T02:45:48.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T02:45:49.560Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T02:45:50.152Z] OK: 166 MiB in 39 packages [2021-01-19T02:45:50.735Z] Removing intermediate container 2827f26f7a7e [2021-01-19T02:45:50.735Z] ---> 92aac65878c7 [2021-01-19T02:45:50.735Z] Step 8/24 : COPY . . [2021-01-19T02:45:51.688Z] ---> f627a419841b [2021-01-19T02:45:51.688Z] Step 9/24 : RUN ${MAKE} [2021-01-19T02:45:51.688Z] ---> Running in 002d78ec8690 [2021-01-19T02:45:52.270Z] 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:00.499Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T02:46:00.581Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T02:46:02.544Z] Removing intermediate container 002d78ec8690 [2021-01-19T02:46:02.544Z] ---> 95f5e38680ec [2021-01-19T02:46:02.544Z] Step 10/24 : FROM scratch [2021-01-19T02:46:02.544Z] ---> [2021-01-19T02:46:02.544Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:46:02.544Z] ---> Running in 113c65e7a554 [2021-01-19T02:46:02.544Z] Removing intermediate container 113c65e7a554 [2021-01-19T02:46:02.544Z] ---> d4faedd28032 [2021-01-19T02:46:02.544Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T02:46:02.807Z] ---> Running in 9b64773994b8 [2021-01-19T02:46:02.807Z] Removing intermediate container 9b64773994b8 [2021-01-19T02:46:02.807Z] ---> e992e84630cd [2021-01-19T02:46:02.807Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T02:46:02.807Z] ---> Running in 5c8a79f304c2 [2021-01-19T02:46:03.070Z] Removing intermediate container 5c8a79f304c2 [2021-01-19T02:46:03.070Z] ---> ce7462f11d93 [2021-01-19T02:46:03.070Z] Step 14/24 : WORKDIR / [2021-01-19T02:46:03.070Z] ---> Running in d217ab53902f [2021-01-19T02:46:03.333Z] Removing intermediate container d217ab53902f [2021-01-19T02:46:03.333Z] ---> 7071632b2b1c [2021-01-19T02:46:03.333Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T02:46:03.907Z] ---> 6bc3be0eaa32 [2021-01-19T02:46:03.907Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T02:46:03.907Z] ---> eeca49d0b045 [2021-01-19T02:46:03.907Z] 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:04.171Z] ---> b899148144d0 [2021-01-19T02:46:04.171Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T02:46:04.436Z] ---> 3715fe1dbae3 [2021-01-19T02:46:04.436Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T02:46:04.701Z] ---> 3ec5b14a6ba4 [2021-01-19T02:46:04.701Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T02:46:04.701Z] ---> Running in 91eaa52fed61 [2021-01-19T02:46:04.963Z] Removing intermediate container 91eaa52fed61 [2021-01-19T02:46:04.963Z] ---> c6bcd07a2ebb [2021-01-19T02:46:04.963Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T02:46:04.963Z] ---> Running in b74366253548 [2021-01-19T02:46:05.225Z] Removing intermediate container b74366253548 [2021-01-19T02:46:05.225Z] ---> 9786ba54c5c1 [2021-01-19T02:46:05.225Z] Step 22/24 : LABEL arch=amd64 [2021-01-19T02:46:05.225Z] ---> Running in f0916ae0dade [2021-01-19T02:46:05.487Z] Removing intermediate container f0916ae0dade [2021-01-19T02:46:05.487Z] ---> 952f874546b4 [2021-01-19T02:46:05.487Z] Step 23/24 : LABEL git_sha=446a2ee3888b4e20bf073e5449bfb97b9719054c [2021-01-19T02:46:05.487Z] ---> Running in bcfd409d783c [2021-01-19T02:46:05.487Z] Removing intermediate container bcfd409d783c [2021-01-19T02:46:05.487Z] ---> 0992d7162eec [2021-01-19T02:46:05.487Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T02:46:05.750Z] ---> Running in a35003c10a64 [2021-01-19T02:46:05.751Z] Removing intermediate container a35003c10a64 [2021-01-19T02:46:05.751Z] ---> b00583d1b6d7 [2021-01-19T02:46:05.751Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T02:46:05.751Z] Successfully built b00583d1b6d7 [2021-01-19T02:46:05.751Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-19T02:46:47.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T02:46:47.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T02:46:47.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T02:46:47.624Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 19.4% of statements [2021-01-19T02:46:48.606Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.305s coverage: 97.1% of statements [2021-01-19T02:47:20.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.175s coverage: 9.4% of statements [2021-01-19T02:47:20.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.118s coverage: 21.7% of statements [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T02:47:20.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.633s coverage: 42.9% of statements [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T02:47:20.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.856s coverage: 68.9% of statements [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T02:47:20.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.234s coverage: 53.8% of statements [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T02:47:20.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.182s coverage: 25.6% of statements [2021-01-19T02:47:20.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.137s coverage: 68.9% of statements [2021-01-19T02:47:20.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-19T02:47:20.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T02:47:20.985Z] GO111MODULE=on go vet ./... [2021-01-19T02:47:53.445Z] gofmt -l . [2021-01-19T02:47:53.445Z] [ "`gofmt -l .`" = "" ] [2021-01-19T02:47:53.445Z] ./bin/test-attribution-txt.sh [2021-01-19T02:47:54.057Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T02:47:54.353Z] $ docker stop --time=1 d6556f5f1a9744f30183975e358eac80626acafef79490eac85138ff48ee437f [2021-01-19T02:47:56.625Z] $ docker rm -f d6556f5f1a9744f30183975e358eac80626acafef79490eac85138ff48ee437f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T02:47:57.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T02:47:57.799Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T02:47:58.885Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T02:47:59.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T02:47:59.957Z] + ls -al . [2021-01-19T02:47:59.957Z] total 260 [2021-01-19T02:47:59.957Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:47 . [2021-01-19T02:47:59.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:44 .. [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:44 .dockerignore [2021-01-19T02:47:59.957Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:44 .git [2021-01-19T02:47:59.957Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:44 .github [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 02:44 .gitignore [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 02:44 Dockerfile.build [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 02:44 Jenkinsfile [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 02:44 LICENSE [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 02:44 Makefile [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 02:44 README.md [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 02:44 RELEASE-NOTES.txt [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:42 VERSION [2021-01-19T02:47:59.957Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:44 bin [2021-01-19T02:47:59.957Z] -rw-r--r-- 1 jenkins jenkins 144063 Jan 19 02:47 coverage.out [2021-01-19T02:47:59.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:44 example [2021-01-19T02:47:59.957Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 19 02:47 go.mod [2021-01-19T02:47:59.957Z] -rw-r--r-- 1 jenkins jenkins 14209 Jan 19 02:47 go.sum [2021-01-19T02:47:59.957Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 02:44 internal [2021-01-19T02:47:59.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:44 openapi [2021-01-19T02:47:59.957Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 02:44 pkg [2021-01-19T02:47:59.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:44 snap [2021-01-19T02:47:59.957Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:48:00.360Z] + 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=446a2ee3888b4e20bf073e5449bfb97b9719054c --label arch=arm64 --label version=0.0.0 . [2021-01-19T02:48:01.052Z] Sending build context to Docker daemon 2.665MB [2021-01-19T02:48:01.052Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T02:48:01.052Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T02:48:01.052Z] ---> 410673baad28 [2021-01-19T02:48:01.052Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T02:48:01.357Z] ---> Running in 1f45caaaba42 [2021-01-19T02:48:01.638Z] Removing intermediate container 1f45caaaba42 [2021-01-19T02:48:01.638Z] ---> 214a20e4081e [2021-01-19T02:48:01.638Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T02:48:01.938Z] ---> Running in 0463386ab40f [2021-01-19T02:48:02.531Z] Removing intermediate container 0463386ab40f [2021-01-19T02:48:02.531Z] ---> c4901bc62fb9 [2021-01-19T02:48:02.531Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:48:02.531Z] ---> Running in cff94bafcd36 [2021-01-19T02:48:03.131Z] Removing intermediate container cff94bafcd36 [2021-01-19T02:48:03.131Z] ---> ed7565bdcfc7 [2021-01-19T02:48:03.131Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T02:48:03.131Z] ---> Running in 458c0abdd68f [2021-01-19T02:48:05.762Z] Removing intermediate container 458c0abdd68f [2021-01-19T02:48:05.762Z] ---> 2e1f41656923 [2021-01-19T02:48:05.762Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T02:48:05.762Z] ---> Running in c6e2fc45eeb2 [2021-01-19T02:48:06.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T02:48:07.715Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T02:48:08.310Z] OK: 142 MiB in 39 packages [2021-01-19T02:48:09.757Z] Removing intermediate container c6e2fc45eeb2 [2021-01-19T02:48:09.757Z] ---> fb47c0fa9adf [2021-01-19T02:48:09.757Z] Step 8/24 : COPY . . [2021-01-19T02:48:11.201Z] ---> c3a06b7f9c80 [2021-01-19T02:48:11.201Z] Step 9/24 : RUN ${MAKE} [2021-01-19T02:48:11.201Z] ---> Running in 3aa4a1127c14 [2021-01-19T02:48:12.658Z] 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:48:45.045Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T02:48:45.045Z] Removing intermediate container 3aa4a1127c14 [2021-01-19T02:48:45.045Z] ---> 61427eccc595 [2021-01-19T02:48:45.045Z] Step 10/24 : FROM scratch [2021-01-19T02:48:45.045Z] ---> [2021-01-19T02:48:45.045Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T02:48:45.045Z] ---> Running in d5c161c6c433 [2021-01-19T02:48:45.045Z] Removing intermediate container d5c161c6c433 [2021-01-19T02:48:45.045Z] ---> 0bbbf1d0dc8d [2021-01-19T02:48:45.045Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T02:48:45.045Z] ---> Running in d353de753b4d [2021-01-19T02:48:45.324Z] Removing intermediate container d353de753b4d [2021-01-19T02:48:45.324Z] ---> fabd6359de62 [2021-01-19T02:48:45.324Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T02:48:45.324Z] ---> Running in 94b6a6d8fc26 [2021-01-19T02:48:45.922Z] Removing intermediate container 94b6a6d8fc26 [2021-01-19T02:48:45.922Z] ---> 7df43c3c79da [2021-01-19T02:48:45.922Z] Step 14/24 : WORKDIR / [2021-01-19T02:48:45.922Z] ---> Running in cec685c0a81f [2021-01-19T02:48:46.530Z] Removing intermediate container cec685c0a81f [2021-01-19T02:48:46.530Z] ---> df6c6ec59596 [2021-01-19T02:48:46.530Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T02:48:47.511Z] ---> ea7040adb7d5 [2021-01-19T02:48:47.511Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T02:48:48.491Z] ---> 8d9eae7b23ec [2021-01-19T02:48:48.491Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T02:48:49.087Z] ---> dec213c28b0d [2021-01-19T02:48:49.087Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T02:48:50.064Z] ---> 2064e97c8fa9 [2021-01-19T02:48:50.064Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T02:48:50.663Z] ---> d81c26f4accc [2021-01-19T02:48:50.663Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T02:48:50.936Z] ---> Running in 0dd96b5558cb [2021-01-19T02:48:51.210Z] Removing intermediate container 0dd96b5558cb [2021-01-19T02:48:51.210Z] ---> 7b9282370a20 [2021-01-19T02:48:51.210Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T02:48:51.485Z] ---> Running in 63e239ccbc00 [2021-01-19T02:48:52.085Z] Removing intermediate container 63e239ccbc00 [2021-01-19T02:48:52.085Z] ---> 4789fe2cd535 [2021-01-19T02:48:52.085Z] Step 22/24 : LABEL arch=arm64 [2021-01-19T02:48:52.085Z] ---> Running in 174d9b9bfc9c [2021-01-19T02:48:52.682Z] Removing intermediate container 174d9b9bfc9c [2021-01-19T02:48:52.682Z] ---> 36008d62065a [2021-01-19T02:48:52.682Z] Step 23/24 : LABEL git_sha=446a2ee3888b4e20bf073e5449bfb97b9719054c [2021-01-19T02:48:52.682Z] ---> Running in fad78b7afb4c [2021-01-19T02:48:53.277Z] Removing intermediate container fad78b7afb4c [2021-01-19T02:48:53.277Z] ---> 34b5f23530d1 [2021-01-19T02:48:53.277Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T02:48:53.277Z] ---> Running in 79432599ce96 [2021-01-19T02:48:53.872Z] Removing intermediate container 79432599ce96 [2021-01-19T02:48:53.872Z] ---> 830af61b823a [2021-01-19T02:48:53.872Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T02:48:53.872Z] Successfully built 830af61b823a [2021-01-19T02:48:53.872Z] 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:48:55.414Z] provisioning config files... [2021-01-19T02:48:55.423Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config8405695548845773564tmp [Pipeline] { [Pipeline] sh [2021-01-19T02:48:55.795Z] + set +x [2021-01-19T02:48:55.795Z] + curl -s https://codecov.io/bash [2021-01-19T02:48:55.795Z] + bash -s -- [2021-01-19T02:48:56.055Z] [2021-01-19T02:48:56.055Z] _____ _ [2021-01-19T02:48:56.055Z] / ____| | | [2021-01-19T02:48:56.055Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T02:48:56.055Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T02:48:56.055Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T02:48:56.055Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T02:48:56.055Z] Bash-20210115-cec3c92 [2021-01-19T02:48:56.055Z] [2021-01-19T02:48:56.055Z] [2021-01-19T02:48:56.055Z] ==> git version 2.24.3 found [2021-01-19T02:48:56.055Z] ==> 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:48:56.055Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T02:48:56.055Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T02:48:56.055Z] ==> Jenkins CI detected. [2021-01-19T02:48:56.055Z] project root: . [2021-01-19T02:48:56.055Z] --> token set from env [2021-01-19T02:48:56.055Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T02:48:56.055Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T02:48:56.055Z] ==> Python coveragepy not found [2021-01-19T02:48:56.055Z] ==> Searching for coverage reports in: [2021-01-19T02:48:56.055Z] + . [2021-01-19T02:48:56.055Z] -> Found 1 reports [2021-01-19T02:48:56.055Z] ==> Detecting git/mercurial file structure [2021-01-19T02:48:56.055Z] ==> Reading reports [2021-01-19T02:48:56.055Z] + ./coverage.out bytes=144063 [2021-01-19T02:48:56.055Z] ==> Appending adjustments [2021-01-19T02:48:56.055Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T02:48:56.626Z] + Found adjustments [2021-01-19T02:48:56.626Z] ==> Gzipping contents [2021-01-19T02:48:56.626Z] 24K /tmp/codecov.2uCBT6.gz [2021-01-19T02:48:56.626Z] ==> Uploading reports [2021-01-19T02:48:56.626Z] url: https://codecov.io [2021-01-19T02:48:56.626Z] query: branch=PR-733&commit=446a2ee3888b4e20bf073e5449bfb97b9719054c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-733%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=733&job=&cmd_args= [2021-01-19T02:48:56.626Z] -> Pinging Codecov [2021-01-19T02:48:56.626Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-733&commit=446a2ee3888b4e20bf073e5449bfb97b9719054c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-733%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=733&job=&cmd_args= [2021-01-19T02:48:56.890Z] -> Uploading to [2021-01-19T02:48:56.890Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/446a2ee3888b4e20bf073e5449bfb97b9719054c/f8da58ca-a83a-4b44-ba09-16a6a9a8be08.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T024856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ef86e592cf1236c6b2023d54458a002efd5cd9e442b7cb4c5f9bc67016ead1c [2021-01-19T02:48:56.890Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T02:48:56.890Z] Dload Upload Total Spent Left Speed [2021-01-19T02:48:57.463Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22355 0 0 100 22355 0 50285 --:--:-- --:--:-- --:--:-- 50235 100 22355 0 0 100 22355 0 50271 --:--:-- --:--:-- --:--:-- 50235 [2021-01-19T02:48:57.463Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/446a2ee3888b4e20bf073e5449bfb97b9719054c [Pipeline] } [2021-01-19T02:48:57.473Z] 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:48:59.966Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:49:00.267Z] ---> package-listing.sh [2021-01-19T02:49:00.267Z] ++ facter osfamily [2021-01-19T02:49:00.267Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T02:49:00.267Z] + OS_FAMILY=redhat [2021-01-19T02:49:00.267Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-733 [2021-01-19T02:49:00.267Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T02:49:00.267Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T02:49:00.267Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T02:49:00.267Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T02:49:00.267Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-733 ']' [2021-01-19T02:49:00.267Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T02:49:00.267Z] + case "${OS_FAMILY}" in [2021-01-19T02:49:00.267Z] + rpm -qa [2021-01-19T02:49:00.267Z] + sort [2021-01-19T02:49:05.565Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T02:49:05.565Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T02:49:05.565Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T02:49:05.565Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-733 ']' [2021-01-19T02:49:05.565Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-733/archives/ [2021-01-19T02:49:05.565Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-733/archives/ [Pipeline] echo [2021-01-19T02:49:05.580Z] 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-733/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:49:05.872Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:49:06.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:49:06.173Z] [2021-01-19T02:49:06.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T02:49:06.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:49:06.517Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T02:49:06.517Z] df20fa9351a1: Pulling fs layer [2021-01-19T02:49:06.517Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T02:49:06.517Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T02:49:06.517Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T02:49:06.517Z] 93b61091891f: Pulling fs layer [2021-01-19T02:49:06.517Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T02:49:06.517Z] 5e14af77c1be: Pulling fs layer [2021-01-19T02:49:06.517Z] 01666e4c0597: Pulling fs layer [2021-01-19T02:49:06.517Z] aa168da1d23b: Pulling fs layer [2021-01-19T02:49:06.517Z] 46f8f816bc3b: Waiting [2021-01-19T02:49:06.517Z] 93b9cdb0e59b: Waiting [2021-01-19T02:49:06.517Z] 01666e4c0597: Waiting [2021-01-19T02:49:06.517Z] 5e14af77c1be: Waiting [2021-01-19T02:49:06.517Z] 36b3adc4ff6f: Download complete [2021-01-19T02:49:06.517Z] 46f8f816bc3b: Download complete [2021-01-19T02:49:06.517Z] df20fa9351a1: Verifying Checksum [2021-01-19T02:49:06.517Z] df20fa9351a1: Download complete [2021-01-19T02:49:06.517Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T02:49:06.517Z] 93b9cdb0e59b: Download complete [2021-01-19T02:49:06.780Z] 5e14af77c1be: Verifying Checksum [2021-01-19T02:49:06.780Z] 5e14af77c1be: Download complete [2021-01-19T02:49:06.780Z] 01666e4c0597: Verifying Checksum [2021-01-19T02:49:06.780Z] 01666e4c0597: Download complete [2021-01-19T02:49:06.780Z] 93b61091891f: Verifying Checksum [2021-01-19T02:49:06.780Z] 93b61091891f: Download complete [2021-01-19T02:49:06.780Z] df20fa9351a1: Pull complete [2021-01-19T02:49:06.780Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T02:49:06.780Z] 8ad3a11d3b57: Download complete [2021-01-19T02:49:07.040Z] 36b3adc4ff6f: Pull complete [2021-01-19T02:49:07.622Z] 8ad3a11d3b57: Pull complete [2021-01-19T02:49:07.622Z] 46f8f816bc3b: Pull complete [2021-01-19T02:49:09.021Z] aa168da1d23b: Verifying Checksum [2021-01-19T02:49:09.021Z] aa168da1d23b: Download complete [2021-01-19T02:49:09.283Z] 93b61091891f: Pull complete [2021-01-19T02:49:09.283Z] 93b9cdb0e59b: Pull complete [2021-01-19T02:49:09.553Z] 5e14af77c1be: Pull complete [2021-01-19T02:49:09.553Z] 01666e4c0597: Pull complete [2021-01-19T02:49:16.167Z] aa168da1d23b: Pull complete [2021-01-19T02:49:16.167Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T02:49:16.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T02:49:16.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T02:49:16.310Z] prd-centos7-docker-4c-2g-21043 does not seem to be running inside a container [2021-01-19T02:49:16.351Z] $ 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-733/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-733 -v /w/workspace/dgexfoundry_device-sdk-go_PR-733:/w/workspace/dgexfoundry_device-sdk-go_PR-733:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-733@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T02:49:19.577Z] $ docker top efe500e21e2a7ab5d6b02928a1fbafa24c27e8da8e79faec392a5938ddeea299 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T02:49:20.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T02:49:20.382Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T02:49:20.732Z] + ls /var/log/sa-host [2021-01-19T02:49:20.732Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T02:49:20.732Z] file_magic: OK [2021-01-19T02:49:20.732Z] HZ: Using current value: 100 [2021-01-19T02:49:20.732Z] file_header: OK [2021-01-19T02:49:20.732Z] 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:49:20.732Z] Statistics: [2021-01-19T02:49:20.732Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T02:49:20.732Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T02:49:20.732Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T02:49:20.732Z] file_magic: OK [2021-01-19T02:49:20.732Z] HZ: Using current value: 100 [2021-01-19T02:49:20.732Z] file_header: OK [2021-01-19T02:49:20.732Z] 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:49:20.732Z] Statistics: [2021-01-19T02:49:20.732Z] Hnuu...uuuununununu... [2021-01-19T02:49:20.732Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T02:49:21.440Z] provisioning config files... [2021-01-19T02:49:21.527Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config7929009297722322618tmp [Pipeline] { [Pipeline] echo [2021-01-19T02:49:21.616Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:49:21.964Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T02:49:21.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T02:49:22.086Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:49:22.388Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T02:49:22.398Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:49:22.694Z] ---> sudo-logs.sh [2021-01-19T02:49:22.694Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T02:49:22.719Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:49:23.019Z] ---> job-cost.sh [2021-01-19T02:49:23.019Z] lf-activate-venv: SKIPPING [2021-01-19T02:49:23.019Z] INFO: No Stack... [2021-01-19T02:49:23.964Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T02:49:24.226Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T02:49:24.238Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T02:49:24.530Z] ---> logs-deploy.sh [2021-01-19T02:49:24.531Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-733/4 [2021-01-19T02:49:24.531Z] INFO: archiving workspace using pattern(s): [2021-01-19T02:49:25.916Z] Archives upload complete. [2021-01-19T02:49:26.176Z] INFO: archiving logs to Nexus