Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0887c0ef194ba6a504b0214fcf2fa499e99ba925+ab601dc3bfb73a4a01501692ac3fc9071936c5f4 (be6d8fef955b4c840e47c5cd15b78ef94587e1a6) 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-ssh6082704180498026333.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-ssh6089437832018769088.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-973/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-973/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5774424106026958837.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-ssh5734307689532472310.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-973/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-973/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4720177411653518085.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 Running on prd-centos7-docker-4c-2g-867 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [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-973 # 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-973@tmp/jenkins-gitclient-ssh8863295912445917103.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 ab601dc3bfb73a4a01501692ac3fc9071936c5f4 into PR head commit 0887c0ef194ba6a504b0214fcf2fa499e99ba925 Merge succeeded, producing fe75d833b74bd57521daeb61de9a0a5d74add84d Checking out Revision fe75d833b74bd57521daeb61de9a0a5d74add84d (PR-973) > 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-973@tmp/jenkins-gitclient-ssh2974934015517126648.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # 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-973@tmp/jenkins-gitclient-ssh8334790097433326643.key > git merge ab601dc3bfb73a4a01501692ac3fc9071936c5f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe75d833b74bd57521daeb61de9a0a5d74add84d # timeout=10 Commit message: "Merge commit 'ab601dc3bfb73a4a01501692ac3fc9071936c5f4' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 269e100aaf3c0e02cf21ceac6c64cae2cee4cb7f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-23T06:43:05.600Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-23T06:43:05.704Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-23T06:43:05.735Z] ========================================================= [2021-06-23T06:43:05.735Z] EdgeX Global Pipelines Version Info [2021-06-23T06:43:05.735Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:43:07.155Z] ------------------- [2021-06-23T06:43:07.156Z] stable info: [2021-06-23T06:43:07.156Z] ------------------- [2021-06-23T06:43:07.156Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-23T06:43:07.156Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T06:43:07.156Z] Message: update stable to v1.0.195 [2021-06-23T06:43:07.735Z] ------------------- [2021-06-23T06:43:07.735Z] experimental info: [2021-06-23T06:43:07.735Z] ------------------- [2021-06-23T06:43:07.735Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-23T06:43:07.735Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T06:43:07.735Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-23T06:43:07.865Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-23T06:43:07.890Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-23T06:43:07.914Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-23T06:43:07.938Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-23T06:43:07.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-23T06:43:07.987Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-23T06:43:08.011Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-23T06:43:08.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-23T06:43:08.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-23T06:43:08.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-23T06:43:08.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-23T06:43:08.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-23T06:43:08.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-23T06:43:08.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-23T06:43:08.205Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-23T06:43:08.255Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T06:43:08.280Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T06:43:08.306Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T06:43:08.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-23T06:43:08.355Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-23T06:43:08.378Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-23T06:43:08.401Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-23T06:43:08.425Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-23T06:43:08.449Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-23T06:43:08.473Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-23T06:43:08.498Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-23T06:43:08.523Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-973 [Pipeline] echo [2021-06-23T06:43:08.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-973 [Pipeline] echo [2021-06-23T06:43:08.572Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-973 [Pipeline] echo [2021-06-23T06:43:08.597Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe75d833b74bd57521daeb61de9a0a5d74add84d [Pipeline] echo [2021-06-23T06:43:08.645Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe75d83 [Pipeline] echo [2021-06-23T06:43:08.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T06:43:08.749Z] provisioning config files... [2021-06-23T06:43:08.766Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config8968987891578246554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:43:09.085Z] ---> docker-login.sh [2021-06-23T06:43:09.085Z] nexus3.edgexfoundry.org:10001 [2021-06-23T06:43:09.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:09.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:09.612Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:09.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:09.612Z] [2021-06-23T06:43:09.612Z] Login Succeeded [2021-06-23T06:43:09.612Z] nexus3.edgexfoundry.org:10002 [2021-06-23T06:43:09.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:09.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:09.612Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:09.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:09.612Z] [2021-06-23T06:43:09.612Z] Login Succeeded [2021-06-23T06:43:09.612Z] nexus3.edgexfoundry.org:10003 [2021-06-23T06:43:09.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:09.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:09.880Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:09.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:09.880Z] [2021-06-23T06:43:09.880Z] Login Succeeded [2021-06-23T06:43:09.880Z] nexus3.edgexfoundry.org:10004 [2021-06-23T06:43:09.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:09.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:09.880Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:09.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:09.880Z] [2021-06-23T06:43:09.880Z] Login Succeeded [2021-06-23T06:43:09.880Z] docker.io [2021-06-23T06:43:10.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:43:10.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:43:10.407Z] Configure a credential helper to remove this warning. See [2021-06-23T06:43:10.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:43:10.407Z] [2021-06-23T06:43:10.407Z] Login Succeeded [2021-06-23T06:43:10.407Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T06:43:10.417Z] 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-23T06:43:10.953Z] + git log --format=format:%s -1 fe75d833b74bd57521daeb61de9a0a5d74add84d [Pipeline] echo [2021-06-23T06:43:10.992Z] GIT_COMMIT: fe75d833b74bd57521daeb61de9a0a5d74add84d, Commit Message: Merge commit 'ab601dc3bfb73a4a01501692ac3fc9071936c5f4' into HEAD [Pipeline] echo [2021-06-23T06:43:11.009Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:43:11.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T06:43:11.598Z] [2021-06-23T06:43:11.598Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:43:11.915Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T06:43:11.915Z] latest: Pulling from edgex-devops/git-semver [2021-06-23T06:43:11.915Z] 31603596830f: Pulling fs layer [2021-06-23T06:43:11.915Z] 54011a49482f: Pulling fs layer [2021-06-23T06:43:11.915Z] a6820b24f6d8: Pulling fs layer [2021-06-23T06:43:11.915Z] f581987b2513: Pulling fs layer [2021-06-23T06:43:11.915Z] f581987b2513: Waiting [2021-06-23T06:43:11.915Z] 54011a49482f: Verifying Checksum [2021-06-23T06:43:11.915Z] 54011a49482f: Download complete [2021-06-23T06:43:11.915Z] 31603596830f: Verifying Checksum [2021-06-23T06:43:11.915Z] 31603596830f: Download complete [2021-06-23T06:43:12.178Z] f581987b2513: Verifying Checksum [2021-06-23T06:43:12.178Z] f581987b2513: Download complete [2021-06-23T06:43:12.178Z] a6820b24f6d8: Verifying Checksum [2021-06-23T06:43:12.178Z] a6820b24f6d8: Download complete [2021-06-23T06:43:12.178Z] 31603596830f: Pull complete [2021-06-23T06:43:12.442Z] 54011a49482f: Pull complete [2021-06-23T06:43:13.018Z] a6820b24f6d8: Pull complete [2021-06-23T06:43:13.018Z] f581987b2513: Pull complete [2021-06-23T06:43:13.018Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-23T06:43:13.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T06:43:13.018Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-23T06:43:13.097Z] prd-centos7-docker-4c-2g-867 does not seem to be running inside a container [2021-06-23T06:43:13.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-973 -v /w/workspace/dgexfoundry_device-sdk-go_PR-973:/w/workspace/dgexfoundry_device-sdk-go_PR-973:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-973@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-23T06:43:14.470Z] $ docker top 31ab052363979593cb2925e5027fc99dd05218364ab5671cf7475bc31082b534 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-23T06:43:14.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T06:43:14.603Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T06:43:14.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T06:43:14.711Z] $ docker exec 31ab052363979593cb2925e5027fc99dd05218364ab5671cf7475bc31082b534 ssh-agent [2021-06-23T06:43:14.828Z] SSH_AUTH_SOCK=/tmp/ssh-CogdOs4IJfak/agent.14 [2021-06-23T06:43:14.828Z] SSH_AGENT_PID=20 [2021-06-23T06:43:14.836Z] Running ssh-add (command line suppressed) [2021-06-23T06:43:14.931Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_1402447307043856349.key (/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_1402447307043856349.key) [2021-06-23T06:43:14.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T06:43:15.258Z] + git tag --points-at HEAD [Pipeline] } [2021-06-23T06:43:15.272Z] $ docker exec --env ******** --env ******** 31ab052363979593cb2925e5027fc99dd05218364ab5671cf7475bc31082b534 ssh-agent -k [2021-06-23T06:43:15.371Z] unset SSH_AUTH_SOCK; [2021-06-23T06:43:15.371Z] unset SSH_AGENT_PID; [2021-06-23T06:43:15.371Z] echo Agent pid 20 killed; [2021-06-23T06:43:15.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-23T06:43:15.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T06:43:15.444Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T06:43:15.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T06:43:15.570Z] $ docker exec 31ab052363979593cb2925e5027fc99dd05218364ab5671cf7475bc31082b534 ssh-agent [2021-06-23T06:43:15.676Z] SSH_AUTH_SOCK=/tmp/ssh-nDIozuR8sAyP/agent.54 [2021-06-23T06:43:15.676Z] SSH_AGENT_PID=60 [2021-06-23T06:43:15.681Z] Running ssh-add (command line suppressed) [2021-06-23T06:43:15.776Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_4964564794273058248.key (/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_4964564794273058248.key) [2021-06-23T06:43:15.794Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T06:43:16.100Z] + git semver init [2021-06-23T06:43:16.100Z] # -> Open(): unable to determine branch for HEAD [2021-06-23T06:43:16.100Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-973/.git [2021-06-23T06:43:16.100Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-973 [2021-06-23T06:43:16.100Z] # $SEMVER_REMOTE_NAME = origin [2021-06-23T06:43:16.100Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-23T06:43:16.100Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-23T06:43:16.100Z] # $SEMVER_BRANCH = PR-973 [2021-06-23T06:43:16.100Z] # $SEMVER_TEMP = /tmp/semver-730240873 [2021-06-23T06:43:16.100Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-23T06:43:16.678Z] # '/tmp/semver-730240873' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-973/.semver' [2021-06-23T06:43:16.678Z] # -> Force: false [2021-06-23T06:43:16.678Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-973/.semver [Pipeline] } [2021-06-23T06:43:16.699Z] $ docker exec --env ******** --env ******** 31ab052363979593cb2925e5027fc99dd05218364ab5671cf7475bc31082b534 ssh-agent -k [2021-06-23T06:43:16.802Z] unset SSH_AUTH_SOCK; [2021-06-23T06:43:16.802Z] unset SSH_AGENT_PID; [2021-06-23T06:43:16.802Z] echo Agent pid 60 killed; [2021-06-23T06:43:16.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-23T06:43:17.196Z] + git semver [Pipeline] } [2021-06-23T06:43:17.208Z] $ docker stop --time=1 31ab052363979593cb2925e5027fc99dd05218364ab5671cf7475bc31082b534 [2021-06-23T06:43:18.495Z] $ docker rm -f 31ab052363979593cb2925e5027fc99dd05218364ab5671cf7475bc31082b534 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T06:43:18.878Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-23T06:43:19.167Z] Stashed 1 file(s) [Pipeline] echo [2021-06-23T06:43:19.170Z] [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-23T06:43:34.440Z] Still waiting to schedule task [2021-06-23T06:43:34.440Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-23T06:43:34.445Z] Still waiting to schedule task [2021-06-23T06:43:34.445Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-23T06:46:32.649Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-870 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [Pipeline] { [Pipeline] ws [2021-06-23T06:46:32.671Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-23T06:46:33.107Z] Selected Git installation does not exist. Using Default [2021-06-23T06:46:33.107Z] The recommended git tool is: NONE [2021-06-23T06:46:38.697Z] using credential edgex-jenkins-ssh [2021-06-23T06:46:38.716Z] Cloning the remote Git repository [2021-06-23T06:46:38.769Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:46:38.899Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-23T06:46:38.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:46:38.980Z] > git --version # timeout=10 [2021-06-23T06:46:38.997Z] > git --version # 'git version 2.17.1' [2021-06-23T06:46:38.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:46:39.091Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T06:46:40.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T06:46:40.398Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T06:46:40.425Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T06:46:41.098Z] Merging remotes/origin/master commit ab601dc3bfb73a4a01501692ac3fc9071936c5f4 into PR head commit 0887c0ef194ba6a504b0214fcf2fa499e99ba925 [2021-06-23T06:46:41.393Z] Merge succeeded, producing f93d2561a077919da529230ebe788665cd617cff [2021-06-23T06:46:41.394Z] Checking out Revision f93d2561a077919da529230ebe788665cd617cff (PR-973) [2021-06-23T06:46:40.466Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:46:40.467Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:46:40.482Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T06:46:41.117Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T06:46:41.132Z] > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # timeout=10 [2021-06-23T06:46:41.244Z] > git remote # timeout=10 [2021-06-23T06:46:41.263Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T06:46:41.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:46:41.288Z] > git merge ab601dc3bfb73a4a01501692ac3fc9071936c5f4 # timeout=10 [2021-06-23T06:46:41.375Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T06:46:41.400Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T06:46:41.413Z] > git checkout -f f93d2561a077919da529230ebe788665cd617cff # timeout=10 [2021-06-23T06:46:45.692Z] Commit message: "Merge commit 'ab601dc3bfb73a4a01501692ac3fc9071936c5f4' into HEAD" [2021-06-23T06:46:45.716Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T06:46:45.699Z] > git rev-list --no-walk 269e100aaf3c0e02cf21ceac6c64cae2cee4cb7f # timeout=10 [2021-06-23T06:46:46.996Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-23T06:46:47.428Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T06:46:47.772Z] + true+ sudo service docker restart [2021-06-23T06:46:47.773Z] [2021-06-23T06:46:57.649Z] Running on prd-centos7-docker-4c-2g-871 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [Pipeline] { [Pipeline] ws [2021-06-23T06:46:57.682Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-23T06:46:57.794Z] Selected Git installation does not exist. Using Default [2021-06-23T06:46:57.795Z] The recommended git tool is: NONE [2021-06-23T06:47:00.221Z] using credential edgex-jenkins-ssh [2021-06-23T06:47:00.245Z] Cloning the remote Git repository [2021-06-23T06:47:00.075Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:47:00.153Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-23T06:47:00.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:47:00.205Z] > git --version # timeout=10 [2021-06-23T06:47:00.214Z] > git --version # 'git version 2.24.4' [2021-06-23T06:47:00.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:47:00.245Z] [INFO] Currently running in a labeled security context [2021-06-23T06:47:00.245Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T06:47:00.245Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4959185411573362930.key [2021-06-23T06:47:00.286Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T06:47:01.990Z] Merging remotes/origin/master commit ab601dc3bfb73a4a01501692ac3fc9071936c5f4 into PR head commit 0887c0ef194ba6a504b0214fcf2fa499e99ba925 [2021-06-23T06:47:02.099Z] Merge succeeded, producing ba85a58666f3502a499db6e8c4997734d28e3f60 [2021-06-23T06:47:02.099Z] Checking out Revision ba85a58666f3502a499db6e8c4997734d28e3f60 (PR-973) [2021-06-23T06:47:01.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T06:47:01.283Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T06:47:01.304Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T06:47:01.325Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T06:47:01.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:47:01.326Z] [INFO] Currently running in a labeled security context [2021-06-23T06:47:01.327Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T06:47:01.327Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh6407884171884741311.key [2021-06-23T06:47:01.340Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T06:47:01.946Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T06:47:01.959Z] > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # timeout=10 [2021-06-23T06:47:02.002Z] > git remote # timeout=10 [2021-06-23T06:47:02.008Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T06:47:02.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T06:47:02.017Z] [INFO] Currently running in a labeled security context [2021-06-23T06:47:02.017Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T06:47:02.017Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7843995087571057496.key [2021-06-23T06:47:02.025Z] > git merge ab601dc3bfb73a4a01501692ac3fc9071936c5f4 # timeout=10 [2021-06-23T06:47:02.049Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T06:47:02.060Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T06:47:02.068Z] > git checkout -f ba85a58666f3502a499db6e8c4997734d28e3f60 # timeout=10 [2021-06-23T06:47:05.665Z] Commit message: "Merge commit 'ab601dc3bfb73a4a01501692ac3fc9071936c5f4' into HEAD" [2021-06-23T06:47:05.677Z] First time build. Skipping changelog. [2021-06-23T06:47:05.665Z] > git rev-list --no-walk 269e100aaf3c0e02cf21ceac6c64cae2cee4cb7f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T06:47:06.943Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-23T06:47:07.279Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T06:47:07.592Z] + true [2021-06-23T06:47:07.592Z] + sudo service docker restart [2021-06-23T06:47:07.592Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T06:47:10.016Z] provisioning config files... [2021-06-23T06:47:10.042Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1026020956480927262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:47:10.427Z] ---> docker-login.sh [2021-06-23T06:47:10.427Z] nexus3.edgexfoundry.org:10001 [2021-06-23T06:47:11.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:11.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:11.692Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:11.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:11.692Z] [2021-06-23T06:47:11.692Z] Login Succeeded [2021-06-23T06:47:11.692Z] nexus3.edgexfoundry.org:10002 [2021-06-23T06:47:12.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:12.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:12.292Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:12.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:12.292Z] [2021-06-23T06:47:12.292Z] Login Succeeded [2021-06-23T06:47:12.292Z] nexus3.edgexfoundry.org:10003 [2021-06-23T06:47:12.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:12.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:12.891Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:12.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:12.891Z] [2021-06-23T06:47:12.891Z] Login Succeeded [2021-06-23T06:47:12.891Z] nexus3.edgexfoundry.org:10004 [2021-06-23T06:47:13.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:13.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:13.492Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:13.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:13.492Z] [2021-06-23T06:47:13.492Z] Login Succeeded [2021-06-23T06:47:13.492Z] docker.io [2021-06-23T06:47:14.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:14.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:14.365Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:14.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:14.365Z] [2021-06-23T06:47:14.365Z] Login Succeeded [2021-06-23T06:47:14.365Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T06:47:14.383Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T06:47:14.697Z] ========================================================= [2021-06-23T06:47:14.697Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-23T06:47:14.697Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:47:15.055Z] + 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-23T06:47:15.671Z] Sending build context to Docker daemon 2.699MB [2021-06-23T06:47:15.671Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T06:47:15.671Z] Step 2/8 : FROM ${BASE} [2021-06-23T06:47:15.946Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-23T06:47:15.946Z] 595b0fe564bb: Pulling fs layer [2021-06-23T06:47:15.946Z] 3088b5b3c5c0: Pulling fs layer [2021-06-23T06:47:15.946Z] 5b7225fbf94c: Pulling fs layer [2021-06-23T06:47:15.946Z] ba82ee9f976e: Pulling fs layer [2021-06-23T06:47:15.946Z] 506bd15cee9f: Pulling fs layer [2021-06-23T06:47:15.946Z] 75a0a4a0db45: Pulling fs layer [2021-06-23T06:47:15.946Z] 618dc40b7e24: Pulling fs layer [2021-06-23T06:47:15.946Z] ba82ee9f976e: Waiting [2021-06-23T06:47:15.946Z] 506bd15cee9f: Waiting [2021-06-23T06:47:15.946Z] 75a0a4a0db45: Waiting [2021-06-23T06:47:15.946Z] 618dc40b7e24: Waiting [2021-06-23T06:47:15.946Z] 5b7225fbf94c: Download complete [2021-06-23T06:47:15.946Z] 3088b5b3c5c0: Verifying Checksum [2021-06-23T06:47:15.946Z] 3088b5b3c5c0: Download complete [2021-06-23T06:47:15.946Z] 506bd15cee9f: Download complete [2021-06-23T06:47:15.946Z] 595b0fe564bb: Verifying Checksum [2021-06-23T06:47:15.946Z] 595b0fe564bb: Download complete [2021-06-23T06:47:15.946Z] 75a0a4a0db45: Verifying Checksum [2021-06-23T06:47:15.946Z] 75a0a4a0db45: Download complete [2021-06-23T06:47:16.556Z] 595b0fe564bb: Pull complete [2021-06-23T06:47:17.166Z] 3088b5b3c5c0: Pull complete [2021-06-23T06:47:17.769Z] 5b7225fbf94c: Pull complete [2021-06-23T06:47:18.372Z] 618dc40b7e24: Verifying Checksum [2021-06-23T06:47:18.372Z] 618dc40b7e24: Download complete [2021-06-23T06:47:19.356Z] ba82ee9f976e: Verifying Checksum [2021-06-23T06:47:19.356Z] ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T06:47:25.802Z] provisioning config files... [2021-06-23T06:47:25.816Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1091366105219653270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:47:26.141Z] ---> docker-login.sh [2021-06-23T06:47:26.141Z] nexus3.edgexfoundry.org:10001 [2021-06-23T06:47:26.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:26.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:26.408Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:26.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:26.408Z] [2021-06-23T06:47:26.408Z] Login Succeeded [2021-06-23T06:47:26.408Z] nexus3.edgexfoundry.org:10002 [2021-06-23T06:47:26.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:26.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:26.673Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:26.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:26.673Z] [2021-06-23T06:47:26.673Z] Login Succeeded [2021-06-23T06:47:26.673Z] nexus3.edgexfoundry.org:10003 [2021-06-23T06:47:26.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:26.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:26.674Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:26.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:26.674Z] [2021-06-23T06:47:26.674Z] Login Succeeded [2021-06-23T06:47:26.674Z] nexus3.edgexfoundry.org:10004 [2021-06-23T06:47:26.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:26.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:26.936Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:26.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:26.936Z] [2021-06-23T06:47:26.936Z] Login Succeeded [2021-06-23T06:47:26.936Z] docker.io [2021-06-23T06:47:26.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T06:47:27.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T06:47:27.205Z] Configure a credential helper to remove this warning. See [2021-06-23T06:47:27.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T06:47:27.205Z] [2021-06-23T06:47:27.205Z] Login Succeeded [2021-06-23T06:47:27.205Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T06:47:27.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T06:47:27.398Z] ========================================================= [2021-06-23T06:47:27.398Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-23T06:47:27.398Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:47:27.720Z] + 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-23T06:47:27.720Z] Sending build context to Docker daemon 2.697MB [2021-06-23T06:47:27.720Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T06:47:27.720Z] Step 2/8 : FROM ${BASE} [2021-06-23T06:47:27.988Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-23T06:47:27.988Z] 540db60ca938: Pulling fs layer [2021-06-23T06:47:27.988Z] adcc1eea9eea: Pulling fs layer [2021-06-23T06:47:27.988Z] 4c4ab2625f07: Pulling fs layer [2021-06-23T06:47:27.988Z] 0510c868ecb4: Pulling fs layer [2021-06-23T06:47:27.988Z] afea3b2eda06: Pulling fs layer [2021-06-23T06:47:27.988Z] 7809a108b3ef: Pulling fs layer [2021-06-23T06:47:27.988Z] f706445af74f: Pulling fs layer [2021-06-23T06:47:27.988Z] 0510c868ecb4: Waiting [2021-06-23T06:47:27.988Z] afea3b2eda06: Waiting [2021-06-23T06:47:27.988Z] 7809a108b3ef: Waiting [2021-06-23T06:47:27.988Z] f706445af74f: Waiting [2021-06-23T06:47:27.988Z] 4c4ab2625f07: Verifying Checksum [2021-06-23T06:47:27.988Z] 4c4ab2625f07: Download complete [2021-06-23T06:47:27.988Z] adcc1eea9eea: Verifying Checksum [2021-06-23T06:47:27.988Z] adcc1eea9eea: Download complete [2021-06-23T06:47:27.988Z] afea3b2eda06: Verifying Checksum [2021-06-23T06:47:27.988Z] afea3b2eda06: Download complete [2021-06-23T06:47:27.988Z] 540db60ca938: Verifying Checksum [2021-06-23T06:47:27.988Z] 540db60ca938: Download complete [2021-06-23T06:47:28.250Z] 7809a108b3ef: Verifying Checksum [2021-06-23T06:47:28.250Z] 7809a108b3ef: Download complete [2021-06-23T06:47:28.250Z] 540db60ca938: Pull complete [2021-06-23T06:47:28.514Z] adcc1eea9eea: Pull complete [2021-06-23T06:47:28.514Z] 4c4ab2625f07: Pull complete [2021-06-23T06:47:29.569Z] ba82ee9f976e: Pull complete [2021-06-23T06:47:29.569Z] 506bd15cee9f: Pull complete [2021-06-23T06:47:29.569Z] 75a0a4a0db45: Pull complete [2021-06-23T06:47:29.919Z] 0510c868ecb4: Verifying Checksum [2021-06-23T06:47:29.919Z] 0510c868ecb4: Download complete [2021-06-23T06:47:29.919Z] f706445af74f: Verifying Checksum [2021-06-23T06:47:29.919Z] f706445af74f: Download complete [2021-06-23T06:47:32.979Z] 618dc40b7e24: Pull complete [2021-06-23T06:47:32.979Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-23T06:47:32.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-23T06:47:32.979Z] ---> a36622ca3599 [2021-06-23T06:47:32.979Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:47:33.274Z] 0510c868ecb4: Pull complete [2021-06-23T06:47:33.274Z] afea3b2eda06: Pull complete [2021-06-23T06:47:33.538Z] 7809a108b3ef: Pull complete [2021-06-23T06:47:34.975Z] f706445af74f: Pull complete [2021-06-23T06:47:34.976Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-23T06:47:34.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-23T06:47:34.976Z] ---> b068be0155e3 [2021-06-23T06:47:34.976Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:47:34.980Z] ---> Running in 10f8f42d8413 [2021-06-23T06:47:35.582Z] Removing intermediate container 10f8f42d8413 [2021-06-23T06:47:35.582Z] ---> cd15aef193e5 [2021-06-23T06:47:35.582Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:47:35.582Z] ---> Running in 0018ffbb135b [2021-06-23T06:47:38.212Z] Removing intermediate container 0018ffbb135b [2021-06-23T06:47:38.213Z] ---> 89c2ea3d6115 [2021-06-23T06:47:38.213Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T06:47:38.213Z] ---> Running in 70a0b8df5bb2 [2021-06-23T06:47:38.312Z] ---> Running in 33d8dfe74548 [2021-06-23T06:47:38.578Z] Removing intermediate container 33d8dfe74548 [2021-06-23T06:47:38.578Z] ---> 0d647351b290 [2021-06-23T06:47:38.578Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:47:38.578Z] ---> Running in c2fe1ec63161 [2021-06-23T06:47:39.157Z] Removing intermediate container c2fe1ec63161 [2021-06-23T06:47:39.157Z] ---> 9c97c880405d [2021-06-23T06:47:39.157Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T06:47:39.157Z] ---> Running in 78306c05a33c [2021-06-23T06:47:39.420Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T06:47:39.655Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T06:47:40.370Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T06:47:40.633Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-23T06:47:40.633Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-23T06:47:40.639Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T06:47:40.899Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-23T06:47:40.899Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-23T06:47:40.899Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-23T06:47:41.162Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-23T06:47:41.162Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T06:47:41.162Z] OK: 150 MiB in 46 packages [2021-06-23T06:47:41.235Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-23T06:47:41.426Z] Removing intermediate container 78306c05a33c [2021-06-23T06:47:41.426Z] ---> 6ac6f39da6c4 [2021-06-23T06:47:41.426Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-23T06:47:41.508Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-23T06:47:41.508Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-23T06:47:41.508Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-23T06:47:41.691Z] ---> Running in ea8f89d8dfa4 [2021-06-23T06:47:41.691Z] Removing intermediate container ea8f89d8dfa4 [2021-06-23T06:47:41.691Z] ---> eeb4c295961d [2021-06-23T06:47:41.691Z] Step 7/8 : COPY . . [2021-06-23T06:47:41.780Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-23T06:47:41.781Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-23T06:47:41.781Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T06:47:41.953Z] ---> d0181bbb022c [2021-06-23T06:47:41.953Z] Step 8/8 : RUN go mod download [2021-06-23T06:47:41.953Z] ---> Running in 9ba747f9d66f [2021-06-23T06:47:42.053Z] OK: 139 MiB in 46 packages [2021-06-23T06:47:43.490Z] Removing intermediate container 70a0b8df5bb2 [2021-06-23T06:47:43.490Z] ---> 5fe0f0aba7b5 [2021-06-23T06:47:43.490Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-23T06:47:43.490Z] ---> Running in 697fb92bc856 [2021-06-23T06:47:44.089Z] Removing intermediate container 697fb92bc856 [2021-06-23T06:47:44.089Z] ---> 9f88d809557c [2021-06-23T06:47:44.089Z] Step 7/8 : COPY . . [2021-06-23T06:47:45.523Z] ---> c9fcb4427384 [2021-06-23T06:47:45.523Z] Step 8/8 : RUN go mod download [2021-06-23T06:47:45.523Z] ---> Running in d9ad2a02554b [2021-06-23T06:47:54.251Z] Removing intermediate container 9ba747f9d66f [2021-06-23T06:47:54.251Z] ---> 8759085876a3 [2021-06-23T06:47:54.251Z] Successfully built 8759085876a3 [2021-06-23T06:47:54.251Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:47:54.576Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T06:47:54.576Z] . [Pipeline] withDockerContainer [2021-06-23T06:47:54.664Z] prd-centos7-docker-4c-2g-871 does not seem to be running inside a container [2021-06-23T06:47:54.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-23T06:47:55.123Z] $ docker top 59b0279d20bfd5315105d97ec1065327eab57bcb819f0543ae4734050211edbc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:47:55.527Z] + go version [2021-06-23T06:47:55.527Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-23T06:47:55.536Z] $ docker stop --time=1 59b0279d20bfd5315105d97ec1065327eab57bcb819f0543ae4734050211edbc [2021-06-23T06:47:56.749Z] $ docker rm -f 59b0279d20bfd5315105d97ec1065327eab57bcb819f0543ae4734050211edbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:47:57.339Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T06:47:57.339Z] . [Pipeline] withDockerContainer [2021-06-23T06:47:57.431Z] prd-centos7-docker-4c-2g-871 does not seem to be running inside a container [2021-06-23T06:47:57.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-23T06:47:57.912Z] $ docker top 14b360d62e8cc1caa57348e12cddd5d9875fccb6e73e6278b48054f09e5e7ffb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:47:58.353Z] + go mod tidy [Pipeline] sh [2021-06-23T06:47:58.930Z] + make test [2021-06-23T06:47:58.930Z] go mod tidy [2021-06-23T06:47:59.196Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-23T06:48:04.566Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-23T06:48:12.368Z] Removing intermediate container d9ad2a02554b [2021-06-23T06:48:12.368Z] ---> 0719f4407406 [2021-06-23T06:48:12.368Z] Successfully built 0719f4407406 [2021-06-23T06:48:12.368Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:48:12.726Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T06:48:12.726Z] . [Pipeline] withDockerContainer [2021-06-23T06:48:13.223Z] prd-ubuntu18.04-docker-arm64-4c-16g-870 does not seem to be running inside a container [2021-06-23T06:48:13.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-23T06:48:15.299Z] $ docker top 0269d20f883ed7f44f50f7c9e4452168d5eca897cb997a9f83eac6983ceaa0ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:48:16.405Z] + go version [2021-06-23T06:48:16.405Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-23T06:48:16.435Z] $ docker stop --time=1 0269d20f883ed7f44f50f7c9e4452168d5eca897cb997a9f83eac6983ceaa0ba [2021-06-23T06:48:18.377Z] $ docker rm -f 0269d20f883ed7f44f50f7c9e4452168d5eca897cb997a9f83eac6983ceaa0ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:48:19.229Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T06:48:19.229Z] . [Pipeline] withDockerContainer [2021-06-23T06:48:19.514Z] prd-ubuntu18.04-docker-arm64-4c-16g-870 does not seem to be running inside a container [2021-06-23T06:48:19.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-23T06:48:21.397Z] $ docker top 73ec6963215f0b2dcbe5fbcf12cb6d93ea729498e47217efd87340b5c1cac2aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:48:22.412Z] + go mod tidy [Pipeline] sh [2021-06-23T06:48:23.684Z] + make test [2021-06-23T06:48:23.684Z] go mod tidy [2021-06-23T06:48:24.285Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-23T06:48:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-23T06:48:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-23T06:48:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-23T06:48:31.561Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 24.2% of statements [2021-06-23T06:48:31.562Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-23T06:48:31.562Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 28.1% of statements [2021-06-23T06:48:31.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements [2021-06-23T06:48:32.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.050s coverage: 9.0% of statements [2021-06-23T06:48:32.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-23T06:48:32.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-23T06:48:32.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-23T06:48:32.677Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 28.7% of statements [2021-06-23T06:48:32.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-23T06:48:34.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 83.3% of statements [2021-06-23T06:48:34.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-23T06:48:34.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-23T06:48:34.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 58.0% of statements [2021-06-23T06:48:35.494Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.924s coverage: 89.2% of statements [2021-06-23T06:48:35.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-23T06:48:35.494Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements [2021-06-23T06:48:35.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-23T06:48:35.494Z] GO111MODULE=on go vet ./... [2021-06-23T06:48:51.114Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-23T06:48:57.562Z] gofmt -l . [2021-06-23T06:48:57.562Z] [ "`gofmt -l .`" = "" ] [2021-06-23T06:48:57.562Z] ./bin/test-attribution-txt.sh [2021-06-23T06:48:57.562Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T06:48:57.575Z] $ docker stop --time=1 14b360d62e8cc1caa57348e12cddd5d9875fccb6e73e6278b48054f09e5e7ffb [2021-06-23T06:49:02.561Z] $ docker rm -f 14b360d62e8cc1caa57348e12cddd5d9875fccb6e73e6278b48054f09e5e7ffb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T06:49:03.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T06:49:03.398Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-23T06:49:04.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T06:49:05.056Z] + ls -al . [2021-06-23T06:49:05.056Z] total 208 [2021-06-23T06:49:05.056Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 23 06:48 . [2021-06-23T06:49:05.056Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 06:47 .. [2021-06-23T06:49:05.056Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 06:47 bin [2021-06-23T06:49:05.056Z] -rw-r--r--. 1 jenkins jenkins 125635 Jun 23 06:48 coverage.out [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 23 06:47 Dockerfile.build [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 23 06:47 .dockerignore [2021-06-23T06:49:05.056Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 23 06:47 example [2021-06-23T06:49:05.056Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 06:47 .git [2021-06-23T06:49:05.056Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 23 06:47 .github [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 23 06:47 .gitignore [2021-06-23T06:49:05.056Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 23 06:48 go.mod [2021-06-23T06:49:05.056Z] -rw-r--r--. 1 jenkins jenkins 20294 Jun 23 06:47 go.sum [2021-06-23T06:49:05.056Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 23 06:47 internal [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 23 06:47 Jenkinsfile [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 23 06:47 LICENSE [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 23 06:47 Makefile [2021-06-23T06:49:05.056Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 23 06:47 openapi [2021-06-23T06:49:05.056Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 23 06:47 pkg [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 23 06:47 README.md [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 23 06:47 RELEASE-NOTES.txt [2021-06-23T06:49:05.056Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 06:47 snap [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 06:43 VERSION [2021-06-23T06:49:05.056Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 23 06:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:49:05.374Z] + 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=ba85a58666f3502a499db6e8c4997734d28e3f60 --label arch=amd64 --label version=0.0.0 . [2021-06-23T06:49:05.374Z] Sending build context to Docker daemon 2.823MB [2021-06-23T06:49:05.374Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T06:49:05.374Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-23T06:49:05.374Z] ---> 8759085876a3 [2021-06-23T06:49:05.374Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-23T06:49:06.767Z] ---> Running in 6e97064ab378 [2021-06-23T06:49:06.767Z] Removing intermediate container 6e97064ab378 [2021-06-23T06:49:06.767Z] ---> 1a78afac1b72 [2021-06-23T06:49:06.767Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:49:07.031Z] ---> Running in 8da6b81a51f4 [2021-06-23T06:49:07.294Z] Removing intermediate container 8da6b81a51f4 [2021-06-23T06:49:07.294Z] ---> 7921c6e18f34 [2021-06-23T06:49:07.294Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:49:07.557Z] ---> Running in bf4bb4f8bbcc [2021-06-23T06:49:09.477Z] Removing intermediate container bf4bb4f8bbcc [2021-06-23T06:49:09.477Z] ---> 21ffe2de1c34 [2021-06-23T06:49:09.477Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-23T06:49:09.477Z] ---> Running in beb012f095a3 [2021-06-23T06:49:10.054Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T06:49:10.999Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T06:49:11.262Z] OK: 150 MiB in 46 packages [2021-06-23T06:49:12.217Z] Removing intermediate container beb012f095a3 [2021-06-23T06:49:12.217Z] ---> 1362e9b0cf2e [2021-06-23T06:49:12.217Z] Step 7/23 : COPY . . [2021-06-23T06:49:12.802Z] ---> 2f832dffe660 [2021-06-23T06:49:12.802Z] Step 8/23 : RUN go mod download [2021-06-23T06:49:12.802Z] ---> Running in 1de1d7bb1327 [2021-06-23T06:49:13.379Z] Removing intermediate container 1de1d7bb1327 [2021-06-23T06:49:13.379Z] ---> 6b1c021d6cf2 [2021-06-23T06:49:13.379Z] Step 9/23 : RUN make build [2021-06-23T06:49:13.379Z] ---> Running in 982ae8da563b [2021-06-23T06:49:13.959Z] go mod tidy [2021-06-23T06:49:13.959Z] 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-23T06:49:26.263Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-23T06:49:26.263Z] Removing intermediate container 982ae8da563b [2021-06-23T06:49:26.263Z] ---> e5b1dca48bc8 [2021-06-23T06:49:26.263Z] Step 10/23 : FROM alpine:3.12 [2021-06-23T06:49:26.838Z] 3.12: Pulling from library/alpine [2021-06-23T06:49:26.838Z] 339de151aab4: Pulling fs layer [2021-06-23T06:49:27.101Z] 339de151aab4: Verifying Checksum [2021-06-23T06:49:27.101Z] 339de151aab4: Download complete [2021-06-23T06:49:27.374Z] 339de151aab4: Pull complete [2021-06-23T06:49:27.374Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T06:49:27.374Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T06:49:27.374Z] ---> 13621d1b12d4 [2021-06-23T06:49:27.374Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:49:27.374Z] ---> Running in 987d0cf50264 [2021-06-23T06:49:27.374Z] Removing intermediate container 987d0cf50264 [2021-06-23T06:49:27.374Z] ---> f5c4bfb9e8f9 [2021-06-23T06:49:27.374Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:49:27.374Z] ---> Running in db80e3838b98 [2021-06-23T06:49:27.959Z] Removing intermediate container db80e3838b98 [2021-06-23T06:49:27.959Z] ---> be9101b4247d [2021-06-23T06:49:27.959Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-23T06:49:27.959Z] ---> Running in 169d6b533fa2 [2021-06-23T06:49:28.224Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-23T06:49:29.168Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-23T06:49:29.430Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-23T06:49:29.430Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-23T06:49:29.692Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-23T06:49:30.265Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-23T06:49:30.265Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-23T06:49:30.528Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T06:49:30.528Z] OK: 8 MiB in 19 packages [2021-06-23T06:49:30.790Z] Removing intermediate container 169d6b533fa2 [2021-06-23T06:49:30.790Z] ---> 0ff65c605c81 [2021-06-23T06:49:30.790Z] Step 14/23 : WORKDIR / [2021-06-23T06:49:30.790Z] ---> Running in 63c7a92cc941 [2021-06-23T06:49:31.052Z] Removing intermediate container 63c7a92cc941 [2021-06-23T06:49:31.052Z] ---> 76e6451689b4 [2021-06-23T06:49:31.052Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-23T06:49:31.052Z] ---> 5b70cf3a9d71 [2021-06-23T06:49:31.052Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-23T06:49:31.625Z] ---> 0c3311ce4587 [2021-06-23T06:49:31.625Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-23T06:49:31.886Z] ---> 5fe8226720af [2021-06-23T06:49:31.886Z] Step 18/23 : EXPOSE 59999 [2021-06-23T06:49:32.158Z] ---> Running in 06d5b43fd0dc [2021-06-23T06:49:32.158Z] Removing intermediate container 06d5b43fd0dc [2021-06-23T06:49:32.158Z] ---> 13be865cad09 [2021-06-23T06:49:32.158Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-23T06:49:32.158Z] ---> Running in 41d43fd65d88 [2021-06-23T06:49:32.158Z] Removing intermediate container 41d43fd65d88 [2021-06-23T06:49:32.158Z] ---> 8b0dbcd772a7 [2021-06-23T06:49:32.158Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T06:49:32.158Z] ---> Running in e080e3fddd8f [2021-06-23T06:49:32.430Z] Removing intermediate container e080e3fddd8f [2021-06-23T06:49:32.430Z] ---> 24604fa983d0 [2021-06-23T06:49:32.430Z] Step 21/23 : LABEL arch=amd64 [2021-06-23T06:49:32.430Z] ---> Running in fde71050178e [2021-06-23T06:49:32.430Z] Removing intermediate container fde71050178e [2021-06-23T06:49:32.430Z] ---> ac306f049ad7 [2021-06-23T06:49:32.430Z] Step 22/23 : LABEL git_sha=ba85a58666f3502a499db6e8c4997734d28e3f60 [2021-06-23T06:49:32.430Z] ---> Running in 4206e573ed8b [2021-06-23T06:49:32.693Z] Removing intermediate container 4206e573ed8b [2021-06-23T06:49:32.693Z] ---> 479b4b7aa9fd [2021-06-23T06:49:32.693Z] Step 23/23 : LABEL version=0.0.0 [2021-06-23T06:49:32.693Z] ---> Running in 4fcf2ce1b0d3 [2021-06-23T06:49:32.693Z] Removing intermediate container 4fcf2ce1b0d3 [2021-06-23T06:49:32.693Z] ---> 1f5c4e2eeac5 [2021-06-23T06:49:32.693Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-23T06:49:32.693Z] Successfully built 1f5c4e2eeac5 [2021-06-23T06:49:32.693Z] 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-23T06:49:33.457Z] ---> job-cost.sh [2021-06-23T06:49:33.457Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-K6K2 [2021-06-23T06:49:43.509Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T06:49:55.785Z] lf-activate-venv(): INFO: Adding /tmp/venv-K6K2/bin to PATH [2021-06-23T06:49:55.785Z] INFO: No Stack... [2021-06-23T06:49:56.045Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T06:49:56.638Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T06:49:56.940Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-06-23T06:49:56.940Z] + cut -d, -f6 [Pipeline] lock [2021-06-23T06:49:56.971Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-973-3-stack-cost] [2021-06-23T06:49:56.982Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-973-3-stack-cost] did not exist. Created. [2021-06-23T06:49:56.982Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-973-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T06:49:57.311Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-23T06:49:57.389Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T06:49:57.404Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-973-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-23T06:49:59.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-23T06:49:59.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-23T06:49:59.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-23T06:50:14.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.346s coverage: 24.2% of statements [2021-06-23T06:50:14.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-23T06:50:14.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.206s coverage: 28.1% of statements [2021-06-23T06:50:14.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.248s coverage: 78.9% of statements [2021-06-23T06:50:14.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.213s coverage: 9.0% of statements [2021-06-23T06:50:14.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-23T06:50:14.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-23T06:50:14.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-23T06:50:14.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.408s coverage: 28.7% of statements [2021-06-23T06:50:14.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-23T06:50:14.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.241s coverage: 83.3% of statements [2021-06-23T06:50:14.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-23T06:50:14.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-23T06:50:14.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.418s coverage: 58.0% of statements [2021-06-23T06:50:19.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.064s coverage: 89.2% of statements [2021-06-23T06:50:19.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-23T06:50:19.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 5.0% of statements [2021-06-23T06:50:19.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-23T06:50:19.836Z] GO111MODULE=on go vet ./... [2021-06-23T06:51:16.439Z] gofmt -l . [2021-06-23T06:51:16.439Z] [ "`gofmt -l .`" = "" ] [2021-06-23T06:51:16.439Z] ./bin/test-attribution-txt.sh [2021-06-23T06:51:18.423Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T06:51:18.727Z] $ docker stop --time=1 73ec6963215f0b2dcbe5fbcf12cb6d93ea729498e47217efd87340b5c1cac2aa [2021-06-23T06:51:20.933Z] $ docker rm -f 73ec6963215f0b2dcbe5fbcf12cb6d93ea729498e47217efd87340b5c1cac2aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T06:51:22.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T06:51:22.064Z] Warning: overwriting stash ‘coverage-report’ [2021-06-23T06:51:22.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T06:51:23.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T06:51:23.568Z] + ls -al . [2021-06-23T06:51:23.568Z] total 244 [2021-06-23T06:51:23.568Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 06:51 . [2021-06-23T06:51:23.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:46 .. [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 06:46 .dockerignore [2021-06-23T06:51:23.568Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 06:46 .git [2021-06-23T06:51:23.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:46 .github [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 23 06:46 .gitignore [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 23 06:46 Dockerfile.build [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 23 06:46 Jenkinsfile [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 23 06:46 LICENSE [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 23 06:46 Makefile [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 23 06:46 README.md [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 23 06:46 RELEASE-NOTES.txt [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 06:43 VERSION [2021-06-23T06:51:23.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:46 bin [2021-06-23T06:51:23.568Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 23 06:50 coverage.out [2021-06-23T06:51:23.568Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 06:46 example [2021-06-23T06:51:23.568Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 23 06:51 go.mod [2021-06-23T06:51:23.568Z] -rw-r--r-- 1 jenkins jenkins 20294 Jun 23 06:48 go.sum [2021-06-23T06:51:23.568Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 23 06:46 internal [2021-06-23T06:51:23.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:46 openapi [2021-06-23T06:51:23.568Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 06:46 pkg [2021-06-23T06:51:23.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:46 snap [2021-06-23T06:51:23.568Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 23 06:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:51:23.920Z] + 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=f93d2561a077919da529230ebe788665cd617cff --label arch=arm64 --label version=0.0.0 . [2021-06-23T06:51:24.517Z] Sending build context to Docker daemon 2.825MB [2021-06-23T06:51:24.517Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T06:51:24.517Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-23T06:51:24.517Z] ---> 0719f4407406 [2021-06-23T06:51:24.517Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-23T06:51:24.791Z] ---> Running in 26ad13255c9c [2021-06-23T06:51:25.386Z] Removing intermediate container 26ad13255c9c [2021-06-23T06:51:25.386Z] ---> 1a9901819ae9 [2021-06-23T06:51:25.386Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:51:25.386Z] ---> Running in 25f0ba39b692 [2021-06-23T06:51:25.675Z] Removing intermediate container 25f0ba39b692 [2021-06-23T06:51:25.675Z] ---> bf9ecd243c61 [2021-06-23T06:51:25.675Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:51:25.948Z] ---> Running in 3938229f9083 [2021-06-23T06:51:27.985Z] Removing intermediate container 3938229f9083 [2021-06-23T06:51:27.985Z] ---> d329928d41e3 [2021-06-23T06:51:27.985Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-23T06:51:27.985Z] ---> Running in 6f81015fcf29 [2021-06-23T06:51:29.452Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T06:51:30.044Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T06:51:31.030Z] OK: 139 MiB in 46 packages [2021-06-23T06:51:32.028Z] Removing intermediate container 6f81015fcf29 [2021-06-23T06:51:32.028Z] ---> 286fb2e923dd [2021-06-23T06:51:32.028Z] Step 7/23 : COPY . . [2021-06-23T06:51:33.469Z] ---> d95ca4cdd5a0 [2021-06-23T06:51:33.469Z] Step 8/23 : RUN go mod download [2021-06-23T06:51:33.469Z] ---> Running in 7e47cb28e109 [2021-06-23T06:51:36.087Z] Removing intermediate container 7e47cb28e109 [2021-06-23T06:51:36.087Z] ---> bc52fbbd9455 [2021-06-23T06:51:36.087Z] Step 9/23 : RUN make build [2021-06-23T06:51:36.087Z] ---> Running in 83e9fd59777b [2021-06-23T06:51:37.068Z] go mod tidy [2021-06-23T06:51:37.673Z] 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-23T06:52:10.117Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-23T06:52:11.557Z] Removing intermediate container 83e9fd59777b [2021-06-23T06:52:11.557Z] ---> 44d51ae2e5ef [2021-06-23T06:52:11.557Z] Step 10/23 : FROM alpine:3.12 [2021-06-23T06:52:12.150Z] 3.12: Pulling from library/alpine [2021-06-23T06:52:12.150Z] d2f70382dc9a: Pulling fs layer [2021-06-23T06:52:12.422Z] d2f70382dc9a: Verifying Checksum [2021-06-23T06:52:12.422Z] d2f70382dc9a: Download complete [2021-06-23T06:52:13.017Z] d2f70382dc9a: Pull complete [2021-06-23T06:52:13.289Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T06:52:13.289Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T06:52:13.289Z] ---> c4fd0aeabfcf [2021-06-23T06:52:13.289Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T06:52:13.562Z] ---> Running in f7c1e53b005a [2021-06-23T06:52:13.857Z] Removing intermediate container f7c1e53b005a [2021-06-23T06:52:13.857Z] ---> cf3b16a1dcd9 [2021-06-23T06:52:13.857Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T06:52:14.128Z] ---> Running in ba67f7e9d567 [2021-06-23T06:52:16.144Z] Removing intermediate container ba67f7e9d567 [2021-06-23T06:52:16.144Z] ---> c4d51b9b475b [2021-06-23T06:52:16.144Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-23T06:52:16.417Z] ---> Running in 902ed4095607 [2021-06-23T06:52:17.845Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-23T06:52:18.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-23T06:52:19.030Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-23T06:52:19.030Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-23T06:52:19.301Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-23T06:52:19.571Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-23T06:52:19.571Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-23T06:52:19.571Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T06:52:19.848Z] OK: 8 MiB in 19 packages [2021-06-23T06:52:20.835Z] Removing intermediate container 902ed4095607 [2021-06-23T06:52:20.835Z] ---> bdb0ffb4ccb2 [2021-06-23T06:52:20.835Z] Step 14/23 : WORKDIR / [2021-06-23T06:52:21.111Z] ---> Running in 4c23cdd40cab [2021-06-23T06:52:21.705Z] Removing intermediate container 4c23cdd40cab [2021-06-23T06:52:21.706Z] ---> b15bcc7b7cf5 [2021-06-23T06:52:21.706Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-23T06:52:22.687Z] ---> 8125c9caa882 [2021-06-23T06:52:22.687Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-23T06:52:23.665Z] ---> cc7d81396fe4 [2021-06-23T06:52:23.665Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-23T06:52:24.642Z] ---> e7a2fcb3c9c9 [2021-06-23T06:52:24.643Z] Step 18/23 : EXPOSE 59999 [2021-06-23T06:52:24.643Z] ---> Running in a2d2ad8cb80a [2021-06-23T06:52:25.238Z] Removing intermediate container a2d2ad8cb80a [2021-06-23T06:52:25.238Z] ---> 43ea8114d27b [2021-06-23T06:52:25.238Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-23T06:52:25.238Z] ---> Running in 225586c95b40 [2021-06-23T06:52:25.832Z] Removing intermediate container 225586c95b40 [2021-06-23T06:52:25.832Z] ---> c55025a89b99 [2021-06-23T06:52:25.832Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T06:52:26.105Z] ---> Running in 32adb6094ff4 [2021-06-23T06:52:26.377Z] Removing intermediate container 32adb6094ff4 [2021-06-23T06:52:26.377Z] ---> eb402fe05c47 [2021-06-23T06:52:26.377Z] Step 21/23 : LABEL arch=arm64 [2021-06-23T06:52:26.650Z] ---> Running in ee54932b7093 [2021-06-23T06:52:27.244Z] Removing intermediate container ee54932b7093 [2021-06-23T06:52:27.244Z] ---> 586a9d07e8a2 [2021-06-23T06:52:27.244Z] Step 22/23 : LABEL git_sha=f93d2561a077919da529230ebe788665cd617cff [2021-06-23T06:52:27.244Z] ---> Running in 25617db4558f [2021-06-23T06:52:27.839Z] Removing intermediate container 25617db4558f [2021-06-23T06:52:27.839Z] ---> 74d789828858 [2021-06-23T06:52:27.839Z] Step 23/23 : LABEL version=0.0.0 [2021-06-23T06:52:27.839Z] ---> Running in 0ffee90d6fd0 [2021-06-23T06:52:28.435Z] Removing intermediate container 0ffee90d6fd0 [2021-06-23T06:52:28.435Z] ---> 6eaaab956615 [2021-06-23T06:52:28.435Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-23T06:52:28.435Z] Successfully built 6eaaab956615 [2021-06-23T06:52:28.435Z] 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-23T06:52:29.157Z] ---> job-cost.sh [2021-06-23T06:52:29.157Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YzQi [2021-06-23T06:53:08.115Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T06:54:44.888Z] lf-activate-venv(): INFO: Adding /tmp/venv-YzQi/bin to PATH [2021-06-23T06:54:44.888Z] INFO: No Stack... [2021-06-23T06:54:44.888Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-23T06:54:44.888Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T06:54:45.230Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-06-23T06:54:45.231Z] + cut -d, -f6 [Pipeline] lock [2021-06-23T06:54:45.292Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-973-3-stack-cost] [2021-06-23T06:54:45.302Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-973-3-stack-cost] did not exist. Created. [2021-06-23T06:54:45.302Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-973-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T06:54:45.673Z] /w/workspace/device-sdk-go/3@tmp/durable-d862aad2/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-d862aad2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-23T06:54:46.015Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-23T06:54:46.050Z] Warning: overwriting stash ‘stack-cost’ [2021-06-23T06:54:46.206Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T06:54:46.225Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-973-3-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-23T06:54:46.819Z] provisioning config files... [2021-06-23T06:54:46.832Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config3457332944423526335tmp [Pipeline] { [Pipeline] sh [2021-06-23T06:54:47.148Z] + set +x [2021-06-23T06:54:47.148Z] + curl -s https://codecov.io/bash [2021-06-23T06:54:47.148Z] + bash -s -- [2021-06-23T06:54:47.148Z] [2021-06-23T06:54:47.148Z] _____ _ [2021-06-23T06:54:47.148Z] / ____| | | [2021-06-23T06:54:47.148Z] | | ___ __| | ___ ___ _____ __ [2021-06-23T06:54:47.148Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-23T06:54:47.148Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-23T06:54:47.148Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-23T06:54:47.148Z] Bash-1.0.3 [2021-06-23T06:54:47.148Z] [2021-06-23T06:54:47.148Z] [2021-06-23T06:54:47.148Z] ==> git version 2.24.4 found [2021-06-23T06:54:47.148Z] ==> 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-23T06:54:47.148Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-23T06:54:47.148Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-23T06:54:47.148Z] ==> Jenkins CI detected. [2021-06-23T06:54:47.148Z] project root: . [2021-06-23T06:54:47.148Z] --> token set from env [2021-06-23T06:54:47.148Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-23T06:54:47.148Z] ==> Running gcov in . (disable via -X gcov) [2021-06-23T06:54:47.148Z] ==> Python coveragepy not found [2021-06-23T06:54:47.148Z] ==> Searching for coverage reports in: [2021-06-23T06:54:47.148Z] + . [2021-06-23T06:54:47.410Z] -> Found 1 reports [2021-06-23T06:54:47.410Z] ==> Detecting git/mercurial file structure [2021-06-23T06:54:47.410Z] ==> Reading reports [2021-06-23T06:54:47.410Z] + ./coverage.out bytes=125634 [2021-06-23T06:54:47.410Z] ==> Appending adjustments [2021-06-23T06:54:47.410Z] https://docs.codecov.io/docs/fixing-reports [2021-06-23T06:54:47.672Z] + Found adjustments [2021-06-23T06:54:47.672Z] ==> Gzipping contents [2021-06-23T06:54:47.672Z] 16K /tmp/codecov.C1Luq5.gz [2021-06-23T06:54:47.672Z] ==> Uploading reports [2021-06-23T06:54:47.672Z] url: https://codecov.io [2021-06-23T06:54:47.672Z] query: branch=PR-973&commit=fe75d833b74bd57521daeb61de9a0a5d74add84d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-973%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=973&job=&cmd_args= [2021-06-23T06:54:47.672Z] -> Pinging Codecov [2021-06-23T06:54:47.672Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-973&commit=fe75d833b74bd57521daeb61de9a0a5d74add84d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-973%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=973&job=&cmd_args= [2021-06-23T06:54:47.940Z] -> Uploading to [2021-06-23T06:54:47.940Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-23/7E55EF52A471D76F132DFD9A03CDDE97/fe75d833b74bd57521daeb61de9a0a5d74add84d/caa44fcf-c7b9-485f-b782-1fd3ac4ad693.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210623T065447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7651859f5a711c76134bbda4ca002f417fdd231388df0df6471e8d6b10781798 [2021-06-23T06:54:47.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-23T06:54:47.940Z] Dload Upload Total Spent Left Speed [2021-06-23T06:54:48.514Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16320 0 0 100 16320 0 33048 --:--:-- --:--:-- --:--:-- 33103 [2021-06-23T06:54:48.514Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fe75d833b74bd57521daeb61de9a0a5d74add84d [Pipeline] } [2021-06-23T06:54:48.524Z] 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-23T06:54:49.996Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:54:50.578Z] ---> package-listing.sh [2021-06-23T06:54:50.578Z] ++ facter osfamily [2021-06-23T06:54:50.578Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-23T06:54:50.846Z] + OS_FAMILY=redhat [2021-06-23T06:54:50.846Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-973 [2021-06-23T06:54:50.846Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-23T06:54:50.846Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-23T06:54:50.846Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-23T06:54:50.846Z] + PACKAGES=/tmp/packages_start.txt [2021-06-23T06:54:50.846Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-973 ']' [2021-06-23T06:54:50.846Z] + PACKAGES=/tmp/packages_end.txt [2021-06-23T06:54:50.846Z] + case "${OS_FAMILY}" in [2021-06-23T06:54:50.846Z] + rpm -qa [2021-06-23T06:54:50.846Z] + sort [2021-06-23T06:54:51.420Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-23T06:54:51.420Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-23T06:54:51.420Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-23T06:54:51.420Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-973 ']' [2021-06-23T06:54:51.420Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-973/archives/ [2021-06-23T06:54:51.420Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-973/archives/ [Pipeline] echo [2021-06-23T06:54:51.454Z] 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-973/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-23T06:54:51.745Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:54:52.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T06:54:52.366Z] [2021-06-23T06:54:52.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-23T06:54:52.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T06:54:52.681Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-23T06:54:52.681Z] df20fa9351a1: Pulling fs layer [2021-06-23T06:54:52.681Z] 36b3adc4ff6f: Pulling fs layer [2021-06-23T06:54:52.681Z] 8ad3a11d3b57: Pulling fs layer [2021-06-23T06:54:52.681Z] 46f8f816bc3b: Pulling fs layer [2021-06-23T06:54:52.681Z] 93b61091891f: Pulling fs layer [2021-06-23T06:54:52.681Z] 93b9cdb0e59b: Pulling fs layer [2021-06-23T06:54:52.681Z] 5e14af77c1be: Pulling fs layer [2021-06-23T06:54:52.681Z] 01666e4c0597: Pulling fs layer [2021-06-23T06:54:52.681Z] aa168da1d23b: Pulling fs layer [2021-06-23T06:54:52.681Z] 93b61091891f: Waiting [2021-06-23T06:54:52.681Z] 93b9cdb0e59b: Waiting [2021-06-23T06:54:52.681Z] 5e14af77c1be: Waiting [2021-06-23T06:54:52.681Z] 01666e4c0597: Waiting [2021-06-23T06:54:52.681Z] aa168da1d23b: Waiting [2021-06-23T06:54:52.681Z] 46f8f816bc3b: Waiting [2021-06-23T06:54:52.681Z] 36b3adc4ff6f: Verifying Checksum [2021-06-23T06:54:52.681Z] 36b3adc4ff6f: Download complete [2021-06-23T06:54:52.681Z] 46f8f816bc3b: Verifying Checksum [2021-06-23T06:54:52.681Z] 46f8f816bc3b: Download complete [2021-06-23T06:54:52.681Z] df20fa9351a1: Verifying Checksum [2021-06-23T06:54:52.681Z] df20fa9351a1: Download complete [2021-06-23T06:54:52.947Z] 93b9cdb0e59b: Verifying Checksum [2021-06-23T06:54:52.947Z] 93b9cdb0e59b: Download complete [2021-06-23T06:54:52.947Z] 5e14af77c1be: Verifying Checksum [2021-06-23T06:54:52.947Z] 5e14af77c1be: Download complete [2021-06-23T06:54:52.947Z] 93b61091891f: Verifying Checksum [2021-06-23T06:54:52.947Z] 93b61091891f: Download complete [2021-06-23T06:54:52.947Z] 01666e4c0597: Verifying Checksum [2021-06-23T06:54:52.947Z] 01666e4c0597: Download complete [2021-06-23T06:54:52.947Z] df20fa9351a1: Pull complete [2021-06-23T06:54:53.208Z] 36b3adc4ff6f: Pull complete [2021-06-23T06:54:53.790Z] 8ad3a11d3b57: Verifying Checksum [2021-06-23T06:54:53.790Z] 8ad3a11d3b57: Download complete [2021-06-23T06:54:54.053Z] 8ad3a11d3b57: Pull complete [2021-06-23T06:54:54.319Z] 46f8f816bc3b: Pull complete [2021-06-23T06:54:54.580Z] 93b61091891f: Pull complete [2021-06-23T06:54:54.580Z] 93b9cdb0e59b: Pull complete [2021-06-23T06:54:54.842Z] 5e14af77c1be: Pull complete [2021-06-23T06:54:54.842Z] 01666e4c0597: Pull complete [2021-06-23T06:54:55.108Z] aa168da1d23b: Verifying Checksum [2021-06-23T06:54:55.108Z] aa168da1d23b: Download complete [2021-06-23T06:54:59.342Z] aa168da1d23b: Pull complete [2021-06-23T06:54:59.342Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-23T06:54:59.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T06:54:59.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-23T06:54:59.415Z] prd-centos7-docker-4c-2g-867 does not seem to be running inside a container [2021-06-23T06:54:59.453Z] $ 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-973/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-973 -v /w/workspace/dgexfoundry_device-sdk-go_PR-973:/w/workspace/dgexfoundry_device-sdk-go_PR-973:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-973@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-23T06:55:01.927Z] $ docker top 908192d59908e7153f14364b05a4de9d01581c231538eddeb38d9c8c692b7a76 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T06:55:02.308Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-23T06:55:02.608Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-23T06:55:02.915Z] + ls /var/log/sa-host [2021-06-23T06:55:02.915Z] + sadf -c /var/log/sa-host/sa05 [2021-06-23T06:55:02.915Z] file_magic: OK [2021-06-23T06:55:02.915Z] HZ: Using current value: 100 [2021-06-23T06:55:02.915Z] file_header: OK [2021-06-23T06:55:02.915Z] 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-23T06:55:02.915Z] Statistics: [2021-06-23T06:55:02.915Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T06:55:02.915Z] File successfully converted to sysstat format version 12.2.1 [2021-06-23T06:55:02.915Z] + sadf -c /var/log/sa-host/sa23 [2021-06-23T06:55:02.915Z] file_magic: OK [2021-06-23T06:55:02.915Z] HZ: Using current value: 100 [2021-06-23T06:55:02.916Z] file_header: OK [2021-06-23T06:55:02.916Z] 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-23T06:55:02.916Z] Statistics: [2021-06-23T06:55:02.916Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T06:55:02.916Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T06:55:03.106Z] provisioning config files... [2021-06-23T06:55:03.120Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config8748646062583531490tmp [Pipeline] { [Pipeline] echo [2021-06-23T06:55:03.145Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:55:03.451Z] ---> create-netrc.sh [Pipeline] } [2021-06-23T06:55:03.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:55:03.835Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-23T06:55:03.845Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:55:04.162Z] ---> sudo-logs.sh [2021-06-23T06:55:04.162Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-23T06:55:04.191Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:55:04.489Z] ---> job-cost.sh [2021-06-23T06:55:04.489Z] lf-activate-venv: SKIPPING [2021-06-23T06:55:04.489Z] DEBUG: total: 0.18000000715255737 [2021-06-23T06:55:04.489Z] INFO: Retrieving Stack Cost... [2021-06-23T06:55:05.435Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T06:55:05.697Z] INFO: Archiving Costs [Pipeline] echo [2021-06-23T06:55:05.717Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T06:55:06.023Z] ---> logs-deploy.sh [2021-06-23T06:55:06.023Z] lf-activate-venv: SKIPPING [2021-06-23T06:55:06.023Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-973/3 [2021-06-23T06:55:06.023Z] INFO: archiving workspace using pattern(s): [2021-06-23T06:55:06.971Z] Archives upload complete. [2021-06-23T06:55:06.971Z] INFO: archiving logs to Nexus