MightyNerdEric commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of wangshihui for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 35fb886f332368eaee04ec4bf3cbfd710208dc4c rather than cf13810e1e59382d3745b709a3f2cecf0d1bf80c Obtained Jenkinsfile from 35fb886f332368eaee04ec4bf3cbfd710208dc4c Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh608027952782510316.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2002980956592963850.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1014/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1014/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh857919775106579827.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1303140690879000626.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1014/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1014/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7257695519476579624.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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_BUILD_IMAGE_TARGET: builder 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-862 in /w/workspace/gexfoundry_device-sdk-go_PR-1014 [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/gexfoundry_device-sdk-go_PR-1014 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/jenkins-gitclient-ssh6442053919865892872.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/jenkins-gitclient-ssh403939969681117198.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1014/head:refs/remotes/origin/PR-1014 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35fb886f332368eaee04ec4bf3cbfd710208dc4c into PR head commit cf13810e1e59382d3745b709a3f2cecf0d1bf80c Merge succeeded, producing cf13810e1e59382d3745b709a3f2cecf0d1bf80c Checking out Revision cf13810e1e59382d3745b709a3f2cecf0d1bf80c (PR-1014) > git config core.sparsecheckout # timeout=10 > git checkout -f cf13810e1e59382d3745b709a3f2cecf0d1bf80c # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/jenkins-gitclient-ssh1426330712799570735.key > git merge 35fb886f332368eaee04ec4bf3cbfd710208dc4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 Commit message: "fix: device yaml to Json error" > git rev-list --no-walk cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-26T20:45:12.955Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-26T20:45:13.051Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-26T20:45:13.085Z] ========================================================= [2021-08-26T20:45:13.085Z] EdgeX Global Pipelines Version Info [2021-08-26T20:45:13.085Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:45:15.346Z] ------------------- [2021-08-26T20:45:15.347Z] stable info: [2021-08-26T20:45:15.347Z] ------------------- [2021-08-26T20:45:15.347Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-26T20:45:15.347Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-26T20:45:15.347Z] Message: update stable to v1.0.205 [2021-08-26T20:45:15.936Z] ------------------- [2021-08-26T20:45:15.936Z] experimental info: [2021-08-26T20:45:15.936Z] ------------------- [2021-08-26T20:45:15.936Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-26T20:45:15.936Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-26T20:45:15.936Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-26T20:45:16.086Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-08-26T20:45:16.113Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-08-26T20:45:16.139Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-26T20:45:16.166Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-26T20:45:16.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-26T20:45:16.223Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-26T20:45:16.249Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-26T20:45:16.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-26T20:45:16.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-08-26T20:45:16.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-26T20:45:16.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-26T20:45:16.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-26T20:45:16.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-08-26T20:45:16.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-26T20:45:16.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-26T20:45:16.500Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-26T20:45:16.542Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T20:45:16.585Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T20:45:16.631Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T20:45:16.678Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-26T20:45:16.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-26T20:45:16.765Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-26T20:45:16.808Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-26T20:45:16.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-26T20:45:16.895Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-26T20:45:16.937Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-26T20:45:16.979Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-26T20:45:17.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1014 [Pipeline] echo [2021-08-26T20:45:17.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1014 [Pipeline] echo [2021-08-26T20:45:17.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1014 [Pipeline] echo [2021-08-26T20:45:17.154Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf13810e1e59382d3745b709a3f2cecf0d1bf80c [Pipeline] echo [2021-08-26T20:45:17.198Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf13810 [Pipeline] echo [2021-08-26T20:45:17.245Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T20:45:17.385Z] provisioning config files... [2021-08-26T20:45:17.414Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config1391352099777672904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:45:17.810Z] ---> docker-login.sh [2021-08-26T20:45:17.810Z] nexus3.edgexfoundry.org:10001 [2021-08-26T20:45:17.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:45:18.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:45:18.078Z] Configure a credential helper to remove this warning. See [2021-08-26T20:45:18.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:45:18.078Z] [2021-08-26T20:45:18.078Z] Login Succeeded [2021-08-26T20:45:18.078Z] nexus3.edgexfoundry.org:10002 [2021-08-26T20:45:18.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:45:18.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:45:18.354Z] Configure a credential helper to remove this warning. See [2021-08-26T20:45:18.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:45:18.354Z] [2021-08-26T20:45:18.354Z] Login Succeeded [2021-08-26T20:45:18.354Z] nexus3.edgexfoundry.org:10003 [2021-08-26T20:45:18.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:45:18.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:45:18.354Z] Configure a credential helper to remove this warning. See [2021-08-26T20:45:18.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:45:18.354Z] [2021-08-26T20:45:18.354Z] Login Succeeded [2021-08-26T20:45:18.354Z] nexus3.edgexfoundry.org:10004 [2021-08-26T20:45:18.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:45:18.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:45:18.621Z] Configure a credential helper to remove this warning. See [2021-08-26T20:45:18.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:45:18.621Z] [2021-08-26T20:45:18.621Z] Login Succeeded [2021-08-26T20:45:18.621Z] docker.io [2021-08-26T20:45:18.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:45:18.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:45:18.888Z] Configure a credential helper to remove this warning. See [2021-08-26T20:45:18.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:45:18.888Z] [2021-08-26T20:45:18.888Z] Login Succeeded [2021-08-26T20:45:18.888Z] ---> docker-login.sh ends [Pipeline] } [2021-08-26T20:45:18.901Z] 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-08-26T20:45:19.457Z] + git log --format=format:%s -1 cf13810e1e59382d3745b709a3f2cecf0d1bf80c [Pipeline] echo [2021-08-26T20:45:19.513Z] GIT_COMMIT: cf13810e1e59382d3745b709a3f2cecf0d1bf80c, Commit Message: fix: device yaml to Json error [Pipeline] echo [2021-08-26T20:45:19.532Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:45:20.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T20:45:20.494Z] [2021-08-26T20:45:20.494Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:45:20.829Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T20:45:20.829Z] latest: Pulling from edgex-devops/git-semver [2021-08-26T20:45:20.829Z] 31603596830f: Pulling fs layer [2021-08-26T20:45:20.829Z] 04fac38145f0: Pulling fs layer [2021-08-26T20:45:20.829Z] 701f6daf10bf: Pulling fs layer [2021-08-26T20:45:20.829Z] 24f72da36158: Pulling fs layer [2021-08-26T20:45:20.829Z] 24f72da36158: Waiting [2021-08-26T20:45:20.829Z] 04fac38145f0: Verifying Checksum [2021-08-26T20:45:20.829Z] 04fac38145f0: Download complete [2021-08-26T20:45:21.095Z] 31603596830f: Verifying Checksum [2021-08-26T20:45:21.095Z] 31603596830f: Download complete [2021-08-26T20:45:21.095Z] 31603596830f: Pull complete [2021-08-26T20:45:21.363Z] 04fac38145f0: Pull complete [2021-08-26T20:45:21.363Z] 24f72da36158: Verifying Checksum [2021-08-26T20:45:21.363Z] 24f72da36158: Download complete [2021-08-26T20:45:21.363Z] 701f6daf10bf: Verifying Checksum [2021-08-26T20:45:21.363Z] 701f6daf10bf: Download complete [2021-08-26T20:45:21.955Z] 701f6daf10bf: Pull complete [2021-08-26T20:45:21.955Z] 24f72da36158: Pull complete [2021-08-26T20:45:21.955Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-08-26T20:45:21.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T20:45:21.955Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-26T20:45:22.053Z] prd-centos7-docker-4c-2g-862 does not seem to be running inside a container [2021-08-26T20:45:22.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1014 -v /w/workspace/gexfoundry_device-sdk-go_PR-1014:/w/workspace/gexfoundry_device-sdk-go_PR-1014:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1014@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-26T20:45:22.844Z] $ docker top bb4d227e1197c34231f1dfbc67d230c618cb5b09a093ec98cee3b8dcf00ee3c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-26T20:45:22.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T20:45:22.988Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T20:45:23.109Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T20:45:23.110Z] $ docker exec bb4d227e1197c34231f1dfbc67d230c618cb5b09a093ec98cee3b8dcf00ee3c1 ssh-agent [2021-08-26T20:45:23.236Z] SSH_AUTH_SOCK=/tmp/ssh-Py6b9d64SNC4/agent.13 [2021-08-26T20:45:23.236Z] SSH_AGENT_PID=20 [2021-08-26T20:45:23.250Z] Running ssh-add (command line suppressed) [2021-08-26T20:45:23.355Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/private_key_7480546645756972867.key (/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/private_key_7480546645756972867.key) [2021-08-26T20:45:23.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T20:45:23.696Z] + git tag --points-at HEAD [Pipeline] } [2021-08-26T20:45:23.720Z] $ docker exec --env ******** --env ******** bb4d227e1197c34231f1dfbc67d230c618cb5b09a093ec98cee3b8dcf00ee3c1 ssh-agent -k [2021-08-26T20:45:23.818Z] unset SSH_AUTH_SOCK; [2021-08-26T20:45:23.818Z] unset SSH_AGENT_PID; [2021-08-26T20:45:23.818Z] echo Agent pid 20 killed; [2021-08-26T20:45:23.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-26T20:45:23.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T20:45:23.882Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T20:45:24.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T20:45:24.011Z] $ docker exec bb4d227e1197c34231f1dfbc67d230c618cb5b09a093ec98cee3b8dcf00ee3c1 ssh-agent [2021-08-26T20:45:24.136Z] SSH_AUTH_SOCK=/tmp/ssh-9SHGkJLlHonf/agent.53 [2021-08-26T20:45:24.136Z] SSH_AGENT_PID=59 [2021-08-26T20:45:24.145Z] Running ssh-add (command line suppressed) [2021-08-26T20:45:24.252Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/private_key_8193543948423256414.key (/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/private_key_8193543948423256414.key) [2021-08-26T20:45:24.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T20:45:24.599Z] + git semver init [2021-08-26T20:45:24.599Z] # -> Open(): unable to determine branch for HEAD [2021-08-26T20:45:24.599Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1014/.git [2021-08-26T20:45:24.599Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1014 [2021-08-26T20:45:24.599Z] # $SEMVER_REMOTE_NAME = origin [2021-08-26T20:45:24.599Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-26T20:45:24.599Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-26T20:45:24.599Z] # $SEMVER_BRANCH = PR-1014 [2021-08-26T20:45:24.599Z] # $SEMVER_TEMP = /tmp/semver-919358136 [2021-08-26T20:45:24.599Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-08-26T20:45:25.570Z] # '/tmp/semver-919358136' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1014/.semver' [2021-08-26T20:45:25.570Z] # -> Force: false [2021-08-26T20:45:25.570Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1014/.semver [Pipeline] } [2021-08-26T20:45:25.584Z] $ docker exec --env ******** --env ******** bb4d227e1197c34231f1dfbc67d230c618cb5b09a093ec98cee3b8dcf00ee3c1 ssh-agent -k [2021-08-26T20:45:25.694Z] unset SSH_AUTH_SOCK; [2021-08-26T20:45:25.698Z] unset SSH_AGENT_PID; [2021-08-26T20:45:25.698Z] echo Agent pid 59 killed; [2021-08-26T20:45:25.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-26T20:45:26.081Z] + git semver [Pipeline] } [2021-08-26T20:45:26.099Z] $ docker stop --time=1 bb4d227e1197c34231f1dfbc67d230c618cb5b09a093ec98cee3b8dcf00ee3c1 [2021-08-26T20:45:27.331Z] $ docker rm -f bb4d227e1197c34231f1dfbc67d230c618cb5b09a093ec98cee3b8dcf00ee3c1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-26T20:45:27.758Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-26T20:45:28.120Z] Stashed 1 file(s) [Pipeline] echo [2021-08-26T20:45:28.124Z] [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-08-26T20:45:43.404Z] Still waiting to schedule task [2021-08-26T20:45:43.404Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-862’ [2021-08-26T20:45:43.407Z] Still waiting to schedule task [2021-08-26T20:45:43.408Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-26T20:47:54.244Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-863 in /w/workspace/gexfoundry_device-sdk-go_PR-1014 [Pipeline] { [Pipeline] ws [2021-08-26T20:47:54.268Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-08-26T20:47:54.488Z] Selected Git installation does not exist. Using Default [2021-08-26T20:47:54.488Z] The recommended git tool is: NONE [2021-08-26T20:47:59.945Z] using credential edgex-jenkins-ssh [2021-08-26T20:47:59.963Z] Cloning the remote Git repository [2021-08-26T20:48:00.011Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T20:48:00.114Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-08-26T20:48:00.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T20:48:00.184Z] > git --version # timeout=10 [2021-08-26T20:48:00.198Z] > git --version # 'git version 2.17.1' [2021-08-26T20:48:00.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T20:48:00.287Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T20:48:01.634Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-26T20:48:01.659Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T20:48:01.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-26T20:48:01.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T20:48:01.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T20:48:01.731Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1014/head:refs/remotes/origin/PR-1014 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-26T20:48:02.691Z] Merging remotes/origin/main commit 35fb886f332368eaee04ec4bf3cbfd710208dc4c into PR head commit cf13810e1e59382d3745b709a3f2cecf0d1bf80c [2021-08-26T20:48:02.903Z] Merge succeeded, producing cf13810e1e59382d3745b709a3f2cecf0d1bf80c [2021-08-26T20:48:02.904Z] Checking out Revision cf13810e1e59382d3745b709a3f2cecf0d1bf80c (PR-1014) [2021-08-26T20:48:02.709Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T20:48:02.723Z] > git checkout -f cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 [2021-08-26T20:48:02.821Z] > git remote # timeout=10 [2021-08-26T20:48:02.836Z] > git config --get remote.origin.url # timeout=10 [2021-08-26T20:48:02.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T20:48:02.865Z] > git merge 35fb886f332368eaee04ec4bf3cbfd710208dc4c # timeout=10 [2021-08-26T20:48:02.885Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-26T20:48:02.910Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T20:48:02.919Z] > git checkout -f cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 [2021-08-26T20:48:07.304Z] Commit message: "fix: device yaml to Json error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T20:48:07.729Z] provisioning config files... [2021-08-26T20:48:07.759Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3273416433981268856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:48:08.403Z] ---> docker-login.sh [2021-08-26T20:48:08.403Z] nexus3.edgexfoundry.org:10001 [2021-08-26T20:48:09.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:09.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:09.672Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:09.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:09.672Z] [2021-08-26T20:48:09.672Z] Login Succeeded [2021-08-26T20:48:09.672Z] nexus3.edgexfoundry.org:10002 [2021-08-26T20:48:09.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:10.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:10.229Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:10.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:10.229Z] [2021-08-26T20:48:10.229Z] Login Succeeded [2021-08-26T20:48:10.229Z] nexus3.edgexfoundry.org:10003 [2021-08-26T20:48:10.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:10.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:10.784Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:10.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:10.784Z] [2021-08-26T20:48:10.784Z] Login Succeeded [2021-08-26T20:48:10.784Z] nexus3.edgexfoundry.org:10004 [2021-08-26T20:48:11.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:11.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:11.343Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:11.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:11.343Z] [2021-08-26T20:48:11.343Z] Login Succeeded [2021-08-26T20:48:11.343Z] docker.io [2021-08-26T20:48:11.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:12.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:12.220Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:12.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:12.220Z] [2021-08-26T20:48:12.220Z] Login Succeeded [2021-08-26T20:48:12.220Z] ---> docker-login.sh ends [Pipeline] } [2021-08-26T20:48:12.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-26T20:48:12.816Z] ========================================================= [2021-08-26T20:48:12.816Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-26T20:48:12.816Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:48:13.193Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-08-26T20:48:13.803Z] Sending build context to Docker daemon 2.616MB [2021-08-26T20:48:13.803Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.12 [2021-08-26T20:48:13.803Z] Step 2/9 : FROM ${BASE} AS builder [2021-08-26T20:48:14.077Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-26T20:48:14.077Z] 595b0fe564bb: Pulling fs layer [2021-08-26T20:48:14.077Z] 24495759ef45: Pulling fs layer [2021-08-26T20:48:14.077Z] d148012ef14d: Pulling fs layer [2021-08-26T20:48:14.077Z] e90a11edd702: Pulling fs layer [2021-08-26T20:48:14.077Z] d77568369979: Pulling fs layer [2021-08-26T20:48:14.077Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-26T20:48:14.077Z] 170f2ba95c9a: Pulling fs layer [2021-08-26T20:48:14.077Z] 97ac5df62f85: Pulling fs layer [2021-08-26T20:48:14.077Z] e90a11edd702: Waiting [2021-08-26T20:48:14.077Z] d77568369979: Waiting [2021-08-26T20:48:14.077Z] fc1c9f9a7f3b: Waiting [2021-08-26T20:48:14.077Z] 170f2ba95c9a: Waiting [2021-08-26T20:48:14.077Z] 97ac5df62f85: Waiting [2021-08-26T20:48:14.077Z] d148012ef14d: Verifying Checksum [2021-08-26T20:48:14.077Z] d148012ef14d: Download complete [2021-08-26T20:48:14.077Z] 24495759ef45: Verifying Checksum [2021-08-26T20:48:14.078Z] 24495759ef45: Download complete [2021-08-26T20:48:14.078Z] d77568369979: Verifying Checksum [2021-08-26T20:48:14.078Z] d77568369979: Download complete [2021-08-26T20:48:14.078Z] 595b0fe564bb: Verifying Checksum [2021-08-26T20:48:14.078Z] 595b0fe564bb: Download complete [2021-08-26T20:48:14.078Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-26T20:48:14.078Z] fc1c9f9a7f3b: Download complete [2021-08-26T20:48:14.353Z] 170f2ba95c9a: Verifying Checksum [2021-08-26T20:48:14.353Z] 170f2ba95c9a: Download complete [2021-08-26T20:48:14.629Z] 595b0fe564bb: Pull complete [2021-08-26T20:48:15.616Z] 24495759ef45: Pull complete [2021-08-26T20:48:15.892Z] d148012ef14d: Pull complete [2021-08-26T20:48:17.890Z] 97ac5df62f85: Verifying Checksum [2021-08-26T20:48:17.890Z] 97ac5df62f85: Download complete [2021-08-26T20:48:18.868Z] e90a11edd702: Verifying Checksum [2021-08-26T20:48:18.868Z] e90a11edd702: Download complete [2021-08-26T20:48:24.294Z] Running on prd-centos7-docker-4c-2g-864 in /w/workspace/gexfoundry_device-sdk-go_PR-1014 [Pipeline] { [Pipeline] ws [2021-08-26T20:48:24.315Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-08-26T20:48:24.430Z] Selected Git installation does not exist. Using Default [2021-08-26T20:48:24.430Z] The recommended git tool is: NONE [2021-08-26T20:48:27.239Z] using credential edgex-jenkins-ssh [2021-08-26T20:48:27.261Z] Cloning the remote Git repository [2021-08-26T20:48:27.606Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T20:48:27.731Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-08-26T20:48:27.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T20:48:27.803Z] > git --version # timeout=10 [2021-08-26T20:48:27.811Z] > git --version # 'git version 2.24.4' [2021-08-26T20:48:27.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T20:48:27.837Z] [INFO] Currently running in a labeled security context [2021-08-26T20:48:27.837Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-26T20:48:27.837Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh4385963323978172322.key [2021-08-26T20:48:27.847Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T20:48:28.832Z] Merging remotes/origin/main commit 35fb886f332368eaee04ec4bf3cbfd710208dc4c into PR head commit cf13810e1e59382d3745b709a3f2cecf0d1bf80c [2021-08-26T20:48:28.929Z] Merge succeeded, producing cf13810e1e59382d3745b709a3f2cecf0d1bf80c [2021-08-26T20:48:28.930Z] Checking out Revision cf13810e1e59382d3745b709a3f2cecf0d1bf80c (PR-1014) [2021-08-26T20:48:29.044Z] e90a11edd702: Pull complete [2021-08-26T20:48:29.044Z] d77568369979: Pull complete [2021-08-26T20:48:28.477Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-26T20:48:28.484Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T20:48:28.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-26T20:48:28.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T20:48:28.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T20:48:28.515Z] [INFO] Currently running in a labeled security context [2021-08-26T20:48:28.515Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-26T20:48:28.515Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh5437371915131355754.key [2021-08-26T20:48:28.528Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1014/head:refs/remotes/origin/PR-1014 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-26T20:48:29.032Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T20:48:29.038Z] > git checkout -f cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 [2021-08-26T20:48:29.074Z] > git remote # timeout=10 [2021-08-26T20:48:29.079Z] > git config --get remote.origin.url # timeout=10 [2021-08-26T20:48:29.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T20:48:29.083Z] [INFO] Currently running in a labeled security context [2021-08-26T20:48:29.083Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-26T20:48:29.083Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh2972927211715793938.key [2021-08-26T20:48:29.091Z] > git merge 35fb886f332368eaee04ec4bf3cbfd710208dc4c # timeout=10 [2021-08-26T20:48:29.102Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-26T20:48:29.114Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T20:48:29.119Z] > git checkout -f cf13810e1e59382d3745b709a3f2cecf0d1bf80c # timeout=10 [2021-08-26T20:48:29.324Z] fc1c9f9a7f3b: Pull complete [2021-08-26T20:48:29.598Z] 170f2ba95c9a: Pull complete [2021-08-26T20:48:32.868Z] Commit message: "fix: device yaml to Json error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T20:48:33.304Z] provisioning config files... [2021-08-26T20:48:33.321Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3838163821521959997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:48:33.756Z] ---> docker-login.sh [2021-08-26T20:48:33.756Z] nexus3.edgexfoundry.org:10001 [2021-08-26T20:48:33.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:33.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:33.756Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:33.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:33.756Z] [2021-08-26T20:48:33.756Z] Login Succeeded [2021-08-26T20:48:33.756Z] nexus3.edgexfoundry.org:10002 [2021-08-26T20:48:34.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:34.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:34.029Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:34.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:34.029Z] [2021-08-26T20:48:34.029Z] Login Succeeded [2021-08-26T20:48:34.029Z] nexus3.edgexfoundry.org:10003 [2021-08-26T20:48:34.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:34.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:34.029Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:34.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:34.029Z] [2021-08-26T20:48:34.029Z] Login Succeeded [2021-08-26T20:48:34.029Z] nexus3.edgexfoundry.org:10004 [2021-08-26T20:48:34.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:34.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:34.309Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:34.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:34.309Z] [2021-08-26T20:48:34.309Z] Login Succeeded [2021-08-26T20:48:34.309Z] docker.io [2021-08-26T20:48:34.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T20:48:34.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T20:48:34.893Z] Configure a credential helper to remove this warning. See [2021-08-26T20:48:34.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T20:48:34.893Z] [2021-08-26T20:48:34.893Z] Login Succeeded [2021-08-26T20:48:34.893Z] ---> docker-login.sh ends [Pipeline] } [2021-08-26T20:48:34.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-26T20:48:35.157Z] ========================================================= [2021-08-26T20:48:35.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-26T20:48:35.157Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:48:35.516Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-08-26T20:48:35.516Z] Sending build context to Docker daemon 2.617MB [2021-08-26T20:48:35.516Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.12 [2021-08-26T20:48:35.516Z] Step 2/9 : FROM ${BASE} AS builder [2021-08-26T20:48:35.516Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-26T20:48:35.516Z] 540db60ca938: Pulling fs layer [2021-08-26T20:48:35.516Z] adcc1eea9eea: Pulling fs layer [2021-08-26T20:48:35.516Z] 4c4ab2625f07: Pulling fs layer [2021-08-26T20:48:35.516Z] db62176df00c: Pulling fs layer [2021-08-26T20:48:35.516Z] 3b30891b0d05: Pulling fs layer [2021-08-26T20:48:35.516Z] 06b49ca38bd5: Pulling fs layer [2021-08-26T20:48:35.516Z] c788192a36de: Pulling fs layer [2021-08-26T20:48:35.516Z] a77e37c0d609: Pulling fs layer [2021-08-26T20:48:35.516Z] c3185cebc471: Pulling fs layer [2021-08-26T20:48:35.516Z] 3b30891b0d05: Waiting [2021-08-26T20:48:35.516Z] 06b49ca38bd5: Waiting [2021-08-26T20:48:35.516Z] c788192a36de: Waiting [2021-08-26T20:48:35.516Z] a77e37c0d609: Waiting [2021-08-26T20:48:35.516Z] c3185cebc471: Waiting [2021-08-26T20:48:35.516Z] db62176df00c: Waiting [2021-08-26T20:48:35.791Z] 4c4ab2625f07: Verifying Checksum [2021-08-26T20:48:35.791Z] 4c4ab2625f07: Download complete [2021-08-26T20:48:35.791Z] adcc1eea9eea: Verifying Checksum [2021-08-26T20:48:35.791Z] adcc1eea9eea: Download complete [2021-08-26T20:48:35.791Z] 3b30891b0d05: Verifying Checksum [2021-08-26T20:48:35.791Z] 3b30891b0d05: Download complete [2021-08-26T20:48:35.791Z] 06b49ca38bd5: Verifying Checksum [2021-08-26T20:48:35.791Z] 06b49ca38bd5: Download complete [2021-08-26T20:48:35.791Z] c788192a36de: Verifying Checksum [2021-08-26T20:48:35.791Z] c788192a36de: Download complete [2021-08-26T20:48:35.791Z] 540db60ca938: Verifying Checksum [2021-08-26T20:48:35.791Z] 540db60ca938: Download complete [2021-08-26T20:48:36.057Z] 540db60ca938: Pull complete [2021-08-26T20:48:36.057Z] adcc1eea9eea: Pull complete [2021-08-26T20:48:36.057Z] 4c4ab2625f07: Pull complete [2021-08-26T20:48:36.324Z] a77e37c0d609: Verifying Checksum [2021-08-26T20:48:36.324Z] a77e37c0d609: Download complete [2021-08-26T20:48:36.328Z] 97ac5df62f85: Pull complete [2021-08-26T20:48:36.328Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-26T20:48:36.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-26T20:48:36.328Z] ---> 04bc70af865f [2021-08-26T20:48:36.328Z] Step 3/9 : WORKDIR /device-sdk-go [2021-08-26T20:48:38.941Z] ---> Running in 1a7666c3221a [2021-08-26T20:48:39.541Z] Removing intermediate container 1a7666c3221a [2021-08-26T20:48:39.541Z] ---> b270d6dda468 [2021-08-26T20:48:39.541Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T20:48:39.541Z] ---> Running in f4419ef75adf [2021-08-26T20:48:39.663Z] c3185cebc471: Verifying Checksum [2021-08-26T20:48:39.663Z] c3185cebc471: Download complete [2021-08-26T20:48:39.663Z] db62176df00c: Verifying Checksum [2021-08-26T20:48:39.663Z] db62176df00c: Download complete [2021-08-26T20:48:40.140Z] Removing intermediate container f4419ef75adf [2021-08-26T20:48:40.140Z] ---> fa60d83695e7 [2021-08-26T20:48:40.140Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T20:48:40.140Z] ---> Running in 77c9a2d75c46 [2021-08-26T20:48:42.778Z] Removing intermediate container 77c9a2d75c46 [2021-08-26T20:48:42.778Z] ---> 89e248952c36 [2021-08-26T20:48:42.778Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-26T20:48:42.778Z] ---> Running in 62a99629abfa [2021-08-26T20:48:43.022Z] db62176df00c: Pull complete [2021-08-26T20:48:43.022Z] 3b30891b0d05: Pull complete [2021-08-26T20:48:43.022Z] 06b49ca38bd5: Pull complete [2021-08-26T20:48:43.022Z] c788192a36de: Pull complete [2021-08-26T20:48:43.022Z] a77e37c0d609: Pull complete [2021-08-26T20:48:44.224Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-26T20:48:44.978Z] c3185cebc471: Pull complete [2021-08-26T20:48:44.978Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-26T20:48:44.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-26T20:48:44.978Z] ---> 031687cdd783 [2021-08-26T20:48:44.978Z] Step 3/9 : WORKDIR /device-sdk-go [2021-08-26T20:48:45.210Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-26T20:48:45.816Z] OK: 218 MiB in 52 packages [2021-08-26T20:48:46.386Z] ---> Running in 9ef24d2ec3ad [2021-08-26T20:48:46.667Z] Removing intermediate container 9ef24d2ec3ad [2021-08-26T20:48:46.667Z] ---> ca4c10c3d81d [2021-08-26T20:48:46.667Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T20:48:46.667Z] ---> Running in e7ff72954909 [2021-08-26T20:48:46.667Z] Removing intermediate container e7ff72954909 [2021-08-26T20:48:46.667Z] ---> 8b9f3d1a3aca [2021-08-26T20:48:46.667Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T20:48:46.667Z] ---> Running in 261d2b3363fb [2021-08-26T20:48:47.255Z] Removing intermediate container 261d2b3363fb [2021-08-26T20:48:47.255Z] ---> c0c286abe439 [2021-08-26T20:48:47.255Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-26T20:48:47.255Z] ---> Running in 0e4258031ab8 [2021-08-26T20:48:47.258Z] Removing intermediate container 62a99629abfa [2021-08-26T20:48:47.258Z] ---> bf4fc9bf83ef [2021-08-26T20:48:47.258Z] Step 7/9 : COPY . . [2021-08-26T20:48:47.522Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-26T20:48:48.241Z] ---> 3a138eb99c75 [2021-08-26T20:48:48.241Z] Step 8/9 : RUN go mod download [2021-08-26T20:48:48.241Z] ---> Running in 5ad7441e9d38 [2021-08-26T20:48:48.482Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-26T20:48:48.748Z] OK: 219 MiB in 52 packages [2021-08-26T20:48:49.014Z] Removing intermediate container 0e4258031ab8 [2021-08-26T20:48:49.014Z] ---> b4a1c64b9f37 [2021-08-26T20:48:49.014Z] Step 7/9 : COPY . . [2021-08-26T20:48:49.283Z] ---> ed05c88ce70f [2021-08-26T20:48:49.283Z] Step 8/9 : RUN go mod download [2021-08-26T20:48:49.283Z] ---> Running in 7b005d48491f [2021-08-26T20:49:04.305Z] Removing intermediate container 7b005d48491f [2021-08-26T20:49:04.305Z] ---> 6dc9fe581ed1 [2021-08-26T20:49:04.305Z] Step 9/9 : RUN make build [2021-08-26T20:49:04.305Z] ---> Running in 46a37ca1c885 [2021-08-26T20:49:04.305Z] go mod tidy [2021-08-26T20:49:04.305Z] 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-08-26T20:49:14.519Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-26T20:49:14.519Z] Removing intermediate container 46a37ca1c885 [2021-08-26T20:49:14.519Z] ---> f2dbeef85f3c [2021-08-26T20:49:14.519Z] [Warning] One or more build-args [MAKE] were not consumed [2021-08-26T20:49:14.519Z] Successfully built f2dbeef85f3c [2021-08-26T20:49:14.519Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:49:14.851Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-26T20:49:14.851Z] . [Pipeline] withDockerContainer [2021-08-26T20:49:14.947Z] prd-centos7-docker-4c-2g-864 does not seem to be running inside a container [2021-08-26T20:49:15.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-26T20:49:15.379Z] $ docker top ec5ebd90bfab0aa752f11c3017556e7f92d81198f494e9f0b1eb948854b26995 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-26T20:49:15.806Z] + go version [2021-08-26T20:49:15.807Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-26T20:49:15.819Z] $ docker stop --time=1 ec5ebd90bfab0aa752f11c3017556e7f92d81198f494e9f0b1eb948854b26995 [2021-08-26T20:49:17.024Z] $ docker rm -f ec5ebd90bfab0aa752f11c3017556e7f92d81198f494e9f0b1eb948854b26995 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:49:17.604Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-26T20:49:17.604Z] . [Pipeline] withDockerContainer [2021-08-26T20:49:17.690Z] prd-centos7-docker-4c-2g-864 does not seem to be running inside a container [2021-08-26T20:49:17.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-26T20:49:18.125Z] $ docker top a5349c6740278da5f53c4ed1b2837cdf94756e42c1352d32813340a22b16eb31 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-26T20:49:18.552Z] + go mod tidy [Pipeline] sh [2021-08-26T20:49:19.140Z] + make test [2021-08-26T20:49:19.140Z] go mod tidy [2021-08-26T20:49:19.140Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-26T20:49:20.606Z] Removing intermediate container 5ad7441e9d38 [2021-08-26T20:49:20.606Z] ---> eaed21be35a5 [2021-08-26T20:49:20.606Z] Step 9/9 : RUN make build [2021-08-26T20:49:20.606Z] ---> Running in db8caec5cfbc [2021-08-26T20:49:20.606Z] go mod tidy [2021-08-26T20:49:20.606Z] 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-08-26T20:49:24.568Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-26T20:49:46.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-26T20:49:46.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-26T20:49:46.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-26T20:49:48.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 24.2% of statements [2021-08-26T20:49:48.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-26T20:49:48.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 28.1% of statements [2021-08-26T20:49:48.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-08-26T20:49:48.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2021-08-26T20:49:48.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-26T20:49:48.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-26T20:49:48.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-26T20:49:49.659Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-08-26T20:49:49.659Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-26T20:49:50.638Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.048s coverage: 83.3% of statements [2021-08-26T20:49:50.638Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-26T20:49:50.638Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-26T20:49:50.638Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-08-26T20:49:51.607Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.843s coverage: 89.2% of statements [2021-08-26T20:49:51.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-26T20:49:51.607Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-08-26T20:49:51.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-26T20:49:51.882Z] GO111MODULE=on go vet ./... [2021-08-26T20:49:53.011Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-26T20:49:53.011Z] Removing intermediate container db8caec5cfbc [2021-08-26T20:49:53.011Z] ---> d90e22a1efd3 [2021-08-26T20:49:53.011Z] [Warning] One or more build-args [MAKE] were not consumed [2021-08-26T20:49:53.011Z] Successfully built d90e22a1efd3 [2021-08-26T20:49:53.011Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:49:53.360Z] + docker inspect -f . ci-base-image-arm64 [2021-08-26T20:49:53.360Z] . [Pipeline] withDockerContainer [2021-08-26T20:49:53.626Z] prd-ubuntu18.04-docker-arm64-4c-16g-863 does not seem to be running inside a container [2021-08-26T20:49:53.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-26T20:49:55.533Z] $ docker top 535572c2d87c356a0f9e1c9d3004a672e90aa0cbb425e0cdc55240f48d48bfff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-26T20:49:56.505Z] + go version [2021-08-26T20:49:56.505Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-26T20:49:56.542Z] $ docker stop --time=1 535572c2d87c356a0f9e1c9d3004a672e90aa0cbb425e0cdc55240f48d48bfff [2021-08-26T20:49:58.438Z] $ docker rm -f 535572c2d87c356a0f9e1c9d3004a672e90aa0cbb425e0cdc55240f48d48bfff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:49:59.249Z] + docker inspect -f . ci-base-image-arm64 [2021-08-26T20:49:59.249Z] . [Pipeline] withDockerContainer [2021-08-26T20:49:59.480Z] prd-ubuntu18.04-docker-arm64-4c-16g-863 does not seem to be running inside a container [2021-08-26T20:49:59.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-26T20:50:01.205Z] $ docker top 79eeb21b37d82f4892f13e8be6774b3f1448501ecc6a374ad057a366b11845b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-26T20:50:02.067Z] gofmt -l . [2021-08-26T20:50:02.067Z] [ "`gofmt -l .`" = "" ] [2021-08-26T20:50:02.067Z] ./bin/test-attribution-txt.sh [2021-08-26T20:50:02.067Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-26T20:50:02.084Z] $ docker stop --time=1 a5349c6740278da5f53c4ed1b2837cdf94756e42c1352d32813340a22b16eb31 [2021-08-26T20:50:02.204Z] + go mod tidy [2021-08-26T20:50:03.517Z] $ docker rm -f a5349c6740278da5f53c4ed1b2837cdf94756e42c1352d32813340a22b16eb31 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-08-26T20:50:03.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-26T20:50:04.317Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-08-26T20:50:04.396Z] + make test [2021-08-26T20:50:04.396Z] go mod tidy [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-08-26T20:50:05.002Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] sh [2021-08-26T20:50:06.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-26T20:50:07.108Z] + ls -al . [2021-08-26T20:50:07.108Z] total 232 [2021-08-26T20:50:07.108Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 26 20:50 . [2021-08-26T20:50:07.108Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 26 20:48 .. [2021-08-26T20:50:07.108Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 26 20:48 bin [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 24816 Aug 26 20:48 CHANGELOG.md [2021-08-26T20:50:07.108Z] -rw-r--r--. 1 jenkins jenkins 125634 Aug 26 20:49 coverage.out [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 26 20:48 .dockerignore [2021-08-26T20:50:07.108Z] drwxrwxr-x. 5 jenkins jenkins 62 Aug 26 20:48 example [2021-08-26T20:50:07.108Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 26 20:48 .git [2021-08-26T20:50:07.108Z] drwxrwxr-x. 3 jenkins jenkins 125 Aug 26 20:48 .github [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 26 20:48 .gitignore [2021-08-26T20:50:07.108Z] -rw-r--r--. 1 jenkins jenkins 576 Aug 26 20:50 go.mod [2021-08-26T20:50:07.108Z] -rw-r--r--. 1 jenkins jenkins 20408 Aug 26 20:49 go.sum [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 26 20:48 GOVERNANCE.md [2021-08-26T20:50:07.108Z] drwxrwxr-x. 15 jenkins jenkins 224 Aug 26 20:48 internal [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 26 20:48 Jenkinsfile [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 26 20:48 LICENSE [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 1026 Aug 26 20:48 Makefile [2021-08-26T20:50:07.108Z] drwxrwxr-x. 3 jenkins jenkins 16 Aug 26 20:48 openapi [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 619 Aug 26 20:48 OWNERS.md [2021-08-26T20:50:07.108Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 26 20:48 pkg [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 7646 Aug 26 20:48 README.md [2021-08-26T20:50:07.108Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 26 20:48 snap [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 26 20:45 VERSION [2021-08-26T20:50:07.108Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 26 20:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:50:07.429Z] + 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=cf13810e1e59382d3745b709a3f2cecf0d1bf80c --label arch=amd64 --label version=0.0.0 . [2021-08-26T20:50:07.429Z] Sending build context to Docker daemon 2.743MB [2021-08-26T20:50:07.429Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-26T20:50:07.429Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-26T20:50:07.429Z] ---> f2dbeef85f3c [2021-08-26T20:50:07.429Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-26T20:50:07.429Z] ---> Running in 634e2fabf10a [2021-08-26T20:50:07.699Z] Removing intermediate container 634e2fabf10a [2021-08-26T20:50:07.699Z] ---> 09166625388c [2021-08-26T20:50:07.699Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T20:50:07.699Z] ---> Running in c62745841086 [2021-08-26T20:50:07.699Z] Removing intermediate container c62745841086 [2021-08-26T20:50:07.699Z] ---> 8ecf5a93eed5 [2021-08-26T20:50:07.699Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T20:50:07.699Z] ---> Running in c4ad0000a076 [2021-08-26T20:50:08.290Z] Removing intermediate container c4ad0000a076 [2021-08-26T20:50:08.290Z] ---> 7ec82a87326a [2021-08-26T20:50:08.290Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-26T20:50:08.290Z] ---> Running in 3ba954a987ca [2021-08-26T20:50:08.559Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-26T20:50:09.517Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-26T20:50:09.790Z] OK: 219 MiB in 52 packages [2021-08-26T20:50:10.057Z] Removing intermediate container 3ba954a987ca [2021-08-26T20:50:10.057Z] ---> 4fc03c2b385f [2021-08-26T20:50:10.057Z] Step 7/23 : COPY . . [2021-08-26T20:50:10.325Z] ---> 2099ba0492f5 [2021-08-26T20:50:10.325Z] Step 8/23 : RUN go mod download [2021-08-26T20:50:10.325Z] ---> Running in e7eb1fa57291 [2021-08-26T20:50:10.912Z] Removing intermediate container e7eb1fa57291 [2021-08-26T20:50:10.912Z] ---> 6c8559ade8f3 [2021-08-26T20:50:10.912Z] Step 9/23 : RUN make build [2021-08-26T20:50:10.912Z] ---> Running in ff4949ce1a66 [2021-08-26T20:50:11.186Z] go mod tidy [2021-08-26T20:50:11.461Z] 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-08-26T20:50:11.737Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-26T20:50:12.004Z] Removing intermediate container ff4949ce1a66 [2021-08-26T20:50:12.004Z] ---> d7d68d01735a [2021-08-26T20:50:12.004Z] Step 10/23 : FROM alpine:3.12 [2021-08-26T20:50:12.586Z] 3.12: Pulling from library/alpine [2021-08-26T20:50:12.853Z] 339de151aab4: Pulling fs layer [2021-08-26T20:50:13.119Z] 339de151aab4: Verifying Checksum [2021-08-26T20:50:13.119Z] 339de151aab4: Download complete [2021-08-26T20:50:13.119Z] 339de151aab4: Pull complete [2021-08-26T20:50:13.119Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-26T20:50:13.119Z] Status: Downloaded newer image for alpine:3.12 [2021-08-26T20:50:13.119Z] ---> 13621d1b12d4 [2021-08-26T20:50:13.119Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T20:50:13.393Z] ---> Running in 816af768be2f [2021-08-26T20:50:13.393Z] Removing intermediate container 816af768be2f [2021-08-26T20:50:13.393Z] ---> f0db5365c3e7 [2021-08-26T20:50:13.393Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T20:50:13.393Z] ---> Running in 9428003071b3 [2021-08-26T20:50:13.983Z] Removing intermediate container 9428003071b3 [2021-08-26T20:50:13.983Z] ---> 74b897c106eb [2021-08-26T20:50:13.983Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-26T20:50:13.983Z] ---> Running in e74ec2de5ec2 [2021-08-26T20:50:14.248Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-26T20:50:14.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-26T20:50:15.095Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-26T20:50:15.360Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-26T20:50:15.360Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-26T20:50:16.316Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-26T20:50:16.316Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-26T20:50:16.581Z] Executing busybox-1.31.1-r20.trigger [2021-08-26T20:50:16.581Z] OK: 8 MiB in 19 packages [2021-08-26T20:50:16.847Z] Removing intermediate container e74ec2de5ec2 [2021-08-26T20:50:16.847Z] ---> ed20f2b7f6fa [2021-08-26T20:50:16.847Z] Step 14/23 : WORKDIR / [2021-08-26T20:50:16.847Z] ---> Running in 1f00d93a6a5b [2021-08-26T20:50:16.847Z] Removing intermediate container 1f00d93a6a5b [2021-08-26T20:50:16.847Z] ---> 546f47255e5c [2021-08-26T20:50:16.847Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-26T20:50:17.114Z] ---> 63fc5e6bf00c [2021-08-26T20:50:17.114Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-26T20:50:17.382Z] ---> 3df095e99842 [2021-08-26T20:50:17.382Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-26T20:50:17.382Z] ---> 43702b6495e9 [2021-08-26T20:50:17.382Z] Step 18/23 : EXPOSE 59999 [2021-08-26T20:50:17.382Z] ---> Running in 2fed13797a21 [2021-08-26T20:50:17.649Z] Removing intermediate container 2fed13797a21 [2021-08-26T20:50:17.649Z] ---> a0c8d95affb0 [2021-08-26T20:50:17.649Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-26T20:50:17.649Z] ---> Running in f948d911e783 [2021-08-26T20:50:17.649Z] Removing intermediate container f948d911e783 [2021-08-26T20:50:17.649Z] ---> 179b88492a64 [2021-08-26T20:50:17.649Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-26T20:50:17.649Z] ---> Running in df9c901cb25c [2021-08-26T20:50:17.919Z] Removing intermediate container df9c901cb25c [2021-08-26T20:50:17.920Z] ---> 3b987961ed52 [2021-08-26T20:50:17.920Z] Step 21/23 : LABEL arch=amd64 [2021-08-26T20:50:17.920Z] ---> Running in a4452ea71468 [2021-08-26T20:50:17.920Z] Removing intermediate container a4452ea71468 [2021-08-26T20:50:17.920Z] ---> b9dc8339c341 [2021-08-26T20:50:17.920Z] Step 22/23 : LABEL git_sha=cf13810e1e59382d3745b709a3f2cecf0d1bf80c [2021-08-26T20:50:17.920Z] ---> Running in b9ece474480e [2021-08-26T20:50:17.920Z] Removing intermediate container b9ece474480e [2021-08-26T20:50:17.920Z] ---> 260c0c11f39c [2021-08-26T20:50:17.920Z] Step 23/23 : LABEL version=0.0.0 [2021-08-26T20:50:17.920Z] ---> Running in af7fc43a82a9 [2021-08-26T20:50:18.186Z] Removing intermediate container af7fc43a82a9 [2021-08-26T20:50:18.186Z] ---> 08bcf7aca938 [2021-08-26T20:50:18.186Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-26T20:50:18.186Z] Successfully built 08bcf7aca938 [2021-08-26T20:50:18.186Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:50:18.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T20:50:18.917Z] [2021-08-26T20:50:18.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:50:19.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T20:50:19.245Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-26T20:50:19.245Z] b4d181a07f80: Pulling fs layer [2021-08-26T20:50:19.245Z] a1111a8f2ec3: Pulling fs layer [2021-08-26T20:50:19.245Z] ed53099fbce6: Pulling fs layer [2021-08-26T20:50:19.245Z] dc539afda2c1: Pulling fs layer [2021-08-26T20:50:19.245Z] 77bc0d833cb6: Pulling fs layer [2021-08-26T20:50:19.245Z] 9065ff56babe: Pulling fs layer [2021-08-26T20:50:19.245Z] d287ab97295c: Pulling fs layer [2021-08-26T20:50:19.245Z] dc539afda2c1: Waiting [2021-08-26T20:50:19.245Z] 77bc0d833cb6: Waiting [2021-08-26T20:50:19.245Z] 9065ff56babe: Waiting [2021-08-26T20:50:19.245Z] d287ab97295c: Waiting [2021-08-26T20:50:19.512Z] a1111a8f2ec3: Verifying Checksum [2021-08-26T20:50:19.512Z] a1111a8f2ec3: Download complete [2021-08-26T20:50:19.777Z] dc539afda2c1: Verifying Checksum [2021-08-26T20:50:19.777Z] dc539afda2c1: Download complete [2021-08-26T20:50:20.043Z] ed53099fbce6: Verifying Checksum [2021-08-26T20:50:20.043Z] ed53099fbce6: Download complete [2021-08-26T20:50:20.043Z] 77bc0d833cb6: Verifying Checksum [2021-08-26T20:50:20.043Z] 77bc0d833cb6: Download complete [2021-08-26T20:50:20.043Z] 9065ff56babe: Verifying Checksum [2021-08-26T20:50:20.043Z] 9065ff56babe: Download complete [2021-08-26T20:50:21.451Z] b4d181a07f80: Verifying Checksum [2021-08-26T20:50:21.451Z] b4d181a07f80: Download complete [2021-08-26T20:50:22.418Z] b4d181a07f80: Pull complete [2021-08-26T20:50:22.685Z] a1111a8f2ec3: Pull complete [2021-08-26T20:50:22.955Z] ed53099fbce6: Pull complete [2021-08-26T20:50:22.955Z] dc539afda2c1: Pull complete [2021-08-26T20:50:23.223Z] 77bc0d833cb6: Pull complete [2021-08-26T20:50:23.489Z] 9065ff56babe: Pull complete [2021-08-26T20:50:24.897Z] d287ab97295c: Verifying Checksum [2021-08-26T20:50:24.897Z] d287ab97295c: Download complete [2021-08-26T20:50:27.201Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-26T20:50:29.163Z] d287ab97295c: Pull complete [2021-08-26T20:50:29.163Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-26T20:50:29.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T20:50:29.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-26T20:50:29.249Z] prd-centos7-docker-4c-2g-864 does not seem to be running inside a container [2021-08-26T20:50:29.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-26T20:50:31.681Z] $ docker top 5f144886a3b34f26c4ebef2b324fd4e66ac4757c76f5733d04e15c6cfb8e9634 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:50:32.279Z] ---> job-cost.sh [2021-08-26T20:50:32.279Z] lf-activate-venv: SKIPPING [2021-08-26T20:50:32.279Z] INFO: No Stack... [2021-08-26T20:50:33.240Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-26T20:50:33.240Z] INFO: Archiving Costs [Pipeline] sh [2021-08-26T20:50:33.566Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2021-08-26T20:50:33.566Z] + cut -d, -f6 [Pipeline] lock [2021-08-26T20:50:33.607Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1014-7-stack-cost] [2021-08-26T20:50:33.621Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1014-7-stack-cost] did not exist. Created. [2021-08-26T20:50:33.621Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1014-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-26T20:50:33.961Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-26T20:50:34.004Z] Stashed 1 file(s) [Pipeline] } [2021-08-26T20:50:34.017Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1014-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-26T20:50:34.043Z] $ docker stop --time=1 5f144886a3b34f26c4ebef2b324fd4e66ac4757c76f5733d04e15c6cfb8e9634 [2021-08-26T20:50:35.190Z] $ docker rm -f 5f144886a3b34f26c4ebef2b324fd4e66ac4757c76f5733d04e15c6cfb8e9634 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-26T20:51:35.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-26T20:51:35.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-26T20:51:35.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-26T20:51:39.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.268s coverage: 24.2% of statements [2021-08-26T20:51:39.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-26T20:51:39.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.213s coverage: 28.1% of statements [2021-08-26T20:51:39.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.271s coverage: 78.9% of statements [2021-08-26T20:51:39.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.208s coverage: 9.0% of statements [2021-08-26T20:51:39.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-26T20:51:39.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-26T20:51:39.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-26T20:51:39.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.314s coverage: 28.7% of statements [2021-08-26T20:51:39.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-26T20:51:42.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.200s coverage: 83.3% of statements [2021-08-26T20:51:42.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-26T20:51:42.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-26T20:51:42.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.317s coverage: 58.0% of statements [2021-08-26T20:51:45.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.012s coverage: 89.2% of statements [2021-08-26T20:51:45.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-26T20:51:45.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.189s coverage: 4.9% of statements [2021-08-26T20:51:45.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-26T20:51:45.941Z] GO111MODULE=on go vet ./... [2021-08-26T20:52:25.027Z] gofmt -l . [2021-08-26T20:52:25.027Z] [ "`gofmt -l .`" = "" ] [2021-08-26T20:52:25.027Z] ./bin/test-attribution-txt.sh [2021-08-26T20:52:25.027Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-26T20:52:25.078Z] $ docker stop --time=1 79eeb21b37d82f4892f13e8be6774b3f1448501ecc6a374ad057a366b11845b5 [2021-08-26T20:52:27.254Z] $ docker rm -f 79eeb21b37d82f4892f13e8be6774b3f1448501ecc6a374ad057a366b11845b5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-26T20:52:28.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-26T20:52:28.214Z] Warning: overwriting stash ‘coverage-report’ [2021-08-26T20:52:28.803Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-26T20:52:29.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-26T20:52:29.678Z] + ls -al . [2021-08-26T20:52:29.678Z] total 268 [2021-08-26T20:52:29.678Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 26 20:52 . [2021-08-26T20:52:29.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 20:48 .. [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 26 20:48 .dockerignore [2021-08-26T20:52:29.678Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 20:48 .git [2021-08-26T20:52:29.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 20:48 .github [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 26 20:48 .gitignore [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 24816 Aug 26 20:48 CHANGELOG.md [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 26 20:48 GOVERNANCE.md [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 26 20:48 Jenkinsfile [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 26 20:48 LICENSE [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 1026 Aug 26 20:48 Makefile [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 26 20:48 OWNERS.md [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 7646 Aug 26 20:48 README.md [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 26 20:45 VERSION [2021-08-26T20:52:29.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 20:48 bin [2021-08-26T20:52:29.678Z] -rw-r--r-- 1 jenkins jenkins 125634 Aug 26 20:51 coverage.out [2021-08-26T20:52:29.678Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 26 20:48 example [2021-08-26T20:52:29.678Z] -rw-r--r-- 1 jenkins jenkins 576 Aug 26 20:52 go.mod [2021-08-26T20:52:29.678Z] -rw-r--r-- 1 jenkins jenkins 20408 Aug 26 20:50 go.sum [2021-08-26T20:52:29.678Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 26 20:48 internal [2021-08-26T20:52:29.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 20:48 openapi [2021-08-26T20:52:29.678Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 26 20:48 pkg [2021-08-26T20:52:29.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 20:48 snap [2021-08-26T20:52:29.678Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 26 20:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:52:30.022Z] + 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=cf13810e1e59382d3745b709a3f2cecf0d1bf80c --label arch=arm64 --label version=0.0.0 . [2021-08-26T20:52:30.619Z] Sending build context to Docker daemon 2.742MB [2021-08-26T20:52:30.619Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-26T20:52:30.619Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-26T20:52:30.619Z] ---> d90e22a1efd3 [2021-08-26T20:52:30.619Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-26T20:52:30.900Z] ---> Running in e34395ce0e09 [2021-08-26T20:52:31.500Z] Removing intermediate container e34395ce0e09 [2021-08-26T20:52:31.500Z] ---> d7d70cdb8ec8 [2021-08-26T20:52:31.500Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T20:52:31.500Z] ---> Running in 806f0f06fea2 [2021-08-26T20:52:32.097Z] Removing intermediate container 806f0f06fea2 [2021-08-26T20:52:32.097Z] ---> 3ce1d7bc49c3 [2021-08-26T20:52:32.097Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T20:52:32.097Z] ---> Running in 7ea8084d716f [2021-08-26T20:52:34.715Z] Removing intermediate container 7ea8084d716f [2021-08-26T20:52:34.715Z] ---> 724abc0c055f [2021-08-26T20:52:34.715Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-26T20:52:34.715Z] ---> Running in 9918d8ec1414 [2021-08-26T20:52:35.692Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-26T20:52:36.667Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-26T20:52:37.643Z] OK: 218 MiB in 52 packages [2021-08-26T20:52:38.623Z] Removing intermediate container 9918d8ec1414 [2021-08-26T20:52:38.623Z] ---> 5112d6c174ce [2021-08-26T20:52:38.623Z] Step 7/23 : COPY . . [2021-08-26T20:52:40.068Z] ---> 8107ed33ef15 [2021-08-26T20:52:40.068Z] Step 8/23 : RUN go mod download [2021-08-26T20:52:40.341Z] ---> Running in 2d60d94a1a60 [2021-08-26T20:52:42.966Z] Removing intermediate container 2d60d94a1a60 [2021-08-26T20:52:42.966Z] ---> bce487eadb11 [2021-08-26T20:52:42.966Z] Step 9/23 : RUN make build [2021-08-26T20:52:42.966Z] ---> Running in cb60103aeb4e [2021-08-26T20:52:43.959Z] go mod tidy [2021-08-26T20:52:44.564Z] 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-08-26T20:52:46.004Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-26T20:52:47.439Z] Removing intermediate container cb60103aeb4e [2021-08-26T20:52:47.439Z] ---> 5bf2324fb11c [2021-08-26T20:52:47.439Z] Step 10/23 : FROM alpine:3.12 [2021-08-26T20:52:48.032Z] 3.12: Pulling from library/alpine [2021-08-26T20:52:48.303Z] d2f70382dc9a: Pulling fs layer [2021-08-26T20:52:48.303Z] d2f70382dc9a: Download complete [2021-08-26T20:52:49.278Z] d2f70382dc9a: Pull complete [2021-08-26T20:52:49.278Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-26T20:52:49.278Z] Status: Downloaded newer image for alpine:3.12 [2021-08-26T20:52:49.278Z] ---> c4fd0aeabfcf [2021-08-26T20:52:49.278Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T20:52:49.550Z] ---> Running in ae6831e3c5a6 [2021-08-26T20:52:50.146Z] Removing intermediate container ae6831e3c5a6 [2021-08-26T20:52:50.146Z] ---> 48fec73b1acd [2021-08-26T20:52:50.146Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T20:52:50.146Z] ---> Running in e1230b54c7c9 [2021-08-26T20:52:52.756Z] Removing intermediate container e1230b54c7c9 [2021-08-26T20:52:52.756Z] ---> 0c35c2a1bc90 [2021-08-26T20:52:52.756Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-26T20:52:52.756Z] ---> Running in 02041962b771 [2021-08-26T20:52:53.736Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-26T20:52:54.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-26T20:52:55.304Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-26T20:52:55.304Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-26T20:52:55.304Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-26T20:52:55.575Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-26T20:52:55.575Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-26T20:52:55.847Z] Executing busybox-1.31.1-r20.trigger [2021-08-26T20:52:55.847Z] OK: 8 MiB in 19 packages [2021-08-26T20:52:57.288Z] Removing intermediate container 02041962b771 [2021-08-26T20:52:57.288Z] ---> 14a20e4ee89d [2021-08-26T20:52:57.288Z] Step 14/23 : WORKDIR / [2021-08-26T20:52:57.288Z] ---> Running in 412c54a8eafe [2021-08-26T20:52:57.885Z] Removing intermediate container 412c54a8eafe [2021-08-26T20:52:57.885Z] ---> 56623278d96c [2021-08-26T20:52:57.885Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-26T20:52:58.862Z] ---> e2c039102477 [2021-08-26T20:52:58.862Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-26T20:53:00.291Z] ---> 3b43cc4ec20f [2021-08-26T20:53:00.291Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-26T20:53:00.886Z] ---> a076cb39984c [2021-08-26T20:53:00.886Z] Step 18/23 : EXPOSE 59999 [2021-08-26T20:53:01.158Z] ---> Running in 9e9d23c4c3fe [2021-08-26T20:53:01.757Z] Removing intermediate container 9e9d23c4c3fe [2021-08-26T20:53:01.757Z] ---> 56a4a8c367d9 [2021-08-26T20:53:01.757Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-26T20:53:01.757Z] ---> Running in 3f9f4b0d4784 [2021-08-26T20:53:02.347Z] Removing intermediate container 3f9f4b0d4784 [2021-08-26T20:53:02.347Z] ---> 6a8d393bfea3 [2021-08-26T20:53:02.347Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-26T20:53:02.625Z] ---> Running in 377315707a45 [2021-08-26T20:53:02.897Z] Removing intermediate container 377315707a45 [2021-08-26T20:53:02.897Z] ---> c9b022fdbef0 [2021-08-26T20:53:02.897Z] Step 21/23 : LABEL arch=arm64 [2021-08-26T20:53:03.169Z] ---> Running in 8ff03fe4ab14 [2021-08-26T20:53:03.763Z] Removing intermediate container 8ff03fe4ab14 [2021-08-26T20:53:03.763Z] ---> 0cf0ae2ff645 [2021-08-26T20:53:03.763Z] Step 22/23 : LABEL git_sha=cf13810e1e59382d3745b709a3f2cecf0d1bf80c [2021-08-26T20:53:03.763Z] ---> Running in 095c04e21c8c [2021-08-26T20:53:04.359Z] Removing intermediate container 095c04e21c8c [2021-08-26T20:53:04.359Z] ---> 1014f194e3b6 [2021-08-26T20:53:04.359Z] Step 23/23 : LABEL version=0.0.0 [2021-08-26T20:53:04.359Z] ---> Running in 74ca6c532b5f [2021-08-26T20:53:04.951Z] Removing intermediate container 74ca6c532b5f [2021-08-26T20:53:04.951Z] ---> ccfa5222e87a [2021-08-26T20:53:04.951Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-26T20:53:04.951Z] Successfully built ccfa5222e87a [2021-08-26T20:53:04.951Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:53:05.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T20:53:05.633Z] [2021-08-26T20:53:05.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:53:06.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T20:53:06.584Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-26T20:53:06.584Z] 448f6bf000e3: Pulling fs layer [2021-08-26T20:53:06.584Z] f757da607395: Pulling fs layer [2021-08-26T20:53:06.584Z] 05883995daec: Pulling fs layer [2021-08-26T20:53:06.584Z] 8603b9c90790: Pulling fs layer [2021-08-26T20:53:06.584Z] 1560dd03e051: Pulling fs layer [2021-08-26T20:53:06.584Z] 27f5ce0e4adf: Pulling fs layer [2021-08-26T20:53:06.584Z] c2d8d7efcc4b: Pulling fs layer [2021-08-26T20:53:06.584Z] 1560dd03e051: Waiting [2021-08-26T20:53:06.584Z] 27f5ce0e4adf: Waiting [2021-08-26T20:53:06.584Z] c2d8d7efcc4b: Waiting [2021-08-26T20:53:06.584Z] 8603b9c90790: Waiting [2021-08-26T20:53:07.183Z] f757da607395: Verifying Checksum [2021-08-26T20:53:07.183Z] f757da607395: Download complete [2021-08-26T20:53:07.183Z] 8603b9c90790: Verifying Checksum [2021-08-26T20:53:07.183Z] 8603b9c90790: Download complete [2021-08-26T20:53:07.183Z] 1560dd03e051: Verifying Checksum [2021-08-26T20:53:07.183Z] 1560dd03e051: Download complete [2021-08-26T20:53:07.183Z] 27f5ce0e4adf: Download complete [2021-08-26T20:53:07.456Z] 05883995daec: Download complete [2021-08-26T20:53:08.433Z] 448f6bf000e3: Verifying Checksum [2021-08-26T20:53:08.433Z] 448f6bf000e3: Download complete [2021-08-26T20:53:11.059Z] c2d8d7efcc4b: Verifying Checksum [2021-08-26T20:53:11.059Z] c2d8d7efcc4b: Download complete [2021-08-26T20:53:11.652Z] 448f6bf000e3: Pull complete [2021-08-26T20:53:12.248Z] f757da607395: Pull complete [2021-08-26T20:53:13.685Z] 05883995daec: Pull complete [2021-08-26T20:53:14.281Z] 8603b9c90790: Pull complete [2021-08-26T20:53:15.262Z] 1560dd03e051: Pull complete [2021-08-26T20:53:15.535Z] 27f5ce0e4adf: Pull complete [2021-08-26T20:53:30.620Z] c2d8d7efcc4b: Pull complete [2021-08-26T20:53:30.620Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-26T20:53:30.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T20:53:30.620Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-26T20:53:30.883Z] prd-ubuntu18.04-docker-arm64-4c-16g-863 does not seem to be running inside a container [2021-08-26T20:53:30.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-26T20:53:34.719Z] $ docker top 11ee6c2efc3762d6dddf92571c2d18ff8764febbe31002e3767c7e0e460be797 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:53:35.680Z] ---> job-cost.sh [2021-08-26T20:53:35.680Z] lf-activate-venv: SKIPPING [2021-08-26T20:53:35.680Z] INFO: No Stack... [2021-08-26T20:53:37.106Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-08-26T20:53:37.106Z] INFO: Archiving Costs [Pipeline] sh [2021-08-26T20:53:37.773Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2021-08-26T20:53:37.773Z] + cut -d, -f6 [Pipeline] lock [2021-08-26T20:53:37.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1014-7-stack-cost] [2021-08-26T20:53:37.850Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1014-7-stack-cost] did not exist. Created. [2021-08-26T20:53:37.850Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1014-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-26T20:53:38.550Z] /w/workspace/device-sdk-go/7@tmp/durable-186033b9/script.sh: 1: /w/workspace/device-sdk-go/7@tmp/durable-186033b9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-26T20:53:39.224Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-08-26T20:53:39.257Z] Warning: overwriting stash ‘stack-cost’ [2021-08-26T20:53:39.318Z] Stashed 1 file(s) [Pipeline] } [2021-08-26T20:53:39.330Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1014-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-26T20:53:39.386Z] $ docker stop --time=1 11ee6c2efc3762d6dddf92571c2d18ff8764febbe31002e3767c7e0e460be797 [2021-08-26T20:53:41.111Z] $ docker rm -f 11ee6c2efc3762d6dddf92571c2d18ff8764febbe31002e3767c7e0e460be797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-08-26T20:53:42.134Z] provisioning config files... [2021-08-26T20:53:42.149Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config3189629466231058022tmp [Pipeline] { [Pipeline] sh [2021-08-26T20:53:42.503Z] + set +x [2021-08-26T20:53:42.503Z] + curl -s https://codecov.io/bash [2021-08-26T20:53:42.503Z] + bash -s -- [2021-08-26T20:53:42.503Z] [2021-08-26T20:53:42.503Z] _____ _ [2021-08-26T20:53:42.503Z] / ____| | | [2021-08-26T20:53:42.503Z] | | ___ __| | ___ ___ _____ __ [2021-08-26T20:53:42.503Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-26T20:53:42.503Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-26T20:53:42.503Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-26T20:53:42.503Z] Bash-1.0.6 [2021-08-26T20:53:42.503Z] [2021-08-26T20:53:42.503Z] [2021-08-26T20:53:42.503Z] ==> git version 2.24.4 found [2021-08-26T20:53:42.503Z] ==> 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-08-26T20:53:42.503Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-26T20:53:42.503Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-26T20:53:42.503Z] ==> Jenkins CI detected. [2021-08-26T20:53:42.503Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1014 [2021-08-26T20:53:42.503Z] project root: . [2021-08-26T20:53:42.503Z] --> token set from env [2021-08-26T20:53:42.770Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-26T20:53:42.770Z] ==> Running gcov in . (disable via -X gcov) [2021-08-26T20:53:42.770Z] ==> Python coveragepy not found [2021-08-26T20:53:42.770Z] ==> Searching for coverage reports in: [2021-08-26T20:53:42.770Z] + . [2021-08-26T20:53:42.770Z] -> Found 1 reports [2021-08-26T20:53:42.770Z] ==> Detecting git/mercurial file structure [2021-08-26T20:53:42.770Z] ==> Reading reports [2021-08-26T20:53:42.770Z] + ./coverage.out bytes=125634 [2021-08-26T20:53:42.770Z] ==> Appending adjustments [2021-08-26T20:53:42.770Z] https://docs.codecov.io/docs/fixing-reports [2021-08-26T20:53:43.038Z] + Found adjustments [2021-08-26T20:53:43.038Z] ==> Gzipping contents [2021-08-26T20:53:43.038Z] 16K /tmp/codecov.8T02gD.gz [2021-08-26T20:53:43.038Z] ==> Uploading reports [2021-08-26T20:53:43.038Z] url: https://codecov.io [2021-08-26T20:53:43.038Z] query: branch=PR-1014&commit=cf13810e1e59382d3745b709a3f2cecf0d1bf80c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1014%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1014&job=&cmd_args= [2021-08-26T20:53:43.038Z] -> Pinging Codecov [2021-08-26T20:53:43.038Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1014&commit=cf13810e1e59382d3745b709a3f2cecf0d1bf80c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1014%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1014&job=&cmd_args= [2021-08-26T20:53:43.621Z] -> Uploading to [2021-08-26T20:53:43.621Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-26/7E55EF52A471D76F132DFD9A03CDDE97/cf13810e1e59382d3745b709a3f2cecf0d1bf80c/4b1128d3-a168-4772-8bca-5c6a78897450.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210826%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210826T205343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2dcf1116b9bfdbaf77a95bb1a55fa39aab914aecb733b2d4d53e576c73435945 [2021-08-26T20:53:43.621Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-26T20:53:43.621Z] Dload Upload Total Spent Left Speed [2021-08-26T20:53:43.887Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16036 0 0 100 16036 0 36605 --:--:-- --:--:-- --:--:-- 36611 [2021-08-26T20:53:43.887Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf13810e1e59382d3745b709a3f2cecf0d1bf80c [Pipeline] } [2021-08-26T20:53:43.901Z] 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] sh [2021-08-26T20:53:45.508Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:53:45.833Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:53:46.420Z] ---> package-listing.sh [2021-08-26T20:53:46.420Z] ++ facter osfamily [2021-08-26T20:53:46.420Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-26T20:53:46.688Z] + OS_FAMILY=redhat [2021-08-26T20:53:46.688Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1014 [2021-08-26T20:53:46.688Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-26T20:53:46.688Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-26T20:53:46.688Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-26T20:53:46.688Z] + PACKAGES=/tmp/packages_start.txt [2021-08-26T20:53:46.688Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1014 ']' [2021-08-26T20:53:46.688Z] + PACKAGES=/tmp/packages_end.txt [2021-08-26T20:53:46.688Z] + case "${OS_FAMILY}" in [2021-08-26T20:53:46.688Z] + rpm -qa [2021-08-26T20:53:46.688Z] + sort [2021-08-26T20:53:47.281Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-26T20:53:47.281Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-26T20:53:47.281Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-26T20:53:47.281Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1014 ']' [2021-08-26T20:53:47.281Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives/ [2021-08-26T20:53:47.281Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1014/archives/ [Pipeline] echo [2021-08-26T20:53:47.299Z] 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/gexfoundry_device-sdk-go_PR-1014/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-26T20:53:47.599Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:53:48.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T20:53:48.217Z] [2021-08-26T20:53:48.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T20:53:48.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T20:53:48.550Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-26T20:53:48.550Z] b4d181a07f80: Pulling fs layer [2021-08-26T20:53:48.550Z] a1111a8f2ec3: Pulling fs layer [2021-08-26T20:53:48.550Z] ed53099fbce6: Pulling fs layer [2021-08-26T20:53:48.550Z] dc539afda2c1: Pulling fs layer [2021-08-26T20:53:48.550Z] 77bc0d833cb6: Pulling fs layer [2021-08-26T20:53:48.550Z] 9065ff56babe: Pulling fs layer [2021-08-26T20:53:48.550Z] d287ab97295c: Pulling fs layer [2021-08-26T20:53:48.550Z] dc539afda2c1: Waiting [2021-08-26T20:53:48.550Z] 77bc0d833cb6: Waiting [2021-08-26T20:53:48.550Z] 9065ff56babe: Waiting [2021-08-26T20:53:48.550Z] d287ab97295c: Waiting [2021-08-26T20:53:48.818Z] a1111a8f2ec3: Verifying Checksum [2021-08-26T20:53:48.818Z] a1111a8f2ec3: Download complete [2021-08-26T20:53:48.818Z] dc539afda2c1: Verifying Checksum [2021-08-26T20:53:48.818Z] dc539afda2c1: Download complete [2021-08-26T20:53:49.083Z] 77bc0d833cb6: Verifying Checksum [2021-08-26T20:53:49.083Z] 77bc0d833cb6: Download complete [2021-08-26T20:53:49.083Z] 9065ff56babe: Verifying Checksum [2021-08-26T20:53:49.083Z] 9065ff56babe: Download complete [2021-08-26T20:53:49.083Z] ed53099fbce6: Verifying Checksum [2021-08-26T20:53:49.083Z] ed53099fbce6: Download complete [2021-08-26T20:53:50.046Z] b4d181a07f80: Verifying Checksum [2021-08-26T20:53:50.046Z] b4d181a07f80: Download complete [2021-08-26T20:53:51.017Z] b4d181a07f80: Pull complete [2021-08-26T20:53:51.017Z] a1111a8f2ec3: Pull complete [2021-08-26T20:53:51.600Z] ed53099fbce6: Pull complete [2021-08-26T20:53:51.600Z] dc539afda2c1: Pull complete [2021-08-26T20:53:51.874Z] 77bc0d833cb6: Pull complete [2021-08-26T20:53:51.874Z] 9065ff56babe: Pull complete [2021-08-26T20:53:53.289Z] d287ab97295c: Verifying Checksum [2021-08-26T20:53:53.289Z] d287ab97295c: Download complete [2021-08-26T20:53:57.567Z] d287ab97295c: Pull complete [2021-08-26T20:53:57.567Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-26T20:53:57.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T20:53:57.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-26T20:53:57.666Z] prd-centos7-docker-4c-2g-862 does not seem to be running inside a container [2021-08-26T20:53:57.723Z] $ 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/gexfoundry_device-sdk-go_PR-1014/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1014 -v /w/workspace/gexfoundry_device-sdk-go_PR-1014:/w/workspace/gexfoundry_device-sdk-go_PR-1014:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1014@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-26T20:53:59.749Z] $ docker top b3b1a5953633ddbe5fa978c38bd670a00a643c2cc5535c0274a3491fc39d8582 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-26T20:54:00.162Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-26T20:54:00.479Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-26T20:54:00.798Z] + ls /var/log/sa-host [2021-08-26T20:54:00.798Z] + sadf -c /var/log/sa-host/sa05 [2021-08-26T20:54:00.798Z] file_magic: OK [2021-08-26T20:54:00.798Z] HZ: Using current value: 100 [2021-08-26T20:54:00.798Z] file_header: OK [2021-08-26T20:54:00.798Z] 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-08-26T20:54:00.798Z] Statistics: [2021-08-26T20:54:00.798Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-26T20:54:00.798Z] File successfully converted to sysstat format version 12.0.3 [2021-08-26T20:54:00.798Z] + sadf -c /var/log/sa-host/sa26 [2021-08-26T20:54:00.798Z] file_magic: OK [2021-08-26T20:54:00.798Z] HZ: Using current value: 100 [2021-08-26T20:54:00.798Z] file_header: OK [2021-08-26T20:54:00.798Z] 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-08-26T20:54:00.798Z] Statistics: [2021-08-26T20:54:00.798Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-26T20:54:00.798Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T20:54:01.364Z] provisioning config files... [2021-08-26T20:54:01.383Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1014@tmp/config6955430444261842465tmp [Pipeline] { [Pipeline] echo [2021-08-26T20:54:01.412Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:54:01.735Z] ---> create-netrc.sh [Pipeline] } [2021-08-26T20:54:01.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:54:02.161Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-26T20:54:02.177Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:54:02.495Z] ---> sudo-logs.sh [2021-08-26T20:54:02.495Z] Archiving 'sudo' log.. [2021-08-26T20:54:02.495Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-862.vexxhost.local: Name or service not known [2021-08-26T20:54:02.495Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-862.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-26T20:54:02.536Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:54:02.858Z] ---> job-cost.sh [2021-08-26T20:54:02.858Z] lf-activate-venv: SKIPPING [2021-08-26T20:54:02.858Z] DEBUG: total: 0.10999999940395355 [2021-08-26T20:54:02.858Z] INFO: Retrieving Stack Cost... [2021-08-26T20:54:03.820Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-26T20:54:04.087Z] INFO: Archiving Costs [Pipeline] echo [2021-08-26T20:54:04.106Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T20:54:04.427Z] ---> logs-deploy.sh [2021-08-26T20:54:04.427Z] lf-activate-venv: SKIPPING [2021-08-26T20:54:04.427Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1014/7 [2021-08-26T20:54:04.427Z] INFO: archiving workspace using pattern(s): [2021-08-26T20:54:05.387Z] Archives upload complete. [2021-08-26T20:54:05.387Z] INFO: archiving logs to Nexus