Pull request #767 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b36bb853df962b2c3f537a6caa55bf08c63b7f0d+3aea893206dfece0cb943228d650ae216607898f (4fa465a1256cd02b871ccf53c70689ba41646556) Running in Durability level: MAX_SURVIVABILITY 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-767/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-767/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24304 in /w/workspace/dgexfoundry_device-sdk-go_PR-767 [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-767 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b36bb853df962b2c3f537a6caa55bf08c63b7f0d Merge succeeded, producing b36bb853df962b2c3f537a6caa55bf08c63b7f0d Checking out Revision b36bb853df962b2c3f537a6caa55bf08c63b7f0d (PR-767) 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/767/head:refs/remotes/origin/PR-767 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # 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 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-01T07:26:54.184Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-01T07:26:54.548Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-01T07:26:54.763Z] ========================================================= [2021-02-01T07:26:54.763Z] EdgeX Global Pipelines Version Info [2021-02-01T07:26:54.764Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:26:56.337Z] ------------------- [2021-02-01T07:26:56.337Z] stable info: [2021-02-01T07:26:56.337Z] ------------------- [2021-02-01T07:26:56.337Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T07:26:56.337Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T07:26:56.337Z] Message: update stable to v1.0.179 [2021-02-01T07:26:57.284Z] ------------------- [2021-02-01T07:26:57.284Z] experimental info: [2021-02-01T07:26:57.284Z] ------------------- [2021-02-01T07:26:57.284Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T07:26:57.284Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T07:26:57.284Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-01T07:26:57.679Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-01T07:26:57.816Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-01T07:26:57.943Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-01T07:26:58.083Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-01T07:26:58.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-01T07:26:58.364Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-01T07:26:58.493Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-01T07:26:58.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-01T07:26:58.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-01T07:26:58.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-01T07:26:59.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-01T07:26:59.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-01T07:26:59.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-01T07:26:59.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-01T07:26:59.509Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-01T07:26:59.638Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T07:26:59.772Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T07:26:59.900Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T07:27:00.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-01T07:27:00.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-01T07:27:00.315Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-01T07:27:00.461Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-01T07:27:00.596Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-01T07:27:00.768Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-01T07:27:00.937Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-01T07:27:01.069Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-01T07:27:01.196Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-01T07:27:01.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-767 [Pipeline] echo [2021-02-01T07:27:01.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-767 [Pipeline] echo [2021-02-01T07:27:01.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-767 [Pipeline] echo [2021-02-01T07:27:01.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b36bb853df962b2c3f537a6caa55bf08c63b7f0d [Pipeline] echo [2021-02-01T07:27:02.006Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b36bb85 [Pipeline] echo [2021-02-01T07:27:02.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T07:27:02.486Z] provisioning config files... [2021-02-01T07:27:02.530Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/config1450495313497801238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:27:02.981Z] ---> docker-login.sh [2021-02-01T07:27:02.981Z] nexus3.edgexfoundry.org:10001 [2021-02-01T07:27:03.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:27:03.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:27:03.244Z] Configure a credential helper to remove this warning. See [2021-02-01T07:27:03.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:27:03.244Z] [2021-02-01T07:27:03.244Z] Login Succeeded [2021-02-01T07:27:03.244Z] nexus3.edgexfoundry.org:10002 [2021-02-01T07:27:03.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:27:03.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:27:03.507Z] Configure a credential helper to remove this warning. See [2021-02-01T07:27:03.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:27:03.507Z] [2021-02-01T07:27:03.507Z] Login Succeeded [2021-02-01T07:27:03.507Z] nexus3.edgexfoundry.org:10003 [2021-02-01T07:27:03.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:27:03.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:27:03.770Z] Configure a credential helper to remove this warning. See [2021-02-01T07:27:03.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:27:03.770Z] [2021-02-01T07:27:03.770Z] Login Succeeded [2021-02-01T07:27:03.770Z] nexus3.edgexfoundry.org:10004 [2021-02-01T07:27:03.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:27:04.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:27:04.033Z] Configure a credential helper to remove this warning. See [2021-02-01T07:27:04.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:27:04.033Z] [2021-02-01T07:27:04.033Z] Login Succeeded [2021-02-01T07:27:04.033Z] docker.io [2021-02-01T07:27:04.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:27:04.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:27:04.296Z] Configure a credential helper to remove this warning. See [2021-02-01T07:27:04.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:27:04.296Z] [2021-02-01T07:27:04.296Z] Login Succeeded [2021-02-01T07:27:04.296Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T07:27:04.320Z] 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-02-01T07:27:05.466Z] + git log --format=format:%s -1 b36bb853df962b2c3f537a6caa55bf08c63b7f0d [Pipeline] echo [2021-02-01T07:27:05.556Z] GIT_COMMIT: b36bb853df962b2c3f537a6caa55bf08c63b7f0d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-01T07:27:05.628Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:27:06.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T07:27:06.273Z] [2021-02-01T07:27:06.273Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:27:06.660Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T07:27:06.660Z] latest: Pulling from edgex-devops/git-semver [2021-02-01T07:27:06.660Z] 31603596830f: Pulling fs layer [2021-02-01T07:27:06.660Z] 2a8b12db71e7: Pulling fs layer [2021-02-01T07:27:06.660Z] 6ca5941a6612: Pulling fs layer [2021-02-01T07:27:06.660Z] ecc8261a40a4: Pulling fs layer [2021-02-01T07:27:06.660Z] ecc8261a40a4: Waiting [2021-02-01T07:27:06.660Z] 2a8b12db71e7: Verifying Checksum [2021-02-01T07:27:06.660Z] 2a8b12db71e7: Download complete [2021-02-01T07:27:06.925Z] 31603596830f: Verifying Checksum [2021-02-01T07:27:06.925Z] 31603596830f: Download complete [2021-02-01T07:27:06.925Z] 6ca5941a6612: Verifying Checksum [2021-02-01T07:27:06.925Z] 6ca5941a6612: Download complete [2021-02-01T07:27:06.925Z] ecc8261a40a4: Verifying Checksum [2021-02-01T07:27:06.925Z] ecc8261a40a4: Download complete [2021-02-01T07:27:07.197Z] 31603596830f: Pull complete [2021-02-01T07:27:07.468Z] 2a8b12db71e7: Pull complete [2021-02-01T07:27:08.445Z] 6ca5941a6612: Pull complete [2021-02-01T07:27:08.445Z] ecc8261a40a4: Pull complete [2021-02-01T07:27:08.445Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-01T07:27:08.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T07:27:08.445Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-01T07:27:08.634Z] prd-centos7-docker-4c-2g-24304 does not seem to be running inside a container [2021-02-01T07:27:08.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-767 -v /w/workspace/dgexfoundry_device-sdk-go_PR-767:/w/workspace/dgexfoundry_device-sdk-go_PR-767:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-767@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-01T07:27:11.060Z] $ docker top deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T07:27:11.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T07:27:11.545Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T07:27:11.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T07:27:11.820Z] $ docker exec deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 ssh-agent [2021-02-01T07:27:11.997Z] SSH_AUTH_SOCK=/tmp/ssh-9JL2v1AjP2OD/agent.11 [2021-02-01T07:27:11.997Z] SSH_AGENT_PID=16 [2021-02-01T07:27:12.009Z] Running ssh-add (command line suppressed) [2021-02-01T07:27:12.132Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/private_key_6102573022807357163.key (/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/private_key_6102573022807357163.key) [2021-02-01T07:27:12.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T07:27:12.577Z] + git tag --points-at HEAD [Pipeline] } [2021-02-01T07:27:12.608Z] $ docker exec --env ******** --env ******** deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 ssh-agent -k [2021-02-01T07:27:12.729Z] unset SSH_AUTH_SOCK; [2021-02-01T07:27:12.729Z] unset SSH_AGENT_PID; [2021-02-01T07:27:12.730Z] echo Agent pid 16 killed; [2021-02-01T07:27:12.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-01T07:27:12.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T07:27:12.976Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T07:27:13.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T07:27:13.150Z] $ docker exec deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 ssh-agent [2021-02-01T07:27:13.309Z] SSH_AUTH_SOCK=/tmp/ssh-BNDIsriSQcy1/agent.45 [2021-02-01T07:27:13.309Z] SSH_AGENT_PID=50 [2021-02-01T07:27:13.316Z] Running ssh-add (command line suppressed) [2021-02-01T07:27:13.431Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/private_key_4386950053074885683.key (/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/private_key_4386950053074885683.key) [2021-02-01T07:27:13.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T07:27:13.922Z] + git semver init [2021-02-01T07:27:13.922Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T07:27:13.922Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-767/.git [2021-02-01T07:27:13.922Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-767 [2021-02-01T07:27:13.922Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T07:27:13.922Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T07:27:13.922Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T07:27:13.922Z] # $SEMVER_BRANCH = PR-767 [2021-02-01T07:27:13.922Z] # $SEMVER_TEMP = /tmp/semver-387697024 [2021-02-01T07:27:13.922Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-01T07:27:14.496Z] # '/tmp/semver-387697024' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-767/.semver' [2021-02-01T07:27:14.496Z] # -> Force: false [2021-02-01T07:27:14.496Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-767/.semver [Pipeline] } [2021-02-01T07:27:14.517Z] $ docker exec --env ******** --env ******** deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 ssh-agent -k [2021-02-01T07:27:14.628Z] unset SSH_AUTH_SOCK; [2021-02-01T07:27:14.629Z] unset SSH_AGENT_PID; [2021-02-01T07:27:14.629Z] echo Agent pid 50 killed; [2021-02-01T07:27:14.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T07:27:15.233Z] + git semver [Pipeline] } [2021-02-01T07:27:15.271Z] $ docker stop --time=1 deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 [2021-02-01T07:27:16.727Z] $ docker rm -f deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T07:27:17.242Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-01T07:27:17.729Z] Stashed 1 file(s) [Pipeline] echo [2021-02-01T07:27:17.752Z] [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-02-01T07:27:33.605Z] Still waiting to schedule task [2021-02-01T07:27:33.606Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-01T07:27:33.636Z] Still waiting to schedule task [2021-02-01T07:27:33.636Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-01T07:29:18.881Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24305 in /w/workspace/dgexfoundry_device-sdk-go_PR-767 [Pipeline] { [Pipeline] ws [2021-02-01T07:29:18.978Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-01T07:29:23.378Z] using credential edgex-jenkins-ssh [2021-02-01T07:29:23.448Z] Cloning the remote Git repository [2021-02-01T07:29:23.503Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T07:29:23.608Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-01T07:29:23.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T07:29:23.703Z] > git --version # timeout=10 [2021-02-01T07:29:23.723Z] > git --version # 'git version 2.17.1' [2021-02-01T07:29:23.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T07:29:23.788Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T07:29:24.799Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T07:29:24.814Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T07:29:24.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T07:29:24.878Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T07:29:24.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T07:29:24.889Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/767/head:refs/remotes/origin/PR-767 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T07:29:25.351Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b36bb853df962b2c3f537a6caa55bf08c63b7f0d [2021-02-01T07:29:25.579Z] Merge succeeded, producing b36bb853df962b2c3f537a6caa55bf08c63b7f0d [2021-02-01T07:29:25.579Z] Checking out Revision b36bb853df962b2c3f537a6caa55bf08c63b7f0d (PR-767) [2021-02-01T07:29:25.373Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T07:29:25.386Z] > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 [2021-02-01T07:29:25.506Z] > git remote # timeout=10 [2021-02-01T07:29:25.523Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T07:29:25.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T07:29:25.544Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T07:29:25.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T07:29:25.590Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T07:29:25.645Z] > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 [2021-02-01T07:29:29.898Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-01T07:29:29.955Z] > git --version # timeout=10 [2021-02-01T07:29:29.964Z] > git --version # 'git version 2.17.1' [2021-02-01T07:29:29.978Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T07:29:31.752Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-01T07:29:32.224Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T07:29:32.588Z] + sudo service docker restart [2021-02-01T07:29:32.588Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T07:29:35.341Z] provisioning config files... [2021-02-01T07:29:35.377Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3932075497668172933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:29:35.838Z] ---> docker-login.sh [2021-02-01T07:29:35.838Z] nexus3.edgexfoundry.org:10001 [2021-02-01T07:29:36.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:29:37.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:29:37.091Z] Configure a credential helper to remove this warning. See [2021-02-01T07:29:37.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:29:37.091Z] [2021-02-01T07:29:37.091Z] Login Succeeded [2021-02-01T07:29:37.091Z] nexus3.edgexfoundry.org:10002 [2021-02-01T07:29:37.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:29:37.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:29:37.652Z] Configure a credential helper to remove this warning. See [2021-02-01T07:29:37.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:29:37.652Z] [2021-02-01T07:29:37.652Z] Login Succeeded [2021-02-01T07:29:37.652Z] nexus3.edgexfoundry.org:10003 [2021-02-01T07:29:37.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:29:38.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:29:38.201Z] Configure a credential helper to remove this warning. See [2021-02-01T07:29:38.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:29:38.201Z] [2021-02-01T07:29:38.201Z] Login Succeeded [2021-02-01T07:29:38.201Z] nexus3.edgexfoundry.org:10004 [2021-02-01T07:29:38.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:29:38.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:29:38.477Z] Configure a credential helper to remove this warning. See [2021-02-01T07:29:38.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:29:38.477Z] [2021-02-01T07:29:38.477Z] Login Succeeded [2021-02-01T07:29:38.477Z] docker.io [2021-02-01T07:29:39.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:29:39.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:29:39.347Z] Configure a credential helper to remove this warning. See [2021-02-01T07:29:39.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:29:39.347Z] [2021-02-01T07:29:39.347Z] Login Succeeded [2021-02-01T07:29:39.347Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T07:29:39.388Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T07:29:39.939Z] ========================================================= [2021-02-01T07:29:39.939Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-01T07:29:39.939Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:29:40.362Z] + 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-02-01T07:29:40.636Z] Sending build context to Docker daemon 2.501MB [2021-02-01T07:29:40.910Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T07:29:40.910Z] Step 2/8 : FROM ${BASE} [2021-02-01T07:29:40.910Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-01T07:29:40.910Z] 5f621e34cdf4: Pulling fs layer [2021-02-01T07:29:40.910Z] a4357932f1b6: Pulling fs layer [2021-02-01T07:29:40.910Z] 18c013af1878: Pulling fs layer [2021-02-01T07:29:40.910Z] 00ac8860ef70: Pulling fs layer [2021-02-01T07:29:40.910Z] 63d7cb157983: Pulling fs layer [2021-02-01T07:29:40.910Z] b116817d02f9: Pulling fs layer [2021-02-01T07:29:40.910Z] 745a02a5169b: Pulling fs layer [2021-02-01T07:29:40.910Z] 63d7cb157983: Waiting [2021-02-01T07:29:40.910Z] b116817d02f9: Waiting [2021-02-01T07:29:40.910Z] 745a02a5169b: Waiting [2021-02-01T07:29:40.910Z] 00ac8860ef70: Waiting [2021-02-01T07:29:40.910Z] 18c013af1878: Download complete [2021-02-01T07:29:40.910Z] a4357932f1b6: Download complete [2021-02-01T07:29:40.910Z] 63d7cb157983: Verifying Checksum [2021-02-01T07:29:40.910Z] 63d7cb157983: Download complete [2021-02-01T07:29:40.910Z] b116817d02f9: Download complete [2021-02-01T07:29:40.910Z] 5f621e34cdf4: Verifying Checksum [2021-02-01T07:29:40.910Z] 5f621e34cdf4: Download complete [2021-02-01T07:29:41.507Z] 5f621e34cdf4: Pull complete [2021-02-01T07:29:42.129Z] a4357932f1b6: Pull complete [2021-02-01T07:29:42.404Z] 18c013af1878: Pull complete [2021-02-01T07:29:43.833Z] 745a02a5169b: Verifying Checksum [2021-02-01T07:29:43.833Z] 745a02a5169b: Download complete [2021-02-01T07:29:43.833Z] 00ac8860ef70: Download complete [2021-02-01T07:29:53.997Z] 00ac8860ef70: Pull complete [2021-02-01T07:29:53.997Z] 63d7cb157983: Pull complete [2021-02-01T07:29:54.270Z] b116817d02f9: Pull complete [2021-02-01T07:29:57.654Z] 745a02a5169b: Pull complete [2021-02-01T07:29:57.926Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-01T07:29:57.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-01T07:29:57.926Z] ---> b7e6874047d6 [2021-02-01T07:29:57.926Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T07:30:00.541Z] ---> Running in 9477bb909d8a [2021-02-01T07:30:01.138Z] Removing intermediate container 9477bb909d8a [2021-02-01T07:30:01.138Z] ---> 7e9fe19b5b03 [2021-02-01T07:30:01.138Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T07:30:01.138Z] ---> Running in 8216e133d032 [2021-02-01T07:30:03.785Z] Removing intermediate container 8216e133d032 [2021-02-01T07:30:03.785Z] ---> 7e6533faf9bc [2021-02-01T07:30:03.785Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T07:30:03.785Z] ---> Running in a7a34695d149 [2021-02-01T07:30:04.405Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T07:30:05.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T07:30:05.970Z] OK: 142 MiB in 39 packages [2021-02-01T07:30:06.951Z] Removing intermediate container a7a34695d149 [2021-02-01T07:30:06.951Z] ---> db936131d19f [2021-02-01T07:30:06.951Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T07:30:07.227Z] ---> Running in bd027cec0652 [2021-02-01T07:30:07.826Z] Removing intermediate container bd027cec0652 [2021-02-01T07:30:07.826Z] ---> bfbe097b8e1e [2021-02-01T07:30:07.826Z] Step 7/8 : COPY . . [2021-02-01T07:30:08.809Z] ---> 779e3dacc43e [2021-02-01T07:30:08.809Z] Step 8/8 : RUN go mod download [2021-02-01T07:30:09.084Z] ---> Running in 149fe6c30c59 [2021-02-01T07:30:27.661Z] Running on prd-centos7-docker-4c-2g-24306 in /w/workspace/dgexfoundry_device-sdk-go_PR-767 [Pipeline] { [Pipeline] ws [2021-02-01T07:30:27.760Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-01T07:30:31.249Z] Removing intermediate container 149fe6c30c59 [2021-02-01T07:30:31.249Z] ---> 3eda8c7c1884 [2021-02-01T07:30:31.249Z] Successfully built 3eda8c7c1884 [2021-02-01T07:30:31.249Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:30:31.685Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T07:30:31.685Z] . [Pipeline] withDockerContainer [2021-02-01T07:30:31.950Z] prd-ubuntu18.04-docker-arm64-4c-16g-24305 does not seem to be running inside a container [2021-02-01T07:30:32.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-02-01T07:30:33.407Z] $ docker top afa79f5173629f44b0fdc66857fea7ccc9d540308d17d38af113850f4e5e0ea9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T07:30:34.519Z] + go version [2021-02-01T07:30:34.519Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-01T07:30:34.577Z] $ docker stop --time=1 afa79f5173629f44b0fdc66857fea7ccc9d540308d17d38af113850f4e5e0ea9 [2021-02-01T07:30:34.648Z] using credential edgex-jenkins-ssh [2021-02-01T07:30:34.704Z] Cloning the remote Git repository [2021-02-01T07:30:34.779Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T07:30:34.894Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-01T07:30:35.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T07:30:35.076Z] > git --version # timeout=10 [2021-02-01T07:30:35.102Z] > git --version # 'git version 2.24.3' [2021-02-01T07:30:35.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T07:30:35.187Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T07:30:36.508Z] $ docker rm -f afa79f5173629f44b0fdc66857fea7ccc9d540308d17d38af113850f4e5e0ea9 [2021-02-01T07:30:36.669Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b36bb853df962b2c3f537a6caa55bf08c63b7f0d [Pipeline] // withDockerContainer [2021-02-01T07:30:36.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T07:30:36.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T07:30:36.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T07:30:36.252Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T07:30:36.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T07:30:36.261Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/767/head:refs/remotes/origin/PR-767 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T07:30:36.683Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T07:30:36.762Z] > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 [2021-02-01T07:30:36.940Z] > git remote # timeout=10 [Pipeline] } [2021-02-01T07:30:37.037Z] Merge succeeded, producing b36bb853df962b2c3f537a6caa55bf08c63b7f0d [2021-02-01T07:30:37.037Z] Checking out Revision b36bb853df962b2c3f537a6caa55bf08c63b7f0d (PR-767) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:30:38.004Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T07:30:38.004Z] . [Pipeline] withDockerContainer [2021-02-01T07:30:38.272Z] prd-ubuntu18.04-docker-arm64-4c-16g-24305 does not seem to be running inside a container [2021-02-01T07:30:36.953Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T07:30:36.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T07:30:36.995Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T07:30:37.019Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T07:30:37.044Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T07:30:37.071Z] > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 [2021-02-01T07:30:38.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-02-01T07:30:39.880Z] $ docker top a55f78c1a15d4addbf4ff06e41f94d2dd8a40b22f1b85c8316cbad9ee19621b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T07:30:41.006Z] + make test [2021-02-01T07:30:41.006Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T07:30:41.669Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-01T07:30:41.702Z] > git --version # timeout=10 [2021-02-01T07:30:41.720Z] > git --version # 'git version 2.24.3' [2021-02-01T07:30:41.737Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T07:30:43.435Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-01T07:30:43.953Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T07:30:44.361Z] + sudo service docker restart [2021-02-01T07:30:44.361Z] + true [2021-02-01T07:30:44.361Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T07:30:45.929Z] provisioning config files... [2021-02-01T07:30:45.970Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config76331284738378032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:30:46.396Z] ---> docker-login.sh [2021-02-01T07:30:46.396Z] nexus3.edgexfoundry.org:10001 [2021-02-01T07:30:47.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:30:47.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:30:47.309Z] Configure a credential helper to remove this warning. See [2021-02-01T07:30:47.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:30:47.309Z] [2021-02-01T07:30:47.309Z] Login Succeeded [2021-02-01T07:30:47.309Z] nexus3.edgexfoundry.org:10002 [2021-02-01T07:30:47.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:30:47.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:30:47.580Z] Configure a credential helper to remove this warning. See [2021-02-01T07:30:47.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:30:47.580Z] [2021-02-01T07:30:47.580Z] Login Succeeded [2021-02-01T07:30:47.580Z] nexus3.edgexfoundry.org:10003 [2021-02-01T07:30:47.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:30:47.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:30:47.857Z] Configure a credential helper to remove this warning. See [2021-02-01T07:30:47.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:30:47.857Z] [2021-02-01T07:30:47.857Z] Login Succeeded [2021-02-01T07:30:47.857Z] nexus3.edgexfoundry.org:10004 [2021-02-01T07:30:48.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:30:48.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:30:48.176Z] Configure a credential helper to remove this warning. See [2021-02-01T07:30:48.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:30:48.176Z] [2021-02-01T07:30:48.176Z] Login Succeeded [2021-02-01T07:30:48.176Z] docker.io [2021-02-01T07:30:48.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T07:30:48.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T07:30:48.741Z] Configure a credential helper to remove this warning. See [2021-02-01T07:30:48.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T07:30:48.741Z] [2021-02-01T07:30:48.741Z] Login Succeeded [2021-02-01T07:30:48.741Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T07:30:48.789Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T07:30:50.101Z] ========================================================= [2021-02-01T07:30:50.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-01T07:30:50.101Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:30:50.505Z] + 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-02-01T07:30:50.788Z] Sending build context to Docker daemon 2.493MB [2021-02-01T07:30:50.788Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T07:30:50.788Z] Step 2/8 : FROM ${BASE} [2021-02-01T07:30:50.788Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-01T07:30:50.788Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T07:30:50.788Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T07:30:50.788Z] de9db76c5a1d: Pulling fs layer [2021-02-01T07:30:50.788Z] bca2f99d35d6: Pulling fs layer [2021-02-01T07:30:50.788Z] 93359f2a8cfa: Pulling fs layer [2021-02-01T07:30:50.788Z] 7c6f9722023f: Pulling fs layer [2021-02-01T07:30:50.788Z] a35cf1a2eb13: Pulling fs layer [2021-02-01T07:30:50.788Z] 93359f2a8cfa: Waiting [2021-02-01T07:30:50.788Z] a35cf1a2eb13: Waiting [2021-02-01T07:30:50.788Z] 7c6f9722023f: Waiting [2021-02-01T07:30:50.789Z] bca2f99d35d6: Waiting [2021-02-01T07:30:50.789Z] de9db76c5a1d: Verifying Checksum [2021-02-01T07:30:50.789Z] de9db76c5a1d: Download complete [2021-02-01T07:30:50.789Z] 0ef7d3d256c8: Verifying Checksum [2021-02-01T07:30:50.789Z] 0ef7d3d256c8: Download complete [2021-02-01T07:30:50.789Z] 93359f2a8cfa: Download complete [2021-02-01T07:30:51.070Z] 7c6f9722023f: Verifying Checksum [2021-02-01T07:30:51.070Z] 7c6f9722023f: Download complete [2021-02-01T07:30:51.070Z] 188c0c94c7c5: Download complete [2021-02-01T07:30:51.351Z] 188c0c94c7c5: Pull complete [2021-02-01T07:30:51.619Z] 0ef7d3d256c8: Pull complete [2021-02-01T07:30:51.883Z] de9db76c5a1d: Pull complete [2021-02-01T07:30:54.561Z] a35cf1a2eb13: Verifying Checksum [2021-02-01T07:30:54.561Z] a35cf1a2eb13: Download complete [2021-02-01T07:30:56.025Z] bca2f99d35d6: Download complete [2021-02-01T07:31:03.205Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T07:31:08.542Z] bca2f99d35d6: Pull complete [2021-02-01T07:31:08.542Z] 93359f2a8cfa: Pull complete [2021-02-01T07:31:08.542Z] 7c6f9722023f: Pull complete [2021-02-01T07:31:14.106Z] a35cf1a2eb13: Pull complete [2021-02-01T07:31:14.106Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-01T07:31:14.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-01T07:31:14.106Z] ---> a62c8e92a672 [2021-02-01T07:31:14.106Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T07:31:14.106Z] ---> Running in bfae8c6c3fa0 [2021-02-01T07:31:14.106Z] Removing intermediate container bfae8c6c3fa0 [2021-02-01T07:31:14.106Z] ---> f77120ff05d1 [2021-02-01T07:31:14.106Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T07:31:14.374Z] ---> Running in 168cb6684017 [2021-02-01T07:31:15.818Z] Removing intermediate container 168cb6684017 [2021-02-01T07:31:15.818Z] ---> 6860ffa90291 [2021-02-01T07:31:15.818Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T07:31:15.818Z] ---> Running in 12fc1cd29809 [2021-02-01T07:31:16.793Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T07:31:17.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T07:31:18.031Z] OK: 166 MiB in 39 packages [2021-02-01T07:31:18.637Z] Removing intermediate container 12fc1cd29809 [2021-02-01T07:31:18.637Z] ---> 4b5db058cc67 [2021-02-01T07:31:18.637Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T07:31:18.637Z] ---> Running in b371499c4bd4 [2021-02-01T07:31:18.919Z] Removing intermediate container b371499c4bd4 [2021-02-01T07:31:18.919Z] ---> 89071fcd1bd0 [2021-02-01T07:31:18.919Z] Step 7/8 : COPY . . [2021-02-01T07:31:20.393Z] ---> cb3f1e62c7dd [2021-02-01T07:31:20.393Z] Step 8/8 : RUN go mod download [2021-02-01T07:31:20.393Z] ---> Running in b5d73daf0716 [2021-02-01T07:31:42.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T07:31:42.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T07:31:42.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T07:31:42.254Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.203s coverage: 19.4% of statements [2021-02-01T07:31:42.764Z] Removing intermediate container b5d73daf0716 [2021-02-01T07:31:42.764Z] ---> ebd6d5e7e0c4 [2021-02-01T07:31:42.764Z] Successfully built ebd6d5e7e0c4 [2021-02-01T07:31:42.764Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:31:43.169Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T07:31:43.169Z] . [Pipeline] withDockerContainer [2021-02-01T07:31:43.449Z] prd-centos7-docker-4c-2g-24306 does not seem to be running inside a container [2021-02-01T07:31:43.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-02-01T07:31:44.978Z] $ docker top 393574f622013f6527a2b5f768873b8d69167c2f7bd68c570ad603338bbd7854 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T07:31:45.748Z] + go version [2021-02-01T07:31:45.748Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-01T07:31:45.800Z] $ docker stop --time=1 393574f622013f6527a2b5f768873b8d69167c2f7bd68c570ad603338bbd7854 [2021-02-01T07:31:47.322Z] $ docker rm -f 393574f622013f6527a2b5f768873b8d69167c2f7bd68c570ad603338bbd7854 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:31:48.569Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T07:31:48.569Z] . [Pipeline] withDockerContainer [2021-02-01T07:31:48.752Z] prd-centos7-docker-4c-2g-24306 does not seem to be running inside a container [2021-02-01T07:31:48.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-02-01T07:31:49.001Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.124s coverage: 97.1% of statements [2021-02-01T07:31:49.928Z] $ docker top e79ec8492f7e7b27a8bf65d343a927e04324d52ecac77bbeb81983c7ec66227e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T07:31:50.672Z] + make test [2021-02-01T07:31:50.672Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T07:32:03.320Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T07:32:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.180s coverage: 9.4% of statements [2021-02-01T07:32:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T07:32:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.576s coverage: 43.6% of statements [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T07:32:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.773s coverage: 68.9% of statements [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T07:32:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 53.8% of statements [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T07:32:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.183s coverage: 25.2% of statements [2021-02-01T07:32:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.719s coverage: 83.5% of statements [2021-02-01T07:32:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 4.2% of statements [2021-02-01T07:32:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T07:32:16.111Z] GO111MODULE=on go vet ./... [2021-02-01T07:32:36.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T07:32:36.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T07:32:36.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T07:32:36.877Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 19.4% of statements [2021-02-01T07:32:41.481Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.119s coverage: 97.1% of statements [2021-02-01T07:32:55.264Z] gofmt -l . [2021-02-01T07:32:55.264Z] [ "`gofmt -l .`" = "" ] [2021-02-01T07:32:55.264Z] ./bin/test-attribution-txt.sh [2021-02-01T07:32:55.264Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T07:32:55.301Z] $ docker stop --time=1 a55f78c1a15d4addbf4ff06e41f94d2dd8a40b22f1b85c8316cbad9ee19621b0 [2021-02-01T07:32:57.389Z] $ docker rm -f a55f78c1a15d4addbf4ff06e41f94d2dd8a40b22f1b85c8316cbad9ee19621b0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T07:32:58.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T07:32:59.317Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T07:33:03.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T07:33:03.494Z] + ls -al . [2021-02-01T07:33:03.494Z] total 252 [2021-02-01T07:33:03.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 07:32 . [2021-02-01T07:33:03.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 07:29 .. [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 07:29 .dockerignore [2021-02-01T07:33:03.494Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 07:29 .git [2021-02-01T07:33:03.494Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 07:29 .github [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 07:29 .gitignore [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 07:29 Dockerfile.build [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 1 07:29 Jenkinsfile [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 07:29 LICENSE [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 07:29 Makefile [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 07:29 README.md [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 07:29 RELEASE-NOTES.txt [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 07:27 VERSION [2021-02-01T07:33:03.494Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 07:29 bin [2021-02-01T07:33:03.494Z] -rw-r--r-- 1 jenkins jenkins 137332 Feb 1 07:32 coverage.out [2021-02-01T07:33:03.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 07:29 example [2021-02-01T07:33:03.494Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 1 07:32 go.mod [2021-02-01T07:33:03.494Z] -rw-r--r-- 1 jenkins jenkins 14193 Feb 1 07:32 go.sum [2021-02-01T07:33:03.494Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 1 07:29 internal [2021-02-01T07:33:03.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 07:29 openapi [2021-02-01T07:33:03.494Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 07:29 pkg [2021-02-01T07:33:03.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 07:29 snap [2021-02-01T07:33:03.494Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 07:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:33:03.865Z] + 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=b36bb853df962b2c3f537a6caa55bf08c63b7f0d --label arch=arm64 --label version=0.0.0 . [2021-02-01T07:33:04.140Z] Sending build context to Docker daemon 2.639MB [2021-02-01T07:33:04.140Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T07:33:04.140Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T07:33:04.140Z] ---> 3eda8c7c1884 [2021-02-01T07:33:04.140Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T07:33:04.411Z] ---> Running in cbd588cad08b [2021-02-01T07:33:05.004Z] Removing intermediate container cbd588cad08b [2021-02-01T07:33:05.004Z] ---> 924e92dc237b [2021-02-01T07:33:05.004Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T07:33:05.004Z] ---> Running in ed297e7296fd [2021-02-01T07:33:05.603Z] Removing intermediate container ed297e7296fd [2021-02-01T07:33:05.603Z] ---> fc97f54c0a0b [2021-02-01T07:33:05.603Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T07:33:05.603Z] ---> Running in e11f7c10d123 [2021-02-01T07:33:06.204Z] Removing intermediate container e11f7c10d123 [2021-02-01T07:33:06.204Z] ---> 3eead3e9da41 [2021-02-01T07:33:06.204Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T07:33:06.204Z] ---> Running in d8f18ce59509 [2021-02-01T07:33:08.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.159s coverage: 9.4% of statements [2021-02-01T07:33:08.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.093s coverage: 21.7% of statements [2021-02-01T07:33:08.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T07:33:08.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.593s coverage: 43.6% of statements [2021-02-01T07:33:08.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T07:33:08.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.458s coverage: 68.9% of statements [2021-02-01T07:33:08.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T07:33:08.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T07:33:08.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T07:33:08.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T07:33:08.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 53.8% of statements [2021-02-01T07:33:08.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T07:33:08.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T07:33:08.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.250s coverage: 25.2% of statements [2021-02-01T07:33:08.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.822s coverage: 83.5% of statements [2021-02-01T07:33:08.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 4.2% of statements [2021-02-01T07:33:08.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T07:33:08.681Z] GO111MODULE=on go vet ./... [2021-02-01T07:33:08.831Z] Removing intermediate container d8f18ce59509 [2021-02-01T07:33:08.831Z] ---> bf20c1c2b58d [2021-02-01T07:33:08.831Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T07:33:08.831Z] ---> Running in ffcb12479537 [2021-02-01T07:33:09.809Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T07:33:10.415Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T07:33:11.011Z] OK: 142 MiB in 39 packages [2021-02-01T07:33:11.998Z] Removing intermediate container ffcb12479537 [2021-02-01T07:33:11.998Z] ---> 7f624a83ee98 [2021-02-01T07:33:11.998Z] Step 8/24 : COPY . . [2021-02-01T07:33:13.428Z] ---> b43f9c5720a5 [2021-02-01T07:33:13.428Z] Step 9/24 : RUN ${MAKE} [2021-02-01T07:33:13.722Z] ---> Running in 3490a8869ceb [2021-02-01T07:33:14.702Z] 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-02-01T07:33:31.284Z] gofmt -l . [2021-02-01T07:33:31.284Z] [ "`gofmt -l .`" = "" ] [2021-02-01T07:33:31.284Z] ./bin/test-attribution-txt.sh [2021-02-01T07:33:31.284Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T07:33:31.323Z] $ docker stop --time=1 e79ec8492f7e7b27a8bf65d343a927e04324d52ecac77bbeb81983c7ec66227e [2021-02-01T07:33:33.553Z] $ docker rm -f e79ec8492f7e7b27a8bf65d343a927e04324d52ecac77bbeb81983c7ec66227e [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T07:33:34.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T07:33:34.530Z] Warning: overwriting stash ‘coverage-report’ [2021-02-01T07:33:35.282Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-01T07:33:36.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T07:33:36.478Z] + ls -al . [2021-02-01T07:33:36.478Z] total 216 [2021-02-01T07:33:36.478Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 07:33 . [2021-02-01T07:33:36.478Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 1 07:30 .. [2021-02-01T07:33:36.478Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 07:30 bin [2021-02-01T07:33:36.478Z] -rw-r--r--. 1 jenkins jenkins 137332 Feb 1 07:33 coverage.out [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 07:30 Dockerfile.build [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 07:30 .dockerignore [2021-02-01T07:33:36.478Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 07:30 example [2021-02-01T07:33:36.478Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 07:30 .git [2021-02-01T07:33:36.478Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 07:30 .github [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 07:30 .gitignore [2021-02-01T07:33:36.478Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 1 07:33 go.mod [2021-02-01T07:33:36.478Z] -rw-r--r--. 1 jenkins jenkins 14193 Feb 1 07:33 go.sum [2021-02-01T07:33:36.478Z] drwxrwxr-x. 15 jenkins jenkins 211 Feb 1 07:30 internal [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 1 07:30 Jenkinsfile [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 07:30 LICENSE [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 07:30 Makefile [2021-02-01T07:33:36.478Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 07:30 openapi [2021-02-01T07:33:36.478Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 07:30 pkg [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 07:30 README.md [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 07:30 RELEASE-NOTES.txt [2021-02-01T07:33:36.478Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 07:30 snap [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 07:27 VERSION [2021-02-01T07:33:36.478Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 07:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:33:36.892Z] + 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=b36bb853df962b2c3f537a6caa55bf08c63b7f0d --label arch=amd64 --label version=0.0.0 . [2021-02-01T07:33:37.184Z] Sending build context to Docker daemon 2.631MB [2021-02-01T07:33:37.184Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T07:33:37.184Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T07:33:37.184Z] ---> ebd6d5e7e0c4 [2021-02-01T07:33:37.184Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T07:33:37.785Z] ---> Running in 0e32ad9577c9 [2021-02-01T07:33:38.057Z] Removing intermediate container 0e32ad9577c9 [2021-02-01T07:33:38.057Z] ---> a65fa48eca22 [2021-02-01T07:33:38.057Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T07:33:38.057Z] ---> Running in bdcd56edb9d0 [2021-02-01T07:33:38.327Z] Removing intermediate container bdcd56edb9d0 [2021-02-01T07:33:38.327Z] ---> 7501b5479253 [2021-02-01T07:33:38.327Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T07:33:38.327Z] ---> Running in f2a0fde5c672 [2021-02-01T07:33:38.596Z] Removing intermediate container f2a0fde5c672 [2021-02-01T07:33:38.596Z] ---> 5c4b596ecdab [2021-02-01T07:33:38.596Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T07:33:38.596Z] ---> Running in 98533a725944 [2021-02-01T07:33:40.603Z] Removing intermediate container 98533a725944 [2021-02-01T07:33:40.603Z] ---> 2ad5119ee1aa [2021-02-01T07:33:40.603Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T07:33:40.603Z] ---> Running in e71ca2d25b86 [2021-02-01T07:33:41.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T07:33:41.793Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T07:33:41.882Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T07:33:41.882Z] Removing intermediate container 3490a8869ceb [2021-02-01T07:33:41.882Z] ---> 9ddddc71a682 [2021-02-01T07:33:41.882Z] Step 10/24 : FROM scratch [2021-02-01T07:33:41.882Z] ---> [2021-02-01T07:33:41.882Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T07:33:41.882Z] ---> Running in 26bdef7bd0f3 [2021-02-01T07:33:41.882Z] Removing intermediate container 26bdef7bd0f3 [2021-02-01T07:33:41.882Z] ---> 7f517ffcd70f [2021-02-01T07:33:41.882Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T07:33:42.153Z] ---> Running in 34ec15dc9cb0 [2021-02-01T07:33:42.395Z] OK: 166 MiB in 39 packages [2021-02-01T07:33:42.423Z] Removing intermediate container 34ec15dc9cb0 [2021-02-01T07:33:42.423Z] ---> a3e576fe6f14 [2021-02-01T07:33:42.423Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T07:33:42.697Z] ---> Running in 89327a5b2ea8 [2021-02-01T07:33:42.971Z] Removing intermediate container 89327a5b2ea8 [2021-02-01T07:33:42.971Z] ---> 36ebcc89d014 [2021-02-01T07:33:42.971Z] Step 14/24 : WORKDIR / [2021-02-01T07:33:42.971Z] ---> Running in f72d80b42029 [2021-02-01T07:33:42.987Z] Removing intermediate container e71ca2d25b86 [2021-02-01T07:33:42.987Z] ---> 2e4be42e1e52 [2021-02-01T07:33:42.987Z] Step 8/24 : COPY . . [2021-02-01T07:33:43.565Z] Removing intermediate container f72d80b42029 [2021-02-01T07:33:43.565Z] ---> 8bde761cf693 [2021-02-01T07:33:43.565Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T07:33:43.963Z] ---> f4b8d8be2843 [2021-02-01T07:33:43.963Z] Step 9/24 : RUN ${MAKE} [2021-02-01T07:33:43.963Z] ---> Running in 9c4158923fdb [2021-02-01T07:33:44.549Z] ---> f698447c6c25 [2021-02-01T07:33:44.550Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T07:33:44.560Z] 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-02-01T07:33:45.527Z] ---> 9bcff2d7b368 [2021-02-01T07:33:45.527Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T07:33:46.125Z] ---> 4eab9f122090 [2021-02-01T07:33:46.125Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T07:33:46.727Z] ---> 2ccf2edfa02a [2021-02-01T07:33:46.727Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T07:33:47.323Z] ---> d0ee956ef24b [2021-02-01T07:33:47.324Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T07:33:47.603Z] ---> Running in b9b5d7079540 [2021-02-01T07:33:47.876Z] Removing intermediate container b9b5d7079540 [2021-02-01T07:33:47.876Z] ---> 3342a7d5b75d [2021-02-01T07:33:47.876Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T07:33:48.155Z] ---> Running in 7a1e314d2a55 [2021-02-01T07:33:48.748Z] Removing intermediate container 7a1e314d2a55 [2021-02-01T07:33:48.748Z] ---> 3df1b5c69812 [2021-02-01T07:33:48.748Z] Step 22/24 : LABEL arch=arm64 [2021-02-01T07:33:48.748Z] ---> Running in 7cd32da7d07f [2021-02-01T07:33:49.342Z] Removing intermediate container 7cd32da7d07f [2021-02-01T07:33:49.342Z] ---> ac60e610598d [2021-02-01T07:33:49.342Z] Step 23/24 : LABEL git_sha=b36bb853df962b2c3f537a6caa55bf08c63b7f0d [2021-02-01T07:33:49.342Z] ---> Running in de6caef37a4c [2021-02-01T07:33:49.939Z] Removing intermediate container de6caef37a4c [2021-02-01T07:33:49.940Z] ---> f4dafee43b8b [2021-02-01T07:33:49.940Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T07:33:49.940Z] ---> Running in c9260d93af3e [2021-02-01T07:33:50.532Z] Removing intermediate container c9260d93af3e [2021-02-01T07:33:50.532Z] ---> c6e5fd9ee664 [2021-02-01T07:33:50.532Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T07:33:50.532Z] Successfully built c6e5fd9ee664 [2021-02-01T07:33:50.532Z] 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] } [2021-02-01T07:34:03.085Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T07:34:04.533Z] Removing intermediate container 9c4158923fdb [2021-02-01T07:34:04.533Z] ---> 885f44a8d93c [2021-02-01T07:34:04.533Z] Step 10/24 : FROM scratch [2021-02-01T07:34:04.533Z] ---> [2021-02-01T07:34:04.533Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T07:34:04.533Z] ---> Running in f2e3fdc07ecb [2021-02-01T07:34:04.807Z] Removing intermediate container f2e3fdc07ecb [2021-02-01T07:34:04.807Z] ---> f247323172f2 [2021-02-01T07:34:04.807Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T07:34:04.807Z] ---> Running in 9ce9ea74f40d [2021-02-01T07:34:05.072Z] Removing intermediate container 9ce9ea74f40d [2021-02-01T07:34:05.072Z] ---> 059e9d065413 [2021-02-01T07:34:05.072Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T07:34:05.072Z] ---> Running in fb74cf3dd178 [2021-02-01T07:34:05.353Z] Removing intermediate container fb74cf3dd178 [2021-02-01T07:34:05.353Z] ---> 954c49c1da5a [2021-02-01T07:34:05.353Z] Step 14/24 : WORKDIR / [2021-02-01T07:34:05.353Z] ---> Running in 12675593e36c [2021-02-01T07:34:05.626Z] Removing intermediate container 12675593e36c [2021-02-01T07:34:05.626Z] ---> 79332078f580 [2021-02-01T07:34:05.626Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T07:34:07.058Z] ---> 8b2edb80d46a [2021-02-01T07:34:07.058Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T07:34:07.338Z] ---> 141713d4bbac [2021-02-01T07:34:07.338Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T07:34:08.007Z] ---> ba7cf40a6f5d [2021-02-01T07:34:08.007Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T07:34:08.281Z] ---> 0bb0a722c4c1 [2021-02-01T07:34:08.281Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T07:34:08.548Z] ---> ba81f9d5f847 [2021-02-01T07:34:08.548Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T07:34:08.817Z] ---> Running in 3f020ca93471 [2021-02-01T07:34:09.091Z] Removing intermediate container 3f020ca93471 [2021-02-01T07:34:09.091Z] ---> ddd9e9eb8ba6 [2021-02-01T07:34:09.091Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T07:34:09.091Z] ---> Running in 1297f16fe434 [2021-02-01T07:34:09.363Z] Removing intermediate container 1297f16fe434 [2021-02-01T07:34:09.363Z] ---> d35e07250e52 [2021-02-01T07:34:09.363Z] Step 22/24 : LABEL arch=amd64 [2021-02-01T07:34:09.363Z] ---> Running in cd434bfd05cf [2021-02-01T07:34:09.645Z] Removing intermediate container cd434bfd05cf [2021-02-01T07:34:09.645Z] ---> d05d6b00cd65 [2021-02-01T07:34:09.645Z] Step 23/24 : LABEL git_sha=b36bb853df962b2c3f537a6caa55bf08c63b7f0d [2021-02-01T07:34:09.916Z] ---> Running in 30047295a061 [2021-02-01T07:34:10.196Z] Removing intermediate container 30047295a061 [2021-02-01T07:34:10.196Z] ---> 362df8c5a694 [2021-02-01T07:34:10.196Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T07:34:10.196Z] ---> Running in e5f1204a0c33 [2021-02-01T07:34:10.475Z] Removing intermediate container e5f1204a0c33 [2021-02-01T07:34:10.475Z] ---> b6884d99765a [2021-02-01T07:34:10.475Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T07:34:10.475Z] Successfully built b6884d99765a [2021-02-01T07:34:10.475Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-01T07:34:12.834Z] provisioning config files... [2021-02-01T07:34:12.849Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/config7109397014818155047tmp [Pipeline] { [Pipeline] sh [2021-02-01T07:34:13.280Z] + set +x [2021-02-01T07:34:13.280Z] + curl -s https://codecov.io/bash [2021-02-01T07:34:13.280Z] + bash -s -- [2021-02-01T07:34:13.543Z] [2021-02-01T07:34:13.543Z] _____ _ [2021-02-01T07:34:13.543Z] / ____| | | [2021-02-01T07:34:13.543Z] | | ___ __| | ___ ___ _____ __ [2021-02-01T07:34:13.543Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-01T07:34:13.543Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-01T07:34:13.543Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-01T07:34:13.543Z] Bash-20210129-7c25fce [2021-02-01T07:34:13.543Z] [2021-02-01T07:34:13.543Z] [2021-02-01T07:34:13.543Z] ==> git version 2.24.3 found [2021-02-01T07:34:13.543Z] ==> 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-02-01T07:34:13.543Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-01T07:34:13.543Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-01T07:34:13.543Z] ==> Jenkins CI detected. [2021-02-01T07:34:13.543Z] project root: . [2021-02-01T07:34:13.543Z] --> token set from env [2021-02-01T07:34:13.543Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-01T07:34:13.543Z] ==> Running gcov in . (disable via -X gcov) [2021-02-01T07:34:13.543Z] ==> Python coveragepy not found [2021-02-01T07:34:13.543Z] ==> Searching for coverage reports in: [2021-02-01T07:34:13.543Z] + . [2021-02-01T07:34:13.543Z] -> Found 1 reports [2021-02-01T07:34:13.543Z] ==> Detecting git/mercurial file structure [2021-02-01T07:34:13.543Z] ==> Reading reports [2021-02-01T07:34:13.543Z] + ./coverage.out bytes=137332 [2021-02-01T07:34:13.806Z] ==> Appending adjustments [2021-02-01T07:34:13.806Z] https://docs.codecov.io/docs/fixing-reports [2021-02-01T07:34:14.070Z] + Found adjustments [2021-02-01T07:34:14.070Z] ==> Gzipping contents [2021-02-01T07:34:14.070Z] 24K /tmp/codecov.t4Dtt8.gz [2021-02-01T07:34:14.070Z] ==> Uploading reports [2021-02-01T07:34:14.070Z] url: https://codecov.io [2021-02-01T07:34:14.070Z] query: branch=PR-767&commit=b36bb853df962b2c3f537a6caa55bf08c63b7f0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-767%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=767&job=&cmd_args= [2021-02-01T07:34:14.070Z] -> Pinging Codecov [2021-02-01T07:34:14.070Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-767&commit=b36bb853df962b2c3f537a6caa55bf08c63b7f0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-767%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=767&job=&cmd_args= [2021-02-01T07:34:14.643Z] -> Uploading to [2021-02-01T07:34:14.643Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/b36bb853df962b2c3f537a6caa55bf08c63b7f0d/bb4d576f-af91-4dbc-9e9d-24e2fbff20a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T073414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=addd74cf6c5687d179109a29f264dac05baa27121e8c65506fcb10f063db8314 [2021-02-01T07:34:14.643Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-01T07:34:14.643Z] Dload Upload Total Spent Left Speed [2021-02-01T07:34:15.220Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21639 0 0 100 21639 0 43245 --:--:-- --:--:-- --:--:-- 43191 [2021-02-01T07:34:15.220Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b36bb853df962b2c3f537a6caa55bf08c63b7f0d [Pipeline] } [2021-02-01T07:34:15.255Z] 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-02-01T07:34:18.531Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:34:18.884Z] ---> package-listing.sh [2021-02-01T07:34:18.884Z] ++ facter osfamily [2021-02-01T07:34:18.884Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-01T07:34:18.884Z] + OS_FAMILY=redhat [2021-02-01T07:34:18.884Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-767 [2021-02-01T07:34:18.884Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-01T07:34:18.884Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-01T07:34:18.884Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-01T07:34:18.884Z] + PACKAGES=/tmp/packages_start.txt [2021-02-01T07:34:18.884Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-767 ']' [2021-02-01T07:34:18.884Z] + PACKAGES=/tmp/packages_end.txt [2021-02-01T07:34:18.884Z] + case "${OS_FAMILY}" in [2021-02-01T07:34:18.884Z] + rpm -qa [2021-02-01T07:34:18.884Z] + sort [2021-02-01T07:34:24.208Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-01T07:34:24.208Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-01T07:34:24.208Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-01T07:34:24.208Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-767 ']' [2021-02-01T07:34:24.208Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-767/archives/ [2021-02-01T07:34:24.208Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-767/archives/ [Pipeline] echo [2021-02-01T07:34:24.247Z] 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-767/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-01T07:34:24.574Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:34:24.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T07:34:24.916Z] [2021-02-01T07:34:24.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-01T07:34:25.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T07:34:25.302Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-01T07:34:25.302Z] df20fa9351a1: Pulling fs layer [2021-02-01T07:34:25.302Z] 36b3adc4ff6f: Pulling fs layer [2021-02-01T07:34:25.302Z] 8ad3a11d3b57: Pulling fs layer [2021-02-01T07:34:25.302Z] 46f8f816bc3b: Pulling fs layer [2021-02-01T07:34:25.302Z] 93b61091891f: Pulling fs layer [2021-02-01T07:34:25.302Z] 93b9cdb0e59b: Pulling fs layer [2021-02-01T07:34:25.302Z] 5e14af77c1be: Pulling fs layer [2021-02-01T07:34:25.302Z] 01666e4c0597: Pulling fs layer [2021-02-01T07:34:25.302Z] aa168da1d23b: Pulling fs layer [2021-02-01T07:34:25.302Z] 93b9cdb0e59b: Waiting [2021-02-01T07:34:25.302Z] 46f8f816bc3b: Waiting [2021-02-01T07:34:25.302Z] 5e14af77c1be: Waiting [2021-02-01T07:34:25.302Z] 93b61091891f: Waiting [2021-02-01T07:34:25.302Z] 01666e4c0597: Waiting [2021-02-01T07:34:25.302Z] aa168da1d23b: Waiting [2021-02-01T07:34:25.302Z] 36b3adc4ff6f: Verifying Checksum [2021-02-01T07:34:25.302Z] 36b3adc4ff6f: Download complete [2021-02-01T07:34:25.302Z] 46f8f816bc3b: Verifying Checksum [2021-02-01T07:34:25.302Z] 46f8f816bc3b: Download complete [2021-02-01T07:34:25.574Z] df20fa9351a1: Verifying Checksum [2021-02-01T07:34:25.574Z] df20fa9351a1: Download complete [2021-02-01T07:34:25.574Z] 93b9cdb0e59b: Verifying Checksum [2021-02-01T07:34:25.574Z] 93b9cdb0e59b: Download complete [2021-02-01T07:34:25.574Z] 5e14af77c1be: Verifying Checksum [2021-02-01T07:34:25.574Z] 5e14af77c1be: Download complete [2021-02-01T07:34:25.574Z] 93b61091891f: Verifying Checksum [2021-02-01T07:34:25.574Z] 93b61091891f: Download complete [2021-02-01T07:34:25.574Z] 01666e4c0597: Verifying Checksum [2021-02-01T07:34:25.574Z] 01666e4c0597: Download complete [2021-02-01T07:34:25.851Z] df20fa9351a1: Pull complete [2021-02-01T07:34:26.117Z] 36b3adc4ff6f: Pull complete [2021-02-01T07:34:26.117Z] 8ad3a11d3b57: Download complete [2021-02-01T07:34:27.520Z] 8ad3a11d3b57: Pull complete [2021-02-01T07:34:27.789Z] 46f8f816bc3b: Pull complete [2021-02-01T07:34:28.053Z] aa168da1d23b: Verifying Checksum [2021-02-01T07:34:28.053Z] aa168da1d23b: Download complete [2021-02-01T07:34:28.316Z] 93b61091891f: Pull complete [2021-02-01T07:34:28.316Z] 93b9cdb0e59b: Pull complete [2021-02-01T07:34:28.584Z] 5e14af77c1be: Pull complete [2021-02-01T07:34:28.584Z] 01666e4c0597: Pull complete [2021-02-01T07:34:35.237Z] aa168da1d23b: Pull complete [2021-02-01T07:34:35.237Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-01T07:34:35.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T07:34:35.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-01T07:34:35.485Z] prd-centos7-docker-4c-2g-24304 does not seem to be running inside a container [2021-02-01T07:34:35.536Z] $ 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-767/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-767 -v /w/workspace/dgexfoundry_device-sdk-go_PR-767:/w/workspace/dgexfoundry_device-sdk-go_PR-767:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-01T07:34:39.080Z] $ docker top 4ae5ffd73fbf5dbe62e2abbabaf2af3764ce7b10bd696fb3bd93e4184e2e0dc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T07:34:39.677Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-01T07:34:40.002Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-01T07:34:40.329Z] + ls /var/log/sa-host [2021-02-01T07:34:40.329Z] + sadf -c /var/log/sa-host/sa01 [2021-02-01T07:34:40.329Z] file_magic: OK [2021-02-01T07:34:40.329Z] HZ: Using current value: 100 [2021-02-01T07:34:40.329Z] file_header: OK [2021-02-01T07:34:40.329Z] 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-02-01T07:34:40.329Z] Statistics: [2021-02-01T07:34:40.329Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-01T07:34:40.329Z] File successfully converted to sysstat format version 12.2.1 [2021-02-01T07:34:40.329Z] + sadf -c /var/log/sa-host/sa23 [2021-02-01T07:34:40.329Z] file_magic: OK [2021-02-01T07:34:40.329Z] HZ: Using current value: 100 [2021-02-01T07:34:40.329Z] file_header: OK [2021-02-01T07:34:40.329Z] 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-02-01T07:34:40.329Z] Statistics: [2021-02-01T07:34:40.329Z] Hnuu...uuuununununu... [2021-02-01T07:34:40.329Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-01T07:34:40.674Z] provisioning config files... [2021-02-01T07:34:40.691Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/config547998980757201352tmp [Pipeline] { [Pipeline] echo [2021-02-01T07:34:40.836Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:34:41.177Z] ---> create-netrc.sh [Pipeline] } [2021-02-01T07:34:41.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-01T07:34:41.437Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:34:41.776Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-01T07:34:41.810Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:34:42.157Z] ---> sudo-logs.sh [2021-02-01T07:34:42.157Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-01T07:34:42.771Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:34:43.115Z] ---> job-cost.sh [2021-02-01T07:34:43.115Z] lf-activate-venv: SKIPPING [2021-02-01T07:34:43.115Z] INFO: No Stack... [2021-02-01T07:34:45.671Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-01T07:34:45.934Z] INFO: Archiving Costs [Pipeline] echo [2021-02-01T07:34:45.969Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T07:34:46.309Z] ---> logs-deploy.sh [2021-02-01T07:34:46.309Z] lf-activate-venv: SKIPPING [2021-02-01T07:34:46.310Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-767/1 [2021-02-01T07:34:46.310Z] INFO: archiving workspace using pattern(s): [2021-02-01T07:34:48.237Z] Archives upload complete. [2021-02-01T07:34:48.237Z] INFO: archiving logs to Nexus