Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2+907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 (ec68dd13d23c0d7715f963d197fc8bdd7dad0fd9) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh7308327027016943731.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh5152909015052503774.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh8184051861901872700.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh8212096276183695189.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh8312924934649535555.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Running on prd-centos7-docker-4c-2g-967 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-ssh2375372374185126559.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 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 Merge succeeded, producing 97670c8b50bcf91fe2678ec198568b5a908f90f5 Checking out Revision 97670c8b50bcf91fe2678ec198568b5a908f90f5 (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-ssh1651600833337229415.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-ssh6307980074808227043.key > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97670c8b50bcf91fe2678ec198568b5a908f90f5 # timeout=10 Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" > git rev-list --no-walk 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-08T18:42:09.930Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-08T18:42:10.034Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-08T18:42:10.060Z] ========================================================= [2021-06-08T18:42:10.060Z] EdgeX Global Pipelines Version Info [2021-06-08T18:42:10.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:42:11.544Z] ------------------- [2021-06-08T18:42:11.544Z] stable info: [2021-06-08T18:42:11.544Z] ------------------- [2021-06-08T18:42:11.544Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-08T18:42:11.544Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-08T18:42:11.544Z] Message: update stable to v1.0.194 [2021-06-08T18:42:12.130Z] ------------------- [2021-06-08T18:42:12.130Z] experimental info: [2021-06-08T18:42:12.130Z] ------------------- [2021-06-08T18:42:12.130Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-08T18:42:12.130Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-08T18:42:12.130Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-08T18:42:12.286Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-08T18:42:12.316Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-08T18:42:12.345Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-08T18:42:12.375Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-08T18:42:12.403Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-08T18:42:12.432Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-08T18:42:12.459Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-08T18:42:12.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-08T18:42:12.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-08T18:42:12.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-08T18:42:12.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-08T18:42:12.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-08T18:42:12.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-08T18:42:12.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-08T18:42:16.562Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-08T18:42:16.589Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T18:42:16.646Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T18:42:16.670Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T18:42:16.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-08T18:42:16.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-08T18:42:16.738Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-08T18:42:16.760Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-08T18:42:16.784Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-08T18:42:16.806Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-08T18:42:16.828Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-08T18:42:16.850Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-08T18:42:16.872Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-955 [Pipeline] echo [2021-06-08T18:42:16.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-955 [Pipeline] echo [2021-06-08T18:42:16.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-955 [Pipeline] echo [2021-06-08T18:42:16.940Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97670c8b50bcf91fe2678ec198568b5a908f90f5 [Pipeline] echo [2021-06-08T18:42:16.964Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97670c8 [Pipeline] echo [2021-06-08T18:42:16.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T18:42:17.071Z] provisioning config files... [2021-06-08T18:42:17.091Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config2919271518320968105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:42:17.418Z] ---> docker-login.sh [2021-06-08T18:42:17.418Z] nexus3.edgexfoundry.org:10001 [2021-06-08T18:42:17.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:42:17.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:42:17.686Z] Configure a credential helper to remove this warning. See [2021-06-08T18:42:17.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:42:17.686Z] [2021-06-08T18:42:17.686Z] Login Succeeded [2021-06-08T18:42:17.686Z] nexus3.edgexfoundry.org:10002 [2021-06-08T18:42:17.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:42:17.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:42:17.953Z] Configure a credential helper to remove this warning. See [2021-06-08T18:42:17.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:42:17.953Z] [2021-06-08T18:42:17.953Z] Login Succeeded [2021-06-08T18:42:17.953Z] nexus3.edgexfoundry.org:10003 [2021-06-08T18:42:17.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:42:17.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:42:17.953Z] Configure a credential helper to remove this warning. See [2021-06-08T18:42:17.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:42:17.953Z] [2021-06-08T18:42:17.953Z] Login Succeeded [2021-06-08T18:42:17.953Z] nexus3.edgexfoundry.org:10004 [2021-06-08T18:42:18.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:42:18.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:42:18.215Z] Configure a credential helper to remove this warning. See [2021-06-08T18:42:18.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:42:18.215Z] [2021-06-08T18:42:18.215Z] Login Succeeded [2021-06-08T18:42:18.215Z] docker.io [2021-06-08T18:42:18.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:42:18.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:42:18.477Z] Configure a credential helper to remove this warning. See [2021-06-08T18:42:18.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:42:18.477Z] [2021-06-08T18:42:18.477Z] Login Succeeded [2021-06-08T18:42:18.477Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T18:42:18.486Z] 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-08T18:42:19.004Z] + git log --format=format:%s -1 97670c8b50bcf91fe2678ec198568b5a908f90f5 [Pipeline] echo [2021-06-08T18:42:19.045Z] GIT_COMMIT: 97670c8b50bcf91fe2678ec198568b5a908f90f5, Commit Message: Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD [Pipeline] echo [2021-06-08T18:42:19.060Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:42:19.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T18:42:19.994Z] [2021-06-08T18:42:19.994Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:42:20.330Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T18:42:20.330Z] latest: Pulling from edgex-devops/git-semver [2021-06-08T18:42:20.330Z] 31603596830f: Pulling fs layer [2021-06-08T18:42:20.330Z] 54011a49482f: Pulling fs layer [2021-06-08T18:42:20.330Z] a6820b24f6d8: Pulling fs layer [2021-06-08T18:42:20.330Z] f581987b2513: Pulling fs layer [2021-06-08T18:42:20.330Z] f581987b2513: Waiting [2021-06-08T18:42:20.330Z] 54011a49482f: Verifying Checksum [2021-06-08T18:42:20.330Z] 54011a49482f: Download complete [2021-06-08T18:42:20.604Z] 31603596830f: Verifying Checksum [2021-06-08T18:42:20.604Z] 31603596830f: Download complete [2021-06-08T18:42:20.604Z] f581987b2513: Verifying Checksum [2021-06-08T18:42:20.604Z] f581987b2513: Download complete [2021-06-08T18:42:20.604Z] a6820b24f6d8: Verifying Checksum [2021-06-08T18:42:20.604Z] a6820b24f6d8: Download complete [2021-06-08T18:42:20.870Z] 31603596830f: Pull complete [2021-06-08T18:42:20.870Z] 54011a49482f: Pull complete [2021-06-08T18:42:21.447Z] a6820b24f6d8: Pull complete [2021-06-08T18:42:21.710Z] f581987b2513: Pull complete [2021-06-08T18:42:21.710Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-08T18:42:21.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T18:42:21.710Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-08T18:42:21.801Z] prd-centos7-docker-4c-2g-967 does not seem to be running inside a container [2021-06-08T18:42:21.844Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-08T18:42:23.027Z] $ docker top 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T18:42:23.168Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T18:42:23.168Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T18:42:23.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T18:42:23.300Z] $ docker exec 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 ssh-agent [2021-06-08T18:42:23.430Z] SSH_AUTH_SOCK=/tmp/ssh-Cwyw2ND6OJbu/agent.15 [2021-06-08T18:42:23.430Z] SSH_AGENT_PID=22 [2021-06-08T18:42:23.441Z] Running ssh-add (command line suppressed) [2021-06-08T18:42:23.563Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_4911455369667083877.key (/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_4911455369667083877.key) [2021-06-08T18:42:23.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T18:42:23.893Z] + git tag --points-at HEAD [Pipeline] } [2021-06-08T18:42:23.906Z] $ docker exec --env ******** --env ******** 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 ssh-agent -k [2021-06-08T18:42:24.010Z] unset SSH_AUTH_SOCK; [2021-06-08T18:42:24.011Z] unset SSH_AGENT_PID; [2021-06-08T18:42:24.011Z] echo Agent pid 22 killed; [2021-06-08T18:42:24.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-08T18:42:24.085Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T18:42:24.085Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T18:42:24.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T18:42:24.213Z] $ docker exec 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 ssh-agent [2021-06-08T18:42:24.342Z] SSH_AUTH_SOCK=/tmp/ssh-MOAi7DjF5BTn/agent.56 [2021-06-08T18:42:24.342Z] SSH_AGENT_PID=62 [2021-06-08T18:42:24.348Z] Running ssh-add (command line suppressed) [2021-06-08T18:42:24.456Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_8000768089876292294.key (/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_8000768089876292294.key) [2021-06-08T18:42:24.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T18:42:24.809Z] + git semver init [2021-06-08T18:42:24.809Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T18:42:24.809Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-955/.git [2021-06-08T18:42:24.809Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-955 [2021-06-08T18:42:24.809Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T18:42:24.809Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T18:42:24.809Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T18:42:24.809Z] # $SEMVER_BRANCH = PR-955 [2021-06-08T18:42:24.809Z] # $SEMVER_TEMP = /tmp/semver-338202521 [2021-06-08T18:42:24.809Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-08T18:42:25.762Z] # '/tmp/semver-338202521' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-955/.semver' [2021-06-08T18:42:25.762Z] # -> Force: false [2021-06-08T18:42:25.762Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-955/.semver [Pipeline] } [2021-06-08T18:42:25.776Z] $ docker exec --env ******** --env ******** 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 ssh-agent -k [2021-06-08T18:42:25.888Z] unset SSH_AUTH_SOCK; [2021-06-08T18:42:25.888Z] unset SSH_AGENT_PID; [2021-06-08T18:42:25.888Z] echo Agent pid 62 killed; [2021-06-08T18:42:25.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T18:42:26.243Z] + git semver [Pipeline] } [2021-06-08T18:42:26.257Z] $ docker stop --time=1 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 [2021-06-08T18:42:27.584Z] $ docker rm -f 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T18:42:27.976Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-08T18:42:28.262Z] Stashed 1 file(s) [Pipeline] echo [2021-06-08T18:42:28.265Z] [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-08T18:42:43.515Z] Still waiting to schedule task [2021-06-08T18:42:43.516Z] ‘prd-centos7-docker-4c-2g-968’ is offline [2021-06-08T18:42:43.520Z] Still waiting to schedule task [2021-06-08T18:42:43.520Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-08T18:44:42.814Z] Running on prd-centos7-docker-4c-2g-970 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] ws [2021-06-08T18:44:42.834Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-08T18:44:43.019Z] Selected Git installation does not exist. Using Default [2021-06-08T18:44:43.019Z] The recommended git tool is: NONE [2021-06-08T18:44:45.218Z] using credential edgex-jenkins-ssh [2021-06-08T18:44:45.230Z] Cloning the remote Git repository [2021-06-08T18:44:45.254Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:44:45.331Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-08T18:44:45.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:44:45.367Z] > git --version # timeout=10 [2021-06-08T18:44:45.375Z] > git --version # 'git version 2.24.4' [2021-06-08T18:44:45.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:44:45.402Z] [INFO] Currently running in a labeled security context [2021-06-08T18:44:45.402Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T18:44:45.402Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh70042699446571018.key [2021-06-08T18:44:45.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T18:44:46.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T18:44:46.177Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T18:44:46.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T18:44:46.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:44:46.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:44:46.197Z] [INFO] Currently running in a labeled security context [2021-06-08T18:44:46.197Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T18:44:46.198Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh2632715773786220794.key [2021-06-08T18:44:46.206Z] > 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-08T18:44:46.593Z] Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [2021-06-08T18:44:46.706Z] Merge succeeded, producing ba2eb6a294efc33260a307763b79ae56f7c8de7d [2021-06-08T18:44:46.707Z] Checking out Revision ba2eb6a294efc33260a307763b79ae56f7c8de7d (PR-955) [2021-06-08T18:44:46.600Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T18:44:46.609Z] > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [2021-06-08T18:44:46.647Z] > git remote # timeout=10 [2021-06-08T18:44:46.656Z] > git config --get remote.origin.url # timeout=10 [2021-06-08T18:44:46.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:44:46.665Z] [INFO] Currently running in a labeled security context [2021-06-08T18:44:46.665Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T18:44:46.665Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1271477096474376624.key [2021-06-08T18:44:46.672Z] > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 [2021-06-08T18:44:46.694Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-08T18:44:46.705Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T18:44:46.719Z] > git checkout -f ba2eb6a294efc33260a307763b79ae56f7c8de7d # timeout=10 [2021-06-08T18:44:48.565Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-969 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] ws [2021-06-08T18:44:48.583Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-08T18:44:48.776Z] Selected Git installation does not exist. Using Default [2021-06-08T18:44:48.776Z] The recommended git tool is: NONE [2021-06-08T18:44:50.390Z] Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" [2021-06-08T18:44:50.390Z] > git rev-list --no-walk 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T18:44:53.796Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-08T18:44:54.130Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T18:44:54.433Z] + true [2021-06-08T18:44:54.434Z] + sudo service docker restart [2021-06-08T18:44:54.434Z] Redirecting to /bin/systemctl restart docker.service [2021-06-08T18:44:56.260Z] using credential edgex-jenkins-ssh [2021-06-08T18:44:56.279Z] Cloning the remote Git repository [2021-06-08T18:44:56.336Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:44:56.440Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-08T18:44:56.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:44:56.519Z] > git --version # timeout=10 [2021-06-08T18:44:56.537Z] > git --version # 'git version 2.17.1' [2021-06-08T18:44:56.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:44:56.611Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T18:44:58.324Z] Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 [2021-06-08T18:44:58.573Z] Merge succeeded, producing 0901f1f3cf89eb61204d1bbc8d169a300a21454f [2021-06-08T18:44:58.574Z] Checking out Revision 0901f1f3cf89eb61204d1bbc8d169a300a21454f (PR-955) [2021-06-08T18:44:57.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T18:44:57.783Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T18:44:57.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T18:44:57.837Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:44:57.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:44:57.857Z] > 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-08T18:44:58.339Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T18:44:58.353Z] > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [2021-06-08T18:44:58.448Z] > git remote # timeout=10 [2021-06-08T18:44:58.463Z] > git config --get remote.origin.url # timeout=10 [2021-06-08T18:44:58.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:44:58.484Z] > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 [2021-06-08T18:44:58.557Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-08T18:44:58.577Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T18:44:58.587Z] > git checkout -f 0901f1f3cf89eb61204d1bbc8d169a300a21454f # timeout=10 [2021-06-08T18:45:02.829Z] Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" [2021-06-08T18:45:02.835Z] > git rev-list --no-walk 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T18:45:04.276Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-08T18:45:04.688Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T18:45:05.045Z] + sudo service docker restart [2021-06-08T18:45:05.046Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T18:45:12.625Z] provisioning config files... [2021-06-08T18:45:12.643Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8756355087448771389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:45:12.972Z] ---> docker-login.sh [2021-06-08T18:45:12.972Z] nexus3.edgexfoundry.org:10001 [2021-06-08T18:45:13.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:13.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:13.238Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:13.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:13.238Z] [2021-06-08T18:45:13.238Z] Login Succeeded [2021-06-08T18:45:13.238Z] nexus3.edgexfoundry.org:10002 [2021-06-08T18:45:13.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:13.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:13.503Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:13.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:13.503Z] [2021-06-08T18:45:13.503Z] Login Succeeded [2021-06-08T18:45:13.503Z] nexus3.edgexfoundry.org:10003 [2021-06-08T18:45:13.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:13.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:13.503Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:13.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:13.503Z] [2021-06-08T18:45:13.503Z] Login Succeeded [2021-06-08T18:45:13.503Z] nexus3.edgexfoundry.org:10004 [2021-06-08T18:45:13.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:13.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:13.766Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:13.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:13.766Z] [2021-06-08T18:45:13.766Z] Login Succeeded [2021-06-08T18:45:13.766Z] docker.io [2021-06-08T18:45:13.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:14.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:14.026Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:14.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:14.026Z] [2021-06-08T18:45:14.026Z] Login Succeeded [2021-06-08T18:45:14.026Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T18:45:14.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T18:45:14.221Z] ========================================================= [2021-06-08T18:45:14.221Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-08T18:45:14.221Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:45:14.536Z] + 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-08T18:45:14.536Z] Sending build context to Docker daemon 2.631MB [2021-06-08T18:45:14.536Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T18:45:14.536Z] Step 2/8 : FROM ${BASE} [2021-06-08T18:45:14.536Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-08T18:45:14.536Z] 540db60ca938: Pulling fs layer [2021-06-08T18:45:14.536Z] adcc1eea9eea: Pulling fs layer [2021-06-08T18:45:14.536Z] 4c4ab2625f07: Pulling fs layer [2021-06-08T18:45:14.536Z] 0510c868ecb4: Pulling fs layer [2021-06-08T18:45:14.536Z] afea3b2eda06: Pulling fs layer [2021-06-08T18:45:14.536Z] 7809a108b3ef: Pulling fs layer [2021-06-08T18:45:14.536Z] f706445af74f: Pulling fs layer [2021-06-08T18:45:14.536Z] 0510c868ecb4: Waiting [2021-06-08T18:45:14.536Z] afea3b2eda06: Waiting [2021-06-08T18:45:14.536Z] 7809a108b3ef: Waiting [2021-06-08T18:45:14.536Z] f706445af74f: Waiting [2021-06-08T18:45:14.807Z] 4c4ab2625f07: Verifying Checksum [2021-06-08T18:45:14.807Z] 4c4ab2625f07: Download complete [2021-06-08T18:45:14.807Z] adcc1eea9eea: Verifying Checksum [2021-06-08T18:45:14.807Z] adcc1eea9eea: Download complete [2021-06-08T18:45:14.807Z] afea3b2eda06: Verifying Checksum [2021-06-08T18:45:14.807Z] afea3b2eda06: Download complete [2021-06-08T18:45:14.807Z] 540db60ca938: Verifying Checksum [2021-06-08T18:45:14.807Z] 540db60ca938: Download complete [2021-06-08T18:45:14.807Z] 7809a108b3ef: Verifying Checksum [2021-06-08T18:45:14.807Z] 7809a108b3ef: Download complete [2021-06-08T18:45:14.807Z] 540db60ca938: Pull complete [2021-06-08T18:45:15.068Z] adcc1eea9eea: Pull complete [2021-06-08T18:45:15.068Z] 4c4ab2625f07: Pull complete [2021-06-08T18:45:16.457Z] f706445af74f: Verifying Checksum [2021-06-08T18:45:16.457Z] f706445af74f: Download complete [2021-06-08T18:45:17.031Z] 0510c868ecb4: Verifying Checksum [2021-06-08T18:45:17.031Z] 0510c868ecb4: Download complete [2021-06-08T18:45:20.382Z] 0510c868ecb4: Pull complete [2021-06-08T18:45:20.382Z] afea3b2eda06: Pull complete [2021-06-08T18:45:20.382Z] 7809a108b3ef: Pull complete [2021-06-08T18:45:21.791Z] f706445af74f: Pull complete [2021-06-08T18:45:21.791Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-08T18:45:21.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-08T18:45:21.791Z] ---> b068be0155e3 [2021-06-08T18:45:21.791Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T18:45:23.403Z] provisioning config files... [2021-06-08T18:45:23.430Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7454922652477032226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:45:23.809Z] ---> docker-login.sh [2021-06-08T18:45:23.809Z] nexus3.edgexfoundry.org:10001 [2021-06-08T18:45:24.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:25.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:25.068Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:25.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:25.068Z] [2021-06-08T18:45:25.068Z] Login Succeeded [2021-06-08T18:45:25.068Z] nexus3.edgexfoundry.org:10002 [2021-06-08T18:45:25.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:25.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:25.623Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:25.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:25.623Z] [2021-06-08T18:45:25.623Z] Login Succeeded [2021-06-08T18:45:25.623Z] nexus3.edgexfoundry.org:10003 [2021-06-08T18:45:25.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:26.070Z] ---> Running in 77dac654f496 [2021-06-08T18:45:26.070Z] Removing intermediate container 77dac654f496 [2021-06-08T18:45:26.070Z] ---> dcc8559e46e3 [2021-06-08T18:45:26.070Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:45:26.070Z] ---> Running in 92ff42ad9747 [2021-06-08T18:45:26.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:26.181Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:26.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:26.181Z] [2021-06-08T18:45:26.181Z] Login Succeeded [2021-06-08T18:45:26.181Z] nexus3.edgexfoundry.org:10004 [2021-06-08T18:45:26.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:26.660Z] Removing intermediate container 92ff42ad9747 [2021-06-08T18:45:26.660Z] ---> 55c2b0344ec8 [2021-06-08T18:45:26.660Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-08T18:45:26.660Z] ---> Running in 096fc120a5d0 [2021-06-08T18:45:26.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:26.728Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:26.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:26.728Z] [2021-06-08T18:45:26.728Z] Login Succeeded [2021-06-08T18:45:26.728Z] docker.io [2021-06-08T18:45:26.927Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T18:45:27.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:45:27.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:45:27.283Z] Configure a credential helper to remove this warning. See [2021-06-08T18:45:27.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:45:27.283Z] [2021-06-08T18:45:27.283Z] Login Succeeded [2021-06-08T18:45:27.283Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T18:45:27.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T18:45:27.846Z] ========================================================= [2021-06-08T18:45:27.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-08T18:45:27.847Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:45:27.877Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T18:45:28.278Z] + 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-08T18:45:28.886Z] Sending build context to Docker daemon 2.63MB [2021-06-08T18:45:28.886Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T18:45:28.886Z] Step 2/8 : FROM ${BASE} [2021-06-08T18:45:29.162Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-08T18:45:29.162Z] 595b0fe564bb: Pulling fs layer [2021-06-08T18:45:29.162Z] 7186ed65a4f7: Pulling fs layer [2021-06-08T18:45:29.162Z] 316046926c0a: Pulling fs layer [2021-06-08T18:45:29.162Z] 4ebd0625c992: Pulling fs layer [2021-06-08T18:45:29.162Z] 207e8628e3a3: Pulling fs layer [2021-06-08T18:45:29.162Z] c791037a9be2: Pulling fs layer [2021-06-08T18:45:29.162Z] ffd874e62e21: Pulling fs layer [2021-06-08T18:45:29.162Z] 4ebd0625c992: Waiting [2021-06-08T18:45:29.162Z] 207e8628e3a3: Waiting [2021-06-08T18:45:29.162Z] c791037a9be2: Waiting [2021-06-08T18:45:29.162Z] ffd874e62e21: Waiting [2021-06-08T18:45:29.162Z] 316046926c0a: Verifying Checksum [2021-06-08T18:45:29.162Z] 316046926c0a: Download complete [2021-06-08T18:45:29.162Z] 7186ed65a4f7: Verifying Checksum [2021-06-08T18:45:29.162Z] 7186ed65a4f7: Download complete [2021-06-08T18:45:29.162Z] 207e8628e3a3: Download complete [2021-06-08T18:45:29.162Z] 595b0fe564bb: Verifying Checksum [2021-06-08T18:45:29.162Z] 595b0fe564bb: Download complete [2021-06-08T18:45:29.162Z] c791037a9be2: Verifying Checksum [2021-06-08T18:45:29.162Z] c791037a9be2: Download complete [2021-06-08T18:45:29.275Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-08T18:45:29.275Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-08T18:45:29.275Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-08T18:45:29.541Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-08T18:45:29.541Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-08T18:45:29.769Z] 595b0fe564bb: Pull complete [2021-06-08T18:45:30.129Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-08T18:45:30.130Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T18:45:30.130Z] OK: 150 MiB in 46 packages [2021-06-08T18:45:30.380Z] 7186ed65a4f7: Pull complete [2021-06-08T18:45:30.392Z] Removing intermediate container 096fc120a5d0 [2021-06-08T18:45:30.392Z] ---> c66d0708d07c [2021-06-08T18:45:30.392Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-08T18:45:30.392Z] ---> Running in e2f0b673f5d8 [2021-06-08T18:45:30.658Z] Removing intermediate container e2f0b673f5d8 [2021-06-08T18:45:30.658Z] ---> 8a22fe9fc34a [2021-06-08T18:45:30.658Z] Step 7/8 : COPY . . [2021-06-08T18:45:30.926Z] ---> aca8c2cbbf1a [2021-06-08T18:45:30.926Z] Step 8/8 : RUN go mod download [2021-06-08T18:45:30.926Z] ---> Running in 6ec67538d276 [2021-06-08T18:45:30.980Z] 316046926c0a: Pull complete [2021-06-08T18:45:33.395Z] ffd874e62e21: Verifying Checksum [2021-06-08T18:45:33.395Z] ffd874e62e21: Download complete [2021-06-08T18:45:33.395Z] 4ebd0625c992: Verifying Checksum [2021-06-08T18:45:33.395Z] 4ebd0625c992: Download complete [2021-06-08T18:45:43.565Z] 4ebd0625c992: Pull complete [2021-06-08T18:45:43.565Z] 207e8628e3a3: Pull complete [2021-06-08T18:45:43.565Z] c791037a9be2: Pull complete [2021-06-08T18:45:45.386Z] Removing intermediate container 6ec67538d276 [2021-06-08T18:45:45.386Z] ---> 98e549b8236d [2021-06-08T18:45:45.386Z] Successfully built 98e549b8236d [2021-06-08T18:45:45.386Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:45:45.713Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T18:45:45.713Z] . [Pipeline] withDockerContainer [2021-06-08T18:45:45.785Z] prd-centos7-docker-4c-2g-970 does not seem to be running inside a container [2021-06-08T18:45:45.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-08T18:45:46.194Z] ffd874e62e21: Pull complete [2021-06-08T18:45:46.204Z] $ docker top 4ff11e62672df7ee671dd389e6dd75a0c9e2fffb2416c1f12e2e21159706c0ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:45:46.471Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-08T18:45:46.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-08T18:45:46.471Z] ---> cfc18b08335c [2021-06-08T18:45:46.471Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:45:46.587Z] + go version [2021-06-08T18:45:46.587Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-08T18:45:46.595Z] $ docker stop --time=1 4ff11e62672df7ee671dd389e6dd75a0c9e2fffb2416c1f12e2e21159706c0ab [2021-06-08T18:45:47.778Z] $ docker rm -f 4ff11e62672df7ee671dd389e6dd75a0c9e2fffb2416c1f12e2e21159706c0ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:45:48.348Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T18:45:48.348Z] . [Pipeline] withDockerContainer [2021-06-08T18:45:48.420Z] prd-centos7-docker-4c-2g-970 does not seem to be running inside a container [2021-06-08T18:45:48.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-08T18:45:48.473Z] ---> Running in fd224f2b8b43 [2021-06-08T18:45:48.817Z] $ docker top f967cab4a846eef4ad894d4a2f4121185c47cea8af960dc8c7369ace97aaf500 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:45:49.070Z] Removing intermediate container fd224f2b8b43 [2021-06-08T18:45:49.070Z] ---> e9acae57bd2c [2021-06-08T18:45:49.070Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:45:49.070Z] ---> Running in b7e3e38ca79d [2021-06-08T18:45:49.211Z] + go mod tidy [Pipeline] sh [2021-06-08T18:45:49.784Z] + make test [2021-06-08T18:45:49.784Z] go mod tidy [2021-06-08T18:45:50.049Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-08T18:45:51.696Z] Removing intermediate container b7e3e38ca79d [2021-06-08T18:45:51.696Z] ---> c12bef40c7ba [2021-06-08T18:45:51.696Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-08T18:45:51.696Z] ---> Running in ae4bdbdeb78d [2021-06-08T18:45:53.133Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T18:45:54.106Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T18:45:54.699Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-08T18:45:54.971Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-08T18:45:54.971Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-08T18:45:54.971Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-08T18:45:55.246Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-08T18:45:55.246Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-08T18:45:55.246Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T18:45:55.246Z] OK: 139 MiB in 46 packages [2021-06-08T18:45:55.386Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-08T18:45:56.695Z] Removing intermediate container ae4bdbdeb78d [2021-06-08T18:45:56.695Z] ---> dc026b90aa38 [2021-06-08T18:45:56.695Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-08T18:45:56.695Z] ---> Running in efbf23387112 [2021-06-08T18:45:57.301Z] Removing intermediate container efbf23387112 [2021-06-08T18:45:57.301Z] ---> 70325bf57af8 [2021-06-08T18:45:57.301Z] Step 7/8 : COPY . . [2021-06-08T18:45:58.739Z] ---> be3dbf62c97f [2021-06-08T18:45:58.739Z] Step 8/8 : RUN go mod download [2021-06-08T18:45:58.739Z] ---> Running in 0e2af4a31d85 [2021-06-08T18:46:17.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-08T18:46:17.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-08T18:46:17.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-08T18:46:18.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 25.4% of statements [2021-06-08T18:46:18.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-08T18:46:18.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements [2021-06-08T18:46:19.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.047s coverage: 78.9% of statements [2021-06-08T18:46:19.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements [2021-06-08T18:46:19.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-08T18:46:19.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-08T18:46:19.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-08T18:46:20.414Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 29.2% of statements [2021-06-08T18:46:20.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-08T18:46:23.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.045s coverage: 83.3% of statements [2021-06-08T18:46:23.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-08T18:46:23.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-08T18:46:23.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 58.0% of statements [2021-06-08T18:46:23.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.803s coverage: 89.2% of statements [2021-06-08T18:46:23.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-08T18:46:23.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements [2021-06-08T18:46:23.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-08T18:46:23.795Z] GO111MODULE=on go vet ./... [2021-06-08T18:46:25.591Z] Removing intermediate container 0e2af4a31d85 [2021-06-08T18:46:25.591Z] ---> 0a804df4bdea [2021-06-08T18:46:25.591Z] Successfully built 0a804df4bdea [2021-06-08T18:46:25.591Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:46:25.939Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T18:46:25.939Z] . [Pipeline] withDockerContainer [2021-06-08T18:46:26.216Z] prd-ubuntu18.04-docker-arm64-4c-16g-969 does not seem to be running inside a container [2021-06-08T18:46:26.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-08T18:46:27.943Z] $ docker top 4f66306c937065fdd47140fc0faa0732feb278852e91a3e08de1da997d1a9117 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:46:28.914Z] + go version [2021-06-08T18:46:28.914Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-08T18:46:28.938Z] $ docker stop --time=1 4f66306c937065fdd47140fc0faa0732feb278852e91a3e08de1da997d1a9117 [2021-06-08T18:46:30.768Z] $ docker rm -f 4f66306c937065fdd47140fc0faa0732feb278852e91a3e08de1da997d1a9117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:46:31.639Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T18:46:31.639Z] . [Pipeline] withDockerContainer [2021-06-08T18:46:31.902Z] prd-ubuntu18.04-docker-arm64-4c-16g-969 does not seem to be running inside a container [2021-06-08T18:46:31.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-08T18:46:33.546Z] $ docker top 1c5731ddb23109d5725fccf1e5477bb6fba78ec8353c093c901f77d6de1c4104 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:46:34.518Z] + go mod tidy [Pipeline] sh [2021-06-08T18:46:35.783Z] + make test [2021-06-08T18:46:35.783Z] go mod tidy [2021-06-08T18:46:36.386Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-08T18:46:42.029Z] gofmt -l . [2021-06-08T18:46:42.029Z] [ "`gofmt -l .`" = "" ] [2021-06-08T18:46:42.029Z] ./bin/test-attribution-txt.sh [2021-06-08T18:46:42.029Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-08T18:46:42.036Z] $ docker stop --time=1 f967cab4a846eef4ad894d4a2f4121185c47cea8af960dc8c7369ace97aaf500 [2021-06-08T18:46:43.560Z] $ docker rm -f f967cab4a846eef4ad894d4a2f4121185c47cea8af960dc8c7369ace97aaf500 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T18:46:44.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T18:46:44.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-08T18:46:50.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T18:46:50.912Z] + ls -al . [2021-06-08T18:46:50.912Z] total 208 [2021-06-08T18:46:50.912Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 8 18:46 . [2021-06-08T18:46:50.912Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 8 18:44 .. [2021-06-08T18:46:50.912Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 8 18:44 bin [2021-06-08T18:46:50.912Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 8 18:46 coverage.out [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 8 18:44 Dockerfile.build [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 8 18:44 .dockerignore [2021-06-08T18:46:50.912Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 8 18:44 example [2021-06-08T18:46:50.912Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 8 18:44 .git [2021-06-08T18:46:50.912Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 18:44 .github [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 8 18:44 .gitignore [2021-06-08T18:46:50.912Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 8 18:46 go.mod [2021-06-08T18:46:50.912Z] -rw-r--r--. 1 jenkins jenkins 20472 Jun 8 18:45 go.sum [2021-06-08T18:46:50.912Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 8 18:44 internal [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 8 18:44 Jenkinsfile [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 8 18:44 LICENSE [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 8 18:44 Makefile [2021-06-08T18:46:50.912Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 8 18:44 openapi [2021-06-08T18:46:50.912Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 8 18:44 pkg [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 8 18:44 README.md [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 8 18:44 RELEASE-NOTES.txt [2021-06-08T18:46:50.912Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 8 18:44 snap [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 8 18:42 VERSION [2021-06-08T18:46:50.912Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 8 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:46:51.215Z] + 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=ba2eb6a294efc33260a307763b79ae56f7c8de7d --label arch=amd64 --label version=0.0.0 . [2021-06-08T18:46:51.215Z] Sending build context to Docker daemon 2.758MB [2021-06-08T18:46:51.215Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T18:46:51.215Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-08T18:46:51.215Z] ---> 98e549b8236d [2021-06-08T18:46:51.215Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-08T18:46:51.215Z] ---> Running in c0db74b37564 [2021-06-08T18:46:51.479Z] Removing intermediate container c0db74b37564 [2021-06-08T18:46:51.479Z] ---> 8772190facce [2021-06-08T18:46:51.479Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:46:51.479Z] ---> Running in f93c03f0c9a9 [2021-06-08T18:46:51.479Z] Removing intermediate container f93c03f0c9a9 [2021-06-08T18:46:51.479Z] ---> ece668e4f638 [2021-06-08T18:46:51.479Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:46:51.479Z] ---> Running in 6e95afeab9c5 [2021-06-08T18:46:52.058Z] Removing intermediate container 6e95afeab9c5 [2021-06-08T18:46:52.058Z] ---> a68ba203050e [2021-06-08T18:46:52.058Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T18:46:52.058Z] ---> Running in 968de3972938 [2021-06-08T18:46:52.319Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T18:46:53.262Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T18:46:53.524Z] OK: 150 MiB in 46 packages [2021-06-08T18:46:53.786Z] Removing intermediate container 968de3972938 [2021-06-08T18:46:53.786Z] ---> f80641dc5667 [2021-06-08T18:46:53.786Z] Step 7/23 : COPY . . [2021-06-08T18:46:54.047Z] ---> cd461562d943 [2021-06-08T18:46:54.047Z] Step 8/23 : RUN go mod download [2021-06-08T18:46:54.047Z] ---> Running in 324b637bc0c2 [2021-06-08T18:46:54.621Z] Removing intermediate container 324b637bc0c2 [2021-06-08T18:46:54.621Z] ---> 6af88f2c051d [2021-06-08T18:46:54.621Z] Step 9/23 : RUN make build [2021-06-08T18:46:54.621Z] ---> Running in 508248ca7bd4 [2021-06-08T18:46:54.888Z] go mod tidy [2021-06-08T18:46:55.149Z] 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-08T18:47:02.218Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-08T18:47:05.201Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-08T18:47:05.774Z] Removing intermediate container 508248ca7bd4 [2021-06-08T18:47:05.774Z] ---> 5372bf867b4b [2021-06-08T18:47:05.774Z] Step 10/23 : FROM alpine:3.12 [2021-06-08T18:47:06.346Z] 3.12: Pulling from library/alpine [2021-06-08T18:47:06.615Z] 339de151aab4: Pulling fs layer [2021-06-08T18:47:06.880Z] 339de151aab4: Verifying Checksum [2021-06-08T18:47:06.880Z] 339de151aab4: Download complete [2021-06-08T18:47:06.880Z] 339de151aab4: Pull complete [2021-06-08T18:47:06.880Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T18:47:06.880Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T18:47:06.880Z] ---> 13621d1b12d4 [2021-06-08T18:47:06.880Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:47:06.880Z] ---> Running in ec7c1554521b [2021-06-08T18:47:07.146Z] Removing intermediate container ec7c1554521b [2021-06-08T18:47:07.146Z] ---> d650a63fae0e [2021-06-08T18:47:07.146Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:47:07.146Z] ---> Running in e5b81e938e8b [2021-06-08T18:47:07.721Z] Removing intermediate container e5b81e938e8b [2021-06-08T18:47:07.721Z] ---> 4c93ff602de1 [2021-06-08T18:47:07.721Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-08T18:47:07.721Z] ---> Running in 6b9d66b8e49b [2021-06-08T18:47:07.721Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-08T18:47:08.666Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-08T18:47:08.927Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-08T18:47:08.927Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-08T18:47:08.927Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-08T18:47:09.880Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-08T18:47:10.142Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-08T18:47:10.142Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T18:47:10.142Z] OK: 8 MiB in 19 packages [2021-06-08T18:47:10.404Z] Removing intermediate container 6b9d66b8e49b [2021-06-08T18:47:10.404Z] ---> 843cdcdd5311 [2021-06-08T18:47:10.404Z] Step 14/23 : WORKDIR / [2021-06-08T18:47:10.404Z] ---> Running in e40ab5801ad0 [2021-06-08T18:47:10.404Z] Removing intermediate container e40ab5801ad0 [2021-06-08T18:47:10.404Z] ---> 3aec14a15837 [2021-06-08T18:47:10.404Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-08T18:47:10.671Z] ---> aa41d42fc9ed [2021-06-08T18:47:10.671Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-08T18:47:11.247Z] ---> 5cc292d2d41d [2021-06-08T18:47:11.247Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-08T18:47:11.247Z] ---> ed3613cdb287 [2021-06-08T18:47:11.247Z] Step 18/23 : EXPOSE 59999 [2021-06-08T18:47:11.247Z] ---> Running in ce84d7600dd1 [2021-06-08T18:47:11.247Z] Removing intermediate container ce84d7600dd1 [2021-06-08T18:47:11.247Z] ---> 27dfd4b58b1a [2021-06-08T18:47:11.247Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-08T18:47:11.513Z] ---> Running in 2d4d282f7727 [2021-06-08T18:47:11.513Z] Removing intermediate container 2d4d282f7727 [2021-06-08T18:47:11.513Z] ---> 53843c4d6972 [2021-06-08T18:47:11.513Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T18:47:11.513Z] ---> Running in dc9057ee228b [2021-06-08T18:47:11.513Z] Removing intermediate container dc9057ee228b [2021-06-08T18:47:11.513Z] ---> 97e7243e7710 [2021-06-08T18:47:11.513Z] Step 21/23 : LABEL arch=amd64 [2021-06-08T18:47:11.513Z] ---> Running in 31fd38bff777 [2021-06-08T18:47:11.775Z] Removing intermediate container 31fd38bff777 [2021-06-08T18:47:11.775Z] ---> d2c269273593 [2021-06-08T18:47:11.775Z] Step 22/23 : LABEL git_sha=ba2eb6a294efc33260a307763b79ae56f7c8de7d [2021-06-08T18:47:11.775Z] ---> Running in a41d31d03d93 [2021-06-08T18:47:11.775Z] Removing intermediate container a41d31d03d93 [2021-06-08T18:47:11.775Z] ---> 659128454270 [2021-06-08T18:47:11.775Z] Step 23/23 : LABEL version=0.0.0 [2021-06-08T18:47:11.775Z] ---> Running in dfa03e430360 [2021-06-08T18:47:12.036Z] Removing intermediate container dfa03e430360 [2021-06-08T18:47:12.036Z] ---> 500a9bb720a8 [2021-06-08T18:47:12.036Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-08T18:47:12.036Z] Successfully built 500a9bb720a8 [2021-06-08T18:47:12.036Z] 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-08T18:47:13.023Z] ---> job-cost.sh [2021-06-08T18:47:13.023Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5QXo [2021-06-08T18:47:23.061Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T18:47:35.327Z] lf-activate-venv(): INFO: Adding /tmp/venv-5QXo/bin to PATH [2021-06-08T18:47:35.327Z] INFO: No Stack... [2021-06-08T18:47:35.901Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T18:47:36.481Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T18:47:36.783Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-08T18:47:36.784Z] + cut -d, -f6 [Pipeline] lock [2021-06-08T18:47:36.814Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] [2021-06-08T18:47:36.828Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] did not exist. Created. [2021-06-08T18:47:36.828Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T18:47:37.150Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-08T18:47:37.220Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T18:47:37.235Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-08T18:48:10.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-08T18:48:10.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-08T18:48:10.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-08T18:48:12.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.390s coverage: 25.4% of statements [2021-06-08T18:48:12.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-08T18:48:12.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.214s coverage: 28.1% of statements [2021-06-08T18:48:12.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.240s coverage: 78.9% of statements [2021-06-08T18:48:12.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.196s coverage: 9.0% of statements [2021-06-08T18:48:12.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-08T18:48:12.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-08T18:48:12.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-08T18:48:14.928Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.265s coverage: 29.2% of statements [2021-06-08T18:48:14.928Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-08T18:48:15.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.223s coverage: 83.3% of statements [2021-06-08T18:48:15.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-08T18:48:15.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-08T18:48:15.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.339s coverage: 58.0% of statements [2021-06-08T18:48:19.332Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.052s coverage: 89.2% of statements [2021-06-08T18:48:19.332Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-08T18:48:19.332Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.196s coverage: 5.0% of statements [2021-06-08T18:48:19.332Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-08T18:48:19.938Z] GO111MODULE=on go vet ./... [2021-06-08T18:49:16.586Z] gofmt -l . [2021-06-08T18:49:16.586Z] [ "`gofmt -l .`" = "" ] [2021-06-08T18:49:16.586Z] ./bin/test-attribution-txt.sh [2021-06-08T18:49:17.564Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-08T18:49:17.857Z] $ docker stop --time=1 1c5731ddb23109d5725fccf1e5477bb6fba78ec8353c093c901f77d6de1c4104 [2021-06-08T18:49:20.018Z] $ docker rm -f 1c5731ddb23109d5725fccf1e5477bb6fba78ec8353c093c901f77d6de1c4104 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T18:49:21.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T18:49:21.170Z] Warning: overwriting stash ‘coverage-report’ [2021-06-08T18:49:21.771Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T18:49:22.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T18:49:22.692Z] + ls -al . [2021-06-08T18:49:22.692Z] total 244 [2021-06-08T18:49:22.692Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 18:49 . [2021-06-08T18:49:22.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:44 .. [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 18:44 .dockerignore [2021-06-08T18:49:22.692Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 18:45 .git [2021-06-08T18:49:22.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 18:44 .github [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 8 18:44 .gitignore [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 8 18:44 Dockerfile.build [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 8 18:44 Jenkinsfile [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 8 18:44 LICENSE [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 8 18:44 Makefile [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 8 18:44 README.md [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 8 18:44 RELEASE-NOTES.txt [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 18:42 VERSION [2021-06-08T18:49:22.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 18:44 bin [2021-06-08T18:49:22.692Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 8 18:48 coverage.out [2021-06-08T18:49:22.692Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 18:44 example [2021-06-08T18:49:22.692Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 8 18:49 go.mod [2021-06-08T18:49:22.692Z] -rw-r--r-- 1 jenkins jenkins 20472 Jun 8 18:46 go.sum [2021-06-08T18:49:22.692Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 8 18:44 internal [2021-06-08T18:49:22.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:44 openapi [2021-06-08T18:49:22.692Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 18:44 pkg [2021-06-08T18:49:22.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:44 snap [2021-06-08T18:49:22.692Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 8 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:49:23.059Z] + 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=0901f1f3cf89eb61204d1bbc8d169a300a21454f --label arch=arm64 --label version=0.0.0 . [2021-06-08T18:49:23.660Z] Sending build context to Docker daemon 2.757MB [2021-06-08T18:49:23.660Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T18:49:23.660Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-08T18:49:23.660Z] ---> 0a804df4bdea [2021-06-08T18:49:23.660Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-08T18:49:23.934Z] ---> Running in e706849d00e8 [2021-06-08T18:49:24.529Z] Removing intermediate container e706849d00e8 [2021-06-08T18:49:24.529Z] ---> f5e57e466ecb [2021-06-08T18:49:24.529Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:49:24.529Z] ---> Running in ebeaaf9f6414 [2021-06-08T18:49:25.123Z] Removing intermediate container ebeaaf9f6414 [2021-06-08T18:49:25.123Z] ---> 093e8cd45d6f [2021-06-08T18:49:25.123Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:49:25.123Z] ---> Running in 93703b047263 [2021-06-08T18:49:30.462Z] Removing intermediate container 93703b047263 [2021-06-08T18:49:30.462Z] ---> 1b85cca74051 [2021-06-08T18:49:30.462Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T18:49:30.462Z] ---> Running in 24cffa477adf [2021-06-08T18:49:30.462Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T18:49:30.462Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T18:49:30.738Z] OK: 139 MiB in 46 packages [2021-06-08T18:49:31.711Z] Removing intermediate container 24cffa477adf [2021-06-08T18:49:31.711Z] ---> b0743ecf7bb1 [2021-06-08T18:49:31.711Z] Step 7/23 : COPY . . [2021-06-08T18:49:33.143Z] ---> e5a8d094970b [2021-06-08T18:49:33.143Z] Step 8/23 : RUN go mod download [2021-06-08T18:49:33.143Z] ---> Running in c6522a944b6f [2021-06-08T18:49:35.778Z] Removing intermediate container c6522a944b6f [2021-06-08T18:49:35.778Z] ---> 3b1ad7ac8b37 [2021-06-08T18:49:35.778Z] Step 9/23 : RUN make build [2021-06-08T18:49:35.778Z] ---> Running in 8cf47213f653 [2021-06-08T18:49:36.777Z] go mod tidy [2021-06-08T18:49:37.382Z] 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-08T18:50:09.757Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-08T18:50:12.401Z] Removing intermediate container 8cf47213f653 [2021-06-08T18:50:12.401Z] ---> ba877bb228d4 [2021-06-08T18:50:12.401Z] Step 10/23 : FROM alpine:3.12 [2021-06-08T18:50:12.672Z] 3.12: Pulling from library/alpine [2021-06-08T18:50:12.944Z] d2f70382dc9a: Pulling fs layer [2021-06-08T18:50:13.220Z] d2f70382dc9a: Verifying Checksum [2021-06-08T18:50:13.220Z] d2f70382dc9a: Download complete [2021-06-08T18:50:13.816Z] d2f70382dc9a: Pull complete [2021-06-08T18:50:13.816Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T18:50:13.816Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T18:50:13.816Z] ---> 9852663dfa18 [2021-06-08T18:50:13.816Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:50:14.090Z] ---> Running in a3009fad3bb5 [2021-06-08T18:50:14.683Z] Removing intermediate container a3009fad3bb5 [2021-06-08T18:50:14.683Z] ---> 5c065737b2b9 [2021-06-08T18:50:14.683Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:50:14.683Z] ---> Running in 952ea485632d [2021-06-08T18:50:17.311Z] Removing intermediate container 952ea485632d [2021-06-08T18:50:17.312Z] ---> f6ba6a6d377b [2021-06-08T18:50:17.312Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-08T18:50:17.312Z] ---> Running in c8fe23907d06 [2021-06-08T18:50:18.292Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-08T18:50:18.925Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-08T18:50:19.916Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-08T18:50:19.916Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-08T18:50:19.916Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-08T18:50:19.916Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-08T18:50:20.189Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-08T18:50:20.189Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T18:50:20.189Z] OK: 8 MiB in 19 packages [2021-06-08T18:50:21.621Z] Removing intermediate container c8fe23907d06 [2021-06-08T18:50:21.621Z] ---> a0223c03d195 [2021-06-08T18:50:21.621Z] Step 14/23 : WORKDIR / [2021-06-08T18:50:21.621Z] ---> Running in 7f2867fe11dd [2021-06-08T18:50:22.236Z] Removing intermediate container 7f2867fe11dd [2021-06-08T18:50:22.236Z] ---> adf9de9b5a02 [2021-06-08T18:50:22.236Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-08T18:50:22.829Z] ---> 996c01cec7ad [2021-06-08T18:50:22.829Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-08T18:50:24.265Z] ---> 44396b66f645 [2021-06-08T18:50:24.265Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-08T18:50:24.858Z] ---> 127e506ff9c5 [2021-06-08T18:50:24.858Z] Step 18/23 : EXPOSE 59999 [2021-06-08T18:50:25.130Z] ---> Running in daa1e5c2b4c9 [2021-06-08T18:50:25.401Z] Removing intermediate container daa1e5c2b4c9 [2021-06-08T18:50:25.401Z] ---> 332209203fec [2021-06-08T18:50:25.401Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-08T18:50:25.673Z] ---> Running in 3c78bf217c4a [2021-06-08T18:50:25.964Z] Removing intermediate container 3c78bf217c4a [2021-06-08T18:50:25.964Z] ---> b464b92e8085 [2021-06-08T18:50:25.964Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T18:50:26.233Z] ---> Running in 0c2002641cea [2021-06-08T18:50:26.825Z] Removing intermediate container 0c2002641cea [2021-06-08T18:50:26.825Z] ---> 31333d47f10c [2021-06-08T18:50:26.825Z] Step 21/23 : LABEL arch=arm64 [2021-06-08T18:50:26.825Z] ---> Running in 8b85b1226c6b [2021-06-08T18:50:27.419Z] Removing intermediate container 8b85b1226c6b [2021-06-08T18:50:27.419Z] ---> a466430a99cf [2021-06-08T18:50:27.419Z] Step 22/23 : LABEL git_sha=0901f1f3cf89eb61204d1bbc8d169a300a21454f [2021-06-08T18:50:27.419Z] ---> Running in b90d7222aa6e [2021-06-08T18:50:28.026Z] Removing intermediate container b90d7222aa6e [2021-06-08T18:50:28.026Z] ---> 671a848a53bf [2021-06-08T18:50:28.026Z] Step 23/23 : LABEL version=0.0.0 [2021-06-08T18:50:28.026Z] ---> Running in 0caea557cf72 [2021-06-08T18:50:28.312Z] Removing intermediate container 0caea557cf72 [2021-06-08T18:50:28.312Z] ---> 3a1f03427177 [2021-06-08T18:50:28.312Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-08T18:50:28.584Z] Successfully built 3a1f03427177 [2021-06-08T18:50:28.584Z] 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-08T18:50:29.276Z] ---> job-cost.sh [2021-06-08T18:50:29.276Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FZh7 [2021-06-08T18:51:11.466Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T18:52:33.189Z] lf-activate-venv(): INFO: Adding /tmp/venv-FZh7/bin to PATH [2021-06-08T18:52:33.189Z] INFO: No Stack... [2021-06-08T18:52:33.189Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-08T18:52:33.189Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T18:52:33.530Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-08T18:52:33.530Z] + cut -d, -f6 [Pipeline] lock [2021-06-08T18:52:33.594Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] [2021-06-08T18:52:33.608Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] did not exist. Created. [2021-06-08T18:52:33.608Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T18:52:33.982Z] /w/workspace/device-sdk-go/2@tmp/durable-d78c4df2/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-d78c4df2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-08T18:52:34.326Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-08T18:52:34.346Z] Warning: overwriting stash ‘stack-cost’ [2021-06-08T18:52:34.494Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T18:52:34.505Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-955-2-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-08T18:52:35.268Z] provisioning config files... [2021-06-08T18:52:35.281Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config7931800074556710676tmp [Pipeline] { [Pipeline] sh [2021-06-08T18:52:35.607Z] + set +x [2021-06-08T18:52:35.607Z] + bash -s -- [2021-06-08T18:52:35.607Z] + curl -s https://codecov.io/bash [2021-06-08T18:52:35.607Z] [2021-06-08T18:52:35.607Z] _____ _ [2021-06-08T18:52:35.607Z] / ____| | | [2021-06-08T18:52:35.607Z] | | ___ __| | ___ ___ _____ __ [2021-06-08T18:52:35.607Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-08T18:52:35.607Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-08T18:52:35.607Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-08T18:52:35.607Z] Bash-1.0.3 [2021-06-08T18:52:35.607Z] [2021-06-08T18:52:35.607Z] [2021-06-08T18:52:35.607Z] ==> git version 2.24.4 found [2021-06-08T18:52:35.607Z] ==> 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-08T18:52:35.607Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-08T18:52:35.607Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-08T18:52:35.607Z] ==> Jenkins CI detected. [2021-06-08T18:52:35.607Z] project root: . [2021-06-08T18:52:35.607Z] --> token set from env [2021-06-08T18:52:35.880Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-08T18:52:35.880Z] ==> Running gcov in . (disable via -X gcov) [2021-06-08T18:52:35.880Z] ==> Python coveragepy not found [2021-06-08T18:52:35.880Z] ==> Searching for coverage reports in: [2021-06-08T18:52:35.880Z] + . [2021-06-08T18:52:35.880Z] -> Found 1 reports [2021-06-08T18:52:35.880Z] ==> Detecting git/mercurial file structure [2021-06-08T18:52:35.880Z] ==> Reading reports [2021-06-08T18:52:35.880Z] + ./coverage.out bytes=126071 [2021-06-08T18:52:35.880Z] ==> Appending adjustments [2021-06-08T18:52:35.880Z] https://docs.codecov.io/docs/fixing-reports [2021-06-08T18:52:36.144Z] + Found adjustments [2021-06-08T18:52:36.144Z] ==> Gzipping contents [2021-06-08T18:52:36.144Z] 20K /tmp/codecov.Jn2syA.gz [2021-06-08T18:52:36.144Z] ==> Uploading reports [2021-06-08T18:52:36.144Z] url: https://codecov.io [2021-06-08T18:52:36.144Z] query: branch=PR-955&commit=97670c8b50bcf91fe2678ec198568b5a908f90f5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-955%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=955&job=&cmd_args= [2021-06-08T18:52:36.144Z] -> Pinging Codecov [2021-06-08T18:52:36.144Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-955&commit=97670c8b50bcf91fe2678ec198568b5a908f90f5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-955%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=955&job=&cmd_args= [2021-06-08T18:52:36.725Z] -> Uploading to [2021-06-08T18:52:36.725Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-08/7E55EF52A471D76F132DFD9A03CDDE97/97670c8b50bcf91fe2678ec198568b5a908f90f5/26f390f7-7d19-4229-93bc-c6f65cf7cca8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T185236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2672343c2253c354826a59b036b403df40ffb69df3831cdf35935c4a7a4e03ff [2021-06-08T18:52:36.725Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-08T18:52:36.725Z] Dload Upload Total Spent Left Speed [2021-06-08T18:52:36.988Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 46078 --:--:-- --:--:-- --:--:-- 46151 [2021-06-08T18:52:36.988Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/97670c8b50bcf91fe2678ec198568b5a908f90f5 [Pipeline] } [2021-06-08T18:52:36.997Z] 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-08T18:52:40.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:52:41.141Z] ---> package-listing.sh [2021-06-08T18:52:41.141Z] ++ facter osfamily [2021-06-08T18:52:41.141Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-08T18:52:41.403Z] + OS_FAMILY=redhat [2021-06-08T18:52:41.403Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-955 [2021-06-08T18:52:41.403Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-08T18:52:41.403Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-08T18:52:41.403Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-08T18:52:41.403Z] + PACKAGES=/tmp/packages_start.txt [2021-06-08T18:52:41.403Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-955 ']' [2021-06-08T18:52:41.403Z] + PACKAGES=/tmp/packages_end.txt [2021-06-08T18:52:41.403Z] + case "${OS_FAMILY}" in [2021-06-08T18:52:41.403Z] + sort [2021-06-08T18:52:41.403Z] + rpm -qa [2021-06-08T18:52:41.989Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-08T18:52:41.989Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-08T18:52:41.989Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-08T18:52:41.989Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-955 ']' [2021-06-08T18:52:41.989Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-955/archives/ [2021-06-08T18:52:41.989Z] + 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-08T18:52:42.004Z] 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-08T18:52:42.299Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:52:42.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T18:52:42.870Z] [2021-06-08T18:52:42.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:52:43.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T18:52:43.185Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-08T18:52:43.185Z] df20fa9351a1: Pulling fs layer [2021-06-08T18:52:43.185Z] 36b3adc4ff6f: Pulling fs layer [2021-06-08T18:52:43.185Z] 8ad3a11d3b57: Pulling fs layer [2021-06-08T18:52:43.185Z] 46f8f816bc3b: Pulling fs layer [2021-06-08T18:52:43.185Z] 93b61091891f: Pulling fs layer [2021-06-08T18:52:43.185Z] 93b9cdb0e59b: Pulling fs layer [2021-06-08T18:52:43.185Z] 5e14af77c1be: Pulling fs layer [2021-06-08T18:52:43.185Z] 01666e4c0597: Pulling fs layer [2021-06-08T18:52:43.185Z] aa168da1d23b: Pulling fs layer [2021-06-08T18:52:43.185Z] 46f8f816bc3b: Waiting [2021-06-08T18:52:43.185Z] 93b61091891f: Waiting [2021-06-08T18:52:43.185Z] 93b9cdb0e59b: Waiting [2021-06-08T18:52:43.185Z] 5e14af77c1be: Waiting [2021-06-08T18:52:43.185Z] 01666e4c0597: Waiting [2021-06-08T18:52:43.185Z] aa168da1d23b: Waiting [2021-06-08T18:52:43.448Z] 36b3adc4ff6f: Verifying Checksum [2021-06-08T18:52:43.448Z] 36b3adc4ff6f: Download complete [2021-06-08T18:52:43.448Z] 46f8f816bc3b: Verifying Checksum [2021-06-08T18:52:43.448Z] 46f8f816bc3b: Download complete [2021-06-08T18:52:43.448Z] 8ad3a11d3b57: Verifying Checksum [2021-06-08T18:52:43.448Z] 8ad3a11d3b57: Download complete [2021-06-08T18:52:43.448Z] 93b9cdb0e59b: Download complete [2021-06-08T18:52:43.448Z] 5e14af77c1be: Verifying Checksum [2021-06-08T18:52:43.448Z] 5e14af77c1be: Download complete [2021-06-08T18:52:43.448Z] 01666e4c0597: Verifying Checksum [2021-06-08T18:52:43.448Z] 01666e4c0597: Download complete [2021-06-08T18:52:44.021Z] df20fa9351a1: Verifying Checksum [2021-06-08T18:52:44.021Z] df20fa9351a1: Download complete [2021-06-08T18:52:44.021Z] df20fa9351a1: Pull complete [2021-06-08T18:52:44.286Z] 36b3adc4ff6f: Pull complete [2021-06-08T18:52:44.549Z] 93b61091891f: Verifying Checksum [2021-06-08T18:52:44.549Z] 93b61091891f: Download complete [2021-06-08T18:52:44.817Z] 8ad3a11d3b57: Pull complete [2021-06-08T18:52:44.817Z] 46f8f816bc3b: Pull complete [2021-06-08T18:52:45.078Z] 93b61091891f: Pull complete [2021-06-08T18:52:45.338Z] 93b9cdb0e59b: Pull complete [2021-06-08T18:52:45.338Z] 5e14af77c1be: Pull complete [2021-06-08T18:52:45.600Z] 01666e4c0597: Pull complete [2021-06-08T18:52:45.600Z] aa168da1d23b: Verifying Checksum [2021-06-08T18:52:45.600Z] aa168da1d23b: Download complete [2021-06-08T18:52:49.837Z] aa168da1d23b: Pull complete [2021-06-08T18:52:49.837Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-08T18:52:49.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T18:52:49.837Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-08T18:52:49.913Z] prd-centos7-docker-4c-2g-967 does not seem to be running inside a container [2021-06-08T18:52:49.950Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-08T18:52:52.649Z] $ docker top c34aef22d87aca578b72e7371b1aeeaaca6e38b658c7953e8ee0235bc8267187 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:52:53.030Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-08T18:52:53.348Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-08T18:52:53.659Z] + ls /var/log/sa-host [2021-06-08T18:52:53.659Z] + sadf -c /var/log/sa-host/sa05 [2021-06-08T18:52:53.659Z] file_magic: OK [2021-06-08T18:52:53.659Z] HZ: Using current value: 100 [2021-06-08T18:52:53.659Z] file_header: OK [2021-06-08T18:52:53.659Z] 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-08T18:52:53.659Z] Statistics: [2021-06-08T18:52:53.659Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T18:52:53.659Z] File successfully converted to sysstat format version 12.2.1 [2021-06-08T18:52:53.659Z] + sadf -c /var/log/sa-host/sa08 [2021-06-08T18:52:53.659Z] file_magic: OK [2021-06-08T18:52:53.659Z] HZ: Using current value: 100 [2021-06-08T18:52:53.659Z] file_header: OK [2021-06-08T18:52:53.659Z] 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-08T18:52:53.659Z] Statistics: [2021-06-08T18:52:53.659Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T18:52:53.659Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T18:52:54.232Z] provisioning config files... [2021-06-08T18:52:54.249Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config3314746196656662816tmp [Pipeline] { [Pipeline] echo [2021-06-08T18:52:54.270Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:52:54.570Z] ---> create-netrc.sh [Pipeline] } [2021-06-08T18:52:54.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:52:54.969Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-08T18:52:54.980Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:52:55.284Z] ---> sudo-logs.sh [2021-06-08T18:52:55.284Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-08T18:52:55.315Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:52:55.608Z] ---> job-cost.sh [2021-06-08T18:52:55.609Z] lf-activate-venv: SKIPPING [2021-06-08T18:52:55.609Z] DEBUG: total: 0.18000000715255737 [2021-06-08T18:52:55.609Z] INFO: Retrieving Stack Cost... [2021-06-08T18:52:56.553Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T18:52:57.127Z] INFO: Archiving Costs [Pipeline] echo [2021-06-08T18:52:57.140Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:52:57.438Z] ---> logs-deploy.sh [2021-06-08T18:52:57.438Z] lf-activate-venv: SKIPPING [2021-06-08T18:52:57.438Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-955/2 [2021-06-08T18:52:57.438Z] INFO: archiving workspace using pattern(s): [2021-06-08T18:52:58.386Z] Archives upload complete. [2021-06-08T18:52:58.386Z] INFO: archiving logs to Nexus