Pull request #971 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657+f798cd889c9c6c23ad9524ed5baa666d931da3e9 (069517288109f2a88082db2bd095a95c6b31d405) 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-ssh2339578767702635220.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-ssh6616304337210164590.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-ssh2167853481982880723.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-ssh3055681861045880344.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-ssh3992371791981241145.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-1120 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-ssh5337337208347936567.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f798cd889c9c6c23ad9524ed5baa666d931da3e9 into PR head commit 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 Merge succeeded, producing 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 Checking out Revision 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 (PR-971) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh8653339384537574422.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 > git config core.sparsecheckout # timeout=10 > git checkout -f 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 # 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-ssh2377613563121729334.key > git merge f798cd889c9c6c23ad9524ed5baa666d931da3e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 # 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] { > git rev-list --no-walk b36fa664a0fc32a067a6ffef3e6748f91f7dce10 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T09:15:01.887Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T09:15:02.004Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T09:15:02.082Z] ========================================================= [2021-06-24T09:15:02.082Z] EdgeX Global Pipelines Version Info [2021-06-24T09:15:02.083Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:15:03.643Z] ------------------- [2021-06-24T09:15:03.643Z] stable info: [2021-06-24T09:15:03.643Z] ------------------- [2021-06-24T09:15:03.643Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T09:15:03.643Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T09:15:03.643Z] Message: update stable to v1.0.195 [2021-06-24T09:15:04.219Z] ------------------- [2021-06-24T09:15:04.219Z] experimental info: [2021-06-24T09:15:04.219Z] ------------------- [2021-06-24T09:15:04.219Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T09:15:04.220Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T09:15:04.220Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T09:15:04.347Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-24T09:15:04.373Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-24T09:15:04.399Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T09:15:04.430Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T09:15:04.464Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T09:15:04.493Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T09:15:04.516Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T09:15:04.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T09:15:04.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-24T09:15:04.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T09:15:04.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T09:15:04.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-24T09:15:04.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T09:15:04.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T09:15:04.732Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T09:15:04.761Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T09:15:04.787Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T09:15:04.816Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T09:15:04.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T09:15:04.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T09:15:04.895Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-24T09:15:04.919Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-24T09:15:04.950Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T09:15:04.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T09:15:05.008Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T09:15:05.039Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T09:15:05.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-24T09:15:05.117Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-24T09:15:05.142Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-24T09:15:05.165Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [Pipeline] echo [2021-06-24T09:15:05.189Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38b27e4 [Pipeline] echo [2021-06-24T09:15:05.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:15:05.291Z] provisioning config files... [2021-06-24T09:15:05.307Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config1807811472875447781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:15:05.642Z] ---> docker-login.sh [2021-06-24T09:15:05.642Z] nexus3.edgexfoundry.org:10001 [2021-06-24T09:15:05.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:15:05.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:15:05.912Z] Configure a credential helper to remove this warning. See [2021-06-24T09:15:05.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:15:05.912Z] [2021-06-24T09:15:05.912Z] Login Succeeded [2021-06-24T09:15:05.912Z] nexus3.edgexfoundry.org:10002 [2021-06-24T09:15:05.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:15:06.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:15:06.181Z] Configure a credential helper to remove this warning. See [2021-06-24T09:15:06.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:15:06.181Z] [2021-06-24T09:15:06.181Z] Login Succeeded [2021-06-24T09:15:06.181Z] nexus3.edgexfoundry.org:10003 [2021-06-24T09:15:06.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:15:06.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:15:06.181Z] Configure a credential helper to remove this warning. See [2021-06-24T09:15:06.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:15:06.181Z] [2021-06-24T09:15:06.181Z] Login Succeeded [2021-06-24T09:15:06.181Z] nexus3.edgexfoundry.org:10004 [2021-06-24T09:15:06.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:15:06.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:15:06.446Z] Configure a credential helper to remove this warning. See [2021-06-24T09:15:06.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:15:06.446Z] [2021-06-24T09:15:06.446Z] Login Succeeded [2021-06-24T09:15:06.446Z] docker.io [2021-06-24T09:15:06.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:15:06.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:15:06.715Z] Configure a credential helper to remove this warning. See [2021-06-24T09:15:06.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:15:06.715Z] [2021-06-24T09:15:06.715Z] Login Succeeded [2021-06-24T09:15:06.715Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T09:15:06.724Z] 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-24T09:15:07.249Z] + git log --format=format:%s -1 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [Pipeline] echo [2021-06-24T09:15:07.291Z] GIT_COMMIT: 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-06-24T09:15:07.304Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:15:10.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T09:15:10.357Z] [2021-06-24T09:15:10.357Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:15:10.682Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T09:15:10.682Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T09:15:10.682Z] 31603596830f: Pulling fs layer [2021-06-24T09:15:10.682Z] 54011a49482f: Pulling fs layer [2021-06-24T09:15:10.682Z] a6820b24f6d8: Pulling fs layer [2021-06-24T09:15:10.682Z] f581987b2513: Pulling fs layer [2021-06-24T09:15:10.682Z] f581987b2513: Waiting [2021-06-24T09:15:10.682Z] 54011a49482f: Verifying Checksum [2021-06-24T09:15:10.682Z] 54011a49482f: Download complete [2021-06-24T09:15:10.948Z] 31603596830f: Verifying Checksum [2021-06-24T09:15:10.948Z] 31603596830f: Download complete [2021-06-24T09:15:10.948Z] f581987b2513: Verifying Checksum [2021-06-24T09:15:10.948Z] f581987b2513: Download complete [2021-06-24T09:15:10.948Z] a6820b24f6d8: Verifying Checksum [2021-06-24T09:15:10.948Z] a6820b24f6d8: Download complete [2021-06-24T09:15:10.948Z] 31603596830f: Pull complete [2021-06-24T09:15:11.216Z] 54011a49482f: Pull complete [2021-06-24T09:15:11.813Z] a6820b24f6d8: Pull complete [2021-06-24T09:15:12.076Z] f581987b2513: Pull complete [2021-06-24T09:15:12.076Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T09:15:12.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T09:15:12.076Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T09:15:12.168Z] prd-centos7-docker-4c-2g-1120 does not seem to be running inside a container [2021-06-24T09:15:12.219Z] $ 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-24T09:15:13.423Z] $ docker top 15bebef881bbfe062be1e5a03b8a1e5198148ba344cc14b8adcc2fc7fcdfe0e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T09:15:13.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T09:15:13.567Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T09:15:13.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T09:15:13.700Z] $ docker exec 15bebef881bbfe062be1e5a03b8a1e5198148ba344cc14b8adcc2fc7fcdfe0e0 ssh-agent [2021-06-24T09:15:13.824Z] SSH_AUTH_SOCK=/tmp/ssh-EdFj7lut4UJm/agent.14 [2021-06-24T09:15:13.824Z] SSH_AGENT_PID=21 [2021-06-24T09:15:13.835Z] Running ssh-add (command line suppressed) [2021-06-24T09:15:13.952Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6851917052720298692.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6851917052720298692.key) [2021-06-24T09:15:13.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T09:15:14.283Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T09:15:14.294Z] $ docker exec --env ******** --env ******** 15bebef881bbfe062be1e5a03b8a1e5198148ba344cc14b8adcc2fc7fcdfe0e0 ssh-agent -k [2021-06-24T09:15:14.411Z] unset SSH_AUTH_SOCK; [2021-06-24T09:15:14.411Z] unset SSH_AGENT_PID; [2021-06-24T09:15:14.411Z] echo Agent pid 21 killed; [2021-06-24T09:15:14.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T09:15:14.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T09:15:14.485Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T09:15:14.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T09:15:14.619Z] $ docker exec 15bebef881bbfe062be1e5a03b8a1e5198148ba344cc14b8adcc2fc7fcdfe0e0 ssh-agent [2021-06-24T09:15:14.751Z] SSH_AUTH_SOCK=/tmp/ssh-0iWP49xPuve4/agent.55 [2021-06-24T09:15:14.751Z] SSH_AGENT_PID=62 [2021-06-24T09:15:14.757Z] Running ssh-add (command line suppressed) [2021-06-24T09:15:14.863Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_7735521815729996943.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_7735521815729996943.key) [2021-06-24T09:15:14.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T09:15:15.197Z] + git semver init [2021-06-24T09:15:15.198Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T09:15:15.198Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-24T09:15:15.198Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T09:15:15.198Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T09:15:15.198Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T09:15:15.198Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T09:15:15.198Z] # $SEMVER_BRANCH = PR-971 [2021-06-24T09:15:15.198Z] # $SEMVER_TEMP = /tmp/semver-661982869 [2021-06-24T09:15:15.198Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-24T09:15:15.780Z] # '/tmp/semver-661982869' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-24T09:15:15.780Z] # -> Force: false [2021-06-24T09:15:15.780Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-24T09:15:15.789Z] $ docker exec --env ******** --env ******** 15bebef881bbfe062be1e5a03b8a1e5198148ba344cc14b8adcc2fc7fcdfe0e0 ssh-agent -k [2021-06-24T09:15:15.905Z] unset SSH_AUTH_SOCK; [2021-06-24T09:15:15.905Z] unset SSH_AGENT_PID; [2021-06-24T09:15:15.905Z] echo Agent pid 62 killed; [2021-06-24T09:15:15.929Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T09:15:16.301Z] + git semver [Pipeline] } [2021-06-24T09:15:16.328Z] $ docker stop --time=1 15bebef881bbfe062be1e5a03b8a1e5198148ba344cc14b8adcc2fc7fcdfe0e0 [2021-06-24T09:15:20.138Z] $ docker rm -f 15bebef881bbfe062be1e5a03b8a1e5198148ba344cc14b8adcc2fc7fcdfe0e0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T09:15:20.537Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T09:15:20.969Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T09:15:20.973Z] [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-24T09:15:36.323Z] Still waiting to schedule task [2021-06-24T09:15:36.324Z] ‘prd-centos7-docker-4c-2g-1113’ is offline [2021-06-24T09:15:36.324Z] ‘prd-centos7-docker-4c-2g-1121’ is offline [2021-06-24T09:15:36.324Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-24T09:15:36.324Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1119’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-24T09:15:36.326Z] Still waiting to schedule task [2021-06-24T09:15:36.326Z] ‘prd-centos7-docker-4c-2g-1113’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-24T09:15:36.326Z] ‘prd-centos7-docker-4c-2g-1121’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-24T09:15:36.326Z] ‘prd-centos7-docker-4c-2g-915’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-24T09:15:36.327Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1119’ is offline [2021-06-24T09:16:47.881Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1123 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-24T09:16:47.904Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2021-06-24T09:16:48.129Z] Selected Git installation does not exist. Using Default [2021-06-24T09:16:48.129Z] The recommended git tool is: NONE [2021-06-24T09:16:53.767Z] using credential edgex-jenkins-ssh [2021-06-24T09:16:53.788Z] Cloning the remote Git repository [2021-06-24T09:16:53.845Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:16:53.963Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2021-06-24T09:16:54.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:16:54.100Z] > git --version # timeout=10 [2021-06-24T09:16:54.140Z] > git --version # 'git version 2.17.1' [2021-06-24T09:16:54.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:16:54.249Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T09:16:56.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T09:16:56.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T09:16:56.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T09:16:56.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:16:56.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:16:56.541Z] > 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-24T09:16:57.082Z] Merging remotes/origin/master commit f798cd889c9c6c23ad9524ed5baa666d931da3e9 into PR head commit 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [2021-06-24T09:16:57.314Z] Merge succeeded, producing 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [2021-06-24T09:16:57.314Z] Checking out Revision 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 (PR-971) [2021-06-24T09:16:57.106Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T09:16:57.123Z] > git checkout -f 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 # timeout=10 [2021-06-24T09:16:57.230Z] > git remote # timeout=10 [2021-06-24T09:16:57.250Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T09:16:57.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:16:57.280Z] > git merge f798cd889c9c6c23ad9524ed5baa666d931da3e9 # timeout=10 [2021-06-24T09:16:57.303Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T09:16:57.323Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T09:16:57.333Z] > git checkout -f 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 # timeout=10 [2021-06-24T09:17:04.073Z] 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-24T09:17:05.523Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T09:17:05.970Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T09:17:06.339Z] + sudo service docker restart [2021-06-24T09:17:06.339Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:17:24.725Z] provisioning config files... [2021-06-24T09:17:24.754Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config4150920073971429121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:17:25.129Z] ---> docker-login.sh [2021-06-24T09:17:25.130Z] nexus3.edgexfoundry.org:10001 [2021-06-24T09:17:25.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:17:26.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:17:26.338Z] Configure a credential helper to remove this warning. See [2021-06-24T09:17:26.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:17:26.338Z] [2021-06-24T09:17:26.338Z] Login Succeeded [2021-06-24T09:17:26.338Z] nexus3.edgexfoundry.org:10002 [2021-06-24T09:17:26.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:17:26.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:17:26.897Z] Configure a credential helper to remove this warning. See [2021-06-24T09:17:26.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:17:26.897Z] [2021-06-24T09:17:26.897Z] Login Succeeded [2021-06-24T09:17:26.897Z] nexus3.edgexfoundry.org:10003 [2021-06-24T09:17:27.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:17:27.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:17:27.499Z] Configure a credential helper to remove this warning. See [2021-06-24T09:17:27.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:17:27.499Z] [2021-06-24T09:17:27.499Z] Login Succeeded [2021-06-24T09:17:27.499Z] nexus3.edgexfoundry.org:10004 [2021-06-24T09:17:28.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:17:28.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:17:28.097Z] Configure a credential helper to remove this warning. See [2021-06-24T09:17:28.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:17:28.097Z] [2021-06-24T09:17:28.097Z] Login Succeeded [2021-06-24T09:17:28.097Z] docker.io [2021-06-24T09:17:28.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:17:28.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:17:28.969Z] Configure a credential helper to remove this warning. See [2021-06-24T09:17:28.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:17:28.969Z] [2021-06-24T09:17:28.969Z] Login Succeeded [2021-06-24T09:17:28.969Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T09:17:28.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T09:17:29.314Z] ========================================================= [2021-06-24T09:17:29.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T09:17:29.314Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:17:29.659Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-24T09:17:30.257Z] Sending build context to Docker daemon 2.697MB [2021-06-24T09:17:30.257Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:17:30.257Z] Step 2/8 : FROM ${BASE} [2021-06-24T09:17:30.257Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T09:17:30.257Z] 595b0fe564bb: Pulling fs layer [2021-06-24T09:17:30.257Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T09:17:30.257Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T09:17:30.257Z] ba82ee9f976e: Pulling fs layer [2021-06-24T09:17:30.257Z] 506bd15cee9f: Pulling fs layer [2021-06-24T09:17:30.257Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T09:17:30.257Z] 618dc40b7e24: Pulling fs layer [2021-06-24T09:17:30.257Z] ba82ee9f976e: Waiting [2021-06-24T09:17:30.257Z] 506bd15cee9f: Waiting [2021-06-24T09:17:30.535Z] 618dc40b7e24: Waiting [2021-06-24T09:17:30.535Z] 5b7225fbf94c: Verifying Checksum [2021-06-24T09:17:30.535Z] 5b7225fbf94c: Download complete [2021-06-24T09:17:30.535Z] 3088b5b3c5c0: Verifying Checksum [2021-06-24T09:17:30.535Z] 3088b5b3c5c0: Download complete [2021-06-24T09:17:30.535Z] 506bd15cee9f: Download complete [2021-06-24T09:17:30.535Z] 75a0a4a0db45: Verifying Checksum [2021-06-24T09:17:30.535Z] 75a0a4a0db45: Download complete [2021-06-24T09:17:30.535Z] 595b0fe564bb: Verifying Checksum [2021-06-24T09:17:30.535Z] 595b0fe564bb: Download complete [2021-06-24T09:17:31.522Z] 595b0fe564bb: Pull complete [2021-06-24T09:17:31.806Z] 3088b5b3c5c0: Pull complete [2021-06-24T09:17:32.416Z] 5b7225fbf94c: Pull complete [2021-06-24T09:17:33.408Z] 618dc40b7e24: Verifying Checksum [2021-06-24T09:17:33.409Z] 618dc40b7e24: Download complete [2021-06-24T09:17:34.852Z] ba82ee9f976e: Download complete [2021-06-24T09:17:46.132Z] ba82ee9f976e: Pull complete [2021-06-24T09:17:46.132Z] 506bd15cee9f: Pull complete [2021-06-24T09:17:46.132Z] 75a0a4a0db45: Pull complete [2021-06-24T09:17:49.535Z] 618dc40b7e24: Pull complete [2021-06-24T09:17:49.535Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T09:17:49.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T09:17:49.535Z] ---> a36622ca3599 [2021-06-24T09:17:49.535Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:17:52.172Z] ---> Running in 79222e475feb [2021-06-24T09:17:52.172Z] Removing intermediate container 79222e475feb [2021-06-24T09:17:52.172Z] ---> 82f258584dcf [2021-06-24T09:17:52.172Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:17:52.446Z] ---> Running in d6c1894a9d38 [2021-06-24T09:17:54.430Z] Removing intermediate container d6c1894a9d38 [2021-06-24T09:17:54.430Z] ---> 54f2d29b8a8b [2021-06-24T09:17:54.430Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T09:17:54.702Z] ---> Running in 406e5334fb03 [2021-06-24T09:17:56.129Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T09:17:56.724Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T09:17:57.700Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T09:17:57.700Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T09:17:57.700Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T09:17:57.700Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T09:17:57.975Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T09:17:57.975Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T09:17:57.975Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T09:17:57.975Z] OK: 139 MiB in 46 packages [2021-06-24T09:17:59.408Z] Removing intermediate container 406e5334fb03 [2021-06-24T09:17:59.408Z] ---> 6db727b9c176 [2021-06-24T09:17:59.408Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T09:17:59.408Z] ---> Running in b68bb2640649 [2021-06-24T09:18:00.015Z] Removing intermediate container b68bb2640649 [2021-06-24T09:18:00.015Z] ---> 667e3b00e14c [2021-06-24T09:18:00.015Z] Step 7/8 : COPY . . [2021-06-24T09:18:01.458Z] ---> 0f456b91f067 [2021-06-24T09:18:01.458Z] Step 8/8 : RUN go mod download [2021-06-24T09:18:01.458Z] ---> Running in 58b3b3cfb319 [2021-06-24T09:18:28.519Z] Removing intermediate container 58b3b3cfb319 [2021-06-24T09:18:28.519Z] ---> 2ebb2d957873 [2021-06-24T09:18:28.519Z] Successfully built 2ebb2d957873 [2021-06-24T09:18:28.519Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:18:28.865Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T09:18:28.865Z] . [Pipeline] withDockerContainer [2021-06-24T09:18:29.130Z] prd-ubuntu18.04-docker-arm64-4c-16g-1123 does not seem to be running inside a container [2021-06-24T09:18:29.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-arm64 cat [2021-06-24T09:18:30.796Z] $ docker top b5d38629fab6f54b8267eadad69b13534dc5bb3f4eb2f8afd25253ce3be948e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:18:31.806Z] + go version [2021-06-24T09:18:31.806Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T09:18:31.832Z] $ docker stop --time=1 b5d38629fab6f54b8267eadad69b13534dc5bb3f4eb2f8afd25253ce3be948e1 [2021-06-24T09:18:33.719Z] $ docker rm -f b5d38629fab6f54b8267eadad69b13534dc5bb3f4eb2f8afd25253ce3be948e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:18:34.504Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T09:18:34.504Z] . [Pipeline] withDockerContainer [2021-06-24T09:18:34.774Z] prd-ubuntu18.04-docker-arm64-4c-16g-1123 does not seem to be running inside a container [2021-06-24T09:18:34.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-arm64 cat [2021-06-24T09:18:36.507Z] $ docker top a290437e6bc24ee164618cc6b66e8acfda6ae80150a7826a0ac289d6bb599021 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:18:37.468Z] + go mod tidy [Pipeline] sh [2021-06-24T09:18:38.740Z] + make test [2021-06-24T09:18:38.741Z] go mod tidy [2021-06-24T09:18:39.341Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T09:19:05.876Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T09:20:13.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T09:20:13.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T09:20:13.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T09:20:24.820Z] Running on prd-centos7-docker-4c-2g-1124 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-24T09:20:24.840Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2021-06-24T09:20:24.966Z] Selected Git installation does not exist. Using Default [2021-06-24T09:20:24.966Z] The recommended git tool is: NONE [2021-06-24T09:20:26.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.260s coverage: 24.2% of statements [2021-06-24T09:20:26.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T09:20:26.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.204s coverage: 28.1% of statements [2021-06-24T09:20:26.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.231s coverage: 78.9% of statements [2021-06-24T09:20:26.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.205s coverage: 9.0% of statements [2021-06-24T09:20:26.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T09:20:26.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T09:20:26.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T09:20:26.742Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.308s coverage: 28.7% of statements [2021-06-24T09:20:26.742Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T09:20:30.409Z] using credential edgex-jenkins-ssh [2021-06-24T09:20:30.428Z] Cloning the remote Git repository [2021-06-24T09:20:30.464Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:20:30.538Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2021-06-24T09:20:30.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:20:30.578Z] > git --version # timeout=10 [2021-06-24T09:20:30.588Z] > git --version # 'git version 2.24.4' [2021-06-24T09:20:30.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:20:30.619Z] [INFO] Currently running in a labeled security context [2021-06-24T09:20:30.619Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T09:20:30.620Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/13@tmp/jenkins-gitclient-ssh784335541050362360.key [2021-06-24T09:20:30.641Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T09:20:31.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T09:20:31.521Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T09:20:31.544Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T09:20:31.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T09:20:31.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:20:33.794Z] Merging remotes/origin/master commit f798cd889c9c6c23ad9524ed5baa666d931da3e9 into PR head commit 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [2021-06-24T09:20:31.569Z] [INFO] Currently running in a labeled security context [2021-06-24T09:20:31.569Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T09:20:31.569Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/13@tmp/jenkins-gitclient-ssh2214337924433812013.key [2021-06-24T09:20:31.584Z] > 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-24T09:20:34.118Z] Merge succeeded, producing 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [2021-06-24T09:20:34.119Z] Checking out Revision 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 (PR-971) [2021-06-24T09:20:33.825Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T09:20:33.844Z] > git checkout -f 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 # timeout=10 [2021-06-24T09:20:33.914Z] > git remote # timeout=10 [2021-06-24T09:20:33.922Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T09:20:33.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T09:20:33.933Z] [INFO] Currently running in a labeled security context [2021-06-24T09:20:33.933Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T09:20:33.933Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/13@tmp/jenkins-gitclient-ssh3089368185115840811.key [2021-06-24T09:20:33.952Z] > git merge f798cd889c9c6c23ad9524ed5baa666d931da3e9 # timeout=10 [2021-06-24T09:20:33.990Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T09:20:34.120Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T09:20:34.141Z] > git checkout -f 38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 # timeout=10 [2021-06-24T09:20:35.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 6.272s coverage: 83.3% of statements [2021-06-24T09:20:35.139Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T09:20:35.139Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T09:20:35.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.441s coverage: 58.0% of statements [2021-06-24T09:20:35.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.264s coverage: 89.2% of statements [2021-06-24T09:20:35.139Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T09:20:35.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.211s coverage: 5.0% of statements [2021-06-24T09:20:35.139Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T09:20:35.139Z] GO111MODULE=on go vet ./... [2021-06-24T09:20:38.179Z] 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-24T09:20:39.298Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T09:20:39.740Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T09:20:40.051Z] + true [2021-06-24T09:20:40.051Z] + sudo service docker restart [2021-06-24T09:20:40.051Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:20:58.296Z] provisioning config files... [2021-06-24T09:20:58.316Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config3099009733137343430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:20:58.655Z] ---> docker-login.sh [2021-06-24T09:20:58.655Z] nexus3.edgexfoundry.org:10001 [2021-06-24T09:20:59.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:20:59.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:20:59.498Z] Configure a credential helper to remove this warning. See [2021-06-24T09:20:59.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:20:59.498Z] [2021-06-24T09:20:59.498Z] Login Succeeded [2021-06-24T09:20:59.498Z] nexus3.edgexfoundry.org:10002 [2021-06-24T09:20:59.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:20:59.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:20:59.761Z] Configure a credential helper to remove this warning. See [2021-06-24T09:20:59.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:20:59.761Z] [2021-06-24T09:20:59.761Z] Login Succeeded [2021-06-24T09:20:59.761Z] nexus3.edgexfoundry.org:10003 [2021-06-24T09:20:59.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:20:59.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:20:59.761Z] Configure a credential helper to remove this warning. See [2021-06-24T09:20:59.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:20:59.761Z] [2021-06-24T09:20:59.761Z] Login Succeeded [2021-06-24T09:20:59.761Z] nexus3.edgexfoundry.org:10004 [2021-06-24T09:21:00.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:21:00.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:21:00.024Z] Configure a credential helper to remove this warning. See [2021-06-24T09:21:00.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:21:00.024Z] [2021-06-24T09:21:00.024Z] Login Succeeded [2021-06-24T09:21:00.024Z] docker.io [2021-06-24T09:21:00.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T09:21:00.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T09:21:00.284Z] Configure a credential helper to remove this warning. See [2021-06-24T09:21:00.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T09:21:00.284Z] [2021-06-24T09:21:00.284Z] Login Succeeded [2021-06-24T09:21:00.284Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T09:21:00.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T09:21:00.481Z] ========================================================= [2021-06-24T09:21:00.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T09:21:00.482Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:21:00.826Z] + 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-24T09:21:01.095Z] Sending build context to Docker daemon 2.696MB [2021-06-24T09:21:01.095Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:21:01.095Z] Step 2/8 : FROM ${BASE} [2021-06-24T09:21:01.095Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T09:21:01.095Z] 540db60ca938: Pulling fs layer [2021-06-24T09:21:01.095Z] adcc1eea9eea: Pulling fs layer [2021-06-24T09:21:01.095Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T09:21:01.095Z] 0510c868ecb4: Pulling fs layer [2021-06-24T09:21:01.095Z] afea3b2eda06: Pulling fs layer [2021-06-24T09:21:01.095Z] 7809a108b3ef: Pulling fs layer [2021-06-24T09:21:01.095Z] f706445af74f: Pulling fs layer [2021-06-24T09:21:01.095Z] 0510c868ecb4: Waiting [2021-06-24T09:21:01.095Z] afea3b2eda06: Waiting [2021-06-24T09:21:01.095Z] 7809a108b3ef: Waiting [2021-06-24T09:21:01.095Z] f706445af74f: Waiting [2021-06-24T09:21:01.362Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T09:21:01.362Z] 4c4ab2625f07: Download complete [2021-06-24T09:21:01.362Z] adcc1eea9eea: Verifying Checksum [2021-06-24T09:21:01.362Z] adcc1eea9eea: Download complete [2021-06-24T09:21:01.362Z] afea3b2eda06: Verifying Checksum [2021-06-24T09:21:01.362Z] afea3b2eda06: Download complete [2021-06-24T09:21:01.362Z] 7809a108b3ef: Verifying Checksum [2021-06-24T09:21:01.362Z] 7809a108b3ef: Download complete [2021-06-24T09:21:01.362Z] 540db60ca938: Verifying Checksum [2021-06-24T09:21:01.362Z] 540db60ca938: Download complete [2021-06-24T09:21:01.623Z] 540db60ca938: Pull complete [2021-06-24T09:21:01.892Z] adcc1eea9eea: Pull complete [2021-06-24T09:21:01.892Z] 4c4ab2625f07: Pull complete [2021-06-24T09:21:07.363Z] f706445af74f: Verifying Checksum [2021-06-24T09:21:07.363Z] f706445af74f: Download complete [2021-06-24T09:21:07.363Z] 0510c868ecb4: Verifying Checksum [2021-06-24T09:21:07.363Z] 0510c868ecb4: Download complete [2021-06-24T09:21:11.680Z] 0510c868ecb4: Pull complete [2021-06-24T09:21:11.680Z] afea3b2eda06: Pull complete [2021-06-24T09:21:11.680Z] 7809a108b3ef: Pull complete [2021-06-24T09:21:13.104Z] f706445af74f: Pull complete [2021-06-24T09:21:13.104Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T09:21:13.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T09:21:13.104Z] ---> b068be0155e3 [2021-06-24T09:21:13.104Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:21:17.364Z] ---> Running in 773469101f86 [2021-06-24T09:21:17.364Z] Removing intermediate container 773469101f86 [2021-06-24T09:21:17.364Z] ---> 6b7ecd863a76 [2021-06-24T09:21:17.364Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:21:17.629Z] ---> Running in de60027006b1 [2021-06-24T09:21:18.236Z] Removing intermediate container de60027006b1 [2021-06-24T09:21:18.236Z] ---> c1dda7e50924 [2021-06-24T09:21:18.236Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T09:21:18.236Z] ---> Running in 9b5b97852588 [2021-06-24T09:21:18.500Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T09:21:19.473Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T09:21:20.056Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T09:21:20.056Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T09:21:20.321Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T09:21:20.321Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T09:21:20.321Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T09:21:20.589Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T09:21:20.589Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T09:21:20.589Z] OK: 150 MiB in 46 packages [2021-06-24T09:21:21.172Z] Removing intermediate container 9b5b97852588 [2021-06-24T09:21:21.172Z] ---> 444106f78c4c [2021-06-24T09:21:21.172Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T09:21:21.172Z] ---> Running in 7261355a816e [2021-06-24T09:21:21.172Z] Removing intermediate container 7261355a816e [2021-06-24T09:21:21.172Z] ---> e8513c1c4144 [2021-06-24T09:21:21.172Z] Step 7/8 : COPY . . [2021-06-24T09:21:21.748Z] ---> 1d2eab65aed0 [2021-06-24T09:21:21.748Z] Step 8/8 : RUN go mod download [2021-06-24T09:21:21.748Z] ---> Running in a4a545fef4f1 [2021-06-24T09:21:31.829Z] gofmt -l . [2021-06-24T09:21:32.432Z] [ "`gofmt -l .`" = "" ] [2021-06-24T09:21:32.707Z] ./bin/test-attribution-txt.sh [2021-06-24T09:21:34.691Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T09:21:34.987Z] $ docker stop --time=1 a290437e6bc24ee164618cc6b66e8acfda6ae80150a7826a0ac289d6bb599021 [2021-06-24T09:21:37.227Z] $ docker rm -f a290437e6bc24ee164618cc6b66e8acfda6ae80150a7826a0ac289d6bb599021 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T09:21:38.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T09:21:39.246Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-06-24T09:21:39.988Z] Removing intermediate container a4a545fef4f1 [2021-06-24T09:21:39.988Z] ---> fc6024bff367 [2021-06-24T09:21:39.988Z] Successfully built fc6024bff367 [2021-06-24T09:21:39.988Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:21:40.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T09:21:40.646Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T09:21:40.646Z] . [Pipeline] withDockerContainer [2021-06-24T09:21:40.761Z] prd-centos7-docker-4c-2g-1124 does not seem to be running inside a container [2021-06-24T09:21:40.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-24T09:21:40.922Z] + ls -al . [2021-06-24T09:21:40.922Z] total 248 [2021-06-24T09:21:40.922Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 09:21 . [2021-06-24T09:21:40.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:16 .. [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 09:16 .dockerignore [2021-06-24T09:21:40.922Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 09:17 .git [2021-06-24T09:21:40.922Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 09:16 .github [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 24 09:16 .gitignore [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 24 09:16 Dockerfile.build [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 24 09:16 Jenkinsfile [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 09:16 LICENSE [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 24 09:16 Makefile [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 24 09:16 README.md [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 24 09:16 RELEASE-NOTES.txt [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 09:15 VERSION [2021-06-24T09:21:40.922Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 09:16 bin [2021-06-24T09:21:40.922Z] -rw-r--r-- 1 jenkins jenkins 125635 Jun 24 09:20 coverage.out [2021-06-24T09:21:40.922Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 09:16 example [2021-06-24T09:21:40.922Z] -rw-r--r-- 1 jenkins jenkins 563 Jun 24 09:21 go.mod [2021-06-24T09:21:40.922Z] -rw-r--r-- 1 jenkins jenkins 20598 Jun 24 09:18 go.sum [2021-06-24T09:21:40.922Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 09:16 internal [2021-06-24T09:21:40.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:16 openapi [2021-06-24T09:21:40.922Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 09:16 pkg [2021-06-24T09:21:40.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 09:16 snap [2021-06-24T09:21:40.922Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 09:16 version.go [2021-06-24T09:21:41.191Z] $ docker top 87a8d28b6307c72d6d263a821f42a467d759648894014446777df29529721202 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:21:41.590Z] + go version [2021-06-24T09:21:41.590Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T09:21:41.601Z] $ docker stop --time=1 87a8d28b6307c72d6d263a821f42a467d759648894014446777df29529721202 [2021-06-24T09:21:41.683Z] + 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=38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 --label arch=arm64 --label version=0.0.0 . [2021-06-24T09:21:42.324Z] Sending build context to Docker daemon 2.823MB [2021-06-24T09:21:42.324Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:21:42.324Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T09:21:42.324Z] ---> 2ebb2d957873 [2021-06-24T09:21:42.324Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T09:21:42.617Z] ---> Running in 86716503ca0c [2021-06-24T09:21:42.837Z] $ docker rm -f 87a8d28b6307c72d6d263a821f42a467d759648894014446777df29529721202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:21:43.223Z] Removing intermediate container 86716503ca0c [2021-06-24T09:21:43.223Z] ---> e450b2dce24d [2021-06-24T09:21:43.223Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:21:43.392Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T09:21:43.392Z] . [Pipeline] withDockerContainer [2021-06-24T09:21:43.486Z] prd-centos7-docker-4c-2g-1124 does not seem to be running inside a container [2021-06-24T09:21:43.524Z] ---> Running in 9190cd659293 [2021-06-24T09:21:43.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-24T09:21:43.823Z] Removing intermediate container 9190cd659293 [2021-06-24T09:21:43.823Z] ---> 79fd7ecd2b43 [2021-06-24T09:21:43.823Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:21:44.014Z] $ docker top a26ed2375dbdafe3e8f3e641242972b1146f971f3edf6d710ba76bebffe453ef -eo pid,comm [Pipeline] { [2021-06-24T09:21:44.105Z] ---> Running in 903f54fa4e70 [Pipeline] sh [2021-06-24T09:21:44.414Z] + go mod tidy [Pipeline] sh [2021-06-24T09:21:44.988Z] + make test [2021-06-24T09:21:44.988Z] go mod tidy [2021-06-24T09:21:45.251Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T09:21:46.731Z] Removing intermediate container 903f54fa4e70 [2021-06-24T09:21:46.731Z] ---> 78f6ec911e19 [2021-06-24T09:21:46.731Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T09:21:46.731Z] ---> Running in c15e35d85170 [2021-06-24T09:21:47.732Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T09:21:48.711Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T09:21:49.696Z] OK: 139 MiB in 46 packages [2021-06-24T09:21:51.136Z] Removing intermediate container c15e35d85170 [2021-06-24T09:21:51.136Z] ---> 73e6449e6c88 [2021-06-24T09:21:51.136Z] Step 7/23 : COPY . . [2021-06-24T09:21:51.887Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T09:21:52.571Z] ---> 48748309f5a1 [2021-06-24T09:21:52.572Z] Step 8/23 : RUN go mod download [2021-06-24T09:21:52.845Z] ---> Running in ace17894568e [2021-06-24T09:21:55.474Z] Removing intermediate container ace17894568e [2021-06-24T09:21:55.474Z] ---> 11697f2d2ed5 [2021-06-24T09:21:55.474Z] Step 9/23 : RUN make build [2021-06-24T09:21:55.474Z] ---> Running in 0db2af435a6f [2021-06-24T09:21:56.918Z] go mod tidy [2021-06-24T09:21:57.523Z] 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:22:24.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T09:22:24.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T09:22:24.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T09:22:26.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 24.2% of statements [2021-06-24T09:22:26.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T09:22:26.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 28.1% of statements [2021-06-24T09:22:26.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.079s coverage: 78.9% of statements [2021-06-24T09:22:27.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 9.0% of statements [2021-06-24T09:22:27.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T09:22:27.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T09:22:27.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T09:22:28.683Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 28.7% of statements [2021-06-24T09:22:28.683Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T09:22:35.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 6.057s coverage: 83.3% of statements [2021-06-24T09:22:35.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T09:22:35.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T09:22:35.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 58.0% of statements [2021-06-24T09:22:35.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.915s coverage: 89.2% of statements [2021-06-24T09:22:35.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T09:22:35.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-06-24T09:22:35.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T09:22:35.467Z] GO111MODULE=on go vet ./... [2021-06-24T09:22:38.266Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T09:22:38.266Z] Removing intermediate container 0db2af435a6f [2021-06-24T09:22:38.266Z] ---> 093311b300bb [2021-06-24T09:22:38.266Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T09:22:38.266Z] 3.12: Pulling from library/alpine [2021-06-24T09:22:38.266Z] d2f70382dc9a: Pulling fs layer [2021-06-24T09:22:38.266Z] d2f70382dc9a: Verifying Checksum [2021-06-24T09:22:38.266Z] d2f70382dc9a: Download complete [2021-06-24T09:22:38.266Z] d2f70382dc9a: Pull complete [2021-06-24T09:22:38.266Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T09:22:38.266Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T09:22:38.266Z] ---> c4fd0aeabfcf [2021-06-24T09:22:38.266Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:22:38.266Z] ---> Running in e8dbbccf2286 [2021-06-24T09:22:38.266Z] Removing intermediate container e8dbbccf2286 [2021-06-24T09:22:38.266Z] ---> 4104637a4e26 [2021-06-24T09:22:38.266Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:22:38.266Z] ---> Running in a36d55c72a2e [2021-06-24T09:22:40.891Z] Removing intermediate container a36d55c72a2e [2021-06-24T09:22:40.891Z] ---> 789ecba43680 [2021-06-24T09:22:40.891Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T09:22:40.891Z] ---> Running in b23df308a177 [2021-06-24T09:22:41.873Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T09:22:42.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T09:22:43.451Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T09:22:43.451Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T09:22:43.722Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T09:22:43.722Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T09:22:43.993Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T09:22:43.993Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T09:22:43.993Z] OK: 8 MiB in 19 packages [2021-06-24T09:22:46.635Z] Removing intermediate container b23df308a177 [2021-06-24T09:22:46.635Z] ---> 92a54b8b00fa [2021-06-24T09:22:46.635Z] Step 14/23 : WORKDIR / [2021-06-24T09:22:46.635Z] ---> Running in e78001725b34 [2021-06-24T09:22:46.635Z] Removing intermediate container e78001725b34 [2021-06-24T09:22:46.635Z] ---> 356eb928d482 [2021-06-24T09:22:46.635Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T09:22:46.635Z] ---> 68cfd044f0e6 [2021-06-24T09:22:46.635Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T09:22:48.069Z] ---> d876846e760a [2021-06-24T09:22:48.069Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T09:22:48.668Z] ---> ce202024147a [2021-06-24T09:22:48.668Z] Step 18/23 : EXPOSE 59999 [2021-06-24T09:22:48.668Z] ---> Running in 42ba0f465112 [2021-06-24T09:22:49.261Z] Removing intermediate container 42ba0f465112 [2021-06-24T09:22:49.261Z] ---> 3a545b059e81 [2021-06-24T09:22:49.261Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T09:22:49.540Z] ---> Running in af8c30614f27 [2021-06-24T09:22:49.818Z] Removing intermediate container af8c30614f27 [2021-06-24T09:22:49.818Z] ---> 80b336ea3031 [2021-06-24T09:22:49.818Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T09:22:50.125Z] ---> Running in e5d45162d736 [2021-06-24T09:22:50.398Z] Removing intermediate container e5d45162d736 [2021-06-24T09:22:50.398Z] ---> 1557e88252d0 [2021-06-24T09:22:50.398Z] Step 21/23 : LABEL arch=arm64 [2021-06-24T09:22:50.670Z] ---> Running in e9db142e8989 [2021-06-24T09:22:51.261Z] Removing intermediate container e9db142e8989 [2021-06-24T09:22:51.261Z] ---> 8d3d9fc26cbb [2021-06-24T09:22:51.261Z] Step 22/23 : LABEL git_sha=38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [2021-06-24T09:22:51.261Z] ---> Running in 5c316c934957 [2021-06-24T09:22:51.535Z] Removing intermediate container 5c316c934957 [2021-06-24T09:22:51.535Z] ---> dcfca5c3b59c [2021-06-24T09:22:51.535Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T09:22:51.810Z] ---> Running in cfb7ac0197a8 [2021-06-24T09:22:52.404Z] Removing intermediate container cfb7ac0197a8 [2021-06-24T09:22:52.405Z] ---> c3199944065b [2021-06-24T09:22:52.405Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-24T09:22:52.405Z] Successfully built c3199944065b [2021-06-24T09:22:52.405Z] 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:22:55.096Z] ---> job-cost.sh [2021-06-24T09:22:55.096Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kYam [2021-06-24T09:23:03.362Z] gofmt -l . [2021-06-24T09:23:03.362Z] [ "`gofmt -l .`" = "" ] [2021-06-24T09:23:03.362Z] ./bin/test-attribution-txt.sh [2021-06-24T09:23:03.362Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T09:23:03.377Z] $ docker stop --time=1 a26ed2375dbdafe3e8f3e641242972b1146f971f3edf6d710ba76bebffe453ef [2021-06-24T09:23:04.902Z] $ docker rm -f a26ed2375dbdafe3e8f3e641242972b1146f971f3edf6d710ba76bebffe453ef [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T09:23:05.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T09:23:05.473Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T09:23:05.702Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-24T09:23:06.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T09:23:06.499Z] + ls -al . [2021-06-24T09:23:06.499Z] total 212 [2021-06-24T09:23:06.499Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 24 09:23 . [2021-06-24T09:23:06.499Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 24 09:20 .. [2021-06-24T09:23:06.499Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 09:20 bin [2021-06-24T09:23:06.499Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 24 09:22 coverage.out [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 24 09:20 Dockerfile.build [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 24 09:20 .dockerignore [2021-06-24T09:23:06.499Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 24 09:20 example [2021-06-24T09:23:06.499Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 24 09:20 .git [2021-06-24T09:23:06.499Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 09:20 .github [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 24 09:20 .gitignore [2021-06-24T09:23:06.499Z] -rw-r--r--. 1 jenkins jenkins 563 Jun 24 09:23 go.mod [2021-06-24T09:23:06.499Z] -rw-r--r--. 1 jenkins jenkins 20598 Jun 24 09:21 go.sum [2021-06-24T09:23:06.499Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 24 09:20 internal [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 24 09:20 Jenkinsfile [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 24 09:20 LICENSE [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 24 09:20 Makefile [2021-06-24T09:23:06.499Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 24 09:20 openapi [2021-06-24T09:23:06.499Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 24 09:20 pkg [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 24 09:20 README.md [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 24 09:20 RELEASE-NOTES.txt [2021-06-24T09:23:06.499Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 24 09:20 snap [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 24 09:15 VERSION [2021-06-24T09:23:06.499Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 24 09:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:23:06.815Z] + 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=38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 --label arch=amd64 --label version=0.0.0 . [2021-06-24T09:23:06.815Z] Sending build context to Docker daemon 2.823MB [2021-06-24T09:23:06.815Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T09:23:06.815Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T09:23:06.815Z] ---> fc6024bff367 [2021-06-24T09:23:06.815Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T09:23:07.079Z] ---> Running in 9b40930b4049 [2021-06-24T09:23:07.079Z] Removing intermediate container 9b40930b4049 [2021-06-24T09:23:07.079Z] ---> 05aab0582301 [2021-06-24T09:23:07.079Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:23:07.079Z] ---> Running in 64996112b779 [2021-06-24T09:23:07.079Z] Removing intermediate container 64996112b779 [2021-06-24T09:23:07.079Z] ---> 7cf0d67aef78 [2021-06-24T09:23:07.080Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:23:07.350Z] ---> Running in 2dafe44c9553 [2021-06-24T09:23:07.932Z] Removing intermediate container 2dafe44c9553 [2021-06-24T09:23:07.932Z] ---> 3a7b61b71ba6 [2021-06-24T09:23:07.932Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T09:23:07.932Z] ---> Running in 19387db595a6 [2021-06-24T09:23:08.199Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T09:23:09.147Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T09:23:10.093Z] OK: 150 MiB in 46 packages [2021-06-24T09:23:10.359Z] Removing intermediate container 19387db595a6 [2021-06-24T09:23:10.359Z] ---> cf22e288cfb6 [2021-06-24T09:23:10.359Z] Step 7/23 : COPY . . [2021-06-24T09:23:10.624Z] ---> 0f0d31cf93b6 [2021-06-24T09:23:10.624Z] Step 8/23 : RUN go mod download [2021-06-24T09:23:10.624Z] ---> Running in eb7a17e43a20 [2021-06-24T09:23:11.620Z] Removing intermediate container eb7a17e43a20 [2021-06-24T09:23:11.620Z] ---> f59efeecf859 [2021-06-24T09:23:11.620Z] Step 9/23 : RUN make build [2021-06-24T09:23:11.620Z] ---> Running in c6703ff4a59e [2021-06-24T09:23:11.891Z] go mod tidy [2021-06-24T09:23:12.164Z] 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:23:29.157Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T09:23:29.157Z] Removing intermediate container c6703ff4a59e [2021-06-24T09:23:29.157Z] ---> a0e1fad1a596 [2021-06-24T09:23:29.157Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T09:23:29.157Z] 3.12: Pulling from library/alpine [2021-06-24T09:23:29.157Z] 339de151aab4: Pulling fs layer [2021-06-24T09:23:29.157Z] 339de151aab4: Verifying Checksum [2021-06-24T09:23:29.158Z] 339de151aab4: Download complete [2021-06-24T09:23:29.158Z] 339de151aab4: Pull complete [2021-06-24T09:23:29.158Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T09:23:29.158Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T09:23:29.158Z] ---> 13621d1b12d4 [2021-06-24T09:23:29.158Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T09:23:29.158Z] ---> Running in 2715c52ac65c [2021-06-24T09:23:29.420Z] Removing intermediate container 2715c52ac65c [2021-06-24T09:23:29.420Z] ---> 1b9f6bf3abaf [2021-06-24T09:23:29.420Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T09:23:29.420Z] ---> Running in 453c693f98b8 [2021-06-24T09:23:30.004Z] Removing intermediate container 453c693f98b8 [2021-06-24T09:23:30.004Z] ---> 371e6dbf07c8 [2021-06-24T09:23:30.004Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T09:23:30.004Z] ---> Running in e35fe1215378 [2021-06-24T09:23:30.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-24T09:23:31.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-24T09:23:32.133Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T09:23:32.397Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T09:23:32.397Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T09:23:33.344Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T09:23:33.344Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T09:23:33.610Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T09:23:33.610Z] OK: 8 MiB in 19 packages [2021-06-24T09:23:33.881Z] Removing intermediate container e35fe1215378 [2021-06-24T09:23:33.881Z] ---> 8442a271b5f5 [2021-06-24T09:23:33.881Z] Step 14/23 : WORKDIR / [2021-06-24T09:23:33.881Z] ---> Running in 2da7271580b6 [2021-06-24T09:23:34.145Z] Removing intermediate container 2da7271580b6 [2021-06-24T09:23:34.145Z] ---> d1e38ac9e9de [2021-06-24T09:23:34.145Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T09:23:34.145Z] ---> 7859e64f58b5 [2021-06-24T09:23:34.145Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T09:23:34.721Z] ---> 281c2656a26d [2021-06-24T09:23:34.721Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T09:23:34.988Z] ---> 2d4be96264a0 [2021-06-24T09:23:34.988Z] Step 18/23 : EXPOSE 59999 [2021-06-24T09:23:34.988Z] ---> Running in df8ffebe2e41 [2021-06-24T09:23:34.988Z] Removing intermediate container df8ffebe2e41 [2021-06-24T09:23:34.988Z] ---> c9f1ec362c33 [2021-06-24T09:23:34.988Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T09:23:34.988Z] ---> Running in 9c1a99438f9a [2021-06-24T09:23:35.251Z] Removing intermediate container 9c1a99438f9a [2021-06-24T09:23:35.252Z] ---> 8b010947763d [2021-06-24T09:23:35.252Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T09:23:35.252Z] ---> Running in 2404a465531c [2021-06-24T09:23:35.252Z] Removing intermediate container 2404a465531c [2021-06-24T09:23:35.252Z] ---> 94bb2b618863 [2021-06-24T09:23:35.252Z] Step 21/23 : LABEL arch=amd64 [2021-06-24T09:23:35.515Z] ---> Running in 760fc08a2353 [2021-06-24T09:23:35.515Z] Removing intermediate container 760fc08a2353 [2021-06-24T09:23:35.515Z] ---> 6d1db13a3111 [2021-06-24T09:23:35.515Z] Step 22/23 : LABEL git_sha=38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [2021-06-24T09:23:35.515Z] ---> Running in 0a6cad26cffa [2021-06-24T09:23:35.779Z] Removing intermediate container 0a6cad26cffa [2021-06-24T09:23:35.779Z] ---> 5a946d9bffee [2021-06-24T09:23:35.779Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T09:23:35.779Z] ---> Running in 5d4f97a2c5eb [2021-06-24T09:23:35.779Z] Removing intermediate container 5d4f97a2c5eb [2021-06-24T09:23:35.779Z] ---> 795bacc060c3 [2021-06-24T09:23:35.779Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-24T09:23:35.779Z] Successfully built 795bacc060c3 [2021-06-24T09:23:35.779Z] 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-24T09:23:36.408Z] ---> job-cost.sh [2021-06-24T09:23:36.408Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Cw72 [2021-06-24T09:23:42.031Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T09:23:48.715Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T09:24:09.024Z] lf-activate-venv(): INFO: Adding /tmp/venv-Cw72/bin to PATH [2021-06-24T09:24:09.024Z] INFO: No Stack... [2021-06-24T09:24:09.288Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T09:24:09.867Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T09:24:10.182Z] + cut -d, -f6 [2021-06-24T09:24:10.182Z] + cat /w/workspace/device-sdk-go/13/archives/cost.csv [Pipeline] lock [2021-06-24T09:24:10.218Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-13-stack-cost] [2021-06-24T09:24:10.234Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-13-stack-cost] did not exist. Created. [2021-06-24T09:24:10.235Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T09:24:10.567Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T09:24:10.651Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T09:24:10.664Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-13-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-24T09:25:20.554Z] lf-activate-venv(): INFO: Adding /tmp/venv-kYam/bin to PATH [2021-06-24T09:25:20.554Z] INFO: No Stack... [2021-06-24T09:25:21.532Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T09:25:22.127Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T09:25:22.471Z] + cat /w/workspace/device-sdk-go/13/archives/cost.csv [2021-06-24T09:25:22.471Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T09:25:22.545Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-13-stack-cost] [2021-06-24T09:25:22.552Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-13-stack-cost] did not exist. Created. [2021-06-24T09:25:22.552Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T09:25:22.923Z] /w/workspace/device-sdk-go/13@tmp/durable-c38b33f1/script.sh: 1: /w/workspace/device-sdk-go/13@tmp/durable-c38b33f1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T09:25:23.271Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T09:25:23.302Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T09:25:23.484Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T09:25:23.493Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-13-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:25:26.047Z] provisioning config files... [2021-06-24T09:25:26.058Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config1938465129036018028tmp [Pipeline] { [Pipeline] sh [2021-06-24T09:25:26.384Z] + set +x [2021-06-24T09:25:26.385Z] + curl -s https://codecov.io/bash [2021-06-24T09:25:26.385Z] + bash -s -- [2021-06-24T09:25:26.385Z] [2021-06-24T09:25:26.385Z] _____ _ [2021-06-24T09:25:26.385Z] / ____| | | [2021-06-24T09:25:26.385Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T09:25:26.385Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T09:25:26.385Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T09:25:26.385Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T09:25:26.385Z] Bash-1.0.3 [2021-06-24T09:25:26.385Z] [2021-06-24T09:25:26.385Z] [2021-06-24T09:25:26.385Z] ==> git version 2.24.4 found [2021-06-24T09:25:26.385Z] ==> 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:25:26.385Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T09:25:26.385Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T09:25:26.385Z] ==> Jenkins CI detected. [2021-06-24T09:25:26.385Z] project root: . [2021-06-24T09:25:26.385Z] --> token set from env [2021-06-24T09:25:26.385Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T09:25:26.385Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T09:25:26.385Z] ==> Python coveragepy not found [2021-06-24T09:25:26.385Z] ==> Searching for coverage reports in: [2021-06-24T09:25:26.385Z] + . [2021-06-24T09:25:26.647Z] -> Found 1 reports [2021-06-24T09:25:26.647Z] ==> Detecting git/mercurial file structure [2021-06-24T09:25:26.647Z] ==> Reading reports [2021-06-24T09:25:26.647Z] + ./coverage.out bytes=125634 [2021-06-24T09:25:26.647Z] ==> Appending adjustments [2021-06-24T09:25:26.647Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T09:25:26.918Z] + Found adjustments [2021-06-24T09:25:26.918Z] ==> Gzipping contents [2021-06-24T09:25:26.918Z] 16K /tmp/codecov.8P73s9.gz [2021-06-24T09:25:26.918Z] ==> Uploading reports [2021-06-24T09:25:26.918Z] url: https://codecov.io [2021-06-24T09:25:26.918Z] query: branch=PR-971&commit=38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-24T09:25:26.918Z] -> Pinging Codecov [2021-06-24T09:25:26.918Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-24T09:25:27.182Z] -> Uploading to [2021-06-24T09:25:27.182Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/7E55EF52A471D76F132DFD9A03CDDE97/38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657/637e3757-d671-4cb3-8df8-14f0b727d878.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T092527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65136258781b9da222e79fa15b7e40aaf0f1cb8947129d8d75a2fe5d99cf0e77 [2021-06-24T09:25:27.182Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T09:25:27.182Z] Dload Upload Total Spent Left Speed [2021-06-24T09:25:27.757Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16371 0 0 100 16371 0 46074 --:--:-- --:--:-- --:--:-- 46115 [2021-06-24T09:25:27.758Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/38b27e46d7d4ecd4d8cb9a7d7e29aae1145ed657 [Pipeline] } [2021-06-24T09:25:27.769Z] 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:25:29.249Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:25:29.817Z] ---> package-listing.sh [2021-06-24T09:25:29.817Z] ++ facter osfamily [2021-06-24T09:25:29.817Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T09:25:30.081Z] + OS_FAMILY=redhat [2021-06-24T09:25:30.081Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-24T09:25:30.081Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T09:25:30.081Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T09:25:30.081Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T09:25:30.081Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T09:25:30.081Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-24T09:25:30.081Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T09:25:30.081Z] + case "${OS_FAMILY}" in [2021-06-24T09:25:30.081Z] + sort [2021-06-24T09:25:30.081Z] + rpm -qa [2021-06-24T09:25:30.661Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T09:25:30.661Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T09:25:30.661Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T09:25:30.924Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-24T09:25:30.924Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-24T09:25:30.924Z] + 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:25:30.937Z] 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:25:31.229Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:25:31.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:25:31.804Z] [2021-06-24T09:25:31.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T09:25:32.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:25:32.132Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T09:25:32.132Z] df20fa9351a1: Pulling fs layer [2021-06-24T09:25:32.132Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T09:25:32.132Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T09:25:32.132Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T09:25:32.132Z] 93b61091891f: Pulling fs layer [2021-06-24T09:25:32.132Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T09:25:32.132Z] 5e14af77c1be: Pulling fs layer [2021-06-24T09:25:32.132Z] 01666e4c0597: Pulling fs layer [2021-06-24T09:25:32.132Z] aa168da1d23b: Pulling fs layer [2021-06-24T09:25:32.132Z] 93b9cdb0e59b: Waiting [2021-06-24T09:25:32.132Z] 5e14af77c1be: Waiting [2021-06-24T09:25:32.132Z] 01666e4c0597: Waiting [2021-06-24T09:25:32.132Z] aa168da1d23b: Waiting [2021-06-24T09:25:32.132Z] 46f8f816bc3b: Waiting [2021-06-24T09:25:32.132Z] 93b61091891f: Waiting [2021-06-24T09:25:32.132Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T09:25:32.132Z] 36b3adc4ff6f: Download complete [2021-06-24T09:25:32.132Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T09:25:32.132Z] 46f8f816bc3b: Download complete [2021-06-24T09:25:32.396Z] 93b61091891f: Download complete [2021-06-24T09:25:32.396Z] df20fa9351a1: Verifying Checksum [2021-06-24T09:25:32.396Z] df20fa9351a1: Download complete [2021-06-24T09:25:32.396Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T09:25:32.396Z] 93b9cdb0e59b: Download complete [2021-06-24T09:25:32.396Z] 5e14af77c1be: Verifying Checksum [2021-06-24T09:25:32.396Z] 5e14af77c1be: Download complete [2021-06-24T09:25:32.396Z] 01666e4c0597: Verifying Checksum [2021-06-24T09:25:32.396Z] 01666e4c0597: Download complete [2021-06-24T09:25:32.396Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T09:25:32.396Z] 8ad3a11d3b57: Download complete [2021-06-24T09:25:32.661Z] df20fa9351a1: Pull complete [2021-06-24T09:25:32.661Z] 36b3adc4ff6f: Pull complete [2021-06-24T09:25:33.249Z] 8ad3a11d3b57: Pull complete [2021-06-24T09:25:33.514Z] 46f8f816bc3b: Pull complete [2021-06-24T09:25:33.778Z] 93b61091891f: Pull complete [2021-06-24T09:25:33.778Z] 93b9cdb0e59b: Pull complete [2021-06-24T09:25:34.041Z] 5e14af77c1be: Pull complete [2021-06-24T09:25:34.041Z] 01666e4c0597: Pull complete [2021-06-24T09:25:34.624Z] aa168da1d23b: Verifying Checksum [2021-06-24T09:25:34.624Z] aa168da1d23b: Download complete [2021-06-24T09:25:40.007Z] aa168da1d23b: Pull complete [2021-06-24T09:25:40.007Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T09:25:40.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T09:25:40.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T09:25:40.093Z] prd-centos7-docker-4c-2g-1120 does not seem to be running inside a container [2021-06-24T09:25:40.130Z] $ 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:25:42.897Z] $ docker top d5767e149849d35b9868ed176a35c15ce6acfa7c9ffd90c5be457fe2ea1704b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T09:25:43.293Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T09:25:43.592Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T09:25:43.895Z] + ls /var/log/sa-host [2021-06-24T09:25:43.895Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T09:25:43.895Z] file_magic: OK [2021-06-24T09:25:43.895Z] HZ: Using current value: 100 [2021-06-24T09:25:43.895Z] file_header: OK [2021-06-24T09:25:43.895Z] 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:25:43.895Z] Statistics: [2021-06-24T09:25:43.895Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T09:25:43.895Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T09:25:43.895Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T09:25:43.895Z] file_magic: OK [2021-06-24T09:25:43.895Z] HZ: Using current value: 100 [2021-06-24T09:25:43.895Z] file_header: OK [2021-06-24T09:25:43.895Z] 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:25:43.895Z] Statistics: [2021-06-24T09:25:43.895Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T09:25:43.895Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T09:25:44.101Z] provisioning config files... [2021-06-24T09:25:44.125Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config8818806808966896340tmp [Pipeline] { [Pipeline] echo [2021-06-24T09:25:44.148Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:25:44.445Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T09:25:44.454Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:25:44.844Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T09:25:44.856Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:25:45.162Z] ---> sudo-logs.sh [2021-06-24T09:25:45.162Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T09:25:45.190Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:25:45.505Z] ---> job-cost.sh [2021-06-24T09:25:45.505Z] lf-activate-venv: SKIPPING [2021-06-24T09:25:45.505Z] DEBUG: total: 0.18000000715255737 [2021-06-24T09:25:45.505Z] INFO: Retrieving Stack Cost... [2021-06-24T09:25:46.455Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T09:25:46.717Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T09:25:46.737Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T09:25:47.043Z] ---> logs-deploy.sh [2021-06-24T09:25:47.043Z] lf-activate-venv: SKIPPING [2021-06-24T09:25:47.043Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/13 [2021-06-24T09:25:47.043Z] INFO: archiving workspace using pattern(s): [2021-06-24T09:25:47.992Z] Archives upload complete. [2021-06-24T09:25:47.992Z] INFO: archiving logs to Nexus