Pull request #971 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b36fa664a0fc32a067a6ffef3e6748f91f7dce10+0db703d64fc08bffb80d8974c9a71386e8567543 (8700e152bf6a18ab2afc38a09c004e694825d50c) 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-ssh2849488838914843235.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh8185897494394819312.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh4342170131671397840.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh9036804042726775498.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-ssh973854345369336645.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1102 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-ssh251890284718094973.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh6091527164569404958.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/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0db703d64fc08bffb80d8974c9a71386e8567543 into PR head commit b36fa664a0fc32a067a6ffef3e6748f91f7dce10 Merge succeeded, producing b36fa664a0fc32a067a6ffef3e6748f91f7dce10 Checking out Revision b36fa664a0fc32a067a6ffef3e6748f91f7dce10 (PR-971) > git config core.sparsecheckout # timeout=10 > git checkout -f b36fa664a0fc32a067a6ffef3e6748f91f7dce10 # 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-ssh3297145448578285186.key > git merge 0db703d64fc08bffb80d8974c9a71386e8567543 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b36fa664a0fc32a067a6ffef3e6748f91f7dce10 # 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. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T08:55:30.097Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T08:55:30.195Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T08:55:30.234Z] ========================================================= [2021-06-24T08:55:30.234Z] EdgeX Global Pipelines Version Info [2021-06-24T08:55:30.234Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1aacb452a84373b3a913000669f57ed43d51985a # timeout=10 [2021-06-24T08:55:31.826Z] ------------------- [2021-06-24T08:55:31.826Z] stable info: [2021-06-24T08:55:31.826Z] ------------------- [2021-06-24T08:55:31.826Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T08:55:31.826Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T08:55:31.826Z] Message: update stable to v1.0.195 [2021-06-24T08:55:36.743Z] ------------------- [2021-06-24T08:55:36.743Z] experimental info: [2021-06-24T08:55:36.743Z] ------------------- [2021-06-24T08:55:36.743Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T08:55:36.743Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T08:55:36.743Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T08:55:36.962Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-24T08:55:36.987Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-24T08:55:37.013Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T08:55:37.038Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T08:55:37.062Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T08:55:37.086Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T08:55:37.109Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T08:55:37.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T08:55:37.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-24T08:55:37.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T08:55:37.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T08:55:37.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-24T08:55:37.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T08:55:37.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T08:55:37.308Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T08:55:37.380Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T08:55:37.404Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T08:55:37.428Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T08:55:37.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T08:55:37.476Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T08:55:37.501Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-24T08:55:37.524Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-24T08:55:37.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T08:55:37.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T08:55:37.598Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T08:55:37.622Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T08:55:37.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-24T08:55:37.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-24T08:55:37.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-24T08:55:37.716Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [Pipeline] echo [2021-06-24T08:55:37.740Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b36fa66 [Pipeline] echo [2021-06-24T08:55:37.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T08:55:37.887Z] provisioning config files... [2021-06-24T08:55:37.915Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config1282475145001507228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T08:55:38.301Z] ---> docker-login.sh [2021-06-24T08:55:38.301Z] nexus3.edgexfoundry.org:10001 [2021-06-24T08:55:38.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:55:38.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:55:38.584Z] Configure a credential helper to remove this warning. See [2021-06-24T08:55:38.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:55:38.584Z] [2021-06-24T08:55:38.584Z] Login Succeeded [2021-06-24T08:55:38.584Z] nexus3.edgexfoundry.org:10002 [2021-06-24T08:55:38.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:55:38.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:55:38.861Z] Configure a credential helper to remove this warning. See [2021-06-24T08:55:38.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:55:38.861Z] [2021-06-24T08:55:38.861Z] Login Succeeded [2021-06-24T08:55:38.861Z] nexus3.edgexfoundry.org:10003 [2021-06-24T08:55:38.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:55:38.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:55:38.861Z] Configure a credential helper to remove this warning. See [2021-06-24T08:55:38.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:55:38.861Z] [2021-06-24T08:55:38.861Z] Login Succeeded [2021-06-24T08:55:38.861Z] nexus3.edgexfoundry.org:10004 [2021-06-24T08:55:39.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:55:39.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:55:39.127Z] Configure a credential helper to remove this warning. See [2021-06-24T08:55:39.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:55:39.127Z] [2021-06-24T08:55:39.127Z] Login Succeeded [2021-06-24T08:55:39.127Z] docker.io [2021-06-24T08:55:39.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:55:39.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:55:39.398Z] Configure a credential helper to remove this warning. See [2021-06-24T08:55:39.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:55:39.398Z] [2021-06-24T08:55:39.398Z] Login Succeeded [2021-06-24T08:55:39.398Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T08:55:39.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T08:55:39.933Z] + git log --format=format:%s -1 b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [Pipeline] echo [2021-06-24T08:55:39.975Z] GIT_COMMIT: b36fa664a0fc32a067a6ffef3e6748f91f7dce10, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-06-24T08:55:40.003Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T08:55:40.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T08:55:40.921Z] [2021-06-24T08:55:40.921Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T08:55:41.493Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T08:55:41.493Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T08:55:41.493Z] 31603596830f: Pulling fs layer [2021-06-24T08:55:41.493Z] 54011a49482f: Pulling fs layer [2021-06-24T08:55:41.493Z] a6820b24f6d8: Pulling fs layer [2021-06-24T08:55:41.493Z] f581987b2513: Pulling fs layer [2021-06-24T08:55:41.493Z] f581987b2513: Waiting [2021-06-24T08:55:41.788Z] 54011a49482f: Verifying Checksum [2021-06-24T08:55:41.789Z] 54011a49482f: Download complete [2021-06-24T08:55:42.411Z] 31603596830f: Verifying Checksum [2021-06-24T08:55:42.411Z] 31603596830f: Download complete [2021-06-24T08:55:42.710Z] a6820b24f6d8: Verifying Checksum [2021-06-24T08:55:42.710Z] a6820b24f6d8: Download complete [2021-06-24T08:55:42.710Z] 31603596830f: Pull complete [2021-06-24T08:55:42.710Z] f581987b2513: Verifying Checksum [2021-06-24T08:55:42.710Z] f581987b2513: Download complete [2021-06-24T08:55:42.710Z] 54011a49482f: Pull complete [2021-06-24T08:55:43.543Z] a6820b24f6d8: Pull complete [2021-06-24T08:55:43.543Z] f581987b2513: Pull complete [2021-06-24T08:55:43.543Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T08:55:43.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T08:55:43.543Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T08:55:43.627Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-06-24T08:55:43.688Z] $ 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-06-24T08:55:46.304Z] $ docker top 48ec83e18ae3e12c00b7801524d34a4735e1f828b7cd635ca19f8ac93f775338 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T08:55:46.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T08:55:46.443Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T08:55:46.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T08:55:46.593Z] $ docker exec 48ec83e18ae3e12c00b7801524d34a4735e1f828b7cd635ca19f8ac93f775338 ssh-agent [2021-06-24T08:55:46.709Z] SSH_AUTH_SOCK=/tmp/ssh-0vAPxoXdK3yL/agent.14 [2021-06-24T08:55:46.709Z] SSH_AGENT_PID=21 [2021-06-24T08:55:46.719Z] Running ssh-add (command line suppressed) [2021-06-24T08:55:46.814Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_5231786558272328011.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_5231786558272328011.key) [2021-06-24T08:55:46.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T08:55:47.231Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T08:55:47.247Z] $ docker exec --env ******** --env ******** 48ec83e18ae3e12c00b7801524d34a4735e1f828b7cd635ca19f8ac93f775338 ssh-agent -k [2021-06-24T08:55:47.344Z] unset SSH_AUTH_SOCK; [2021-06-24T08:55:47.344Z] unset SSH_AGENT_PID; [2021-06-24T08:55:47.344Z] echo Agent pid 21 killed; [2021-06-24T08:55:47.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T08:55:47.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T08:55:47.414Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T08:55:47.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T08:55:47.515Z] $ docker exec 48ec83e18ae3e12c00b7801524d34a4735e1f828b7cd635ca19f8ac93f775338 ssh-agent [2021-06-24T08:55:47.639Z] SSH_AUTH_SOCK=/tmp/ssh-vxNMUrJJIw2r/agent.54 [2021-06-24T08:55:47.639Z] SSH_AGENT_PID=61 [2021-06-24T08:55:47.655Z] Running ssh-add (command line suppressed) [2021-06-24T08:55:47.744Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_2419884295096130922.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_2419884295096130922.key) [2021-06-24T08:55:47.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T08:55:48.130Z] + git semver init [2021-06-24T08:55:48.130Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T08:55:48.130Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-24T08:55:48.130Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T08:55:48.130Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T08:55:48.130Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T08:55:48.130Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T08:55:48.130Z] # $SEMVER_BRANCH = PR-971 [2021-06-24T08:55:48.130Z] # $SEMVER_TEMP = /tmp/semver-814713157 [2021-06-24T08:55:48.130Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-24T08:55:48.777Z] # '/tmp/semver-814713157' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-24T08:55:48.777Z] # -> Force: false [2021-06-24T08:55:48.777Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-24T08:55:48.787Z] $ docker exec --env ******** --env ******** 48ec83e18ae3e12c00b7801524d34a4735e1f828b7cd635ca19f8ac93f775338 ssh-agent -k [2021-06-24T08:55:48.894Z] unset SSH_AUTH_SOCK; [2021-06-24T08:55:48.894Z] unset SSH_AGENT_PID; [2021-06-24T08:55:48.894Z] echo Agent pid 61 killed; [2021-06-24T08:55:48.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T08:55:51.003Z] + git semver [Pipeline] } [2021-06-24T08:55:51.054Z] $ docker stop --time=1 48ec83e18ae3e12c00b7801524d34a4735e1f828b7cd635ca19f8ac93f775338 [2021-06-24T08:55:52.688Z] $ docker rm -f 48ec83e18ae3e12c00b7801524d34a4735e1f828b7cd635ca19f8ac93f775338 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T08:55:53.095Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T08:55:53.733Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T08:55:53.737Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-24T08:56:09.070Z] Still waiting to schedule task [2021-06-24T08:56:09.070Z] ‘prd-centos7-docker-4c-2g-1100’ is offline [2021-06-24T08:56:09.071Z] ‘prd-centos7-docker-4c-2g-1104’ is offline [2021-06-24T08:56:09.071Z] ‘prd-centos7-docker-4c-2g-1105’ is offline [2021-06-24T08:56:09.071Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-24T08:56:09.072Z] Still waiting to schedule task [2021-06-24T08:56:09.073Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1101’ [2021-06-24T08:56:35.767Z] Running on prd-centos7-docker-4c-2g-1105 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-24T08:56:35.787Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2021-06-24T08:56:35.900Z] Selected Git installation does not exist. Using Default [2021-06-24T08:56:35.900Z] The recommended git tool is: NONE [2021-06-24T08:56:41.181Z] using credential edgex-jenkins-ssh [2021-06-24T08:56:41.197Z] Cloning the remote Git repository [2021-06-24T08:56:41.219Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T08:56:41.290Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2021-06-24T08:56:41.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T08:56:41.342Z] > git --version # timeout=10 [2021-06-24T08:56:41.354Z] > git --version # 'git version 2.24.4' [2021-06-24T08:56:41.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T08:56:41.448Z] [INFO] Currently running in a labeled security context [2021-06-24T08:56:41.449Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T08:56:41.449Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/11@tmp/jenkins-gitclient-ssh7109823985182016968.key [2021-06-24T08:56:41.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T08:56:42.664Z] Merging remotes/origin/master commit 0db703d64fc08bffb80d8974c9a71386e8567543 into PR head commit b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [2021-06-24T08:56:42.213Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T08:56:42.219Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T08:56:42.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T08:56:42.266Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T08:56:42.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T08:56:42.268Z] [INFO] Currently running in a labeled security context [2021-06-24T08:56:42.268Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T08:56:42.268Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/11@tmp/jenkins-gitclient-ssh3512378865841764464.key [2021-06-24T08:56:42.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T08:56:42.924Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T08:56:42.934Z] > git checkout -f b36fa664a0fc32a067a6ffef3e6748f91f7dce10 # timeout=10 [2021-06-24T08:56:43.041Z] Merge succeeded, producing b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [2021-06-24T08:56:43.042Z] Checking out Revision b36fa664a0fc32a067a6ffef3e6748f91f7dce10 (PR-971) [2021-06-24T08:56:42.974Z] > git remote # timeout=10 [2021-06-24T08:56:42.985Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T08:56:42.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T08:56:42.989Z] [INFO] Currently running in a labeled security context [2021-06-24T08:56:42.989Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T08:56:42.990Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/11@tmp/jenkins-gitclient-ssh158374171254617283.key [2021-06-24T08:56:42.994Z] > git merge 0db703d64fc08bffb80d8974c9a71386e8567543 # timeout=10 [2021-06-24T08:56:43.030Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T08:56:43.041Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T08:56:43.047Z] > git checkout -f b36fa664a0fc32a067a6ffef3e6748f91f7dce10 # timeout=10 [2021-06-24T08:56:47.212Z] 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-06-24T08:56:48.745Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T08:56:49.143Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T08:56:49.785Z] + true [2021-06-24T08:56:49.785Z] + sudo service docker restart [2021-06-24T08:56:49.785Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T08:57:08.429Z] provisioning config files... [2021-06-24T08:57:08.490Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config5326641488782296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T08:57:08.867Z] ---> docker-login.sh [2021-06-24T08:57:08.867Z] nexus3.edgexfoundry.org:10001 [2021-06-24T08:57:08.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:57:09.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:57:09.215Z] Configure a credential helper to remove this warning. See [2021-06-24T08:57:09.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:57:09.215Z] [2021-06-24T08:57:09.215Z] Login Succeeded [2021-06-24T08:57:09.215Z] nexus3.edgexfoundry.org:10002 [2021-06-24T08:57:09.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:57:09.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:57:09.215Z] Configure a credential helper to remove this warning. See [2021-06-24T08:57:09.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:57:09.216Z] [2021-06-24T08:57:09.216Z] Login Succeeded [2021-06-24T08:57:09.216Z] nexus3.edgexfoundry.org:10003 [2021-06-24T08:57:09.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:57:09.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:57:09.751Z] Configure a credential helper to remove this warning. See [2021-06-24T08:57:09.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:57:09.751Z] [2021-06-24T08:57:09.751Z] Login Succeeded [2021-06-24T08:57:09.751Z] nexus3.edgexfoundry.org:10004 [2021-06-24T08:57:09.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:57:09.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:57:09.751Z] Configure a credential helper to remove this warning. See [2021-06-24T08:57:09.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:57:09.751Z] [2021-06-24T08:57:09.751Z] Login Succeeded [2021-06-24T08:57:09.751Z] docker.io [2021-06-24T08:57:09.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:57:10.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:57:10.129Z] Configure a credential helper to remove this warning. See [2021-06-24T08:57:10.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:57:10.129Z] [2021-06-24T08:57:10.129Z] Login Succeeded [2021-06-24T08:57:10.129Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T08:57:10.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T08:57:10.430Z] ========================================================= [2021-06-24T08:57:10.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T08:57:10.430Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T08:57:10.783Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-24T08:57:10.783Z] Sending build context to Docker daemon 2.699MB [2021-06-24T08:57:10.783Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T08:57:10.783Z] Step 2/8 : FROM ${BASE} [2021-06-24T08:57:10.783Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T08:57:10.783Z] 540db60ca938: Pulling fs layer [2021-06-24T08:57:10.783Z] adcc1eea9eea: Pulling fs layer [2021-06-24T08:57:10.783Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T08:57:10.783Z] 0510c868ecb4: Pulling fs layer [2021-06-24T08:57:10.783Z] afea3b2eda06: Pulling fs layer [2021-06-24T08:57:10.783Z] 7809a108b3ef: Pulling fs layer [2021-06-24T08:57:10.783Z] f706445af74f: Pulling fs layer [2021-06-24T08:57:10.783Z] afea3b2eda06: Waiting [2021-06-24T08:57:10.783Z] 7809a108b3ef: Waiting [2021-06-24T08:57:10.783Z] f706445af74f: Waiting [2021-06-24T08:57:11.051Z] 4c4ab2625f07: Download complete [2021-06-24T08:57:11.051Z] adcc1eea9eea: Verifying Checksum [2021-06-24T08:57:11.051Z] adcc1eea9eea: Download complete [2021-06-24T08:57:11.051Z] afea3b2eda06: Verifying Checksum [2021-06-24T08:57:11.051Z] afea3b2eda06: Download complete [2021-06-24T08:57:11.051Z] 7809a108b3ef: Verifying Checksum [2021-06-24T08:57:11.051Z] 7809a108b3ef: Download complete [2021-06-24T08:57:11.051Z] 540db60ca938: Download complete [2021-06-24T08:57:11.323Z] 540db60ca938: Pull complete [2021-06-24T08:57:11.639Z] adcc1eea9eea: Pull complete [2021-06-24T08:57:11.639Z] 4c4ab2625f07: Pull complete [2021-06-24T08:57:13.727Z] f706445af74f: Verifying Checksum [2021-06-24T08:57:13.727Z] f706445af74f: Download complete [2021-06-24T08:57:14.316Z] 0510c868ecb4: Verifying Checksum [2021-06-24T08:57:14.316Z] 0510c868ecb4: Download complete [2021-06-24T08:57:17.701Z] 0510c868ecb4: Pull complete [2021-06-24T08:57:17.701Z] afea3b2eda06: Pull complete [2021-06-24T08:57:17.701Z] 7809a108b3ef: Pull complete [2021-06-24T08:57:19.141Z] f706445af74f: Pull complete [2021-06-24T08:57:19.141Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T08:57:19.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T08:57:19.141Z] ---> b068be0155e3 [2021-06-24T08:57:19.141Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T08:57:24.533Z] ---> Running in 5fc164bcda82 [2021-06-24T08:57:24.803Z] Removing intermediate container 5fc164bcda82 [2021-06-24T08:57:24.803Z] ---> 519c8ebe4fd3 [2021-06-24T08:57:24.803Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T08:57:24.803Z] ---> Running in c1d7dfdf0ec6 [2021-06-24T08:57:25.401Z] Removing intermediate container c1d7dfdf0ec6 [2021-06-24T08:57:25.401Z] ---> 0aca78215372 [2021-06-24T08:57:25.401Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T08:57:25.401Z] ---> Running in e8eab0394d6c [2021-06-24T08:57:25.680Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T08:57:26.665Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T08:57:27.296Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T08:57:27.296Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T08:57:27.581Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T08:57:27.581Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T08:57:27.581Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T08:57:27.864Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T08:57:27.864Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T08:57:27.864Z] OK: 150 MiB in 46 packages [2021-06-24T08:57:28.169Z] Removing intermediate container e8eab0394d6c [2021-06-24T08:57:28.169Z] ---> f08fba2519ee [2021-06-24T08:57:28.169Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T08:57:28.468Z] ---> Running in b4e0f02d9de5 [2021-06-24T08:57:28.468Z] Removing intermediate container b4e0f02d9de5 [2021-06-24T08:57:28.468Z] ---> d61687001624 [2021-06-24T08:57:28.468Z] Step 7/8 : COPY . . [2021-06-24T08:57:28.736Z] ---> be60f9ebe165 [2021-06-24T08:57:28.736Z] Step 8/8 : RUN go mod download [2021-06-24T08:57:28.736Z] ---> Running in 6e2f69ff6853 [2021-06-24T08:57:44.430Z] Removing intermediate container 6e2f69ff6853 [2021-06-24T08:57:44.430Z] ---> 5604d1e49762 [2021-06-24T08:57:44.430Z] Successfully built 5604d1e49762 [2021-06-24T08:57:44.430Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T08:57:44.787Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T08:57:44.787Z] . [Pipeline] withDockerContainer [2021-06-24T08:57:45.009Z] prd-centos7-docker-4c-2g-1105 does not seem to be running inside a container [2021-06-24T08:57:45.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-24T08:57:45.560Z] $ docker top 4c37c829386a79a3f02f5c83037a317daf3e8d3df1437c06498f2787986b6b8e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T08:57:45.989Z] + go version [2021-06-24T08:57:45.989Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T08:57:46.057Z] $ docker stop --time=1 4c37c829386a79a3f02f5c83037a317daf3e8d3df1437c06498f2787986b6b8e [2021-06-24T08:57:47.525Z] $ docker rm -f 4c37c829386a79a3f02f5c83037a317daf3e8d3df1437c06498f2787986b6b8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T08:57:48.313Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T08:57:48.313Z] . [Pipeline] withDockerContainer [2021-06-24T08:57:48.641Z] prd-centos7-docker-4c-2g-1105 does not seem to be running inside a container [2021-06-24T08:57:49.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-24T08:57:49.455Z] $ docker top d198bf0ad16f0a6870db5284ec77b46421ea14fe0cf984609cbe9cb74a7709a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T08:57:50.024Z] + go mod tidy [Pipeline] sh [2021-06-24T08:57:50.751Z] + make test [2021-06-24T08:57:50.751Z] go mod tidy [2021-06-24T08:57:50.751Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T08:57:56.329Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T08:58:23.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T08:58:23.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T08:58:23.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T08:58:25.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 24.2% of statements [2021-06-24T08:58:25.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T08:58:25.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 28.1% of statements [2021-06-24T08:58:26.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-06-24T08:58:26.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements [2021-06-24T08:58:26.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T08:58:26.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T08:58:26.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T08:58:27.120Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1106 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-24T08:58:27.138Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [2021-06-24T08:58:27.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-06-24T08:58:27.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [Pipeline] checkout [2021-06-24T08:58:27.367Z] Selected Git installation does not exist. Using Default [2021-06-24T08:58:27.367Z] The recommended git tool is: NONE [2021-06-24T08:58:33.653Z] using credential edgex-jenkins-ssh [2021-06-24T08:58:33.679Z] Cloning the remote Git repository [2021-06-24T08:58:33.788Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 6.064s coverage: 83.3% of statements [2021-06-24T08:58:33.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T08:58:33.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T08:58:33.788Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 58.0% of statements [2021-06-24T08:58:33.788Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.806s coverage: 89.2% of statements [2021-06-24T08:58:33.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T08:58:33.788Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements [2021-06-24T08:58:33.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T08:58:33.788Z] GO111MODULE=on go vet ./... [2021-06-24T08:58:33.742Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T08:58:33.880Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2021-06-24T08:58:34.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T08:58:34.051Z] > git --version # timeout=10 [2021-06-24T08:58:34.100Z] > git --version # 'git version 2.17.1' [2021-06-24T08:58:34.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T08:58:34.275Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T08:58:35.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T08:58:35.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T08:58:35.643Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T08:58:35.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T08:58:35.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T08:58:35.696Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T08:58:36.256Z] Merging remotes/origin/master commit 0db703d64fc08bffb80d8974c9a71386e8567543 into PR head commit b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [2021-06-24T08:58:36.498Z] Merge succeeded, producing b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [2021-06-24T08:58:36.499Z] Checking out Revision b36fa664a0fc32a067a6ffef3e6748f91f7dce10 (PR-971) [2021-06-24T08:58:36.275Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T08:58:36.291Z] > git checkout -f b36fa664a0fc32a067a6ffef3e6748f91f7dce10 # timeout=10 [2021-06-24T08:58:36.395Z] > git remote # timeout=10 [2021-06-24T08:58:36.412Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T08:58:36.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T08:58:36.451Z] > git merge 0db703d64fc08bffb80d8974c9a71386e8567543 # timeout=10 [2021-06-24T08:58:36.476Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T08:58:36.503Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T08:58:36.513Z] > git checkout -f b36fa664a0fc32a067a6ffef3e6748f91f7dce10 # timeout=10 [2021-06-24T08:58:41.423Z] 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-06-24T08:58:42.949Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T08:58:43.523Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T08:58:43.936Z] + true [2021-06-24T08:58:43.936Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T08:59:04.685Z] provisioning config files... [2021-06-24T08:59:04.727Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config3676000248315873195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T08:59:05.127Z] ---> docker-login.sh [2021-06-24T08:59:05.127Z] nexus3.edgexfoundry.org:10001 [2021-06-24T08:59:06.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:59:06.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:59:06.414Z] Configure a credential helper to remove this warning. See [2021-06-24T08:59:06.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:59:06.414Z] [2021-06-24T08:59:06.414Z] Login Succeeded [2021-06-24T08:59:06.414Z] nexus3.edgexfoundry.org:10002 [2021-06-24T08:59:06.477Z] gofmt -l . [2021-06-24T08:59:06.477Z] [ "`gofmt -l .`" = "" ] [2021-06-24T08:59:06.477Z] ./bin/test-attribution-txt.sh [2021-06-24T08:59:06.477Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T08:59:06.497Z] $ docker stop --time=1 d198bf0ad16f0a6870db5284ec77b46421ea14fe0cf984609cbe9cb74a7709a0 [2021-06-24T08:59:07.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:59:07.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:59:07.038Z] Configure a credential helper to remove this warning. See [2021-06-24T08:59:07.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:59:07.038Z] [2021-06-24T08:59:07.038Z] Login Succeeded [2021-06-24T08:59:07.038Z] nexus3.edgexfoundry.org:10003 [2021-06-24T08:59:07.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:59:07.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:59:07.655Z] Configure a credential helper to remove this warning. See [2021-06-24T08:59:07.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:59:07.655Z] [2021-06-24T08:59:07.655Z] Login Succeeded [2021-06-24T08:59:07.655Z] nexus3.edgexfoundry.org:10004 [2021-06-24T08:59:08.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:59:08.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:59:08.265Z] Configure a credential helper to remove this warning. See [2021-06-24T08:59:08.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:59:08.265Z] [2021-06-24T08:59:08.265Z] Login Succeeded [2021-06-24T08:59:08.265Z] docker.io [2021-06-24T08:59:08.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T08:59:09.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T08:59:09.163Z] Configure a credential helper to remove this warning. See [2021-06-24T08:59:09.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T08:59:09.163Z] [2021-06-24T08:59:09.163Z] Login Succeeded [2021-06-24T08:59:09.163Z] ---> docker-login.sh ends [2021-06-24T08:59:13.880Z] $ docker rm -f d198bf0ad16f0a6870db5284ec77b46421ea14fe0cf984609cbe9cb74a7709a0 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-06-24T08:59:14.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-24T08:59:14.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-06-24T08:59:14.475Z] ========================================================= [2021-06-24T08:59:14.475Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T08:59:14.475Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T08:59:14.709Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-06-24T08:59:14.853Z] + 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 . [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-24T08:59:15.477Z] Sending build context to Docker daemon 2.698MB [2021-06-24T08:59:15.477Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T08:59:15.477Z] Step 2/8 : FROM ${BASE} [2021-06-24T08:59:15.774Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T08:59:15.774Z] 595b0fe564bb: Pulling fs layer [2021-06-24T08:59:15.774Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T08:59:15.774Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T08:59:15.774Z] ba82ee9f976e: Pulling fs layer [2021-06-24T08:59:15.774Z] 506bd15cee9f: Pulling fs layer [2021-06-24T08:59:15.774Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T08:59:15.774Z] 618dc40b7e24: Pulling fs layer [2021-06-24T08:59:15.774Z] 75a0a4a0db45: Waiting [2021-06-24T08:59:15.774Z] ba82ee9f976e: Waiting [2021-06-24T08:59:15.774Z] 506bd15cee9f: Waiting [2021-06-24T08:59:15.774Z] 618dc40b7e24: Waiting [2021-06-24T08:59:15.774Z] 5b7225fbf94c: Verifying Checksum [2021-06-24T08:59:15.774Z] 5b7225fbf94c: Download complete [2021-06-24T08:59:15.774Z] 3088b5b3c5c0: Verifying Checksum [2021-06-24T08:59:15.774Z] 3088b5b3c5c0: Download complete [2021-06-24T08:59:16.062Z] 506bd15cee9f: Download complete [2021-06-24T08:59:16.062Z] 75a0a4a0db45: Download complete [2021-06-24T08:59:16.062Z] 595b0fe564bb: Verifying Checksum [2021-06-24T08:59:16.062Z] 595b0fe564bb: Download complete [2021-06-24T08:59:16.679Z] 595b0fe564bb: Pull complete [2021-06-24T08:59:19.295Z] 3088b5b3c5c0: Pull complete [2021-06-24T08:59:19.295Z] 5b7225fbf94c: Pull complete [2021-06-24T08:59:19.295Z] 618dc40b7e24: Verifying Checksum [2021-06-24T08:59:19.295Z] 618dc40b7e24: Download complete [Pipeline] sh [2021-06-24T08:59:20.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T08:59:20.779Z] ba82ee9f976e: Verifying Checksum [2021-06-24T08:59:20.779Z] ba82ee9f976e: Download complete [2021-06-24T08:59:20.846Z] + ls -al . [2021-06-24T08:59:20.846Z] total 212 [2021-06-24T08:59:20.846Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 24 08:59 . [2021-06-24T08:59:20.846Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 24 08:56 .. [2021-06-24T08:59:20.846Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 08:56 bin [2021-06-24T08:59:20.846Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 24 08:58 coverage.out [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 24 08:56 Dockerfile.build [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 24 08:56 .dockerignore [2021-06-24T08:59:20.846Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 24 08:56 example [2021-06-24T08:59:20.846Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 24 08:56 .git [2021-06-24T08:59:20.846Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 08:56 .github [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 24 08:56 .gitignore [2021-06-24T08:59:20.846Z] -rw-r--r--. 1 jenkins jenkins 569 Jun 24 08:59 go.mod [2021-06-24T08:59:20.846Z] -rw-r--r--. 1 jenkins jenkins 20499 Jun 24 08:57 go.sum [2021-06-24T08:59:20.846Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 24 08:56 internal [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 24 08:56 Jenkinsfile [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 24 08:56 LICENSE [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 24 08:56 Makefile [2021-06-24T08:59:20.846Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 24 08:56 openapi [2021-06-24T08:59:20.846Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 24 08:56 pkg [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 24 08:56 README.md [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 24 08:56 RELEASE-NOTES.txt [2021-06-24T08:59:20.846Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 24 08:56 snap [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 24 08:55 VERSION [2021-06-24T08:59:20.846Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 24 08:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T08:59:21.177Z] + 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=b36fa664a0fc32a067a6ffef3e6748f91f7dce10 --label arch=amd64 --label version=0.0.0 . [2021-06-24T08:59:21.177Z] Sending build context to Docker daemon 2.826MB [2021-06-24T08:59:21.177Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T08:59:21.177Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T08:59:21.177Z] ---> 5604d1e49762 [2021-06-24T08:59:21.177Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T08:59:22.585Z] ---> Running in 9a6dcf83f084 [2021-06-24T08:59:23.165Z] Removing intermediate container 9a6dcf83f084 [2021-06-24T08:59:23.165Z] ---> f86f93f8cb94 [2021-06-24T08:59:23.165Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T08:59:23.429Z] ---> Running in c53536354161 [2021-06-24T08:59:23.693Z] Removing intermediate container c53536354161 [2021-06-24T08:59:23.693Z] ---> 0d72185fddff [2021-06-24T08:59:23.693Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T08:59:23.957Z] ---> Running in 27bd2a8179b6 [2021-06-24T08:59:25.363Z] Removing intermediate container 27bd2a8179b6 [2021-06-24T08:59:25.363Z] ---> 77f191c3d789 [2021-06-24T08:59:25.363Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T08:59:25.363Z] ---> Running in dd40cb768d20 [2021-06-24T08:59:25.363Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T08:59:26.763Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T08:59:27.298Z] OK: 150 MiB in 46 packages [2021-06-24T08:59:27.799Z] Removing intermediate container dd40cb768d20 [2021-06-24T08:59:27.799Z] ---> 4d95e5c93468 [2021-06-24T08:59:27.799Z] Step 7/23 : COPY . . [2021-06-24T08:59:27.799Z] ---> 29400bd85786 [2021-06-24T08:59:27.799Z] Step 8/23 : RUN go mod download [2021-06-24T08:59:27.799Z] ---> Running in 2cbb902ee136 [2021-06-24T08:59:28.405Z] Removing intermediate container 2cbb902ee136 [2021-06-24T08:59:28.405Z] ---> 69df81f50f3b [2021-06-24T08:59:28.405Z] Step 9/23 : RUN make build [2021-06-24T08:59:28.405Z] ---> Running in 31cf015d7110 [2021-06-24T08:59:29.001Z] go mod tidy [2021-06-24T08:59:29.001Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T08:59:33.325Z] ba82ee9f976e: Pull complete [2021-06-24T08:59:33.325Z] 506bd15cee9f: Pull complete [2021-06-24T08:59:33.325Z] 75a0a4a0db45: Pull complete [2021-06-24T08:59:36.007Z] 618dc40b7e24: Pull complete [2021-06-24T08:59:36.007Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T08:59:36.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T08:59:36.007Z] ---> a36622ca3599 [2021-06-24T08:59:36.007Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T08:59:38.080Z] ---> Running in d0559a41531e [2021-06-24T08:59:38.365Z] Removing intermediate container d0559a41531e [2021-06-24T08:59:38.365Z] ---> af4dfc789418 [2021-06-24T08:59:38.365Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T08:59:38.365Z] ---> Running in 1597a1d147b3 [2021-06-24T08:59:39.714Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T08:59:40.679Z] Removing intermediate container 31cf015d7110 [2021-06-24T08:59:40.679Z] ---> f4d0d507ba21 [2021-06-24T08:59:40.679Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T08:59:41.270Z] Removing intermediate container 1597a1d147b3 [2021-06-24T08:59:41.270Z] ---> 7112ac4235dd [2021-06-24T08:59:41.270Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T08:59:41.270Z] ---> Running in 084746c32c48 [2021-06-24T08:59:41.299Z] 3.12: Pulling from library/alpine [2021-06-24T08:59:41.299Z] 339de151aab4: Pulling fs layer [2021-06-24T08:59:41.582Z] 339de151aab4: Verifying Checksum [2021-06-24T08:59:41.582Z] 339de151aab4: Download complete [2021-06-24T08:59:41.582Z] 339de151aab4: Pull complete [2021-06-24T08:59:41.582Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T08:59:41.582Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T08:59:41.582Z] ---> 13621d1b12d4 [2021-06-24T08:59:41.582Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T08:59:41.868Z] ---> Running in 3059e1dc34b4 [2021-06-24T08:59:41.868Z] Removing intermediate container 3059e1dc34b4 [2021-06-24T08:59:41.868Z] ---> 511b9f4acc0b [2021-06-24T08:59:41.868Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T08:59:41.868Z] ---> Running in ac524960ad37 [2021-06-24T08:59:42.295Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T08:59:44.371Z] Removing intermediate container ac524960ad37 [2021-06-24T08:59:44.371Z] ---> 92a0a24949ee [2021-06-24T08:59:44.371Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T08:59:44.371Z] ---> Running in d414692992fa [2021-06-24T08:59:44.371Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-24T08:59:44.371Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-24T08:59:44.371Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T08:59:44.371Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T08:59:44.371Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T08:59:44.608Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T08:59:44.635Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T08:59:45.259Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T08:59:45.259Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T08:59:45.259Z] OK: 8 MiB in 19 packages [2021-06-24T08:59:45.552Z] Removing intermediate container d414692992fa [2021-06-24T08:59:45.552Z] ---> 70beb6fd8e0e [2021-06-24T08:59:45.552Z] Step 14/23 : WORKDIR / [2021-06-24T08:59:45.552Z] ---> Running in 68f58256697e [2021-06-24T08:59:45.552Z] Removing intermediate container 68f58256697e [2021-06-24T08:59:45.552Z] ---> 428905a5b788 [2021-06-24T08:59:45.552Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T08:59:45.821Z] ---> 97bdc68e4170 [2021-06-24T08:59:45.821Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T08:59:46.087Z] ---> 23f09697971f [2021-06-24T08:59:46.088Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T08:59:46.091Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T08:59:46.091Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T08:59:46.091Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T08:59:46.354Z] ---> c8d32e170d21 [2021-06-24T08:59:46.354Z] Step 18/23 : EXPOSE 59999 [2021-06-24T08:59:46.354Z] ---> Running in 249f076d973a [2021-06-24T08:59:46.354Z] Removing intermediate container 249f076d973a [2021-06-24T08:59:46.354Z] ---> 78753e52e694 [2021-06-24T08:59:46.354Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T08:59:46.354Z] ---> Running in a737ef8bcfcc [2021-06-24T08:59:46.366Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T08:59:46.366Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T08:59:46.616Z] Removing intermediate container a737ef8bcfcc [2021-06-24T08:59:46.616Z] ---> 38e1b0d18074 [2021-06-24T08:59:46.616Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T08:59:46.616Z] ---> Running in 3ddbb0e36ef5 [2021-06-24T08:59:46.616Z] Removing intermediate container 3ddbb0e36ef5 [2021-06-24T08:59:46.616Z] ---> 1afb56fb561c [2021-06-24T08:59:46.616Z] Step 21/23 : LABEL arch=amd64 [2021-06-24T08:59:46.616Z] ---> Running in 418fe78331d6 [2021-06-24T08:59:46.643Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T08:59:46.890Z] Removing intermediate container 418fe78331d6 [2021-06-24T08:59:46.890Z] ---> cad79611addb [2021-06-24T08:59:46.890Z] Step 22/23 : LABEL git_sha=b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [2021-06-24T08:59:46.890Z] ---> Running in 6bbd7a43ec24 [2021-06-24T08:59:46.890Z] Removing intermediate container 6bbd7a43ec24 [2021-06-24T08:59:46.890Z] ---> 09bdca8a0202 [2021-06-24T08:59:46.890Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T08:59:46.890Z] ---> Running in ce0d90a49c35 [2021-06-24T08:59:46.916Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T08:59:46.916Z] OK: 139 MiB in 46 packages [2021-06-24T08:59:47.155Z] Removing intermediate container ce0d90a49c35 [2021-06-24T08:59:47.155Z] ---> 1390141fc88d [2021-06-24T08:59:47.155Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-24T08:59:47.155Z] Successfully built 1390141fc88d [2021-06-24T08:59:47.155Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T08:59:48.003Z] Removing intermediate container 084746c32c48 [2021-06-24T08:59:48.003Z] ---> c5399701b605 [2021-06-24T08:59:48.003Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T08:59:48.317Z] ---> Running in 4283fce31de1 [2021-06-24T08:59:48.345Z] ---> job-cost.sh [2021-06-24T08:59:48.345Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-edHE [2021-06-24T08:59:48.915Z] Removing intermediate container 4283fce31de1 [2021-06-24T08:59:48.915Z] ---> 2363b1430770 [2021-06-24T08:59:48.915Z] Step 7/8 : COPY . . [2021-06-24T08:59:50.473Z] ---> 12fdc705557d [2021-06-24T08:59:50.473Z] Step 8/8 : RUN go mod download [2021-06-24T08:59:50.473Z] ---> Running in 906f7288ce78 [2021-06-24T08:59:58.466Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T09:00:17.333Z] lf-activate-venv(): INFO: Adding /tmp/venv-edHE/bin to PATH [2021-06-24T09:00:17.333Z] INFO: No Stack... [2021-06-24T09:00:17.333Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T09:00:17.333Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T09:00:17.704Z] + cat /w/workspace/device-sdk-go/11/archives/cost.csv [2021-06-24T09:00:17.704Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T09:00:17.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-11-stack-cost] [2021-06-24T09:00:17.798Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-11-stack-cost] did not exist. Created. [2021-06-24T09:00:17.798Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T09:00:17.910Z] Removing intermediate container 906f7288ce78 [2021-06-24T09:00:17.910Z] ---> 2da1f5cef5f2 [2021-06-24T09:00:17.910Z] Successfully built 2da1f5cef5f2 [2021-06-24T09:00:17.910Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:00:18.167Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T09:00:18.243Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T09:00:18.257Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-11-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-06-24T09:00:18.326Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T09:00:18.327Z] . [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] withDockerContainer [2021-06-24T09:00:18.659Z] prd-ubuntu18.04-docker-arm64-4c-16g-1106 does not seem to be running inside a container [2021-06-24T09:00:18.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-24T09:00:20.548Z] $ docker top 9d08acdd4903842259ccc4ea1acb6eb485f97824d4f426d66a326556ea7bede9 -eo pid,comm [Pipeline] { [Pipeline] // node [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [2021-06-24T09:00:21.584Z] + go version [2021-06-24T09:00:21.584Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T09:00:21.616Z] $ docker stop --time=1 9d08acdd4903842259ccc4ea1acb6eb485f97824d4f426d66a326556ea7bede9 [2021-06-24T09:00:23.541Z] $ docker rm -f 9d08acdd4903842259ccc4ea1acb6eb485f97824d4f426d66a326556ea7bede9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:00:24.484Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T09:00:24.485Z] . [Pipeline] withDockerContainer [2021-06-24T09:00:24.921Z] prd-ubuntu18.04-docker-arm64-4c-16g-1106 does not seem to be running inside a container [2021-06-24T09:00:25.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-24T09:00:26.869Z] $ docker top 6057140ab1d8b25307e8c28d742093215e34e126bbc4fc30cf9f14f295fc3645 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:00:30.503Z] + go mod tidy [Pipeline] sh [2021-06-24T09:00:31.750Z] + make test [2021-06-24T09:00:31.751Z] go mod tidy [2021-06-24T09:00:32.260Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T09:00:59.503Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T09:02:09.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T09:02:09.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T09:02:09.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T09:02:14.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.309s coverage: 24.2% of statements [2021-06-24T09:02:14.840Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T09:02:14.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.182s coverage: 28.1% of statements [2021-06-24T09:02:14.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.240s coverage: 78.9% of statements [2021-06-24T09:02:14.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.224s coverage: 9.0% of statements [2021-06-24T09:02:14.840Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T09:02:14.840Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T09:02:14.840Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T09:02:15.534Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.353s coverage: 28.7% of statements [2021-06-24T09:02:15.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T09:02:22.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 6.225s coverage: 83.3% of statements [2021-06-24T09:02:22.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T09:02:22.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T09:02:22.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.312s coverage: 58.0% of statements [2021-06-24T09:02:22.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.062s coverage: 89.2% of statements [2021-06-24T09:02:22.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T09:02:22.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.193s coverage: 5.0% of statements [2021-06-24T09:02:22.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T09:02:23.344Z] GO111MODULE=on go vet ./... [2021-06-24T09:03:20.768Z] gofmt -l . [2021-06-24T09:03:20.768Z] [ "`gofmt -l .`" = "" ] [2021-06-24T09:03:20.768Z] ./bin/test-attribution-txt.sh [2021-06-24T09:03:20.768Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T09:03:20.850Z] $ docker stop --time=1 6057140ab1d8b25307e8c28d742093215e34e126bbc4fc30cf9f14f295fc3645 [2021-06-24T09:03:23.051Z] $ docker rm -f 6057140ab1d8b25307e8c28d742093215e34e126bbc4fc30cf9f14f295fc3645 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T09:03:24.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T09:03:24.385Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T09:03:25.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T09:03:25.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T09:03:26.266Z] + ls -al . [2021-06-24T09:03:26.266Z] total 248 [2021-06-24T09:03:26.266Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 09:03 . [2021-06-24T09:03:26.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 08:58 .. [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 08:58 .dockerignore [2021-06-24T09:03:26.266Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 08:58 .git [2021-06-24T09:03:26.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 08:58 .github [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 24 08:58 .gitignore [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 24 08:58 Dockerfile.build [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 24 08:58 Jenkinsfile [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 08:58 LICENSE [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 24 08:58 Makefile [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 24 08:58 README.md [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 24 08:58 RELEASE-NOTES.txt [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 08:55 VERSION [2021-06-24T09:03:26.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 08:58 bin [2021-06-24T09:03:26.266Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 24 09:02 coverage.out [2021-06-24T09:03:26.266Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 08:58 example [2021-06-24T09:03:26.266Z] -rw-r--r-- 1 jenkins jenkins 569 Jun 24 09:03 go.mod [2021-06-24T09:03:26.266Z] -rw-r--r-- 1 jenkins jenkins 20499 Jun 24 09:00 go.sum [2021-06-24T09:03:26.266Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 08:58 internal [2021-06-24T09:03:26.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 08:58 openapi [2021-06-24T09:03:26.266Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 08:58 pkg [2021-06-24T09:03:26.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 08:58 snap [2021-06-24T09:03:26.266Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 08:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:03:26.655Z] + 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=b36fa664a0fc32a067a6ffef3e6748f91f7dce10 --label arch=arm64 --label version=0.0.0 . [2021-06-24T09:03:27.014Z] Sending build context to Docker daemon 2.825MB [2021-06-24T09:03:27.333Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:03:27.333Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T09:03:27.333Z] ---> 2da1f5cef5f2 [2021-06-24T09:03:27.333Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T09:03:27.684Z] ---> Running in 8f4f49a54aa2 [2021-06-24T09:03:27.995Z] Removing intermediate container 8f4f49a54aa2 [2021-06-24T09:03:27.995Z] ---> 103111bfbe20 [2021-06-24T09:03:27.995Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:03:28.299Z] ---> Running in de836bdfa552 [2021-06-24T09:03:28.620Z] Removing intermediate container de836bdfa552 [2021-06-24T09:03:28.620Z] ---> 5c28b76e24c6 [2021-06-24T09:03:28.620Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:03:28.904Z] ---> Running in 32a5a2ed327d [2021-06-24T09:03:31.010Z] Removing intermediate container 32a5a2ed327d [2021-06-24T09:03:31.011Z] ---> f1f9239ed66b [2021-06-24T09:03:31.011Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T09:03:31.011Z] ---> Running in b17d040d74f9 [2021-06-24T09:03:32.068Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T09:03:33.092Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T09:03:33.747Z] OK: 139 MiB in 46 packages [2021-06-24T09:03:34.828Z] Removing intermediate container b17d040d74f9 [2021-06-24T09:03:34.828Z] ---> 821a2738026c [2021-06-24T09:03:34.828Z] Step 7/23 : COPY . . [2021-06-24T09:03:36.335Z] ---> dd43c14c07b7 [2021-06-24T09:03:36.335Z] Step 8/23 : RUN go mod download [2021-06-24T09:03:36.335Z] ---> Running in 7b7626abe1d3 [2021-06-24T09:03:38.426Z] Removing intermediate container 7b7626abe1d3 [2021-06-24T09:03:38.426Z] ---> 58b497c275c8 [2021-06-24T09:03:38.426Z] Step 9/23 : RUN make build [2021-06-24T09:03:38.742Z] ---> Running in 825645ac4b09 [2021-06-24T09:03:39.753Z] go mod tidy [2021-06-24T09:03:40.360Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T09:04:13.038Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T09:04:13.730Z] Removing intermediate container 825645ac4b09 [2021-06-24T09:04:13.730Z] ---> 8a136f139eec [2021-06-24T09:04:13.730Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T09:04:14.425Z] 3.12: Pulling from library/alpine [2021-06-24T09:04:14.756Z] d2f70382dc9a: Pulling fs layer [2021-06-24T09:04:15.075Z] d2f70382dc9a: Verifying Checksum [2021-06-24T09:04:15.075Z] d2f70382dc9a: Download complete [2021-06-24T09:04:15.698Z] d2f70382dc9a: Pull complete [2021-06-24T09:04:15.698Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T09:04:15.698Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T09:04:15.698Z] ---> c4fd0aeabfcf [2021-06-24T09:04:15.698Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:04:15.985Z] ---> Running in 94aca457f0ae [2021-06-24T09:04:16.293Z] Removing intermediate container 94aca457f0ae [2021-06-24T09:04:16.293Z] ---> a37fa71298a9 [2021-06-24T09:04:16.293Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:04:16.606Z] ---> Running in 4dfb31d1b087 [2021-06-24T09:04:18.663Z] Removing intermediate container 4dfb31d1b087 [2021-06-24T09:04:18.663Z] ---> f05ded21a2e2 [2021-06-24T09:04:18.663Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T09:04:18.663Z] ---> Running in 3ffc0397e526 [2021-06-24T09:04:20.119Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T09:04:20.728Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T09:04:21.717Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T09:04:21.717Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T09:04:21.991Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T09:04:21.991Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T09:04:22.266Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T09:04:22.266Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T09:04:22.266Z] OK: 8 MiB in 19 packages [2021-06-24T09:04:24.783Z] Removing intermediate container 3ffc0397e526 [2021-06-24T09:04:24.783Z] ---> 2d6daf30de02 [2021-06-24T09:04:24.783Z] Step 14/23 : WORKDIR / [2021-06-24T09:04:24.784Z] ---> Running in af25d206967f [2021-06-24T09:04:24.784Z] Removing intermediate container af25d206967f [2021-06-24T09:04:24.784Z] ---> 1d54ac4a4b25 [2021-06-24T09:04:24.784Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T09:04:24.784Z] ---> 6a3431b3a287 [2021-06-24T09:04:24.784Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T09:04:26.238Z] ---> f136ed80900c [2021-06-24T09:04:26.238Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T09:04:26.854Z] ---> b2cdc7ff108b [2021-06-24T09:04:26.854Z] Step 18/23 : EXPOSE 59999 [2021-06-24T09:04:27.130Z] ---> Running in e129b2650c95 [2021-06-24T09:04:27.741Z] Removing intermediate container e129b2650c95 [2021-06-24T09:04:27.741Z] ---> 284f7003cc32 [2021-06-24T09:04:27.741Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T09:04:27.741Z] ---> Running in c23a2519a54b [2021-06-24T09:04:28.364Z] Removing intermediate container c23a2519a54b [2021-06-24T09:04:28.364Z] ---> 2bb83e0ccd3f [2021-06-24T09:04:28.364Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T09:04:28.364Z] ---> Running in e58de07ccdf2 [2021-06-24T09:04:28.641Z] Removing intermediate container e58de07ccdf2 [2021-06-24T09:04:28.641Z] ---> a097ea592f31 [2021-06-24T09:04:28.641Z] Step 21/23 : LABEL arch=arm64 [2021-06-24T09:04:28.921Z] ---> Running in 168e192c167a [2021-06-24T09:04:29.514Z] Removing intermediate container 168e192c167a [2021-06-24T09:04:29.514Z] ---> 1ed0092b3b11 [2021-06-24T09:04:29.514Z] Step 22/23 : LABEL git_sha=b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [2021-06-24T09:04:29.514Z] ---> Running in 68aae9ec3309 [2021-06-24T09:04:30.124Z] Removing intermediate container 68aae9ec3309 [2021-06-24T09:04:30.124Z] ---> b74ede6080f9 [2021-06-24T09:04:30.124Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T09:04:30.124Z] ---> Running in 4a5e8bed2570 [2021-06-24T09:04:30.724Z] Removing intermediate container 4a5e8bed2570 [2021-06-24T09:04:30.724Z] ---> 63b3a632b602 [2021-06-24T09:04:30.724Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-24T09:04:30.724Z] Successfully built 63b3a632b602 [2021-06-24T09:04:30.724Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:04:31.336Z] ---> job-cost.sh [2021-06-24T09:04:31.336Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SpiF [2021-06-24T09:05:11.398Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T09:06:33.172Z] lf-activate-venv(): INFO: Adding /tmp/venv-SpiF/bin to PATH [2021-06-24T09:06:33.172Z] INFO: No Stack... [2021-06-24T09:06:33.172Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T09:06:33.172Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T09:06:33.526Z] + + cutcat -d, /w/workspace/device-sdk-go/11/archives/cost.csv -f6 [2021-06-24T09:06:33.527Z] [Pipeline] lock [2021-06-24T09:06:33.593Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-11-stack-cost] [2021-06-24T09:06:33.608Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-11-stack-cost] did not exist. Created. [2021-06-24T09:06:33.608Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T09:06:33.978Z] /w/workspace/device-sdk-go/11@tmp/durable-61340c33/script.sh: 1: /w/workspace/device-sdk-go/11@tmp/durable-61340c33/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T09:06:34.346Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T09:06:34.368Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T09:06:34.532Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T09:06:34.548Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-11-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-24T09:06:35.101Z] provisioning config files... [2021-06-24T09:06:35.111Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config1790422170761583171tmp [Pipeline] { [Pipeline] sh [2021-06-24T09:06:35.433Z] + set +x [2021-06-24T09:06:35.433Z] + bash -s -- [2021-06-24T09:06:35.433Z] + curl -s https://codecov.io/bash [2021-06-24T09:06:35.433Z] [2021-06-24T09:06:35.433Z] _____ _ [2021-06-24T09:06:35.433Z] / ____| | | [2021-06-24T09:06:35.433Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T09:06:35.433Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T09:06:35.433Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T09:06:35.433Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T09:06:35.433Z] Bash-1.0.3 [2021-06-24T09:06:35.433Z] [2021-06-24T09:06:35.433Z] [2021-06-24T09:06:35.433Z] ==> git version 2.24.4 found [2021-06-24T09:06:35.433Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-24T09:06:35.433Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T09:06:35.433Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T09:06:35.433Z] ==> Jenkins CI detected. [2021-06-24T09:06:35.433Z] project root: . [2021-06-24T09:06:35.433Z] --> token set from env [2021-06-24T09:06:35.433Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T09:06:35.433Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T09:06:35.433Z] ==> Python coveragepy not found [2021-06-24T09:06:35.433Z] ==> Searching for coverage reports in: [2021-06-24T09:06:35.433Z] + . [2021-06-24T09:06:35.433Z] -> Found 1 reports [2021-06-24T09:06:35.433Z] ==> Detecting git/mercurial file structure [2021-06-24T09:06:35.433Z] ==> Reading reports [2021-06-24T09:06:35.698Z] + ./coverage.out bytes=125634 [2021-06-24T09:06:35.698Z] ==> Appending adjustments [2021-06-24T09:06:35.698Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T09:06:35.961Z] + Found adjustments [2021-06-24T09:06:35.961Z] ==> Gzipping contents [2021-06-24T09:06:35.961Z] 16K /tmp/codecov.36iF5a.gz [2021-06-24T09:06:35.961Z] ==> Uploading reports [2021-06-24T09:06:35.961Z] url: https://codecov.io [2021-06-24T09:06:35.961Z] query: branch=PR-971&commit=b36fa664a0fc32a067a6ffef3e6748f91f7dce10&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-24T09:06:35.961Z] -> Pinging Codecov [2021-06-24T09:06:35.961Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=b36fa664a0fc32a067a6ffef3e6748f91f7dce10&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-24T09:06:36.225Z] -> Uploading to [2021-06-24T09:06:36.225Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/7E55EF52A471D76F132DFD9A03CDDE97/b36fa664a0fc32a067a6ffef3e6748f91f7dce10/6c14243f-60e7-4b9d-a29d-94953246f6bf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T090636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cfd1a1d18fe3c9b7d7326b222d6b988ed0c950474d3e29d3a9edf84f922ee3a5 [2021-06-24T09:06:36.225Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T09:06:36.225Z] Dload Upload Total Spent Left Speed [2021-06-24T09:06:38.929Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16320 0 0 100 16320 0 39140 --:--:-- --:--:-- --:--:-- 39136 100 16320 0 0 100 16320 0 39131 --:--:-- --:--:-- --:--:-- 39136 [2021-06-24T09:06:38.929Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b36fa664a0fc32a067a6ffef3e6748f91f7dce10 [Pipeline] } [2021-06-24T09:06:38.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:06:40.697Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:06:41.284Z] ---> package-listing.sh [2021-06-24T09:06:41.284Z] ++ facter osfamily [2021-06-24T09:06:41.284Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T09:06:41.553Z] + OS_FAMILY=redhat [2021-06-24T09:06:41.553Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T09:06:41.553Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T09:06:41.553Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T09:06:41.553Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T09:06:41.553Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T09:06:41.553Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-24T09:06:41.553Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T09:06:41.553Z] + case "${OS_FAMILY}" in [2021-06-24T09:06:41.553Z] + rpm -qa [2021-06-24T09:06:41.553Z] + sort [2021-06-24T09:06:42.127Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T09:06:42.127Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T09:06:42.127Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T09:06:42.127Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-24T09:06:42.127Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-24T09:06:42.127Z] + 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-06-24T09:06:42.141Z] 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-06-24T09:06:42.434Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:06:43.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:06:43.008Z] [2021-06-24T09:06:43.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:06:43.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:06:43.914Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T09:06:43.914Z] df20fa9351a1: Pulling fs layer [2021-06-24T09:06:43.914Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T09:06:43.914Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T09:06:43.914Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T09:06:43.914Z] 93b61091891f: Pulling fs layer [2021-06-24T09:06:43.914Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T09:06:43.914Z] 5e14af77c1be: Pulling fs layer [2021-06-24T09:06:43.914Z] 01666e4c0597: Pulling fs layer [2021-06-24T09:06:43.915Z] aa168da1d23b: Pulling fs layer [2021-06-24T09:06:43.915Z] 93b61091891f: Waiting [2021-06-24T09:06:43.915Z] 93b9cdb0e59b: Waiting [2021-06-24T09:06:43.915Z] 5e14af77c1be: Waiting [2021-06-24T09:06:43.915Z] 01666e4c0597: Waiting [2021-06-24T09:06:43.915Z] aa168da1d23b: Waiting [2021-06-24T09:06:43.915Z] 46f8f816bc3b: Waiting [2021-06-24T09:06:44.176Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T09:06:44.176Z] 36b3adc4ff6f: Download complete [2021-06-24T09:06:44.176Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T09:06:44.176Z] 46f8f816bc3b: Download complete [2021-06-24T09:06:44.176Z] df20fa9351a1: Verifying Checksum [2021-06-24T09:06:44.176Z] df20fa9351a1: Download complete [2021-06-24T09:06:44.438Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T09:06:44.438Z] 93b9cdb0e59b: Download complete [2021-06-24T09:06:44.438Z] 93b61091891f: Verifying Checksum [2021-06-24T09:06:44.438Z] 93b61091891f: Download complete [2021-06-24T09:06:44.438Z] 5e14af77c1be: Verifying Checksum [2021-06-24T09:06:44.438Z] 5e14af77c1be: Download complete [2021-06-24T09:06:44.438Z] 01666e4c0597: Verifying Checksum [2021-06-24T09:06:44.438Z] 01666e4c0597: Download complete [2021-06-24T09:06:44.438Z] df20fa9351a1: Pull complete [2021-06-24T09:06:44.700Z] 36b3adc4ff6f: Pull complete [2021-06-24T09:06:45.277Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T09:06:45.277Z] 8ad3a11d3b57: Download complete [2021-06-24T09:06:45.850Z] 8ad3a11d3b57: Pull complete [2021-06-24T09:06:45.850Z] 46f8f816bc3b: Pull complete [2021-06-24T09:06:46.122Z] 93b61091891f: Pull complete [2021-06-24T09:06:46.122Z] 93b9cdb0e59b: Pull complete [2021-06-24T09:06:46.122Z] 5e14af77c1be: Pull complete [2021-06-24T09:06:46.390Z] 01666e4c0597: Pull complete [2021-06-24T09:06:47.784Z] aa168da1d23b: Verifying Checksum [2021-06-24T09:06:47.784Z] aa168da1d23b: Download complete [2021-06-24T09:06:52.042Z] aa168da1d23b: Pull complete [2021-06-24T09:06:52.042Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T09:06:52.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:06:52.042Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T09:06:52.127Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-06-24T09:06:52.172Z] $ 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-06-24T09:06:56.337Z] $ docker top 988956d6ac54b50a5e7a1ded90977a5ef88cc74ce4adb4838b55ca271346de99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:06:56.726Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T09:06:57.027Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T09:06:57.330Z] + ls /var/log/sa-host [2021-06-24T09:06:57.330Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T09:06:57.330Z] file_magic: OK [2021-06-24T09:06:57.330Z] HZ: Using current value: 100 [2021-06-24T09:06:57.330Z] file_header: OK [2021-06-24T09:06:57.330Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T09:06:57.330Z] Statistics: [2021-06-24T09:06:57.331Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T09:06:57.331Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T09:06:57.331Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T09:06:57.331Z] file_magic: OK [2021-06-24T09:06:57.331Z] HZ: Using current value: 100 [2021-06-24T09:06:57.331Z] file_header: OK [2021-06-24T09:06:57.331Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T09:06:57.331Z] Statistics: [2021-06-24T09:06:57.331Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T09:06:57.331Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:06:58.002Z] provisioning config files... [2021-06-24T09:06:58.013Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config554971193140736903tmp [Pipeline] { [Pipeline] echo [2021-06-24T09:06:58.035Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:06:58.334Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T09:06:58.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:06:58.788Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T09:06:58.799Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:06:59.097Z] ---> sudo-logs.sh [2021-06-24T09:06:59.097Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T09:06:59.131Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:06:59.428Z] ---> job-cost.sh [2021-06-24T09:06:59.428Z] lf-activate-venv: SKIPPING [2021-06-24T09:06:59.428Z] DEBUG: total: 0.18000000715255737 [2021-06-24T09:06:59.428Z] INFO: Retrieving Stack Cost... [2021-06-24T09:07:00.371Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T09:07:00.952Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T09:07:00.968Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:07:01.266Z] ---> logs-deploy.sh [2021-06-24T09:07:01.266Z] lf-activate-venv: SKIPPING [2021-06-24T09:07:01.266Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/11 [2021-06-24T09:07:01.266Z] INFO: archiving workspace using pattern(s): [2021-06-24T09:07:02.225Z] Archives upload complete. [2021-06-24T09:07:02.225Z] INFO: archiving logs to Nexus