Pull request #955 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2+93abf715a89b706c53091008ba2aa1c6f00d3b1a (e2ab2138d15ba7a6861f276289b9bdc8cea36944) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1388139685414249985.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8514461545359212574.key > 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd The recommended git tool is: git 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-955/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh171021306868126390.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7337797905142428734.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8045157265890017695.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE 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-955/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6865759126566791490.key > 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 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-842 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-955 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/jenkins-gitclient-ssh4258996539274220025.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 Merge succeeded, producing 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 Checking out Revision 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 (PR-955) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/jenkins-gitclient-ssh1483328755639072321.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/jenkins-gitclient-ssh7038637428171126805.key > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-08T05:28:03.111Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-08T05:28:03.319Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-08T05:28:03.443Z] ========================================================= [2021-06-08T05:28:03.443Z] EdgeX Global Pipelines Version Info [2021-06-08T05:28:03.443Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:28:05.042Z] ------------------- [2021-06-08T05:28:05.042Z] stable info: [2021-06-08T05:28:05.042Z] ------------------- [2021-06-08T05:28:05.042Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-08T05:28:05.042Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-08T05:28:05.042Z] Message: update stable to v1.0.193 [2021-06-08T05:28:05.998Z] ------------------- [2021-06-08T05:28:05.998Z] experimental info: [2021-06-08T05:28:05.998Z] ------------------- [2021-06-08T05:28:05.998Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-08T05:28:05.998Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-08T05:28:05.998Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-08T05:28:06.241Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-08T05:28:06.317Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-08T05:28:06.376Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-08T05:28:06.439Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-08T05:28:06.521Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-08T05:28:06.581Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-08T05:28:06.638Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-08T05:28:06.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-08T05:28:06.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-08T05:28:06.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-08T05:28:06.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-08T05:28:06.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-08T05:28:07.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-08T05:28:07.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-08T05:28:07.157Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-08T05:28:07.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T05:28:07.289Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T05:28:07.352Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T05:28:07.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-08T05:28:07.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-08T05:28:07.549Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-08T05:28:07.610Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-08T05:28:07.674Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-08T05:28:07.742Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-08T05:28:07.805Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-08T05:28:07.869Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-08T05:28:07.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-955 [Pipeline] echo [2021-06-08T05:28:07.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-955 [Pipeline] echo [2021-06-08T05:28:08.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-955 [Pipeline] echo [2021-06-08T05:28:08.124Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [Pipeline] echo [2021-06-08T05:28:08.186Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6814ce7 [Pipeline] echo [2021-06-08T05:28:08.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T05:28:08.413Z] provisioning config files... [2021-06-08T05:28:08.432Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config6601853174018564616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:28:08.821Z] ---> docker-login.sh [2021-06-08T05:28:08.821Z] nexus3.edgexfoundry.org:10001 [2021-06-08T05:28:09.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:28:09.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:28:09.404Z] Configure a credential helper to remove this warning. See [2021-06-08T05:28:09.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:28:09.404Z] [2021-06-08T05:28:09.404Z] Login Succeeded [2021-06-08T05:28:09.404Z] nexus3.edgexfoundry.org:10002 [2021-06-08T05:28:09.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:28:09.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:28:09.404Z] Configure a credential helper to remove this warning. See [2021-06-08T05:28:09.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:28:09.404Z] [2021-06-08T05:28:09.669Z] Login Succeeded [2021-06-08T05:28:09.669Z] nexus3.edgexfoundry.org:10003 [2021-06-08T05:28:09.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:28:09.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:28:09.669Z] Configure a credential helper to remove this warning. See [2021-06-08T05:28:09.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:28:09.669Z] [2021-06-08T05:28:09.669Z] Login Succeeded [2021-06-08T05:28:09.669Z] nexus3.edgexfoundry.org:10004 [2021-06-08T05:28:09.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:28:09.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:28:09.932Z] Configure a credential helper to remove this warning. See [2021-06-08T05:28:09.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:28:09.932Z] [2021-06-08T05:28:09.932Z] Login Succeeded [2021-06-08T05:28:09.932Z] docker.io [2021-06-08T05:28:09.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:28:10.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:28:10.201Z] Configure a credential helper to remove this warning. See [2021-06-08T05:28:10.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:28:10.201Z] [2021-06-08T05:28:10.201Z] Login Succeeded [2021-06-08T05:28:10.201Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T05:28:10.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T05:28:11.069Z] + git log --format=format:%s -1 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [Pipeline] echo [2021-06-08T05:28:11.163Z] GIT_COMMIT: 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2 [Pipeline] echo [2021-06-08T05:28:11.208Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:28:12.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T05:28:12.101Z] [2021-06-08T05:28:12.101Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:28:12.463Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T05:28:12.726Z] latest: Pulling from edgex-devops/git-semver [2021-06-08T05:28:12.726Z] 31603596830f: Pulling fs layer [2021-06-08T05:28:12.726Z] 54011a49482f: Pulling fs layer [2021-06-08T05:28:12.726Z] a6820b24f6d8: Pulling fs layer [2021-06-08T05:28:12.726Z] f581987b2513: Pulling fs layer [2021-06-08T05:28:12.726Z] f581987b2513: Waiting [2021-06-08T05:28:12.726Z] 54011a49482f: Verifying Checksum [2021-06-08T05:28:12.726Z] 54011a49482f: Download complete [2021-06-08T05:28:12.990Z] 31603596830f: Verifying Checksum [2021-06-08T05:28:12.990Z] 31603596830f: Download complete [2021-06-08T05:28:12.990Z] a6820b24f6d8: Verifying Checksum [2021-06-08T05:28:12.990Z] a6820b24f6d8: Download complete [2021-06-08T05:28:12.990Z] f581987b2513: Verifying Checksum [2021-06-08T05:28:12.990Z] f581987b2513: Download complete [2021-06-08T05:28:13.254Z] 31603596830f: Pull complete [2021-06-08T05:28:13.832Z] 54011a49482f: Pull complete [2021-06-08T05:28:14.411Z] a6820b24f6d8: Pull complete [2021-06-08T05:28:14.674Z] f581987b2513: Pull complete [2021-06-08T05:28:14.674Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-08T05:28:14.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T05:28:14.674Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-08T05:28:14.783Z] prd-centos7-docker-4c-2g-842 does not seem to be running inside a container [2021-06-08T05:28:14.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-955 -v /w/workspace/dgexfoundry_device-sdk-go_PR-955:/w/workspace/dgexfoundry_device-sdk-go_PR-955:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-955@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-06-08T05:28:20.994Z] $ docker top 7c1d736ff2cc42a7c641869a68700963fa0b4a9ad4c3c9b93bbac1748a0034ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T05:28:21.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T05:28:21.223Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T05:28:21.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T05:28:21.349Z] $ docker exec 7c1d736ff2cc42a7c641869a68700963fa0b4a9ad4c3c9b93bbac1748a0034ba ssh-agent [2021-06-08T05:28:21.474Z] SSH_AUTH_SOCK=/tmp/ssh-8OSBuaqRwrMG/agent.13 [2021-06-08T05:28:21.474Z] SSH_AGENT_PID=20 [2021-06-08T05:28:21.485Z] Running ssh-add (command line suppressed) [2021-06-08T05:28:21.606Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_2776578497146722904.key (/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_2776578497146722904.key) [2021-06-08T05:28:21.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T05:28:21.994Z] + git tag --points-at HEAD [Pipeline] } [2021-06-08T05:28:22.018Z] $ docker exec --env ******** --env ******** 7c1d736ff2cc42a7c641869a68700963fa0b4a9ad4c3c9b93bbac1748a0034ba ssh-agent -k [2021-06-08T05:28:22.124Z] unset SSH_AUTH_SOCK; [2021-06-08T05:28:22.125Z] unset SSH_AGENT_PID; [2021-06-08T05:28:22.125Z] echo Agent pid 20 killed; [2021-06-08T05:28:22.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-08T05:28:22.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T05:28:22.237Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T05:28:22.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T05:28:22.371Z] $ docker exec 7c1d736ff2cc42a7c641869a68700963fa0b4a9ad4c3c9b93bbac1748a0034ba ssh-agent [2021-06-08T05:28:22.492Z] SSH_AUTH_SOCK=/tmp/ssh-GJ9q5RbzNZmq/agent.52 [2021-06-08T05:28:22.492Z] SSH_AGENT_PID=58 [2021-06-08T05:28:22.498Z] Running ssh-add (command line suppressed) [2021-06-08T05:28:22.605Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_2538594280915900393.key (/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_2538594280915900393.key) [2021-06-08T05:28:22.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T05:28:22.979Z] + git semver init [2021-06-08T05:28:22.979Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T05:28:22.979Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-955/.git [2021-06-08T05:28:22.979Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-955 [2021-06-08T05:28:22.979Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T05:28:22.979Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T05:28:22.979Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T05:28:22.979Z] # $SEMVER_BRANCH = PR-955 [2021-06-08T05:28:22.979Z] # $SEMVER_TEMP = /tmp/semver-464514241 [2021-06-08T05:28:22.979Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-08T05:28:23.936Z] # '/tmp/semver-464514241' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-955/.semver' [2021-06-08T05:28:23.936Z] # -> Force: false [2021-06-08T05:28:23.936Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-955/.semver [Pipeline] } [2021-06-08T05:28:23.956Z] $ docker exec --env ******** --env ******** 7c1d736ff2cc42a7c641869a68700963fa0b4a9ad4c3c9b93bbac1748a0034ba ssh-agent -k [2021-06-08T05:28:24.072Z] unset SSH_AUTH_SOCK; [2021-06-08T05:28:24.073Z] unset SSH_AGENT_PID; [2021-06-08T05:28:24.073Z] echo Agent pid 58 killed; [2021-06-08T05:28:24.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T05:28:24.525Z] + git semver [Pipeline] } [2021-06-08T05:28:24.565Z] $ docker stop --time=1 7c1d736ff2cc42a7c641869a68700963fa0b4a9ad4c3c9b93bbac1748a0034ba [2021-06-08T05:28:26.066Z] $ docker rm -f 7c1d736ff2cc42a7c641869a68700963fa0b4a9ad4c3c9b93bbac1748a0034ba [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T05:28:26.514Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-08T05:28:26.970Z] Stashed 1 file(s) [Pipeline] echo [2021-06-08T05:28:26.997Z] [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-06-08T05:28:42.608Z] Still waiting to schedule task [2021-06-08T05:28:42.608Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-08T05:28:42.642Z] Still waiting to schedule task [2021-06-08T05:28:42.643Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-08T05:31:29.915Z] Running on prd-centos7-docker-4c-2g-843 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] ws [2021-06-08T05:31:30.008Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-08T05:31:30.180Z] Selected Git installation does not exist. Using Default [2021-06-08T05:31:30.180Z] The recommended git tool is: NONE [2021-06-08T05:31:32.630Z] using credential edgex-jenkins-ssh [2021-06-08T05:31:32.657Z] Cloning the remote Git repository [2021-06-08T05:31:32.256Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T05:31:32.328Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-08T05:31:32.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T05:31:32.373Z] > git --version # timeout=10 [2021-06-08T05:31:32.382Z] > git --version # 'git version 2.24.4' [2021-06-08T05:31:32.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T05:31:32.413Z] [INFO] Currently running in a labeled security context [2021-06-08T05:31:32.413Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T05:31:32.413Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1674683519975145638.key [2021-06-08T05:31:32.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T05:31:33.869Z] Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [2021-06-08T05:31:33.965Z] Merge succeeded, producing 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [2021-06-08T05:31:33.966Z] Checking out Revision 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 (PR-955) [2021-06-08T05:31:33.100Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T05:31:33.112Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T05:31:33.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T05:31:33.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T05:31:33.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T05:31:33.140Z] [INFO] Currently running in a labeled security context [2021-06-08T05:31:33.140Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T05:31:33.140Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5802093785276856261.key [2021-06-08T05:31:33.149Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-08T05:31:33.544Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T05:31:33.557Z] > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [2021-06-08T05:31:33.597Z] > git remote # timeout=10 [2021-06-08T05:31:33.606Z] > git config --get remote.origin.url # timeout=10 [2021-06-08T05:31:33.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T05:31:33.616Z] [INFO] Currently running in a labeled security context [2021-06-08T05:31:33.616Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T05:31:33.616Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh903975948720182044.key [2021-06-08T05:31:33.622Z] > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 [2021-06-08T05:31:33.632Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-08T05:31:33.643Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T05:31:33.648Z] > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [2021-06-08T05:31:37.393Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" [2021-06-08T05:31:37.382Z] > git --version # timeout=10 [2021-06-08T05:31:37.390Z] > git --version # 'git version 2.24.4' [2021-06-08T05:31:37.400Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T05:31:38.630Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-08T05:31:38.976Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T05:31:39.294Z] + sudo service docker restart [2021-06-08T05:31:39.294Z] + true [2021-06-08T05:31:39.294Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T05:31:57.566Z] provisioning config files... [2021-06-08T05:31:57.580Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7692259210448706414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:31:57.984Z] ---> docker-login.sh [2021-06-08T05:31:57.984Z] nexus3.edgexfoundry.org:10001 [2021-06-08T05:31:57.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:31:58.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:31:58.247Z] Configure a credential helper to remove this warning. See [2021-06-08T05:31:58.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:31:58.247Z] [2021-06-08T05:31:58.247Z] Login Succeeded [2021-06-08T05:31:58.247Z] nexus3.edgexfoundry.org:10002 [2021-06-08T05:31:58.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:31:58.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:31:58.247Z] Configure a credential helper to remove this warning. See [2021-06-08T05:31:58.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:31:58.247Z] [2021-06-08T05:31:58.247Z] Login Succeeded [2021-06-08T05:31:58.248Z] nexus3.edgexfoundry.org:10003 [2021-06-08T05:31:58.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:31:58.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:31:58.512Z] Configure a credential helper to remove this warning. See [2021-06-08T05:31:58.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:31:58.512Z] [2021-06-08T05:31:58.512Z] Login Succeeded [2021-06-08T05:31:58.512Z] nexus3.edgexfoundry.org:10004 [2021-06-08T05:31:58.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:31:58.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:31:58.512Z] Configure a credential helper to remove this warning. See [2021-06-08T05:31:58.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:31:58.512Z] [2021-06-08T05:31:58.512Z] Login Succeeded [2021-06-08T05:31:58.512Z] docker.io [2021-06-08T05:31:58.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:31:59.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:31:59.035Z] Configure a credential helper to remove this warning. See [2021-06-08T05:31:59.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:31:59.035Z] [2021-06-08T05:31:59.035Z] Login Succeeded [2021-06-08T05:31:59.035Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T05:31:59.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T05:31:59.402Z] ========================================================= [2021-06-08T05:31:59.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-08T05:31:59.402Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:31:59.755Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-08T05:31:59.755Z] Sending build context to Docker daemon 2.626MB [2021-06-08T05:31:59.755Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T05:31:59.755Z] Step 2/8 : FROM ${BASE} [2021-06-08T05:32:00.020Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-08T05:32:00.020Z] 540db60ca938: Pulling fs layer [2021-06-08T05:32:00.020Z] adcc1eea9eea: Pulling fs layer [2021-06-08T05:32:00.020Z] 4c4ab2625f07: Pulling fs layer [2021-06-08T05:32:00.020Z] 0510c868ecb4: Pulling fs layer [2021-06-08T05:32:00.020Z] afea3b2eda06: Pulling fs layer [2021-06-08T05:32:00.020Z] 7809a108b3ef: Pulling fs layer [2021-06-08T05:32:00.020Z] f706445af74f: Pulling fs layer [2021-06-08T05:32:00.020Z] 0510c868ecb4: Waiting [2021-06-08T05:32:00.020Z] afea3b2eda06: Waiting [2021-06-08T05:32:00.020Z] 7809a108b3ef: Waiting [2021-06-08T05:32:00.020Z] f706445af74f: Waiting [2021-06-08T05:32:00.020Z] 4c4ab2625f07: Verifying Checksum [2021-06-08T05:32:00.020Z] 4c4ab2625f07: Download complete [2021-06-08T05:32:00.020Z] adcc1eea9eea: Verifying Checksum [2021-06-08T05:32:00.020Z] adcc1eea9eea: Download complete [2021-06-08T05:32:00.020Z] afea3b2eda06: Verifying Checksum [2021-06-08T05:32:00.020Z] afea3b2eda06: Download complete [2021-06-08T05:32:00.020Z] 7809a108b3ef: Verifying Checksum [2021-06-08T05:32:00.020Z] 7809a108b3ef: Download complete [2021-06-08T05:32:00.020Z] 540db60ca938: Verifying Checksum [2021-06-08T05:32:00.020Z] 540db60ca938: Download complete [2021-06-08T05:32:00.284Z] 540db60ca938: Pull complete [2021-06-08T05:32:00.284Z] adcc1eea9eea: Pull complete [2021-06-08T05:32:00.546Z] 4c4ab2625f07: Pull complete [2021-06-08T05:32:01.937Z] f706445af74f: Verifying Checksum [2021-06-08T05:32:01.937Z] f706445af74f: Download complete [2021-06-08T05:32:02.207Z] 0510c868ecb4: Verifying Checksum [2021-06-08T05:32:02.207Z] 0510c868ecb4: Download complete [2021-06-08T05:32:05.550Z] 0510c868ecb4: Pull complete [2021-06-08T05:32:05.550Z] afea3b2eda06: Pull complete [2021-06-08T05:32:05.550Z] 7809a108b3ef: Pull complete [2021-06-08T05:32:06.953Z] f706445af74f: Pull complete [2021-06-08T05:32:06.953Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-08T05:32:06.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-08T05:32:06.953Z] ---> b068be0155e3 [2021-06-08T05:32:06.953Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T05:32:10.270Z] ---> Running in 27a32d71b6a8 [2021-06-08T05:32:10.270Z] Removing intermediate container 27a32d71b6a8 [2021-06-08T05:32:10.270Z] ---> bfc64ef042ba [2021-06-08T05:32:10.270Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T05:32:10.270Z] ---> Running in 867eaee8d8fa [2021-06-08T05:32:10.843Z] Removing intermediate container 867eaee8d8fa [2021-06-08T05:32:10.843Z] ---> c83e31f61b89 [2021-06-08T05:32:10.843Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-08T05:32:10.843Z] ---> Running in 49a695f06259 [2021-06-08T05:32:10.843Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T05:32:11.791Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T05:32:12.363Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-08T05:32:12.624Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-08T05:32:12.624Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-08T05:32:12.624Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-08T05:32:12.887Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-08T05:32:12.887Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-08T05:32:12.887Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T05:32:12.887Z] OK: 150 MiB in 46 packages [2021-06-08T05:32:13.154Z] Removing intermediate container 49a695f06259 [2021-06-08T05:32:13.154Z] ---> 89205efe0fc9 [2021-06-08T05:32:13.154Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-08T05:32:13.154Z] ---> Running in f98cc14783e7 [2021-06-08T05:32:13.417Z] Removing intermediate container f98cc14783e7 [2021-06-08T05:32:13.417Z] ---> 2c388d08ba01 [2021-06-08T05:32:13.417Z] Step 7/8 : COPY . . [2021-06-08T05:32:13.679Z] ---> 12c0d15c5ccf [2021-06-08T05:32:13.679Z] Step 8/8 : RUN go mod download [2021-06-08T05:32:13.679Z] ---> Running in e9d8974d0cbf [2021-06-08T05:32:25.935Z] Removing intermediate container e9d8974d0cbf [2021-06-08T05:32:25.935Z] ---> 302bce68732d [2021-06-08T05:32:25.935Z] Successfully built 302bce68732d [2021-06-08T05:32:25.935Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:32:26.296Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T05:32:26.296Z] . [Pipeline] withDockerContainer [2021-06-08T05:32:26.399Z] prd-centos7-docker-4c-2g-843 does not seem to be running inside a container [2021-06-08T05:32:26.441Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-08T05:32:26.791Z] $ docker top 5694ea79615f735c5fc667f5a4a6a14008c0b0bf65924c441f9ac4dc6cd227a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T05:32:27.217Z] + go version [2021-06-08T05:32:27.217Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-08T05:32:27.241Z] $ docker stop --time=1 5694ea79615f735c5fc667f5a4a6a14008c0b0bf65924c441f9ac4dc6cd227a0 [2021-06-08T05:32:28.422Z] $ docker rm -f 5694ea79615f735c5fc667f5a4a6a14008c0b0bf65924c441f9ac4dc6cd227a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:32:29.170Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T05:32:29.170Z] . [Pipeline] withDockerContainer [2021-06-08T05:32:29.270Z] prd-centos7-docker-4c-2g-843 does not seem to be running inside a container [2021-06-08T05:32:29.308Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-08T05:32:29.639Z] $ docker top 08b83f31fab4b2487853e6d65a2af4d88e0d28003e2a273f0263f17c74d21726 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T05:32:30.081Z] + go mod tidy [2021-06-08T05:32:30.125Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-844 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] ws [2021-06-08T05:32:30.186Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] sh [2021-06-08T05:32:30.427Z] Selected Git installation does not exist. Using Default [2021-06-08T05:32:30.427Z] The recommended git tool is: NONE [2021-06-08T05:32:30.669Z] + make test [2021-06-08T05:32:30.669Z] go mod tidy [2021-06-08T05:32:30.669Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-08T05:32:36.024Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-08T05:32:36.340Z] using credential edgex-jenkins-ssh [2021-06-08T05:32:36.391Z] Cloning the remote Git repository [2021-06-08T05:32:36.452Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T05:32:36.573Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-08T05:32:36.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T05:32:36.699Z] > git --version # timeout=10 [2021-06-08T05:32:36.719Z] > git --version # 'git version 2.17.1' [2021-06-08T05:32:36.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T05:32:36.808Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T05:32:38.706Z] Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [2021-06-08T05:32:38.968Z] Merge succeeded, producing 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [2021-06-08T05:32:38.969Z] Checking out Revision 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 (PR-955) [2021-06-08T05:32:38.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T05:32:38.130Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T05:32:38.158Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T05:32:38.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T05:32:38.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T05:32:38.208Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-08T05:32:38.734Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T05:32:38.752Z] > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [2021-06-08T05:32:38.877Z] > git remote # timeout=10 [2021-06-08T05:32:38.904Z] > git config --get remote.origin.url # timeout=10 [2021-06-08T05:32:38.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T05:32:38.935Z] > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 [2021-06-08T05:32:38.958Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-08T05:32:38.981Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T05:32:39.001Z] > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [2021-06-08T05:32:43.262Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2" [2021-06-08T05:32:43.326Z] > git --version # timeout=10 [2021-06-08T05:32:43.338Z] > git --version # 'git version 2.17.1' [2021-06-08T05:32:43.353Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T05:32:44.863Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-08T05:32:45.290Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T05:32:45.707Z] + sudo service docker restart [2021-06-08T05:32:45.707Z] + true [2021-06-08T05:32:58.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-08T05:32:58.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-08T05:32:58.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-08T05:33:00.060Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 25.4% of statements [2021-06-08T05:33:00.060Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-08T05:33:00.060Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 28.1% of statements [2021-06-08T05:33:00.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements [2021-06-08T05:33:00.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements [2021-06-08T05:33:00.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-08T05:33:00.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-08T05:33:00.329Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-08T05:33:01.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.059s coverage: 29.2% of statements [2021-06-08T05:33:01.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-08T05:33:02.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.048s coverage: 83.3% of statements [2021-06-08T05:33:02.689Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-08T05:33:02.689Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-08T05:33:02.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-06-08T05:33:03.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.827s coverage: 89.2% of statements [2021-06-08T05:33:03.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-08T05:33:03.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 5.0% of statements [2021-06-08T05:33:03.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-08T05:33:03.272Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T05:33:04.161Z] provisioning config files... [2021-06-08T05:33:04.191Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6707045434269051329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:33:04.622Z] ---> docker-login.sh [2021-06-08T05:33:04.622Z] nexus3.edgexfoundry.org:10001 [2021-06-08T05:33:05.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:33:05.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:33:05.882Z] Configure a credential helper to remove this warning. See [2021-06-08T05:33:05.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:33:05.882Z] [2021-06-08T05:33:05.882Z] Login Succeeded [2021-06-08T05:33:05.882Z] nexus3.edgexfoundry.org:10002 [2021-06-08T05:33:06.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:33:06.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:33:06.435Z] Configure a credential helper to remove this warning. See [2021-06-08T05:33:06.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:33:06.435Z] [2021-06-08T05:33:06.435Z] Login Succeeded [2021-06-08T05:33:06.435Z] nexus3.edgexfoundry.org:10003 [2021-06-08T05:33:06.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:33:06.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:33:06.988Z] Configure a credential helper to remove this warning. See [2021-06-08T05:33:06.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:33:06.988Z] [2021-06-08T05:33:06.988Z] Login Succeeded [2021-06-08T05:33:06.988Z] nexus3.edgexfoundry.org:10004 [2021-06-08T05:33:07.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:33:07.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:33:07.539Z] Configure a credential helper to remove this warning. See [2021-06-08T05:33:07.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:33:07.539Z] [2021-06-08T05:33:07.539Z] Login Succeeded [2021-06-08T05:33:07.539Z] docker.io [2021-06-08T05:33:07.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T05:33:08.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T05:33:08.093Z] Configure a credential helper to remove this warning. See [2021-06-08T05:33:08.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T05:33:08.093Z] [2021-06-08T05:33:08.093Z] Login Succeeded [2021-06-08T05:33:08.093Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T05:33:08.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T05:33:08.832Z] ========================================================= [2021-06-08T05:33:08.832Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-08T05:33:08.832Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:33:09.270Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-08T05:33:09.886Z] Sending build context to Docker daemon 2.625MB [2021-06-08T05:33:09.886Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T05:33:09.886Z] Step 2/8 : FROM ${BASE} [2021-06-08T05:33:10.165Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-08T05:33:10.165Z] 595b0fe564bb: Pulling fs layer [2021-06-08T05:33:10.165Z] 7186ed65a4f7: Pulling fs layer [2021-06-08T05:33:10.165Z] 316046926c0a: Pulling fs layer [2021-06-08T05:33:10.165Z] 4ebd0625c992: Pulling fs layer [2021-06-08T05:33:10.165Z] 207e8628e3a3: Pulling fs layer [2021-06-08T05:33:10.165Z] c791037a9be2: Pulling fs layer [2021-06-08T05:33:10.165Z] ffd874e62e21: Pulling fs layer [2021-06-08T05:33:10.165Z] 4ebd0625c992: Waiting [2021-06-08T05:33:10.165Z] c791037a9be2: Waiting [2021-06-08T05:33:10.165Z] ffd874e62e21: Waiting [2021-06-08T05:33:10.165Z] 316046926c0a: Verifying Checksum [2021-06-08T05:33:10.165Z] 316046926c0a: Download complete [2021-06-08T05:33:10.165Z] 7186ed65a4f7: Verifying Checksum [2021-06-08T05:33:10.165Z] 7186ed65a4f7: Download complete [2021-06-08T05:33:10.165Z] 207e8628e3a3: Verifying Checksum [2021-06-08T05:33:10.165Z] 207e8628e3a3: Download complete [2021-06-08T05:33:10.165Z] 595b0fe564bb: Verifying Checksum [2021-06-08T05:33:10.165Z] 595b0fe564bb: Download complete [2021-06-08T05:33:10.165Z] c791037a9be2: Verifying Checksum [2021-06-08T05:33:10.165Z] c791037a9be2: Download complete [2021-06-08T05:33:10.774Z] 595b0fe564bb: Pull complete [2021-06-08T05:33:11.766Z] 7186ed65a4f7: Pull complete [2021-06-08T05:33:12.044Z] 316046926c0a: Pull complete [2021-06-08T05:33:12.322Z] ffd874e62e21: Verifying Checksum [2021-06-08T05:33:12.322Z] ffd874e62e21: Download complete [2021-06-08T05:33:13.764Z] 4ebd0625c992: Verifying Checksum [2021-06-08T05:33:13.764Z] 4ebd0625c992: Download complete [2021-06-08T05:33:21.470Z] gofmt -l . [2021-06-08T05:33:21.470Z] [ "`gofmt -l .`" = "" ] [2021-06-08T05:33:21.470Z] ./bin/test-attribution-txt.sh [2021-06-08T05:33:21.470Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-08T05:33:21.495Z] $ docker stop --time=1 08b83f31fab4b2487853e6d65a2af4d88e0d28003e2a273f0263f17c74d21726 [2021-06-08T05:33:22.929Z] $ docker rm -f 08b83f31fab4b2487853e6d65a2af4d88e0d28003e2a273f0263f17c74d21726 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T05:33:23.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T05:33:23.658Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-08T05:33:23.970Z] 4ebd0625c992: Pull complete [2021-06-08T05:33:24.245Z] 207e8628e3a3: Pull complete [2021-06-08T05:33:24.518Z] c791037a9be2: Pull complete [Pipeline] sh [2021-06-08T05:33:26.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T05:33:26.770Z] + ls -al . [2021-06-08T05:33:26.770Z] total 208 [2021-06-08T05:33:26.770Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 8 05:33 . [2021-06-08T05:33:26.770Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 8 05:31 .. [2021-06-08T05:33:26.770Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 8 05:31 bin [2021-06-08T05:33:26.770Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 8 05:33 coverage.out [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 8 05:31 Dockerfile.build [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 8 05:31 .dockerignore [2021-06-08T05:33:26.770Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 8 05:31 example [2021-06-08T05:33:26.770Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 8 05:31 .git [2021-06-08T05:33:26.770Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 05:31 .github [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 8 05:31 .gitignore [2021-06-08T05:33:26.770Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 8 05:33 go.mod [2021-06-08T05:33:26.770Z] -rw-r--r--. 1 jenkins jenkins 20472 Jun 8 05:32 go.sum [2021-06-08T05:33:26.770Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 8 05:31 internal [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 8 05:31 Jenkinsfile [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 8 05:31 LICENSE [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 8 05:31 Makefile [2021-06-08T05:33:26.770Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 8 05:31 openapi [2021-06-08T05:33:26.770Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 8 05:31 pkg [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 8 05:31 README.md [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 8 05:31 RELEASE-NOTES.txt [2021-06-08T05:33:26.770Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 8 05:31 snap [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 8 05:28 VERSION [2021-06-08T05:33:26.770Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 8 05:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:33:27.109Z] + docker build -t 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=6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 --label arch=amd64 --label version=0.0.0 . [2021-06-08T05:33:27.109Z] Sending build context to Docker daemon 2.753MB [2021-06-08T05:33:27.109Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T05:33:27.109Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-08T05:33:27.109Z] ---> 302bce68732d [2021-06-08T05:33:27.109Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-08T05:33:27.109Z] ---> Running in dda2ca1218b0 [2021-06-08T05:33:27.376Z] Removing intermediate container dda2ca1218b0 [2021-06-08T05:33:27.376Z] ---> 63776ab06086 [2021-06-08T05:33:27.376Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T05:33:27.376Z] ---> Running in 6a33966c08ee [2021-06-08T05:33:27.376Z] Removing intermediate container 6a33966c08ee [2021-06-08T05:33:27.376Z] ---> 2d91a6319e59 [2021-06-08T05:33:27.376Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T05:33:27.376Z] ---> Running in 0b5aa476f829 [2021-06-08T05:33:27.953Z] Removing intermediate container 0b5aa476f829 [2021-06-08T05:33:27.953Z] ---> 0e9f71e95afa [2021-06-08T05:33:27.953Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T05:33:27.953Z] ---> Running in e90638125e3c [2021-06-08T05:33:27.953Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T05:33:28.864Z] ffd874e62e21: Pull complete [2021-06-08T05:33:28.864Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-08T05:33:28.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-08T05:33:28.865Z] ---> cfc18b08335c [2021-06-08T05:33:28.865Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T05:33:29.339Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T05:33:30.842Z] ---> Running in 2a91616ac510 [2021-06-08T05:33:31.116Z] Removing intermediate container 2a91616ac510 [2021-06-08T05:33:31.116Z] ---> b1bbf281238b [2021-06-08T05:33:31.116Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T05:33:31.267Z] OK: 150 MiB in 46 packages [2021-06-08T05:33:31.392Z] ---> Running in 8c62439450c6 [2021-06-08T05:33:31.539Z] Removing intermediate container e90638125e3c [2021-06-08T05:33:31.539Z] ---> a4a7288fb646 [2021-06-08T05:33:31.539Z] Step 7/23 : COPY . . [2021-06-08T05:33:31.802Z] ---> c4aa83976f00 [2021-06-08T05:33:31.802Z] Step 8/23 : RUN go mod download [2021-06-08T05:33:31.802Z] ---> Running in c7a9313e4d6f [2021-06-08T05:33:32.071Z] Removing intermediate container c7a9313e4d6f [2021-06-08T05:33:32.071Z] ---> 12a78261f9c4 [2021-06-08T05:33:32.071Z] Step 9/23 : RUN make build [2021-06-08T05:33:32.336Z] ---> Running in 2aa1385bddf3 [2021-06-08T05:33:32.337Z] go mod tidy [2021-06-08T05:33:32.600Z] CGO_ENABLED=1 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-06-08T05:33:34.030Z] Removing intermediate container 8c62439450c6 [2021-06-08T05:33:34.030Z] ---> 0a2beb5af906 [2021-06-08T05:33:34.030Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-08T05:33:34.030Z] ---> Running in 48921b7eb506 [2021-06-08T05:33:35.010Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T05:33:35.987Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T05:33:36.962Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-08T05:33:36.962Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-08T05:33:37.237Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-08T05:33:37.237Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-08T05:33:37.509Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-08T05:33:37.509Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-08T05:33:37.784Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T05:33:37.784Z] OK: 139 MiB in 46 packages [2021-06-08T05:33:39.220Z] Removing intermediate container 48921b7eb506 [2021-06-08T05:33:39.220Z] ---> 54ad669f2222 [2021-06-08T05:33:39.220Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-08T05:33:39.220Z] ---> Running in efbacd10cfdb [2021-06-08T05:33:39.815Z] Removing intermediate container efbacd10cfdb [2021-06-08T05:33:39.815Z] ---> b86b0d77c38b [2021-06-08T05:33:39.815Z] Step 7/8 : COPY . . [2021-06-08T05:33:41.278Z] ---> f16916632297 [2021-06-08T05:33:41.278Z] Step 8/8 : RUN go mod download [2021-06-08T05:33:41.278Z] ---> Running in 8ea4245301a4 [2021-06-08T05:33:42.700Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-08T05:33:43.648Z] Removing intermediate container 2aa1385bddf3 [2021-06-08T05:33:43.648Z] ---> b30e9b1d98a6 [2021-06-08T05:33:43.648Z] Step 10/23 : FROM alpine:3.12 [2021-06-08T05:33:43.913Z] 3.12: Pulling from library/alpine [2021-06-08T05:33:44.175Z] 339de151aab4: Pulling fs layer [2021-06-08T05:33:44.440Z] 339de151aab4: Verifying Checksum [2021-06-08T05:33:44.440Z] 339de151aab4: Download complete [2021-06-08T05:33:44.440Z] 339de151aab4: Pull complete [2021-06-08T05:33:44.440Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T05:33:44.440Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T05:33:44.440Z] ---> 13621d1b12d4 [2021-06-08T05:33:44.440Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T05:33:44.440Z] ---> Running in e851ad4a7531 [2021-06-08T05:33:44.704Z] Removing intermediate container e851ad4a7531 [2021-06-08T05:33:44.704Z] ---> 86af6896dbb4 [2021-06-08T05:33:44.704Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T05:33:44.704Z] ---> Running in 93bfa99f6624 [2021-06-08T05:33:45.281Z] Removing intermediate container 93bfa99f6624 [2021-06-08T05:33:45.281Z] ---> 0a48693dc1ee [2021-06-08T05:33:45.281Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-08T05:33:45.281Z] ---> Running in 76ce03806c28 [2021-06-08T05:33:45.542Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-08T05:33:46.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-08T05:33:46.689Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-08T05:33:46.689Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-08T05:33:46.689Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-08T05:33:47.631Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-08T05:33:47.631Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-08T05:33:47.891Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T05:33:47.892Z] OK: 8 MiB in 19 packages [2021-06-08T05:33:48.153Z] Removing intermediate container 76ce03806c28 [2021-06-08T05:33:48.153Z] ---> 20b5a1a6b634 [2021-06-08T05:33:48.153Z] Step 14/23 : WORKDIR / [2021-06-08T05:33:48.153Z] ---> Running in 81f468f350d2 [2021-06-08T05:33:48.153Z] Removing intermediate container 81f468f350d2 [2021-06-08T05:33:48.153Z] ---> c9a1c4f6379a [2021-06-08T05:33:48.153Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-08T05:33:48.153Z] ---> 71d701d98a3a [2021-06-08T05:33:48.153Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-08T05:33:48.734Z] ---> c5ff150b9699 [2021-06-08T05:33:48.734Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-08T05:33:48.734Z] ---> 73dafbfc0387 [2021-06-08T05:33:48.734Z] Step 18/23 : EXPOSE 59999 [2021-06-08T05:33:48.734Z] ---> Running in e07df945df17 [2021-06-08T05:33:48.996Z] Removing intermediate container e07df945df17 [2021-06-08T05:33:48.996Z] ---> b23ff56c3840 [2021-06-08T05:33:48.996Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-08T05:33:48.996Z] ---> Running in 5d2a05e657f1 [2021-06-08T05:33:48.996Z] Removing intermediate container 5d2a05e657f1 [2021-06-08T05:33:48.996Z] ---> 615dc4bb487e [2021-06-08T05:33:48.996Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T05:33:48.996Z] ---> Running in a4b4f681a051 [2021-06-08T05:33:49.257Z] Removing intermediate container a4b4f681a051 [2021-06-08T05:33:49.257Z] ---> df9ca3f55229 [2021-06-08T05:33:49.257Z] Step 21/23 : LABEL arch=amd64 [2021-06-08T05:33:49.257Z] ---> Running in d61aa4ad9509 [2021-06-08T05:33:49.257Z] Removing intermediate container d61aa4ad9509 [2021-06-08T05:33:49.257Z] ---> 96a1f4e6cf60 [2021-06-08T05:33:49.257Z] Step 22/23 : LABEL git_sha=6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [2021-06-08T05:33:49.257Z] ---> Running in ea67704607b7 [2021-06-08T05:33:49.519Z] Removing intermediate container ea67704607b7 [2021-06-08T05:33:49.519Z] ---> e10eb67351e4 [2021-06-08T05:33:49.519Z] Step 23/23 : LABEL version=0.0.0 [2021-06-08T05:33:49.519Z] ---> Running in c3c83e5d9a2e [2021-06-08T05:33:49.519Z] Removing intermediate container c3c83e5d9a2e [2021-06-08T05:33:49.519Z] ---> a7907fcd7cd9 [2021-06-08T05:33:49.519Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-08T05:33:49.519Z] Successfully built a7907fcd7cd9 [2021-06-08T05:33:49.519Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:33:50.644Z] ---> job-cost.sh [2021-06-08T05:33:50.644Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bAGp [2021-06-08T05:33:58.823Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T05:34:09.398Z] Removing intermediate container 8ea4245301a4 [2021-06-08T05:34:09.398Z] ---> 9d6e49d8d3ba [2021-06-08T05:34:09.398Z] Successfully built 9d6e49d8d3ba [2021-06-08T05:34:09.398Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:34:09.902Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T05:34:09.902Z] . [Pipeline] withDockerContainer [2021-06-08T05:34:10.238Z] prd-ubuntu18.04-docker-arm64-4c-16g-844 does not seem to be running inside a container [2021-06-08T05:34:10.331Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-06-08T05:34:11.285Z] lf-activate-venv(): INFO: Adding /tmp/venv-bAGp/bin to PATH [2021-06-08T05:34:11.285Z] INFO: No Stack... [2021-06-08T05:34:11.996Z] $ docker top 3fcf6de06463d9178b040d349381e16003f1ea32513b41ca8574a97623398c5e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T05:34:12.671Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T05:34:13.055Z] + go version [2021-06-08T05:34:13.055Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-08T05:34:13.096Z] $ docker stop --time=1 3fcf6de06463d9178b040d349381e16003f1ea32513b41ca8574a97623398c5e [2021-06-08T05:34:13.243Z] INFO: Archiving Costs [2021-06-08T05:34:14.948Z] $ docker rm -f 3fcf6de06463d9178b040d349381e16003f1ea32513b41ca8574a97623398c5e [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-06-08T05:34:15.601Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-08T05:34:15.601Z] + cut -d, -f6 [Pipeline] script [Pipeline] { [Pipeline] lock [2021-06-08T05:34:15.785Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-955-1-stack-cost] [2021-06-08T05:34:15.792Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-955-1-stack-cost] did not exist. Created. [2021-06-08T05:34:15.792Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-955-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:34:16.220Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-08T05:34:16.333Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T05:34:16.349Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T05:34:16.349Z] . [2021-06-08T05:34:16.359Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-955-1-stack-cost] [Pipeline] // lock [Pipeline] withDockerContainer [2021-06-08T05:34:16.729Z] prd-ubuntu18.04-docker-arm64-4c-16g-844 does not seem to be running inside a container [2021-06-08T05:34:16.816Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-06-08T05:34:18.455Z] $ docker top f6556fb82f5f14d457c4f8daf34f56808e942eb41ee9b3c8f26fa96acd123d4b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-08T05:34:19.493Z] + go mod tidy [Pipeline] sh [2021-06-08T05:34:20.812Z] + make test [2021-06-08T05:34:20.812Z] go mod tidy [2021-06-08T05:34:21.431Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-08T05:34:43.625Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-08T05:35:51.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-08T05:35:51.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-08T05:35:51.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-08T05:35:58.487Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.294s coverage: 25.4% of statements [2021-06-08T05:35:58.487Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-08T05:35:58.487Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.230s coverage: 28.1% of statements [2021-06-08T05:35:58.487Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.240s coverage: 78.9% of statements [2021-06-08T05:35:58.487Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.187s coverage: 9.0% of statements [2021-06-08T05:35:58.487Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-08T05:35:58.487Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-08T05:35:58.487Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-08T05:35:59.482Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.287s coverage: 29.2% of statements [2021-06-08T05:35:59.482Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-08T05:36:00.937Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.272s coverage: 83.3% of statements [2021-06-08T05:36:00.937Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-08T05:36:00.937Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-08T05:36:02.395Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.421s coverage: 58.0% of statements [2021-06-08T05:36:04.385Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.231s coverage: 89.2% of statements [2021-06-08T05:36:04.385Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-08T05:36:04.385Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.178s coverage: 5.0% of statements [2021-06-08T05:36:04.385Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-08T05:36:04.985Z] GO111MODULE=on go vet ./... [2021-06-08T05:37:01.592Z] gofmt -l . [2021-06-08T05:37:01.592Z] [ "`gofmt -l .`" = "" ] [2021-06-08T05:37:01.592Z] ./bin/test-attribution-txt.sh [2021-06-08T05:37:01.869Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-08T05:37:02.511Z] $ docker stop --time=1 f6556fb82f5f14d457c4f8daf34f56808e942eb41ee9b3c8f26fa96acd123d4b [2021-06-08T05:37:04.554Z] $ docker rm -f f6556fb82f5f14d457c4f8daf34f56808e942eb41ee9b3c8f26fa96acd123d4b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T05:37:05.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T05:37:05.749Z] Warning: overwriting stash ‘coverage-report’ [2021-06-08T05:37:06.397Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T05:37:07.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T05:37:07.528Z] + ls -al . [2021-06-08T05:37:07.528Z] total 244 [2021-06-08T05:37:07.528Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 05:37 . [2021-06-08T05:37:07.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 05:32 .. [2021-06-08T05:37:07.528Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 05:32 .dockerignore [2021-06-08T05:37:07.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 05:32 .git [2021-06-08T05:37:07.529Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 05:32 .github [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 8 05:32 .gitignore [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 8 05:32 Dockerfile.build [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 8 05:32 Jenkinsfile [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 8 05:32 LICENSE [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 8 05:32 Makefile [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 8 05:32 README.md [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 8 05:32 RELEASE-NOTES.txt [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 05:28 VERSION [2021-06-08T05:37:07.529Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 05:32 bin [2021-06-08T05:37:07.529Z] -rw-r--r-- 1 jenkins jenkins 126072 Jun 8 05:36 coverage.out [2021-06-08T05:37:07.529Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 05:32 example [2021-06-08T05:37:07.529Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 8 05:37 go.mod [2021-06-08T05:37:07.529Z] -rw-r--r-- 1 jenkins jenkins 20472 Jun 8 05:34 go.sum [2021-06-08T05:37:07.529Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 8 05:32 internal [2021-06-08T05:37:07.529Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 05:32 openapi [2021-06-08T05:37:07.529Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 05:32 pkg [2021-06-08T05:37:07.529Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 05:32 snap [2021-06-08T05:37:07.529Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 8 05:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:37:07.975Z] + docker build -t 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=6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 --label arch=arm64 --label version=0.0.0 . [2021-06-08T05:37:08.577Z] Sending build context to Docker daemon 2.751MB [2021-06-08T05:37:08.577Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T05:37:08.577Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-08T05:37:08.577Z] ---> 9d6e49d8d3ba [2021-06-08T05:37:08.577Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-08T05:37:08.851Z] ---> Running in 94ca5c55035c [2021-06-08T05:37:09.451Z] Removing intermediate container 94ca5c55035c [2021-06-08T05:37:09.451Z] ---> 669a45771610 [2021-06-08T05:37:09.451Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T05:37:09.728Z] ---> Running in fd8c0d8364fc [2021-06-08T05:37:10.325Z] Removing intermediate container fd8c0d8364fc [2021-06-08T05:37:10.325Z] ---> 2e53ccaccd05 [2021-06-08T05:37:10.325Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T05:37:10.600Z] ---> Running in 2730223c72fa [2021-06-08T05:37:13.235Z] Removing intermediate container 2730223c72fa [2021-06-08T05:37:13.235Z] ---> 323f36c0d6cf [2021-06-08T05:37:13.235Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T05:37:13.235Z] ---> Running in deb7cd7a47b9 [2021-06-08T05:37:14.213Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T05:37:15.188Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T05:37:16.182Z] OK: 139 MiB in 46 packages [2021-06-08T05:37:17.167Z] Removing intermediate container deb7cd7a47b9 [2021-06-08T05:37:17.167Z] ---> 195cd8b4fea1 [2021-06-08T05:37:17.167Z] Step 7/23 : COPY . . [2021-06-08T05:37:18.607Z] ---> 425e214d696d [2021-06-08T05:37:18.607Z] Step 8/23 : RUN go mod download [2021-06-08T05:37:18.882Z] ---> Running in 9a580ad872a1 [2021-06-08T05:37:21.503Z] Removing intermediate container 9a580ad872a1 [2021-06-08T05:37:21.503Z] ---> 83900a97e7bf [2021-06-08T05:37:21.503Z] Step 9/23 : RUN make build [2021-06-08T05:37:21.503Z] ---> Running in 28ab6517c4fb [2021-06-08T05:37:22.485Z] go mod tidy [2021-06-08T05:37:23.084Z] CGO_ENABLED=1 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-06-08T05:37:55.543Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-08T05:37:57.551Z] Removing intermediate container 28ab6517c4fb [2021-06-08T05:37:57.551Z] ---> 8c82e0635f51 [2021-06-08T05:37:57.551Z] Step 10/23 : FROM alpine:3.12 [2021-06-08T05:37:58.541Z] 3.12: Pulling from library/alpine [2021-06-08T05:37:58.541Z] d2f70382dc9a: Pulling fs layer [2021-06-08T05:37:58.816Z] d2f70382dc9a: Verifying Checksum [2021-06-08T05:37:58.816Z] d2f70382dc9a: Download complete [2021-06-08T05:37:59.412Z] d2f70382dc9a: Pull complete [2021-06-08T05:37:59.412Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T05:37:59.412Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T05:37:59.412Z] ---> 9852663dfa18 [2021-06-08T05:37:59.412Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T05:37:59.704Z] ---> Running in 9eb89c108b6e [2021-06-08T05:38:00.298Z] Removing intermediate container 9eb89c108b6e [2021-06-08T05:38:00.298Z] ---> 06f7654a9000 [2021-06-08T05:38:00.298Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T05:38:00.298Z] ---> Running in 531f12728cc1 [2021-06-08T05:38:02.926Z] Removing intermediate container 531f12728cc1 [2021-06-08T05:38:02.926Z] ---> c4a09b8a6857 [2021-06-08T05:38:02.926Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-08T05:38:02.926Z] ---> Running in 3bdc31b8c8b9 [2021-06-08T05:38:03.526Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-08T05:38:04.503Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-08T05:38:05.100Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-08T05:38:05.372Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-08T05:38:05.372Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-08T05:38:05.649Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-08T05:38:05.649Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-08T05:38:05.649Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T05:38:05.649Z] OK: 8 MiB in 19 packages [2021-06-08T05:38:07.101Z] Removing intermediate container 3bdc31b8c8b9 [2021-06-08T05:38:07.101Z] ---> 4c2173607274 [2021-06-08T05:38:07.101Z] Step 14/23 : WORKDIR / [2021-06-08T05:38:07.101Z] ---> Running in d8f749ce0c2e [2021-06-08T05:38:07.700Z] Removing intermediate container d8f749ce0c2e [2021-06-08T05:38:07.700Z] ---> b552ed990522 [2021-06-08T05:38:07.700Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-08T05:38:08.299Z] ---> 01d115f867d0 [2021-06-08T05:38:08.299Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-08T05:38:09.739Z] ---> 894d273c6f20 [2021-06-08T05:38:09.739Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-08T05:38:10.726Z] ---> b2a927a89f0b [2021-06-08T05:38:10.726Z] Step 18/23 : EXPOSE 59999 [2021-06-08T05:38:10.726Z] ---> Running in a4c742ca713a [2021-06-08T05:38:11.000Z] Removing intermediate container a4c742ca713a [2021-06-08T05:38:11.000Z] ---> 4534c93eade8 [2021-06-08T05:38:11.001Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-08T05:38:11.275Z] ---> Running in 107480f9b6b1 [2021-06-08T05:38:11.876Z] Removing intermediate container 107480f9b6b1 [2021-06-08T05:38:11.876Z] ---> 1947fe8b341f [2021-06-08T05:38:11.876Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T05:38:11.876Z] ---> Running in 9819df6e437d [2021-06-08T05:38:12.473Z] Removing intermediate container 9819df6e437d [2021-06-08T05:38:12.473Z] ---> bc3e379dd765 [2021-06-08T05:38:12.473Z] Step 21/23 : LABEL arch=arm64 [2021-06-08T05:38:12.473Z] ---> Running in d78d396a82d6 [2021-06-08T05:38:13.071Z] Removing intermediate container d78d396a82d6 [2021-06-08T05:38:13.071Z] ---> 665e7d8f6428 [2021-06-08T05:38:13.071Z] Step 22/23 : LABEL git_sha=6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [2021-06-08T05:38:13.071Z] ---> Running in dc239aa5f011 [2021-06-08T05:38:13.671Z] Removing intermediate container dc239aa5f011 [2021-06-08T05:38:13.671Z] ---> c1aa6a234f17 [2021-06-08T05:38:13.671Z] Step 23/23 : LABEL version=0.0.0 [2021-06-08T05:38:13.671Z] ---> Running in 03d52bd4a9f6 [2021-06-08T05:38:14.269Z] Removing intermediate container 03d52bd4a9f6 [2021-06-08T05:38:14.269Z] ---> efec0f102e45 [2021-06-08T05:38:14.269Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-08T05:38:14.269Z] Successfully built efec0f102e45 [2021-06-08T05:38:14.269Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:38:15.223Z] ---> job-cost.sh [2021-06-08T05:38:15.224Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KwSM [2021-06-08T05:38:54.216Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T05:40:16.025Z] lf-activate-venv(): INFO: Adding /tmp/venv-KwSM/bin to PATH [2021-06-08T05:40:16.025Z] INFO: No Stack... [2021-06-08T05:40:17.032Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-08T05:40:17.629Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T05:40:18.010Z] + cut -d, -f6 [2021-06-08T05:40:18.010Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-08T05:40:18.104Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-955-1-stack-cost] [2021-06-08T05:40:18.112Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-955-1-stack-cost] did not exist. Created. [2021-06-08T05:40:18.112Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-955-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T05:40:18.606Z] /w/workspace/device-sdk-go/1@tmp/durable-18e64d52/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-18e64d52/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-08T05:40:18.978Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-08T05:40:19.020Z] Warning: overwriting stash ‘stack-cost’ [2021-06-08T05:40:19.179Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T05:40:19.235Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-955-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-08T05:40:20.407Z] provisioning config files... [2021-06-08T05:40:20.433Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config6013929096329609286tmp [Pipeline] { [Pipeline] sh [2021-06-08T05:40:20.810Z] + set +x [2021-06-08T05:40:20.810Z] + bash -s -- [2021-06-08T05:40:20.810Z] + curl -s https://codecov.io/bash [2021-06-08T05:40:20.810Z] [2021-06-08T05:40:20.810Z] _____ _ [2021-06-08T05:40:20.810Z] / ____| | | [2021-06-08T05:40:20.810Z] | | ___ __| | ___ ___ _____ __ [2021-06-08T05:40:20.810Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-08T05:40:20.810Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-08T05:40:20.810Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-08T05:40:20.810Z] Bash-1.0.3 [2021-06-08T05:40:20.810Z] [2021-06-08T05:40:20.810Z] [2021-06-08T05:40:20.810Z] ==> git version 2.24.4 found [2021-06-08T05:40:20.810Z] ==> 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-06-08T05:40:20.810Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-08T05:40:20.810Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-08T05:40:20.810Z] ==> Jenkins CI detected. [2021-06-08T05:40:20.810Z] project root: . [2021-06-08T05:40:20.810Z] --> token set from env [2021-06-08T05:40:21.075Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-08T05:40:21.075Z] ==> Running gcov in . (disable via -X gcov) [2021-06-08T05:40:21.075Z] ==> Python coveragepy not found [2021-06-08T05:40:21.075Z] ==> Searching for coverage reports in: [2021-06-08T05:40:21.075Z] + . [2021-06-08T05:40:21.075Z] -> Found 1 reports [2021-06-08T05:40:21.075Z] ==> Detecting git/mercurial file structure [2021-06-08T05:40:21.075Z] ==> Reading reports [2021-06-08T05:40:21.075Z] + ./coverage.out bytes=126072 [2021-06-08T05:40:21.075Z] ==> Appending adjustments [2021-06-08T05:40:21.075Z] https://docs.codecov.io/docs/fixing-reports [2021-06-08T05:40:21.340Z] + Found adjustments [2021-06-08T05:40:21.340Z] ==> Gzipping contents [2021-06-08T05:40:21.340Z] 20K /tmp/codecov.cFKTJn.gz [2021-06-08T05:40:21.340Z] ==> Uploading reports [2021-06-08T05:40:21.340Z] url: https://codecov.io [2021-06-08T05:40:21.340Z] query: branch=PR-955&commit=6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-955%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=955&job=&cmd_args= [2021-06-08T05:40:21.340Z] -> Pinging Codecov [2021-06-08T05:40:21.340Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-955&commit=6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-955%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=955&job=&cmd_args= [2021-06-08T05:40:21.917Z] -> Uploading to [2021-06-08T05:40:21.917Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-08/7E55EF52A471D76F132DFD9A03CDDE97/6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2/00902248-f0ef-41fd-8dee-050466e97e94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T054021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52a18a3826778a3a21a7447b1bbce4e28d8b9455eef60bd61ba9f2b3e0331a8b [2021-06-08T05:40:21.917Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-08T05:40:21.917Z] Dload Upload Total Spent Left Speed [2021-06-08T05:40:22.179Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16436 0 0 100 16436 0 47423 --:--:-- --:--:-- --:--:-- 47502 [2021-06-08T05:40:22.179Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [Pipeline] } [2021-06-08T05:40:22.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:40:24.719Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:40:25.349Z] ---> package-listing.sh [2021-06-08T05:40:25.349Z] ++ facter osfamily [2021-06-08T05:40:25.349Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-08T05:40:25.613Z] + OS_FAMILY=redhat [2021-06-08T05:40:25.613Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-955 [2021-06-08T05:40:25.613Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-08T05:40:25.613Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-08T05:40:25.613Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-08T05:40:25.613Z] + PACKAGES=/tmp/packages_start.txt [2021-06-08T05:40:25.613Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-955 ']' [2021-06-08T05:40:25.613Z] + PACKAGES=/tmp/packages_end.txt [2021-06-08T05:40:25.613Z] + case "${OS_FAMILY}" in [2021-06-08T05:40:25.614Z] + sort [2021-06-08T05:40:25.614Z] + rpm -qa [2021-06-08T05:40:26.191Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-08T05:40:26.191Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-08T05:40:26.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-08T05:40:26.191Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-955 ']' [2021-06-08T05:40:26.191Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-955/archives/ [2021-06-08T05:40:26.191Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-955/archives/ [Pipeline] echo [2021-06-08T05:40:26.223Z] 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-955/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-08T05:40:26.546Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:40:27.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T05:40:27.168Z] [2021-06-08T05:40:27.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-08T05:40:27.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T05:40:27.524Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-08T05:40:27.524Z] df20fa9351a1: Pulling fs layer [2021-06-08T05:40:27.524Z] 36b3adc4ff6f: Pulling fs layer [2021-06-08T05:40:27.524Z] 8ad3a11d3b57: Pulling fs layer [2021-06-08T05:40:27.524Z] 46f8f816bc3b: Pulling fs layer [2021-06-08T05:40:27.524Z] 93b61091891f: Pulling fs layer [2021-06-08T05:40:27.524Z] 93b9cdb0e59b: Pulling fs layer [2021-06-08T05:40:27.524Z] 5e14af77c1be: Pulling fs layer [2021-06-08T05:40:27.524Z] 01666e4c0597: Pulling fs layer [2021-06-08T05:40:27.524Z] aa168da1d23b: Pulling fs layer [2021-06-08T05:40:27.524Z] 46f8f816bc3b: Waiting [2021-06-08T05:40:27.524Z] 93b61091891f: Waiting [2021-06-08T05:40:27.524Z] 93b9cdb0e59b: Waiting [2021-06-08T05:40:27.524Z] 5e14af77c1be: Waiting [2021-06-08T05:40:27.524Z] 01666e4c0597: Waiting [2021-06-08T05:40:27.524Z] aa168da1d23b: Waiting [2021-06-08T05:40:27.524Z] 36b3adc4ff6f: Download complete [2021-06-08T05:40:27.524Z] 46f8f816bc3b: Verifying Checksum [2021-06-08T05:40:27.524Z] 46f8f816bc3b: Download complete [2021-06-08T05:40:27.787Z] df20fa9351a1: Verifying Checksum [2021-06-08T05:40:27.787Z] df20fa9351a1: Download complete [2021-06-08T05:40:27.787Z] 93b61091891f: Verifying Checksum [2021-06-08T05:40:27.787Z] 93b61091891f: Download complete [2021-06-08T05:40:27.787Z] 93b9cdb0e59b: Verifying Checksum [2021-06-08T05:40:27.787Z] 93b9cdb0e59b: Download complete [2021-06-08T05:40:27.787Z] 5e14af77c1be: Verifying Checksum [2021-06-08T05:40:27.787Z] 5e14af77c1be: Download complete [2021-06-08T05:40:27.787Z] 01666e4c0597: Verifying Checksum [2021-06-08T05:40:27.787Z] 01666e4c0597: Download complete [2021-06-08T05:40:28.052Z] df20fa9351a1: Pull complete [2021-06-08T05:40:28.052Z] 8ad3a11d3b57: Verifying Checksum [2021-06-08T05:40:28.052Z] 8ad3a11d3b57: Download complete [2021-06-08T05:40:28.052Z] 36b3adc4ff6f: Pull complete [2021-06-08T05:40:28.637Z] 8ad3a11d3b57: Pull complete [2021-06-08T05:40:28.900Z] 46f8f816bc3b: Pull complete [2021-06-08T05:40:29.177Z] 93b61091891f: Pull complete [2021-06-08T05:40:29.177Z] 93b9cdb0e59b: Pull complete [2021-06-08T05:40:29.177Z] 5e14af77c1be: Pull complete [2021-06-08T05:40:29.439Z] 01666e4c0597: Pull complete [2021-06-08T05:40:30.386Z] aa168da1d23b: Verifying Checksum [2021-06-08T05:40:30.386Z] aa168da1d23b: Download complete [2021-06-08T05:40:35.724Z] aa168da1d23b: Pull complete [2021-06-08T05:40:35.724Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-08T05:40:35.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T05:40:35.724Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-08T05:40:35.882Z] prd-centos7-docker-4c-2g-842 does not seem to be running inside a container [2021-06-08T05:40:35.957Z] $ 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-955/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-955 -v /w/workspace/dgexfoundry_device-sdk-go_PR-955:/w/workspace/dgexfoundry_device-sdk-go_PR-955:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-955@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-06-08T05:40:39.887Z] $ docker top 621cc2c4680f9a5f3aa26bae26f754782b108eb07588316f59a601203910bca2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T05:40:40.455Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-08T05:40:40.816Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-08T05:40:41.141Z] + ls /var/log/sa-host [2021-06-08T05:40:41.141Z] + sadf -c /var/log/sa-host/sa05 [2021-06-08T05:40:41.141Z] file_magic: OK [2021-06-08T05:40:41.141Z] HZ: Using current value: 100 [2021-06-08T05:40:41.141Z] file_header: OK [2021-06-08T05:40:41.141Z] 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-06-08T05:40:41.141Z] Statistics: [2021-06-08T05:40:41.141Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T05:40:41.141Z] File successfully converted to sysstat format version 12.2.1 [2021-06-08T05:40:41.141Z] + sadf -c /var/log/sa-host/sa08 [2021-06-08T05:40:41.141Z] file_magic: OK [2021-06-08T05:40:41.141Z] HZ: Using current value: 100 [2021-06-08T05:40:41.141Z] file_header: OK [2021-06-08T05:40:41.141Z] 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-06-08T05:40:41.141Z] Statistics: [2021-06-08T05:40:41.141Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T05:40:41.141Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T05:40:41.421Z] provisioning config files... [2021-06-08T05:40:41.453Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config2622360148433418452tmp [Pipeline] { [Pipeline] echo [2021-06-08T05:40:41.514Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:40:41.887Z] ---> create-netrc.sh [Pipeline] } [2021-06-08T05:40:41.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:40:42.465Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-08T05:40:42.503Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:40:42.968Z] ---> sudo-logs.sh [2021-06-08T05:40:42.969Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-08T05:40:43.067Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:40:43.428Z] ---> job-cost.sh [2021-06-08T05:40:43.429Z] lf-activate-venv: SKIPPING [2021-06-08T05:40:43.429Z] DEBUG: total: 0.18000000715255737 [2021-06-08T05:40:43.429Z] INFO: Retrieving Stack Cost... [2021-06-08T05:40:44.836Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T05:40:45.104Z] INFO: Archiving Costs [Pipeline] echo [2021-06-08T05:40:45.152Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T05:40:45.504Z] ---> logs-deploy.sh [2021-06-08T05:40:45.504Z] lf-activate-venv: SKIPPING [2021-06-08T05:40:45.504Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-955/1 [2021-06-08T05:40:45.504Z] INFO: archiving workspace using pattern(s): [2021-06-08T05:40:46.471Z] Archives upload complete. [2021-06-08T05:40:46.471Z] INFO: archiving logs to Nexus