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 04:04:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:04:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:04:58 ========================================================= 04:04:58 EdgeX Global Pipelines Version Info 04:04:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:04:59 ------------------- 04:04:59 stable info: 04:04:59 ------------------- 04:04:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:04:59 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:04:59 Message: update stable to v1.0.239 04:05:00 ------------------- 04:05:00 experimental info: 04:05:00 ------------------- 04:05:00 Commited By: **** collab-it+edgex@linuxfoundation.org 04:05:00 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:05:00 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1211 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1211 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1211 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 660687e [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:01 provisioning config files... 04:05:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/config4541355517676783101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:02 ---> docker-login.sh 04:05:02 nexus3.edgexfoundry.org:10001 04:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:02 Configure a credential helper to remove this warning. See 04:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:02 04:05:02 Login Succeeded 04:05:02 nexus3.edgexfoundry.org:10002 04:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:03 Configure a credential helper to remove this warning. See 04:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:03 04:05:03 Login Succeeded 04:05:03 nexus3.edgexfoundry.org:10003 04:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:03 Configure a credential helper to remove this warning. See 04:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:03 04:05:03 Login Succeeded 04:05:03 nexus3.edgexfoundry.org:10004 04:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:03 Configure a credential helper to remove this warning. See 04:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:03 04:05:03 Login Succeeded 04:05:03 docker.io 04:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:03 Configure a credential helper to remove this warning. See 04:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:03 04:05:03 Login Succeeded 04:05:03 ---> docker-login.sh ends [Pipeline] } 04:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:05:04 + git rev-list -1 --merges 660687e139f76a6ef77d6543c3c003a4e17dc897~1..660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] echo 04:05:04 -----------> git rev-list -1 --merges 660687e139f76a6ef77d6543c3c003a4e17dc897~1..660687e139f76a6ef77d6543c3c003a4e17dc897 660687e139f76a6ef77d6543c3c003a4e17dc897 [false] [Pipeline] sh 04:05:04 + git log --format=format:%s -1 660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] echo 04:05:04 ========================================================= 04:05:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:05:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:05 + git log --format=format:%s -1 660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] echo 04:05:05 [semverPrep] GIT_COMMIT: 660687e139f76a6ef77d6543c3c003a4e17dc897, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:05:05 [semverPrep] This is not a build commit. [Pipeline] sh 04:05:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:05 + grep -v github /etc/ssh/ssh_known_hosts 04:05:05 + [ -e /tmp/ssh_known_hosts ] 04:05:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:05:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:05:05 + sudo tee -a /etc/ssh/ssh_known_hosts 04:05:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:06 04:05:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:06 0.1.4: Pulling from edgex-devops/py-git-semver 04:05:06 b85a868b505f: Pulling fs layer 04:05:06 e2be974225ed: Pulling fs layer 04:05:06 339a4e72a1f5: Pulling fs layer 04:05:06 988bab9f4d93: Pulling fs layer 04:05:06 1469e6f7b9e6: Pulling fs layer 04:05:06 eaf3925da568: Pulling fs layer 04:05:06 bab4dde63d76: Pulling fs layer 04:05:06 bde34c3a00c8: Pulling fs layer 04:05:06 b352a97aabf1: Pulling fs layer 04:05:06 4872d77fe225: Pulling fs layer 04:05:06 5851b861e8e6: Pulling fs layer 04:05:06 bab4dde63d76: Waiting 04:05:06 b352a97aabf1: Waiting 04:05:06 4872d77fe225: Waiting 04:05:06 1469e6f7b9e6: Waiting 04:05:06 eaf3925da568: Waiting 04:05:06 bde34c3a00c8: Waiting 04:05:06 5851b861e8e6: Waiting 04:05:06 988bab9f4d93: Waiting 04:05:06 e2be974225ed: Download complete 04:05:06 988bab9f4d93: Verifying Checksum 04:05:06 988bab9f4d93: Download complete 04:05:06 339a4e72a1f5: Verifying Checksum 04:05:06 339a4e72a1f5: Download complete 04:05:06 1469e6f7b9e6: Verifying Checksum 04:05:06 1469e6f7b9e6: Download complete 04:05:06 bde34c3a00c8: Verifying Checksum 04:05:06 bde34c3a00c8: Download complete 04:05:06 b352a97aabf1: Verifying Checksum 04:05:06 b352a97aabf1: Download complete 04:05:06 4872d77fe225: Verifying Checksum 04:05:06 4872d77fe225: Download complete 04:05:06 5851b861e8e6: Download complete 04:05:06 b85a868b505f: Verifying Checksum 04:05:06 b85a868b505f: Download complete 04:05:06 bab4dde63d76: Verifying Checksum 04:05:06 bab4dde63d76: Download complete 04:05:08 b85a868b505f: Pull complete 04:05:08 e2be974225ed: Pull complete 04:05:09 339a4e72a1f5: Pull complete 04:05:09 988bab9f4d93: Pull complete 04:05:09 1469e6f7b9e6: Pull complete 04:05:09 eaf3925da568: Pull complete 04:05:11 bab4dde63d76: Pull complete 04:05:11 bde34c3a00c8: Pull complete 04:05:11 b352a97aabf1: Pull complete 04:05:11 4872d77fe225: Pull complete 04:05:11 5851b861e8e6: Pull complete 04:05:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:05:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:12 prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container 04:05:12 $ 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 04:05:13 $ docker top d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 -eo pid,comm 04:05:13 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). 04:05:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:13 [ssh-agent] Looking for ssh-agent implementation... 04:05:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:14 $ docker exec d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 ssh-agent 04:05:14 SSH_AUTH_SOCK=/tmp/ssh-vdPLHpsFUj4G/agent.32 04:05:14 SSH_AGENT_PID=38 04:05:14 Running ssh-add (command line suppressed) 04:05:14 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) 04:05:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:14 + git tag --points-at HEAD [Pipeline] } 04:05:14 $ docker exec --env ******** --env ******** d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 ssh-agent -k 04:05:14 unset SSH_AUTH_SOCK; 04:05:14 unset SSH_AGENT_PID; 04:05:14 echo Agent pid 38 killed; 04:05:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:05:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:14 [ssh-agent] Looking for ssh-agent implementation... 04:05:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:15 $ docker exec d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 ssh-agent 04:05:15 SSH_AUTH_SOCK=/tmp/ssh-k4HlX47JoEQh/agent.71 04:05:15 SSH_AGENT_PID=77 04:05:15 Running ssh-add (command line suppressed) 04:05:15 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) 04:05:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:15 + git semver init 04:05:16 2022-09-20 04:05:15,979 [run_init] DEBUG init version:0.0.0 force:False 04:05:16 2022-09-20 04:05:15,981 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver 04:05:16 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 04:05:16 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) 04:05:17 2022-09-20 04:05:16,972 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211/.git/info/exclude 04:05:17 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 04:05:17 2022-09-20 04:05:16,972 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver/PR-1211 04:05:17 2022-09-20 04:05:16,977 [execute] INFO git cat-file --batch-check 04:05:17 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=) 04:05:17 2022-09-20 04:05:16,985 [execute] INFO git cat-file --batch 04:05:17 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=) 04:05:17 2022-09-20 04:05:16,991 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1211/.semver/PR-1211 04:05:17 0.0.0 [Pipeline] } 04:05:17 $ docker exec --env ******** --env ******** d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 ssh-agent -k 04:05:17 unset SSH_AUTH_SOCK; 04:05:17 unset SSH_AGENT_PID; 04:05:17 echo Agent pid 77 killed; 04:05:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:17 + git semver [Pipeline] } 04:05:18 $ docker stop --time=1 d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 04:05:19 $ docker rm -f d1a7923d147ae9f9e93546b9b46984dd9945f16def7d8126461fef780a9b1af6 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:05:20 Stashed 1 file(s) [Pipeline] echo 04:05:20 [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 04:05:20 provisioning config files... 04:05:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/config7941155307711930886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:21 ---> docker-login.sh 04:05:21 nexus3.edgexfoundry.org:10001 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:21 Configure a credential helper to remove this warning. See 04:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:21 04:05:21 Login Succeeded 04:05:21 nexus3.edgexfoundry.org:10002 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:21 Configure a credential helper to remove this warning. See 04:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:21 04:05:21 Login Succeeded 04:05:21 nexus3.edgexfoundry.org:10003 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:21 Configure a credential helper to remove this warning. See 04:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:21 04:05:21 Login Succeeded 04:05:21 nexus3.edgexfoundry.org:10004 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:21 Configure a credential helper to remove this warning. See 04:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:21 04:05:21 Login Succeeded 04:05:21 docker.io 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:22 Configure a credential helper to remove this warning. See 04:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:22 04:05:22 Login Succeeded 04:05:22 ---> docker-login.sh ends [Pipeline] } 04:05:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:22 ========================================================= 04:05:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:05:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:22 + 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 . 04:05:22 Sending build context to Docker daemon 9.81MB 04:05:22 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:05:22 Step 2/11 : FROM ${BASE} AS builder 04:05:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:05:22 2408cc74d12b: Pulling fs layer 04:05:22 ea60b727a1ce: Pulling fs layer 04:05:22 30c4a7721957: Pulling fs layer 04:05:22 370296b7ddb6: Pulling fs layer 04:05:22 7c6cee850709: Pulling fs layer 04:05:22 39a5fcdaea64: Pulling fs layer 04:05:22 d94ebbe4e438: Pulling fs layer 04:05:22 bcfd1f05c69d: Pulling fs layer 04:05:22 59ccb84bbe0f: Pulling fs layer 04:05:22 370296b7ddb6: Waiting 04:05:22 7c6cee850709: Waiting 04:05:22 bcfd1f05c69d: Waiting 04:05:22 39a5fcdaea64: Waiting 04:05:22 59ccb84bbe0f: Waiting 04:05:22 30c4a7721957: Verifying Checksum 04:05:22 30c4a7721957: Download complete 04:05:23 ea60b727a1ce: Verifying Checksum 04:05:23 ea60b727a1ce: Download complete 04:05:23 7c6cee850709: Download complete 04:05:23 39a5fcdaea64: Verifying Checksum 04:05:23 39a5fcdaea64: Download complete 04:05:23 2408cc74d12b: Verifying Checksum 04:05:23 2408cc74d12b: Download complete 04:05:23 d94ebbe4e438: Verifying Checksum 04:05:23 d94ebbe4e438: Download complete 04:05:23 2408cc74d12b: Pull complete 04:05:23 ea60b727a1ce: Pull complete 04:05:23 30c4a7721957: Pull complete 04:05:23 59ccb84bbe0f: Verifying Checksum 04:05:23 59ccb84bbe0f: Download complete 04:05:23 bcfd1f05c69d: Download complete 04:05:23 370296b7ddb6: Verifying Checksum 04:05:23 370296b7ddb6: Download complete 04:05:28 370296b7ddb6: Pull complete 04:05:28 7c6cee850709: Pull complete 04:05:28 39a5fcdaea64: Pull complete 04:05:28 d94ebbe4e438: Pull complete 04:05:30 bcfd1f05c69d: Pull complete 04:05:31 59ccb84bbe0f: Pull complete 04:05:31 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 04:05:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:05:31 ---> a4fb48ad2a94 04:05:31 Step 3/11 : ARG MAKE=make build 04:05:33 ---> Running in e5c9b690b6ed 04:05:33 Removing intermediate container e5c9b690b6ed 04:05:33 ---> 86d3b66f4a4c 04:05:33 Step 4/11 : WORKDIR /device-sdk-go 04:05:33 ---> Running in d65104415d2d 04:05:33 Removing intermediate container d65104415d2d 04:05:33 ---> 21c6efa765ac 04:05:33 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:05:33 ---> Running in 81c460da5e4c 04:05:33 Removing intermediate container 81c460da5e4c 04:05:33 ---> 2137d2fd58e7 04:05:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:33 ---> Running in 762cd1956655 04:05:34 Removing intermediate container 762cd1956655 04:05:34 ---> dfdaa341d6ec 04:05:34 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:34 ---> Running in f618237797b1 04:05:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:05:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:05:35 Still waiting to schedule task 04:05:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:05:35 OK: 211 MiB in 51 packages 04:05:36 Removing intermediate container f618237797b1 04:05:36 ---> c4aad29064ee 04:05:36 Step 8/11 : COPY go.mod vendor* ./ 04:05:36 ---> fda1a1762994 04:05:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:36 ---> Running in 6f7b39bc908d 04:05:58 Removing intermediate container 6f7b39bc908d 04:05:58 ---> 7f133b442c03 04:05:58 Step 10/11 : COPY . . 04:05:58 ---> d1f21309c4fe 04:05:58 Step 11/11 : RUN ${MAKE} 04:05:58 ---> Running in 27af5a720c73 04:05:58 noop 04:05:58 Removing intermediate container 27af5a720c73 04:05:58 ---> b5d9e7127bf4 04:05:58 Successfully built b5d9e7127bf4 04:05:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:58 + docker inspect -f . ci-base-image-x86_64 04:05:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:58 prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container 04:05:59 $ 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 04:05:59 $ docker top a1cd05ad9889ebfa5f84eccb8ee131dedd2ef68289a3078a2e56b1b046842a7e -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:59 + go version 04:05:59 go version go1.18.3 linux/amd64 [Pipeline] } 04:05:59 $ docker stop --time=1 a1cd05ad9889ebfa5f84eccb8ee131dedd2ef68289a3078a2e56b1b046842a7e 04:06:01 $ 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 04:06:02 + docker inspect -f . ci-base-image-x86_64 04:06:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:02 prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container 04:06:02 $ 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 04:06:02 $ docker top 9dce5bdef563a4bfad6482ee3df110bbafb10decae286f46be61fd95316a0ebf -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1211 [Pipeline] fileExists [Pipeline] sh 04:06:03 + make test 04:06:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:06:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.105s coverage: 23.6% of statements 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.053s coverage: 10.8% of statements 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.068s coverage: 60.0% of statements 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.107s coverage: 34.8% of statements 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.083s coverage: 85.4% of statements 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.120s coverage: 65.1% of statements 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.762s coverage: 89.2% of statements 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 04:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:06:44 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." 04:06:44 GO111MODULE=on go vet ./... 04:06:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:45 ./bin/test-attribution-txt.sh 04:06:45 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 04:06:45 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 04:06:45 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 04:06:45 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:06:45 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:06:45 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 04:06:45 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:06:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:45 $ docker stop --time=1 9dce5bdef563a4bfad6482ee3df110bbafb10decae286f46be61fd95316a0ebf 04:06:47 $ docker rm -f 9dce5bdef563a4bfad6482ee3df110bbafb10decae286f46be61fd95316a0ebf [Pipeline] // withDockerContainer [Pipeline] sh 04:06:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:49 + ls -al . 04:06:49 total 304 04:06:49 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 04:06 . 04:06:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:04 .. 04:06:49 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 04:04 .dockerignore 04:06:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 04:06 .git 04:06:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:04 .github 04:06:49 -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 04:04 .gitignore 04:06:49 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 04:04 .golangci.yml 04:06:49 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 04:05 .semver 04:06:49 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 04:04 CHANGELOG.md 04:06:49 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 04:04 GOVERNANCE.md 04:06:49 -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 04:04 Jenkinsfile 04:06:49 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 04:04 LICENSE 04:06:49 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 04:04 Makefile 04:06:49 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 04:04 OWNERS.md 04:06:49 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 04:04 README.md 04:06:49 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 04:05 VERSION 04:06:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:04 bin 04:06:49 -rw-r--r-- 1 jenkins jenkins 131678 Sep 20 04:06 coverage.out 04:06:49 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 04:04 example 04:06:49 -rw-rw-r-- 1 jenkins jenkins 3553 Sep 20 04:04 go.mod 04:06:49 -rw-rw-r-- 1 jenkins jenkins 36743 Sep 20 04:04 go.sum 04:06:49 drwxrwxr-x 15 jenkins jenkins 4096 Sep 20 04:04 internal 04:06:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:04 openapi 04:06:49 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 04:04 pkg 04:06:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:04 snap 04:06:49 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:50 + 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 . 04:06:50 Sending build context to Docker daemon 9.943MB 04:06:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:06:50 Step 2/25 : FROM ${BASE} AS builder 04:06:50 ---> b5d9e7127bf4 04:06:50 Step 3/25 : ARG MAKE=make build 04:06:50 ---> Running in 474b4bdf326d 04:06:50 Removing intermediate container 474b4bdf326d 04:06:50 ---> 69bc6df98a95 04:06:50 Step 4/25 : WORKDIR /device-sdk-go 04:06:50 ---> Running in 17f4f6a80014 04:06:50 Removing intermediate container 17f4f6a80014 04:06:50 ---> a70f517def90 04:06:50 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:06:50 ---> Running in f101cda05f83 04:06:50 Removing intermediate container f101cda05f83 04:06:50 ---> 113435a48b65 04:06:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:50 ---> Running in 182c8b65260e 04:06:51 Removing intermediate container 182c8b65260e 04:06:51 ---> c98e50cca263 04:06:51 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:51 ---> Running in bed52b0f1ed9 04:06:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:06:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:06:52 OK: 211 MiB in 51 packages 04:06:53 Removing intermediate container bed52b0f1ed9 04:06:53 ---> af7d7e8fe9f2 04:06:53 Step 8/25 : COPY go.mod vendor* ./ 04:06:53 ---> f7e1db23765b 04:06:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:53 ---> Running in f90846f1b56d 04:06:54 Removing intermediate container f90846f1b56d 04:06:54 ---> 492a5fbe339d 04:06:54 Step 10/25 : COPY . . 04:06:54 ---> e91349cb86ca 04:06:54 Step 11/25 : RUN ${MAKE} 04:06:54 ---> Running in a3c2c01538e6 04:06:54 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 04:07:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:07:16 Removing intermediate container a3c2c01538e6 04:07:16 ---> 3623dcbe849b 04:07:16 Step 12/25 : FROM alpine:3.16 04:07:16 3.16: Pulling from library/alpine 04:07:16 213ec9aee27d: Pulling fs layer 04:07:17 213ec9aee27d: Verifying Checksum 04:07:17 213ec9aee27d: Download complete 04:07:17 213ec9aee27d: Pull complete 04:07:17 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:07:17 Status: Downloaded newer image for alpine:3.16 04:07:17 ---> 9c6f07244728 04:07:17 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:17 ---> Running in 4b01e972fe63 04:07:17 Removing intermediate container 4b01e972fe63 04:07:17 ---> 874451b149a9 04:07:17 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:17 ---> Running in 628c275af0b8 04:07:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29923 in /w/workspace/gexfoundry_device-sdk-go_PR-1211 [Pipeline] { [Pipeline] ws 04:07:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:07:17 The recommended git tool is: git 04:07:18 Removing intermediate container 628c275af0b8 04:07:18 ---> 3a8d1ec63c73 04:07:18 Step 15/25 : RUN apk add --update --no-cache zeromq 04:07:18 ---> Running in cc5466c1f6c0 04:07:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:07:19 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:07:19 (2/5) Installing libsodium (1.0.18-r0) 04:07:19 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:07:19 (4/5) Installing libzmq (4.3.4-r0) 04:07:20 (5/5) Installing zeromq (4.3.4-r0) 04:07:20 Executing busybox-1.35.0-r17.trigger 04:07:20 OK: 8 MiB in 19 packages 04:07:20 Removing intermediate container cc5466c1f6c0 04:07:20 ---> 809d0b7f07c3 04:07:20 Step 16/25 : WORKDIR / 04:07:20 ---> Running in de34db755f99 04:07:20 Removing intermediate container de34db755f99 04:07:20 ---> 31745da0312d 04:07:20 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:20 ---> ddea59e82654 04:07:20 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:21 ---> 548285f2c9dd 04:07:21 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:21 ---> 871f31e664eb 04:07:21 Step 20/25 : EXPOSE 59999 04:07:21 ---> Running in c68aa12bc6fe 04:07:21 Removing intermediate container c68aa12bc6fe 04:07:21 ---> 5a04498d2dc7 04:07:21 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:07:21 ---> Running in 7a0ebe6de69f 04:07:21 Removing intermediate container 7a0ebe6de69f 04:07:21 ---> 9b3ad0ef7984 04:07:21 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:21 ---> Running in 392350ce93ed 04:07:21 Removing intermediate container 392350ce93ed 04:07:21 ---> b698a0a420b8 04:07:21 Step 23/25 : LABEL arch=amd64 04:07:21 ---> Running in b73e6448e1dc 04:07:21 Removing intermediate container b73e6448e1dc 04:07:21 ---> 354b686eff1d 04:07:21 Step 24/25 : LABEL git_sha=660687e139f76a6ef77d6543c3c003a4e17dc897 04:07:21 ---> Running in 981c98036076 04:07:22 Removing intermediate container 981c98036076 04:07:22 ---> 777260eb5843 04:07:22 Step 25/25 : LABEL version=0.0.0 04:07:22 ---> Running in 9e52cf8dbbe1 04:07:22 Removing intermediate container 9e52cf8dbbe1 04:07:22 ---> 4ef23c0bb965 04:07:22 [Warning] One or more build-args [ARCH] were not consumed 04:07:22 Successfully built 4ef23c0bb965 04:07:22 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 04:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:23 04:07:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:23 using credential edgex-jenkins-ssh 04:07:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:23 latest: Pulling from edgex-lftools-log-publisher 04:07:23 5eb5b503b376: Pulling fs layer 04:07:23 5c69ac0246d0: Pulling fs layer 04:07:23 ec43610c2a17: Pulling fs layer 04:07:23 3a2ae6a8a46f: Pulling fs layer 04:07:23 33b1e0a273af: Pulling fs layer 04:07:23 5d3b04190fa2: Pulling fs layer 04:07:23 2f39f015ded8: Pulling fs layer 04:07:23 33b1e0a273af: Waiting 04:07:23 5d3b04190fa2: Waiting 04:07:23 2f39f015ded8: Waiting 04:07:23 3a2ae6a8a46f: Waiting 04:07:23 5c69ac0246d0: Download complete 04:07:23 3a2ae6a8a46f: Download complete 04:07:23 33b1e0a273af: Verifying Checksum 04:07:23 33b1e0a273af: Download complete 04:07:23 Cloning the remote Git repository 04:07:23 5d3b04190fa2: Verifying Checksum 04:07:23 5d3b04190fa2: Download complete 04:07:23 ec43610c2a17: Verifying Checksum 04:07:23 ec43610c2a17: Download complete 04:07:23 5eb5b503b376: Verifying Checksum 04:07:23 5eb5b503b376: Download complete 04:07:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:07:23 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:07:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:23 > git --version # timeout=10 04:07:23 > git --version # 'git version 2.25.1' 04:07:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:24 2f39f015ded8: Verifying Checksum 04:07:24 2f39f015ded8: Download complete 04:07:25 5eb5b503b376: Pull complete 04:07:25 5c69ac0246d0: Pull complete 04:07:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:26 ec43610c2a17: Pull complete 04:07:26 3a2ae6a8a46f: Pull complete 04:07:26 Merging remotes/origin/main commit 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit 660687e139f76a6ef77d6543c3c003a4e17dc897 04:07:26 33b1e0a273af: Pull complete 04:07:26 Merge succeeded, producing 660687e139f76a6ef77d6543c3c003a4e17dc897 04:07:26 Checking out Revision 660687e139f76a6ef77d6543c3c003a4e17dc897 (PR-1211) 04:07:26 5d3b04190fa2: Pull complete 04:07:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:25 > 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 04:07:26 > git config core.sparsecheckout # timeout=10 04:07:26 > git checkout -f 660687e139f76a6ef77d6543c3c003a4e17dc897 # timeout=10 04:07:26 > git remote # timeout=10 04:07:26 > git config --get remote.origin.url # timeout=10 04:07:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:26 > git merge 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 04:07:26 > git rev-parse HEAD^{commit} # timeout=10 04:07:26 > git config core.sparsecheckout # timeout=10 04:07:26 > git checkout -f 660687e139f76a6ef77d6543c3c003a4e17dc897 # timeout=10 04:07:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:07:30 > git --version # timeout=10 04:07:30 > git --version # 'git version 2.25.1' 04:07:30 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 04:07:30 04:07:30 GitHub has been notified of this commit’s build result 04:07:30 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:31 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:31 Dload Upload Total Spent Left Speed 04:07:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k 04:07:31 2f39f015ded8: Pull complete 04:07:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:32 prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container 04:07:32 $ 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 04:07:33 $ docker top 684f02516990bede35555d2830068feae202c91b47f63c715fd40287c26b6148 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 04:07:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:34 ---> job-cost.sh 04:07:34 lf-activate-venv: SKIPPING 04:07:34 INFO: No Stack... 04:07:34 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 04:07:34 tee /etc/docker/daemon.new 04:07:34 { 04:07:34 "registry-mirrors": [ 04:07:34 "https://nexus3.edgexfoundry.org:10001" 04:07:34 ], 04:07:34 "bip": "10.250.0.254/24", 04:07:34 "hosts": [ 04:07:34 "tcp://0.0.0.0:5555", 04:07:34 "unix:///var/run/docker.sock" 04:07:34 ], 04:07:34 "mtu": 1458, 04:07:34 "selinux-enabled": true, 04:07:34 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:34 } [Pipeline] sh 04:07:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:35 + sudo service docker restart 04:07:35 INFO: Archiving Costs [Pipeline] sh 04:07:35 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives/cost.csv 04:07:35 + cut -d, -f6 [Pipeline] lock 04:07:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] 04:07:35 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] did not exist. Created. 04:07:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:36 + echo total: 0.2199999988079071 [Pipeline] stash 04:07:36 Stashed 1 file(s) [Pipeline] } 04:07:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:36 $ docker stop --time=1 684f02516990bede35555d2830068feae202c91b47f63c715fd40287c26b6148 04:07:37 $ docker rm -f 684f02516990bede35555d2830068feae202c91b47f63c715fd40287c26b6148 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:53 provisioning config files... 04:07:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4311030535885422518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:54 ---> docker-login.sh 04:07:54 nexus3.edgexfoundry.org:10001 04:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:55 Configure a credential helper to remove this warning. See 04:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:55 04:07:55 Login Succeeded 04:07:55 nexus3.edgexfoundry.org:10002 04:07:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:55 Configure a credential helper to remove this warning. See 04:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:55 04:07:55 Login Succeeded 04:07:55 nexus3.edgexfoundry.org:10003 04:07:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:55 Configure a credential helper to remove this warning. See 04:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:55 04:07:55 Login Succeeded 04:07:55 nexus3.edgexfoundry.org:10004 04:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:56 Configure a credential helper to remove this warning. See 04:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:56 04:07:56 Login Succeeded 04:07:56 docker.io 04:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:57 Configure a credential helper to remove this warning. See 04:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:57 04:07:57 Login Succeeded 04:07:57 ---> docker-login.sh ends [Pipeline] } 04:07:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:57 ========================================================= 04:07:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:07:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:58 + 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 . 04:07:58 Sending build context to Docker daemon 5.267MB 04:07:58 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:07:58 Step 2/11 : FROM ${BASE} AS builder 04:07:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:07:58 b3c136eddcbf: Pulling fs layer 04:07:58 c0a3192eca97: Pulling fs layer 04:07:58 a050256f5b6f: Pulling fs layer 04:07:58 656be50a0ddc: Pulling fs layer 04:07:58 2bbca73fdf42: Pulling fs layer 04:07:58 46d945488cbd: Pulling fs layer 04:07:58 8a5474983e97: Pulling fs layer 04:07:58 329c88fbcd65: Pulling fs layer 04:07:58 46d945488cbd: Waiting 04:07:58 8a5474983e97: Waiting 04:07:58 656be50a0ddc: Waiting 04:07:58 329c88fbcd65: Waiting 04:07:58 2bbca73fdf42: Waiting 04:07:58 a050256f5b6f: Verifying Checksum 04:07:58 a050256f5b6f: Download complete 04:07:58 c0a3192eca97: Download complete 04:07:58 2bbca73fdf42: Verifying Checksum 04:07:58 2bbca73fdf42: Download complete 04:07:58 46d945488cbd: Verifying Checksum 04:07:58 46d945488cbd: Download complete 04:07:58 b3c136eddcbf: Verifying Checksum 04:07:58 b3c136eddcbf: Download complete 04:07:59 b3c136eddcbf: Pull complete 04:07:59 329c88fbcd65: Verifying Checksum 04:07:59 329c88fbcd65: Download complete 04:08:00 c0a3192eca97: Pull complete 04:08:00 a050256f5b6f: Pull complete 04:08:00 8a5474983e97: Verifying Checksum 04:08:00 8a5474983e97: Download complete 04:08:01 656be50a0ddc: Verifying Checksum 04:08:01 656be50a0ddc: Download complete 04:08:14 656be50a0ddc: Pull complete 04:08:14 2bbca73fdf42: Pull complete 04:08:14 46d945488cbd: Pull complete 04:08:20 8a5474983e97: Pull complete 04:08:22 329c88fbcd65: Pull complete 04:08:22 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 04:08:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:08:22 ---> ff4287adb874 04:08:22 Step 3/11 : ARG MAKE=make build 04:08:23 ---> Running in 2ff23aea891f 04:08:24 Removing intermediate container 2ff23aea891f 04:08:24 ---> 58b7f7996175 04:08:24 Step 4/11 : WORKDIR /device-sdk-go 04:08:24 ---> Running in 68bba4f8f80f 04:08:24 Removing intermediate container 68bba4f8f80f 04:08:24 ---> dbe1f7e33aa3 04:08:24 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:24 ---> Running in 1adf4bedf81d 04:08:24 Removing intermediate container 1adf4bedf81d 04:08:24 ---> 4bf220c4e59e 04:08:24 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:24 ---> Running in 61347ede526b 04:08:26 Removing intermediate container 61347ede526b 04:08:26 ---> 0c2accfe9239 04:08:26 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:26 ---> Running in ce6f53a54118 04:08:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:08:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:08:29 OK: 221 MiB in 51 packages 04:08:30 Removing intermediate container ce6f53a54118 04:08:30 ---> b8f1e024f7c7 04:08:30 Step 8/11 : COPY go.mod vendor* ./ 04:08:31 ---> 2bbb5bc5bb2f 04:08:31 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:31 ---> Running in ab4022609ec3 04:09:27 Removing intermediate container ab4022609ec3 04:09:27 ---> d8d5c17639e4 04:09:27 Step 10/11 : COPY . . 04:09:27 ---> 7012cf9dabc6 04:09:27 Step 11/11 : RUN ${MAKE} 04:09:27 ---> Running in 2356918c1321 04:09:27 noop 04:09:27 Removing intermediate container 2356918c1321 04:09:27 ---> 74b9300be7b5 04:09:27 Successfully built 74b9300be7b5 04:09:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:28 + docker inspect -f . ci-base-image-arm64 04:09:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:28 prd-ubuntu20.04-docker-arm64-4c-16g-29923 does not seem to be running inside a container 04:09:28 $ 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 04:09:29 $ docker top dcc44a818fffc0ddcd7e8ce7c747118fb20fd9f391dc8cc8ee486308b435899a -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:30 + go version 04:09:30 go version go1.18.3 linux/arm64 [Pipeline] } 04:09:30 $ docker stop --time=1 dcc44a818fffc0ddcd7e8ce7c747118fb20fd9f391dc8cc8ee486308b435899a 04:09:32 $ 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 04:09:33 + docker inspect -f . ci-base-image-arm64 04:09:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:33 prd-ubuntu20.04-docker-arm64-4c-16g-29923 does not seem to be running inside a container 04:09:33 $ 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 04:09:35 $ docker top 3d186c55a84fbcfd3ca4d3bc2547065d7428b55d1dc07a6f793e0110f0307ad9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:35 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:09:36 + make test 04:09:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:10:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:12:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:12:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:12:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:12:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.449s coverage: 23.6% of statements 04:12:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:12:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.311s coverage: 27.6% of statements 04:12:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.393s coverage: 78.9% of statements 04:12:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.282s coverage: 10.8% of statements 04:12:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.454s coverage: 60.0% of statements 04:12:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:12:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:12:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.392s coverage: 34.8% of statements 04:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:12:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.298s coverage: 85.4% of statements 04:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:12:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.535s coverage: 65.1% of statements 04:12:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:12:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:12:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.210s coverage: 89.2% of statements 04:12:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:12:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.237s coverage: 4.7% of statements 04:12:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:12:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:12:20 GO111MODULE=on go vet ./... 04:13:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:13:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:13:57 ./bin/test-attribution-txt.sh 04:13:57 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 04:13:57 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 04:13:57 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 04:13:57 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:13:57 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:13:57 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 04:13:57 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:13:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:13:57 $ docker stop --time=1 3d186c55a84fbcfd3ca4d3bc2547065d7428b55d1dc07a6f793e0110f0307ad9 04:13:59 $ docker rm -f 3d186c55a84fbcfd3ca4d3bc2547065d7428b55d1dc07a6f793e0110f0307ad9 [Pipeline] // withDockerContainer [Pipeline] sh 04:14:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:14:01 Warning: overwriting stash ‘coverage-report’ 04:14:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:14:02 + ls -al . 04:14:02 total 300 04:14:02 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 04:09 . 04:14:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:07 .. 04:14:02 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 04:07 .dockerignore 04:14:02 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 04:07 .git 04:14:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:07 .github 04:14:02 -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 04:07 .gitignore 04:14:02 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 04:07 .golangci.yml 04:14:02 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 04:07 CHANGELOG.md 04:14:02 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 04:07 GOVERNANCE.md 04:14:02 -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 04:07 Jenkinsfile 04:14:02 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 04:07 LICENSE 04:14:02 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 04:07 Makefile 04:14:02 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 04:07 OWNERS.md 04:14:02 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 04:07 README.md 04:14:02 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 04:05 VERSION 04:14:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:07 bin 04:14:02 -rw-r--r-- 1 jenkins jenkins 131678 Sep 20 04:12 coverage.out 04:14:02 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 04:07 example 04:14:02 -rw-rw-r-- 1 jenkins jenkins 3553 Sep 20 04:07 go.mod 04:14:02 -rw-rw-r-- 1 jenkins jenkins 36743 Sep 20 04:07 go.sum 04:14:02 drwxrwxr-x 15 jenkins jenkins 4096 Sep 20 04:07 internal 04:14:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:07 openapi 04:14:02 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 04:07 pkg 04:14:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:07 snap 04:14:02 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:03 + 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 . 04:14:03 Sending build context to Docker daemon 5.4MB 04:14:03 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:14:03 Step 2/25 : FROM ${BASE} AS builder 04:14:03 ---> 74b9300be7b5 04:14:03 Step 3/25 : ARG MAKE=make build 04:14:03 ---> Running in 2dc5484538cc 04:14:03 Removing intermediate container 2dc5484538cc 04:14:03 ---> de56fd2311d2 04:14:03 Step 4/25 : WORKDIR /device-sdk-go 04:14:03 ---> Running in faac1dd0e9c5 04:14:04 Removing intermediate container faac1dd0e9c5 04:14:04 ---> 3ca40a87f030 04:14:04 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:14:04 ---> Running in 5495b6498c8b 04:14:04 Removing intermediate container 5495b6498c8b 04:14:04 ---> d413d9cf8846 04:14:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:14:04 ---> Running in e9821249aba0 04:14:06 Removing intermediate container e9821249aba0 04:14:06 ---> 29e3c95aa007 04:14:06 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:14:06 ---> Running in 533cf2af692e 04:14:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:14:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:14:09 OK: 221 MiB in 51 packages 04:14:10 Removing intermediate container 533cf2af692e 04:14:10 ---> ee5c4f073f7f 04:14:10 Step 8/25 : COPY go.mod vendor* ./ 04:14:10 ---> 4924588d41cf 04:14:10 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:10 ---> Running in 352561a231e2 04:14:12 Removing intermediate container 352561a231e2 04:14:12 ---> 11b22fe5268c 04:14:12 Step 10/25 : COPY . . 04:14:13 ---> 8778ddb817c0 04:14:13 Step 11/25 : RUN ${MAKE} 04:14:13 ---> Running in e2a12ab8bd8e 04:14:14 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 04:16:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:16:24 Removing intermediate container e2a12ab8bd8e 04:16:24 ---> bca939d5e59c 04:16:24 Step 12/25 : FROM alpine:3.16 04:16:24 3.16: Pulling from library/alpine 04:16:24 9b18e9b68314: Pulling fs layer 04:16:25 9b18e9b68314: Verifying Checksum 04:16:25 9b18e9b68314: Download complete 04:16:25 9b18e9b68314: Pull complete 04:16:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:16:25 Status: Downloaded newer image for alpine:3.16 04:16:25 ---> a6215f271958 04:16:25 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:16:25 ---> Running in 0d5fce3ad757 04:16:25 Removing intermediate container 0d5fce3ad757 04:16:25 ---> edca9aea4d05 04:16:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:25 ---> Running in 5a8bc57961b1 04:16:27 Removing intermediate container 5a8bc57961b1 04:16:27 ---> 83282ad4be93 04:16:27 Step 15/25 : RUN apk add --update --no-cache zeromq 04:16:27 ---> Running in 0597accf55ef 04:16:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:16:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:16:30 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:16:30 (2/5) Installing libsodium (1.0.18-r0) 04:16:30 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:16:30 (4/5) Installing libzmq (4.3.4-r0) 04:16:30 (5/5) Installing zeromq (4.3.4-r0) 04:16:30 Executing busybox-1.35.0-r17.trigger 04:16:30 OK: 8 MiB in 19 packages 04:16:31 Removing intermediate container 0597accf55ef 04:16:31 ---> c96715f5e842 04:16:31 Step 16/25 : WORKDIR / 04:16:31 ---> Running in 83e15349c3d2 04:16:32 Removing intermediate container 83e15349c3d2 04:16:32 ---> dee61b8396e7 04:16:32 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:16:32 ---> dfe3c62ff74a 04:16:32 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:16:34 ---> 020a7ca191e8 04:16:34 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:16:34 ---> 268dcee32f40 04:16:34 Step 20/25 : EXPOSE 59999 04:16:34 ---> Running in 524546f97eea 04:16:35 Removing intermediate container 524546f97eea 04:16:35 ---> 4746aed4d8b0 04:16:35 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:16:35 ---> Running in 2ad541a55e5a 04:16:35 Removing intermediate container 2ad541a55e5a 04:16:35 ---> cb1580c9768a 04:16:35 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:16:35 ---> Running in 4957229a6b40 04:16:35 Removing intermediate container 4957229a6b40 04:16:35 ---> c2ea50879f53 04:16:35 Step 23/25 : LABEL arch=arm64 04:16:35 ---> Running in 3a20c7f1bba7 04:16:36 Removing intermediate container 3a20c7f1bba7 04:16:36 ---> a013724409a8 04:16:36 Step 24/25 : LABEL git_sha=660687e139f76a6ef77d6543c3c003a4e17dc897 04:16:36 ---> Running in 2e06610f150c 04:16:36 Removing intermediate container 2e06610f150c 04:16:36 ---> d92ef6ca1c68 04:16:36 Step 25/25 : LABEL version=0.0.0 04:16:36 ---> Running in 8cbd5d3dd7b6 04:16:37 Removing intermediate container 8cbd5d3dd7b6 04:16:37 ---> bac62950a348 04:16:37 [Warning] One or more build-args [ARCH] were not consumed 04:16:37 Successfully built bac62950a348 04:16:37 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 04:16:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:37 04:16:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:38 arm64: Pulling from edgex-lftools-log-publisher 04:16:38 8998bd30e6a1: Pulling fs layer 04:16:38 04944245beec: Pulling fs layer 04:16:38 699f458cf7ca: Pulling fs layer 04:16:38 765212b225bb: Pulling fs layer 04:16:38 f23df028b6ca: Pulling fs layer 04:16:38 d65c8cfc05b1: Pulling fs layer 04:16:38 2437ff75d9bd: Pulling fs layer 04:16:38 f23df028b6ca: Waiting 04:16:38 d65c8cfc05b1: Waiting 04:16:38 765212b225bb: Waiting 04:16:38 2437ff75d9bd: Waiting 04:16:38 04944245beec: Verifying Checksum 04:16:38 04944245beec: Download complete 04:16:38 765212b225bb: Verifying Checksum 04:16:38 765212b225bb: Download complete 04:16:38 f23df028b6ca: Verifying Checksum 04:16:38 f23df028b6ca: Download complete 04:16:38 d65c8cfc05b1: Verifying Checksum 04:16:38 d65c8cfc05b1: Download complete 04:16:38 699f458cf7ca: Verifying Checksum 04:16:38 699f458cf7ca: Download complete 04:16:39 8998bd30e6a1: Verifying Checksum 04:16:39 8998bd30e6a1: Download complete 04:16:41 2437ff75d9bd: Verifying Checksum 04:16:41 2437ff75d9bd: Download complete 04:16:43 8998bd30e6a1: Pull complete 04:16:44 04944245beec: Pull complete 04:16:46 699f458cf7ca: Pull complete 04:16:46 765212b225bb: Pull complete 04:16:47 f23df028b6ca: Pull complete 04:16:47 d65c8cfc05b1: Pull complete 04:17:05 2437ff75d9bd: Pull complete 04:17:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:17:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:05 prd-ubuntu20.04-docker-arm64-4c-16g-29923 does not seem to be running inside a container 04:17:05 $ 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 04:17:08 $ docker top ffe80abe411d0a26d73624f422450dc4af9e58e1ea457016ba4a2460b37ccc13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:09 ---> job-cost.sh 04:17:09 lf-activate-venv: SKIPPING 04:17:09 INFO: No Stack... 04:17:09 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:10 INFO: Archiving Costs [Pipeline] sh 04:17:11 + cut -d, -f6 04:17:11 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:17:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] 04:17:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] did not exist. Created. 04:17:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:12 /w/workspace/device-sdk-go/1@tmp/durable-8e03f860/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:12 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:12 Warning: overwriting stash ‘stack-cost’ 04:17:12 Stashed 1 file(s) [Pipeline] } 04:17:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1211-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:13 $ docker stop --time=1 ffe80abe411d0a26d73624f422450dc4af9e58e1ea457016ba4a2460b37ccc13 04:17:14 $ 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 04:17:15 provisioning config files... 04:17:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/config6835001439842982673tmp [Pipeline] { [Pipeline] sh 04:17:15 + set +x 04:17:15 + curl -s https://codecov.io/bash 04:17:15 + bash -s -- 04:17:15 04:17:15 _____ _ 04:17:15 / ____| | | 04:17:15 | | ___ __| | ___ ___ _____ __ 04:17:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:17:15 | |___| (_) | (_| | __/ (_| (_) \ V / 04:17:15 \_____\___/ \__,_|\___|\___\___/ \_/ 04:17:15 Bash-1.0.6 04:17:15 04:17:15 04:17:15 ==> git version 2.25.1 found 04:17:15 ==> 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 04:17:15 Release-Date: 2020-01-08 04:17:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:17:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:17:15 ==> Jenkins CI detected. 04:17:15 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1211 04:17:15 project root: . 04:17:15 --> token set from env 04:17:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:17:15 ==> Running gcov in . (disable via -X gcov) 04:17:15 ==> Python coveragepy not found 04:17:15 ==> Searching for coverage reports in: 04:17:15 + . 04:17:15 -> Found 1 reports 04:17:15 ==> Detecting git/mercurial file structure 04:17:15 ==> Reading reports 04:17:16 + ./coverage.out bytes=131678 04:17:16 ==> Appending adjustments 04:17:16 https://docs.codecov.io/docs/fixing-reports 04:17:16 + Found adjustments 04:17:16 ==> Gzipping contents 04:17:16 20K /tmp/codecov.petgr6.gz 04:17:16 ==> Uploading reports 04:17:16 url: https://codecov.io 04:17:16 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= 04:17:16 -> Pinging Codecov 04:17:16 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= 04:17:16 -> Uploading to 04:17:16 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 04:17:16 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:16 Dload Upload Total Spent Left Speed 04:17:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17292 0 0 100 17292 0 70008 --:--:-- --:--:-- --:--:-- 70008 04:17:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/660687e139f76a6ef77d6543c3c003a4e17dc897 [Pipeline] } 04:17:17 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 04:17:18 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives ] 04:17:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives 04:17:18 total 16 04:17:18 drwxr-xr-x 3 root root 4096 Sep 20 04:07 . 04:17:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 04:07 .. 04:17:18 drwxr-xr-x 2 root root 4096 Sep 20 04:07 cost 04:17:18 -rw-r--r-- 1 root root 86 Sep 20 04:07 cost.csv 04:17:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives 04:17:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives 04:17:18 total 16 04:17:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 04:07 . 04:17:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 04:07 .. 04:17:18 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 04:07 cost 04:17:18 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:17:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:17:19 ---> package-listing.sh 04:17:19 ++ facter osfamily 04:17:19 ++ tr '[:upper:]' '[:lower:]' 04:17:20 + OS_FAMILY=debian 04:17:20 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1211 04:17:20 + START_PACKAGES=/tmp/packages_start.txt 04:17:20 + END_PACKAGES=/tmp/packages_end.txt 04:17:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:17:20 + PACKAGES=/tmp/packages_start.txt 04:17:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1211 ']' 04:17:20 + PACKAGES=/tmp/packages_end.txt 04:17:20 + case "${OS_FAMILY}" in 04:17:20 + grep '^ii' 04:17:20 + dpkg -l 04:17:20 + '[' -f /tmp/packages_start.txt ']' 04:17:20 + '[' -f /tmp/packages_end.txt ']' 04:17:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:17:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1211 ']' 04:17:20 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1211/archives/ 04:17:20 + 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 04:17:20 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 04:17:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:21 prd-ubuntu20.04-docker-8c-8g-29922 does not seem to be running inside a container 04:17:21 $ 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 04:17:21 $ docker top ebbd3642e75fbd1f14fa1d5f621552e9d01c7a8fcff242b7926155e9395705b0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:21 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:22 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:22 + ls /var/log/sa-host 04:17:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:22 provisioning config files... 04:17:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1211@tmp/config1736206984844877836tmp [Pipeline] { [Pipeline] echo 04:17:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:23 ---> create-netrc.sh [Pipeline] } 04:17:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:23 ---> python-tools-install.sh [Pipeline] echo 04:17:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:23 ---> sudo-logs.sh 04:17:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:24 ---> job-cost.sh 04:17:24 lf-activate-venv: SKIPPING 04:17:24 DEBUG: total: 0.2199999988079071 04:17:24 INFO: Retrieving Stack Cost... 04:17:24 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:25 INFO: Archiving Costs [Pipeline] echo 04:17:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:25 ---> logs-deploy.sh 04:17:25 lf-activate-venv: SKIPPING 04:17:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1211/1 04:17:25 INFO: archiving workspace using pattern(s): 04:17:26 Archives upload complete. 04:17:26 INFO: archiving logs to Nexus