Pull request #1211 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 660687e139f76a6ef77d6543c3c003a4e17dc897+7128670c60762a554b6733602f52baa10dc88de3 (289aa87166ec3c94e9ed1e3702a81937d4280f48) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14778053365678739092.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh123663240970216829.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12985429722492708962.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18260116662574151209.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17846117327427589458.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1211/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1211/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6105808691135112092.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-29922 in /w/workspace/gexfoundry_device-sdk-go_PR-1211 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1211 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit 660687e139f76a6ef77d6543c3c003a4e17dc897 Merge succeeded, producing 660687e139f76a6ef77d6543c3c003a4e17dc897 Checking out Revision 660687e139f76a6ef77d6543c3c003a4e17dc897 (PR-1211) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1211/head:refs/remotes/origin/PR-1211 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 660687e139f76a6ef77d6543c3c003a4e17dc897 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 660687e139f76a6ef77d6543c3c003a4e17dc897 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-20T04:04:58.419Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-20T04:04:58.596Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-20T04:04:58.698Z] ========================================================= [2022-09-20T04:04:58.698Z] EdgeX Global Pipelines Version Info [2022-09-20T04:04:58.698Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:04:59.476Z] ------------------- [2022-09-20T04:04:59.476Z] stable info: [2022-09-20T04:04:59.476Z] ------------------- [2022-09-20T04:04:59.476Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-20T04:04:59.476Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T04:04:59.476Z] Message: update stable to v1.0.239 [2022-09-20T04:05:00.051Z] ------------------- [2022-09-20T04:05:00.051Z] experimental info: [2022-09-20T04:05:00.051Z] ------------------- [2022-09-20T04:05:00.051Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-20T04:05:00.051Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T04:05:00.051Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-20T04:05:00.423Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-20T04:05:00.467Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-20T04:05:00.506Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-20T04:05:00.547Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-20T04:05:00.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-20T04:05:00.630Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-20T04:05:00.671Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-20T04:05:00.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-20T04:05:00.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-20T04:05:00.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-20T04:05:00.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-20T04:05:00.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-20T04:05:00.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-20T04:05:00.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-20T04:05:01.013Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T04:05:01.053Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T04:05:01.093Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T04:05:01.133Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T04:05:01.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-20T04:05:01.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-20T04:05:01.255Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-20T04:05:01.296Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-20T04:05:01.333Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-20T04:05:01.373Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-20T04:05:01.412Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-20T04:05:01.453Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-20T04:05:01.498Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-20T04:05:01.541Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1211 [Pipeline] echo [2022-09-20T04:05:01.579Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1211 [Pipeline] echo [2022-09-20T04:05:01.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1211 [Pipeline] echo [2022-09-20T04:05:01.663Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] echo [2022-09-20T04:05:01.705Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 660687e [Pipeline] echo [2022-09-20T04:05:01.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T04:05:01.865Z] provisioning config files... [2022-09-20T04:05:01.880Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/config4541355517676783101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:05:02.250Z] ---> docker-login.sh [2022-09-20T04:05:02.250Z] nexus3.edgexfoundry.org:10001 [2022-09-20T04:05:02.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:02.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:02.779Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:02.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:02.779Z] [2022-09-20T04:05:02.779Z] Login Succeeded [2022-09-20T04:05:02.779Z] nexus3.edgexfoundry.org:10002 [2022-09-20T04:05:02.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:03.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:03.040Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:03.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:03.040Z] [2022-09-20T04:05:03.040Z] Login Succeeded [2022-09-20T04:05:03.040Z] nexus3.edgexfoundry.org:10003 [2022-09-20T04:05:03.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:03.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:03.040Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:03.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:03.040Z] [2022-09-20T04:05:03.040Z] Login Succeeded [2022-09-20T04:05:03.040Z] nexus3.edgexfoundry.org:10004 [2022-09-20T04:05:03.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:03.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:03.300Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:03.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:03.300Z] [2022-09-20T04:05:03.300Z] Login Succeeded [2022-09-20T04:05:03.300Z] docker.io [2022-09-20T04:05:03.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:03.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:03.560Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:03.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:03.560Z] [2022-09-20T04:05:03.560Z] Login Succeeded [2022-09-20T04:05:03.560Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T04:05:03.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-20T04:05:04.231Z] + git rev-list -1 --merges 660687e139f76a6ef77d6543c3c003a4e17dc897~1..660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] echo [2022-09-20T04:05:04.276Z] -----------> git rev-list -1 --merges 660687e139f76a6ef77d6543c3c003a4e17dc897~1..660687e139f76a6ef77d6543c3c003a4e17dc897 660687e139f76a6ef77d6543c3c003a4e17dc897 [false] [Pipeline] sh [2022-09-20T04:05:04.594Z] + git log --format=format:%s -1 660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] echo [2022-09-20T04:05:04.633Z] ========================================================= [2022-09-20T04:05:04.633Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-20T04:05:04.633Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T04:05:05.076Z] + git log --format=format:%s -1 660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] echo [2022-09-20T04:05:05.113Z] [semverPrep] GIT_COMMIT: 660687e139f76a6ef77d6543c3c003a4e17dc897, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-09-20T04:05:05.144Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-20T04:05:05.546Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T04:05:05.546Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-20T04:05:05.546Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-20T04:05:05.546Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-20T04:05:05.546Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-20T04:05:05.546Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-20T04:05:05.546Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:05:06.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T04:05:06.037Z] [2022-09-20T04:05:06.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:05:06.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T04:05:06.419Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-20T04:05:06.419Z] b85a868b505f: Pulling fs layer [2022-09-20T04:05:06.419Z] e2be974225ed: Pulling fs layer [2022-09-20T04:05:06.419Z] 339a4e72a1f5: Pulling fs layer [2022-09-20T04:05:06.419Z] 988bab9f4d93: Pulling fs layer [2022-09-20T04:05:06.419Z] 1469e6f7b9e6: Pulling fs layer [2022-09-20T04:05:06.419Z] eaf3925da568: Pulling fs layer [2022-09-20T04:05:06.419Z] bab4dde63d76: Pulling fs layer [2022-09-20T04:05:06.419Z] bde34c3a00c8: Pulling fs layer [2022-09-20T04:05:06.419Z] b352a97aabf1: Pulling fs layer [2022-09-20T04:05:06.419Z] 4872d77fe225: Pulling fs layer [2022-09-20T04:05:06.419Z] 5851b861e8e6: Pulling fs layer [2022-09-20T04:05:06.419Z] bab4dde63d76: Waiting [2022-09-20T04:05:06.419Z] b352a97aabf1: Waiting [2022-09-20T04:05:06.419Z] 4872d77fe225: Waiting [2022-09-20T04:05:06.419Z] 1469e6f7b9e6: Waiting [2022-09-20T04:05:06.419Z] eaf3925da568: Waiting [2022-09-20T04:05:06.419Z] bde34c3a00c8: Waiting [2022-09-20T04:05:06.419Z] 5851b861e8e6: Waiting [2022-09-20T04:05:06.419Z] 988bab9f4d93: Waiting [2022-09-20T04:05:06.419Z] e2be974225ed: Download complete [2022-09-20T04:05:06.419Z] 988bab9f4d93: Verifying Checksum [2022-09-20T04:05:06.419Z] 988bab9f4d93: Download complete [2022-09-20T04:05:06.685Z] 339a4e72a1f5: Verifying Checksum [2022-09-20T04:05:06.685Z] 339a4e72a1f5: Download complete [2022-09-20T04:05:06.685Z] 1469e6f7b9e6: Verifying Checksum [2022-09-20T04:05:06.685Z] 1469e6f7b9e6: Download complete [2022-09-20T04:05:06.685Z] bde34c3a00c8: Verifying Checksum [2022-09-20T04:05:06.685Z] bde34c3a00c8: Download complete [2022-09-20T04:05:06.685Z] b352a97aabf1: Verifying Checksum [2022-09-20T04:05:06.685Z] b352a97aabf1: Download complete [2022-09-20T04:05:06.685Z] 4872d77fe225: Verifying Checksum [2022-09-20T04:05:06.685Z] 4872d77fe225: Download complete [2022-09-20T04:05:06.685Z] 5851b861e8e6: Download complete [2022-09-20T04:05:06.685Z] b85a868b505f: Verifying Checksum [2022-09-20T04:05:06.685Z] b85a868b505f: Download complete [2022-09-20T04:05:06.946Z] bab4dde63d76: Verifying Checksum [2022-09-20T04:05:06.946Z] bab4dde63d76: Download complete [2022-09-20T04:05:08.328Z] b85a868b505f: Pull complete [2022-09-20T04:05:08.589Z] e2be974225ed: Pull complete [2022-09-20T04:05:09.162Z] 339a4e72a1f5: Pull complete [2022-09-20T04:05:09.162Z] 988bab9f4d93: Pull complete [2022-09-20T04:05:09.423Z] 1469e6f7b9e6: Pull complete [2022-09-20T04:05:09.683Z] eaf3925da568: Pull complete [2022-09-20T04:05:11.598Z] bab4dde63d76: Pull complete [2022-09-20T04:05:11.598Z] bde34c3a00c8: Pull complete [2022-09-20T04:05:11.859Z] b352a97aabf1: Pull complete [2022-09-20T04:05:11.859Z] 4872d77fe225: Pull complete [2022-09-20T04:05:11.859Z] 5851b861e8e6: Pull complete [2022-09-20T04:05:11.859Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-20T04:05:12.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T04:05:12.121Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:05:12.357Z] prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container [2022-09-20T04:05:12.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1211 -v /w/workspace/gexfoundry_device-sdk-go_PR-1211:/w/workspace/gexfoundry_device-sdk-go_PR-1211:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1211@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T04:05:13.805Z] $ docker top d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 -eo pid,comm [2022-09-20T04:05:13.878Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-20T04:05:13.878Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T04:05:13.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T04:05:13.994Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T04:05:14.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T04:05:14.132Z] $ docker exec d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 ssh-agent [2022-09-20T04:05:14.251Z] SSH_AUTH_SOCK=/tmp/ssh-vdPLHpsFUj4G/agent.32 [2022-09-20T04:05:14.251Z] SSH_AGENT_PID=38 [2022-09-20T04:05:14.258Z] Running ssh-add (command line suppressed) [2022-09-20T04:05:14.377Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/private_key_2729878394042027615.key (/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/private_key_2729878394042027615.key) [2022-09-20T04:05:14.393Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T04:05:14.727Z] + git tag --points-at HEAD [Pipeline] } [2022-09-20T04:05:14.762Z] $ docker exec --env ******** --env ******** d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 ssh-agent -k [2022-09-20T04:05:14.902Z] unset SSH_AUTH_SOCK; [2022-09-20T04:05:14.903Z] unset SSH_AGENT_PID; [2022-09-20T04:05:14.903Z] echo Agent pid 38 killed; [2022-09-20T04:05:14.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-20T04:05:14.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T04:05:14.989Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T04:05:15.130Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T04:05:15.137Z] $ docker exec d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 ssh-agent [2022-09-20T04:05:15.255Z] SSH_AUTH_SOCK=/tmp/ssh-k4HlX47JoEQh/agent.71 [2022-09-20T04:05:15.255Z] SSH_AGENT_PID=77 [2022-09-20T04:05:15.260Z] Running ssh-add (command line suppressed) [2022-09-20T04:05:15.394Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/private_key_7964839312462713438.key (/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/private_key_7964839312462713438.key) [2022-09-20T04:05:15.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T04:05:15.742Z] + git semver init [2022-09-20T04:05:16.003Z] 2022-09-20 04:05:15,979 [run_init] DEBUG init version:0.0.0 force:False [2022-09-20T04:05:16.003Z] 2022-09-20 04:05:15,981 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver [2022-09-20T04:05:16.003Z] 2022-09-20 04:05:15,982 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver [2022-09-20T04:05:16.003Z] 2022-09-20 04:05:15,983 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1211, universal_newlines=False, shell=None, istream=None) [2022-09-20T04:05:17.392Z] 2022-09-20 04:05:16,972 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211/.git/info/exclude [2022-09-20T04:05:17.392Z] 2022-09-20 04:05:16,972 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver/PR-1211 with force:False [2022-09-20T04:05:17.392Z] 2022-09-20 04:05:16,972 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver/PR-1211 [2022-09-20T04:05:17.392Z] 2022-09-20 04:05:16,977 [execute] INFO git cat-file --batch-check [2022-09-20T04:05:17.392Z] 2022-09-20 04:05:16,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T04:05:17.392Z] 2022-09-20 04:05:16,985 [execute] INFO git cat-file --batch [2022-09-20T04:05:17.392Z] 2022-09-20 04:05:16,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T04:05:17.392Z] 2022-09-20 04:05:16,991 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver/PR-1211 [2022-09-20T04:05:17.392Z] 0.0.0 [Pipeline] } [2022-09-20T04:05:17.420Z] $ docker exec --env ******** --env ******** d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 ssh-agent -k [2022-09-20T04:05:17.535Z] unset SSH_AUTH_SOCK; [2022-09-20T04:05:17.536Z] unset SSH_AGENT_PID; [2022-09-20T04:05:17.536Z] echo Agent pid 77 killed; [2022-09-20T04:05:17.544Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T04:05:17.965Z] + git semver [Pipeline] } [2022-09-20T04:05:18.254Z] $ docker stop --time=1 d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 [2022-09-20T04:05:19.567Z] $ docker rm -f d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T04:05:19.987Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-20T04:05:20.306Z] Stashed 1 file(s) [Pipeline] echo [2022-09-20T04:05:20.331Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T04:05:20.923Z] provisioning config files... [2022-09-20T04:05:20.938Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/config7941155307711930886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:05:21.287Z] ---> docker-login.sh [2022-09-20T04:05:21.287Z] nexus3.edgexfoundry.org:10001 [2022-09-20T04:05:21.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:21.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:21.287Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:21.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:21.287Z] [2022-09-20T04:05:21.287Z] Login Succeeded [2022-09-20T04:05:21.287Z] nexus3.edgexfoundry.org:10002 [2022-09-20T04:05:21.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:21.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:21.549Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:21.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:21.549Z] [2022-09-20T04:05:21.549Z] Login Succeeded [2022-09-20T04:05:21.549Z] nexus3.edgexfoundry.org:10003 [2022-09-20T04:05:21.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:21.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:21.549Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:21.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:21.549Z] [2022-09-20T04:05:21.549Z] Login Succeeded [2022-09-20T04:05:21.549Z] nexus3.edgexfoundry.org:10004 [2022-09-20T04:05:21.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:21.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:21.811Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:21.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:21.811Z] [2022-09-20T04:05:21.811Z] Login Succeeded [2022-09-20T04:05:21.811Z] docker.io [2022-09-20T04:05:21.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:05:22.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:05:22.073Z] Configure a credential helper to remove this warning. See [2022-09-20T04:05:22.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:05:22.073Z] [2022-09-20T04:05:22.073Z] Login Succeeded [2022-09-20T04:05:22.073Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T04:05:22.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T04:05:22.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T04:05:22.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T04:05:22.362Z] ========================================================= [2022-09-20T04:05:22.362Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-20T04:05:22.362Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:05:22.840Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-20T04:05:22.840Z] Sending build context to Docker daemon 9.81MB [2022-09-20T04:05:22.840Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T04:05:22.840Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-20T04:05:22.840Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-20T04:05:22.840Z] 2408cc74d12b: Pulling fs layer [2022-09-20T04:05:22.840Z] ea60b727a1ce: Pulling fs layer [2022-09-20T04:05:22.840Z] 30c4a7721957: Pulling fs layer [2022-09-20T04:05:22.840Z] 370296b7ddb6: Pulling fs layer [2022-09-20T04:05:22.840Z] 7c6cee850709: Pulling fs layer [2022-09-20T04:05:22.840Z] 39a5fcdaea64: Pulling fs layer [2022-09-20T04:05:22.840Z] d94ebbe4e438: Pulling fs layer [2022-09-20T04:05:22.840Z] bcfd1f05c69d: Pulling fs layer [2022-09-20T04:05:22.840Z] 59ccb84bbe0f: Pulling fs layer [2022-09-20T04:05:22.840Z] 370296b7ddb6: Waiting [2022-09-20T04:05:22.840Z] 7c6cee850709: Waiting [2022-09-20T04:05:22.840Z] bcfd1f05c69d: Waiting [2022-09-20T04:05:22.840Z] 39a5fcdaea64: Waiting [2022-09-20T04:05:22.840Z] 59ccb84bbe0f: Waiting [2022-09-20T04:05:22.840Z] 30c4a7721957: Verifying Checksum [2022-09-20T04:05:22.840Z] 30c4a7721957: Download complete [2022-09-20T04:05:23.109Z] ea60b727a1ce: Verifying Checksum [2022-09-20T04:05:23.109Z] ea60b727a1ce: Download complete [2022-09-20T04:05:23.109Z] 7c6cee850709: Download complete [2022-09-20T04:05:23.109Z] 39a5fcdaea64: Verifying Checksum [2022-09-20T04:05:23.109Z] 39a5fcdaea64: Download complete [2022-09-20T04:05:23.109Z] 2408cc74d12b: Verifying Checksum [2022-09-20T04:05:23.109Z] 2408cc74d12b: Download complete [2022-09-20T04:05:23.109Z] d94ebbe4e438: Verifying Checksum [2022-09-20T04:05:23.109Z] d94ebbe4e438: Download complete [2022-09-20T04:05:23.109Z] 2408cc74d12b: Pull complete [2022-09-20T04:05:23.373Z] ea60b727a1ce: Pull complete [2022-09-20T04:05:23.373Z] 30c4a7721957: Pull complete [2022-09-20T04:05:23.634Z] 59ccb84bbe0f: Verifying Checksum [2022-09-20T04:05:23.634Z] 59ccb84bbe0f: Download complete [2022-09-20T04:05:23.634Z] bcfd1f05c69d: Download complete [2022-09-20T04:05:23.894Z] 370296b7ddb6: Verifying Checksum [2022-09-20T04:05:23.894Z] 370296b7ddb6: Download complete [2022-09-20T04:05:28.095Z] 370296b7ddb6: Pull complete [2022-09-20T04:05:28.355Z] 7c6cee850709: Pull complete [2022-09-20T04:05:28.355Z] 39a5fcdaea64: Pull complete [2022-09-20T04:05:28.355Z] d94ebbe4e438: Pull complete [2022-09-20T04:05:30.903Z] bcfd1f05c69d: Pull complete [2022-09-20T04:05:31.472Z] 59ccb84bbe0f: Pull complete [2022-09-20T04:05:31.472Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-20T04:05:31.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-20T04:05:31.472Z] ---> a4fb48ad2a94 [2022-09-20T04:05:31.472Z] Step 3/11 : ARG MAKE=make build [2022-09-20T04:05:33.394Z] ---> Running in e5c9b690b6ed [2022-09-20T04:05:33.394Z] Removing intermediate container e5c9b690b6ed [2022-09-20T04:05:33.394Z] ---> 86d3b66f4a4c [2022-09-20T04:05:33.394Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-20T04:05:33.394Z] ---> Running in d65104415d2d [2022-09-20T04:05:33.655Z] Removing intermediate container d65104415d2d [2022-09-20T04:05:33.656Z] ---> 21c6efa765ac [2022-09-20T04:05:33.656Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T04:05:33.656Z] ---> Running in 81c460da5e4c [2022-09-20T04:05:33.656Z] Removing intermediate container 81c460da5e4c [2022-09-20T04:05:33.656Z] ---> 2137d2fd58e7 [2022-09-20T04:05:33.656Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:05:33.656Z] ---> Running in 762cd1956655 [2022-09-20T04:05:34.600Z] Removing intermediate container 762cd1956655 [2022-09-20T04:05:34.600Z] ---> dfdaa341d6ec [2022-09-20T04:05:34.600Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T04:05:34.600Z] ---> Running in f618237797b1 [2022-09-20T04:05:34.600Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T04:05:35.545Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T04:05:35.750Z] Still waiting to schedule task [2022-09-20T04:05:35.750Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-20T04:05:35.806Z] OK: 211 MiB in 51 packages [2022-09-20T04:05:36.378Z] Removing intermediate container f618237797b1 [2022-09-20T04:05:36.378Z] ---> c4aad29064ee [2022-09-20T04:05:36.378Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-20T04:05:36.378Z] ---> fda1a1762994 [2022-09-20T04:05:36.378Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T04:05:36.378Z] ---> Running in 6f7b39bc908d [2022-09-20T04:05:58.365Z] Removing intermediate container 6f7b39bc908d [2022-09-20T04:05:58.365Z] ---> 7f133b442c03 [2022-09-20T04:05:58.365Z] Step 10/11 : COPY . . [2022-09-20T04:05:58.365Z] ---> d1f21309c4fe [2022-09-20T04:05:58.365Z] Step 11/11 : RUN ${MAKE} [2022-09-20T04:05:58.365Z] ---> Running in 27af5a720c73 [2022-09-20T04:05:58.365Z] noop [2022-09-20T04:05:58.365Z] Removing intermediate container 27af5a720c73 [2022-09-20T04:05:58.365Z] ---> b5d9e7127bf4 [2022-09-20T04:05:58.365Z] Successfully built b5d9e7127bf4 [2022-09-20T04:05:58.365Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:05:58.812Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T04:05:58.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:05:58.971Z] prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container [2022-09-20T04:05:59.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1211 -v /w/workspace/gexfoundry_device-sdk-go_PR-1211:/w/workspace/gexfoundry_device-sdk-go_PR-1211:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1211@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 ******** ci-base-image-x86_64 cat [2022-09-20T04:05:59.443Z] $ docker top a1cd05ad9889ebfa5f84eccb8ee131dedd2ef68289a3078a2e56b1b046842a7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:05:59.866Z] + go version [2022-09-20T04:05:59.866Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-20T04:05:59.903Z] $ docker stop --time=1 a1cd05ad9889ebfa5f84eccb8ee131dedd2ef68289a3078a2e56b1b046842a7e [2022-09-20T04:06:01.222Z] $ docker rm -f a1cd05ad9889ebfa5f84eccb8ee131dedd2ef68289a3078a2e56b1b046842a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:06:02.101Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T04:06:02.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:06:02.310Z] prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container [2022-09-20T04:06:02.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1211 -v /w/workspace/gexfoundry_device-sdk-go_PR-1211:/w/workspace/gexfoundry_device-sdk-go_PR-1211:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1211@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 ******** ci-base-image-x86_64 cat [2022-09-20T04:06:02.788Z] $ docker top 9dce5bdef563a4bfad6482ee3df110bbafb10decae286f46be61fd95316a0ebf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:06:03.222Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1211 [Pipeline] fileExists [Pipeline] sh [2022-09-20T04:06:03.591Z] + make test [2022-09-20T04:06:03.591Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-20T04:06:10.181Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-20T04:06:25.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-20T04:06:25.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-20T04:06:25.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-20T04:06:25.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.105s coverage: 23.6% of statements [2022-09-20T04:06:25.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-20T04:06:25.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements [2022-09-20T04:06:25.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2022-09-20T04:06:25.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.053s coverage: 10.8% of statements [2022-09-20T04:06:25.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.068s coverage: 60.0% of statements [2022-09-20T04:06:25.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-20T04:06:25.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-20T04:06:25.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.107s coverage: 34.8% of statements [2022-09-20T04:06:25.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-20T04:06:25.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.083s coverage: 85.4% of statements [2022-09-20T04:06:25.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-20T04:06:25.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-20T04:06:25.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.120s coverage: 65.1% of statements [2022-09-20T04:06:25.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-20T04:06:25.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-20T04:06:25.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.762s coverage: 89.2% of statements [2022-09-20T04:06:25.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-20T04:06:25.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-09-20T04:06:25.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-20T04:06:44.016Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-20T04:06:44.016Z] GO111MODULE=on go vet ./... [2022-09-20T04:06:45.402Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T04:06:45.670Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T04:06:45.670Z] ./bin/test-attribution-txt.sh [2022-09-20T04:06:45.670Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-20T04:06:45.670Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-20T04:06:45.670Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-20T04:06:45.670Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-20T04:06:45.670Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-20T04:06:45.670Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-20T04:06:45.670Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-20T04:06:45.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T04:06:45.740Z] $ docker stop --time=1 9dce5bdef563a4bfad6482ee3df110bbafb10decae286f46be61fd95316a0ebf [2022-09-20T04:06:47.999Z] $ docker rm -f 9dce5bdef563a4bfad6482ee3df110bbafb10decae286f46be61fd95316a0ebf [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T04:06:48.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T04:06:48.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-20T04:06:49.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T04:06:49.648Z] + ls -al . [2022-09-20T04:06:49.648Z] total 304 [2022-09-20T04:06:49.648Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 04:06 . [2022-09-20T04:06:49.648Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:04 .. [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 04:04 .dockerignore [2022-09-20T04:06:49.648Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 04:06 .git [2022-09-20T04:06:49.648Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:04 .github [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 04:04 .gitignore [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 04:04 .golangci.yml [2022-09-20T04:06:49.648Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 04:05 .semver [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 04:04 CHANGELOG.md [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 04:04 GOVERNANCE.md [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 04:04 Jenkinsfile [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 04:04 LICENSE [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 04:04 Makefile [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 04:04 OWNERS.md [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 04:04 README.md [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 04:05 VERSION [2022-09-20T04:06:49.648Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:04 bin [2022-09-20T04:06:49.648Z] -rw-r--r-- 1 jenkins jenkins 131678 Sep 20 04:06 coverage.out [2022-09-20T04:06:49.648Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 04:04 example [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 3553 Sep 20 04:04 go.mod [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 36743 Sep 20 04:04 go.sum [2022-09-20T04:06:49.648Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 20 04:04 internal [2022-09-20T04:06:49.648Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:04 openapi [2022-09-20T04:06:49.648Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 04:04 pkg [2022-09-20T04:06:49.648Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:04 snap [2022-09-20T04:06:49.648Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:06:50.052Z] + 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=660687e139f76a6ef77d6543c3c003a4e17dc897 --label arch=amd64 --label version=0.0.0 . [2022-09-20T04:06:50.052Z] Sending build context to Docker daemon 9.943MB [2022-09-20T04:06:50.052Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T04:06:50.052Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-20T04:06:50.052Z] ---> b5d9e7127bf4 [2022-09-20T04:06:50.052Z] Step 3/25 : ARG MAKE=make build [2022-09-20T04:06:50.312Z] ---> Running in 474b4bdf326d [2022-09-20T04:06:50.312Z] Removing intermediate container 474b4bdf326d [2022-09-20T04:06:50.312Z] ---> 69bc6df98a95 [2022-09-20T04:06:50.312Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-20T04:06:50.312Z] ---> Running in 17f4f6a80014 [2022-09-20T04:06:50.571Z] Removing intermediate container 17f4f6a80014 [2022-09-20T04:06:50.571Z] ---> a70f517def90 [2022-09-20T04:06:50.571Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T04:06:50.571Z] ---> Running in f101cda05f83 [2022-09-20T04:06:50.571Z] Removing intermediate container f101cda05f83 [2022-09-20T04:06:50.571Z] ---> 113435a48b65 [2022-09-20T04:06:50.571Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:06:50.832Z] ---> Running in 182c8b65260e [2022-09-20T04:06:51.405Z] Removing intermediate container 182c8b65260e [2022-09-20T04:06:51.405Z] ---> c98e50cca263 [2022-09-20T04:06:51.405Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T04:06:51.405Z] ---> Running in bed52b0f1ed9 [2022-09-20T04:06:51.666Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T04:06:52.614Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T04:06:52.879Z] OK: 211 MiB in 51 packages [2022-09-20T04:06:53.139Z] Removing intermediate container bed52b0f1ed9 [2022-09-20T04:06:53.139Z] ---> af7d7e8fe9f2 [2022-09-20T04:06:53.139Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-20T04:06:53.401Z] ---> f7e1db23765b [2022-09-20T04:06:53.401Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T04:06:53.401Z] ---> Running in f90846f1b56d [2022-09-20T04:06:54.343Z] Removing intermediate container f90846f1b56d [2022-09-20T04:06:54.343Z] ---> 492a5fbe339d [2022-09-20T04:06:54.343Z] Step 10/25 : COPY . . [2022-09-20T04:06:54.604Z] ---> e91349cb86ca [2022-09-20T04:06:54.604Z] Step 11/25 : RUN ${MAKE} [2022-09-20T04:06:54.604Z] ---> Running in a3c2c01538e6 [2022-09-20T04:06:54.863Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-20T04:07:12.969Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-20T04:07:16.289Z] Removing intermediate container a3c2c01538e6 [2022-09-20T04:07:16.289Z] ---> 3623dcbe849b [2022-09-20T04:07:16.289Z] Step 12/25 : FROM alpine:3.16 [2022-09-20T04:07:16.860Z] 3.16: Pulling from library/alpine [2022-09-20T04:07:16.860Z] 213ec9aee27d: Pulling fs layer [2022-09-20T04:07:17.120Z] 213ec9aee27d: Verifying Checksum [2022-09-20T04:07:17.120Z] 213ec9aee27d: Download complete [2022-09-20T04:07:17.120Z] 213ec9aee27d: Pull complete [2022-09-20T04:07:17.380Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T04:07:17.380Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T04:07:17.380Z] ---> 9c6f07244728 [2022-09-20T04:07:17.380Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T04:07:17.380Z] ---> Running in 4b01e972fe63 [2022-09-20T04:07:17.380Z] Removing intermediate container 4b01e972fe63 [2022-09-20T04:07:17.380Z] ---> 874451b149a9 [2022-09-20T04:07:17.380Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:07:17.380Z] ---> Running in 628c275af0b8 [2022-09-20T04:07:17.787Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29923 in /w/workspace/gexfoundry_device-sdk-go_PR-1211 [Pipeline] { [Pipeline] ws [2022-09-20T04:07:17.826Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-09-20T04:07:17.945Z] The recommended git tool is: git [2022-09-20T04:07:18.321Z] Removing intermediate container 628c275af0b8 [2022-09-20T04:07:18.321Z] ---> 3a8d1ec63c73 [2022-09-20T04:07:18.321Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-20T04:07:18.321Z] ---> Running in cc5466c1f6c0 [2022-09-20T04:07:18.321Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T04:07:19.259Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T04:07:19.520Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T04:07:19.520Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-20T04:07:19.778Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T04:07:19.778Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-20T04:07:20.044Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-20T04:07:20.044Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T04:07:20.044Z] OK: 8 MiB in 19 packages [2022-09-20T04:07:20.304Z] Removing intermediate container cc5466c1f6c0 [2022-09-20T04:07:20.304Z] ---> 809d0b7f07c3 [2022-09-20T04:07:20.304Z] Step 16/25 : WORKDIR / [2022-09-20T04:07:20.304Z] ---> Running in de34db755f99 [2022-09-20T04:07:20.565Z] Removing intermediate container de34db755f99 [2022-09-20T04:07:20.565Z] ---> 31745da0312d [2022-09-20T04:07:20.565Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-20T04:07:20.565Z] ---> ddea59e82654 [2022-09-20T04:07:20.565Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-20T04:07:21.136Z] ---> 548285f2c9dd [2022-09-20T04:07:21.399Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-20T04:07:21.399Z] ---> 871f31e664eb [2022-09-20T04:07:21.399Z] Step 20/25 : EXPOSE 59999 [2022-09-20T04:07:21.399Z] ---> Running in c68aa12bc6fe [2022-09-20T04:07:21.660Z] Removing intermediate container c68aa12bc6fe [2022-09-20T04:07:21.660Z] ---> 5a04498d2dc7 [2022-09-20T04:07:21.660Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-20T04:07:21.660Z] ---> Running in 7a0ebe6de69f [2022-09-20T04:07:21.660Z] Removing intermediate container 7a0ebe6de69f [2022-09-20T04:07:21.660Z] ---> 9b3ad0ef7984 [2022-09-20T04:07:21.660Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T04:07:21.660Z] ---> Running in 392350ce93ed [2022-09-20T04:07:21.920Z] Removing intermediate container 392350ce93ed [2022-09-20T04:07:21.920Z] ---> b698a0a420b8 [2022-09-20T04:07:21.920Z] Step 23/25 : LABEL arch=amd64 [2022-09-20T04:07:21.920Z] ---> Running in b73e6448e1dc [2022-09-20T04:07:21.920Z] Removing intermediate container b73e6448e1dc [2022-09-20T04:07:21.920Z] ---> 354b686eff1d [2022-09-20T04:07:21.920Z] Step 24/25 : LABEL git_sha=660687e139f76a6ef77d6543c3c003a4e17dc897 [2022-09-20T04:07:21.920Z] ---> Running in 981c98036076 [2022-09-20T04:07:22.181Z] Removing intermediate container 981c98036076 [2022-09-20T04:07:22.181Z] ---> 777260eb5843 [2022-09-20T04:07:22.181Z] Step 25/25 : LABEL version=0.0.0 [2022-09-20T04:07:22.181Z] ---> Running in 9e52cf8dbbe1 [2022-09-20T04:07:22.181Z] Removing intermediate container 9e52cf8dbbe1 [2022-09-20T04:07:22.181Z] ---> 4ef23c0bb965 [2022-09-20T04:07:22.181Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T04:07:22.181Z] Successfully built 4ef23c0bb965 [2022-09-20T04:07:22.181Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:07:23.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T04:07:23.307Z] [2022-09-20T04:07:23.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:07:23.679Z] using credential edgex-jenkins-ssh [2022-09-20T04:07:23.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T04:07:23.684Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-20T04:07:23.684Z] 5eb5b503b376: Pulling fs layer [2022-09-20T04:07:23.684Z] 5c69ac0246d0: Pulling fs layer [2022-09-20T04:07:23.684Z] ec43610c2a17: Pulling fs layer [2022-09-20T04:07:23.684Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-20T04:07:23.684Z] 33b1e0a273af: Pulling fs layer [2022-09-20T04:07:23.684Z] 5d3b04190fa2: Pulling fs layer [2022-09-20T04:07:23.684Z] 2f39f015ded8: Pulling fs layer [2022-09-20T04:07:23.684Z] 33b1e0a273af: Waiting [2022-09-20T04:07:23.684Z] 5d3b04190fa2: Waiting [2022-09-20T04:07:23.684Z] 2f39f015ded8: Waiting [2022-09-20T04:07:23.684Z] 3a2ae6a8a46f: Waiting [2022-09-20T04:07:23.684Z] 5c69ac0246d0: Download complete [2022-09-20T04:07:23.684Z] 3a2ae6a8a46f: Download complete [2022-09-20T04:07:23.684Z] 33b1e0a273af: Verifying Checksum [2022-09-20T04:07:23.684Z] 33b1e0a273af: Download complete [2022-09-20T04:07:23.696Z] Cloning the remote Git repository [2022-09-20T04:07:23.943Z] 5d3b04190fa2: Verifying Checksum [2022-09-20T04:07:23.943Z] 5d3b04190fa2: Download complete [2022-09-20T04:07:23.943Z] ec43610c2a17: Verifying Checksum [2022-09-20T04:07:23.943Z] ec43610c2a17: Download complete [2022-09-20T04:07:23.943Z] 5eb5b503b376: Verifying Checksum [2022-09-20T04:07:23.943Z] 5eb5b503b376: Download complete [2022-09-20T04:07:23.762Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T04:07:23.834Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-09-20T04:07:23.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T04:07:23.930Z] > git --version # timeout=10 [2022-09-20T04:07:23.948Z] > git --version # 'git version 2.25.1' [2022-09-20T04:07:23.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T04:07:24.091Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T04:07:24.879Z] 2f39f015ded8: Verifying Checksum [2022-09-20T04:07:24.879Z] 2f39f015ded8: Download complete [2022-09-20T04:07:25.446Z] 5eb5b503b376: Pull complete [2022-09-20T04:07:25.446Z] 5c69ac0246d0: Pull complete [2022-09-20T04:07:25.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-20T04:07:25.562Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T04:07:25.589Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-20T04:07:26.015Z] ec43610c2a17: Pull complete [2022-09-20T04:07:26.015Z] 3a2ae6a8a46f: Pull complete [2022-09-20T04:07:26.220Z] Merging remotes/origin/main commit 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit 660687e139f76a6ef77d6543c3c003a4e17dc897 [2022-09-20T04:07:26.276Z] 33b1e0a273af: Pull complete [2022-09-20T04:07:26.442Z] Merge succeeded, producing 660687e139f76a6ef77d6543c3c003a4e17dc897 [2022-09-20T04:07:26.443Z] Checking out Revision 660687e139f76a6ef77d6543c3c003a4e17dc897 (PR-1211) [2022-09-20T04:07:26.535Z] 5d3b04190fa2: Pull complete [2022-09-20T04:07:25.628Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T04:07:25.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T04:07:25.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1211/head:refs/remotes/origin/PR-1211 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-20T04:07:26.238Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T04:07:26.259Z] > git checkout -f 660687e139f76a6ef77d6543c3c003a4e17dc897 # timeout=10 [2022-09-20T04:07:26.365Z] > git remote # timeout=10 [2022-09-20T04:07:26.381Z] > git config --get remote.origin.url # timeout=10 [2022-09-20T04:07:26.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T04:07:26.407Z] > git merge 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 [2022-09-20T04:07:26.429Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-20T04:07:26.451Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T04:07:26.461Z] > git checkout -f 660687e139f76a6ef77d6543c3c003a4e17dc897 # timeout=10 [2022-09-20T04:07:30.621Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-09-20T04:07:30.678Z] > git --version # timeout=10 [2022-09-20T04:07:30.690Z] > git --version # 'git version 2.25.1' [2022-09-20T04:07:30.705Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T04:07:30.982Z] [2022-09-20T04:07:30.982Z] GitHub has been notified of this commit’s build result [2022-09-20T04:07:30.982Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T04:07:31.743Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-20T04:07:31.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T04:07:31.743Z] Dload Upload Total Spent Left Speed [2022-09-20T04:07:31.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [2022-09-20T04:07:31.879Z] 2f39f015ded8: Pull complete [2022-09-20T04:07:31.879Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-20T04:07:31.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T04:07:31.879Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:07:32.106Z] prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container [2022-09-20T04:07:32.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1211 -v /w/workspace/gexfoundry_device-sdk-go_PR-1211:/w/workspace/gexfoundry_device-sdk-go_PR-1211:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1211@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T04:07:33.744Z] $ docker top 684f02516990bede35555d2830068feae202c91b47f63c715fd40287c26b6148 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:07:34.327Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-20T04:07:34.437Z] ---> job-cost.sh [2022-09-20T04:07:34.437Z] lf-activate-venv: SKIPPING [2022-09-20T04:07:34.437Z] INFO: No Stack... [2022-09-20T04:07:34.681Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2022-09-20T04:07:34.681Z] tee /etc/docker/daemon.new [2022-09-20T04:07:34.681Z] { [2022-09-20T04:07:34.681Z] "registry-mirrors": [ [2022-09-20T04:07:34.681Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-20T04:07:34.681Z] ], [2022-09-20T04:07:34.681Z] "bip": "10.250.0.254/24", [2022-09-20T04:07:34.681Z] "hosts": [ [2022-09-20T04:07:34.681Z] "tcp://0.0.0.0:5555", [2022-09-20T04:07:34.681Z] "unix:///var/run/docker.sock" [2022-09-20T04:07:34.681Z] ], [2022-09-20T04:07:34.681Z] "mtu": 1458, [2022-09-20T04:07:34.681Z] "selinux-enabled": true, [2022-09-20T04:07:34.681Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-20T04:07:34.681Z] } [Pipeline] sh [2022-09-20T04:07:35.008Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T04:07:35.030Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-20T04:07:35.379Z] + sudo service docker restart [2022-09-20T04:07:35.579Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T04:07:35.895Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives/cost.csv [2022-09-20T04:07:35.895Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T04:07:35.937Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [2022-09-20T04:07:35.941Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] did not exist. Created. [2022-09-20T04:07:35.942Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T04:07:36.342Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-20T04:07:36.393Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T04:07:36.423Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T04:07:36.504Z] $ docker stop --time=1 684f02516990bede35555d2830068feae202c91b47f63c715fd40287c26b6148 [2022-09-20T04:07:37.680Z] $ docker rm -f 684f02516990bede35555d2830068feae202c91b47f63c715fd40287c26b6148 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T04:07:53.781Z] provisioning config files... [2022-09-20T04:07:53.805Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4311030535885422518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:07:54.195Z] ---> docker-login.sh [2022-09-20T04:07:54.195Z] nexus3.edgexfoundry.org:10001 [2022-09-20T04:07:54.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:07:55.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:07:55.067Z] Configure a credential helper to remove this warning. See [2022-09-20T04:07:55.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:07:55.067Z] [2022-09-20T04:07:55.067Z] Login Succeeded [2022-09-20T04:07:55.067Z] nexus3.edgexfoundry.org:10002 [2022-09-20T04:07:55.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:07:55.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:07:55.341Z] Configure a credential helper to remove this warning. See [2022-09-20T04:07:55.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:07:55.341Z] [2022-09-20T04:07:55.341Z] Login Succeeded [2022-09-20T04:07:55.341Z] nexus3.edgexfoundry.org:10003 [2022-09-20T04:07:55.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:07:55.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:07:55.895Z] Configure a credential helper to remove this warning. See [2022-09-20T04:07:55.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:07:55.895Z] [2022-09-20T04:07:55.895Z] Login Succeeded [2022-09-20T04:07:55.895Z] nexus3.edgexfoundry.org:10004 [2022-09-20T04:07:56.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:07:56.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:07:56.171Z] Configure a credential helper to remove this warning. See [2022-09-20T04:07:56.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:07:56.171Z] [2022-09-20T04:07:56.171Z] Login Succeeded [2022-09-20T04:07:56.171Z] docker.io [2022-09-20T04:07:56.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:07:57.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:07:57.040Z] Configure a credential helper to remove this warning. See [2022-09-20T04:07:57.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:07:57.040Z] [2022-09-20T04:07:57.040Z] Login Succeeded [2022-09-20T04:07:57.040Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T04:07:57.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T04:07:57.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T04:07:57.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T04:07:57.522Z] ========================================================= [2022-09-20T04:07:57.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-20T04:07:57.522Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:07:58.024Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-20T04:07:58.297Z] Sending build context to Docker daemon 5.267MB [2022-09-20T04:07:58.297Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T04:07:58.297Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-20T04:07:58.571Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-20T04:07:58.571Z] b3c136eddcbf: Pulling fs layer [2022-09-20T04:07:58.571Z] c0a3192eca97: Pulling fs layer [2022-09-20T04:07:58.571Z] a050256f5b6f: Pulling fs layer [2022-09-20T04:07:58.571Z] 656be50a0ddc: Pulling fs layer [2022-09-20T04:07:58.571Z] 2bbca73fdf42: Pulling fs layer [2022-09-20T04:07:58.571Z] 46d945488cbd: Pulling fs layer [2022-09-20T04:07:58.571Z] 8a5474983e97: Pulling fs layer [2022-09-20T04:07:58.571Z] 329c88fbcd65: Pulling fs layer [2022-09-20T04:07:58.571Z] 46d945488cbd: Waiting [2022-09-20T04:07:58.571Z] 8a5474983e97: Waiting [2022-09-20T04:07:58.571Z] 656be50a0ddc: Waiting [2022-09-20T04:07:58.571Z] 329c88fbcd65: Waiting [2022-09-20T04:07:58.571Z] 2bbca73fdf42: Waiting [2022-09-20T04:07:58.571Z] a050256f5b6f: Verifying Checksum [2022-09-20T04:07:58.571Z] a050256f5b6f: Download complete [2022-09-20T04:07:58.571Z] c0a3192eca97: Download complete [2022-09-20T04:07:58.571Z] 2bbca73fdf42: Verifying Checksum [2022-09-20T04:07:58.571Z] 2bbca73fdf42: Download complete [2022-09-20T04:07:58.571Z] 46d945488cbd: Verifying Checksum [2022-09-20T04:07:58.571Z] 46d945488cbd: Download complete [2022-09-20T04:07:58.571Z] b3c136eddcbf: Verifying Checksum [2022-09-20T04:07:58.571Z] b3c136eddcbf: Download complete [2022-09-20T04:07:59.563Z] b3c136eddcbf: Pull complete [2022-09-20T04:07:59.844Z] 329c88fbcd65: Verifying Checksum [2022-09-20T04:07:59.844Z] 329c88fbcd65: Download complete [2022-09-20T04:08:00.122Z] c0a3192eca97: Pull complete [2022-09-20T04:08:00.721Z] a050256f5b6f: Pull complete [2022-09-20T04:08:00.721Z] 8a5474983e97: Verifying Checksum [2022-09-20T04:08:00.721Z] 8a5474983e97: Download complete [2022-09-20T04:08:01.699Z] 656be50a0ddc: Verifying Checksum [2022-09-20T04:08:01.699Z] 656be50a0ddc: Download complete [2022-09-20T04:08:14.119Z] 656be50a0ddc: Pull complete [2022-09-20T04:08:14.119Z] 2bbca73fdf42: Pull complete [2022-09-20T04:08:14.119Z] 46d945488cbd: Pull complete [2022-09-20T04:08:20.847Z] 8a5474983e97: Pull complete [2022-09-20T04:08:22.874Z] 329c88fbcd65: Pull complete [2022-09-20T04:08:22.874Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-20T04:08:22.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-20T04:08:22.875Z] ---> ff4287adb874 [2022-09-20T04:08:22.875Z] Step 3/11 : ARG MAKE=make build [2022-09-20T04:08:23.862Z] ---> Running in 2ff23aea891f [2022-09-20T04:08:24.148Z] Removing intermediate container 2ff23aea891f [2022-09-20T04:08:24.148Z] ---> 58b7f7996175 [2022-09-20T04:08:24.148Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-20T04:08:24.148Z] ---> Running in 68bba4f8f80f [2022-09-20T04:08:24.425Z] Removing intermediate container 68bba4f8f80f [2022-09-20T04:08:24.425Z] ---> dbe1f7e33aa3 [2022-09-20T04:08:24.425Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T04:08:24.704Z] ---> Running in 1adf4bedf81d [2022-09-20T04:08:24.979Z] Removing intermediate container 1adf4bedf81d [2022-09-20T04:08:24.979Z] ---> 4bf220c4e59e [2022-09-20T04:08:24.979Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:08:24.979Z] ---> Running in 61347ede526b [2022-09-20T04:08:26.979Z] Removing intermediate container 61347ede526b [2022-09-20T04:08:26.979Z] ---> 0c2accfe9239 [2022-09-20T04:08:26.979Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T04:08:26.979Z] ---> Running in ce6f53a54118 [2022-09-20T04:08:27.965Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T04:08:28.947Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T04:08:29.930Z] OK: 221 MiB in 51 packages [2022-09-20T04:08:30.525Z] Removing intermediate container ce6f53a54118 [2022-09-20T04:08:30.525Z] ---> b8f1e024f7c7 [2022-09-20T04:08:30.525Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-20T04:08:31.127Z] ---> 2bbb5bc5bb2f [2022-09-20T04:08:31.127Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T04:08:31.127Z] ---> Running in ab4022609ec3 [2022-09-20T04:09:27.739Z] Removing intermediate container ab4022609ec3 [2022-09-20T04:09:27.739Z] ---> d8d5c17639e4 [2022-09-20T04:09:27.739Z] Step 10/11 : COPY . . [2022-09-20T04:09:27.739Z] ---> 7012cf9dabc6 [2022-09-20T04:09:27.739Z] Step 11/11 : RUN ${MAKE} [2022-09-20T04:09:27.739Z] ---> Running in 2356918c1321 [2022-09-20T04:09:27.739Z] noop [2022-09-20T04:09:27.739Z] Removing intermediate container 2356918c1321 [2022-09-20T04:09:27.739Z] ---> 74b9300be7b5 [2022-09-20T04:09:27.739Z] Successfully built 74b9300be7b5 [2022-09-20T04:09:27.739Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:09:28.235Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T04:09:28.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:09:28.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-29923 does not seem to be running inside a container [2022-09-20T04:09:28.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-20T04:09:29.957Z] $ docker top dcc44a818fffc0ddcd7e8ce7c747118fb20fd9f391dc8cc8ee486308b435899a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:09:30.899Z] + go version [2022-09-20T04:09:30.899Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-20T04:09:30.934Z] $ docker stop --time=1 dcc44a818fffc0ddcd7e8ce7c747118fb20fd9f391dc8cc8ee486308b435899a [2022-09-20T04:09:32.562Z] $ docker rm -f dcc44a818fffc0ddcd7e8ce7c747118fb20fd9f391dc8cc8ee486308b435899a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:09:33.474Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T04:09:33.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:09:33.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-29923 does not seem to be running inside a container [2022-09-20T04:09:33.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-20T04:09:35.063Z] $ docker top 3d186c55a84fbcfd3ca4d3bc2547065d7428b55d1dc07a6f793e0110f0307ad9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:09:35.998Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-20T04:09:36.725Z] + make test [2022-09-20T04:09:36.725Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-20T04:10:09.087Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-20T04:12:00.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-20T04:12:00.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-20T04:12:00.983Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-20T04:12:07.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.449s coverage: 23.6% of statements [2022-09-20T04:12:07.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-20T04:12:07.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.311s coverage: 27.6% of statements [2022-09-20T04:12:07.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.393s coverage: 78.9% of statements [2022-09-20T04:12:07.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.282s coverage: 10.8% of statements [2022-09-20T04:12:10.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.454s coverage: 60.0% of statements [2022-09-20T04:12:10.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-20T04:12:10.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-20T04:12:13.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.392s coverage: 34.8% of statements [2022-09-20T04:12:13.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-20T04:12:13.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.298s coverage: 85.4% of statements [2022-09-20T04:12:13.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-20T04:12:13.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-20T04:12:17.683Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.535s coverage: 65.1% of statements [2022-09-20T04:12:17.683Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-20T04:12:17.683Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-20T04:12:19.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.210s coverage: 89.2% of statements [2022-09-20T04:12:19.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-20T04:12:20.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.237s coverage: 4.7% of statements [2022-09-20T04:12:20.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-20T04:12:20.720Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-20T04:12:20.720Z] GO111MODULE=on go vet ./... [2022-09-20T04:13:57.580Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T04:13:57.580Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T04:13:57.580Z] ./bin/test-attribution-txt.sh [2022-09-20T04:13:57.580Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-20T04:13:57.580Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-20T04:13:57.580Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-20T04:13:57.580Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-20T04:13:57.580Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-20T04:13:57.580Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-20T04:13:57.580Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-20T04:13:57.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T04:13:57.653Z] $ docker stop --time=1 3d186c55a84fbcfd3ca4d3bc2547065d7428b55d1dc07a6f793e0110f0307ad9 [2022-09-20T04:13:59.503Z] $ docker rm -f 3d186c55a84fbcfd3ca4d3bc2547065d7428b55d1dc07a6f793e0110f0307ad9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T04:14:01.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T04:14:01.049Z] Warning: overwriting stash ‘coverage-report’ [2022-09-20T04:14:01.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T04:14:02.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T04:14:02.636Z] + ls -al . [2022-09-20T04:14:02.636Z] total 300 [2022-09-20T04:14:02.636Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 04:09 . [2022-09-20T04:14:02.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:07 .. [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 04:07 .dockerignore [2022-09-20T04:14:02.636Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 04:07 .git [2022-09-20T04:14:02.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:07 .github [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 04:07 .gitignore [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 04:07 .golangci.yml [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 04:07 CHANGELOG.md [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 04:07 GOVERNANCE.md [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 04:07 Jenkinsfile [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 04:07 LICENSE [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 04:07 Makefile [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 04:07 OWNERS.md [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 04:07 README.md [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 04:05 VERSION [2022-09-20T04:14:02.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:07 bin [2022-09-20T04:14:02.636Z] -rw-r--r-- 1 jenkins jenkins 131678 Sep 20 04:12 coverage.out [2022-09-20T04:14:02.636Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 04:07 example [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 3553 Sep 20 04:07 go.mod [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 36743 Sep 20 04:07 go.sum [2022-09-20T04:14:02.636Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 20 04:07 internal [2022-09-20T04:14:02.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:07 openapi [2022-09-20T04:14:02.636Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 04:07 pkg [2022-09-20T04:14:02.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:07 snap [2022-09-20T04:14:02.636Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:14:03.088Z] + 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=660687e139f76a6ef77d6543c3c003a4e17dc897 --label arch=arm64 --label version=0.0.0 . [2022-09-20T04:14:03.688Z] Sending build context to Docker daemon 5.4MB [2022-09-20T04:14:03.689Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T04:14:03.689Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-20T04:14:03.689Z] ---> 74b9300be7b5 [2022-09-20T04:14:03.689Z] Step 3/25 : ARG MAKE=make build [2022-09-20T04:14:03.689Z] ---> Running in 2dc5484538cc [2022-09-20T04:14:03.963Z] Removing intermediate container 2dc5484538cc [2022-09-20T04:14:03.963Z] ---> de56fd2311d2 [2022-09-20T04:14:03.963Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-20T04:14:03.963Z] ---> Running in faac1dd0e9c5 [2022-09-20T04:14:04.570Z] Removing intermediate container faac1dd0e9c5 [2022-09-20T04:14:04.570Z] ---> 3ca40a87f030 [2022-09-20T04:14:04.570Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T04:14:04.570Z] ---> Running in 5495b6498c8b [2022-09-20T04:14:04.850Z] Removing intermediate container 5495b6498c8b [2022-09-20T04:14:04.850Z] ---> d413d9cf8846 [2022-09-20T04:14:04.850Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:14:04.850Z] ---> Running in e9821249aba0 [2022-09-20T04:14:06.294Z] Removing intermediate container e9821249aba0 [2022-09-20T04:14:06.294Z] ---> 29e3c95aa007 [2022-09-20T04:14:06.294Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T04:14:06.578Z] ---> Running in 533cf2af692e [2022-09-20T04:14:07.571Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T04:14:08.552Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T04:14:09.153Z] OK: 221 MiB in 51 packages [2022-09-20T04:14:10.138Z] Removing intermediate container 533cf2af692e [2022-09-20T04:14:10.138Z] ---> ee5c4f073f7f [2022-09-20T04:14:10.138Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-20T04:14:10.740Z] ---> 4924588d41cf [2022-09-20T04:14:10.740Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T04:14:10.740Z] ---> Running in 352561a231e2 [2022-09-20T04:14:12.719Z] Removing intermediate container 352561a231e2 [2022-09-20T04:14:12.719Z] ---> 11b22fe5268c [2022-09-20T04:14:12.719Z] Step 10/25 : COPY . . [2022-09-20T04:14:13.713Z] ---> 8778ddb817c0 [2022-09-20T04:14:13.713Z] Step 11/25 : RUN ${MAKE} [2022-09-20T04:14:13.713Z] ---> Running in e2a12ab8bd8e [2022-09-20T04:14:14.698Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-20T04:16:21.605Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-20T04:16:24.224Z] Removing intermediate container e2a12ab8bd8e [2022-09-20T04:16:24.224Z] ---> bca939d5e59c [2022-09-20T04:16:24.224Z] Step 12/25 : FROM alpine:3.16 [2022-09-20T04:16:24.496Z] 3.16: Pulling from library/alpine [2022-09-20T04:16:24.768Z] 9b18e9b68314: Pulling fs layer [2022-09-20T04:16:25.041Z] 9b18e9b68314: Verifying Checksum [2022-09-20T04:16:25.041Z] 9b18e9b68314: Download complete [2022-09-20T04:16:25.314Z] 9b18e9b68314: Pull complete [2022-09-20T04:16:25.586Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T04:16:25.586Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T04:16:25.586Z] ---> a6215f271958 [2022-09-20T04:16:25.586Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T04:16:25.586Z] ---> Running in 0d5fce3ad757 [2022-09-20T04:16:25.861Z] Removing intermediate container 0d5fce3ad757 [2022-09-20T04:16:25.861Z] ---> edca9aea4d05 [2022-09-20T04:16:25.861Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:16:25.861Z] ---> Running in 5a8bc57961b1 [2022-09-20T04:16:27.834Z] Removing intermediate container 5a8bc57961b1 [2022-09-20T04:16:27.834Z] ---> 83282ad4be93 [2022-09-20T04:16:27.834Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-20T04:16:27.834Z] ---> Running in 0597accf55ef [2022-09-20T04:16:28.441Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T04:16:29.413Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T04:16:30.390Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T04:16:30.390Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-20T04:16:30.663Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T04:16:30.663Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-20T04:16:30.937Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-20T04:16:30.937Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T04:16:30.937Z] OK: 8 MiB in 19 packages [2022-09-20T04:16:31.921Z] Removing intermediate container 0597accf55ef [2022-09-20T04:16:31.921Z] ---> c96715f5e842 [2022-09-20T04:16:31.921Z] Step 16/25 : WORKDIR / [2022-09-20T04:16:31.921Z] ---> Running in 83e15349c3d2 [2022-09-20T04:16:32.198Z] Removing intermediate container 83e15349c3d2 [2022-09-20T04:16:32.198Z] ---> dee61b8396e7 [2022-09-20T04:16:32.198Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-20T04:16:32.800Z] ---> dfe3c62ff74a [2022-09-20T04:16:32.800Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-20T04:16:34.247Z] ---> 020a7ca191e8 [2022-09-20T04:16:34.247Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-20T04:16:34.528Z] ---> 268dcee32f40 [2022-09-20T04:16:34.528Z] Step 20/25 : EXPOSE 59999 [2022-09-20T04:16:34.804Z] ---> Running in 524546f97eea [2022-09-20T04:16:35.079Z] Removing intermediate container 524546f97eea [2022-09-20T04:16:35.079Z] ---> 4746aed4d8b0 [2022-09-20T04:16:35.079Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-20T04:16:35.079Z] ---> Running in 2ad541a55e5a [2022-09-20T04:16:35.366Z] Removing intermediate container 2ad541a55e5a [2022-09-20T04:16:35.366Z] ---> cb1580c9768a [2022-09-20T04:16:35.366Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T04:16:35.366Z] ---> Running in 4957229a6b40 [2022-09-20T04:16:35.968Z] Removing intermediate container 4957229a6b40 [2022-09-20T04:16:35.968Z] ---> c2ea50879f53 [2022-09-20T04:16:35.968Z] Step 23/25 : LABEL arch=arm64 [2022-09-20T04:16:35.968Z] ---> Running in 3a20c7f1bba7 [2022-09-20T04:16:36.243Z] Removing intermediate container 3a20c7f1bba7 [2022-09-20T04:16:36.243Z] ---> a013724409a8 [2022-09-20T04:16:36.243Z] Step 24/25 : LABEL git_sha=660687e139f76a6ef77d6543c3c003a4e17dc897 [2022-09-20T04:16:36.243Z] ---> Running in 2e06610f150c [2022-09-20T04:16:36.516Z] Removing intermediate container 2e06610f150c [2022-09-20T04:16:36.516Z] ---> d92ef6ca1c68 [2022-09-20T04:16:36.516Z] Step 25/25 : LABEL version=0.0.0 [2022-09-20T04:16:36.516Z] ---> Running in 8cbd5d3dd7b6 [2022-09-20T04:16:37.114Z] Removing intermediate container 8cbd5d3dd7b6 [2022-09-20T04:16:37.114Z] ---> bac62950a348 [2022-09-20T04:16:37.114Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T04:16:37.114Z] Successfully built bac62950a348 [2022-09-20T04:16:37.114Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:16:37.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T04:16:37.913Z] [2022-09-20T04:16:37.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:16:38.329Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T04:16:38.605Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-20T04:16:38.605Z] 8998bd30e6a1: Pulling fs layer [2022-09-20T04:16:38.605Z] 04944245beec: Pulling fs layer [2022-09-20T04:16:38.605Z] 699f458cf7ca: Pulling fs layer [2022-09-20T04:16:38.605Z] 765212b225bb: Pulling fs layer [2022-09-20T04:16:38.605Z] f23df028b6ca: Pulling fs layer [2022-09-20T04:16:38.605Z] d65c8cfc05b1: Pulling fs layer [2022-09-20T04:16:38.605Z] 2437ff75d9bd: Pulling fs layer [2022-09-20T04:16:38.605Z] f23df028b6ca: Waiting [2022-09-20T04:16:38.605Z] d65c8cfc05b1: Waiting [2022-09-20T04:16:38.605Z] 765212b225bb: Waiting [2022-09-20T04:16:38.605Z] 2437ff75d9bd: Waiting [2022-09-20T04:16:38.605Z] 04944245beec: Verifying Checksum [2022-09-20T04:16:38.605Z] 04944245beec: Download complete [2022-09-20T04:16:38.605Z] 765212b225bb: Verifying Checksum [2022-09-20T04:16:38.605Z] 765212b225bb: Download complete [2022-09-20T04:16:38.605Z] f23df028b6ca: Verifying Checksum [2022-09-20T04:16:38.605Z] f23df028b6ca: Download complete [2022-09-20T04:16:38.605Z] d65c8cfc05b1: Verifying Checksum [2022-09-20T04:16:38.605Z] d65c8cfc05b1: Download complete [2022-09-20T04:16:38.883Z] 699f458cf7ca: Verifying Checksum [2022-09-20T04:16:38.883Z] 699f458cf7ca: Download complete [2022-09-20T04:16:39.161Z] 8998bd30e6a1: Verifying Checksum [2022-09-20T04:16:39.161Z] 8998bd30e6a1: Download complete [2022-09-20T04:16:41.790Z] 2437ff75d9bd: Verifying Checksum [2022-09-20T04:16:41.790Z] 2437ff75d9bd: Download complete [2022-09-20T04:16:43.792Z] 8998bd30e6a1: Pull complete [2022-09-20T04:16:44.067Z] 04944245beec: Pull complete [2022-09-20T04:16:46.058Z] 699f458cf7ca: Pull complete [2022-09-20T04:16:46.058Z] 765212b225bb: Pull complete [2022-09-20T04:16:47.041Z] f23df028b6ca: Pull complete [2022-09-20T04:16:47.041Z] d65c8cfc05b1: Pull complete [2022-09-20T04:17:05.369Z] 2437ff75d9bd: Pull complete [2022-09-20T04:17:05.369Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-20T04:17:05.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T04:17:05.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:17:05.731Z] prd-ubuntu20.04-docker-arm64-4c-16g-29923 does not seem to be running inside a container [2022-09-20T04:17:05.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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:arm64 cat [2022-09-20T04:17:08.366Z] $ docker top ffe80abe411d0a26d73624f422450dc4af9e58e1ea457016ba4a2460b37ccc13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:17:09.321Z] ---> job-cost.sh [2022-09-20T04:17:09.321Z] lf-activate-venv: SKIPPING [2022-09-20T04:17:09.321Z] INFO: No Stack... [2022-09-20T04:17:09.917Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-20T04:17:10.509Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T04:17:11.182Z] + cut -d, -f6 [2022-09-20T04:17:11.182Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-09-20T04:17:11.296Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [2022-09-20T04:17:11.302Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] did not exist. Created. [2022-09-20T04:17:11.302Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T04:17:12.115Z] /w/workspace/device-sdk-go/1@tmp/durable-8e03f860/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-20T04:17:12.830Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-20T04:17:12.868Z] Warning: overwriting stash ‘stack-cost’ [2022-09-20T04:17:12.958Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T04:17:12.973Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T04:17:13.050Z] $ docker stop --time=1 ffe80abe411d0a26d73624f422450dc4af9e58e1ea457016ba4a2460b37ccc13 [2022-09-20T04:17:14.590Z] $ docker rm -f ffe80abe411d0a26d73624f422450dc4af9e58e1ea457016ba4a2460b37ccc13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-20T04:17:15.627Z] provisioning config files... [2022-09-20T04:17:15.636Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/config6835001439842982673tmp [Pipeline] { [Pipeline] sh [2022-09-20T04:17:15.969Z] + set +x [2022-09-20T04:17:15.969Z] + curl -s https://codecov.io/bash [2022-09-20T04:17:15.969Z] + bash -s -- [2022-09-20T04:17:15.969Z] [2022-09-20T04:17:15.969Z] _____ _ [2022-09-20T04:17:15.969Z] / ____| | | [2022-09-20T04:17:15.969Z] | | ___ __| | ___ ___ _____ __ [2022-09-20T04:17:15.969Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-20T04:17:15.969Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-20T04:17:15.969Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-20T04:17:15.969Z] Bash-1.0.6 [2022-09-20T04:17:15.969Z] [2022-09-20T04:17:15.969Z] [2022-09-20T04:17:15.969Z] ==> git version 2.25.1 found [2022-09-20T04:17:15.969Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-20T04:17:15.969Z] Release-Date: 2020-01-08 [2022-09-20T04:17:15.969Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-20T04:17:15.969Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-20T04:17:15.969Z] ==> Jenkins CI detected. [2022-09-20T04:17:15.969Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1211 [2022-09-20T04:17:15.969Z] project root: . [2022-09-20T04:17:15.969Z] --> token set from env [2022-09-20T04:17:15.969Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-20T04:17:15.969Z] ==> Running gcov in . (disable via -X gcov) [2022-09-20T04:17:15.969Z] ==> Python coveragepy not found [2022-09-20T04:17:15.969Z] ==> Searching for coverage reports in: [2022-09-20T04:17:15.969Z] + . [2022-09-20T04:17:15.969Z] -> Found 1 reports [2022-09-20T04:17:15.969Z] ==> Detecting git/mercurial file structure [2022-09-20T04:17:15.969Z] ==> Reading reports [2022-09-20T04:17:16.229Z] + ./coverage.out bytes=131678 [2022-09-20T04:17:16.229Z] ==> Appending adjustments [2022-09-20T04:17:16.229Z] https://docs.codecov.io/docs/fixing-reports [2022-09-20T04:17:16.491Z] + Found adjustments [2022-09-20T04:17:16.491Z] ==> Gzipping contents [2022-09-20T04:17:16.491Z] 20K /tmp/codecov.petgr6.gz [2022-09-20T04:17:16.491Z] ==> Uploading reports [2022-09-20T04:17:16.491Z] url: https://codecov.io [2022-09-20T04:17:16.491Z] query: branch=PR-1211&commit=660687e139f76a6ef77d6543c3c003a4e17dc897&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1211&job=&cmd_args= [2022-09-20T04:17:16.491Z] -> Pinging Codecov [2022-09-20T04:17:16.491Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1211&commit=660687e139f76a6ef77d6543c3c003a4e17dc897&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1211&job=&cmd_args= [2022-09-20T04:17:16.752Z] -> Uploading to [2022-09-20T04:17:16.752Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-20/7E55EF52A471D76F132DFD9A03CDDE97/660687e139f76a6ef77d6543c3c003a4e17dc897/61459b43-5da8-4a82-aeea-fc0e88fa2d49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T041716Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75a938b1785ef9c7c6f8b7de3c2759f537841de01432b243ef62678bf1fe699d [2022-09-20T04:17:16.752Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T04:17:16.752Z] Dload Upload Total Spent Left Speed [2022-09-20T04:17:17.015Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17292 0 0 100 17292 0 70008 --:--:-- --:--:-- --:--:-- 70008 [2022-09-20T04:17:17.015Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] } [2022-09-20T04:17:17.043Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-20T04:17:18.720Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives ] [2022-09-20T04:17:18.720Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives [2022-09-20T04:17:18.720Z] total 16 [2022-09-20T04:17:18.720Z] drwxr-xr-x 3 root root 4096 Sep 20 04:07 . [2022-09-20T04:17:18.720Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 04:07 .. [2022-09-20T04:17:18.720Z] drwxr-xr-x 2 root root 4096 Sep 20 04:07 cost [2022-09-20T04:17:18.720Z] -rw-r--r-- 1 root root 86 Sep 20 04:07 cost.csv [2022-09-20T04:17:18.720Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives [2022-09-20T04:17:18.720Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives [2022-09-20T04:17:18.720Z] total 16 [2022-09-20T04:17:18.720Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 04:07 . [2022-09-20T04:17:18.720Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 04:07 .. [2022-09-20T04:17:18.720Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 04:07 cost [2022-09-20T04:17:18.720Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:17:19.049Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:17:19.943Z] ---> package-listing.sh [2022-09-20T04:17:19.943Z] ++ facter osfamily [2022-09-20T04:17:19.943Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-20T04:17:20.204Z] + OS_FAMILY=debian [2022-09-20T04:17:20.204Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1211 [2022-09-20T04:17:20.204Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-20T04:17:20.204Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-20T04:17:20.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-20T04:17:20.204Z] + PACKAGES=/tmp/packages_start.txt [2022-09-20T04:17:20.204Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1211 ']' [2022-09-20T04:17:20.204Z] + PACKAGES=/tmp/packages_end.txt [2022-09-20T04:17:20.204Z] + case "${OS_FAMILY}" in [2022-09-20T04:17:20.204Z] + grep '^ii' [2022-09-20T04:17:20.204Z] + dpkg -l [2022-09-20T04:17:20.204Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-20T04:17:20.204Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-20T04:17:20.204Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-20T04:17:20.204Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1211 ']' [2022-09-20T04:17:20.204Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives/ [2022-09-20T04:17:20.204Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives/ [Pipeline] echo [2022-09-20T04:17:20.237Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1211/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-20T04:17:20.530Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:17:21.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T04:17:21.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:17:21.309Z] prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container [2022-09-20T04:17:21.345Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1211/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1211 -v /w/workspace/gexfoundry_device-sdk-go_PR-1211:/w/workspace/gexfoundry_device-sdk-go_PR-1211:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1211@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:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T04:17:21.568Z] $ docker top ebbd3642e75fbd1f14fa1d5f621552e9d01c7a8fcff242b7926155e9395705b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:17:21.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-20T04:17:22.283Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-20T04:17:22.604Z] + ls /var/log/sa-host [2022-09-20T04:17:22.604Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T04:17:22.819Z] provisioning config files... [2022-09-20T04:17:22.830Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/config1736206984844877836tmp [Pipeline] { [Pipeline] echo [2022-09-20T04:17:22.878Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:17:23.191Z] ---> create-netrc.sh [Pipeline] } [2022-09-20T04:17:23.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:17:23.627Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-20T04:17:23.658Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:17:23.976Z] ---> sudo-logs.sh [2022-09-20T04:17:23.976Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-20T04:17:24.063Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:17:24.383Z] ---> job-cost.sh [2022-09-20T04:17:24.383Z] lf-activate-venv: SKIPPING [2022-09-20T04:17:24.383Z] DEBUG: total: 0.2199999988079071 [2022-09-20T04:17:24.383Z] INFO: Retrieving Stack Cost... [2022-09-20T04:17:24.645Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T04:17:25.217Z] INFO: Archiving Costs [Pipeline] echo [2022-09-20T04:17:25.251Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:17:25.568Z] ---> logs-deploy.sh [2022-09-20T04:17:25.568Z] lf-activate-venv: SKIPPING [2022-09-20T04:17:25.568Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1211/1 [2022-09-20T04:17:25.568Z] INFO: archiving workspace using pattern(s): [2022-09-20T04:17:26.518Z] Archives upload complete. [2022-09-20T04:17:26.779Z] INFO: archiving logs to Nexus