Pull request #959 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 37f218f6262df27927f243ea90b847abeb85d9b1+907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 (62ea3487db0ee112b10dc727d528f0af161b33c5) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7517660264400223062.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-ssh7866068380658468554.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-959/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-959/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh199820474418544816.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-959/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2252329320109796310.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15229630640597803.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-959/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-959/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1463777062507793652.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1103 in /w/workspace/dgexfoundry_device-sdk-go_PR-959 [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-959 # 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-959@tmp/jenkins-gitclient-ssh4414798937904235007.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-959@tmp/jenkins-gitclient-ssh6369675178733466055.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/959/head:refs/remotes/origin/PR-959 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 37f218f6262df27927f243ea90b847abeb85d9b1 Merge succeeded, producing 37f218f6262df27927f243ea90b847abeb85d9b1 Checking out Revision 37f218f6262df27927f243ea90b847abeb85d9b1 (PR-959) > git config core.sparsecheckout # timeout=10 > git checkout -f 37f218f6262df27927f243ea90b847abeb85d9b1 # 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-959@tmp/jenkins-gitclient-ssh7464011406394292742.key > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37f218f6262df27927f243ea90b847abeb85d9b1 # timeout=10 Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T00:29:54.197Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T00:29:54.435Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T00:29:56.841Z] ========================================================= [2021-06-09T00:29:56.841Z] EdgeX Global Pipelines Version Info [2021-06-09T00:29:56.841Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:30:00.095Z] ------------------- [2021-06-09T00:30:00.095Z] stable info: [2021-06-09T00:30:00.095Z] ------------------- [2021-06-09T00:30:00.095Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T00:30:00.095Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:30:00.095Z] Message: update stable to v1.0.194 [2021-06-09T00:30:00.095Z] ------------------- [2021-06-09T00:30:00.095Z] experimental info: [2021-06-09T00:30:00.095Z] ------------------- [2021-06-09T00:30:00.095Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T00:30:00.095Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:30:00.095Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T00:30:00.361Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-09T00:30:00.428Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-09T00:30:00.526Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T00:30:00.620Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T00:30:00.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T00:30:03.174Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T00:30:03.253Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T00:30:03.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T00:30:03.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-09T00:30:05.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T00:30:05.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T00:30:06.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-09T00:30:08.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T00:30:08.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T00:30:10.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T00:30:10.927Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:30:11.020Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:30:11.177Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:30:13.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T00:30:13.519Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T00:30:13.633Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T00:30:13.709Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-09T00:30:13.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T00:30:16.172Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T00:30:16.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T00:30:16.361Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T00:30:16.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-959 [Pipeline] echo [2021-06-09T00:30:16.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-959 [Pipeline] echo [2021-06-09T00:30:18.648Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-959 [Pipeline] echo [2021-06-09T00:30:18.737Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37f218f6262df27927f243ea90b847abeb85d9b1 [Pipeline] echo [2021-06-09T00:30:18.800Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37f218f [Pipeline] echo [2021-06-09T00:30:18.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:30:19.033Z] provisioning config files... [2021-06-09T00:30:19.053Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp/config2075490727380347915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:30:21.620Z] ---> docker-login.sh [2021-06-09T00:30:21.620Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:30:21.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:30:21.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:30:21.620Z] Configure a credential helper to remove this warning. See [2021-06-09T00:30:21.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:30:21.620Z] [2021-06-09T00:30:21.620Z] Login Succeeded [2021-06-09T00:30:21.620Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:30:21.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:30:21.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:30:21.620Z] Configure a credential helper to remove this warning. See [2021-06-09T00:30:21.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:30:21.620Z] [2021-06-09T00:30:21.620Z] Login Succeeded [2021-06-09T00:30:21.620Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:30:21.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:30:21.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:30:21.620Z] Configure a credential helper to remove this warning. See [2021-06-09T00:30:21.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:30:21.620Z] [2021-06-09T00:30:21.620Z] Login Succeeded [2021-06-09T00:30:21.620Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:30:21.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:30:21.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:30:21.620Z] Configure a credential helper to remove this warning. See [2021-06-09T00:30:21.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:30:21.620Z] [2021-06-09T00:30:21.620Z] Login Succeeded [2021-06-09T00:30:21.620Z] docker.io [2021-06-09T00:30:21.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:30:21.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:30:21.620Z] Configure a credential helper to remove this warning. See [2021-06-09T00:30:21.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:30:21.620Z] [2021-06-09T00:30:21.620Z] Login Succeeded [2021-06-09T00:30:21.620Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T00:30:21.670Z] 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-09T00:30:22.462Z] + git log --format=format:%s -1 37f218f6262df27927f243ea90b847abeb85d9b1 [Pipeline] echo [2021-06-09T00:30:22.526Z] GIT_COMMIT: 37f218f6262df27927f243ea90b847abeb85d9b1, Commit Message: refactor: Change PublishTopicPrefix value to be 'edgex/events/device' [Pipeline] echo [2021-06-09T00:30:22.567Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:30:25.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:30:25.359Z] [2021-06-09T00:30:25.359Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:30:25.718Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:30:25.719Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T00:30:25.719Z] 31603596830f: Pulling fs layer [2021-06-09T00:30:25.719Z] 54011a49482f: Pulling fs layer [2021-06-09T00:30:25.719Z] a6820b24f6d8: Pulling fs layer [2021-06-09T00:30:25.719Z] f581987b2513: Pulling fs layer [2021-06-09T00:30:25.719Z] f581987b2513: Waiting [2021-06-09T00:30:25.719Z] 54011a49482f: Verifying Checksum [2021-06-09T00:30:25.719Z] 54011a49482f: Download complete [2021-06-09T00:30:25.719Z] 31603596830f: Verifying Checksum [2021-06-09T00:30:25.719Z] 31603596830f: Download complete [2021-06-09T00:30:25.986Z] f581987b2513: Verifying Checksum [2021-06-09T00:30:25.986Z] f581987b2513: Download complete [2021-06-09T00:30:25.986Z] a6820b24f6d8: Verifying Checksum [2021-06-09T00:30:25.986Z] a6820b24f6d8: Download complete [2021-06-09T00:30:25.986Z] 31603596830f: Pull complete [2021-06-09T00:30:25.986Z] 54011a49482f: Pull complete [2021-06-09T00:30:28.147Z] a6820b24f6d8: Pull complete [2021-06-09T00:30:28.147Z] f581987b2513: Pull complete [2021-06-09T00:30:28.147Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T00:30:28.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:30:28.147Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T00:30:28.319Z] prd-centos7-docker-4c-2g-1103 does not seem to be running inside a container [2021-06-09T00:30:28.366Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-959 -v /w/workspace/dgexfoundry_device-sdk-go_PR-959:/w/workspace/dgexfoundry_device-sdk-go_PR-959:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-959@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-09T00:30:30.817Z] $ docker top 72929c2f82fa4071d787bfe0d44c0118bb5d6d77de4515882adccfb093ae58b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T00:30:31.035Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T00:30:31.035Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T00:30:31.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T00:30:31.140Z] $ docker exec 72929c2f82fa4071d787bfe0d44c0118bb5d6d77de4515882adccfb093ae58b1 ssh-agent [2021-06-09T00:30:31.248Z] SSH_AUTH_SOCK=/tmp/ssh-1WAR9bShifSf/agent.14 [2021-06-09T00:30:31.248Z] SSH_AGENT_PID=21 [2021-06-09T00:30:31.256Z] Running ssh-add (command line suppressed) [2021-06-09T00:30:31.350Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp/private_key_5323357369982892864.key (/w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp/private_key_5323357369982892864.key) [2021-06-09T00:30:31.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T00:30:33.695Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T00:30:33.772Z] $ docker exec --env ******** --env ******** 72929c2f82fa4071d787bfe0d44c0118bb5d6d77de4515882adccfb093ae58b1 ssh-agent -k [2021-06-09T00:30:33.865Z] unset SSH_AUTH_SOCK; [2021-06-09T00:30:33.865Z] unset SSH_AGENT_PID; [2021-06-09T00:30:33.865Z] echo Agent pid 21 killed; [2021-06-09T00:30:33.879Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T00:30:33.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T00:30:33.977Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T00:30:34.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T00:30:34.089Z] $ docker exec 72929c2f82fa4071d787bfe0d44c0118bb5d6d77de4515882adccfb093ae58b1 ssh-agent [2021-06-09T00:30:34.191Z] SSH_AUTH_SOCK=/tmp/ssh-DMOGgamVNEIw/agent.54 [2021-06-09T00:30:34.191Z] SSH_AGENT_PID=60 [2021-06-09T00:30:34.197Z] Running ssh-add (command line suppressed) [2021-06-09T00:30:34.299Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp/private_key_4123923454094508876.key (/w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp/private_key_4123923454094508876.key) [2021-06-09T00:30:34.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T00:30:34.662Z] + git semver init [2021-06-09T00:30:34.662Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T00:30:34.662Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-959/.git [2021-06-09T00:30:34.662Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-959 [2021-06-09T00:30:34.662Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T00:30:34.662Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T00:30:34.662Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T00:30:34.662Z] # $SEMVER_BRANCH = PR-959 [2021-06-09T00:30:34.662Z] # $SEMVER_TEMP = /tmp/semver-615590859 [2021-06-09T00:30:34.662Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-09T00:30:35.245Z] # '/tmp/semver-615590859' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-959/.semver' [2021-06-09T00:30:35.245Z] # -> Force: false [2021-06-09T00:30:35.245Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-959/.semver [Pipeline] } [2021-06-09T00:30:35.266Z] $ docker exec --env ******** --env ******** 72929c2f82fa4071d787bfe0d44c0118bb5d6d77de4515882adccfb093ae58b1 ssh-agent -k [2021-06-09T00:30:35.355Z] unset SSH_AUTH_SOCK; [2021-06-09T00:30:35.356Z] unset SSH_AGENT_PID; [2021-06-09T00:30:35.356Z] echo Agent pid 60 killed; [2021-06-09T00:30:35.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T00:30:39.913Z] + git semver [Pipeline] } [2021-06-09T00:30:39.947Z] $ docker stop --time=1 72929c2f82fa4071d787bfe0d44c0118bb5d6d77de4515882adccfb093ae58b1 [2021-06-09T00:30:44.852Z] $ docker rm -f 72929c2f82fa4071d787bfe0d44c0118bb5d6d77de4515882adccfb093ae58b1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:30:45.358Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T00:30:49.835Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T00:30:49.863Z] [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-09T00:31:07.773Z] Still waiting to schedule task [2021-06-09T00:31:07.774Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-09T00:31:07.853Z] Still waiting to schedule task [2021-06-09T00:31:07.853Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-09T00:32:59.647Z] Running on prd-centos7-docker-4c-2g-1110 in /w/workspace/dgexfoundry_device-sdk-go_PR-959 [Pipeline] { [Pipeline] ws [2021-06-09T00:32:59.715Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-09T00:32:59.860Z] Selected Git installation does not exist. Using Default [2021-06-09T00:32:59.860Z] The recommended git tool is: NONE [2021-06-09T00:33:09.287Z] using credential edgex-jenkins-ssh [2021-06-09T00:33:09.311Z] Cloning the remote Git repository [2021-06-09T00:33:09.338Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T00:33:09.419Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-09T00:33:09.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T00:33:09.453Z] > git --version # timeout=10 [2021-06-09T00:33:09.460Z] > git --version # 'git version 2.24.4' [2021-06-09T00:33:09.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:33:09.489Z] [INFO] Currently running in a labeled security context [2021-06-09T00:33:09.489Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:33:09.489Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8405680808241749563.key [2021-06-09T00:33:09.507Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:33:10.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T00:33:10.353Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:33:10.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T00:33:10.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T00:33:10.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:33:10.378Z] [INFO] Currently running in a labeled security context [2021-06-09T00:33:10.378Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:33:10.378Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1261313087165904870.key [2021-06-09T00:33:10.393Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/959/head:refs/remotes/origin/PR-959 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T00:33:10.915Z] Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 37f218f6262df27927f243ea90b847abeb85d9b1 [2021-06-09T00:33:11.031Z] Merge succeeded, producing 37f218f6262df27927f243ea90b847abeb85d9b1 [2021-06-09T00:33:11.032Z] Checking out Revision 37f218f6262df27927f243ea90b847abeb85d9b1 (PR-959) [2021-06-09T00:33:10.923Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:33:10.935Z] > git checkout -f 37f218f6262df27927f243ea90b847abeb85d9b1 # timeout=10 [2021-06-09T00:33:10.980Z] > git remote # timeout=10 [2021-06-09T00:33:10.986Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T00:33:10.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:33:10.995Z] [INFO] Currently running in a labeled security context [2021-06-09T00:33:10.995Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:33:10.996Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2729412503034452702.key [2021-06-09T00:33:11.004Z] > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 [2021-06-09T00:33:11.016Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T00:33:11.031Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:33:11.040Z] > git checkout -f 37f218f6262df27927f243ea90b847abeb85d9b1 # timeout=10 [2021-06-09T00:33:14.688Z] Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" [2021-06-09T00:33:14.717Z] > git --version # timeout=10 [2021-06-09T00:33:14.726Z] > git --version # 'git version 2.24.4' [2021-06-09T00:33:14.799Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:33:18.207Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:33:18.600Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:33:21.131Z] + true [2021-06-09T00:33:21.131Z] + sudo service docker restart [2021-06-09T00:33:21.131Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:33:38.088Z] provisioning config files... [2021-06-09T00:33:38.121Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1147127566415131880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:33:40.631Z] ---> docker-login.sh [2021-06-09T00:33:40.631Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:33:40.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:33:40.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:33:40.631Z] Configure a credential helper to remove this warning. See [2021-06-09T00:33:40.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:33:40.631Z] [2021-06-09T00:33:40.631Z] Login Succeeded [2021-06-09T00:33:40.631Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:33:40.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:33:40.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:33:40.631Z] Configure a credential helper to remove this warning. See [2021-06-09T00:33:40.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:33:40.631Z] [2021-06-09T00:33:40.631Z] Login Succeeded [2021-06-09T00:33:40.631Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:33:40.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:33:40.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:33:40.631Z] Configure a credential helper to remove this warning. See [2021-06-09T00:33:40.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:33:40.631Z] [2021-06-09T00:33:40.631Z] Login Succeeded [2021-06-09T00:33:40.631Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:33:40.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:33:40.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:33:40.631Z] Configure a credential helper to remove this warning. See [2021-06-09T00:33:40.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:33:40.631Z] [2021-06-09T00:33:40.631Z] Login Succeeded [2021-06-09T00:33:40.631Z] docker.io [2021-06-09T00:33:40.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:33:40.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:33:40.631Z] Configure a credential helper to remove this warning. See [2021-06-09T00:33:40.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:33:40.631Z] [2021-06-09T00:33:40.631Z] Login Succeeded [2021-06-09T00:33:40.631Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T00:33:40.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T00:33:47.396Z] ========================================================= [2021-06-09T00:33:47.396Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T00:33:47.396Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:33:49.960Z] + 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-09T00:33:49.960Z] Sending build context to Docker daemon 2.643MB [2021-06-09T00:33:49.960Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:33:49.960Z] Step 2/8 : FROM ${BASE} [2021-06-09T00:33:49.960Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T00:33:49.960Z] 540db60ca938: Pulling fs layer [2021-06-09T00:33:49.960Z] adcc1eea9eea: Pulling fs layer [2021-06-09T00:33:49.960Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T00:33:49.960Z] 0510c868ecb4: Pulling fs layer [2021-06-09T00:33:49.960Z] afea3b2eda06: Pulling fs layer [2021-06-09T00:33:49.960Z] 7809a108b3ef: Pulling fs layer [2021-06-09T00:33:49.960Z] f706445af74f: Pulling fs layer [2021-06-09T00:33:49.960Z] afea3b2eda06: Waiting [2021-06-09T00:33:49.960Z] 7809a108b3ef: Waiting [2021-06-09T00:33:49.960Z] f706445af74f: Waiting [2021-06-09T00:33:49.960Z] 0510c868ecb4: Waiting [2021-06-09T00:33:49.960Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T00:33:49.960Z] 4c4ab2625f07: Download complete [2021-06-09T00:33:49.960Z] adcc1eea9eea: Verifying Checksum [2021-06-09T00:33:49.960Z] adcc1eea9eea: Download complete [2021-06-09T00:33:49.960Z] afea3b2eda06: Verifying Checksum [2021-06-09T00:33:49.960Z] afea3b2eda06: Download complete [2021-06-09T00:33:49.960Z] 7809a108b3ef: Verifying Checksum [2021-06-09T00:33:49.960Z] 7809a108b3ef: Download complete [2021-06-09T00:33:49.960Z] 540db60ca938: Verifying Checksum [2021-06-09T00:33:49.960Z] 540db60ca938: Download complete [2021-06-09T00:33:49.960Z] 540db60ca938: Pull complete [2021-06-09T00:33:49.960Z] adcc1eea9eea: Pull complete [2021-06-09T00:33:49.960Z] 4c4ab2625f07: Pull complete [2021-06-09T00:33:49.960Z] f706445af74f: Verifying Checksum [2021-06-09T00:33:49.960Z] f706445af74f: Download complete [2021-06-09T00:33:50.275Z] 0510c868ecb4: Verifying Checksum [2021-06-09T00:33:50.275Z] 0510c868ecb4: Download complete [2021-06-09T00:33:53.545Z] 0510c868ecb4: Pull complete [2021-06-09T00:33:55.827Z] afea3b2eda06: Pull complete [2021-06-09T00:33:55.827Z] 7809a108b3ef: Pull complete [2021-06-09T00:33:55.827Z] f706445af74f: Pull complete [2021-06-09T00:33:55.827Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T00:33:55.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T00:33:55.827Z] ---> b068be0155e3 [2021-06-09T00:33:55.827Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T00:34:01.038Z] ---> Running in 67c9a2a58762 [2021-06-09T00:34:01.038Z] Removing intermediate container 67c9a2a58762 [2021-06-09T00:34:01.038Z] ---> dedda79267c4 [2021-06-09T00:34:01.038Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:34:01.038Z] ---> Running in d0b7be831656 [2021-06-09T00:34:01.038Z] Removing intermediate container d0b7be831656 [2021-06-09T00:34:01.038Z] ---> 99ca985e5395 [2021-06-09T00:34:01.038Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T00:34:01.038Z] ---> Running in 5848e6fe4294 [2021-06-09T00:34:01.038Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:34:01.337Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:34:03.806Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T00:34:03.806Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T00:34:03.806Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T00:34:03.806Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T00:34:03.806Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T00:34:03.806Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T00:34:03.806Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T00:34:03.806Z] OK: 150 MiB in 46 packages [2021-06-09T00:34:03.806Z] Removing intermediate container 5848e6fe4294 [2021-06-09T00:34:03.806Z] ---> 643f5e410ce1 [2021-06-09T00:34:03.806Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T00:34:03.806Z] ---> Running in 5403555e6a6d [2021-06-09T00:34:03.806Z] Removing intermediate container 5403555e6a6d [2021-06-09T00:34:03.806Z] ---> a92eee863f32 [2021-06-09T00:34:03.806Z] Step 7/8 : COPY . . [2021-06-09T00:34:03.806Z] ---> 8ffae87d94ef [2021-06-09T00:34:03.806Z] Step 8/8 : RUN go mod download [2021-06-09T00:34:03.806Z] ---> Running in 2cdf80a5f1fd [2021-06-09T00:34:14.997Z] Removing intermediate container 2cdf80a5f1fd [2021-06-09T00:34:14.997Z] ---> ae2381e36ad7 [2021-06-09T00:34:14.997Z] Successfully built ae2381e36ad7 [2021-06-09T00:34:14.997Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:34:17.585Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T00:34:17.585Z] . [Pipeline] withDockerContainer [2021-06-09T00:34:17.777Z] prd-centos7-docker-4c-2g-1110 does not seem to be running inside a container [2021-06-09T00:34:17.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T00:34:20.141Z] $ docker top 39c671f232f4c2356df4541fa5bb3575cf346ef2ed1806e49a42a5448171b518 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:34:22.913Z] + go version [2021-06-09T00:34:22.913Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T00:34:23.011Z] $ docker stop --time=1 39c671f232f4c2356df4541fa5bb3575cf346ef2ed1806e49a42a5448171b518 [2021-06-09T00:34:25.449Z] $ docker rm -f 39c671f232f4c2356df4541fa5bb3575cf346ef2ed1806e49a42a5448171b518 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:34:31.927Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T00:34:31.927Z] . [Pipeline] withDockerContainer [2021-06-09T00:34:34.486Z] prd-centos7-docker-4c-2g-1110 does not seem to be running inside a container [2021-06-09T00:34:34.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T00:34:38.285Z] $ docker top 2360eda0463bbc7b6a767fe62b2a301e0437e8df8f318174adb1505542e99be3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:34:42.196Z] + go mod tidy [Pipeline] sh [2021-06-09T00:34:44.874Z] + make test [2021-06-09T00:34:44.874Z] go mod tidy [2021-06-09T00:34:44.874Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T00:34:49.885Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T00:35:07.872Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1115 in /w/workspace/dgexfoundry_device-sdk-go_PR-959 [Pipeline] { [Pipeline] ws [2021-06-09T00:35:07.980Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-09T00:35:10.443Z] Selected Git installation does not exist. Using Default [2021-06-09T00:35:10.443Z] The recommended git tool is: NONE [2021-06-09T00:35:12.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T00:35:12.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T00:35:12.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T00:35:15.924Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 25.4% of statements [2021-06-09T00:35:15.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T00:35:15.924Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-06-09T00:35:16.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements [2021-06-09T00:35:16.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2021-06-09T00:35:16.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T00:35:16.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T00:35:16.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T00:35:17.154Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.061s coverage: 29.2% of statements [2021-06-09T00:35:17.154Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T00:35:19.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.047s coverage: 83.3% of statements [2021-06-09T00:35:19.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T00:35:19.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T00:35:19.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 58.0% of statements [2021-06-09T00:35:19.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.860s coverage: 89.2% of statements [2021-06-09T00:35:19.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T00:35:19.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 5.0% of statements [2021-06-09T00:35:19.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T00:35:20.080Z] GO111MODULE=on go vet ./... [2021-06-09T00:35:26.450Z] using credential edgex-jenkins-ssh [2021-06-09T00:35:26.466Z] Cloning the remote Git repository [2021-06-09T00:35:26.512Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T00:35:28.756Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-09T00:35:28.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T00:35:28.832Z] > git --version # timeout=10 [2021-06-09T00:35:28.867Z] > git --version # 'git version 2.17.1' [2021-06-09T00:35:28.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:35:28.955Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:35:30.055Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T00:35:30.077Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:35:32.265Z] Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 37f218f6262df27927f243ea90b847abeb85d9b1 [2021-06-09T00:35:32.478Z] Merge succeeded, producing 37f218f6262df27927f243ea90b847abeb85d9b1 [2021-06-09T00:35:32.478Z] Checking out Revision 37f218f6262df27927f243ea90b847abeb85d9b1 (PR-959) [2021-06-09T00:35:31.549Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T00:35:31.586Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T00:35:31.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:35:31.602Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/959/head:refs/remotes/origin/PR-959 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T00:35:32.281Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:35:32.295Z] > git checkout -f 37f218f6262df27927f243ea90b847abeb85d9b1 # timeout=10 [2021-06-09T00:35:32.399Z] > git remote # timeout=10 [2021-06-09T00:35:32.416Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T00:35:32.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:35:32.438Z] > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 [2021-06-09T00:35:32.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T00:35:32.480Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:35:32.503Z] > git checkout -f 37f218f6262df27927f243ea90b847abeb85d9b1 # timeout=10 [2021-06-09T00:35:38.908Z] gofmt -l . [2021-06-09T00:35:38.908Z] [ "`gofmt -l .`" = "" ] [2021-06-09T00:35:38.908Z] ./bin/test-attribution-txt.sh [2021-06-09T00:35:38.908Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T00:35:39.205Z] $ docker stop --time=1 2360eda0463bbc7b6a767fe62b2a301e0437e8df8f318174adb1505542e99be3 [2021-06-09T00:35:39.341Z] Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" [2021-06-09T00:35:39.386Z] > git --version # timeout=10 [2021-06-09T00:35:39.395Z] > git --version # 'git version 2.17.1' [2021-06-09T00:35:39.407Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:35:40.652Z] $ docker rm -f 2360eda0463bbc7b6a767fe62b2a301e0437e8df8f318174adb1505542e99be3 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-06-09T00:35:43.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] sh [2021-06-09T00:35:43.731Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-09T00:35:46.654Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2021-06-09T00:35:52.331Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:35:52.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T00:35:52.697Z] + true [2021-06-09T00:35:52.697Z] + sudo service docker restart [2021-06-09T00:35:52.774Z] + ls -al . [2021-06-09T00:35:52.774Z] total 208 [2021-06-09T00:35:52.774Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 00:35 . [2021-06-09T00:35:52.774Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 00:33 .. [2021-06-09T00:35:52.774Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 00:33 bin [2021-06-09T00:35:52.774Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 9 00:35 coverage.out [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 00:33 Dockerfile.build [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 00:33 .dockerignore [2021-06-09T00:35:52.774Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 00:33 example [2021-06-09T00:35:52.774Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 00:33 .git [2021-06-09T00:35:52.774Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 00:33 .github [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 00:33 .gitignore [2021-06-09T00:35:52.774Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 9 00:35 go.mod [2021-06-09T00:35:52.774Z] -rw-r--r--. 1 jenkins jenkins 20381 Jun 9 00:34 go.sum [2021-06-09T00:35:52.774Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 00:33 internal [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 00:33 Jenkinsfile [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 00:33 LICENSE [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 00:33 Makefile [2021-06-09T00:35:52.774Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 00:33 openapi [2021-06-09T00:35:52.774Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 00:33 pkg [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 00:33 README.md [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 00:33 RELEASE-NOTES.txt [2021-06-09T00:35:52.774Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 00:33 snap [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 00:30 VERSION [2021-06-09T00:35:52.774Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 00:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:35:53.116Z] + 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=37f218f6262df27927f243ea90b847abeb85d9b1 --label arch=amd64 --label version=0.0.0 . [2021-06-09T00:35:53.116Z] Sending build context to Docker daemon 2.77MB [2021-06-09T00:35:53.116Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:35:53.116Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T00:35:53.116Z] ---> ae2381e36ad7 [2021-06-09T00:35:53.116Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T00:35:53.116Z] ---> Running in adc8d2e13e77 [2021-06-09T00:35:53.381Z] Removing intermediate container adc8d2e13e77 [2021-06-09T00:35:53.381Z] ---> 64e29d700b3f [2021-06-09T00:35:53.381Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T00:35:53.381Z] ---> Running in ae78e767011b [2021-06-09T00:35:53.381Z] Removing intermediate container ae78e767011b [2021-06-09T00:35:53.381Z] ---> 426621a72e3e [2021-06-09T00:35:53.381Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:35:53.381Z] ---> Running in 5b42d520d888 [2021-06-09T00:35:53.963Z] Removing intermediate container 5b42d520d888 [2021-06-09T00:35:53.963Z] ---> ebf179dd2efe [2021-06-09T00:35:53.963Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T00:35:53.963Z] ---> Running in fe5603a324ce [2021-06-09T00:35:54.227Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:35:56.530Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:35:56.530Z] OK: 150 MiB in 46 packages [2021-06-09T00:35:56.530Z] Removing intermediate container fe5603a324ce [2021-06-09T00:35:56.530Z] ---> fc9bfb2066b6 [2021-06-09T00:35:56.530Z] Step 7/23 : COPY . . [2021-06-09T00:35:56.530Z] ---> 1174436c5248 [2021-06-09T00:35:56.530Z] Step 8/23 : RUN go mod download [2021-06-09T00:35:56.530Z] ---> Running in a6fe5896ac95 [2021-06-09T00:35:56.530Z] Removing intermediate container a6fe5896ac95 [2021-06-09T00:35:56.530Z] ---> 6eaf22a59e5b [2021-06-09T00:35:56.530Z] Step 9/23 : RUN make build [2021-06-09T00:35:56.530Z] ---> Running in 61762063e5b9 [2021-06-09T00:35:56.795Z] go mod tidy [2021-06-09T00:35:57.069Z] 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-09T00:36:08.620Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T00:36:08.887Z] Removing intermediate container 61762063e5b9 [2021-06-09T00:36:08.887Z] ---> 7f800b524856 [2021-06-09T00:36:08.887Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T00:36:09.460Z] 3.12: Pulling from library/alpine [2021-06-09T00:36:09.460Z] 339de151aab4: Pulling fs layer [2021-06-09T00:36:09.730Z] 339de151aab4: Verifying Checksum [2021-06-09T00:36:09.730Z] 339de151aab4: Download complete [2021-06-09T00:36:09.993Z] 339de151aab4: Pull complete [2021-06-09T00:36:09.993Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T00:36:09.993Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T00:36:09.993Z] ---> 13621d1b12d4 [2021-06-09T00:36:09.993Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T00:36:09.993Z] ---> Running in 1b28e52ed8d5 [2021-06-09T00:36:10.259Z] Removing intermediate container 1b28e52ed8d5 [2021-06-09T00:36:10.259Z] ---> a8c2ae7ca476 [2021-06-09T00:36:10.259Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:36:10.259Z] ---> Running in 7873701533f6 [2021-06-09T00:36:10.835Z] Removing intermediate container 7873701533f6 [2021-06-09T00:36:10.835Z] ---> a2aec78e25a3 [2021-06-09T00:36:10.835Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T00:36:10.835Z] ---> Running in 897e73e23a23 [2021-06-09T00:36:11.105Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:36:11.283Z] provisioning config files... [2021-06-09T00:36:11.310Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6213789829498741640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:36:11.674Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:36:11.757Z] ---> docker-login.sh [2021-06-09T00:36:11.757Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:36:12.246Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T00:36:12.247Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T00:36:12.247Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T00:36:12.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:36:12.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:36:12.958Z] Configure a credential helper to remove this warning. See [2021-06-09T00:36:12.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:36:12.958Z] [2021-06-09T00:36:12.958Z] Login Succeeded [2021-06-09T00:36:12.958Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:36:13.192Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T00:36:13.192Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T00:36:13.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:36:13.454Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T00:36:13.454Z] OK: 8 MiB in 19 packages [2021-06-09T00:36:13.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:36:13.510Z] Configure a credential helper to remove this warning. See [2021-06-09T00:36:13.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:36:13.510Z] [2021-06-09T00:36:13.510Z] Login Succeeded [2021-06-09T00:36:13.510Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:36:13.719Z] Removing intermediate container 897e73e23a23 [2021-06-09T00:36:13.719Z] ---> 38f73afc256f [2021-06-09T00:36:13.719Z] Step 14/23 : WORKDIR / [2021-06-09T00:36:13.719Z] ---> Running in 5cc772acc212 [2021-06-09T00:36:13.719Z] Removing intermediate container 5cc772acc212 [2021-06-09T00:36:13.719Z] ---> ae52d1f422ba [2021-06-09T00:36:13.719Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T00:36:13.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:36:13.992Z] ---> 22a48a2db26a [2021-06-09T00:36:13.993Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T00:36:14.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:36:14.061Z] Configure a credential helper to remove this warning. See [2021-06-09T00:36:14.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:36:14.061Z] [2021-06-09T00:36:14.061Z] Login Succeeded [2021-06-09T00:36:14.061Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:36:14.260Z] ---> 1c5ba9310265 [2021-06-09T00:36:14.261Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T00:36:14.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:36:14.525Z] ---> c08fbe13cdaf [2021-06-09T00:36:14.525Z] Step 18/23 : EXPOSE 59999 [2021-06-09T00:36:14.525Z] ---> Running in 4a226420be0b [2021-06-09T00:36:14.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:36:14.612Z] Configure a credential helper to remove this warning. See [2021-06-09T00:36:14.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:36:14.612Z] [2021-06-09T00:36:14.612Z] Login Succeeded [2021-06-09T00:36:14.612Z] docker.io [2021-06-09T00:36:14.790Z] Removing intermediate container 4a226420be0b [2021-06-09T00:36:14.790Z] ---> 517cb0f5ffab [2021-06-09T00:36:14.790Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T00:36:14.790Z] ---> Running in e885255e213f [2021-06-09T00:36:14.790Z] Removing intermediate container e885255e213f [2021-06-09T00:36:14.790Z] ---> e6b10bbd5a13 [2021-06-09T00:36:14.790Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T00:36:14.790Z] ---> Running in 55f245fefaf0 [2021-06-09T00:36:14.790Z] Removing intermediate container 55f245fefaf0 [2021-06-09T00:36:14.790Z] ---> 1979ea35c12d [2021-06-09T00:36:14.790Z] Step 21/23 : LABEL arch=amd64 [2021-06-09T00:36:14.790Z] ---> Running in 28a0c6bd7b7e [2021-06-09T00:36:14.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:36:15.053Z] Removing intermediate container 28a0c6bd7b7e [2021-06-09T00:36:15.053Z] ---> 4f9e0de899d6 [2021-06-09T00:36:15.053Z] Step 22/23 : LABEL git_sha=37f218f6262df27927f243ea90b847abeb85d9b1 [2021-06-09T00:36:15.053Z] ---> Running in e29ea18ae8b5 [2021-06-09T00:36:15.053Z] Removing intermediate container e29ea18ae8b5 [2021-06-09T00:36:15.053Z] ---> ba15c08a2015 [2021-06-09T00:36:15.053Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T00:36:15.053Z] ---> Running in fa3c23eaab3c [2021-06-09T00:36:15.315Z] Removing intermediate container fa3c23eaab3c [2021-06-09T00:36:15.315Z] ---> 5f004b45fc76 [2021-06-09T00:36:15.315Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T00:36:15.315Z] Successfully built 5f004b45fc76 [2021-06-09T00:36:15.315Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [2021-06-09T00:36:15.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:36:15.489Z] Configure a credential helper to remove this warning. See [2021-06-09T00:36:15.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:36:15.489Z] [2021-06-09T00:36:15.489Z] Login Succeeded [2021-06-09T00:36:15.489Z] ---> docker-login.sh ends [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] } [2021-06-09T00:36:15.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 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 [Pipeline] echo [2021-06-09T00:36:18.461Z] ========================================================= [2021-06-09T00:36:18.461Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T00:36:18.461Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:36:18.670Z] ---> job-cost.sh [2021-06-09T00:36:18.671Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ez0y [2021-06-09T00:36:18.843Z] + 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-09T00:36:19.439Z] Sending build context to Docker daemon 2.642MB [2021-06-09T00:36:19.439Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:36:19.439Z] Step 2/8 : FROM ${BASE} [2021-06-09T00:36:19.715Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T00:36:19.715Z] 595b0fe564bb: Pulling fs layer [2021-06-09T00:36:19.715Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T00:36:19.715Z] 316046926c0a: Pulling fs layer [2021-06-09T00:36:19.715Z] 4ebd0625c992: Pulling fs layer [2021-06-09T00:36:19.715Z] 207e8628e3a3: Pulling fs layer [2021-06-09T00:36:19.715Z] c791037a9be2: Pulling fs layer [2021-06-09T00:36:19.715Z] ffd874e62e21: Pulling fs layer [2021-06-09T00:36:19.715Z] 207e8628e3a3: Waiting [2021-06-09T00:36:19.715Z] c791037a9be2: Waiting [2021-06-09T00:36:19.715Z] ffd874e62e21: Waiting [2021-06-09T00:36:19.715Z] 4ebd0625c992: Waiting [2021-06-09T00:36:19.715Z] 316046926c0a: Verifying Checksum [2021-06-09T00:36:19.715Z] 316046926c0a: Download complete [2021-06-09T00:36:19.715Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T00:36:19.715Z] 7186ed65a4f7: Download complete [2021-06-09T00:36:19.715Z] 207e8628e3a3: Verifying Checksum [2021-06-09T00:36:19.715Z] 207e8628e3a3: Download complete [2021-06-09T00:36:19.715Z] c791037a9be2: Verifying Checksum [2021-06-09T00:36:19.715Z] c791037a9be2: Download complete [2021-06-09T00:36:19.715Z] 595b0fe564bb: Verifying Checksum [2021-06-09T00:36:19.715Z] 595b0fe564bb: Download complete [2021-06-09T00:36:20.338Z] 595b0fe564bb: Pull complete [2021-06-09T00:36:21.332Z] 7186ed65a4f7: Pull complete [2021-06-09T00:36:21.609Z] 316046926c0a: Pull complete [2021-06-09T00:36:21.884Z] ffd874e62e21: Verifying Checksum [2021-06-09T00:36:21.884Z] ffd874e62e21: Download complete [2021-06-09T00:36:22.868Z] 4ebd0625c992: Verifying Checksum [2021-06-09T00:36:22.868Z] 4ebd0625c992: Download complete [2021-06-09T00:36:28.073Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T00:36:33.258Z] 4ebd0625c992: Pull complete [2021-06-09T00:36:35.631Z] 207e8628e3a3: Pull complete [2021-06-09T00:36:35.631Z] c791037a9be2: Pull complete [2021-06-09T00:36:38.257Z] ffd874e62e21: Pull complete [2021-06-09T00:36:38.257Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T00:36:38.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T00:36:38.257Z] ---> cfc18b08335c [2021-06-09T00:36:38.257Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T00:36:38.858Z] ---> Running in 18dacace24e6 [2021-06-09T00:36:39.460Z] Removing intermediate container 18dacace24e6 [2021-06-09T00:36:39.460Z] ---> 19f411b7b2ce [2021-06-09T00:36:39.460Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:36:39.460Z] ---> Running in ff83801d3d47 [2021-06-09T00:36:42.092Z] Removing intermediate container ff83801d3d47 [2021-06-09T00:36:42.092Z] ---> 340185624971 [2021-06-09T00:36:42.092Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T00:36:42.092Z] ---> Running in 491793a48012 [2021-06-09T00:36:42.561Z] lf-activate-venv(): INFO: Adding /tmp/venv-ez0y/bin to PATH [2021-06-09T00:36:42.562Z] INFO: No Stack... [2021-06-09T00:36:42.562Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T00:36:42.562Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T00:36:44.860Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:36:44.860Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:36:44.860Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T00:36:44.860Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T00:36:45.088Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-09T00:36:45.088Z] + cut -d, -f6 [2021-06-09T00:36:45.139Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T00:36:45.139Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T00:36:45.139Z] (5/6) Installing libzmq (4.3.3-r1) [Pipeline] lock [2021-06-09T00:36:45.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-959-1-stack-cost] [2021-06-09T00:36:45.153Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-959-1-stack-cost] did not exist. Created. [2021-06-09T00:36:45.153Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-959-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T00:36:45.414Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T00:36:45.414Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T00:36:45.414Z] OK: 139 MiB in 46 packages [2021-06-09T00:36:45.581Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T00:36:45.668Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T00:36:45.689Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-959-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T00:36:46.853Z] Removing intermediate container 491793a48012 [2021-06-09T00:36:46.853Z] ---> a12ebf212cbf [2021-06-09T00:36:46.853Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T00:36:46.853Z] ---> Running in 8fdd91345578 [2021-06-09T00:36:47.450Z] Removing intermediate container 8fdd91345578 [2021-06-09T00:36:47.450Z] ---> e8a848193a48 [2021-06-09T00:36:47.450Z] Step 7/8 : COPY . . [2021-06-09T00:36:50.738Z] ---> 22e9f31fd840 [2021-06-09T00:36:50.738Z] Step 8/8 : RUN go mod download [2021-06-09T00:36:50.738Z] ---> Running in 4afc61c0b539 [2021-06-09T00:37:16.413Z] Removing intermediate container 4afc61c0b539 [2021-06-09T00:37:16.413Z] ---> 573c0315813c [2021-06-09T00:37:16.413Z] Successfully built 573c0315813c [2021-06-09T00:37:16.413Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:37:16.789Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T00:37:16.789Z] . [Pipeline] withDockerContainer [2021-06-09T00:37:17.092Z] prd-ubuntu18.04-docker-arm64-4c-16g-1115 does not seem to be running inside a container [2021-06-09T00:37:17.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T00:37:19.690Z] $ docker top e305d1ae74a55617547ec4daef94f8f6178ac477a4405b7dfea1e9c3f9214df6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:37:20.728Z] + go version [2021-06-09T00:37:20.728Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T00:37:20.762Z] $ docker stop --time=1 e305d1ae74a55617547ec4daef94f8f6178ac477a4405b7dfea1e9c3f9214df6 [2021-06-09T00:37:23.851Z] $ docker rm -f e305d1ae74a55617547ec4daef94f8f6178ac477a4405b7dfea1e9c3f9214df6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:37:27.005Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T00:37:27.005Z] . [Pipeline] withDockerContainer [2021-06-09T00:37:27.313Z] prd-ubuntu18.04-docker-arm64-4c-16g-1115 does not seem to be running inside a container [2021-06-09T00:37:27.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T00:37:29.862Z] $ docker top 3a114acf24f602e43a88b617a61aa7b42fed2bd2ed7fe42ae8b6bfe2fc44c001 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:37:32.576Z] + go mod tidy [Pipeline] sh [2021-06-09T00:37:37.726Z] + make test [2021-06-09T00:37:37.726Z] go mod tidy [2021-06-09T00:37:37.726Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T00:37:56.670Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T00:39:05.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T00:39:05.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T00:39:05.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T00:39:13.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.290s coverage: 25.4% of statements [2021-06-09T00:39:13.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T00:39:13.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.206s coverage: 28.1% of statements [2021-06-09T00:39:13.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.222s coverage: 78.9% of statements [2021-06-09T00:39:13.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.231s coverage: 9.0% of statements [2021-06-09T00:39:13.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T00:39:13.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T00:39:13.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T00:39:13.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.311s coverage: 29.2% of statements [2021-06-09T00:39:13.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T00:39:16.455Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.226s coverage: 83.3% of statements [2021-06-09T00:39:16.455Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T00:39:16.455Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T00:39:16.455Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.371s coverage: 58.0% of statements [2021-06-09T00:39:18.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.073s coverage: 89.2% of statements [2021-06-09T00:39:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T00:39:18.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.203s coverage: 5.0% of statements [2021-06-09T00:39:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T00:39:19.253Z] GO111MODULE=on go vet ./... [2021-06-09T00:40:20.379Z] gofmt -l . [2021-06-09T00:40:20.379Z] [ "`gofmt -l .`" = "" ] [2021-06-09T00:40:20.379Z] ./bin/test-attribution-txt.sh [2021-06-09T00:40:20.379Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T00:40:20.414Z] $ docker stop --time=1 3a114acf24f602e43a88b617a61aa7b42fed2bd2ed7fe42ae8b6bfe2fc44c001 [2021-06-09T00:40:24.388Z] $ docker rm -f 3a114acf24f602e43a88b617a61aa7b42fed2bd2ed7fe42ae8b6bfe2fc44c001 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:40:27.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T00:40:27.995Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T00:40:30.797Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:40:31.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T00:40:31.890Z] + ls -al . [2021-06-09T00:40:31.890Z] total 244 [2021-06-09T00:40:31.890Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 00:40 . [2021-06-09T00:40:31.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 00:35 .. [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 00:35 .dockerignore [2021-06-09T00:40:31.890Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 00:35 .git [2021-06-09T00:40:31.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 00:35 .github [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 00:35 .gitignore [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 00:35 Dockerfile.build [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 00:35 Jenkinsfile [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 00:35 LICENSE [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 00:35 Makefile [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 00:35 README.md [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 00:35 RELEASE-NOTES.txt [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 00:30 VERSION [2021-06-09T00:40:31.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 00:35 bin [2021-06-09T00:40:31.890Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 00:39 coverage.out [2021-06-09T00:40:31.890Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 00:35 example [2021-06-09T00:40:31.890Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 9 00:40 go.mod [2021-06-09T00:40:31.890Z] -rw-r--r-- 1 jenkins jenkins 20381 Jun 9 00:37 go.sum [2021-06-09T00:40:31.890Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 00:35 internal [2021-06-09T00:40:31.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 00:35 openapi [2021-06-09T00:40:31.890Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 00:35 pkg [2021-06-09T00:40:31.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 00:35 snap [2021-06-09T00:40:31.890Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 00:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:40:34.743Z] + 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=37f218f6262df27927f243ea90b847abeb85d9b1 --label arch=arm64 --label version=0.0.0 . [2021-06-09T00:40:35.342Z] Sending build context to Docker daemon 2.769MB [2021-06-09T00:40:35.342Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:40:35.342Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T00:40:35.342Z] ---> 573c0315813c [2021-06-09T00:40:35.342Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T00:40:35.614Z] ---> Running in 4051eeb7fcb4 [2021-06-09T00:40:35.888Z] Removing intermediate container 4051eeb7fcb4 [2021-06-09T00:40:35.888Z] ---> ef3de082ff86 [2021-06-09T00:40:35.888Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T00:40:36.168Z] ---> Running in 4daf68d28de2 [2021-06-09T00:40:36.758Z] Removing intermediate container 4daf68d28de2 [2021-06-09T00:40:36.758Z] ---> 724cf73700ed [2021-06-09T00:40:36.758Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:40:36.758Z] ---> Running in 84d210b4e714 [2021-06-09T00:40:40.538Z] Removing intermediate container 84d210b4e714 [2021-06-09T00:40:40.538Z] ---> 72f2a5a295a0 [2021-06-09T00:40:40.538Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T00:40:40.538Z] ---> Running in 96b9f75a3ba8 [2021-06-09T00:40:40.538Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:40:41.133Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:40:44.895Z] OK: 139 MiB in 46 packages [2021-06-09T00:40:44.895Z] Removing intermediate container 96b9f75a3ba8 [2021-06-09T00:40:44.895Z] ---> 4e539e7d6dc4 [2021-06-09T00:40:44.895Z] Step 7/23 : COPY . . [2021-06-09T00:40:44.895Z] ---> eee0aad1a90e [2021-06-09T00:40:44.895Z] Step 8/23 : RUN go mod download [2021-06-09T00:40:44.895Z] ---> Running in eebc70e08b66 [2021-06-09T00:40:47.480Z] Removing intermediate container eebc70e08b66 [2021-06-09T00:40:47.480Z] ---> 1dadeb8caede [2021-06-09T00:40:47.480Z] Step 9/23 : RUN make build [2021-06-09T00:40:47.480Z] ---> Running in 98e3dbca71ff [2021-06-09T00:40:50.264Z] go mod tidy [2021-06-09T00:40:50.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-09T00:41:25.666Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T00:41:25.666Z] Removing intermediate container 98e3dbca71ff [2021-06-09T00:41:25.666Z] ---> 18b5c6548e50 [2021-06-09T00:41:25.666Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T00:41:25.944Z] 3.12: Pulling from library/alpine [2021-06-09T00:41:28.157Z] d2f70382dc9a: Pulling fs layer [2021-06-09T00:41:28.157Z] d2f70382dc9a: Pull complete [2021-06-09T00:41:28.157Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T00:41:28.157Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T00:41:28.157Z] ---> 9852663dfa18 [2021-06-09T00:41:28.157Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T00:41:28.157Z] ---> Running in c7e63c9ce4b0 [2021-06-09T00:41:28.157Z] Removing intermediate container c7e63c9ce4b0 [2021-06-09T00:41:28.157Z] ---> f594cd8462ae [2021-06-09T00:41:28.157Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:41:28.157Z] ---> Running in d9af2998403e [2021-06-09T00:41:31.614Z] Removing intermediate container d9af2998403e [2021-06-09T00:41:31.614Z] ---> c55748d3bfd8 [2021-06-09T00:41:31.614Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T00:41:31.614Z] ---> Running in 80ad28c00659 [2021-06-09T00:41:31.614Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:41:31.900Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:41:35.105Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T00:41:35.105Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T00:41:35.105Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T00:41:35.105Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T00:41:35.105Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T00:41:35.105Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T00:41:35.105Z] OK: 8 MiB in 19 packages [2021-06-09T00:41:35.105Z] Removing intermediate container 80ad28c00659 [2021-06-09T00:41:35.105Z] ---> 5708ea2dbeed [2021-06-09T00:41:35.105Z] Step 14/23 : WORKDIR / [2021-06-09T00:41:35.105Z] ---> Running in 311b7c711f18 [2021-06-09T00:41:35.105Z] Removing intermediate container 311b7c711f18 [2021-06-09T00:41:35.105Z] ---> e8d6df62f2e6 [2021-06-09T00:41:35.105Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T00:41:35.711Z] ---> d309008df9bc [2021-06-09T00:41:35.711Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T00:41:38.843Z] ---> a38d83fd5537 [2021-06-09T00:41:38.843Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T00:41:38.843Z] ---> e3c084a81843 [2021-06-09T00:41:38.843Z] Step 18/23 : EXPOSE 59999 [2021-06-09T00:41:38.843Z] ---> Running in 9518bb1d4f80 [2021-06-09T00:41:38.843Z] Removing intermediate container 9518bb1d4f80 [2021-06-09T00:41:38.843Z] ---> d8bcaeec05c0 [2021-06-09T00:41:38.843Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T00:41:38.843Z] ---> Running in f5b84a891ec5 [2021-06-09T00:41:38.843Z] Removing intermediate container f5b84a891ec5 [2021-06-09T00:41:38.843Z] ---> 3b6a631c3e6f [2021-06-09T00:41:38.843Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T00:41:39.116Z] ---> Running in 42fa6da8d2a8 [2021-06-09T00:41:39.718Z] Removing intermediate container 42fa6da8d2a8 [2021-06-09T00:41:39.718Z] ---> de3f8a1ea901 [2021-06-09T00:41:39.718Z] Step 21/23 : LABEL arch=arm64 [2021-06-09T00:41:39.718Z] ---> Running in 67c2bdfc75d5 [2021-06-09T00:41:42.237Z] Removing intermediate container 67c2bdfc75d5 [2021-06-09T00:41:42.237Z] ---> 93130f17c735 [2021-06-09T00:41:42.237Z] Step 22/23 : LABEL git_sha=37f218f6262df27927f243ea90b847abeb85d9b1 [2021-06-09T00:41:42.237Z] ---> Running in 81649d021b78 [2021-06-09T00:41:42.237Z] Removing intermediate container 81649d021b78 [2021-06-09T00:41:42.237Z] ---> 4c8761e40e1d [2021-06-09T00:41:42.237Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T00:41:42.237Z] ---> Running in 273f3de6b0b9 [2021-06-09T00:41:42.237Z] Removing intermediate container 273f3de6b0b9 [2021-06-09T00:41:42.237Z] ---> f72f47dc1db4 [2021-06-09T00:41:42.237Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T00:41:42.237Z] Successfully built f72f47dc1db4 [2021-06-09T00:41:42.237Z] 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-09T00:41:43.076Z] ---> job-cost.sh [2021-06-09T00:41:43.076Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2pXP [2021-06-09T00:42:30.998Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T00:44:24.564Z] lf-activate-venv(): INFO: Adding /tmp/venv-2pXP/bin to PATH [2021-06-09T00:44:24.564Z] INFO: No Stack... [2021-06-09T00:44:24.564Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T00:44:24.565Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T00:44:24.930Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-09T00:44:24.930Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T00:44:25.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-959-1-stack-cost] [2021-06-09T00:44:25.047Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-959-1-stack-cost] did not exist. Created. [2021-06-09T00:44:25.047Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-959-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T00:44:25.488Z] /w/workspace/device-sdk-go/1@tmp/durable-17f7d1a5/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-17f7d1a5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T00:44:25.865Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T00:44:25.910Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T00:44:28.744Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T00:44:28.799Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-959-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-09T00:44:35.751Z] provisioning config files... [2021-06-09T00:44:35.768Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp/config1384240488260230907tmp [Pipeline] { [Pipeline] sh [2021-06-09T00:44:39.028Z] + set +x [2021-06-09T00:44:39.028Z] + curl -s https://codecov.io/bash [2021-06-09T00:44:39.028Z] + bash -s -- [2021-06-09T00:44:39.028Z] [2021-06-09T00:44:39.028Z] _____ _ [2021-06-09T00:44:39.028Z] / ____| | | [2021-06-09T00:44:39.028Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T00:44:39.028Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T00:44:39.028Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T00:44:39.028Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T00:44:39.028Z] Bash-1.0.3 [2021-06-09T00:44:39.028Z] [2021-06-09T00:44:39.028Z] [2021-06-09T00:44:39.028Z] ==> git version 2.24.4 found [2021-06-09T00:44:39.028Z] ==> 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-09T00:44:39.028Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T00:44:39.028Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T00:44:39.028Z] ==> Jenkins CI detected. [2021-06-09T00:44:39.028Z] project root: . [2021-06-09T00:44:39.028Z] --> token set from env [2021-06-09T00:44:39.028Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T00:44:39.028Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T00:44:39.028Z] ==> Python coveragepy not found [2021-06-09T00:44:39.028Z] ==> Searching for coverage reports in: [2021-06-09T00:44:39.028Z] + . [2021-06-09T00:44:39.028Z] -> Found 1 reports [2021-06-09T00:44:39.028Z] ==> Detecting git/mercurial file structure [2021-06-09T00:44:39.028Z] ==> Reading reports [2021-06-09T00:44:39.028Z] + ./coverage.out bytes=126071 [2021-06-09T00:44:39.028Z] ==> Appending adjustments [2021-06-09T00:44:39.028Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T00:44:39.028Z] + Found adjustments [2021-06-09T00:44:39.028Z] ==> Gzipping contents [2021-06-09T00:44:39.028Z] 20K /tmp/codecov.tadv25.gz [2021-06-09T00:44:39.028Z] ==> Uploading reports [2021-06-09T00:44:39.028Z] url: https://codecov.io [2021-06-09T00:44:39.028Z] query: branch=PR-959&commit=37f218f6262df27927f243ea90b847abeb85d9b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-959%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=959&job=&cmd_args= [2021-06-09T00:44:39.028Z] -> Pinging Codecov [2021-06-09T00:44:39.028Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-959&commit=37f218f6262df27927f243ea90b847abeb85d9b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-959%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=959&job=&cmd_args= [2021-06-09T00:44:39.028Z] -> Uploading to [2021-06-09T00:44:39.028Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/37f218f6262df27927f243ea90b847abeb85d9b1/b405a8db-2318-4653-abbe-4a56bfd4723b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T004437Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60042dc4e74f3066e540db31ec29063f12673829b83c66cf5f663a394490f4f2 [2021-06-09T00:44:39.028Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T00:44:39.028Z] Dload Upload Total Spent Left Speed [2021-06-09T00:44:39.028Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16421 0 0 100 16421 0 46908 --:--:-- --:--:-- --:--:-- 46917 100 16421 0 0 100 16421 0 46889 --:--:-- --:--:-- --:--:-- 46783 [2021-06-09T00:44:39.028Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/37f218f6262df27927f243ea90b847abeb85d9b1 [Pipeline] } [2021-06-09T00:44:39.072Z] 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-09T00:44:54.945Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:44:55.339Z] ---> package-listing.sh [2021-06-09T00:44:55.339Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T00:44:55.339Z] ++ facter osfamily [2021-06-09T00:44:55.613Z] + OS_FAMILY=redhat [2021-06-09T00:44:55.613Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-959 [2021-06-09T00:44:55.613Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T00:44:55.613Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T00:44:55.613Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T00:44:55.613Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T00:44:55.613Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-959 ']' [2021-06-09T00:44:55.613Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T00:44:55.613Z] + case "${OS_FAMILY}" in [2021-06-09T00:44:55.613Z] + sort [2021-06-09T00:44:55.613Z] + rpm -qa [2021-06-09T00:44:56.184Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T00:44:56.184Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T00:44:56.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T00:44:56.184Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-959 ']' [2021-06-09T00:44:56.184Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-959/archives/ [2021-06-09T00:44:56.184Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-959/archives/ [Pipeline] echo [2021-06-09T00:44:56.219Z] 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-959/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T00:44:59.103Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:44:59.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:44:59.450Z] [2021-06-09T00:44:59.450Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:44:59.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:44:59.915Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T00:44:59.915Z] df20fa9351a1: Pulling fs layer [2021-06-09T00:44:59.915Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T00:44:59.915Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T00:44:59.915Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T00:44:59.915Z] 93b61091891f: Pulling fs layer [2021-06-09T00:44:59.915Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T00:44:59.915Z] 5e14af77c1be: Pulling fs layer [2021-06-09T00:44:59.915Z] 01666e4c0597: Pulling fs layer [2021-06-09T00:44:59.915Z] aa168da1d23b: Pulling fs layer [2021-06-09T00:44:59.915Z] 93b9cdb0e59b: Waiting [2021-06-09T00:44:59.915Z] 5e14af77c1be: Waiting [2021-06-09T00:44:59.915Z] 01666e4c0597: Waiting [2021-06-09T00:44:59.915Z] aa168da1d23b: Waiting [2021-06-09T00:44:59.915Z] 46f8f816bc3b: Waiting [2021-06-09T00:44:59.915Z] 93b61091891f: Waiting [2021-06-09T00:44:59.915Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T00:44:59.915Z] 36b3adc4ff6f: Download complete [2021-06-09T00:44:59.915Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T00:44:59.915Z] 46f8f816bc3b: Download complete [2021-06-09T00:44:59.915Z] df20fa9351a1: Verifying Checksum [2021-06-09T00:44:59.915Z] df20fa9351a1: Download complete [2021-06-09T00:44:59.915Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T00:44:59.915Z] 93b9cdb0e59b: Download complete [2021-06-09T00:44:59.915Z] 5e14af77c1be: Verifying Checksum [2021-06-09T00:44:59.915Z] 5e14af77c1be: Download complete [2021-06-09T00:44:59.915Z] 93b61091891f: Verifying Checksum [2021-06-09T00:44:59.915Z] 93b61091891f: Download complete [2021-06-09T00:44:59.915Z] 01666e4c0597: Verifying Checksum [2021-06-09T00:44:59.915Z] 01666e4c0597: Download complete [2021-06-09T00:45:00.181Z] df20fa9351a1: Pull complete [2021-06-09T00:45:00.181Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T00:45:00.181Z] 8ad3a11d3b57: Download complete [2021-06-09T00:45:00.181Z] 36b3adc4ff6f: Pull complete [2021-06-09T00:45:00.759Z] 8ad3a11d3b57: Pull complete [2021-06-09T00:45:01.026Z] 46f8f816bc3b: Pull complete [2021-06-09T00:45:01.289Z] 93b61091891f: Pull complete [2021-06-09T00:45:01.289Z] 93b9cdb0e59b: Pull complete [2021-06-09T00:45:01.550Z] 5e14af77c1be: Pull complete [2021-06-09T00:45:01.550Z] 01666e4c0597: Pull complete [2021-06-09T00:45:01.815Z] aa168da1d23b: Verifying Checksum [2021-06-09T00:45:01.815Z] aa168da1d23b: Download complete [2021-06-09T00:45:06.078Z] aa168da1d23b: Pull complete [2021-06-09T00:45:06.078Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T00:45:06.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:45:06.078Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T00:45:06.224Z] prd-centos7-docker-4c-2g-1103 does not seem to be running inside a container [2021-06-09T00:45:06.266Z] $ 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-959/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-959 -v /w/workspace/dgexfoundry_device-sdk-go_PR-959:/w/workspace/dgexfoundry_device-sdk-go_PR-959:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-959@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-09T00:45:09.340Z] $ docker top cfe497bac0531b06f7a7559ddd3e3e55f3b613e235d05a510d49eff7fd9f9e70 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:45:09.784Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T00:45:12.691Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T00:45:13.057Z] + ls /var/log/sa-host [2021-06-09T00:45:13.057Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T00:45:13.057Z] file_magic: OK [2021-06-09T00:45:13.057Z] HZ: Using current value: 100 [2021-06-09T00:45:13.057Z] file_header: OK [2021-06-09T00:45:13.057Z] 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-09T00:45:13.057Z] Statistics: [2021-06-09T00:45:13.057Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T00:45:13.057Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T00:45:13.057Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T00:45:13.057Z] file_magic: OK [2021-06-09T00:45:13.057Z] HZ: Using current value: 100 [2021-06-09T00:45:13.057Z] file_header: OK [2021-06-09T00:45:13.057Z] 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-09T00:45:13.057Z] Statistics: [2021-06-09T00:45:13.057Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T00:45:13.057Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:45:16.374Z] provisioning config files... [2021-06-09T00:45:16.391Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-959@tmp/config1423431876278937808tmp [Pipeline] { [Pipeline] echo [2021-06-09T00:45:16.454Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:45:16.788Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T00:45:16.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:45:17.281Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T00:45:17.317Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:45:17.657Z] ---> sudo-logs.sh [2021-06-09T00:45:17.657Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T00:45:17.745Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:45:18.087Z] ---> job-cost.sh [2021-06-09T00:45:18.087Z] lf-activate-venv: SKIPPING [2021-06-09T00:45:18.087Z] DEBUG: total: 0.18000000715255737 [2021-06-09T00:45:18.087Z] INFO: Retrieving Stack Cost... [2021-06-09T00:45:19.474Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T00:45:19.736Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T00:45:19.773Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:45:20.167Z] ---> logs-deploy.sh [2021-06-09T00:45:20.167Z] lf-activate-venv: SKIPPING [2021-06-09T00:45:20.167Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-959/1 [2021-06-09T00:45:20.167Z] INFO: archiving workspace using pattern(s): [2021-06-09T00:45:21.109Z] Archives upload complete. [2021-06-09T00:45:21.109Z] INFO: archiving logs to Nexus