Pull request #1544 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 07e7bcb1041842c19a751867c84be56a71416d66+85278c73853f3bd4b620ac341e15b8756b181622 (9b0cd8284bddc9bc8e6265a9038772c488a83622) 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-ssh10673193456832849365.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1586676471254791109.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1544/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-1544/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh445442658617052641.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-1544/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8043888023318598726.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh7738347343999221354.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-1544/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-1544/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16317418849760581637.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/v3]] ========================================================= [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.21 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/v3 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-24030 in /w/workspace/gexfoundry_device-sdk-go_PR-1544 [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-1544 # 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 > 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/1544/head:refs/remotes/origin/PR-1544 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 85278c73853f3bd4b620ac341e15b8756b181622 into PR head commit 07e7bcb1041842c19a751867c84be56a71416d66 Merge succeeded, producing 07e7bcb1041842c19a751867c84be56a71416d66 Checking out Revision 07e7bcb1041842c19a751867c84be56a71416d66 (PR-1544) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f 07e7bcb1041842c19a751867c84be56a71416d66 # 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 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07e7bcb1041842c19a751867c84be56a71416d66 # timeout=10 [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:39:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:39:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:39:02 ========================================================= 04:39:02 EdgeX Global Pipelines Version Info 04:39:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:39:03 ------------------- 04:39:03 stable info: 04:39:03 ------------------- 04:39:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:39:03 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:39:03 Message: update stable to v1.0.258 04:39:03 ------------------- 04:39:03 experimental info: 04:39:03 ------------------- 04:39:03 Commited By: **** collab-it+edgex@linuxfoundation.org 04:39:03 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:39:03 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:39:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:39:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:39:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1544 [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1544 [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1544 [Pipeline] echo 04:39:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07e7bcb1041842c19a751867c84be56a71416d66 [Pipeline] echo 04:39:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07e7bcb [Pipeline] echo 04:39:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:39:06 provisioning config files... 04:39:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp/config3584419139560824990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:06 ---> ****-login.sh 04:39:06 nexus3.edgexfoundry.org:10001 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 nexus3.edgexfoundry.org:10002 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 nexus3.edgexfoundry.org:10003 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 nexus3.edgexfoundry.org:10004 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 ****.io 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 ---> ****-login.sh ends [Pipeline] } 04:39:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:39:08 + git rev-list -1 --merges 07e7bcb1041842c19a751867c84be56a71416d66~1..07e7bcb1041842c19a751867c84be56a71416d66 [Pipeline] echo 04:39:08 -----------> git rev-list -1 --merges 07e7bcb1041842c19a751867c84be56a71416d66~1..07e7bcb1041842c19a751867c84be56a71416d66 07e7bcb1041842c19a751867c84be56a71416d66 [false] [Pipeline] sh 04:39:09 + git log --format=format:%s -1 07e7bcb1041842c19a751867c84be56a71416d66 [Pipeline] echo 04:39:09 ========================================================= 04:39:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:39:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:39:09 + git log --format=format:%s -1 07e7bcb1041842c19a751867c84be56a71416d66 [Pipeline] echo 04:39:09 [semverPrep] GIT_COMMIT: 07e7bcb1041842c19a751867c84be56a71416d66, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:39:09 [semverPrep] This is not a build commit. [Pipeline] sh 04:39:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:39:10 + grep -v github /etc/ssh/ssh_known_hosts 04:39:10 + [ -e /tmp/ssh_known_hosts ] 04:39:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:39:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:39:10 + sudo tee -a /etc/ssh/ssh_known_hosts 04:39:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:39:10 04:39:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:39:11 0.1.4: Pulling from edgex-devops/py-git-semver 04:39:11 b85a868b505f: Pulling fs layer 04:39:11 e2be974225ed: Pulling fs layer 04:39:11 339a4e72a1f5: Pulling fs layer 04:39:11 988bab9f4d93: Pulling fs layer 04:39:11 1469e6f7b9e6: Pulling fs layer 04:39:11 eaf3925da568: Pulling fs layer 04:39:11 bab4dde63d76: Pulling fs layer 04:39:11 bde34c3a00c8: Pulling fs layer 04:39:11 b352a97aabf1: Pulling fs layer 04:39:11 4872d77fe225: Pulling fs layer 04:39:11 5851b861e8e6: Pulling fs layer 04:39:11 988bab9f4d93: Waiting 04:39:11 1469e6f7b9e6: Waiting 04:39:11 eaf3925da568: Waiting 04:39:11 bab4dde63d76: Waiting 04:39:11 bde34c3a00c8: Waiting 04:39:11 b352a97aabf1: Waiting 04:39:11 4872d77fe225: Waiting 04:39:11 5851b861e8e6: Waiting 04:39:11 e2be974225ed: Verifying Checksum 04:39:11 e2be974225ed: Download complete 04:39:11 988bab9f4d93: Download complete 04:39:11 1469e6f7b9e6: Verifying Checksum 04:39:11 1469e6f7b9e6: Download complete 04:39:11 339a4e72a1f5: Verifying Checksum 04:39:11 339a4e72a1f5: Download complete 04:39:11 eaf3925da568: Verifying Checksum 04:39:11 eaf3925da568: Download complete 04:39:11 bde34c3a00c8: Download complete 04:39:11 b352a97aabf1: Verifying Checksum 04:39:11 b352a97aabf1: Download complete 04:39:11 4872d77fe225: Verifying Checksum 04:39:11 4872d77fe225: Download complete 04:39:11 5851b861e8e6: Download complete 04:39:11 b85a868b505f: Verifying Checksum 04:39:11 b85a868b505f: Download complete 04:39:11 bab4dde63d76: Verifying Checksum 04:39:11 bab4dde63d76: Download complete 04:39:12 b85a868b505f: Pull complete 04:39:12 e2be974225ed: Pull complete 04:39:13 339a4e72a1f5: Pull complete 04:39:13 988bab9f4d93: Pull complete 04:39:13 1469e6f7b9e6: Pull complete 04:39:13 eaf3925da568: Pull complete 04:39:14 bab4dde63d76: Pull complete 04:39:14 bde34c3a00c8: Pull complete 04:39:15 b352a97aabf1: Pull complete 04:39:15 4872d77fe225: Pull complete 04:39:15 5851b861e8e6: Pull complete 04:39:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:39:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:15 prd-ubuntu20.04-docker-8c-8g-24030 does not seem to be running inside a container 04:39:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1544 -v /w/workspace/gexfoundry_device-sdk-go_PR-1544:/w/workspace/gexfoundry_device-sdk-go_PR-1544:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1544@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:39:20 $ docker top 466df37d517036e4efb3ebcf9490a7f85eadf72f949f4bff0daaec1ee71d055a -eo pid,comm 04:39:20 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:39:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:39:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:39:20 [ssh-agent] Looking for ssh-agent implementation... 04:39:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:39:20 $ docker exec 466df37d517036e4efb3ebcf9490a7f85eadf72f949f4bff0daaec1ee71d055a ssh-agent 04:39:20 SSH_AUTH_SOCK=/tmp/ssh-K5Lvkq5etqaJ/agent.32 04:39:20 SSH_AGENT_PID=38 04:39:20 Running ssh-add (command line suppressed) 04:39:21 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp/private_key_12893506032654891144.key (/w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp/private_key_12893506032654891144.key) 04:39:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:39:21 + git tag --points-at HEAD [Pipeline] } 04:39:21 $ docker exec --env ******** --env ******** 466df37d517036e4efb3ebcf9490a7f85eadf72f949f4bff0daaec1ee71d055a ssh-agent -k 04:39:21 unset SSH_AUTH_SOCK; 04:39:21 unset SSH_AGENT_PID; 04:39:21 echo Agent pid 38 killed; 04:39:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:39:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:39:21 [ssh-agent] Looking for ssh-agent implementation... 04:39:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:39:21 $ docker exec 466df37d517036e4efb3ebcf9490a7f85eadf72f949f4bff0daaec1ee71d055a ssh-agent 04:39:21 SSH_AUTH_SOCK=/tmp/ssh-da6Z5Niyy1cm/agent.70 04:39:21 SSH_AGENT_PID=76 04:39:21 Running ssh-add (command line suppressed) 04:39:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp/private_key_10069689432191266673.key (/w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp/private_key_10069689432191266673.key) 04:39:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:39:22 + git semver init 04:39:22 2023-12-05 04:39:22,589 [run_init] DEBUG init version:0.0.0 force:False 04:39:22 2023-12-05 04:39:22,590 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1544/.semver 04:39:22 2023-12-05 04:39:22,591 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1544/.semver 04:39:22 2023-12-05 04:39:22,591 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1544/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1544, universal_newlines=False, shell=None, istream=None) 04:39:24 2023-12-05 04:39:24,081 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1544/.git/info/exclude 04:39:24 2023-12-05 04:39:24,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1544/.semver/PR-1544 with force:False 04:39:24 2023-12-05 04:39:24,082 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1544/.semver/PR-1544 04:39:24 2023-12-05 04:39:24,086 [execute] INFO git cat-file --batch-check 04:39:24 2023-12-05 04:39:24,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1544/.semver, universal_newlines=False, shell=None, istream=) 04:39:24 2023-12-05 04:39:24,092 [execute] INFO git cat-file --batch 04:39:24 2023-12-05 04:39:24,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1544/.semver, universal_newlines=False, shell=None, istream=) 04:39:24 2023-12-05 04:39:24,096 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1544/.semver/PR-1544 04:39:24 0.0.0 [Pipeline] } 04:39:24 $ docker exec --env ******** --env ******** 466df37d517036e4efb3ebcf9490a7f85eadf72f949f4bff0daaec1ee71d055a ssh-agent -k 04:39:24 unset SSH_AUTH_SOCK; 04:39:24 unset SSH_AGENT_PID; 04:39:24 echo Agent pid 76 killed; 04:39:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:39:25 + git semver [Pipeline] } 04:39:25 $ docker stop --time=1 466df37d517036e4efb3ebcf9490a7f85eadf72f949f4bff0daaec1ee71d055a 04:39:27 $ docker rm -f --volumes 466df37d517036e4efb3ebcf9490a7f85eadf72f949f4bff0daaec1ee71d055a [Pipeline] // withDockerContainer [Pipeline] sh 04:39:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:39:28 Stashed 1 file(s) [Pipeline] echo 04:39:28 [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:39:29 provisioning config files... 04:39:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp/config18249768119267132166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:29 ---> ****-login.sh 04:39:29 nexus3.edgexfoundry.org:10001 04:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:29 Configure a credential helper to remove this warning. See 04:39:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:29 04:39:29 Login Succeeded 04:39:29 nexus3.edgexfoundry.org:10002 04:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:29 Configure a credential helper to remove this warning. See 04:39:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:29 04:39:29 Login Succeeded 04:39:29 nexus3.edgexfoundry.org:10003 04:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:29 Configure a credential helper to remove this warning. See 04:39:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:29 04:39:29 Login Succeeded 04:39:29 nexus3.edgexfoundry.org:10004 04:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:29 Configure a credential helper to remove this warning. See 04:39:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:29 04:39:29 Login Succeeded 04:39:29 ****.io 04:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:30 Configure a credential helper to remove this warning. See 04:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:30 04:39:30 Login Succeeded 04:39:30 ---> ****-login.sh ends [Pipeline] } 04:39:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:39:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:39:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:39:30 ========================================================= 04:39:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:39:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:31 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 04:39:31 Sending build context to Docker daemon 21.9MB 04:39:31 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:39:31 Step 2/10 : FROM ${BASE} AS builder 04:39:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:39:32 7264a8db6415: Pulling fs layer 04:39:32 c4d48a809fc2: Pulling fs layer 04:39:32 4f1c88b9dad5: Pulling fs layer 04:39:32 ad3a456e5733: Pulling fs layer 04:39:32 69c7f0334f64: Pulling fs layer 04:39:32 1f1c1a5573a3: Pulling fs layer 04:39:32 ce7588e14bc9: Pulling fs layer 04:39:32 b5e4710f87ac: Pulling fs layer 04:39:32 69c7f0334f64: Waiting 04:39:32 1f1c1a5573a3: Waiting 04:39:32 ce7588e14bc9: Waiting 04:39:32 b5e4710f87ac: Waiting 04:39:32 ad3a456e5733: Waiting 04:39:32 c4d48a809fc2: Download complete 04:39:32 ad3a456e5733: Verifying Checksum 04:39:32 ad3a456e5733: Download complete 04:39:32 69c7f0334f64: Verifying Checksum 04:39:32 69c7f0334f64: Download complete 04:39:32 7264a8db6415: Verifying Checksum 04:39:32 7264a8db6415: Download complete 04:39:32 1f1c1a5573a3: Verifying Checksum 04:39:32 1f1c1a5573a3: Download complete 04:39:32 b5e4710f87ac: Download complete 04:39:32 7264a8db6415: Pull complete 04:39:32 4f1c88b9dad5: Verifying Checksum 04:39:32 4f1c88b9dad5: Download complete 04:39:33 ce7588e14bc9: Verifying Checksum 04:39:33 ce7588e14bc9: Download complete 04:39:33 c4d48a809fc2: Pull complete 04:39:37 4f1c88b9dad5: Pull complete 04:39:37 ad3a456e5733: Pull complete 04:39:37 69c7f0334f64: Pull complete 04:39:37 1f1c1a5573a3: Pull complete 04:39:39 ce7588e14bc9: Pull complete 04:39:40 b5e4710f87ac: Pull complete 04:39:40 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:39:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:39:40 ---> 88b5674ff536 04:39:40 Step 3/10 : ARG MAKE=make build 04:39:43 Still waiting to schedule task 04:39:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:39:52 ---> Running in a9aa04a5c4e6 04:39:52 Removing intermediate container a9aa04a5c4e6 04:39:52 ---> cf6ce7152009 04:39:52 Step 4/10 : WORKDIR /device-sdk-go 04:39:52 ---> Running in 6d3b8c05bc26 04:39:52 Removing intermediate container 6d3b8c05bc26 04:39:52 ---> cca65a5b5176 04:39:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:39:52 ---> Running in 32627d50b852 04:39:52 Removing intermediate container 32627d50b852 04:39:52 ---> 4c8d6f4173c7 04:39:52 Step 6/10 : RUN apk add --update --no-cache make git 04:39:52 ---> Running in c9d012cca642 04:39:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:39:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:39:52 OK: 264 MiB in 52 packages 04:39:53 Removing intermediate container c9d012cca642 04:39:53 ---> 1b865a48888f 04:39:53 Step 7/10 : COPY go.mod vendor* ./ 04:39:54 ---> 3cd402244566 04:39:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:54 ---> Running in 9474be0631fe 04:40:41 Removing intermediate container 9474be0631fe 04:40:41 ---> 8b8cdf149658 04:40:41 Step 9/10 : COPY . . 04:40:41 ---> 15ff2784e5e3 04:40:41 Step 10/10 : RUN ${MAKE} 04:40:41 ---> Running in 526e32942ebd 04:40:41 noop 04:40:41 Removing intermediate container 526e32942ebd 04:40:41 ---> b1100611c7fa 04:40:41 Successfully built b1100611c7fa 04:40:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:41 + docker inspect -f . ci-base-image-x86_64 04:40:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:42 prd-ubuntu20.04-docker-8c-8g-24030 does not seem to be running inside a container 04:40:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1544 -v /w/workspace/gexfoundry_device-sdk-go_PR-1544:/w/workspace/gexfoundry_device-sdk-go_PR-1544:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:40:42 $ docker top 15d3a9e5a4e496cb0383856da55cd97d597d3d71939860d219d08a37757c7586 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:42 + go version 04:40:42 go version go1.21.0 linux/amd64 [Pipeline] } 04:40:42 $ docker stop --time=1 15d3a9e5a4e496cb0383856da55cd97d597d3d71939860d219d08a37757c7586 04:40:44 $ docker rm -f --volumes 15d3a9e5a4e496cb0383856da55cd97d597d3d71939860d219d08a37757c7586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:45 + docker inspect -f . ci-base-image-x86_64 04:40:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:45 prd-ubuntu20.04-docker-8c-8g-24030 does not seem to be running inside a container 04:40:45 $ 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-1544 -v /w/workspace/gexfoundry_device-sdk-go_PR-1544:/w/workspace/gexfoundry_device-sdk-go_PR-1544:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:40:45 $ docker top 2dc874c2407fe4b21dd57b5b48fa29b4a9da54cd568aeabe0e50821a9fb4af0a -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1544 [Pipeline] fileExists [Pipeline] sh 04:40:46 + make test 04:40:46 go test -race -coverprofile=coverage.out ./... 04:40:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:41:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:41:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:41:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:41:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:41:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:41:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:41:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:41:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.070s coverage: 27.6% of statements 04:41:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:41:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.057s coverage: 81.5% of statements 04:41:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.058s coverage: 86.0% of statements 04:41:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.064s coverage: 71.8% of statements 04:41:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:41:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:41:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:41:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.049s coverage: 14.4% of statements 04:41:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.203s coverage: 45.9% of statements 04:41:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.060s coverage: 68.5% of statements 04:41:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.106s coverage: 89.2% of statements 04:41:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.041s coverage: 5.5% of statements 04:41:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24031 in /w/workspace/gexfoundry_device-sdk-go_PR-1544 [Pipeline] { [Pipeline] ws 04:41:26 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:41:29 The recommended git tool is: git 04:41:29 GO111MODULE=on go vet ./... 04:41:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:41:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:41:32 ./bin/test-attribution-txt.sh [Pipeline] echo 04:41:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:41:32 $ docker stop --time=1 2dc874c2407fe4b21dd57b5b48fa29b4a9da54cd568aeabe0e50821a9fb4af0a 04:41:35 using credential edgex-jenkins-ssh 04:41:35 Cloning the remote Git repository 04:41:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:41:36 $ docker rm -f --volumes 2dc874c2407fe4b21dd57b5b48fa29b4a9da54cd568aeabe0e50821a9fb4af0a [Pipeline] // withDockerContainer [Pipeline] sh 04:41:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:41:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:41:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:38 + ls -al . 04:41:38 total 308 04:41:38 drwxrwxr-x 11 jenkins jenkins 4096 Dec 5 04:40 . 04:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 04:38 .. 04:41:38 -rw-rw-r-- 1 jenkins jenkins 140 Dec 5 04:39 .dockerignore 04:41:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 04:41 .git 04:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 04:39 .github 04:41:38 -rw-rw-r-- 1 jenkins jenkins 137 Dec 5 04:39 .gitignore 04:41:38 -rw-rw-r-- 1 jenkins jenkins 42 Dec 5 04:39 .golangci.yml 04:41:38 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 04:39 .semver 04:41:38 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 5 04:39 CHANGELOG.md 04:41:38 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 04:39 GOVERNANCE.md 04:41:38 -rw-rw-r-- 1 jenkins jenkins 885 Dec 5 04:39 Jenkinsfile 04:41:38 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 5 04:39 LICENSE 04:41:38 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 5 04:39 Makefile 04:41:38 -rw-rw-r-- 1 jenkins jenkins 619 Dec 5 04:39 OWNERS.md 04:41:38 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 5 04:39 README.md 04:41:38 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 04:39 VERSION 04:41:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 04:39 bin 04:41:38 -rw-r--r-- 1 jenkins jenkins 122153 Dec 5 04:41 coverage.out 04:41:38 drwxrwxr-x 5 jenkins jenkins 4096 Dec 5 04:39 example 04:41:38 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 5 04:39 go.mod 04:41:38 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 5 04:39 go.sum 04:41:38 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 04:39 internal 04:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 04:39 openapi 04:41:38 drwxrwxr-x 6 jenkins jenkins 4096 Dec 5 04:39 pkg 04:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 04:39 snap 04:41:38 -rw-rw-r-- 1 jenkins jenkins 222 Dec 5 04:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:39 + 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=07e7bcb1041842c19a751867c84be56a71416d66 --label arch=amd64 --label version=0.0.0 . 04:41:39 Sending build context to Docker daemon 22.02MB 04:41:39 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:41:39 Step 2/23 : FROM ${BASE} AS builder 04:41:39 ---> b1100611c7fa 04:41:39 Step 3/23 : ARG MAKE=make build 04:41:38 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:41:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:41:38 > git --version # timeout=10 04:41:38 > git --version # 'git version 2.25.1' 04:41:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:41:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:41:39 ---> Running in 9e3f285bba3a 04:41:39 Removing intermediate container 9e3f285bba3a 04:41:39 ---> 02f9fd055780 04:41:39 Step 4/23 : WORKDIR /device-sdk-go 04:41:39 ---> Running in 39bf8c8a32d4 04:41:39 Removing intermediate container 39bf8c8a32d4 04:41:39 ---> 21bf24e1e203 04:41:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:41:39 ---> Running in 0530da810c2a 04:41:39 Removing intermediate container 0530da810c2a 04:41:39 ---> 9e1d34f1ece8 04:41:39 Step 6/23 : RUN apk add --update --no-cache make git 04:41:39 ---> Running in 5b6ef2f5bc48 04:41:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:41:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:41:40 OK: 264 MiB in 52 packages 04:41:40 Removing intermediate container 5b6ef2f5bc48 04:41:40 ---> a97105dda2d7 04:41:40 Step 7/23 : COPY go.mod vendor* ./ 04:41:41 ---> 39064e663dd0 04:41:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:41:41 ---> Running in 3c59b25a7aa6 04:41:41 Removing intermediate container 3c59b25a7aa6 04:41:41 ---> 24265ceef8a1 04:41:41 Step 9/23 : COPY . . 04:41:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:41:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:41:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:41:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:41:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:41:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1544/head:refs/remotes/origin/PR-1544 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:41:42 ---> 163c582c793c 04:41:42 Step 10/23 : RUN ${MAKE} 04:41:42 ---> Running in c4ae27a0199c 04:41:42 Merging remotes/origin/main commit 85278c73853f3bd4b620ac341e15b8756b181622 into PR head commit 07e7bcb1041842c19a751867c84be56a71416d66 04:41:42 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:41:43 Merge succeeded, producing 07e7bcb1041842c19a751867c84be56a71416d66 04:41:43 Checking out Revision 07e7bcb1041842c19a751867c84be56a71416d66 (PR-1544) 04:41:43 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:41:43 > git --version # timeout=10 04:41:43 > git --version # 'git version 2.25.1' 04:41:43 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:41:42 > git config core.sparsecheckout # timeout=10 04:41:42 > git checkout -f 07e7bcb1041842c19a751867c84be56a71416d66 # timeout=10 04:41:42 > git remote # timeout=10 04:41:43 > git config --get remote.origin.url # timeout=10 04:41:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:41:43 > git merge 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 04:41:43 > git rev-parse HEAD^{commit} # timeout=10 04:41:43 > git config core.sparsecheckout # timeout=10 04:41:43 > git checkout -f 07e7bcb1041842c19a751867c84be56a71416d66 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:41:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:41:45 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:45 Dload Upload Total Spent Left Speed 04:41:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86863 0 --:--:-- --:--:-- --:--:-- 86863 [Pipeline] sh 04:41:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:41:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:41:45 + sudo tee /etc/docker/daemon.new 04:41:45 { 04:41:45 "registry-mirrors": [ 04:41:45 "https://nexus3.edgexfoundry.org:10001" 04:41:45 ], 04:41:45 "bip": "10.250.0.254/24", 04:41:45 "hosts": [ 04:41:45 "tcp://0.0.0.0:5555", 04:41:45 "unix:///var/run/docker.sock" 04:41:45 ], 04:41:45 "mtu": 1458, 04:41:45 "selinux-enabled": true, 04:41:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:41:45 } [Pipeline] sh 04:41:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:41:46 + sudo service docker restart 04:42:04 Removing intermediate container c4ae27a0199c 04:42:04 ---> 35420abe191c 04:42:04 Step 11/23 : FROM alpine:3.18 04:42:04 3.18: Pulling from library/alpine 04:42:04 c926b61bad3b: Pulling fs layer 04:42:04 c926b61bad3b: Verifying Checksum 04:42:04 c926b61bad3b: Download complete 04:42:04 c926b61bad3b: Pull complete 04:42:04 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:42:04 Status: Downloaded newer image for alpine:3.18 04:42:04 ---> b541f2080109 04:42:04 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:42:04 ---> Running in f62c8c536348 04:42:04 Removing intermediate container f62c8c536348 04:42:04 ---> 294160ca272a 04:42:04 Step 13/23 : RUN apk add --update --no-cache 04:42:04 ---> Running in a9a6f44b4134 04:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:42:04 OK: 7 MiB in 15 packages 04:42:04 Removing intermediate container a9a6f44b4134 04:42:04 ---> 3db836fda950 04:42:04 Step 14/23 : WORKDIR / 04:42:04 ---> Running in 720b6775f69b 04:42:04 Removing intermediate container 720b6775f69b 04:42:04 ---> 5371952ed79b 04:42:04 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:42:04 ---> c04a3d9f1a4b 04:42:04 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:42:04 ---> 71f9c6a1a256 04:42:04 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:42:04 ---> 60668fbe77e4 04:42:04 Step 18/23 : EXPOSE 59999 04:42:04 ---> Running in ee99c1a8ee55 04:42:04 Removing intermediate container ee99c1a8ee55 04:42:04 ---> f805b76e3e9b 04:42:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:42:04 ---> Running in 2fe3303ad641 04:42:04 Removing intermediate container 2fe3303ad641 04:42:04 ---> c9fe286e4147 04:42:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:42:04 ---> Running in e14d655e85a3 04:42:04 Removing intermediate container e14d655e85a3 04:42:04 ---> 1f359da1d34f 04:42:04 Step 21/23 : LABEL arch=amd64 [Pipeline] withEnv [Pipeline] { 04:42:05 ---> Running in f0060d3575fe 04:42:05 Removing intermediate container f0060d3575fe 04:42:05 ---> 726e54687473 04:42:05 Step 22/23 : LABEL git_sha=07e7bcb1041842c19a751867c84be56a71416d66 04:42:05 ---> Running in c80b160f60b7 04:42:05 Removing intermediate container c80b160f60b7 04:42:05 ---> de4d93337558 04:42:05 Step 23/23 : LABEL version=0.0.0 04:42:05 ---> Running in af14673658c2 04:42:05 Removing intermediate container af14673658c2 04:42:05 ---> b8a1a28e1d4c 04:42:05 [Warning] One or more build-args [ARCH] were not consumed 04:42:05 Successfully built b8a1a28e1d4c 04:42:05 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] configFileProvider 04:42:05 provisioning config files... 04:42:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config67344923698811994tmp [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional 04:42:05 ---> ****-login.sh 04:42:05 nexus3.edgexfoundry.org:10001 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 04:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { 04:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:06 Configure a credential helper to remove this warning. See 04:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:06 04:42:06 Login Succeeded 04:42:06 nexus3.edgexfoundry.org:10002 04:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:06 Configure a credential helper to remove this warning. See 04:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:06 04:42:06 Login Succeeded 04:42:06 nexus3.edgexfoundry.org:10003 04:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:06 04:42:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 04:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:06 Configure a credential helper to remove this warning. See 04:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:06 04:42:06 Login Succeeded 04:42:06 nexus3.edgexfoundry.org:10004 04:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 04:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:07 Configure a credential helper to remove this warning. See 04:42:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:07 04:42:07 Login Succeeded 04:42:07 ****.io 04:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:07 latest: Pulling from edgex-lftools-log-publisher 04:42:07 5eb5b503b376: Pulling fs layer 04:42:07 5c69ac0246d0: Pulling fs layer 04:42:07 ec43610c2a17: Pulling fs layer 04:42:07 3a2ae6a8a46f: Pulling fs layer 04:42:07 33b1e0a273af: Pulling fs layer 04:42:07 5d3b04190fa2: Pulling fs layer 04:42:07 2f39f015ded8: Pulling fs layer 04:42:07 3a2ae6a8a46f: Waiting 04:42:07 5d3b04190fa2: Waiting 04:42:07 2f39f015ded8: Waiting 04:42:07 5c69ac0246d0: Verifying Checksum 04:42:07 5c69ac0246d0: Download complete 04:42:07 3a2ae6a8a46f: Verifying Checksum 04:42:07 3a2ae6a8a46f: Download complete 04:42:07 33b1e0a273af: Verifying Checksum 04:42:07 ec43610c2a17: Verifying Checksum 04:42:07 ec43610c2a17: Download complete 04:42:07 5d3b04190fa2: Verifying Checksum 04:42:07 5d3b04190fa2: Download complete 04:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:07 Configure a credential helper to remove this warning. See 04:42:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:07 04:42:07 Login Succeeded 04:42:07 ---> ****-login.sh ends [Pipeline] } 04:42:07 Deleting 1 temporary files 04:42:07 5eb5b503b376: Verifying Checksum 04:42:07 5eb5b503b376: Download complete [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:42:07 2f39f015ded8: Verifying Checksum 04:42:07 2f39f015ded8: Download complete 04:42:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:42:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:42:08 ========================================================= 04:42:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:42:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:08 5eb5b503b376: Pull complete 04:42:08 5c69ac0246d0: Pull complete 04:42:08 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 04:42:09 ec43610c2a17: Pull complete 04:42:09 3a2ae6a8a46f: Pull complete 04:42:09 33b1e0a273af: Pull complete 04:42:09 5d3b04190fa2: Pull complete 04:42:09 #0 building with "default" instance using docker driver 04:42:09 04:42:09 #1 [internal] load build definition from Dockerfile 04:42:09 #1 transferring dockerfile: 1.54kB done 04:42:09 #1 DONE 0.1s 04:42:09 04:42:09 #2 [internal] load .dockerignore 04:42:09 #2 transferring context: 182B done 04:42:09 #2 DONE 0.1s 04:42:09 04:42:09 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:42:10 #3 DONE 0.1s 04:42:10 04:42:10 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:42:10 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:42:10 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:42:10 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:42:10 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.10MB / 63.99MB 0.2s 04:42:10 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 04:42:10 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 04:42:10 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:42:10 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.55MB / 63.99MB 0.3s 04:42:10 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:42:10 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:42:10 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.4s 04:42:10 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s 04:42:10 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s 04:42:10 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.5s 04:42:10 #4 ... 04:42:10 04:42:10 #5 [internal] load build context 04:42:10 #5 transferring context: 11.13MB 0.6s done 04:42:10 #5 DONE 0.6s 04:42:10 04:42:10 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:42:10 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.7s 04:42:10 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.49MB / 97.63MB 0.7s 04:42:10 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.7s 04:42:10 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.24MB / 63.99MB 0.8s 04:42:10 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 04:42:10 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 04:42:10 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 0.9s 04:42:10 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.92MB / 97.63MB 0.9s 04:42:10 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:42:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 1.0s 04:42:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 1.0s 04:42:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.2s 04:42:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.65MB / 97.63MB 1.2s 04:42:11 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:42:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.48MB / 63.99MB 1.3s 04:42:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 04:42:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 51.38MB / 97.63MB 1.5s 04:42:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 04:42:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 56.62MB / 97.63MB 1.6s 04:42:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 1.7s 04:42:11 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:42:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.45MB / 97.63MB 1.9s 04:42:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.23MB / 97.63MB 2.0s 04:42:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 2.2s 04:42:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.08MB / 97.63MB 2.3s 04:42:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done 04:42:13 2f39f015ded8: Pull complete 04:42:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:13 prd-ubuntu20.04-docker-8c-8g-24030 does not seem to be running inside a container 04:42:13 $ 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-1544 -v /w/workspace/gexfoundry_device-sdk-go_PR-1544:/w/workspace/gexfoundry_device-sdk-go_PR-1544:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1544@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:latest cat 04:42:17 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 04:42:18 $ docker top 0fd36c687a5309cc91fbdeb05bf1c65a6f5d9f4480be9e7fb5ac2269abfe1101 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:18 ---> job-cost.sh 04:42:18 lf-activate-venv: SKIPPING 04:42:18 INFO: No Stack... 04:42:19 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:19 INFO: Archiving Costs [Pipeline] sh 04:42:20 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1544/archives/cost.csv 04:42:20 + cut -d, -f6 [Pipeline] lock 04:42:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1544-1-stack-cost] 04:42:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1544-1-stack-cost] did not exist. Created. 04:42:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1544-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:42:20 + echo total: 0.2199999988079071 [Pipeline] stash 04:42:20 Stashed 1 file(s) [Pipeline] } 04:42:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1544-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:42:20 $ docker stop --time=1 0fd36c687a5309cc91fbdeb05bf1c65a6f5d9f4480be9e7fb5ac2269abfe1101 04:42:22 $ docker rm -f --volumes 0fd36c687a5309cc91fbdeb05bf1c65a6f5d9f4480be9e7fb5ac2269abfe1101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:42:23 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.0s 04:42:29 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done 04:42:30 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:42:30 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:42:30 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:42:35 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 04:42:38 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.5s done 04:42:39 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 04:42:41 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 04:42:41 #4 DONE 30.9s 04:42:41 04:42:41 #6 [builder 2/7] WORKDIR /device-sdk-go 04:42:42 #6 DONE 1.6s 04:42:42 04:42:42 #7 [builder 3/7] RUN apk add --update --no-cache make git 04:42:43 #7 0.678 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:42:43 #7 1.057 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:42:44 #7 2.025 OK: 266 MiB in 52 packages 04:42:44 #7 DONE 2.3s 04:42:44 04:42:44 #8 [builder 4/7] COPY go.mod vendor* ./ 04:42:45 #8 DONE 0.2s 04:42:45 04:42:45 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:11 #9 DONE 23.3s 04:43:11 04:43:11 #10 [builder 6/7] COPY . . 04:43:11 #10 DONE 0.4s 04:43:11 04:43:11 #11 [builder 7/7] RUN echo noop 04:43:11 #11 0.596 noop 04:43:11 #11 DONE 0.7s 04:43:11 04:43:11 #12 exporting to image 04:43:11 #12 exporting layers 04:43:33 #12 exporting layers 24.2s done 04:43:33 #12 writing image sha256:fbeddeedfe8950cb0564dbc98ef3355cdcffcd858d6ce01c5b729ebef83c52c4 done 04:43:33 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 04:43:33 #12 DONE 24.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:34 + docker inspect -f . ci-base-image-arm64 04:43:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:34 prd-ubuntu20.04-docker-arm64-4c-16g-24031 does not seem to be running inside a container 04:43:34 $ 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:43:36 $ docker top d5e82e2fea0b6582541f8e2387d8527c49cfc859661dac921e37c2cdb57b6b95 -eo pid,comm [Pipeline] { [Pipeline] sh 04:43:36 + go version 04:43:36 go version go1.21.0 linux/arm64 [Pipeline] } 04:43:36 $ docker stop --time=1 d5e82e2fea0b6582541f8e2387d8527c49cfc859661dac921e37c2cdb57b6b95 04:43:38 $ docker rm -f --volumes d5e82e2fea0b6582541f8e2387d8527c49cfc859661dac921e37c2cdb57b6b95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:39 + docker inspect -f . ci-base-image-arm64 04:43:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:40 prd-ubuntu20.04-docker-arm64-4c-16g-24031 does not seem to be running inside a container 04:43:40 $ 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:43:41 $ docker top 5be3df5d85ff8323ce4c1c89301adf13f334d9db3e4b8ef48f2dacfbabdb7ad0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:43:41 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:43:42 + make test 04:43:42 go test -race -coverprofile=coverage.out ./... 04:44:14 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:45:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:45:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:45:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:45:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:45:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:45:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:45:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:45:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.194s coverage: 27.6% of statements 04:45:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.303s coverage: 81.5% of statements 04:45:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.350s coverage: 86.0% of statements 04:45:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:45:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.381s coverage: 71.8% of statements 04:45:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:45:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:45:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.261s coverage: 14.4% of statements 04:45:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.888s coverage: 45.9% of statements 04:45:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.427s coverage: 68.5% of statements 04:45:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.478s coverage: 89.2% of statements 04:45:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:45:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.214s coverage: 5.5% of statements 04:45:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:45:30 GO111MODULE=on go vet ./... 04:46:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:46:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:46:38 ./bin/test-attribution-txt.sh [Pipeline] echo 04:46:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:46:38 $ docker stop --time=1 5be3df5d85ff8323ce4c1c89301adf13f334d9db3e4b8ef48f2dacfbabdb7ad0 04:46:40 $ docker rm -f --volumes 5be3df5d85ff8323ce4c1c89301adf13f334d9db3e4b8ef48f2dacfbabdb7ad0 [Pipeline] // withDockerContainer [Pipeline] sh 04:46:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:46:42 Warning: overwriting stash ‘coverage-report’ 04:46:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:46:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:46:44 + ls -al . 04:46:44 total 304 04:46:44 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 04:43 . 04:46:44 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 04:41 .. 04:46:44 -rw-rw-r-- 1 jenkins jenkins 140 Dec 5 04:41 .dockerignore 04:46:44 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 04:41 .git 04:46:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 04:41 .github 04:46:44 -rw-rw-r-- 1 jenkins jenkins 137 Dec 5 04:41 .gitignore 04:46:44 -rw-rw-r-- 1 jenkins jenkins 42 Dec 5 04:41 .golangci.yml 04:46:44 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 5 04:41 CHANGELOG.md 04:46:44 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 04:41 GOVERNANCE.md 04:46:44 -rw-rw-r-- 1 jenkins jenkins 885 Dec 5 04:41 Jenkinsfile 04:46:44 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 5 04:41 LICENSE 04:46:44 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 5 04:41 Makefile 04:46:44 -rw-rw-r-- 1 jenkins jenkins 619 Dec 5 04:41 OWNERS.md 04:46:44 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 5 04:41 README.md 04:46:44 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 04:39 VERSION 04:46:44 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 04:41 bin 04:46:44 -rw-r--r-- 1 jenkins jenkins 122155 Dec 5 04:45 coverage.out 04:46:44 drwxrwxr-x 5 jenkins jenkins 4096 Dec 5 04:41 example 04:46:44 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 5 04:41 go.mod 04:46:44 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 5 04:41 go.sum 04:46:44 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 04:41 internal 04:46:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 04:41 openapi 04:46:44 drwxrwxr-x 6 jenkins jenkins 4096 Dec 5 04:41 pkg 04:46:44 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 04:41 snap 04:46:44 -rw-rw-r-- 1 jenkins jenkins 222 Dec 5 04:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:44 + 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=07e7bcb1041842c19a751867c84be56a71416d66 --label arch=arm64 --label version=0.0.0 . 04:46:45 #0 building with "default" instance using docker driver 04:46:45 04:46:45 #1 [internal] load build definition from Dockerfile 04:46:45 #1 transferring dockerfile: 04:46:45 #1 transferring dockerfile: 1.54kB 0.0s done 04:46:45 #1 DONE 0.0s 04:46:45 04:46:45 #2 [internal] load .dockerignore 04:46:45 #2 transferring context: 182B 0.0s done 04:46:45 #2 DONE 0.0s 04:46:45 04:46:45 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:46:45 #3 DONE 0.0s 04:46:45 04:46:45 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:46:46 #4 DONE 1.0s 04:46:46 04:46:46 #5 [internal] load build context 04:46:46 #5 transferring context: 137.25kB 0.1s done 04:46:46 #5 DONE 0.1s 04:46:46 04:46:46 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:46:46 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:46:46 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:46:46 #6 ... 04:46:46 04:46:46 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:46:46 #7 DONE 0.2s 04:46:46 04:46:46 #8 [builder 2/7] WORKDIR /device-sdk-go 04:46:46 #8 DONE 0.1s 04:46:46 04:46:46 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:46:46 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:46:46 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 04:46:46 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:46:46 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:46:46 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 04:46:47 #6 DONE 0.9s 04:46:47 04:46:47 #9 [stage-1 2/6] RUN apk add --update --no-cache 04:46:47 #9 0.629 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:46:48 #9 0.945 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:46:49 #9 1.981 OK: 8 MiB in 15 packages 04:46:51 #9 DONE 4.7s 04:46:51 04:46:51 #10 [builder 3/7] RUN apk add --update --no-cache make git 04:46:51 #10 0.673 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:46:51 #10 1.124 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:46:51 #10 2.176 OK: 266 MiB in 52 packages 04:46:51 #10 DONE 5.3s 04:46:51 04:46:51 #11 [builder 4/7] COPY go.mod vendor* ./ 04:46:52 #11 DONE 0.1s 04:46:52 04:46:52 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:46:53 #12 DONE 1.2s 04:46:53 04:46:53 #13 [builder 6/7] COPY . . 04:46:53 #13 DONE 0.4s 04:46:53 04:46:53 #14 [builder 7/7] RUN make build 04:46:54 #14 0.583 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:48:02 #14 DONE 60.6s 04:48:02 04:48:02 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:48:02 #15 DONE 0.1s 04:48:02 04:48:02 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:48:02 #16 DONE 0.3s 04:48:02 04:48:02 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:48:02 #17 DONE 0.1s 04:48:02 04:48:02 #18 exporting to image 04:48:02 #18 exporting layers 04:48:02 #18 exporting layers 0.3s done 04:48:02 #18 writing image sha256:b067342742589a454e3a1987da89af23f1d5cd4cb55634aa1150aaa975cd2443 done 04:48:02 #18 naming to docker.io/library/device-sdk-simple-arm64 done 04:48:02 #18 DONE 0.3s [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:48:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:48:03 04:48:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:48:04 arm64: Pulling from edgex-lftools-log-publisher 04:48:04 8998bd30e6a1: Pulling fs layer 04:48:04 04944245beec: Pulling fs layer 04:48:04 699f458cf7ca: Pulling fs layer 04:48:04 765212b225bb: Pulling fs layer 04:48:04 f23df028b6ca: Pulling fs layer 04:48:04 d65c8cfc05b1: Pulling fs layer 04:48:04 765212b225bb: Waiting 04:48:04 2437ff75d9bd: Pulling fs layer 04:48:04 f23df028b6ca: Waiting 04:48:04 d65c8cfc05b1: Waiting 04:48:04 2437ff75d9bd: Waiting 04:48:04 04944245beec: Verifying Checksum 04:48:04 765212b225bb: Verifying Checksum 04:48:04 765212b225bb: Download complete 04:48:04 f23df028b6ca: Download complete 04:48:04 d65c8cfc05b1: Verifying Checksum 04:48:04 d65c8cfc05b1: Download complete 04:48:04 699f458cf7ca: Verifying Checksum 04:48:04 699f458cf7ca: Download complete 04:48:04 8998bd30e6a1: Verifying Checksum 04:48:04 8998bd30e6a1: Download complete 04:48:06 2437ff75d9bd: Verifying Checksum 04:48:06 2437ff75d9bd: Download complete 04:48:11 8998bd30e6a1: Pull complete 04:48:11 04944245beec: Pull complete 04:48:13 699f458cf7ca: Pull complete 04:48:13 765212b225bb: Pull complete 04:48:14 f23df028b6ca: Pull complete 04:48:14 d65c8cfc05b1: Pull complete 04:48:40 2437ff75d9bd: Pull complete 04:48:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:48:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:48:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:41 prd-ubuntu20.04-docker-arm64-4c-16g-24031 does not seem to be running inside a container 04:48:41 $ 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:48:43 $ docker top 3a5d6fbadc27109d5b8c86fb5270d947f667e3feb74e96e6535a2d45ad5c3d2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:43 ---> job-cost.sh 04:48:44 lf-activate-venv: SKIPPING 04:48:44 INFO: No Stack... 04:48:44 INFO: Retrieving Pricing Info for: v3-standard-8 04:48:45 INFO: Archiving Costs [Pipeline] sh 04:48:45 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:48:45 + cut -d, -f6 [Pipeline] lock 04:48:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1544-1-stack-cost] 04:48:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1544-1-stack-cost] did not exist. Created. 04:48:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1544-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:48:46 /w/workspace/device-sdk-go/1@tmp/durable-e5195206/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:48:46 + echo total: 0.2199999988079071 [Pipeline] stash 04:48:46 Warning: overwriting stash ‘stack-cost’ 04:48:46 Stashed 1 file(s) [Pipeline] } 04:48:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1544-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:48:47 $ docker stop --time=1 3a5d6fbadc27109d5b8c86fb5270d947f667e3feb74e96e6535a2d45ad5c3d2d 04:48:48 $ docker rm -f --volumes 3a5d6fbadc27109d5b8c86fb5270d947f667e3feb74e96e6535a2d45ad5c3d2d [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:48:50 provisioning config files... 04:48:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp/config5322218496307241374tmp [Pipeline] { [Pipeline] sh 04:48:50 + set +x 04:48:50 + bash -s -- 04:48:50 + curl -s https://codecov.io/bash 04:48:51 04:48:51 _____ _ 04:48:51 / ____| | | 04:48:51 | | ___ __| | ___ ___ _____ __ 04:48:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:48:51 | |___| (_) | (_| | __/ (_| (_) \ V / 04:48:51 \_____\___/ \__,_|\___|\___\___/ \_/ 04:48:51 Bash-1.0.6 04:48:51 04:48:51 04:48:51 ==> git version 2.25.1 found 04:48:51 ==> 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:48:51 Release-Date: 2020-01-08 04:48:51 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:48:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:48:51 ==> Jenkins CI detected. 04:48:51 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1544 04:48:51 project root: . 04:48:51 --> token set from env 04:48:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:48:51 ==> Running gcov in . (disable via -X gcov) 04:48:51 ==> Python coveragepy not found 04:48:51 ==> Searching for coverage reports in: 04:48:51 + . 04:48:51 -> Found 1 reports 04:48:51 ==> Detecting git/mercurial file structure 04:48:51 ==> Reading reports 04:48:51 + ./coverage.out bytes=122155 04:48:51 ==> Appending adjustments 04:48:51 https://docs.codecov.io/docs/fixing-reports 04:48:51 + Found adjustments 04:48:51 ==> Gzipping contents 04:48:51 20K /tmp/codecov.BEGclh.gz 04:48:51 ==> Uploading reports 04:48:51 url: https://codecov.io 04:48:51 query: branch=PR-1544&commit=07e7bcb1041842c19a751867c84be56a71416d66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1544%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1544&job=&cmd_args= 04:48:51 -> Pinging Codecov 04:48:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1544&commit=07e7bcb1041842c19a751867c84be56a71416d66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1544%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1544&job=&cmd_args= 04:48:51 -> Uploading to 04:48:51 https://storage.googleapis.com/codecov/v4/raw/2023-12-05/7E55EF52A471D76F132DFD9A03CDDE97/07e7bcb1041842c19a751867c84be56a71416d66/b36f22b5-392d-4f49-b875-852ce955affb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231205T044851Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=625ebe582f9945a975b13354449968d6c64e2a4e4b37e1472c0779ec8855a3ca 04:48:51 % Total % Received % Xferd Average Speed Time Time Time Current 04:48:51 Dload Upload Total Spent Left Speed 04:48:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16780 0 0 100 16780 0 62846 --:--:-- --:--:-- --:--:-- 62846 04:48:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/07e7bcb1041842c19a751867c84be56a71416d66 [Pipeline] } 04:48:51 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:48:55 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1544/archives ] 04:48:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1544/archives 04:48:55 total 16 04:48:55 drwxr-xr-x 3 root root 4096 Dec 5 04:42 . 04:48:55 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 04:42 .. 04:48:55 drwxr-xr-x 2 root root 4096 Dec 5 04:42 cost 04:48:55 -rw-r--r-- 1 root root 86 Dec 5 04:42 cost.csv 04:48:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1544/archives 04:48:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1544/archives 04:48:55 total 16 04:48:55 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 04:42 . 04:48:55 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 04:42 .. 04:48:55 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 04:42 cost 04:48:55 -rw-r--r-- 1 jenkins jenkins 86 Dec 5 04:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:48:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:48:56 ---> package-listing.sh 04:48:56 ++ facter osfamily 04:48:56 ++ tr '[:upper:]' '[:lower:]' 04:48:56 + OS_FAMILY=debian 04:48:56 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1544 04:48:56 + START_PACKAGES=/tmp/packages_start.txt 04:48:56 + END_PACKAGES=/tmp/packages_end.txt 04:48:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:48:56 + PACKAGES=/tmp/packages_start.txt 04:48:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1544 ']' 04:48:56 + PACKAGES=/tmp/packages_end.txt 04:48:56 + case "${OS_FAMILY}" in 04:48:56 + dpkg -l 04:48:56 + grep '^ii' 04:48:56 + '[' -f /tmp/packages_start.txt ']' 04:48:56 + '[' -f /tmp/packages_end.txt ']' 04:48:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:48:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1544 ']' 04:48:56 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1544/archives/ 04:48:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1544/archives/ [Pipeline] echo 04:48:56 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-1544/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:48:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:58 prd-ubuntu20.04-docker-8c-8g-24030 does not seem to be running inside a container 04:48:58 $ 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-1544/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-1544 -v /w/workspace/gexfoundry_device-sdk-go_PR-1544:/w/workspace/gexfoundry_device-sdk-go_PR-1544:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1544@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:48:58 $ docker top a84257558d0810e9a8effbe540c0458fa1b74714d091aa377c5a663e5a883153 -eo pid,comm [Pipeline] { [Pipeline] sh 04:48:58 + touch /tmp/pre-build-complete [Pipeline] sh 04:48:59 + mkdir -p /var/log/sysstat [Pipeline] sh 04:48:59 + ls /var/log/sa-host 04:48:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:59 provisioning config files... 04:48:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1544@tmp/config540099715624182617tmp [Pipeline] { [Pipeline] echo 04:48:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:49:00 ---> create-netrc.sh [Pipeline] } 04:49:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:49:00 ---> python-tools-install.sh [Pipeline] echo 04:49:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:49:01 ---> sudo-logs.sh 04:49:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:49:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:49:01 ---> job-cost.sh 04:49:01 lf-activate-venv: SKIPPING 04:49:01 DEBUG: total: 0.2199999988079071 04:49:01 INFO: Retrieving Stack Cost... 04:49:01 INFO: Retrieving Pricing Info for: v3-standard-8 04:49:02 INFO: Archiving Costs [Pipeline] echo 04:49:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:49:02 ---> logs-deploy.sh 04:49:02 lf-activate-venv: SKIPPING 04:49:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1544/1 04:49:02 INFO: archiving workspace using pattern(s): 04:49:03 Archives upload complete. 04:49:03 INFO: archiving logs to Nexus