Pull request #971 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1e0e331debdeb001a9450335735ff56be217e392+5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea (f6c0276c3a3e44809c8060388ed8b8c54fb19173) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5961478546537216146.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6753382907266425610.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 144eb70ba3d470a427e699408e811d3f535e987a 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-971/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5794381866867409570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2959141138387507340.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-971/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh299972302469185647.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_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 on ‘prd-centos7-docker-4c-2g-2443’ Running on prd-centos7-docker-4c-2g-2445 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-971 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh891643337279466952.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea into PR head commit 1e0e331debdeb001a9450335735ff56be217e392 Merge succeeded, producing 1e0e331debdeb001a9450335735ff56be217e392 Checking out Revision 1e0e331debdeb001a9450335735ff56be217e392 (PR-971) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh5898057834548443470.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e0e331debdeb001a9450335735ff56be217e392 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh2886163989207572318.key > git merge 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e0e331debdeb001a9450335735ff56be217e392 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" First time build. Skipping changelog. > git rev-list --no-walk c0b6218e863cb5732610990ea73f48ec2500c2bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-11T04:03:08.621Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-11T04:03:08.709Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-11T04:03:08.739Z] ========================================================= [2021-07-11T04:03:08.739Z] EdgeX Global Pipelines Version Info [2021-07-11T04:03:08.739Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:03:10.167Z] ------------------- [2021-07-11T04:03:10.167Z] stable info: [2021-07-11T04:03:10.167Z] ------------------- [2021-07-11T04:03:10.167Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-11T04:03:10.167Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-11T04:03:10.167Z] Message: update stable to v1.0.196 [2021-07-11T04:03:10.749Z] ------------------- [2021-07-11T04:03:10.749Z] experimental info: [2021-07-11T04:03:10.749Z] ------------------- [2021-07-11T04:03:10.749Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-11T04:03:10.749Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-11T04:03:10.749Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-11T04:03:10.871Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-11T04:03:10.895Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-11T04:03:10.919Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-11T04:03:10.943Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-11T04:03:10.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-11T04:03:11.002Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-11T04:03:11.027Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-11T04:03:11.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-11T04:03:11.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-11T04:03:11.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-11T04:03:11.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-11T04:03:11.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-11T04:03:11.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-11T04:03:11.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-11T04:03:11.224Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-11T04:03:11.250Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-11T04:03:11.276Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-11T04:03:11.303Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-11T04:03:11.328Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-11T04:03:11.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-11T04:03:11.378Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-11T04:03:11.403Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-11T04:03:11.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-11T04:03:11.453Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-11T04:03:11.480Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-11T04:03:11.505Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-11T04:03:11.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-07-11T04:03:11.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-07-11T04:03:11.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-07-11T04:03:11.605Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e0e331debdeb001a9450335735ff56be217e392 [Pipeline] echo [2021-07-11T04:03:11.630Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e0e331 [Pipeline] echo [2021-07-11T04:03:11.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-11T04:03:11.787Z] provisioning config files... [2021-07-11T04:03:11.806Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config8207964980220459954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:03:12.143Z] ---> docker-login.sh [2021-07-11T04:03:12.143Z] nexus3.edgexfoundry.org:10001 [2021-07-11T04:03:12.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:03:12.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:03:12.722Z] Configure a credential helper to remove this warning. See [2021-07-11T04:03:12.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:03:12.722Z] [2021-07-11T04:03:12.722Z] Login Succeeded [2021-07-11T04:03:12.722Z] nexus3.edgexfoundry.org:10002 [2021-07-11T04:03:12.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:03:12.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:03:12.985Z] Configure a credential helper to remove this warning. See [2021-07-11T04:03:12.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:03:12.985Z] [2021-07-11T04:03:12.985Z] Login Succeeded [2021-07-11T04:03:12.985Z] nexus3.edgexfoundry.org:10003 [2021-07-11T04:03:12.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:03:12.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:03:12.985Z] Configure a credential helper to remove this warning. See [2021-07-11T04:03:12.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:03:12.985Z] [2021-07-11T04:03:12.985Z] Login Succeeded [2021-07-11T04:03:12.985Z] nexus3.edgexfoundry.org:10004 [2021-07-11T04:03:13.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:03:13.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:03:13.252Z] Configure a credential helper to remove this warning. See [2021-07-11T04:03:13.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:03:13.252Z] [2021-07-11T04:03:13.252Z] Login Succeeded [2021-07-11T04:03:13.252Z] docker.io [2021-07-11T04:03:13.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:03:13.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:03:13.514Z] Configure a credential helper to remove this warning. See [2021-07-11T04:03:13.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:03:13.515Z] [2021-07-11T04:03:13.515Z] Login Succeeded [2021-07-11T04:03:13.515Z] ---> docker-login.sh ends [Pipeline] } [2021-07-11T04:03:13.524Z] 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-07-11T04:03:14.070Z] + git log --format=format:%s -1 1e0e331debdeb001a9450335735ff56be217e392 [Pipeline] echo [2021-07-11T04:03:14.117Z] GIT_COMMIT: 1e0e331debdeb001a9450335735ff56be217e392, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-07-11T04:03:14.132Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:03:14.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-11T04:03:14.730Z] [2021-07-11T04:03:14.730Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:03:15.052Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-11T04:03:15.052Z] latest: Pulling from edgex-devops/git-semver [2021-07-11T04:03:15.052Z] 31603596830f: Pulling fs layer [2021-07-11T04:03:15.052Z] b6dc333f4379: Pulling fs layer [2021-07-11T04:03:15.052Z] 3d9ef1400e77: Pulling fs layer [2021-07-11T04:03:15.052Z] fd332fbdc1db: Pulling fs layer [2021-07-11T04:03:15.052Z] fd332fbdc1db: Waiting [2021-07-11T04:03:15.314Z] b6dc333f4379: Verifying Checksum [2021-07-11T04:03:15.314Z] b6dc333f4379: Download complete [2021-07-11T04:03:15.314Z] 31603596830f: Verifying Checksum [2021-07-11T04:03:15.314Z] 31603596830f: Download complete [2021-07-11T04:03:15.314Z] fd332fbdc1db: Verifying Checksum [2021-07-11T04:03:15.314Z] fd332fbdc1db: Download complete [2021-07-11T04:03:15.581Z] 3d9ef1400e77: Verifying Checksum [2021-07-11T04:03:15.581Z] 3d9ef1400e77: Download complete [2021-07-11T04:03:15.581Z] 31603596830f: Pull complete [2021-07-11T04:03:15.581Z] b6dc333f4379: Pull complete [2021-07-11T04:03:16.532Z] 3d9ef1400e77: Pull complete [2021-07-11T04:03:16.532Z] fd332fbdc1db: Pull complete [2021-07-11T04:03:16.532Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-11T04:03:16.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-11T04:03:16.532Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-11T04:03:16.620Z] prd-centos7-docker-4c-2g-2445 does not seem to be running inside a container [2021-07-11T04:03:16.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-11T04:03:19.102Z] $ docker top f5a41a3cfbf4e1ed92c87b6ebab9362620c84e8c6fb47335750f7bebeb53b38a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-11T04:03:19.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-11T04:03:19.258Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-11T04:03:19.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-11T04:03:19.399Z] $ docker exec f5a41a3cfbf4e1ed92c87b6ebab9362620c84e8c6fb47335750f7bebeb53b38a ssh-agent [2021-07-11T04:03:19.518Z] SSH_AUTH_SOCK=/tmp/ssh-Pst8q46f6YkO/agent.13 [2021-07-11T04:03:19.518Z] SSH_AGENT_PID=20 [2021-07-11T04:03:19.527Z] Running ssh-add (command line suppressed) [2021-07-11T04:03:19.642Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1787249116926880007.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1787249116926880007.key) [2021-07-11T04:03:19.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-11T04:03:19.971Z] + git tag --points-at HEAD [Pipeline] } [2021-07-11T04:03:19.984Z] $ docker exec --env ******** --env ******** f5a41a3cfbf4e1ed92c87b6ebab9362620c84e8c6fb47335750f7bebeb53b38a ssh-agent -k [2021-07-11T04:03:20.098Z] unset SSH_AUTH_SOCK; [2021-07-11T04:03:20.098Z] unset SSH_AGENT_PID; [2021-07-11T04:03:20.098Z] echo Agent pid 20 killed; [2021-07-11T04:03:20.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-11T04:03:20.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-11T04:03:20.154Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-11T04:03:20.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-11T04:03:20.277Z] $ docker exec f5a41a3cfbf4e1ed92c87b6ebab9362620c84e8c6fb47335750f7bebeb53b38a ssh-agent [2021-07-11T04:03:20.411Z] SSH_AUTH_SOCK=/tmp/ssh-aD2VnwKxkG24/agent.53 [2021-07-11T04:03:20.411Z] SSH_AGENT_PID=60 [2021-07-11T04:03:20.417Z] Running ssh-add (command line suppressed) [2021-07-11T04:03:20.526Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_4973199205877909070.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_4973199205877909070.key) [2021-07-11T04:03:20.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-11T04:03:20.854Z] + git semver init [2021-07-11T04:03:20.854Z] # -> Open(): unable to determine branch for HEAD [2021-07-11T04:03:20.854Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-07-11T04:03:20.854Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-07-11T04:03:20.854Z] # $SEMVER_REMOTE_NAME = origin [2021-07-11T04:03:20.854Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-11T04:03:20.854Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-11T04:03:20.855Z] # $SEMVER_BRANCH = PR-971 [2021-07-11T04:03:20.855Z] # $SEMVER_TEMP = /tmp/semver-072158868 [2021-07-11T04:03:20.855Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-11T04:03:21.806Z] # '/tmp/semver-072158868' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-07-11T04:03:21.806Z] # -> Force: false [2021-07-11T04:03:21.806Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-07-11T04:03:21.813Z] $ docker exec --env ******** --env ******** f5a41a3cfbf4e1ed92c87b6ebab9362620c84e8c6fb47335750f7bebeb53b38a ssh-agent -k [2021-07-11T04:03:21.924Z] unset SSH_AUTH_SOCK; [2021-07-11T04:03:21.925Z] unset SSH_AGENT_PID; [2021-07-11T04:03:21.925Z] echo Agent pid 60 killed; [2021-07-11T04:03:21.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-11T04:03:22.292Z] + git semver [Pipeline] } [2021-07-11T04:03:22.303Z] $ docker stop --time=1 f5a41a3cfbf4e1ed92c87b6ebab9362620c84e8c6fb47335750f7bebeb53b38a [2021-07-11T04:03:23.714Z] $ docker rm -f f5a41a3cfbf4e1ed92c87b6ebab9362620c84e8c6fb47335750f7bebeb53b38a [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-11T04:03:24.135Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-11T04:03:24.424Z] Stashed 1 file(s) [Pipeline] echo [2021-07-11T04:03:24.428Z] [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-07-11T04:03:39.693Z] Still waiting to schedule task [2021-07-11T04:03:39.694Z] ‘prd-centos7-docker-4c-2g-2446’ is offline [2021-07-11T04:03:39.696Z] Still waiting to schedule task [2021-07-11T04:03:39.696Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2444’ [2021-07-11T04:04:43.010Z] Running on prd-centos7-docker-4c-2g-2448 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-07-11T04:04:43.035Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2021-07-11T04:04:43.147Z] Selected Git installation does not exist. Using Default [2021-07-11T04:04:43.147Z] The recommended git tool is: NONE [2021-07-11T04:04:45.576Z] using credential edgex-jenkins-ssh [2021-07-11T04:04:45.589Z] Cloning the remote Git repository [2021-07-11T04:04:45.605Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-11T04:04:45.668Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2021-07-11T04:04:45.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-11T04:04:45.692Z] > git --version # timeout=10 [2021-07-11T04:04:45.699Z] > git --version # 'git version 2.24.4' [2021-07-11T04:04:45.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-11T04:04:45.720Z] [INFO] Currently running in a labeled security context [2021-07-11T04:04:45.721Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-11T04:04:45.721Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/25@tmp/jenkins-gitclient-ssh3293020452199310769.key [2021-07-11T04:04:45.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-11T04:04:46.384Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-11T04:04:46.395Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-11T04:04:46.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-11T04:04:46.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-11T04:04:46.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-11T04:04:46.433Z] [INFO] Currently running in a labeled security context [2021-07-11T04:04:46.433Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-11T04:04:46.433Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/25@tmp/jenkins-gitclient-ssh988725655518591833.key [2021-07-11T04:04:46.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-11T04:04:46.794Z] Merging remotes/origin/main commit 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea into PR head commit 1e0e331debdeb001a9450335735ff56be217e392 [2021-07-11T04:04:46.876Z] Merge succeeded, producing 1e0e331debdeb001a9450335735ff56be217e392 [2021-07-11T04:04:46.877Z] Checking out Revision 1e0e331debdeb001a9450335735ff56be217e392 (PR-971) [2021-07-11T04:04:46.798Z] > git config core.sparsecheckout # timeout=10 [2021-07-11T04:04:46.804Z] > git checkout -f 1e0e331debdeb001a9450335735ff56be217e392 # timeout=10 [2021-07-11T04:04:46.838Z] > git remote # timeout=10 [2021-07-11T04:04:46.845Z] > git config --get remote.origin.url # timeout=10 [2021-07-11T04:04:46.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-11T04:04:46.851Z] [INFO] Currently running in a labeled security context [2021-07-11T04:04:46.852Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-11T04:04:46.852Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/25@tmp/jenkins-gitclient-ssh8161762179581464245.key [2021-07-11T04:04:46.857Z] > git merge 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 [2021-07-11T04:04:46.866Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-11T04:04:46.875Z] > git config core.sparsecheckout # timeout=10 [2021-07-11T04:04:46.882Z] > git checkout -f 1e0e331debdeb001a9450335735ff56be217e392 # timeout=10 [2021-07-11T04:04:50.583Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-11T04:04:51.431Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-11T04:04:51.760Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-11T04:04:52.056Z] + true [2021-07-11T04:04:52.056Z] + sudo service docker restart [2021-07-11T04:04:52.056Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-11T04:05:10.239Z] provisioning config files... [2021-07-11T04:05:10.254Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/25@tmp/config1723154912227094185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:05:10.588Z] ---> docker-login.sh [2021-07-11T04:05:10.588Z] nexus3.edgexfoundry.org:10001 [2021-07-11T04:05:10.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:05:10.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:05:10.851Z] Configure a credential helper to remove this warning. See [2021-07-11T04:05:10.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:05:10.851Z] [2021-07-11T04:05:10.851Z] Login Succeeded [2021-07-11T04:05:10.851Z] nexus3.edgexfoundry.org:10002 [2021-07-11T04:05:10.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:05:11.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:05:11.112Z] Configure a credential helper to remove this warning. See [2021-07-11T04:05:11.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:05:11.112Z] [2021-07-11T04:05:11.112Z] Login Succeeded [2021-07-11T04:05:11.112Z] nexus3.edgexfoundry.org:10003 [2021-07-11T04:05:11.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:05:11.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:05:11.112Z] Configure a credential helper to remove this warning. See [2021-07-11T04:05:11.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:05:11.112Z] [2021-07-11T04:05:11.112Z] Login Succeeded [2021-07-11T04:05:11.112Z] nexus3.edgexfoundry.org:10004 [2021-07-11T04:05:11.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:05:11.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:05:11.375Z] Configure a credential helper to remove this warning. See [2021-07-11T04:05:11.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:05:11.375Z] [2021-07-11T04:05:11.375Z] Login Succeeded [2021-07-11T04:05:11.375Z] docker.io [2021-07-11T04:05:11.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:05:11.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:05:11.639Z] Configure a credential helper to remove this warning. See [2021-07-11T04:05:11.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:05:11.639Z] [2021-07-11T04:05:11.639Z] Login Succeeded [2021-07-11T04:05:11.639Z] ---> docker-login.sh ends [Pipeline] } [2021-07-11T04:05:11.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-11T04:05:11.822Z] ========================================================= [2021-07-11T04:05:11.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-11T04:05:11.822Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:05:12.147Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-11T04:05:12.147Z] Sending build context to Docker daemon 2.563MB [2021-07-11T04:05:12.147Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-11T04:05:12.147Z] Step 2/8 : FROM ${BASE} [2021-07-11T04:05:12.407Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-11T04:05:12.407Z] 540db60ca938: Pulling fs layer [2021-07-11T04:05:12.407Z] adcc1eea9eea: Pulling fs layer [2021-07-11T04:05:12.407Z] 4c4ab2625f07: Pulling fs layer [2021-07-11T04:05:12.407Z] 0773c198feca: Pulling fs layer [2021-07-11T04:05:12.407Z] 345f892a5656: Pulling fs layer [2021-07-11T04:05:12.407Z] 9ac62484cfdc: Pulling fs layer [2021-07-11T04:05:12.407Z] 5ac4037533be: Pulling fs layer [2021-07-11T04:05:12.407Z] dc6bda0758c5: Pulling fs layer [2021-07-11T04:05:12.407Z] 0773c198feca: Waiting [2021-07-11T04:05:12.407Z] 345f892a5656: Waiting [2021-07-11T04:05:12.407Z] 9ac62484cfdc: Waiting [2021-07-11T04:05:12.407Z] 5ac4037533be: Waiting [2021-07-11T04:05:12.407Z] dc6bda0758c5: Waiting [2021-07-11T04:05:12.407Z] 4c4ab2625f07: Verifying Checksum [2021-07-11T04:05:12.407Z] 4c4ab2625f07: Download complete [2021-07-11T04:05:12.407Z] adcc1eea9eea: Verifying Checksum [2021-07-11T04:05:12.407Z] adcc1eea9eea: Download complete [2021-07-11T04:05:12.407Z] 540db60ca938: Verifying Checksum [2021-07-11T04:05:12.407Z] 540db60ca938: Download complete [2021-07-11T04:05:12.407Z] 345f892a5656: Verifying Checksum [2021-07-11T04:05:12.407Z] 345f892a5656: Download complete [2021-07-11T04:05:12.407Z] 9ac62484cfdc: Verifying Checksum [2021-07-11T04:05:12.407Z] 9ac62484cfdc: Download complete [2021-07-11T04:05:12.668Z] 540db60ca938: Pull complete [2021-07-11T04:05:12.668Z] adcc1eea9eea: Pull complete [2021-07-11T04:05:12.928Z] 4c4ab2625f07: Pull complete [2021-07-11T04:05:13.190Z] 5ac4037533be: Verifying Checksum [2021-07-11T04:05:13.190Z] 5ac4037533be: Download complete [2021-07-11T04:05:14.142Z] dc6bda0758c5: Verifying Checksum [2021-07-11T04:05:14.142Z] dc6bda0758c5: Download complete [2021-07-11T04:05:14.721Z] 0773c198feca: Verifying Checksum [2021-07-11T04:05:14.721Z] 0773c198feca: Download complete [2021-07-11T04:05:18.043Z] 0773c198feca: Pull complete [2021-07-11T04:05:18.043Z] 345f892a5656: Pull complete [2021-07-11T04:05:18.043Z] 9ac62484cfdc: Pull complete [2021-07-11T04:05:18.043Z] 5ac4037533be: Pull complete [2021-07-11T04:05:19.965Z] dc6bda0758c5: Pull complete [2021-07-11T04:05:19.965Z] Digest: sha256:693441261ed0de8fcf303aa2a0eae3a43e217b849db77d7793b1d2a0399e3ec4 [2021-07-11T04:05:19.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-11T04:05:19.965Z] ---> eb58bd16d52e [2021-07-11T04:05:19.965Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-11T04:05:28.119Z] ---> Running in fa8c74c7b2d0 [2021-07-11T04:05:28.383Z] Removing intermediate container fa8c74c7b2d0 [2021-07-11T04:05:28.383Z] ---> 904e916da3e2 [2021-07-11T04:05:28.383Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-11T04:05:28.383Z] ---> Running in 9d388b0d4e2e [2021-07-11T04:05:29.334Z] Removing intermediate container 9d388b0d4e2e [2021-07-11T04:05:29.334Z] ---> e9da86ebd963 [2021-07-11T04:05:29.334Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-11T04:05:29.334Z] ---> Running in 3a81c6c71608 [2021-07-11T04:05:29.595Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-11T04:05:30.545Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-11T04:05:30.806Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-11T04:05:30.806Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-11T04:05:31.067Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-11T04:05:31.067Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-11T04:05:31.067Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-11T04:05:31.328Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-11T04:05:31.328Z] Executing busybox-1.32.1-r6.trigger [2021-07-11T04:05:31.328Z] OK: 150 MiB in 46 packages [2021-07-11T04:05:31.589Z] Removing intermediate container 3a81c6c71608 [2021-07-11T04:05:31.589Z] ---> 10b96057d0c9 [2021-07-11T04:05:31.589Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-11T04:05:31.589Z] ---> Running in 52c166023c62 [2021-07-11T04:05:31.851Z] Removing intermediate container 52c166023c62 [2021-07-11T04:05:31.851Z] ---> 4ca8cc27187a [2021-07-11T04:05:31.851Z] Step 7/8 : COPY . . [2021-07-11T04:05:32.116Z] ---> 239e85d6fc1a [2021-07-11T04:05:32.116Z] Step 8/8 : RUN go mod download [2021-07-11T04:05:32.116Z] ---> Running in 0c5585f6600f [2021-07-11T04:05:44.358Z] Removing intermediate container 0c5585f6600f [2021-07-11T04:05:44.358Z] ---> 5557f5f4598f [2021-07-11T04:05:44.358Z] Successfully built 5557f5f4598f [2021-07-11T04:05:44.359Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:05:44.666Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-11T04:05:44.666Z] . [Pipeline] withDockerContainer [2021-07-11T04:05:44.751Z] prd-centos7-docker-4c-2g-2448 does not seem to be running inside a container [2021-07-11T04:05:44.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-11T04:05:45.179Z] $ docker top 5ba010f2ef106e1c72f18fa9301aea176b7282a5d1839ee70d66b4f5aecf8b85 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-11T04:05:45.564Z] + go version [2021-07-11T04:05:45.564Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-11T04:05:45.622Z] $ docker stop --time=1 5ba010f2ef106e1c72f18fa9301aea176b7282a5d1839ee70d66b4f5aecf8b85 [2021-07-11T04:05:46.815Z] $ docker rm -f 5ba010f2ef106e1c72f18fa9301aea176b7282a5d1839ee70d66b4f5aecf8b85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:05:47.387Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-11T04:05:47.387Z] . [Pipeline] withDockerContainer [2021-07-11T04:05:47.470Z] prd-centos7-docker-4c-2g-2448 does not seem to be running inside a container [2021-07-11T04:05:47.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-11T04:05:47.875Z] $ docker top df00d803c1a2e41163ffa445fe0410069a64129faa0a19fe85ebb0f014824f46 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-11T04:05:48.264Z] + go mod tidy [Pipeline] sh [2021-07-11T04:05:48.847Z] + make test [2021-07-11T04:05:48.848Z] go mod tidy [2021-07-11T04:05:48.848Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-11T04:05:54.211Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-11T04:06:16.297Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-11T04:06:16.297Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-11T04:06:16.297Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-11T04:06:18.261Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 24.2% of statements [2021-07-11T04:06:18.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-11T04:06:18.261Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements [2021-07-11T04:06:18.543Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.094s coverage: 78.9% of statements [2021-07-11T04:06:18.543Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 9.0% of statements [2021-07-11T04:06:18.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-11T04:06:18.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-11T04:06:18.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-11T04:06:19.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-07-11T04:06:19.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-11T04:06:20.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 83.3% of statements [2021-07-11T04:06:20.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-11T04:06:20.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-11T04:06:20.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 58.0% of statements [2021-07-11T04:06:21.860Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.812s coverage: 89.2% of statements [2021-07-11T04:06:21.860Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-11T04:06:21.860Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.9% of statements [2021-07-11T04:06:21.860Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-11T04:06:21.860Z] GO111MODULE=on go vet ./... [2021-07-11T04:06:40.065Z] gofmt -l . [2021-07-11T04:06:40.065Z] [ "`gofmt -l .`" = "" ] [2021-07-11T04:06:40.065Z] ./bin/test-attribution-txt.sh [2021-07-11T04:06:40.065Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-11T04:06:40.076Z] $ docker stop --time=1 df00d803c1a2e41163ffa445fe0410069a64129faa0a19fe85ebb0f014824f46 [2021-07-11T04:06:41.690Z] $ docker rm -f df00d803c1a2e41163ffa445fe0410069a64129faa0a19fe85ebb0f014824f46 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-11T04:06:42.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-11T04:06:42.390Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-11T04:06:43.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-11T04:06:43.836Z] + ls -al . [2021-07-11T04:06:43.837Z] total 228 [2021-07-11T04:06:43.837Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 11 04:06 . [2021-07-11T04:06:43.837Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 11 04:04 .. [2021-07-11T04:06:43.837Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 11 04:04 bin [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 11 04:04 CHANGELOG.md [2021-07-11T04:06:43.837Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 11 04:06 coverage.out [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 11 04:04 Dockerfile.build [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 11 04:04 .dockerignore [2021-07-11T04:06:43.837Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 11 04:04 example [2021-07-11T04:06:43.837Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 11 04:04 .git [2021-07-11T04:06:43.837Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 11 04:04 .github [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 11 04:04 .gitignore [2021-07-11T04:06:43.837Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 11 04:06 go.mod [2021-07-11T04:06:43.837Z] -rw-r--r--. 1 jenkins jenkins 20301 Jul 11 04:05 go.sum [2021-07-11T04:06:43.837Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 11 04:04 internal [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 11 04:04 Jenkinsfile [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 11 04:04 LICENSE [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 11 04:04 Makefile [2021-07-11T04:06:43.837Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 11 04:04 openapi [2021-07-11T04:06:43.837Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 11 04:04 pkg [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jul 11 04:04 README.md [2021-07-11T04:06:43.837Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 11 04:04 snap [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 11 04:03 VERSION [2021-07-11T04:06:43.837Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 11 04:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:06:44.144Z] + 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=1e0e331debdeb001a9450335735ff56be217e392 --label arch=amd64 --label version=0.0.0 . [2021-07-11T04:06:44.145Z] Sending build context to Docker daemon 2.689MB [2021-07-11T04:06:44.145Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-11T04:06:44.145Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-11T04:06:44.145Z] ---> 5557f5f4598f [2021-07-11T04:06:44.145Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-11T04:06:44.145Z] ---> Running in b72a0e8a2c75 [2021-07-11T04:06:44.406Z] Removing intermediate container b72a0e8a2c75 [2021-07-11T04:06:44.406Z] ---> 6db346e0229d [2021-07-11T04:06:44.406Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-11T04:06:44.407Z] ---> Running in 9840e6d5f5f2 [2021-07-11T04:06:44.407Z] Removing intermediate container 9840e6d5f5f2 [2021-07-11T04:06:44.407Z] ---> f930eb3be485 [2021-07-11T04:06:44.407Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-11T04:06:44.407Z] ---> Running in dad0394469b0 [2021-07-11T04:06:44.981Z] Removing intermediate container dad0394469b0 [2021-07-11T04:06:44.981Z] ---> 224132e794d2 [2021-07-11T04:06:44.981Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-11T04:06:44.981Z] ---> Running in 3551b4480331 [2021-07-11T04:06:45.242Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-11T04:06:46.187Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-11T04:06:46.450Z] OK: 150 MiB in 46 packages [2021-07-11T04:06:46.711Z] Removing intermediate container 3551b4480331 [2021-07-11T04:06:46.711Z] ---> 12ef65b8f7e5 [2021-07-11T04:06:46.711Z] Step 7/23 : COPY . . [2021-07-11T04:06:46.972Z] ---> 8d0cf054a432 [2021-07-11T04:06:46.972Z] Step 8/23 : RUN go mod download [2021-07-11T04:06:46.972Z] ---> Running in a3c7d33dcad0 [2021-07-11T04:06:47.544Z] Removing intermediate container a3c7d33dcad0 [2021-07-11T04:06:47.544Z] ---> c3324d285b6a [2021-07-11T04:06:47.544Z] Step 9/23 : RUN make build [2021-07-11T04:06:47.544Z] ---> Running in 1fdde7fcb312 [2021-07-11T04:06:47.810Z] go mod tidy [2021-07-11T04:06:48.075Z] 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-07-11T04:06:48.222Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2449 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-07-11T04:06:48.241Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2021-07-11T04:06:48.459Z] Selected Git installation does not exist. Using Default [2021-07-11T04:06:48.459Z] The recommended git tool is: NONE [2021-07-11T04:06:53.897Z] using credential edgex-jenkins-ssh [2021-07-11T04:06:53.917Z] Cloning the remote Git repository [2021-07-11T04:06:53.959Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-11T04:06:54.098Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2021-07-11T04:06:54.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-11T04:06:54.180Z] > git --version # timeout=10 [2021-07-11T04:06:54.200Z] > git --version # 'git version 2.17.1' [2021-07-11T04:06:54.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-11T04:06:54.283Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-11T04:06:55.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-11T04:06:55.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-11T04:06:55.445Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-11T04:06:55.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-11T04:06:55.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-11T04:06:55.503Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-11T04:06:56.064Z] Merging remotes/origin/main commit 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea into PR head commit 1e0e331debdeb001a9450335735ff56be217e392 [2021-07-11T04:06:56.268Z] Merge succeeded, producing 1e0e331debdeb001a9450335735ff56be217e392 [2021-07-11T04:06:56.269Z] Checking out Revision 1e0e331debdeb001a9450335735ff56be217e392 (PR-971) [2021-07-11T04:06:56.075Z] > git config core.sparsecheckout # timeout=10 [2021-07-11T04:06:56.087Z] > git checkout -f 1e0e331debdeb001a9450335735ff56be217e392 # timeout=10 [2021-07-11T04:06:56.185Z] > git remote # timeout=10 [2021-07-11T04:06:56.201Z] > git config --get remote.origin.url # timeout=10 [2021-07-11T04:06:56.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-11T04:06:56.223Z] > git merge 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 [2021-07-11T04:06:56.247Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-11T04:06:56.267Z] > git config core.sparsecheckout # timeout=10 [2021-07-11T04:06:56.276Z] > git checkout -f 1e0e331debdeb001a9450335735ff56be217e392 # timeout=10 [2021-07-11T04:06:58.146Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-11T04:06:59.090Z] Removing intermediate container 1fdde7fcb312 [2021-07-11T04:06:59.090Z] ---> a119ced45f1f [2021-07-11T04:06:59.090Z] Step 10/23 : FROM alpine:3.12 [2021-07-11T04:06:59.664Z] 3.12: Pulling from library/alpine [2021-07-11T04:06:59.664Z] 339de151aab4: Pulling fs layer [2021-07-11T04:06:59.930Z] 339de151aab4: Verifying Checksum [2021-07-11T04:06:59.930Z] 339de151aab4: Download complete [2021-07-11T04:06:59.930Z] 339de151aab4: Pull complete [2021-07-11T04:06:59.930Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-11T04:06:59.930Z] Status: Downloaded newer image for alpine:3.12 [2021-07-11T04:06:59.930Z] ---> 13621d1b12d4 [2021-07-11T04:06:59.930Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-11T04:07:00.191Z] ---> Running in 901151a11ad8 [2021-07-11T04:07:00.191Z] Removing intermediate container 901151a11ad8 [2021-07-11T04:07:00.191Z] ---> 6139711f58e7 [2021-07-11T04:07:00.191Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-11T04:07:00.191Z] ---> Running in 49841dbd87fd [2021-07-11T04:07:00.540Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [2021-07-11T04:07:00.765Z] Removing intermediate container 49841dbd87fd [2021-07-11T04:07:00.765Z] ---> e2b22c54afbb [2021-07-11T04:07:00.765Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-11T04:07:00.765Z] ---> Running in 8a2b6e09f317 [2021-07-11T04:07:01.027Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-11T04:07:01.604Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-11T04:07:02.131Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-07-11T04:07:02.190Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-11T04:07:02.190Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-11T04:07:02.190Z] (3/5) Installing libstdc++ (9.3.0-r2) [Pipeline] sh [2021-07-11T04:07:02.615Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-11T04:07:02.957Z] + true [2021-07-11T04:07:02.957Z] + sudo service docker restart [2021-07-11T04:07:03.133Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-11T04:07:03.133Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-11T04:07:03.133Z] Executing busybox-1.31.1-r20.trigger [2021-07-11T04:07:03.133Z] OK: 8 MiB in 19 packages [2021-07-11T04:07:03.395Z] Removing intermediate container 8a2b6e09f317 [2021-07-11T04:07:03.395Z] ---> 61fc03a5fb13 [2021-07-11T04:07:03.395Z] Step 14/23 : WORKDIR / [2021-07-11T04:07:03.395Z] ---> Running in 5f5ea5786d75 [2021-07-11T04:07:03.659Z] Removing intermediate container 5f5ea5786d75 [2021-07-11T04:07:03.659Z] ---> c2b9e54ba144 [2021-07-11T04:07:03.659Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-11T04:07:03.659Z] ---> 35e1f587c5d4 [2021-07-11T04:07:03.659Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-11T04:07:04.236Z] ---> 42fda5d562e3 [2021-07-11T04:07:04.236Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-11T04:07:04.236Z] ---> acfe3a3a922f [2021-07-11T04:07:04.236Z] Step 18/23 : EXPOSE 59999 [2021-07-11T04:07:04.498Z] ---> Running in 58275124d94f [2021-07-11T04:07:04.498Z] Removing intermediate container 58275124d94f [2021-07-11T04:07:04.498Z] ---> 0bc6c36c6d6f [2021-07-11T04:07:04.498Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-11T04:07:04.498Z] ---> Running in 17da1b24e1fc [2021-07-11T04:07:04.498Z] Removing intermediate container 17da1b24e1fc [2021-07-11T04:07:04.498Z] ---> ee6e15ae4f2e [2021-07-11T04:07:04.498Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-11T04:07:04.498Z] ---> Running in 5fee78ccad5f [2021-07-11T04:07:04.760Z] Removing intermediate container 5fee78ccad5f [2021-07-11T04:07:04.760Z] ---> 07c04ab1a83d [2021-07-11T04:07:04.760Z] Step 21/23 : LABEL arch=amd64 [2021-07-11T04:07:04.760Z] ---> Running in 6e56233828e4 [2021-07-11T04:07:04.760Z] Removing intermediate container 6e56233828e4 [2021-07-11T04:07:04.760Z] ---> 9f1447b3b23b [2021-07-11T04:07:04.760Z] Step 22/23 : LABEL git_sha=1e0e331debdeb001a9450335735ff56be217e392 [2021-07-11T04:07:04.760Z] ---> Running in 0937feff1920 [2021-07-11T04:07:05.024Z] Removing intermediate container 0937feff1920 [2021-07-11T04:07:05.024Z] ---> cd5de6b699be [2021-07-11T04:07:05.024Z] Step 23/23 : LABEL version=0.0.0 [2021-07-11T04:07:05.024Z] ---> Running in 3de51aa1a1c9 [2021-07-11T04:07:05.024Z] Removing intermediate container 3de51aa1a1c9 [2021-07-11T04:07:05.024Z] ---> 7782389380ee [2021-07-11T04:07:05.024Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-11T04:07:05.024Z] Successfully built 7782389380ee [2021-07-11T04:07:05.024Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:07:06.030Z] ---> job-cost.sh [2021-07-11T04:07:06.030Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3bs8 [2021-07-11T04:07:16.045Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-11T04:07:21.315Z] provisioning config files... [2021-07-11T04:07:21.340Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/25@tmp/config2035501809336567644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:07:21.719Z] ---> docker-login.sh [2021-07-11T04:07:21.719Z] nexus3.edgexfoundry.org:10001 [2021-07-11T04:07:22.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:07:22.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:07:22.976Z] Configure a credential helper to remove this warning. See [2021-07-11T04:07:22.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:07:22.976Z] [2021-07-11T04:07:22.976Z] Login Succeeded [2021-07-11T04:07:22.976Z] nexus3.edgexfoundry.org:10002 [2021-07-11T04:07:23.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:07:23.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:07:23.525Z] Configure a credential helper to remove this warning. See [2021-07-11T04:07:23.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:07:23.525Z] [2021-07-11T04:07:23.525Z] Login Succeeded [2021-07-11T04:07:23.525Z] nexus3.edgexfoundry.org:10003 [2021-07-11T04:07:23.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:07:24.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:07:24.078Z] Configure a credential helper to remove this warning. See [2021-07-11T04:07:24.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:07:24.078Z] [2021-07-11T04:07:24.078Z] Login Succeeded [2021-07-11T04:07:24.078Z] nexus3.edgexfoundry.org:10004 [2021-07-11T04:07:24.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:07:24.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:07:24.654Z] Configure a credential helper to remove this warning. See [2021-07-11T04:07:24.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:07:24.654Z] [2021-07-11T04:07:24.654Z] Login Succeeded [2021-07-11T04:07:24.654Z] docker.io [2021-07-11T04:07:24.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-11T04:07:25.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-11T04:07:25.528Z] Configure a credential helper to remove this warning. See [2021-07-11T04:07:25.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-11T04:07:25.528Z] [2021-07-11T04:07:25.528Z] Login Succeeded [2021-07-11T04:07:25.528Z] ---> docker-login.sh ends [Pipeline] } [2021-07-11T04:07:25.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-11T04:07:25.853Z] ========================================================= [2021-07-11T04:07:25.853Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-11T04:07:25.853Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:07:26.224Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-11T04:07:26.499Z] Sending build context to Docker daemon 2.562MB [2021-07-11T04:07:26.773Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-11T04:07:26.773Z] Step 2/8 : FROM ${BASE} [2021-07-11T04:07:26.773Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-11T04:07:26.773Z] 595b0fe564bb: Pulling fs layer [2021-07-11T04:07:26.773Z] 24495759ef45: Pulling fs layer [2021-07-11T04:07:26.773Z] d148012ef14d: Pulling fs layer [2021-07-11T04:07:26.773Z] cb65c68fc2e2: Pulling fs layer [2021-07-11T04:07:26.773Z] 093eec477d81: Pulling fs layer [2021-07-11T04:07:26.773Z] 20fd20ab2234: Pulling fs layer [2021-07-11T04:07:26.773Z] 43245461236d: Pulling fs layer [2021-07-11T04:07:26.773Z] 5a37c24eccbd: Pulling fs layer [2021-07-11T04:07:26.773Z] 093eec477d81: Waiting [2021-07-11T04:07:26.773Z] 43245461236d: Waiting [2021-07-11T04:07:26.773Z] 5a37c24eccbd: Waiting [2021-07-11T04:07:26.773Z] 20fd20ab2234: Waiting [2021-07-11T04:07:26.773Z] cb65c68fc2e2: Waiting [2021-07-11T04:07:27.048Z] d148012ef14d: Verifying Checksum [2021-07-11T04:07:27.048Z] d148012ef14d: Download complete [2021-07-11T04:07:27.048Z] 24495759ef45: Verifying Checksum [2021-07-11T04:07:27.048Z] 24495759ef45: Download complete [2021-07-11T04:07:27.048Z] 093eec477d81: Verifying Checksum [2021-07-11T04:07:27.048Z] 093eec477d81: Download complete [2021-07-11T04:07:27.048Z] 20fd20ab2234: Verifying Checksum [2021-07-11T04:07:27.048Z] 20fd20ab2234: Download complete [2021-07-11T04:07:27.048Z] 595b0fe564bb: Verifying Checksum [2021-07-11T04:07:27.048Z] 595b0fe564bb: Download complete [2021-07-11T04:07:27.048Z] 43245461236d: Download complete [2021-07-11T04:07:27.654Z] 595b0fe564bb: Pull complete [2021-07-11T04:07:28.258Z] 24495759ef45: Pull complete [2021-07-11T04:07:28.336Z] lf-activate-venv(): INFO: Adding /tmp/venv-3bs8/bin to PATH [2021-07-11T04:07:28.336Z] INFO: No Stack... [2021-07-11T04:07:28.597Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-11T04:07:28.868Z] d148012ef14d: Pull complete [2021-07-11T04:07:29.170Z] INFO: Archiving Costs [Pipeline] sh [2021-07-11T04:07:29.537Z] + cat /w/workspace/device-sdk-go/25/archives/cost.csv [2021-07-11T04:07:29.537Z] + cut -d, -f6 [Pipeline] lock [2021-07-11T04:07:29.574Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-25-stack-cost] [2021-07-11T04:07:29.587Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-25-stack-cost] did not exist. Created. [2021-07-11T04:07:29.587Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-11T04:07:29.873Z] 5a37c24eccbd: Verifying Checksum [2021-07-11T04:07:29.873Z] 5a37c24eccbd: Download complete [2021-07-11T04:07:29.924Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-11T04:07:29.982Z] Stashed 1 file(s) [Pipeline] } [2021-07-11T04:07:29.994Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-25-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-11T04:07:30.880Z] cb65c68fc2e2: Verifying Checksum [2021-07-11T04:07:30.880Z] cb65c68fc2e2: Download complete [2021-07-11T04:07:43.284Z] cb65c68fc2e2: Pull complete [2021-07-11T04:07:43.284Z] 093eec477d81: Pull complete [2021-07-11T04:07:43.284Z] 20fd20ab2234: Pull complete [2021-07-11T04:07:43.284Z] 43245461236d: Pull complete [2021-07-11T04:07:46.740Z] 5a37c24eccbd: Pull complete [2021-07-11T04:07:46.740Z] Digest: sha256:1f93be31992c0c85398b36ba92fe0466778821d351774b6a75e3069a3cd419d7 [2021-07-11T04:07:46.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-11T04:07:46.740Z] ---> 274d7007c78b [2021-07-11T04:07:46.740Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-11T04:07:48.858Z] ---> Running in a3dd9dd1eeaa [2021-07-11T04:07:48.858Z] Removing intermediate container a3dd9dd1eeaa [2021-07-11T04:07:48.858Z] ---> f32fb0b88536 [2021-07-11T04:07:48.858Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-11T04:07:49.136Z] ---> Running in c021232a99f8 [2021-07-11T04:07:51.784Z] Removing intermediate container c021232a99f8 [2021-07-11T04:07:51.784Z] ---> 16af4cd3c5a7 [2021-07-11T04:07:51.784Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-11T04:07:51.784Z] ---> Running in a18ddfa9ece4 [2021-07-11T04:07:52.763Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-11T04:07:53.364Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-11T04:07:54.335Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-11T04:07:54.335Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-11T04:07:54.609Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-11T04:07:54.609Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-11T04:07:54.609Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-11T04:07:54.881Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-11T04:07:54.881Z] Executing busybox-1.32.1-r6.trigger [2021-07-11T04:07:54.881Z] OK: 139 MiB in 46 packages [2021-07-11T04:07:56.322Z] Removing intermediate container a18ddfa9ece4 [2021-07-11T04:07:56.322Z] ---> 3b1bf0af66d5 [2021-07-11T04:07:56.322Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-11T04:07:56.322Z] ---> Running in 928a15525c83 [2021-07-11T04:07:56.923Z] Removing intermediate container 928a15525c83 [2021-07-11T04:07:56.923Z] ---> 42bf633e793a [2021-07-11T04:07:56.923Z] Step 7/8 : COPY . . [2021-07-11T04:07:58.362Z] ---> 9c3cd4ad4553 [2021-07-11T04:07:58.362Z] Step 8/8 : RUN go mod download [2021-07-11T04:07:58.362Z] ---> Running in 1875e74974d2 [2021-07-11T04:08:25.233Z] Removing intermediate container 1875e74974d2 [2021-07-11T04:08:25.233Z] ---> 37f43a909207 [2021-07-11T04:08:25.233Z] Successfully built 37f43a909207 [2021-07-11T04:08:25.233Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:08:25.580Z] + docker inspect -f . ci-base-image-arm64 [2021-07-11T04:08:25.581Z] . [Pipeline] withDockerContainer [2021-07-11T04:08:26.025Z] prd-ubuntu18.04-docker-arm64-4c-16g-2449 does not seem to be running inside a container [2021-07-11T04:08:26.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-11T04:08:27.894Z] $ docker top 2dc55b82b8b29a5e58bf85124e8301d050ceafff6becb4e9a78a4f27ba5cbd4f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-11T04:08:28.944Z] + go version [2021-07-11T04:08:28.944Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-11T04:08:28.973Z] $ docker stop --time=1 2dc55b82b8b29a5e58bf85124e8301d050ceafff6becb4e9a78a4f27ba5cbd4f [2021-07-11T04:08:30.868Z] $ docker rm -f 2dc55b82b8b29a5e58bf85124e8301d050ceafff6becb4e9a78a4f27ba5cbd4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:08:31.732Z] + docker inspect -f . ci-base-image-arm64 [2021-07-11T04:08:31.732Z] . [Pipeline] withDockerContainer [2021-07-11T04:08:31.998Z] prd-ubuntu18.04-docker-arm64-4c-16g-2449 does not seem to be running inside a container [2021-07-11T04:08:32.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-11T04:08:33.608Z] $ docker top dab28b169cdfb2a4e657ac2e731784196fe43733654afe461a508b0f97159729 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-11T04:08:34.516Z] + go mod tidy [Pipeline] sh [2021-07-11T04:08:35.797Z] + make test [2021-07-11T04:08:35.797Z] go mod tidy [2021-07-11T04:08:36.072Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-11T04:08:58.263Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-11T04:10:06.376Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-11T04:10:06.376Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-11T04:10:06.376Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-11T04:10:13.130Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.252s coverage: 24.2% of statements [2021-07-11T04:10:13.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-11T04:10:13.130Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.237s coverage: 28.1% of statements [2021-07-11T04:10:13.130Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.237s coverage: 78.9% of statements [2021-07-11T04:10:13.130Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.203s coverage: 9.0% of statements [2021-07-11T04:10:13.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-11T04:10:13.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-11T04:10:13.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-11T04:10:14.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.347s coverage: 28.7% of statements [2021-07-11T04:10:14.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-11T04:10:16.125Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.254s coverage: 83.3% of statements [2021-07-11T04:10:16.125Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-11T04:10:16.125Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-11T04:10:16.125Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.337s coverage: 58.0% of statements [2021-07-11T04:10:19.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.973s coverage: 89.2% of statements [2021-07-11T04:10:19.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-11T04:10:19.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.193s coverage: 4.9% of statements [2021-07-11T04:10:19.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-11T04:10:20.190Z] GO111MODULE=on go vet ./... [2021-07-11T04:11:16.738Z] gofmt -l . [2021-07-11T04:11:17.023Z] [ "`gofmt -l .`" = "" ] [2021-07-11T04:11:17.300Z] ./bin/test-attribution-txt.sh [2021-07-11T04:11:19.273Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-11T04:11:19.577Z] $ docker stop --time=1 dab28b169cdfb2a4e657ac2e731784196fe43733654afe461a508b0f97159729 [2021-07-11T04:11:21.711Z] $ docker rm -f dab28b169cdfb2a4e657ac2e731784196fe43733654afe461a508b0f97159729 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-11T04:11:22.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-11T04:11:22.862Z] Warning: overwriting stash ‘coverage-report’ [2021-07-11T04:11:23.525Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-11T04:11:24.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-11T04:11:24.459Z] + ls -al . [2021-07-11T04:11:24.459Z] total 264 [2021-07-11T04:11:24.459Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 04:11 . [2021-07-11T04:11:24.459Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 04:06 .. [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 04:06 .dockerignore [2021-07-11T04:11:24.459Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 04:07 .git [2021-07-11T04:11:24.459Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 04:06 .github [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 11 04:06 .gitignore [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 11 04:06 CHANGELOG.md [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 11 04:06 Dockerfile.build [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 11 04:06 Jenkinsfile [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 11 04:06 LICENSE [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 11 04:06 Makefile [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jul 11 04:06 README.md [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 04:03 VERSION [2021-07-11T04:11:24.459Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 04:06 bin [2021-07-11T04:11:24.459Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 11 04:10 coverage.out [2021-07-11T04:11:24.459Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 04:06 example [2021-07-11T04:11:24.459Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 11 04:11 go.mod [2021-07-11T04:11:24.459Z] -rw-r--r-- 1 jenkins jenkins 20301 Jul 11 04:08 go.sum [2021-07-11T04:11:24.459Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 11 04:06 internal [2021-07-11T04:11:24.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 04:06 openapi [2021-07-11T04:11:24.459Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 04:06 pkg [2021-07-11T04:11:24.459Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 04:06 snap [2021-07-11T04:11:24.459Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 11 04:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:11:24.803Z] + 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=1e0e331debdeb001a9450335735ff56be217e392 --label arch=arm64 --label version=0.0.0 . [2021-07-11T04:11:25.074Z] Sending build context to Docker daemon 2.688MB [2021-07-11T04:11:25.345Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-11T04:11:25.345Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-11T04:11:25.345Z] ---> 37f43a909207 [2021-07-11T04:11:25.345Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-11T04:11:25.624Z] ---> Running in 817ce58075ce [2021-07-11T04:11:26.220Z] Removing intermediate container 817ce58075ce [2021-07-11T04:11:26.221Z] ---> a3be579347c7 [2021-07-11T04:11:26.221Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-11T04:11:26.221Z] ---> Running in b45077e0cfc0 [2021-07-11T04:11:26.815Z] Removing intermediate container b45077e0cfc0 [2021-07-11T04:11:26.815Z] ---> b2e577a863c9 [2021-07-11T04:11:26.815Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-11T04:11:26.815Z] ---> Running in b27d2ea26a6b [2021-07-11T04:11:29.492Z] Removing intermediate container b27d2ea26a6b [2021-07-11T04:11:29.492Z] ---> cd06e5a1c962 [2021-07-11T04:11:29.492Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-11T04:11:29.492Z] ---> Running in 3cd7c9675e88 [2021-07-11T04:11:30.466Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-11T04:11:31.438Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-11T04:11:32.031Z] OK: 139 MiB in 46 packages [2021-07-11T04:11:33.016Z] Removing intermediate container 3cd7c9675e88 [2021-07-11T04:11:33.016Z] ---> e99c70927ebe [2021-07-11T04:11:33.016Z] Step 7/23 : COPY . . [2021-07-11T04:11:34.450Z] ---> fe489d512116 [2021-07-11T04:11:34.450Z] Step 8/23 : RUN go mod download [2021-07-11T04:11:34.450Z] ---> Running in 921f5aca15d4 [2021-07-11T04:11:37.083Z] Removing intermediate container 921f5aca15d4 [2021-07-11T04:11:37.083Z] ---> a69dcb4f44f5 [2021-07-11T04:11:37.083Z] Step 9/23 : RUN make build [2021-07-11T04:11:37.083Z] ---> Running in 3bdb048715ea [2021-07-11T04:11:38.060Z] go mod tidy [2021-07-11T04:11:38.656Z] 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-07-11T04:12:11.009Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-11T04:12:12.446Z] Removing intermediate container 3bdb048715ea [2021-07-11T04:12:12.446Z] ---> cd0bbaccbde9 [2021-07-11T04:12:12.446Z] Step 10/23 : FROM alpine:3.12 [2021-07-11T04:12:13.037Z] 3.12: Pulling from library/alpine [2021-07-11T04:12:13.312Z] d2f70382dc9a: Pulling fs layer [2021-07-11T04:12:13.312Z] d2f70382dc9a: Download complete [2021-07-11T04:12:13.906Z] d2f70382dc9a: Pull complete [2021-07-11T04:12:13.906Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-11T04:12:14.178Z] Status: Downloaded newer image for alpine:3.12 [2021-07-11T04:12:14.178Z] ---> c4fd0aeabfcf [2021-07-11T04:12:14.178Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-11T04:12:14.178Z] ---> Running in db1a6167f7f5 [2021-07-11T04:12:14.777Z] Removing intermediate container db1a6167f7f5 [2021-07-11T04:12:14.777Z] ---> 4050e4cdda58 [2021-07-11T04:12:14.777Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-11T04:12:14.777Z] ---> Running in be7ab7915e1c [2021-07-11T04:12:18.155Z] Removing intermediate container be7ab7915e1c [2021-07-11T04:12:18.155Z] ---> 28694f53dc47 [2021-07-11T04:12:18.155Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-11T04:12:18.155Z] ---> Running in d7cd2f52ebc3 [2021-07-11T04:12:19.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-11T04:12:20.196Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-11T04:12:20.788Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-11T04:12:21.058Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-11T04:12:21.058Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-11T04:12:22.248Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-11T04:12:22.248Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-11T04:12:22.521Z] Executing busybox-1.31.1-r20.trigger [2021-07-11T04:12:22.521Z] OK: 8 MiB in 19 packages [2021-07-11T04:12:23.505Z] Removing intermediate container d7cd2f52ebc3 [2021-07-11T04:12:23.505Z] ---> 47b3757c78b8 [2021-07-11T04:12:23.505Z] Step 14/23 : WORKDIR / [2021-07-11T04:12:23.777Z] ---> Running in 803e4f88c1a2 [2021-07-11T04:12:24.372Z] Removing intermediate container 803e4f88c1a2 [2021-07-11T04:12:24.372Z] ---> a9ea02665d6a [2021-07-11T04:12:24.372Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-11T04:12:25.022Z] ---> bc5a1681360f [2021-07-11T04:12:25.022Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-11T04:12:26.450Z] ---> 13f14dc25f14 [2021-07-11T04:12:26.450Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-11T04:12:27.045Z] ---> bac68a6f2446 [2021-07-11T04:12:27.045Z] Step 18/23 : EXPOSE 59999 [2021-07-11T04:12:27.325Z] ---> Running in 025af173af1c [2021-07-11T04:12:27.920Z] Removing intermediate container 025af173af1c [2021-07-11T04:12:27.920Z] ---> f25e7944a585 [2021-07-11T04:12:27.920Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-11T04:12:27.920Z] ---> Running in 5df6512dad48 [2021-07-11T04:12:28.518Z] Removing intermediate container 5df6512dad48 [2021-07-11T04:12:28.518Z] ---> e92731211fd2 [2021-07-11T04:12:28.518Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-11T04:12:28.518Z] ---> Running in 2629c92677a7 [2021-07-11T04:12:29.120Z] Removing intermediate container 2629c92677a7 [2021-07-11T04:12:29.120Z] ---> 0e9202920d35 [2021-07-11T04:12:29.120Z] Step 21/23 : LABEL arch=arm64 [2021-07-11T04:12:29.120Z] ---> Running in 2b2adce66265 [2021-07-11T04:12:29.717Z] Removing intermediate container 2b2adce66265 [2021-07-11T04:12:29.717Z] ---> 4182c9e3e889 [2021-07-11T04:12:29.717Z] Step 22/23 : LABEL git_sha=1e0e331debdeb001a9450335735ff56be217e392 [2021-07-11T04:12:29.990Z] ---> Running in 05a5f07fc3af [2021-07-11T04:12:30.264Z] Removing intermediate container 05a5f07fc3af [2021-07-11T04:12:30.264Z] ---> a2b1d9dad1ba [2021-07-11T04:12:30.264Z] Step 23/23 : LABEL version=0.0.0 [2021-07-11T04:12:30.540Z] ---> Running in 0863a905c899 [2021-07-11T04:12:30.816Z] Removing intermediate container 0863a905c899 [2021-07-11T04:12:30.816Z] ---> b5b080347a43 [2021-07-11T04:12:30.816Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-11T04:12:31.093Z] Successfully built b5b080347a43 [2021-07-11T04:12:31.093Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:12:31.760Z] ---> job-cost.sh [2021-07-11T04:12:31.761Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9Wpo [2021-07-11T04:13:10.711Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-11T04:14:32.431Z] lf-activate-venv(): INFO: Adding /tmp/venv-9Wpo/bin to PATH [2021-07-11T04:14:32.431Z] INFO: No Stack... [2021-07-11T04:14:32.431Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-11T04:14:33.022Z] INFO: Archiving Costs [Pipeline] sh [2021-07-11T04:14:33.361Z] + + cat /w/workspace/device-sdk-go/25/archives/cost.csvcut [2021-07-11T04:14:33.361Z] -d, -f6 [Pipeline] lock [2021-07-11T04:14:33.422Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-25-stack-cost] [2021-07-11T04:14:33.431Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-25-stack-cost] did not exist. Created. [2021-07-11T04:14:33.431Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-11T04:14:33.852Z] /w/workspace/device-sdk-go/25@tmp/durable-1f5d5983/script.sh: 1: /w/workspace/device-sdk-go/25@tmp/durable-1f5d5983/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-11T04:14:34.199Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-11T04:14:34.234Z] Warning: overwriting stash ‘stack-cost’ [2021-07-11T04:14:34.392Z] Stashed 1 file(s) [Pipeline] } [2021-07-11T04:14:34.413Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-25-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-07-11T04:14:34.964Z] provisioning config files... [2021-07-11T04:14:34.986Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config3163404154312272614tmp [Pipeline] { [Pipeline] sh [2021-07-11T04:14:35.330Z] + set +x [2021-07-11T04:14:35.330Z] + bash -s -- [2021-07-11T04:14:35.330Z] + curl -s https://codecov.io/bash [2021-07-11T04:14:35.330Z] [2021-07-11T04:14:35.330Z] _____ _ [2021-07-11T04:14:35.330Z] / ____| | | [2021-07-11T04:14:35.330Z] | | ___ __| | ___ ___ _____ __ [2021-07-11T04:14:35.330Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-11T04:14:35.330Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-11T04:14:35.330Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-11T04:14:35.330Z] Bash-1.0.3 [2021-07-11T04:14:35.330Z] [2021-07-11T04:14:35.330Z] [2021-07-11T04:14:35.330Z] ==> git version 2.24.4 found [2021-07-11T04:14:35.330Z] ==> 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-07-11T04:14:35.330Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-11T04:14:35.330Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-11T04:14:35.330Z] ==> Jenkins CI detected. [2021-07-11T04:14:35.330Z] project root: . [2021-07-11T04:14:35.330Z] --> token set from env [2021-07-11T04:14:35.330Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-11T04:14:35.330Z] ==> Running gcov in . (disable via -X gcov) [2021-07-11T04:14:35.330Z] ==> Python coveragepy not found [2021-07-11T04:14:35.330Z] ==> Searching for coverage reports in: [2021-07-11T04:14:35.330Z] + . [2021-07-11T04:14:35.330Z] -> Found 1 reports [2021-07-11T04:14:35.330Z] ==> Detecting git/mercurial file structure [2021-07-11T04:14:35.594Z] ==> Reading reports [2021-07-11T04:14:35.594Z] + ./coverage.out bytes=125634 [2021-07-11T04:14:35.594Z] ==> Appending adjustments [2021-07-11T04:14:35.594Z] https://docs.codecov.io/docs/fixing-reports [2021-07-11T04:14:35.858Z] + Found adjustments [2021-07-11T04:14:35.858Z] ==> Gzipping contents [2021-07-11T04:14:35.858Z] 16K /tmp/codecov.yKfy15.gz [2021-07-11T04:14:35.858Z] ==> Uploading reports [2021-07-11T04:14:35.858Z] url: https://codecov.io [2021-07-11T04:14:35.858Z] query: branch=PR-971&commit=1e0e331debdeb001a9450335735ff56be217e392&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-07-11T04:14:35.858Z] -> Pinging Codecov [2021-07-11T04:14:35.858Z] https://codecov.io/upload/v4?package=bash-1.0.3&branch=PR-971&commit=1e0e331debdeb001a9450335735ff56be217e392&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-07-11T04:14:36.120Z] -> Uploading to [2021-07-11T04:14:36.120Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-11/7E55EF52A471D76F132DFD9A03CDDE97/1e0e331debdeb001a9450335735ff56be217e392/516198ae-b906-4ff8-aa6f-6cdad219d8a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210711T041436Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f57c6e616d1e3670eca8e5612aff93b5e5d04014552e5f2d578a8f803545bcd2 [2021-07-11T04:14:36.120Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-11T04:14:36.120Z] Dload Upload Total Spent Left Speed [2021-07-11T04:14:36.693Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16028 0 0 100 16028 0 33549 --:--:-- --:--:-- --:--:-- 33531 100 16028 0 0 100 16028 0 33538 --:--:-- --:--:-- --:--:-- 33531 [2021-07-11T04:14:36.693Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1e0e331debdeb001a9450335735ff56be217e392 [Pipeline] } [2021-07-11T04:14:36.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:14:38.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:14:38.835Z] ---> package-listing.sh [2021-07-11T04:14:38.835Z] ++ facter osfamily [2021-07-11T04:14:38.835Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-11T04:14:39.097Z] + OS_FAMILY=redhat [2021-07-11T04:14:39.097Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-07-11T04:14:39.097Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-11T04:14:39.097Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-11T04:14:39.097Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-11T04:14:39.097Z] + PACKAGES=/tmp/packages_start.txt [2021-07-11T04:14:39.097Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-07-11T04:14:39.097Z] + PACKAGES=/tmp/packages_end.txt [2021-07-11T04:14:39.097Z] + case "${OS_FAMILY}" in [2021-07-11T04:14:39.097Z] + sort [2021-07-11T04:14:39.097Z] + rpm -qa [2021-07-11T04:14:39.670Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-11T04:14:39.670Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-11T04:14:39.670Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-11T04:14:39.670Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-07-11T04:14:39.670Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-07-11T04:14:39.670Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-07-11T04:14:39.685Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-11T04:14:39.982Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:14:40.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-11T04:14:40.555Z] [2021-07-11T04:14:40.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-11T04:14:40.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-11T04:14:40.872Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-11T04:14:40.872Z] df20fa9351a1: Pulling fs layer [2021-07-11T04:14:40.872Z] 36b3adc4ff6f: Pulling fs layer [2021-07-11T04:14:40.872Z] 8ad3a11d3b57: Pulling fs layer [2021-07-11T04:14:40.872Z] 46f8f816bc3b: Pulling fs layer [2021-07-11T04:14:40.872Z] 93b61091891f: Pulling fs layer [2021-07-11T04:14:40.872Z] 93b9cdb0e59b: Pulling fs layer [2021-07-11T04:14:40.872Z] 5e14af77c1be: Pulling fs layer [2021-07-11T04:14:40.872Z] 01666e4c0597: Pulling fs layer [2021-07-11T04:14:40.872Z] aa168da1d23b: Pulling fs layer [2021-07-11T04:14:40.872Z] 93b9cdb0e59b: Waiting [2021-07-11T04:14:40.872Z] 5e14af77c1be: Waiting [2021-07-11T04:14:40.872Z] 01666e4c0597: Waiting [2021-07-11T04:14:40.872Z] aa168da1d23b: Waiting [2021-07-11T04:14:40.872Z] 46f8f816bc3b: Waiting [2021-07-11T04:14:40.872Z] 93b61091891f: Waiting [2021-07-11T04:14:40.872Z] 36b3adc4ff6f: Verifying Checksum [2021-07-11T04:14:40.872Z] 36b3adc4ff6f: Download complete [2021-07-11T04:14:40.872Z] 46f8f816bc3b: Verifying Checksum [2021-07-11T04:14:40.872Z] 46f8f816bc3b: Download complete [2021-07-11T04:14:40.872Z] df20fa9351a1: Verifying Checksum [2021-07-11T04:14:40.872Z] df20fa9351a1: Download complete [2021-07-11T04:14:41.137Z] 93b9cdb0e59b: Verifying Checksum [2021-07-11T04:14:41.137Z] 93b9cdb0e59b: Download complete [2021-07-11T04:14:41.137Z] 5e14af77c1be: Verifying Checksum [2021-07-11T04:14:41.137Z] 5e14af77c1be: Download complete [2021-07-11T04:14:41.137Z] 01666e4c0597: Verifying Checksum [2021-07-11T04:14:41.137Z] 01666e4c0597: Download complete [2021-07-11T04:14:41.137Z] df20fa9351a1: Pull complete [2021-07-11T04:14:41.402Z] 36b3adc4ff6f: Pull complete [2021-07-11T04:14:41.402Z] 8ad3a11d3b57: Verifying Checksum [2021-07-11T04:14:41.402Z] 8ad3a11d3b57: Download complete [2021-07-11T04:14:41.977Z] 8ad3a11d3b57: Pull complete [2021-07-11T04:14:41.977Z] 46f8f816bc3b: Pull complete [2021-07-11T04:14:42.549Z] 93b61091891f: Pull complete [2021-07-11T04:14:42.549Z] 93b9cdb0e59b: Pull complete [2021-07-11T04:14:42.817Z] 5e14af77c1be: Pull complete [2021-07-11T04:14:42.817Z] 01666e4c0597: Pull complete [2021-07-11T04:14:43.404Z] aa168da1d23b: Verifying Checksum [2021-07-11T04:14:43.404Z] aa168da1d23b: Download complete [2021-07-11T04:14:48.756Z] aa168da1d23b: Pull complete [2021-07-11T04:14:48.756Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-11T04:14:48.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-11T04:14:48.756Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-11T04:14:48.855Z] prd-centos7-docker-4c-2g-2445 does not seem to be running inside a container [2021-07-11T04:14:48.906Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-11T04:14:52.056Z] $ docker top 658d0903949c1905f213ac3b75efe6590af3d8fc23e1ec25407600951142eb14 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-11T04:14:52.458Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-11T04:14:52.759Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-11T04:14:53.067Z] + ls /var/log/sa-host [2021-07-11T04:14:53.067Z] + sadf -c /var/log/sa-host/sa05 [2021-07-11T04:14:53.067Z] file_magic: OK [2021-07-11T04:14:53.067Z] HZ: Using current value: 100 [2021-07-11T04:14:53.067Z] file_header: OK [2021-07-11T04:14:53.067Z] 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-07-11T04:14:53.067Z] Statistics: [2021-07-11T04:14:53.067Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-11T04:14:53.067Z] File successfully converted to sysstat format version 12.2.1 [2021-07-11T04:14:53.067Z] + sadf -c /var/log/sa-host/sa11 [2021-07-11T04:14:53.067Z] file_magic: OK [2021-07-11T04:14:53.067Z] HZ: Using current value: 100 [2021-07-11T04:14:53.067Z] file_header: OK [2021-07-11T04:14:53.067Z] 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-07-11T04:14:53.067Z] Statistics: [2021-07-11T04:14:53.067Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-11T04:14:53.067Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-11T04:14:53.302Z] provisioning config files... [2021-07-11T04:14:53.323Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config5548847129975164959tmp [Pipeline] { [Pipeline] echo [2021-07-11T04:14:53.345Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:14:53.643Z] ---> create-netrc.sh [Pipeline] } [2021-07-11T04:14:53.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:14:54.024Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-11T04:14:54.036Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:14:54.347Z] ---> sudo-logs.sh [2021-07-11T04:14:54.347Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-11T04:14:54.375Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:14:54.677Z] ---> job-cost.sh [2021-07-11T04:14:54.677Z] lf-activate-venv: SKIPPING [2021-07-11T04:14:54.677Z] DEBUG: total: 0.18000000715255737 [2021-07-11T04:14:54.677Z] INFO: Retrieving Stack Cost... [2021-07-11T04:14:56.071Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-11T04:14:56.334Z] INFO: Archiving Costs [Pipeline] echo [2021-07-11T04:14:56.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-11T04:14:56.649Z] ---> logs-deploy.sh [2021-07-11T04:14:56.649Z] lf-activate-venv: SKIPPING [2021-07-11T04:14:56.649Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/25 [2021-07-11T04:14:56.649Z] INFO: archiving workspace using pattern(s): [2021-07-11T04:14:57.603Z] Archives upload complete. [2021-07-11T04:14:57.603Z] INFO: archiving logs to Nexus [2021-07-11T04:14:58.204Z] ---> uname -a: [2021-07-11T04:14:58.204Z] Linux prd-centos7-docker-4c-2g-2445.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-07-11T04:14:58.204Z] [2021-07-11T04:14:58.204Z]