Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe+907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 (b9aa868b9329c9e69796ab04ebadb53c0544d105) 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-ssh5395085628844157533.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-ssh7398284554074588678.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-953/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-953/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5295392067582920577.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-ssh882304725871528573.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-953/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-953/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh645971842945104492.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-968 in /w/workspace/dgexfoundry_device-sdk-go_PR-953 [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-953 # 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-953@tmp/jenkins-gitclient-ssh6101006126474135546.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 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe Merge succeeded, producing 204d6f2e4979613f5a550baa7d76760d07edc707 Checking out Revision 204d6f2e4979613f5a550baa7d76760d07edc707 (PR-953) > 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-953@tmp/jenkins-gitclient-ssh401860858239252530.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # 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-953@tmp/jenkins-gitclient-ssh6002599568381678622.key > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 204d6f2e4979613f5a550baa7d76760d07edc707 # timeout=10 Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" > git rev-list --no-walk 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-08T18:42:59.943Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-08T18:43:00.022Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-08T18:43:00.049Z] ========================================================= [2021-06-08T18:43:00.049Z] EdgeX Global Pipelines Version Info [2021-06-08T18:43:00.049Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:43:01.492Z] ------------------- [2021-06-08T18:43:01.492Z] stable info: [2021-06-08T18:43:01.492Z] ------------------- [2021-06-08T18:43:01.492Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-08T18:43:01.492Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-08T18:43:01.492Z] Message: update stable to v1.0.194 [2021-06-08T18:43:02.070Z] ------------------- [2021-06-08T18:43:02.070Z] experimental info: [2021-06-08T18:43:02.070Z] ------------------- [2021-06-08T18:43:02.070Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-08T18:43:02.070Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-08T18:43:02.070Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-08T18:43:02.195Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-08T18:43:02.219Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-08T18:43:02.243Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-08T18:43:02.267Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-08T18:43:02.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-08T18:43:02.316Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-08T18:43:02.338Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-08T18:43:02.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-08T18:43:02.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-08T18:43:02.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-08T18:43:02.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-08T18:43:02.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-08T18:43:02.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-08T18:43:02.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-08T18:43:02.527Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-08T18:43:02.551Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T18:43:02.574Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T18:43:02.598Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T18:43:02.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-08T18:43:02.644Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-08T18:43:02.668Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-08T18:43:02.690Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-08T18:43:02.714Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-08T18:43:02.738Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-08T18:43:02.764Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-08T18:43:02.790Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-08T18:43:02.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-953 [Pipeline] echo [2021-06-08T18:43:02.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-953 [Pipeline] echo [2021-06-08T18:43:02.868Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-953 [Pipeline] echo [2021-06-08T18:43:02.917Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 204d6f2e4979613f5a550baa7d76760d07edc707 [Pipeline] echo [2021-06-08T18:43:02.942Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 204d6f2 [Pipeline] echo [2021-06-08T18:43:02.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T18:43:03.046Z] provisioning config files... [2021-06-08T18:43:03.061Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/config2111483134250120392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:43:03.383Z] ---> docker-login.sh [2021-06-08T18:43:03.383Z] nexus3.edgexfoundry.org:10001 [2021-06-08T18:43:03.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:43:03.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:43:03.646Z] Configure a credential helper to remove this warning. See [2021-06-08T18:43:03.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:43:03.646Z] [2021-06-08T18:43:03.646Z] Login Succeeded [2021-06-08T18:43:03.646Z] nexus3.edgexfoundry.org:10002 [2021-06-08T18:43:03.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:43:03.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:43:03.646Z] Configure a credential helper to remove this warning. See [2021-06-08T18:43:03.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:43:03.646Z] [2021-06-08T18:43:03.646Z] Login Succeeded [2021-06-08T18:43:03.646Z] nexus3.edgexfoundry.org:10003 [2021-06-08T18:43:03.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:43:03.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:43:03.910Z] Configure a credential helper to remove this warning. See [2021-06-08T18:43:03.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:43:03.910Z] [2021-06-08T18:43:03.910Z] Login Succeeded [2021-06-08T18:43:03.910Z] nexus3.edgexfoundry.org:10004 [2021-06-08T18:43:03.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:43:03.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:43:03.910Z] Configure a credential helper to remove this warning. See [2021-06-08T18:43:03.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:43:03.910Z] [2021-06-08T18:43:03.910Z] Login Succeeded [2021-06-08T18:43:03.910Z] docker.io [2021-06-08T18:43:04.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:43:04.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:43:04.435Z] Configure a credential helper to remove this warning. See [2021-06-08T18:43:04.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:43:04.435Z] [2021-06-08T18:43:04.435Z] Login Succeeded [2021-06-08T18:43:04.435Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T18:43:04.443Z] 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:43:08.535Z] + git log --format=format:%s -1 204d6f2e4979613f5a550baa7d76760d07edc707 [Pipeline] echo [2021-06-08T18:43:08.576Z] GIT_COMMIT: 204d6f2e4979613f5a550baa7d76760d07edc707, Commit Message: Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD [Pipeline] echo [2021-06-08T18:43:08.589Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:43:09.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T18:43:09.143Z] [2021-06-08T18:43:09.143Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:43:09.453Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T18:43:09.453Z] latest: Pulling from edgex-devops/git-semver [2021-06-08T18:43:09.453Z] 31603596830f: Pulling fs layer [2021-06-08T18:43:09.453Z] 54011a49482f: Pulling fs layer [2021-06-08T18:43:09.453Z] a6820b24f6d8: Pulling fs layer [2021-06-08T18:43:09.453Z] f581987b2513: Pulling fs layer [2021-06-08T18:43:09.453Z] f581987b2513: Waiting [2021-06-08T18:43:09.453Z] 54011a49482f: Verifying Checksum [2021-06-08T18:43:09.453Z] 54011a49482f: Download complete [2021-06-08T18:43:09.715Z] 31603596830f: Verifying Checksum [2021-06-08T18:43:09.715Z] 31603596830f: Download complete [2021-06-08T18:43:09.715Z] f581987b2513: Verifying Checksum [2021-06-08T18:43:09.715Z] f581987b2513: Download complete [2021-06-08T18:43:09.715Z] a6820b24f6d8: Verifying Checksum [2021-06-08T18:43:09.715Z] a6820b24f6d8: Download complete [2021-06-08T18:43:09.715Z] 31603596830f: Pull complete [2021-06-08T18:43:09.982Z] 54011a49482f: Pull complete [2021-06-08T18:43:10.566Z] a6820b24f6d8: Pull complete [2021-06-08T18:43:10.566Z] f581987b2513: Pull complete [2021-06-08T18:43:10.566Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-08T18:43:10.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T18:43:10.566Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-08T18:43:10.904Z] prd-centos7-docker-4c-2g-968 does not seem to be running inside a container [2021-06-08T18:43:10.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-953 -v /w/workspace/dgexfoundry_device-sdk-go_PR-953:/w/workspace/dgexfoundry_device-sdk-go_PR-953:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-08T18:43:12.070Z] $ docker top 1f2b38832fd6b0d05a7acc737d15b7afc94945db9df0873bc96210d9ac8e37c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T18:43:12.187Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T18:43:12.187Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T18:43:12.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T18:43:12.295Z] $ docker exec 1f2b38832fd6b0d05a7acc737d15b7afc94945db9df0873bc96210d9ac8e37c0 ssh-agent [2021-06-08T18:43:12.417Z] SSH_AUTH_SOCK=/tmp/ssh-9LXqSNvwjysl/agent.14 [2021-06-08T18:43:12.417Z] SSH_AGENT_PID=20 [2021-06-08T18:43:12.426Z] Running ssh-add (command line suppressed) [2021-06-08T18:43:12.528Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/private_key_4792098171427237934.key (/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/private_key_4792098171427237934.key) [2021-06-08T18:43:12.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T18:43:12.857Z] + git tag --points-at HEAD [Pipeline] } [2021-06-08T18:43:12.869Z] $ docker exec --env ******** --env ******** 1f2b38832fd6b0d05a7acc737d15b7afc94945db9df0873bc96210d9ac8e37c0 ssh-agent -k [2021-06-08T18:43:12.961Z] unset SSH_AUTH_SOCK; [2021-06-08T18:43:12.961Z] unset SSH_AGENT_PID; [2021-06-08T18:43:12.961Z] echo Agent pid 20 killed; [2021-06-08T18:43:12.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-08T18:43:13.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T18:43:13.014Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T18:43:13.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T18:43:13.124Z] $ docker exec 1f2b38832fd6b0d05a7acc737d15b7afc94945db9df0873bc96210d9ac8e37c0 ssh-agent [2021-06-08T18:43:13.235Z] SSH_AUTH_SOCK=/tmp/ssh-SwfbBUagFzPl/agent.52 [2021-06-08T18:43:13.235Z] SSH_AGENT_PID=59 [2021-06-08T18:43:13.241Z] Running ssh-add (command line suppressed) [2021-06-08T18:43:13.336Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/private_key_4065044805545224226.key (/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/private_key_4065044805545224226.key) [2021-06-08T18:43:13.353Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T18:43:13.660Z] + git semver init [2021-06-08T18:43:13.660Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T18:43:13.660Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-953/.git [2021-06-08T18:43:13.660Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-953 [2021-06-08T18:43:13.660Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T18:43:13.660Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T18:43:13.660Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T18:43:13.660Z] # $SEMVER_BRANCH = PR-953 [2021-06-08T18:43:13.660Z] # $SEMVER_TEMP = /tmp/semver-100951539 [2021-06-08T18:43:13.660Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-08T18:43:14.252Z] # '/tmp/semver-100951539' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-953/.semver' [2021-06-08T18:43:14.252Z] # -> Force: false [2021-06-08T18:43:14.252Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-953/.semver [Pipeline] } [2021-06-08T18:43:14.261Z] $ docker exec --env ******** --env ******** 1f2b38832fd6b0d05a7acc737d15b7afc94945db9df0873bc96210d9ac8e37c0 ssh-agent -k [2021-06-08T18:43:14.360Z] unset SSH_AUTH_SOCK; [2021-06-08T18:43:14.361Z] unset SSH_AGENT_PID; [2021-06-08T18:43:14.361Z] echo Agent pid 59 killed; [2021-06-08T18:43:14.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T18:43:14.708Z] + git semver [Pipeline] } [2021-06-08T18:43:14.719Z] $ docker stop --time=1 1f2b38832fd6b0d05a7acc737d15b7afc94945db9df0873bc96210d9ac8e37c0 [2021-06-08T18:43:15.989Z] $ docker rm -f 1f2b38832fd6b0d05a7acc737d15b7afc94945db9df0873bc96210d9ac8e37c0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T18:43:16.358Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-08T18:43:16.619Z] Stashed 1 file(s) [Pipeline] echo [2021-06-08T18:43:16.623Z] [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:43:31.877Z] Still waiting to schedule task [2021-06-08T18:43:31.878Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-08T18:43:31.880Z] Still waiting to schedule task [2021-06-08T18:43:31.880Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-08T18:45:33.520Z] Running on prd-centos7-docker-4c-2g-971 in /w/workspace/dgexfoundry_device-sdk-go_PR-953 [Pipeline] { [Pipeline] ws [2021-06-08T18:45:33.539Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-08T18:45:33.676Z] Selected Git installation does not exist. Using Default [2021-06-08T18:45:33.677Z] The recommended git tool is: NONE [2021-06-08T18:45:36.281Z] using credential edgex-jenkins-ssh [2021-06-08T18:45:36.292Z] Cloning the remote Git repository [2021-06-08T18:45:36.309Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:45:36.387Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-08T18:45:36.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:45:36.436Z] > git --version # timeout=10 [2021-06-08T18:45:36.445Z] > git --version # 'git version 2.24.4' [2021-06-08T18:45:36.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:45:36.473Z] [INFO] Currently running in a labeled security context [2021-06-08T18:45:36.473Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T18:45:36.473Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8021266746274026608.key [2021-06-08T18:45:36.487Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T18:45:39.017Z] Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [2021-06-08T18:45:39.139Z] Merge succeeded, producing a05858098fa9719d3fc1b9c744d708e1af3515b1 [2021-06-08T18:45:39.139Z] Checking out Revision a05858098fa9719d3fc1b9c744d708e1af3515b1 (PR-953) [2021-06-08T18:45:38.468Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T18:45:38.476Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T18:45:38.489Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T18:45:38.507Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:45:38.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:45:38.508Z] [INFO] Currently running in a labeled security context [2021-06-08T18:45:38.508Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T18:45:38.508Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8260687332390499157.key [2021-06-08T18:45:38.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-08T18:45:39.022Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T18:45:39.036Z] > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [2021-06-08T18:45:39.077Z] > git remote # timeout=10 [2021-06-08T18:45:39.085Z] > git config --get remote.origin.url # timeout=10 [2021-06-08T18:45:39.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:45:39.094Z] [INFO] Currently running in a labeled security context [2021-06-08T18:45:39.094Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T18:45:39.094Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3853336427758706669.key [2021-06-08T18:45:39.100Z] > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 [2021-06-08T18:45:39.117Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-08T18:45:39.138Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T18:45:39.146Z] > git checkout -f a05858098fa9719d3fc1b9c744d708e1af3515b1 # timeout=10 [2021-06-08T18:45:42.755Z] Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" [2021-06-08T18:45:42.755Z] > git rev-list --no-walk 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T18:45:43.822Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-08T18:45:44.158Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T18:45:44.468Z] + true [2021-06-08T18:45:44.469Z] + sudo service docker restart [2021-06-08T18:45:44.469Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T18:46:02.662Z] provisioning config files... [2021-06-08T18:46:02.678Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9087722949461666522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:46:03.008Z] ---> docker-login.sh [2021-06-08T18:46:03.008Z] nexus3.edgexfoundry.org:10001 [2021-06-08T18:46:03.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:46:03.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:46:03.271Z] Configure a credential helper to remove this warning. See [2021-06-08T18:46:03.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:46:03.271Z] [2021-06-08T18:46:03.271Z] Login Succeeded [2021-06-08T18:46:03.271Z] nexus3.edgexfoundry.org:10002 [2021-06-08T18:46:03.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:46:03.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:46:03.536Z] Configure a credential helper to remove this warning. See [2021-06-08T18:46:03.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:46:03.536Z] [2021-06-08T18:46:03.536Z] Login Succeeded [2021-06-08T18:46:03.536Z] nexus3.edgexfoundry.org:10003 [2021-06-08T18:46:03.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:46:03.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:46:03.797Z] Configure a credential helper to remove this warning. See [2021-06-08T18:46:03.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:46:03.797Z] [2021-06-08T18:46:03.797Z] Login Succeeded [2021-06-08T18:46:03.797Z] nexus3.edgexfoundry.org:10004 [2021-06-08T18:46:03.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:46:03.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:46:03.797Z] Configure a credential helper to remove this warning. See [2021-06-08T18:46:03.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:46:03.797Z] [2021-06-08T18:46:03.797Z] Login Succeeded [2021-06-08T18:46:03.797Z] docker.io [2021-06-08T18:46:03.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:46:04.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:46:04.371Z] Configure a credential helper to remove this warning. See [2021-06-08T18:46:04.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:46:04.371Z] [2021-06-08T18:46:04.371Z] Login Succeeded [2021-06-08T18:46:04.371Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T18:46:04.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T18:46:04.550Z] ========================================================= [2021-06-08T18:46:04.550Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-08T18:46:04.550Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:46:04.873Z] + 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:46:04.873Z] Sending build context to Docker daemon 2.633MB [2021-06-08T18:46:04.873Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T18:46:04.873Z] Step 2/8 : FROM ${BASE} [2021-06-08T18:46:04.873Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-08T18:46:04.873Z] 540db60ca938: Pulling fs layer [2021-06-08T18:46:04.873Z] adcc1eea9eea: Pulling fs layer [2021-06-08T18:46:04.873Z] 4c4ab2625f07: Pulling fs layer [2021-06-08T18:46:04.873Z] 0510c868ecb4: Pulling fs layer [2021-06-08T18:46:04.873Z] afea3b2eda06: Pulling fs layer [2021-06-08T18:46:04.873Z] 7809a108b3ef: Pulling fs layer [2021-06-08T18:46:04.873Z] f706445af74f: Pulling fs layer [2021-06-08T18:46:04.873Z] afea3b2eda06: Waiting [2021-06-08T18:46:04.873Z] 7809a108b3ef: Waiting [2021-06-08T18:46:04.873Z] f706445af74f: Waiting [2021-06-08T18:46:04.873Z] 0510c868ecb4: Waiting [2021-06-08T18:46:05.138Z] 4c4ab2625f07: Verifying Checksum [2021-06-08T18:46:05.138Z] 4c4ab2625f07: Download complete [2021-06-08T18:46:05.138Z] adcc1eea9eea: Verifying Checksum [2021-06-08T18:46:05.138Z] adcc1eea9eea: Download complete [2021-06-08T18:46:05.138Z] afea3b2eda06: Verifying Checksum [2021-06-08T18:46:05.138Z] afea3b2eda06: Download complete [2021-06-08T18:46:05.138Z] 540db60ca938: Verifying Checksum [2021-06-08T18:46:05.138Z] 7809a108b3ef: Verifying Checksum [2021-06-08T18:46:05.138Z] 7809a108b3ef: Download complete [2021-06-08T18:46:05.401Z] 540db60ca938: Pull complete [2021-06-08T18:46:05.401Z] adcc1eea9eea: Pull complete [2021-06-08T18:46:05.401Z] 4c4ab2625f07: Pull complete [2021-06-08T18:46:06.796Z] f706445af74f: Verifying Checksum [2021-06-08T18:46:06.796Z] f706445af74f: Download complete [2021-06-08T18:46:07.374Z] 0510c868ecb4: Verifying Checksum [2021-06-08T18:46:07.374Z] 0510c868ecb4: Download complete [2021-06-08T18:46:11.610Z] 0510c868ecb4: Pull complete [2021-06-08T18:46:11.610Z] afea3b2eda06: Pull complete [2021-06-08T18:46:11.610Z] 7809a108b3ef: Pull complete [2021-06-08T18:46:13.018Z] f706445af74f: Pull complete [2021-06-08T18:46:13.018Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-08T18:46:13.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-08T18:46:13.018Z] ---> b068be0155e3 [2021-06-08T18:46:13.018Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:46:18.324Z] ---> Running in 80c397ce46a8 [2021-06-08T18:46:18.324Z] Removing intermediate container 80c397ce46a8 [2021-06-08T18:46:18.324Z] ---> 45f9875335db [2021-06-08T18:46:18.324Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:46:18.324Z] ---> Running in efe5fa1841e1 [2021-06-08T18:46:19.282Z] Removing intermediate container efe5fa1841e1 [2021-06-08T18:46:19.282Z] ---> 54c685b8f51a [2021-06-08T18:46:19.282Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-08T18:46:19.282Z] ---> Running in ae53687c70f1 [2021-06-08T18:46:19.857Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T18:46:20.436Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T18:46:21.009Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-08T18:46:21.009Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-08T18:46:21.272Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-08T18:46:21.272Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-08T18:46:21.272Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-08T18:46:21.534Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-08T18:46:21.534Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T18:46:21.534Z] OK: 150 MiB in 46 packages [2021-06-08T18:46:23.788Z] Removing intermediate container ae53687c70f1 [2021-06-08T18:46:23.788Z] ---> 17eab9dddb9e [2021-06-08T18:46:23.788Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-08T18:46:23.788Z] ---> Running in c4118a2f9ce9 [2021-06-08T18:46:23.788Z] Removing intermediate container c4118a2f9ce9 [2021-06-08T18:46:23.788Z] ---> 73513fd47ca7 [2021-06-08T18:46:23.788Z] Step 7/8 : COPY . . [2021-06-08T18:46:23.788Z] ---> 01ac496b70ff [2021-06-08T18:46:23.788Z] Step 8/8 : RUN go mod download [2021-06-08T18:46:23.788Z] ---> Running in 99caea1eb6fe [2021-06-08T18:46:36.061Z] Removing intermediate container 99caea1eb6fe [2021-06-08T18:46:36.061Z] ---> a8dead4122b3 [2021-06-08T18:46:36.061Z] Successfully built a8dead4122b3 [2021-06-08T18:46:36.061Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:46:36.377Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T18:46:36.377Z] . [Pipeline] withDockerContainer [2021-06-08T18:46:36.477Z] prd-centos7-docker-4c-2g-971 does not seem to be running inside a container [2021-06-08T18:46:36.518Z] $ 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-x86_64 cat [2021-06-08T18:46:36.971Z] $ docker top c3a10acbfe503bf4ec1db5243dcbe321def5ce75baf4b9273fb5c9bff9d6200e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:46:37.371Z] + go version [2021-06-08T18:46:37.371Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-08T18:46:37.385Z] $ docker stop --time=1 c3a10acbfe503bf4ec1db5243dcbe321def5ce75baf4b9273fb5c9bff9d6200e [2021-06-08T18:46:38.608Z] $ docker rm -f c3a10acbfe503bf4ec1db5243dcbe321def5ce75baf4b9273fb5c9bff9d6200e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:46:39.127Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-972 in /w/workspace/dgexfoundry_device-sdk-go_PR-953 [Pipeline] { [Pipeline] ws [2021-06-08T18:46:39.150Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [2021-06-08T18:46:39.168Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T18:46:39.168Z] . [Pipeline] checkout [Pipeline] withDockerContainer [2021-06-08T18:46:39.262Z] prd-centos7-docker-4c-2g-971 does not seem to be running inside a container [2021-06-08T18:46:39.301Z] $ 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-x86_64 cat [2021-06-08T18:46:39.352Z] Selected Git installation does not exist. Using Default [2021-06-08T18:46:39.353Z] The recommended git tool is: NONE [2021-06-08T18:46:39.706Z] $ docker top d1e21ab71ed9b08703fb12dd6032f7305989588368015ef589b6fcc5a8a1b138 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:46:40.106Z] + go mod tidy [Pipeline] sh [2021-06-08T18:46:40.707Z] + make test [2021-06-08T18:46:40.707Z] go mod tidy [2021-06-08T18:46:40.973Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-08T18:46:46.506Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-08T18:46:46.771Z] using credential edgex-jenkins-ssh [2021-06-08T18:46:46.804Z] Cloning the remote Git repository [2021-06-08T18:46:46.876Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:46:46.977Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-08T18:46:47.044Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:46:47.045Z] > git --version # timeout=10 [2021-06-08T18:46:47.059Z] > git --version # 'git version 2.17.1' [2021-06-08T18:46:47.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:46:47.135Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T18:46:48.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T18:46:48.878Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T18:46:50.817Z] Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [2021-06-08T18:46:51.060Z] Merge succeeded, producing 52e320431cf06cc41a83b219ccac52c96ec61257 [2021-06-08T18:46:51.060Z] Checking out Revision 52e320431cf06cc41a83b219ccac52c96ec61257 (PR-953) [2021-06-08T18:46:50.185Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-08T18:46:50.220Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-08T18:46:50.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:46:50.234Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-08T18:46:50.834Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T18:46:50.848Z] > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [2021-06-08T18:46:50.941Z] > git remote # timeout=10 [2021-06-08T18:46:50.958Z] > git config --get remote.origin.url # timeout=10 [2021-06-08T18:46:50.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T18:46:50.981Z] > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 [2021-06-08T18:46:51.042Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-08T18:46:51.063Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T18:46:51.073Z] > git checkout -f 52e320431cf06cc41a83b219ccac52c96ec61257 # timeout=10 [2021-06-08T18:46:55.225Z] Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" [2021-06-08T18:46:55.232Z] > git rev-list --no-walk 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T18:46:56.656Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-08T18:46:57.074Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T18:46:57.422Z] + sudo service docker restart [2021-06-08T18:46:57.422Z] + true [2021-06-08T18:47:14.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-08T18:47:14.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-08T18:47:14.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-08T18:47:14.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 25.4% of statements [2021-06-08T18:47:14.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-08T18:47:14.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 28.1% of statements [2021-06-08T18:47:14.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements [2021-06-08T18:47:14.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements [2021-06-08T18:47:14.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-08T18:47:14.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-08T18:47:14.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T18:47:15.765Z] provisioning config files... [2021-06-08T18:47:15.789Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7917515821399506239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:47:15.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 29.2% of statements [2021-06-08T18:47:15.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-08T18:47:16.164Z] ---> docker-login.sh [2021-06-08T18:47:16.164Z] nexus3.edgexfoundry.org:10001 [2021-06-08T18:47:16.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.052s coverage: 83.3% of statements [2021-06-08T18:47:16.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-08T18:47:16.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-08T18:47:16.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 58.0% of statements [2021-06-08T18:47:17.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:47:17.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:47:17.416Z] Configure a credential helper to remove this warning. See [2021-06-08T18:47:17.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:47:17.416Z] [2021-06-08T18:47:17.416Z] Login Succeeded [2021-06-08T18:47:17.416Z] nexus3.edgexfoundry.org:10002 [2021-06-08T18:47:17.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:47:17.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:47:17.978Z] Configure a credential helper to remove this warning. See [2021-06-08T18:47:17.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:47:17.978Z] [2021-06-08T18:47:17.978Z] Login Succeeded [2021-06-08T18:47:17.978Z] nexus3.edgexfoundry.org:10003 [2021-06-08T18:47:18.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:47:18.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.823s coverage: 89.2% of statements [2021-06-08T18:47:18.281Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-08T18:47:18.281Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-06-08T18:47:18.281Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-08T18:47:18.281Z] GO111MODULE=on go vet ./... [2021-06-08T18:47:18.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:47:18.533Z] Configure a credential helper to remove this warning. See [2021-06-08T18:47:18.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:47:18.533Z] [2021-06-08T18:47:18.533Z] Login Succeeded [2021-06-08T18:47:18.533Z] nexus3.edgexfoundry.org:10004 [2021-06-08T18:47:18.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:47:19.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:47:19.084Z] Configure a credential helper to remove this warning. See [2021-06-08T18:47:19.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:47:19.084Z] [2021-06-08T18:47:19.084Z] Login Succeeded [2021-06-08T18:47:19.084Z] docker.io [2021-06-08T18:47:19.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T18:47:19.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T18:47:19.961Z] Configure a credential helper to remove this warning. See [2021-06-08T18:47:19.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T18:47:19.961Z] [2021-06-08T18:47:19.961Z] Login Succeeded [2021-06-08T18:47:19.961Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T18:47:19.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T18:47:20.487Z] ========================================================= [2021-06-08T18:47:20.487Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-08T18:47:20.487Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:47:20.901Z] + 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:47:21.504Z] Sending build context to Docker daemon 2.632MB [2021-06-08T18:47:21.504Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T18:47:21.504Z] Step 2/8 : FROM ${BASE} [2021-06-08T18:47:21.504Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-08T18:47:21.504Z] 595b0fe564bb: Pulling fs layer [2021-06-08T18:47:21.504Z] 7186ed65a4f7: Pulling fs layer [2021-06-08T18:47:21.504Z] 316046926c0a: Pulling fs layer [2021-06-08T18:47:21.504Z] 4ebd0625c992: Pulling fs layer [2021-06-08T18:47:21.504Z] 207e8628e3a3: Pulling fs layer [2021-06-08T18:47:21.504Z] c791037a9be2: Pulling fs layer [2021-06-08T18:47:21.504Z] ffd874e62e21: Pulling fs layer [2021-06-08T18:47:21.504Z] 207e8628e3a3: Waiting [2021-06-08T18:47:21.504Z] c791037a9be2: Waiting [2021-06-08T18:47:21.504Z] ffd874e62e21: Waiting [2021-06-08T18:47:21.504Z] 4ebd0625c992: Waiting [2021-06-08T18:47:21.785Z] 316046926c0a: Verifying Checksum [2021-06-08T18:47:21.785Z] 316046926c0a: Download complete [2021-06-08T18:47:21.785Z] 7186ed65a4f7: Verifying Checksum [2021-06-08T18:47:21.785Z] 7186ed65a4f7: Download complete [2021-06-08T18:47:21.785Z] 207e8628e3a3: Verifying Checksum [2021-06-08T18:47:21.785Z] 207e8628e3a3: Download complete [2021-06-08T18:47:21.785Z] c791037a9be2: Download complete [2021-06-08T18:47:21.785Z] 595b0fe564bb: Verifying Checksum [2021-06-08T18:47:21.785Z] 595b0fe564bb: Download complete [2021-06-08T18:47:22.391Z] 595b0fe564bb: Pull complete [2021-06-08T18:47:22.998Z] 7186ed65a4f7: Pull complete [2021-06-08T18:47:23.598Z] 316046926c0a: Pull complete [2021-06-08T18:47:23.873Z] ffd874e62e21: Verifying Checksum [2021-06-08T18:47:23.873Z] ffd874e62e21: Download complete [2021-06-08T18:47:25.857Z] 4ebd0625c992: Download complete [2021-06-08T18:47:38.277Z] 4ebd0625c992: Pull complete [2021-06-08T18:47:38.277Z] 207e8628e3a3: Pull complete [2021-06-08T18:47:38.277Z] c791037a9be2: Pull complete [2021-06-08T18:47:40.346Z] gofmt -l . [2021-06-08T18:47:40.346Z] [ "`gofmt -l .`" = "" ] [2021-06-08T18:47:40.346Z] ./bin/test-attribution-txt.sh [2021-06-08T18:47:40.346Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-08T18:47:40.355Z] $ docker stop --time=1 d1e21ab71ed9b08703fb12dd6032f7305989588368015ef589b6fcc5a8a1b138 [2021-06-08T18:47:41.926Z] $ docker rm -f d1e21ab71ed9b08703fb12dd6032f7305989588368015ef589b6fcc5a8a1b138 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T18:47:42.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T18:47:42.596Z] ffd874e62e21: Pull complete [2021-06-08T18:47:42.596Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-08T18:47:42.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-08T18:47:42.596Z] ---> cfc18b08335c [2021-06-08T18:47:42.596Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:47:42.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-06-08T18:47:44.767Z] ---> Running in 31560fec4525 [2021-06-08T18:47:44.767Z] Removing intermediate container 31560fec4525 [2021-06-08T18:47:44.767Z] ---> 1fd1a11f5680 [2021-06-08T18:47:44.767Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:47:44.767Z] ---> Running in 33fbfb10c615 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-08T18:47:45.758Z] Removing intermediate container 33fbfb10c615 [2021-06-08T18:47:45.758Z] ---> d77aa465590f [2021-06-08T18:47:45.758Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-08T18:47:45.758Z] ---> Running in 3cc753c89138 [2021-06-08T18:47:45.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T18:47:46.299Z] + ls -al . [2021-06-08T18:47:46.299Z] total 212 [2021-06-08T18:47:46.299Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 8 18:47 . [2021-06-08T18:47:46.299Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 8 18:45 .. [2021-06-08T18:47:46.299Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 8 18:45 bin [2021-06-08T18:47:46.299Z] -rw-r--r--. 1 jenkins jenkins 126072 Jun 8 18:47 coverage.out [2021-06-08T18:47:46.299Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 8 18:45 Dockerfile.build [2021-06-08T18:47:46.299Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 8 18:45 .dockerignore [2021-06-08T18:47:46.299Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 8 18:45 example [2021-06-08T18:47:46.299Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 8 18:45 .git [2021-06-08T18:47:46.299Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 18:45 .github [2021-06-08T18:47:46.299Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 8 18:45 .gitignore [2021-06-08T18:47:46.299Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 8 18:47 go.mod [2021-06-08T18:47:46.299Z] -rw-r--r--. 1 jenkins jenkins 20499 Jun 8 18:46 go.sum [2021-06-08T18:47:46.299Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 8 18:45 internal [2021-06-08T18:47:46.299Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 8 18:45 Jenkinsfile [2021-06-08T18:47:46.299Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 8 18:45 LICENSE [2021-06-08T18:47:46.299Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 8 18:45 Makefile [2021-06-08T18:47:46.300Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 8 18:45 openapi [2021-06-08T18:47:46.300Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 8 18:45 pkg [2021-06-08T18:47:46.300Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 8 18:45 README.md [2021-06-08T18:47:46.300Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 8 18:45 RELEASE-NOTES.txt [2021-06-08T18:47:46.300Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 8 18:45 snap [2021-06-08T18:47:46.300Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 8 18:43 VERSION [2021-06-08T18:47:46.300Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 8 18:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:47:46.612Z] + 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=a05858098fa9719d3fc1b9c744d708e1af3515b1 --label arch=amd64 --label version=0.0.0 . [2021-06-08T18:47:46.613Z] Sending build context to Docker daemon 2.76MB [2021-06-08T18:47:46.613Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T18:47:46.613Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-08T18:47:46.613Z] ---> a8dead4122b3 [2021-06-08T18:47:46.613Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-08T18:47:46.876Z] ---> Running in 157d2774749e [2021-06-08T18:47:46.876Z] Removing intermediate container 157d2774749e [2021-06-08T18:47:46.876Z] ---> 65cf40cb8997 [2021-06-08T18:47:46.876Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:47:46.876Z] ---> Running in c33a22f333d7 [2021-06-08T18:47:46.876Z] Removing intermediate container c33a22f333d7 [2021-06-08T18:47:46.876Z] ---> 45b462a049d2 [2021-06-08T18:47:46.876Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:47:47.152Z] ---> Running in 8a94cbef8c22 [2021-06-08T18:47:47.202Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T18:47:47.415Z] Removing intermediate container 8a94cbef8c22 [2021-06-08T18:47:47.415Z] ---> 725649cce300 [2021-06-08T18:47:47.415Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T18:47:47.683Z] ---> Running in 4c2c1f4dbe11 [2021-06-08T18:47:47.801Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T18:47:47.953Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T18:47:48.796Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-08T18:47:48.796Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-08T18:47:49.352Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T18:47:49.386Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-08T18:47:49.386Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-08T18:47:49.386Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-08T18:47:49.615Z] OK: 150 MiB in 46 packages [2021-06-08T18:47:49.659Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-08T18:47:49.660Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T18:47:49.660Z] OK: 139 MiB in 46 packages [2021-06-08T18:47:49.878Z] Removing intermediate container 4c2c1f4dbe11 [2021-06-08T18:47:49.878Z] ---> faab3bf4cb5f [2021-06-08T18:47:49.878Z] Step 7/23 : COPY . . [2021-06-08T18:47:50.139Z] ---> bb75450de54c [2021-06-08T18:47:50.139Z] Step 8/23 : RUN go mod download [2021-06-08T18:47:50.139Z] ---> Running in ca317413224f [2021-06-08T18:47:50.724Z] Removing intermediate container ca317413224f [2021-06-08T18:47:50.724Z] ---> bf93475ca8fa [2021-06-08T18:47:50.724Z] Step 9/23 : RUN make build [2021-06-08T18:47:50.724Z] ---> Running in b25e22bdfab8 [2021-06-08T18:47:50.995Z] go mod tidy [2021-06-08T18:47:51.264Z] 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:52.278Z] Removing intermediate container 3cc753c89138 [2021-06-08T18:47:52.278Z] ---> b2aa706ad590 [2021-06-08T18:47:52.278Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-08T18:47:52.278Z] ---> Running in 401819e85600 [2021-06-08T18:47:52.551Z] Removing intermediate container 401819e85600 [2021-06-08T18:47:52.551Z] ---> 724515d7fa80 [2021-06-08T18:47:52.551Z] Step 7/8 : COPY . . [2021-06-08T18:47:53.983Z] ---> 68d2d7472aa4 [2021-06-08T18:47:53.983Z] Step 8/8 : RUN go mod download [2021-06-08T18:47:53.983Z] ---> Running in 171db8035dd9 [2021-06-08T18:48:03.616Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-08T18:48:03.879Z] Removing intermediate container b25e22bdfab8 [2021-06-08T18:48:03.879Z] ---> a72451e91922 [2021-06-08T18:48:03.879Z] Step 10/23 : FROM alpine:3.12 [2021-06-08T18:48:04.451Z] 3.12: Pulling from library/alpine [2021-06-08T18:48:04.712Z] 339de151aab4: Pulling fs layer [2021-06-08T18:48:04.712Z] 339de151aab4: Verifying Checksum [2021-06-08T18:48:04.712Z] 339de151aab4: Download complete [2021-06-08T18:48:04.978Z] 339de151aab4: Pull complete [2021-06-08T18:48:04.978Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T18:48:04.978Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T18:48:04.978Z] ---> 13621d1b12d4 [2021-06-08T18:48:04.978Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:48:04.978Z] ---> Running in 98ae718f7274 [2021-06-08T18:48:05.239Z] Removing intermediate container 98ae718f7274 [2021-06-08T18:48:05.239Z] ---> c29bf67d9e4e [2021-06-08T18:48:05.239Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:48:05.239Z] ---> Running in 3fa6f8aad3a5 [2021-06-08T18:48:05.834Z] Removing intermediate container 3fa6f8aad3a5 [2021-06-08T18:48:05.834Z] ---> 9544425b5a3a [2021-06-08T18:48:05.834Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-08T18:48:05.834Z] ---> Running in 118336dced0d [2021-06-08T18:48:06.096Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-08T18:48:06.670Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-08T18:48:07.245Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-08T18:48:07.245Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-08T18:48:07.245Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-08T18:48:08.193Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-08T18:48:08.193Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-08T18:48:08.455Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T18:48:08.455Z] OK: 8 MiB in 19 packages [2021-06-08T18:48:08.719Z] Removing intermediate container 118336dced0d [2021-06-08T18:48:08.719Z] ---> 65a8a887377c [2021-06-08T18:48:08.719Z] Step 14/23 : WORKDIR / [2021-06-08T18:48:08.719Z] ---> Running in b70ad8a624a6 [2021-06-08T18:48:08.719Z] Removing intermediate container b70ad8a624a6 [2021-06-08T18:48:08.719Z] ---> b2dc251aeeac [2021-06-08T18:48:08.719Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-08T18:48:08.985Z] ---> 829e73516fa8 [2021-06-08T18:48:08.985Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-08T18:48:09.559Z] ---> aeb0fda356bc [2021-06-08T18:48:09.559Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-08T18:48:09.559Z] ---> f51422e840e4 [2021-06-08T18:48:09.559Z] Step 18/23 : EXPOSE 59999 [2021-06-08T18:48:09.559Z] ---> Running in 681b65830e68 [2021-06-08T18:48:09.559Z] Removing intermediate container 681b65830e68 [2021-06-08T18:48:09.559Z] ---> b889f42a8448 [2021-06-08T18:48:09.559Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-08T18:48:09.559Z] ---> Running in c606bf05e78a [2021-06-08T18:48:09.820Z] Removing intermediate container c606bf05e78a [2021-06-08T18:48:09.820Z] ---> e1faea655b82 [2021-06-08T18:48:09.820Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T18:48:09.820Z] ---> Running in a787fd29bf5d [2021-06-08T18:48:09.820Z] Removing intermediate container a787fd29bf5d [2021-06-08T18:48:09.820Z] ---> 2066be4f2584 [2021-06-08T18:48:09.820Z] Step 21/23 : LABEL arch=amd64 [2021-06-08T18:48:09.820Z] ---> Running in 0c971159cbbc [2021-06-08T18:48:10.085Z] Removing intermediate container 0c971159cbbc [2021-06-08T18:48:10.085Z] ---> 8677a26d4854 [2021-06-08T18:48:10.085Z] Step 22/23 : LABEL git_sha=a05858098fa9719d3fc1b9c744d708e1af3515b1 [2021-06-08T18:48:10.085Z] ---> Running in a0a950857b71 [2021-06-08T18:48:10.085Z] Removing intermediate container a0a950857b71 [2021-06-08T18:48:10.085Z] ---> 0b6a4b172063 [2021-06-08T18:48:10.085Z] Step 23/23 : LABEL version=0.0.0 [2021-06-08T18:48:10.085Z] ---> Running in 24e24c276e21 [2021-06-08T18:48:10.346Z] Removing intermediate container 24e24c276e21 [2021-06-08T18:48:10.346Z] ---> 17c11b92b137 [2021-06-08T18:48:10.346Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-08T18:48:10.346Z] Successfully built 17c11b92b137 [2021-06-08T18:48:10.346Z] 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:48:11.107Z] ---> job-cost.sh [2021-06-08T18:48:11.107Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ywBt [2021-06-08T18:48:20.805Z] Removing intermediate container 171db8035dd9 [2021-06-08T18:48:20.805Z] ---> 0e3f14801bb6 [2021-06-08T18:48:20.805Z] Successfully built 0e3f14801bb6 [2021-06-08T18:48:20.805Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:48:21.149Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T18:48:21.150Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T18:48:21.150Z] . [Pipeline] withDockerContainer [2021-06-08T18:48:21.394Z] prd-ubuntu18.04-docker-arm64-4c-16g-972 does not seem to be running inside a container [2021-06-08T18:48:21.513Z] $ 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:48:23.107Z] $ docker top 873c352f4dcf746d6f4296defb5e3f0b1bf1f9d851de5706f747e5443d7396db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:48:24.097Z] + go version [2021-06-08T18:48:24.097Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-08T18:48:24.117Z] $ docker stop --time=1 873c352f4dcf746d6f4296defb5e3f0b1bf1f9d851de5706f747e5443d7396db [2021-06-08T18:48:25.933Z] $ docker rm -f 873c352f4dcf746d6f4296defb5e3f0b1bf1f9d851de5706f747e5443d7396db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:48:26.703Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T18:48:26.703Z] . [Pipeline] withDockerContainer [2021-06-08T18:48:26.934Z] prd-ubuntu18.04-docker-arm64-4c-16g-972 does not seem to be running inside a container [2021-06-08T18:48:27.018Z] $ 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:48:28.614Z] $ docker top 9add2d0734f3a9987b697c97ee89c6b2d508453680d185e5f59685c3526be7ec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:48:29.594Z] + go mod tidy [Pipeline] sh [2021-06-08T18:48:30.866Z] + make test [2021-06-08T18:48:30.866Z] go mod tidy [2021-06-08T18:48:31.473Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-08T18:48:33.441Z] lf-activate-venv(): INFO: Adding /tmp/venv-ywBt/bin to PATH [2021-06-08T18:48:33.441Z] INFO: No Stack... [2021-06-08T18:48:34.016Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T18:48:34.588Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T18:48:34.889Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-08T18:48:34.889Z] + cut -d, -f6 [Pipeline] lock [2021-06-08T18:48:34.925Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-953-2-stack-cost] [2021-06-08T18:48:34.935Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-953-2-stack-cost] did not exist. Created. [2021-06-08T18:48:34.935Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-953-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T18:48:35.260Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-08T18:48:35.359Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T18:48:35.372Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-953-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:53.664Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-08T18:50:01.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-08T18:50:01.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-08T18:50:01.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-08T18:50:10.076Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.285s coverage: 25.4% of statements [2021-06-08T18:50:10.076Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-08T18:50:10.076Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.198s coverage: 28.1% of statements [2021-06-08T18:50:10.076Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.251s coverage: 78.9% of statements [2021-06-08T18:50:10.076Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.243s coverage: 9.0% of statements [2021-06-08T18:50:10.076Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-08T18:50:10.076Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-08T18:50:10.076Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-08T18:50:10.363Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.341s coverage: 29.2% of statements [2021-06-08T18:50:10.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-08T18:50:12.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.202s coverage: 83.3% of statements [2021-06-08T18:50:12.397Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-08T18:50:12.397Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-08T18:50:12.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.371s coverage: 58.0% of statements [2021-06-08T18:50:15.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.000s coverage: 89.2% of statements [2021-06-08T18:50:15.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-08T18:50:15.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.196s coverage: 5.0% of statements [2021-06-08T18:50:15.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-08T18:50:16.123Z] GO111MODULE=on go vet ./... [2021-06-08T18:51:16.533Z] gofmt -l . [2021-06-08T18:51:16.533Z] [ "`gofmt -l .`" = "" ] [2021-06-08T18:51:16.533Z] ./bin/test-attribution-txt.sh [2021-06-08T18:51:16.533Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-08T18:51:16.550Z] $ docker stop --time=1 9add2d0734f3a9987b697c97ee89c6b2d508453680d185e5f59685c3526be7ec [2021-06-08T18:51:18.662Z] $ docker rm -f 9add2d0734f3a9987b697c97ee89c6b2d508453680d185e5f59685c3526be7ec [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T18:51:19.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T18:51:19.811Z] Warning: overwriting stash ‘coverage-report’ [2021-06-08T18:51:20.389Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T18:51:21.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T18:51:21.361Z] + ls -al . [2021-06-08T18:51:21.361Z] total 248 [2021-06-08T18:51:21.361Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 18:51 . [2021-06-08T18:51:21.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:46 .. [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 18:46 .dockerignore [2021-06-08T18:51:21.361Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 18:46 .git [2021-06-08T18:51:21.361Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 18:46 .github [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 8 18:46 .gitignore [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 8 18:46 Dockerfile.build [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 8 18:46 Jenkinsfile [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 8 18:46 LICENSE [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 8 18:46 Makefile [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 8 18:46 README.md [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 8 18:46 RELEASE-NOTES.txt [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 18:43 VERSION [2021-06-08T18:51:21.361Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 18:46 bin [2021-06-08T18:51:21.361Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 8 18:50 coverage.out [2021-06-08T18:51:21.361Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 18:46 example [2021-06-08T18:51:21.361Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 8 18:51 go.mod [2021-06-08T18:51:21.361Z] -rw-r--r-- 1 jenkins jenkins 20499 Jun 8 18:48 go.sum [2021-06-08T18:51:21.361Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 8 18:46 internal [2021-06-08T18:51:21.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:46 openapi [2021-06-08T18:51:21.361Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 18:46 pkg [2021-06-08T18:51:21.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:46 snap [2021-06-08T18:51:21.361Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 8 18:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:51:21.715Z] + 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=52e320431cf06cc41a83b219ccac52c96ec61257 --label arch=arm64 --label version=0.0.0 . [2021-06-08T18:51:22.312Z] Sending build context to Docker daemon 2.759MB [2021-06-08T18:51:22.312Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T18:51:22.312Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-08T18:51:22.312Z] ---> 0e3f14801bb6 [2021-06-08T18:51:22.312Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-08T18:51:22.585Z] ---> Running in 39d974378658 [2021-06-08T18:51:23.180Z] Removing intermediate container 39d974378658 [2021-06-08T18:51:23.180Z] ---> 04ff9081289a [2021-06-08T18:51:23.180Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:51:23.180Z] ---> Running in 7274cea3ca15 [2021-06-08T18:51:23.784Z] Removing intermediate container 7274cea3ca15 [2021-06-08T18:51:23.784Z] ---> 3c0414ecdb3c [2021-06-08T18:51:23.784Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:51:23.784Z] ---> Running in 8c08a29927c7 [2021-06-08T18:51:26.408Z] Removing intermediate container 8c08a29927c7 [2021-06-08T18:51:26.408Z] ---> daabe57a750e [2021-06-08T18:51:26.408Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T18:51:26.408Z] ---> Running in 998e8038bb59 [2021-06-08T18:51:27.394Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T18:51:28.368Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T18:51:28.960Z] OK: 139 MiB in 46 packages [2021-06-08T18:51:29.935Z] Removing intermediate container 998e8038bb59 [2021-06-08T18:51:29.935Z] ---> 701fef301119 [2021-06-08T18:51:29.935Z] Step 7/23 : COPY . . [2021-06-08T18:51:31.372Z] ---> 5637412577f6 [2021-06-08T18:51:31.372Z] Step 8/23 : RUN go mod download [2021-06-08T18:51:31.646Z] ---> Running in d7f2ff6fea32 [2021-06-08T18:51:34.266Z] Removing intermediate container d7f2ff6fea32 [2021-06-08T18:51:34.266Z] ---> a61c85978037 [2021-06-08T18:51:34.266Z] Step 9/23 : RUN make build [2021-06-08T18:51:34.266Z] ---> Running in 59ed34464605 [2021-06-08T18:51:35.244Z] go mod tidy [2021-06-08T18:51:35.517Z] 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:52:07.881Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-08T18:52:10.503Z] Removing intermediate container 59ed34464605 [2021-06-08T18:52:10.503Z] ---> d8d93f965e80 [2021-06-08T18:52:10.503Z] Step 10/23 : FROM alpine:3.12 [2021-06-08T18:52:10.773Z] 3.12: Pulling from library/alpine [2021-06-08T18:52:10.773Z] d2f70382dc9a: Pulling fs layer [2021-06-08T18:52:11.045Z] d2f70382dc9a: Verifying Checksum [2021-06-08T18:52:11.045Z] d2f70382dc9a: Download complete [2021-06-08T18:52:11.639Z] d2f70382dc9a: Pull complete [2021-06-08T18:52:11.639Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T18:52:11.639Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T18:52:11.639Z] ---> 9852663dfa18 [2021-06-08T18:52:11.639Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-08T18:52:12.232Z] ---> Running in 456bc55e057e [2021-06-08T18:52:12.504Z] Removing intermediate container 456bc55e057e [2021-06-08T18:52:12.504Z] ---> 12b6d6cfe9a2 [2021-06-08T18:52:12.504Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T18:52:12.780Z] ---> Running in 8975b1950de5 [2021-06-08T18:52:14.754Z] Removing intermediate container 8975b1950de5 [2021-06-08T18:52:14.754Z] ---> 4b8b516aba6b [2021-06-08T18:52:14.754Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-08T18:52:14.754Z] ---> Running in d88953e768d3 [2021-06-08T18:52:16.190Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-08T18:52:16.788Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-08T18:52:17.765Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-08T18:52:18.036Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-08T18:52:18.036Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-08T18:52:18.306Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-08T18:52:18.307Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-08T18:52:18.307Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T18:52:18.580Z] OK: 8 MiB in 19 packages [2021-06-08T18:52:19.561Z] Removing intermediate container d88953e768d3 [2021-06-08T18:52:19.561Z] ---> 26287bf92d04 [2021-06-08T18:52:19.561Z] Step 14/23 : WORKDIR / [2021-06-08T18:52:19.561Z] ---> Running in 87313b526aea [2021-06-08T18:52:20.156Z] Removing intermediate container 87313b526aea [2021-06-08T18:52:20.156Z] ---> 4690bc8bc93c [2021-06-08T18:52:20.156Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-08T18:52:21.133Z] ---> e9d77b629794 [2021-06-08T18:52:21.133Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-08T18:52:22.109Z] ---> 31c118cb13fd [2021-06-08T18:52:22.109Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-08T18:52:23.089Z] ---> caf5425e2db8 [2021-06-08T18:52:23.089Z] Step 18/23 : EXPOSE 59999 [2021-06-08T18:52:23.089Z] ---> Running in 792f8f33a0b2 [2021-06-08T18:52:23.685Z] Removing intermediate container 792f8f33a0b2 [2021-06-08T18:52:23.685Z] ---> e31d2f0afddf [2021-06-08T18:52:23.685Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-08T18:52:23.685Z] ---> Running in 543fb83dc3e8 [2021-06-08T18:52:24.279Z] Removing intermediate container 543fb83dc3e8 [2021-06-08T18:52:24.279Z] ---> 1eb870108f2e [2021-06-08T18:52:24.279Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T18:52:24.279Z] ---> Running in 8282a47ea59c [2021-06-08T18:52:24.877Z] Removing intermediate container 8282a47ea59c [2021-06-08T18:52:24.878Z] ---> 0e52c250fde7 [2021-06-08T18:52:24.878Z] Step 21/23 : LABEL arch=arm64 [2021-06-08T18:52:24.878Z] ---> Running in f58a035c5fc9 [2021-06-08T18:52:25.153Z] Removing intermediate container f58a035c5fc9 [2021-06-08T18:52:25.153Z] ---> 442e18789316 [2021-06-08T18:52:25.153Z] Step 22/23 : LABEL git_sha=52e320431cf06cc41a83b219ccac52c96ec61257 [2021-06-08T18:52:25.424Z] ---> Running in a308bbd340fe [2021-06-08T18:52:26.026Z] Removing intermediate container a308bbd340fe [2021-06-08T18:52:26.026Z] ---> 7b3fcbf995d4 [2021-06-08T18:52:26.026Z] Step 23/23 : LABEL version=0.0.0 [2021-06-08T18:52:26.026Z] ---> Running in 4fbca41c1637 [2021-06-08T18:52:26.622Z] Removing intermediate container 4fbca41c1637 [2021-06-08T18:52:26.622Z] ---> c56f2d0bd0dc [2021-06-08T18:52:26.622Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-08T18:52:26.622Z] Successfully built c56f2d0bd0dc [2021-06-08T18:52:26.622Z] 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:52:27.296Z] ---> job-cost.sh [2021-06-08T18:52:27.296Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FWan [2021-06-08T18:53:08.257Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T18:54:31.589Z] lf-activate-venv(): INFO: Adding /tmp/venv-FWan/bin to PATH [2021-06-08T18:54:31.589Z] INFO: No Stack... [2021-06-08T18:54:31.589Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-08T18:54:31.589Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T18:54:31.923Z] + cut -d, -f6 [2021-06-08T18:54:31.923Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-06-08T18:54:31.980Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-953-2-stack-cost] [2021-06-08T18:54:31.990Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-953-2-stack-cost] did not exist. Created. [2021-06-08T18:54:31.990Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-953-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T18:54:32.356Z] /w/workspace/device-sdk-go/2@tmp/durable-e695b320/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-e695b320/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-08T18:54:32.709Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-08T18:54:32.742Z] Warning: overwriting stash ‘stack-cost’ [2021-06-08T18:54:32.899Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T18:54:32.908Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-953-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:54:33.565Z] provisioning config files... [2021-06-08T18:54:33.577Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/config4607962741131275277tmp [Pipeline] { [Pipeline] sh [2021-06-08T18:54:33.914Z] + set +x [2021-06-08T18:54:33.914Z] + curl -s https://codecov.io/bash [2021-06-08T18:54:33.914Z] + bash -s -- [2021-06-08T18:54:33.914Z] [2021-06-08T18:54:33.914Z] _____ _ [2021-06-08T18:54:33.914Z] / ____| | | [2021-06-08T18:54:33.914Z] | | ___ __| | ___ ___ _____ __ [2021-06-08T18:54:33.914Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-08T18:54:33.914Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-08T18:54:33.914Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-08T18:54:33.914Z] Bash-1.0.3 [2021-06-08T18:54:33.914Z] [2021-06-08T18:54:33.914Z] [2021-06-08T18:54:33.914Z] ==> git version 2.24.4 found [2021-06-08T18:54:33.914Z] ==> 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:54:33.914Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-08T18:54:33.914Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-08T18:54:33.914Z] ==> Jenkins CI detected. [2021-06-08T18:54:33.914Z] project root: . [2021-06-08T18:54:33.914Z] --> token set from env [2021-06-08T18:54:33.914Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-08T18:54:33.914Z] ==> Running gcov in . (disable via -X gcov) [2021-06-08T18:54:33.914Z] ==> Python coveragepy not found [2021-06-08T18:54:33.914Z] ==> Searching for coverage reports in: [2021-06-08T18:54:33.914Z] + . [2021-06-08T18:54:33.914Z] -> Found 1 reports [2021-06-08T18:54:33.914Z] ==> Detecting git/mercurial file structure [2021-06-08T18:54:33.914Z] ==> Reading reports [2021-06-08T18:54:33.914Z] + ./coverage.out bytes=126071 [2021-06-08T18:54:34.176Z] ==> Appending adjustments [2021-06-08T18:54:34.176Z] https://docs.codecov.io/docs/fixing-reports [2021-06-08T18:54:34.176Z] + Found adjustments [2021-06-08T18:54:34.176Z] ==> Gzipping contents [2021-06-08T18:54:34.176Z] 20K /tmp/codecov.A8XRte.gz [2021-06-08T18:54:34.176Z] ==> Uploading reports [2021-06-08T18:54:34.176Z] url: https://codecov.io [2021-06-08T18:54:34.176Z] query: branch=PR-953&commit=204d6f2e4979613f5a550baa7d76760d07edc707&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-953%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=953&job=&cmd_args= [2021-06-08T18:54:36.227Z] -> Pinging Codecov [2021-06-08T18:54:36.228Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-953&commit=204d6f2e4979613f5a550baa7d76760d07edc707&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-953%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=953&job=&cmd_args= [2021-06-08T18:54:36.228Z] -> Uploading to [2021-06-08T18:54:36.228Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-08/7E55EF52A471D76F132DFD9A03CDDE97/204d6f2e4979613f5a550baa7d76760d07edc707/4372febc-5910-4302-8ea7-3503b1f72e53.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T185434Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78a2d912c71b5ca29985c6c7ca0f50447a7ce2ff87ae15123276c2705d08db21 [2021-06-08T18:54:36.228Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-08T18:54:36.228Z] Dload Upload Total Spent Left Speed [2021-06-08T18:54:36.228Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16424 0 0 100 16424 0 39600 --:--:-- --:--:-- --:--:-- 39671 [2021-06-08T18:54:36.228Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/204d6f2e4979613f5a550baa7d76760d07edc707 [Pipeline] } [2021-06-08T18:54:36.229Z] 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:54:37.655Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:54:38.220Z] ---> package-listing.sh [2021-06-08T18:54:38.220Z] ++ facter osfamily [2021-06-08T18:54:38.220Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-08T18:54:38.485Z] + OS_FAMILY=redhat [2021-06-08T18:54:38.485Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-953 [2021-06-08T18:54:38.485Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-08T18:54:38.485Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-08T18:54:38.485Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-08T18:54:38.485Z] + PACKAGES=/tmp/packages_start.txt [2021-06-08T18:54:38.485Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-953 ']' [2021-06-08T18:54:38.485Z] + PACKAGES=/tmp/packages_end.txt [2021-06-08T18:54:38.485Z] + case "${OS_FAMILY}" in [2021-06-08T18:54:38.485Z] + rpm -qa [2021-06-08T18:54:38.485Z] + sort [2021-06-08T18:54:39.061Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-08T18:54:39.061Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-08T18:54:39.061Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-08T18:54:39.061Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-953 ']' [2021-06-08T18:54:39.061Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-953/archives/ [2021-06-08T18:54:39.061Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-953/archives/ [Pipeline] echo [2021-06-08T18:54:39.074Z] 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-953/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:54:39.360Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:54:39.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T18:54:39.943Z] [2021-06-08T18:54:39.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-08T18:54:40.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T18:54:40.259Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-08T18:54:40.259Z] df20fa9351a1: Pulling fs layer [2021-06-08T18:54:40.259Z] 36b3adc4ff6f: Pulling fs layer [2021-06-08T18:54:40.259Z] 8ad3a11d3b57: Pulling fs layer [2021-06-08T18:54:40.259Z] 46f8f816bc3b: Pulling fs layer [2021-06-08T18:54:40.260Z] 93b61091891f: Pulling fs layer [2021-06-08T18:54:40.260Z] 93b9cdb0e59b: Pulling fs layer [2021-06-08T18:54:40.260Z] 5e14af77c1be: Pulling fs layer [2021-06-08T18:54:40.260Z] 01666e4c0597: Pulling fs layer [2021-06-08T18:54:40.260Z] aa168da1d23b: Pulling fs layer [2021-06-08T18:54:40.260Z] 93b9cdb0e59b: Waiting [2021-06-08T18:54:40.260Z] 5e14af77c1be: Waiting [2021-06-08T18:54:40.260Z] 01666e4c0597: Waiting [2021-06-08T18:54:40.260Z] aa168da1d23b: Waiting [2021-06-08T18:54:40.260Z] 46f8f816bc3b: Waiting [2021-06-08T18:54:40.260Z] 93b61091891f: Waiting [2021-06-08T18:54:40.260Z] 36b3adc4ff6f: Verifying Checksum [2021-06-08T18:54:40.260Z] 36b3adc4ff6f: Download complete [2021-06-08T18:54:40.260Z] 46f8f816bc3b: Verifying Checksum [2021-06-08T18:54:40.260Z] 46f8f816bc3b: Download complete [2021-06-08T18:54:40.522Z] df20fa9351a1: Verifying Checksum [2021-06-08T18:54:40.522Z] 93b9cdb0e59b: Verifying Checksum [2021-06-08T18:54:40.522Z] 93b9cdb0e59b: Download complete [2021-06-08T18:54:40.522Z] 5e14af77c1be: Verifying Checksum [2021-06-08T18:54:40.522Z] 5e14af77c1be: Download complete [2021-06-08T18:54:40.522Z] 93b61091891f: Verifying Checksum [2021-06-08T18:54:40.522Z] 93b61091891f: Download complete [2021-06-08T18:54:40.522Z] 01666e4c0597: Verifying Checksum [2021-06-08T18:54:40.522Z] 01666e4c0597: Download complete [2021-06-08T18:54:40.522Z] 8ad3a11d3b57: Verifying Checksum [2021-06-08T18:54:40.522Z] 8ad3a11d3b57: Download complete [2021-06-08T18:54:40.787Z] df20fa9351a1: Pull complete [2021-06-08T18:54:40.787Z] 36b3adc4ff6f: Pull complete [2021-06-08T18:54:41.363Z] 8ad3a11d3b57: Pull complete [2021-06-08T18:54:41.363Z] 46f8f816bc3b: Pull complete [2021-06-08T18:54:41.625Z] 93b61091891f: Pull complete [2021-06-08T18:54:41.625Z] 93b9cdb0e59b: Pull complete [2021-06-08T18:54:41.885Z] 5e14af77c1be: Pull complete [2021-06-08T18:54:41.885Z] 01666e4c0597: Pull complete [2021-06-08T18:54:42.459Z] aa168da1d23b: Verifying Checksum [2021-06-08T18:54:42.459Z] aa168da1d23b: Download complete [2021-06-08T18:54:46.713Z] aa168da1d23b: Pull complete [2021-06-08T18:54:46.713Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-08T18:54:46.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T18:54:46.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-08T18:54:46.788Z] prd-centos7-docker-4c-2g-968 does not seem to be running inside a container [2021-06-08T18:54:46.844Z] $ 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-953/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-953 -v /w/workspace/dgexfoundry_device-sdk-go_PR-953:/w/workspace/dgexfoundry_device-sdk-go_PR-953:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-953@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-08T18:54:49.227Z] $ docker top c4a3168164ff07715b78387c8e2187be72f520b3a7c2c98bbb7db8da312be714 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T18:54:49.616Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-08T18:54:49.919Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-08T18:54:50.220Z] + ls /var/log/sa-host [2021-06-08T18:54:50.220Z] + sadf -c /var/log/sa-host/sa05 [2021-06-08T18:54:50.220Z] file_magic: OK [2021-06-08T18:54:50.220Z] HZ: Using current value: 100 [2021-06-08T18:54:50.220Z] file_header: OK [2021-06-08T18:54:50.220Z] 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:54:50.220Z] Statistics: [2021-06-08T18:54:50.220Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T18:54:50.220Z] File successfully converted to sysstat format version 12.2.1 [2021-06-08T18:54:50.220Z] + sadf -c /var/log/sa-host/sa08 [2021-06-08T18:54:50.220Z] file_magic: OK [2021-06-08T18:54:50.220Z] HZ: Using current value: 100 [2021-06-08T18:54:50.220Z] file_header: OK [2021-06-08T18:54:50.221Z] 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:54:50.221Z] Statistics: [2021-06-08T18:54:50.221Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T18:54:50.221Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T18:54:52.275Z] provisioning config files... [2021-06-08T18:54:52.287Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/config982264292014540951tmp [Pipeline] { [Pipeline] echo [2021-06-08T18:54:52.307Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:54:52.609Z] ---> create-netrc.sh [Pipeline] } [2021-06-08T18:54:52.618Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:54:52.980Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-08T18:54:52.990Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:54:53.281Z] ---> sudo-logs.sh [2021-06-08T18:54:53.282Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-08T18:54:53.309Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:54:53.613Z] ---> job-cost.sh [2021-06-08T18:54:53.613Z] lf-activate-venv: SKIPPING [2021-06-08T18:54:53.613Z] DEBUG: total: 0.18000000715255737 [2021-06-08T18:54:53.613Z] INFO: Retrieving Stack Cost... [2021-06-08T18:54:54.559Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T18:54:55.133Z] INFO: Archiving Costs [Pipeline] echo [2021-06-08T18:54:55.145Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T18:54:55.441Z] ---> logs-deploy.sh [2021-06-08T18:54:55.441Z] lf-activate-venv: SKIPPING [2021-06-08T18:54:55.441Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-953/2 [2021-06-08T18:54:55.441Z] INFO: archiving workspace using pattern(s): [2021-06-08T18:54:56.385Z] Archives upload complete. [2021-06-08T18:54:56.646Z] INFO: archiving logs to Nexus