Pull request #1632 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4+e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 (63ade973dc77d6ff6ad41842a7a077fca84303b7) 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-ssh11121266459523853569.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh12654914500305978208.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6558053727741232028.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh17795009347798676575.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15712812839535526046.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.23 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 ‘prd-ubuntu18.04-docker-8c-8g-21828’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21830’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-22032’ is offline ‘prd-ubuntu20.04-docker-8c-8g-22034’ is offline ‘prd-ubuntu20.04-docker-8c-8g-22036’ is offline ‘prd-ubuntu20.04-docker-8c-8g-22038’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-22033’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22040 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [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-1632 # 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/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 into PR head commit 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 Merge succeeded, producing 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 Checking out Revision 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 (PR-1632) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 # 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 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 # timeout=10 > git rev-list --no-walk e4887391fc191a9e394a9397e2a296fee6df83d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:40:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:40:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:40:42 ========================================================= 09:40:42 EdgeX Global Pipelines Version Info 09:40:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:40:43 ------------------- 09:40:43 stable info: 09:40:43 ------------------- 09:40:43 Commited By: Ginny Guan ginny@iotechsys.com 09:40:43 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:40:43 Message: update stable to v1.0.265 09:40:44 ------------------- 09:40:44 experimental info: 09:40:44 ------------------- 09:40:44 Commited By: Cherry Wang cherry@iotechsys.com 09:40:44 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:40:44 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:40:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:40:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1632 [Pipeline] echo 09:40:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1632 [Pipeline] echo 09:40:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1632 [Pipeline] echo 09:40:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] echo 09:40:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e4310b [Pipeline] echo 09:40:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:45 provisioning config files... 09:40:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config7573414843301415601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:45 ---> ****-login.sh 09:40:45 nexus3.edgexfoundry.org:10001 09:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:45 Configure a credential helper to remove this warning. See 09:40:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:45 09:40:45 Login Succeeded 09:40:45 nexus3.edgexfoundry.org:10002 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:46 Configure a credential helper to remove this warning. See 09:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:46 09:40:46 Login Succeeded 09:40:46 nexus3.edgexfoundry.org:10003 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:46 Configure a credential helper to remove this warning. See 09:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:46 09:40:46 Login Succeeded 09:40:46 nexus3.edgexfoundry.org:10004 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:46 Configure a credential helper to remove this warning. See 09:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:46 09:40:46 Login Succeeded 09:40:46 ****.io 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:46 Configure a credential helper to remove this warning. See 09:40:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:46 09:40:46 Login Succeeded 09:40:46 ---> ****-login.sh ends [Pipeline] } 09:40:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:40:46 + git rev-list -1 --merges 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4~1..0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] echo 09:40:46 -----------> git rev-list -1 --merges 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4~1..0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [false] [Pipeline] sh 09:40:47 + git log --format=format:%s -1 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] echo 09:40:47 ========================================================= 09:40:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:40:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:47 + git log --format=format:%s -1 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] echo 09:40:47 [semverPrep] GIT_COMMIT: 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 09:40:47 [semverPrep] This is not a build commit. [Pipeline] sh 09:40:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:40:47 + grep -v github /etc/ssh/ssh_known_hosts 09:40:47 + [ -e /tmp/ssh_known_hosts ] 09:40:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:40:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:40:47 + sudo tee -a /etc/ssh/ssh_known_hosts 09:40:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:48 09:40:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:48 0.1.4: Pulling from edgex-devops/py-git-semver 09:40:48 b85a868b505f: Pulling fs layer 09:40:48 e2be974225ed: Pulling fs layer 09:40:48 339a4e72a1f5: Pulling fs layer 09:40:48 988bab9f4d93: Pulling fs layer 09:40:48 1469e6f7b9e6: Pulling fs layer 09:40:48 eaf3925da568: Pulling fs layer 09:40:48 bab4dde63d76: Pulling fs layer 09:40:48 bde34c3a00c8: Pulling fs layer 09:40:48 b352a97aabf1: Pulling fs layer 09:40:48 4872d77fe225: Pulling fs layer 09:40:48 5851b861e8e6: Pulling fs layer 09:40:48 b352a97aabf1: Waiting 09:40:48 bde34c3a00c8: Waiting 09:40:48 4872d77fe225: Waiting 09:40:48 5851b861e8e6: Waiting 09:40:48 eaf3925da568: Waiting 09:40:48 1469e6f7b9e6: Waiting 09:40:48 bab4dde63d76: Waiting 09:40:48 e2be974225ed: Download complete 09:40:48 988bab9f4d93: Download complete 09:40:48 1469e6f7b9e6: Verifying Checksum 09:40:48 1469e6f7b9e6: Download complete 09:40:48 eaf3925da568: Verifying Checksum 09:40:48 eaf3925da568: Download complete 09:40:48 339a4e72a1f5: Verifying Checksum 09:40:48 339a4e72a1f5: Download complete 09:40:48 bde34c3a00c8: Download complete 09:40:48 b352a97aabf1: Download complete 09:40:48 4872d77fe225: Verifying Checksum 09:40:48 4872d77fe225: Download complete 09:40:48 5851b861e8e6: Verifying Checksum 09:40:48 5851b861e8e6: Download complete 09:40:48 b85a868b505f: Verifying Checksum 09:40:48 b85a868b505f: Download complete 09:40:49 bab4dde63d76: Verifying Checksum 09:40:49 bab4dde63d76: Download complete 09:40:49 b85a868b505f: Pull complete 09:40:49 e2be974225ed: Pull complete 09:40:50 339a4e72a1f5: Pull complete 09:40:50 988bab9f4d93: Pull complete 09:40:50 1469e6f7b9e6: Pull complete 09:40:50 eaf3925da568: Pull complete 09:40:52 bab4dde63d76: Pull complete 09:40:52 bde34c3a00c8: Pull complete 09:40:52 b352a97aabf1: Pull complete 09:40:52 4872d77fe225: Pull complete 09:40:52 5851b861e8e6: Pull complete 09:40:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:52 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 09:40:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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-devops/py-git-semver:0.1.4 cat 09:40:56 $ docker top 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 -eo pid,comm 09:40:56 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). 09:40:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:40:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:56 [ssh-agent] Looking for ssh-agent implementation... 09:40:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:56 $ docker exec 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 ssh-agent 09:40:56 SSH_AUTH_SOCK=/tmp/ssh-glVmJjzKrZP8/agent.33 09:40:56 SSH_AGENT_PID=39 09:40:56 Running ssh-add (command line suppressed) 09:40:57 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_13410292976276261397.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_13410292976276261397.key) 09:40:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:57 + git tag --points-at HEAD [Pipeline] } 09:40:57 $ docker exec --env ******** --env ******** 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 ssh-agent -k 09:40:57 unset SSH_AUTH_SOCK; 09:40:57 unset SSH_AGENT_PID; 09:40:57 echo Agent pid 39 killed; 09:40:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:40:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:57 [ssh-agent] Looking for ssh-agent implementation... 09:40:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:57 $ docker exec 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 ssh-agent 09:40:57 SSH_AUTH_SOCK=/tmp/ssh-YooVnmXkLD0r/agent.73 09:40:57 SSH_AGENT_PID=79 09:40:57 Running ssh-add (command line suppressed) 09:40:57 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_18295019659781943243.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_18295019659781943243.key) 09:40:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:58 + git semver init 09:40:58 2024-10-07 09:40:58,288 [run_init] DEBUG init version:0.0.0 force:False 09:40:58 2024-10-07 09:40:58,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver 09:40:58 2024-10-07 09:40:58,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver 09:40:58 2024-10-07 09:40:58,292 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632, universal_newlines=False, shell=None, istream=None) 09:41:00 2024-10-07 09:41:00,524 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.git/info/exclude 09:41:00 2024-10-07 09:41:00,524 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 with force:False 09:41:00 2024-10-07 09:41:00,524 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 09:41:00 2024-10-07 09:41:00,529 [execute] INFO git cat-file --batch-check 09:41:00 2024-10-07 09:41:00,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) 09:41:00 2024-10-07 09:41:00,536 [execute] INFO git cat-file --batch 09:41:00 2024-10-07 09:41:00,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) 09:41:00 2024-10-07 09:41:00,542 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 09:41:00 0.0.0 [Pipeline] } 09:41:00 $ docker exec --env ******** --env ******** 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 ssh-agent -k 09:41:01 unset SSH_AUTH_SOCK; 09:41:01 unset SSH_AGENT_PID; 09:41:01 echo Agent pid 79 killed; 09:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:41:01 + git semver [Pipeline] } 09:41:01 $ docker stop --time=1 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 09:41:03 $ docker rm -f --volumes 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 [Pipeline] // withDockerContainer [Pipeline] sh 09:41:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:41:04 Stashed 1 file(s) [Pipeline] echo 09:41:04 [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 09:41:04 provisioning config files... 09:41:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config14197751343303408892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:04 ---> ****-login.sh 09:41:04 nexus3.edgexfoundry.org:10001 09:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:04 Configure a credential helper to remove this warning. See 09:41:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:04 09:41:04 Login Succeeded 09:41:04 nexus3.edgexfoundry.org:10002 09:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:04 Configure a credential helper to remove this warning. See 09:41:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:04 09:41:04 Login Succeeded 09:41:04 nexus3.edgexfoundry.org:10003 09:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:04 Configure a credential helper to remove this warning. See 09:41:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:04 09:41:04 Login Succeeded 09:41:04 nexus3.edgexfoundry.org:10004 09:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:04 Configure a credential helper to remove this warning. See 09:41:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:04 09:41:04 Login Succeeded 09:41:04 ****.io 09:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:05 Configure a credential helper to remove this warning. See 09:41:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:05 09:41:05 Login Succeeded 09:41:05 ---> ****-login.sh ends [Pipeline] } 09:41:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:41:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:41:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:41:05 ========================================================= 09:41:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:41:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:05 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 09:41:05 Sending build context to Docker daemon 25.43MB 09:41:05 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:41:05 Step 2/10 : FROM ${BASE} AS builder 09:41:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:41:06 43c4264eed91: Pulling fs layer 09:41:06 4cc291be95ef: Pulling fs layer 09:41:06 2ac1f1163629: Pulling fs layer 09:41:06 5c3c966382ef: Pulling fs layer 09:41:06 4f4fb700ef54: Pulling fs layer 09:41:06 5d5c8e513c77: Pulling fs layer 09:41:06 9f66e0745190: Pulling fs layer 09:41:06 f49a43e4bbc0: Pulling fs layer 09:41:06 561ebcabdf7f: Pulling fs layer 09:41:06 4f4fb700ef54: Waiting 09:41:06 5d5c8e513c77: Waiting 09:41:06 9f66e0745190: Waiting 09:41:06 f49a43e4bbc0: Waiting 09:41:06 561ebcabdf7f: Waiting 09:41:06 5c3c966382ef: Waiting 09:41:06 4cc291be95ef: Download complete 09:41:06 5c3c966382ef: Verifying Checksum 09:41:06 5c3c966382ef: Download complete 09:41:06 4f4fb700ef54: Verifying Checksum 09:41:06 4f4fb700ef54: Download complete 09:41:06 5d5c8e513c77: Download complete 09:41:06 43c4264eed91: Verifying Checksum 09:41:06 43c4264eed91: Download complete 09:41:06 9f66e0745190: Verifying Checksum 09:41:06 9f66e0745190: Download complete 09:41:06 43c4264eed91: Pull complete 09:41:06 561ebcabdf7f: Verifying Checksum 09:41:06 561ebcabdf7f: Download complete 09:41:06 4cc291be95ef: Pull complete 09:41:06 2ac1f1163629: Verifying Checksum 09:41:06 2ac1f1163629: Download complete 09:41:06 f49a43e4bbc0: Verifying Checksum 09:41:06 f49a43e4bbc0: Download complete 09:41:10 2ac1f1163629: Pull complete 09:41:10 5c3c966382ef: Pull complete 09:41:10 4f4fb700ef54: Pull complete 09:41:10 5d5c8e513c77: Pull complete 09:41:10 9f66e0745190: Pull complete 09:41:12 f49a43e4bbc0: Pull complete 09:41:12 561ebcabdf7f: Pull complete 09:41:13 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:41:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:41:13 ---> 3a752c3f9dda 09:41:13 Step 3/10 : ARG MAKE=make build 09:41:19 Still waiting to schedule task 09:41:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:41:19 ---> Running in f5261314a8ce 09:41:19 Removing intermediate container f5261314a8ce 09:41:19 ---> 4bd79d9ee91b 09:41:19 Step 4/10 : WORKDIR /device-sdk-go 09:41:19 ---> Running in 6a878a213817 09:41:19 Removing intermediate container 6a878a213817 09:41:19 ---> e283e312dfa5 09:41:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:41:19 ---> Running in f45c66f0fa71 09:41:19 Removing intermediate container f45c66f0fa71 09:41:19 ---> e82edb12c8d2 09:41:19 Step 6/10 : RUN apk add --update --no-cache make git 09:41:19 ---> Running in 32656856bb37 09:41:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:41:20 OK: 246 MiB in 54 packages 09:41:21 Removing intermediate container 32656856bb37 09:41:21 ---> 81ce8a7d3780 09:41:21 Step 7/10 : COPY go.mod vendor* ./ 09:41:21 ---> a3c3ba37d9f6 09:41:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:21 ---> Running in c6561b9abcf2 09:42:29 Removing intermediate container c6561b9abcf2 09:42:29 ---> 630f9c602730 09:42:29 Step 9/10 : COPY . . 09:42:29 ---> be97779d332a 09:42:29 Step 10/10 : RUN ${MAKE} 09:42:29 ---> Running in 0ebc5e238f9b 09:42:29 noop 09:42:29 Removing intermediate container 0ebc5e238f9b 09:42:29 ---> c5fe2e6f21e7 09:42:29 Successfully built c5fe2e6f21e7 09:42:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:29 + docker inspect -f . ci-base-image-x86_64 09:42:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:29 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 09:42:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:42:30 $ docker top f248df61732d5c10c32231e811763e4a22e5cc96dd1c52c2ac6e3c4bf4021557 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:30 + go version 09:42:30 go version go1.23.2 linux/amd64 [Pipeline] } 09:42:30 $ docker stop --time=1 f248df61732d5c10c32231e811763e4a22e5cc96dd1c52c2ac6e3c4bf4021557 09:42:31 $ docker rm -f --volumes f248df61732d5c10c32231e811763e4a22e5cc96dd1c52c2ac6e3c4bf4021557 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:32 + docker inspect -f . ci-base-image-x86_64 09:42:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:32 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 09:42:32 $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:42:32 $ docker top c165113553153b161c17945381ca17ab75916ac88310bed5a7b71ff59fb80668 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:33 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] fileExists [Pipeline] sh 09:42:33 + make test 09:42:33 go test -race -coverprofile=coverage.out ./... 09:42:41 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:43:08 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 09:43:08 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 09:43:08 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 09:43:08 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 09:43:08 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 09:43:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.026s coverage: 26.0% of statements 09:43:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.041s coverage: 79.4% of statements 09:43:08 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 09:43:08 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 09:43:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements 09:43:09 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 09:43:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:43:10 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 09:43:10 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 09:43:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.107s coverage: 45.2% of statements 09:43:11 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 09:43:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.062s coverage: 14.1% of statements 09:43:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.357s coverage: 44.6% of statements 09:43:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.050s coverage: 68.3% of statements 09:43:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 88.3% of statements 09:43:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.059s coverage: 5.3% of statements 09:43:46 GO111MODULE=on go vet ./... 09:43:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:43:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:43:50 ./bin/test-attribution-txt.sh [Pipeline] echo 09:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:43:50 $ docker stop --time=1 c165113553153b161c17945381ca17ab75916ac88310bed5a7b71ff59fb80668 09:43:56 $ docker rm -f --volumes c165113553153b161c17945381ca17ab75916ac88310bed5a7b71ff59fb80668 [Pipeline] // withDockerContainer [Pipeline] sh 09:43:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:43:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:43:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:43:58 + ls -al . 09:43:58 total 712 09:43:58 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 09:42 . 09:43:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:40 .. 09:43:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:40 .dockerignore 09:43:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:43 .git 09:43:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:40 .github 09:43:58 -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:40 .gitignore 09:43:58 -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:40 .golangci.yml 09:43:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:41 .semver 09:43:58 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:40 CHANGELOG.md 09:43:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:40 GOVERNANCE.md 09:43:58 -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:40 Jenkinsfile 09:43:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:40 LICENSE 09:43:58 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:40 Makefile 09:43:58 -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:40 OWNERS.md 09:43:58 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:40 README.md 09:43:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:41 VERSION 09:43:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:40 bin 09:43:58 -rw-r--r-- 1 jenkins jenkins 466605 Oct 7 09:43 coverage.out 09:43:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:40 example 09:43:58 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:40 go.mod 09:43:58 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:40 go.sum 09:43:58 drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:40 internal 09:43:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:40 openapi 09:43:58 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:40 pkg 09:43:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:40 snap 09:43:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:58 + 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=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 --label arch=amd64 --label version=0.0.0 . 09:43:58 Sending build context to Docker daemon 25.9MB 09:43:58 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:43:58 Step 2/24 : FROM ${BASE} AS builder 09:43:58 ---> c5fe2e6f21e7 09:43:58 Step 3/24 : ARG MAKE=make build 09:43:59 ---> Running in 7ffbbd6fe885 09:43:59 Removing intermediate container 7ffbbd6fe885 09:43:59 ---> 7d39920ae188 09:43:59 Step 4/24 : WORKDIR /device-sdk-go 09:43:59 ---> Running in cf99b5f2d87f 09:43:59 Removing intermediate container cf99b5f2d87f 09:43:59 ---> bc4f05c36053 09:43:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:43:59 ---> Running in 90203af7489c 09:43:59 Removing intermediate container 90203af7489c 09:43:59 ---> c366222fa445 09:43:59 Step 6/24 : RUN apk add --update --no-cache make git 09:43:59 ---> Running in 0f5695613a9f 09:44:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:44:03 OK: 246 MiB in 54 packages 09:44:03 Removing intermediate container 0f5695613a9f 09:44:03 ---> 573f85bfa10b 09:44:03 Step 7/24 : COPY go.mod vendor* ./ 09:44:03 ---> ef0ce2e8ceef 09:44:03 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:04 ---> Running in e6efe1e847d1 09:44:04 Removing intermediate container e6efe1e847d1 09:44:04 ---> bd7d8f56693c 09:44:04 Step 9/24 : COPY . . 09:44:05 ---> 1eb266f80349 09:44:05 Step 10/24 : RUN ${MAKE} 09:44:05 ---> Running in 26c9da780a10 09:44:05 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 09:44:44 Removing intermediate container 26c9da780a10 09:44:44 ---> 0ed8e4969677 09:44:44 Step 11/24 : FROM alpine:3.20 09:44:44 3.20: Pulling from library/alpine 09:44:44 43c4264eed91: Already exists 09:44:44 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:44:44 Status: Downloaded newer image for alpine:3.20 09:44:44 ---> 91ef0af61f39 09:44:44 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:44:44 ---> Running in a537b83ea50c 09:44:44 Removing intermediate container a537b83ea50c 09:44:44 ---> 4bf0a1d277b8 09:44:44 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:44:44 ---> Running in 03429fb9a019 09:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:44:44 (1/1) Installing dumb-init (1.2.5-r3) 09:44:44 Executing busybox-1.36.1-r29.trigger 09:44:44 OK: 8 MiB in 15 packages 09:44:44 Removing intermediate container 03429fb9a019 09:44:44 ---> e0c2876b450a 09:44:44 Step 14/24 : RUN apk --no-cache upgrade 09:44:44 ---> Running in 2af8c980f611 09:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:44:44 Upgrading critical system libraries and apk-tools: 09:44:44 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:44:44 Executing busybox-1.36.1-r29.trigger 09:44:44 Continuing the upgrade transaction with new apk-tools: 09:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:44:44 OK: 8 MiB in 15 packages 09:44:45 Removing intermediate container 2af8c980f611 09:44:45 ---> 62a327d9597e 09:44:45 Step 15/24 : WORKDIR / 09:44:45 ---> Running in d92b4f15246a 09:44:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22043 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] { [Pipeline] ws 09:44:45 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 09:44:45 Removing intermediate container d92b4f15246a 09:44:45 ---> aa2beda7408f 09:44:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:44:45 ---> bdb03cce5295 09:44:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:44:46 ---> 2c78a40d7431 09:44:46 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:44:47 ---> a512087c7316 09:44:47 Step 19/24 : EXPOSE 59999 09:44:47 ---> Running in ebeea3732fa7 09:44:47 Removing intermediate container ebeea3732fa7 09:44:47 ---> 9e448c5bd291 09:44:47 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:44:47 ---> Running in 25ea201cb9bc 09:44:47 Removing intermediate container 25ea201cb9bc 09:44:47 ---> 54954140592b 09:44:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:44:47 ---> Running in f8173166c0c0 09:44:47 Removing intermediate container f8173166c0c0 09:44:47 ---> 6bda1ce31231 09:44:47 Step 22/24 : LABEL arch=amd64 09:44:47 ---> Running in b39ff4872be3 09:44:47 Removing intermediate container b39ff4872be3 09:44:47 ---> 96d754c6bd60 09:44:47 Step 23/24 : LABEL git_sha=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 09:44:47 ---> Running in 7815851221fb 09:44:47 Removing intermediate container 7815851221fb 09:44:47 ---> 8756368f5759 09:44:47 Step 24/24 : LABEL version=0.0.0 09:44:47 ---> Running in 5f0489899d52 09:44:47 Removing intermediate container 5f0489899d52 09:44:47 ---> bd012d64fbe3 09:44:47 [Warning] One or more build-args [ARCH] were not consumed 09:44:47 Successfully built bd012d64fbe3 09:44:47 Successfully tagged device-sdk-simple:latest [Pipeline] } 09:44:48 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:48 09:44:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:49 latest: Pulling from edgex-lftools-log-publisher 09:44:49 5eb5b503b376: Pulling fs layer 09:44:49 5c69ac0246d0: Pulling fs layer 09:44:49 ec43610c2a17: Pulling fs layer 09:44:49 3a2ae6a8a46f: Pulling fs layer 09:44:49 33b1e0a273af: Pulling fs layer 09:44:49 5d3b04190fa2: Pulling fs layer 09:44:49 2f39f015ded8: Pulling fs layer 09:44:49 33b1e0a273af: Waiting 09:44:49 5d3b04190fa2: Waiting 09:44:49 2f39f015ded8: Waiting 09:44:49 3a2ae6a8a46f: Waiting 09:44:49 5c69ac0246d0: Verifying Checksum 09:44:49 5c69ac0246d0: Download complete 09:44:49 3a2ae6a8a46f: Verifying Checksum 09:44:49 3a2ae6a8a46f: Download complete 09:44:49 33b1e0a273af: Verifying Checksum 09:44:49 33b1e0a273af: Download complete 09:44:49 5d3b04190fa2: Verifying Checksum 09:44:49 5d3b04190fa2: Download complete 09:44:49 ec43610c2a17: Verifying Checksum 09:44:49 ec43610c2a17: Download complete 09:44:49 5eb5b503b376: Verifying Checksum 09:44:49 5eb5b503b376: Download complete 09:44:49 2f39f015ded8: Download complete 09:44:50 5eb5b503b376: Pull complete 09:44:50 5c69ac0246d0: Pull complete 09:44:51 ec43610c2a17: Pull complete 09:44:51 3a2ae6a8a46f: Pull complete 09:44:51 33b1e0a273af: Pull complete 09:44:51 5d3b04190fa2: Pull complete 09:44:54 using credential edgex-jenkins-ssh 09:44:54 Cloning the remote Git repository 09:44:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:44:54 > git init /w/workspace/device-sdk-go/4 # timeout=10 09:44:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:44:54 > git --version # timeout=10 09:44:54 > git --version # 'git version 2.25.1' 09:44:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:55 2f39f015ded8: Pull complete 09:44:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:44:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:55 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 09:44:55 $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:44:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:44:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:59 $ docker top bff317b3f28306af0d718fddfec545940371b0533abc400297bde3dad266d192 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:00 Merging remotes/origin/main commit e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 into PR head commit 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 09:44:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:44:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:45:00 > git config core.sparsecheckout # timeout=10 09:45:00 ---> job-cost.sh 09:45:00 lf-activate-venv: SKIPPING 09:45:00 INFO: No Stack... 09:45:00 Merge succeeded, producing 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 09:45:00 Checking out Revision 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 (PR-1632) 09:45:00 INFO: Retrieving Pricing Info for: v3-standard-8 09:45:00 INFO: Archiving Costs [Pipeline] sh 09:45:00 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 09:45:00 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/cost.csv 09:45:00 + cut -d, -f6 [Pipeline] lock 09:45:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] 09:45:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] did not exist. Created. 09:45:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:45:01 + echo total: 0.2199999988079071 [Pipeline] stash 09:45:01 Stashed 1 file(s) [Pipeline] } 09:45:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:45:01 $ docker stop --time=1 bff317b3f28306af0d718fddfec545940371b0533abc400297bde3dad266d192 09:45:00 > git checkout -f 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 # timeout=10 09:45:00 > git remote # timeout=10 09:45:00 > git config --get remote.origin.url # timeout=10 09:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:45:00 > git merge e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 09:45:00 > git rev-parse HEAD^{commit} # timeout=10 09:45:00 > git config core.sparsecheckout # timeout=10 09:45:00 > git checkout -f 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 # timeout=10 09:45:03 $ docker rm -f --volumes bff317b3f28306af0d718fddfec545940371b0533abc400297bde3dad266d192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:45:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:45:05 % Total % Received % Xferd Average Speed Time Time Time Current 09:45:05 Dload Upload Total Spent Left Speed 09:45:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 09:45:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:45:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:45:06 + sudo tee /etc/docker/daemon.new 09:45:06 { 09:45:06 "registry-mirrors": [ 09:45:06 "https://nexus3.edgexfoundry.org:10001" 09:45:06 ], 09:45:06 "bip": "10.250.0.254/24", 09:45:06 "hosts": [ 09:45:06 "tcp://0.0.0.0:5555", 09:45:06 "unix:///var/run/docker.sock" 09:45:06 ], 09:45:06 "mtu": 1458, 09:45:06 "selinux-enabled": true, 09:45:06 "seccomp-profile": "/etc/docker/seccomp.json" 09:45:06 } [Pipeline] sh 09:45:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:45:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:25 provisioning config files... 09:45:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config17551032822547501325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:25 ---> ****-login.sh 09:45:25 nexus3.edgexfoundry.org:10001 09:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:26 Configure a credential helper to remove this warning. See 09:45:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:26 09:45:26 Login Succeeded 09:45:26 nexus3.edgexfoundry.org:10002 09:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:27 Configure a credential helper to remove this warning. See 09:45:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:27 09:45:27 Login Succeeded 09:45:27 nexus3.edgexfoundry.org:10003 09:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:27 Configure a credential helper to remove this warning. See 09:45:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:27 09:45:27 Login Succeeded 09:45:27 nexus3.edgexfoundry.org:10004 09:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:27 Configure a credential helper to remove this warning. See 09:45:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:27 09:45:27 Login Succeeded 09:45:27 ****.io 09:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:28 Configure a credential helper to remove this warning. See 09:45:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:28 09:45:28 Login Succeeded 09:45:28 ---> ****-login.sh ends [Pipeline] } 09:45:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:45:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:45:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:45:28 ========================================================= 09:45:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:45:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:28 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 09:45:29 Sending build context to Docker daemon 13.17MB 09:45:29 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:45:29 Step 2/10 : FROM ${BASE} AS builder 09:45:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:45:29 cf04c63912e1: Pulling fs layer 09:45:29 55b35a11ae5e: Pulling fs layer 09:45:29 a37a00ec5f00: Pulling fs layer 09:45:29 50b3750afda1: Pulling fs layer 09:45:29 4f4fb700ef54: Pulling fs layer 09:45:29 80978eb59214: Pulling fs layer 09:45:29 c9f46d7d2bd2: Pulling fs layer 09:45:29 c5a475d317c9: Pulling fs layer 09:45:29 50b3750afda1: Waiting 09:45:29 4f4fb700ef54: Waiting 09:45:29 c9f46d7d2bd2: Waiting 09:45:29 80978eb59214: Waiting 09:45:29 c5a475d317c9: Waiting 09:45:29 55b35a11ae5e: Verifying Checksum 09:45:29 55b35a11ae5e: Download complete 09:45:29 50b3750afda1: Download complete 09:45:29 4f4fb700ef54: Download complete 09:45:29 80978eb59214: Verifying Checksum 09:45:29 80978eb59214: Download complete 09:45:29 cf04c63912e1: Download complete 09:45:30 c5a475d317c9: Verifying Checksum 09:45:30 c5a475d317c9: Download complete 09:45:31 cf04c63912e1: Pull complete 09:45:31 55b35a11ae5e: Pull complete 09:45:32 a37a00ec5f00: Verifying Checksum 09:45:32 a37a00ec5f00: Download complete 09:45:32 c9f46d7d2bd2: Verifying Checksum 09:45:32 c9f46d7d2bd2: Download complete 09:45:47 a37a00ec5f00: Pull complete 09:45:47 50b3750afda1: Pull complete 09:45:47 4f4fb700ef54: Pull complete 09:45:47 80978eb59214: Pull complete 09:45:53 c9f46d7d2bd2: Pull complete 09:45:55 c5a475d317c9: Pull complete 09:45:55 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:45:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:45:55 ---> be29e6b0f0d4 09:45:55 Step 3/10 : ARG MAKE=make build 09:45:57 ---> Running in 9f0d19592f1e 09:45:57 Removing intermediate container 9f0d19592f1e 09:45:57 ---> 5e315f1cbbf2 09:45:57 Step 4/10 : WORKDIR /device-sdk-go 09:45:57 ---> Running in 25afbe6eafa1 09:45:58 Removing intermediate container 25afbe6eafa1 09:45:58 ---> 3a26ff2e6200 09:45:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:45:58 ---> Running in 062b83b66794 09:46:02 Removing intermediate container 062b83b66794 09:46:02 ---> 689c35bd5684 09:46:02 Step 6/10 : RUN apk add --update --no-cache make git 09:46:02 ---> Running in e91bf481952f 09:46:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:46:04 OK: 238 MiB in 54 packages 09:46:08 Removing intermediate container e91bf481952f 09:46:08 ---> 418996f51d32 09:46:08 Step 7/10 : COPY go.mod vendor* ./ 09:46:08 ---> 1489fe1f4cfb 09:46:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:46:08 ---> Running in 5612e178cfaf 09:48:02 Removing intermediate container 5612e178cfaf 09:48:02 ---> 46aa01511a2a 09:48:02 Step 9/10 : COPY . . 09:48:02 ---> e72d06aebf9a 09:48:02 Step 10/10 : RUN ${MAKE} 09:48:02 ---> Running in 90d96f41a292 09:48:02 noop 09:48:02 Removing intermediate container 90d96f41a292 09:48:02 ---> 81166a1c2921 09:48:02 Successfully built 81166a1c2921 09:48:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:02 + docker inspect -f . ci-base-image-arm64 09:48:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:02 prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container 09:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:48:04 $ docker top a0973bdc8254b2780b44ba3115a01baed38a4daabac25fb6990340e000d2ad86 -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:05 + go version 09:48:05 go version go1.23.2 linux/arm64 [Pipeline] } 09:48:05 $ docker stop --time=1 a0973bdc8254b2780b44ba3115a01baed38a4daabac25fb6990340e000d2ad86 09:48:06 $ docker rm -f --volumes a0973bdc8254b2780b44ba3115a01baed38a4daabac25fb6990340e000d2ad86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:07 + docker inspect -f . ci-base-image-arm64 09:48:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:07 prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container 09:48:07 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:48:09 $ docker top 07e37b0850961be4194486033539a5fc401272ff5a27cd0c5c5d649f6e85c876 -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:09 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 09:48:10 + make test 09:48:10 go test -race -coverprofile=coverage.out ./... 09:49:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:52:43 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 09:52:43 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 09:52:43 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 09:52:43 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 09:52:43 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 09:52:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.155s coverage: 26.0% of statements 09:52:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.188s coverage: 79.4% of statements 09:53:11 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 09:53:11 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 09:53:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.295s coverage: 86.0% of statements 09:53:24 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 09:53:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.605s coverage: 45.2% of statements 09:53:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.269s coverage: 14.1% of statements 09:53:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.383s coverage: 44.6% of statements 09:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:53:31 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 09:53:31 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 09:53:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.386s coverage: 68.3% of statements 09:53:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.361s coverage: 88.3% of statements 09:53:42 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 09:53:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.305s coverage: 5.3% of statements 09:53:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:53:44 GO111MODULE=on go vet ./... 09:57:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:57:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:57:36 ./bin/test-attribution-txt.sh [Pipeline] echo 09:57:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:57:36 $ docker stop --time=1 07e37b0850961be4194486033539a5fc401272ff5a27cd0c5c5d649f6e85c876 09:57:38 $ docker rm -f --volumes 07e37b0850961be4194486033539a5fc401272ff5a27cd0c5c5d649f6e85c876 [Pipeline] // withDockerContainer [Pipeline] sh 09:57:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:57:40 Warning: overwriting stash ‘coverage-report’ 09:57:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:57:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:57:42 + ls -al . 09:57:42 total 708 09:57:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 09:48 . 09:57:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:44 .. 09:57:42 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:45 .dockerignore 09:57:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:45 .git 09:57:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:45 .github 09:57:42 -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:45 .gitignore 09:57:42 -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:45 .golangci.yml 09:57:42 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:45 CHANGELOG.md 09:57:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:45 GOVERNANCE.md 09:57:42 -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:45 Jenkinsfile 09:57:42 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:45 LICENSE 09:57:42 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:45 Makefile 09:57:42 -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:45 OWNERS.md 09:57:42 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:45 README.md 09:57:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:41 VERSION 09:57:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:45 bin 09:57:42 -rw-r--r-- 1 jenkins jenkins 466603 Oct 7 09:53 coverage.out 09:57:42 drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:45 example 09:57:42 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:45 go.mod 09:57:42 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:45 go.sum 09:57:42 drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:45 internal 09:57:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:45 openapi 09:57:42 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:45 pkg 09:57:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:45 snap 09:57:42 -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:42 + 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=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 --label arch=arm64 --label version=0.0.0 . 09:57:43 Sending build context to Docker daemon 13.64MB 09:57:43 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:57:43 Step 2/24 : FROM ${BASE} AS builder 09:57:43 ---> 81166a1c2921 09:57:43 Step 3/24 : ARG MAKE=make build 09:57:43 ---> Running in 88f246a41c8c 09:57:43 Removing intermediate container 88f246a41c8c 09:57:43 ---> 555ba653c0a3 09:57:43 Step 4/24 : WORKDIR /device-sdk-go 09:57:43 ---> Running in 31d5c0b2a834 09:57:44 Removing intermediate container 31d5c0b2a834 09:57:44 ---> e7af9a9259fa 09:57:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:57:44 ---> Running in f44ae85219dd 09:57:44 Removing intermediate container f44ae85219dd 09:57:44 ---> 8169b5479db8 09:57:44 Step 6/24 : RUN apk add --update --no-cache make git 09:57:44 ---> Running in a8629b36d5b1 09:57:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:57:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:57:47 OK: 238 MiB in 54 packages 09:57:48 Removing intermediate container a8629b36d5b1 09:57:48 ---> 61bff5ceff56 09:57:48 Step 7/24 : COPY go.mod vendor* ./ 09:57:49 ---> 9d74fae63bc5 09:57:49 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:57:49 ---> Running in ddc744da546d 09:57:51 Removing intermediate container ddc744da546d 09:57:51 ---> 68d2cbf2993c 09:57:51 Step 9/24 : COPY . . 09:57:53 ---> 55d93754adc9 09:57:53 Step 10/24 : RUN ${MAKE} 09:57:53 ---> Running in b45c79f3c376 09:57:54 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 10:01:46 Removing intermediate container b45c79f3c376 10:01:46 ---> 07ea5ad52e1a 10:01:46 Step 11/24 : FROM alpine:3.20 10:01:46 3.20: Pulling from library/alpine 10:01:46 cf04c63912e1: Already exists 10:01:46 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:01:46 Status: Downloaded newer image for alpine:3.20 10:01:46 ---> c157a85ed455 10:01:46 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:01:46 ---> Running in 674adcdb225a 10:01:46 Removing intermediate container 674adcdb225a 10:01:46 ---> c11dd01aaf02 10:01:46 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:01:46 ---> Running in afdc27427ed3 10:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:01:46 (1/1) Installing dumb-init (1.2.5-r3) 10:01:46 Executing busybox-1.36.1-r29.trigger 10:01:46 OK: 9 MiB in 15 packages 10:01:46 Removing intermediate container afdc27427ed3 10:01:46 ---> a210e2fe8f14 10:01:46 Step 14/24 : RUN apk --no-cache upgrade 10:01:46 ---> Running in c5c235a857ba 10:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:01:49 Upgrading critical system libraries and apk-tools: 10:01:49 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:01:49 Executing busybox-1.36.1-r29.trigger 10:01:49 Continuing the upgrade transaction with new apk-tools: 10:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:01:51 OK: 9 MiB in 15 packages 10:01:51 Removing intermediate container c5c235a857ba 10:01:51 ---> bcfebf0423ab 10:01:51 Step 15/24 : WORKDIR / 10:01:51 ---> Running in 26dbd3320962 10:01:52 Removing intermediate container 26dbd3320962 10:01:52 ---> b12081c7b796 10:01:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:01:52 ---> 47409302b025 10:01:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:01:54 ---> 6101c26bf151 10:01:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:01:55 ---> 7c3a6fbba715 10:01:55 Step 19/24 : EXPOSE 59999 10:01:55 ---> Running in 7ef03edc7fe5 10:01:55 Removing intermediate container 7ef03edc7fe5 10:01:55 ---> dc4362cbe083 10:01:55 Step 20/24 : ENTRYPOINT ["/device-simple"] 10:01:55 ---> Running in d3182148491f 10:01:55 Removing intermediate container d3182148491f 10:01:55 ---> fdc6e907e18a 10:01:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:01:55 ---> Running in 177b610ad48a 10:01:56 Removing intermediate container 177b610ad48a 10:01:56 ---> c7a83ce492af 10:01:56 Step 22/24 : LABEL arch=arm64 10:01:56 ---> Running in b2a622a7f793 10:01:56 Removing intermediate container b2a622a7f793 10:01:56 ---> 2d8cfeb0f12f 10:01:56 Step 23/24 : LABEL git_sha=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 10:01:56 ---> Running in 531b9677b3ff 10:01:56 Removing intermediate container 531b9677b3ff 10:01:56 ---> 25ba2c36e2cf 10:01:56 Step 24/24 : LABEL version=0.0.0 10:01:56 ---> Running in 2f32cbedbd3b 10:01:57 Removing intermediate container 2f32cbedbd3b 10:01:57 ---> e6189484adf3 10:01:57 [Warning] One or more build-args [ARCH] were not consumed 10:01:57 Successfully built e6189484adf3 10:01:57 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:01:58 10:01:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:01:58 arm64: Pulling from edgex-lftools-log-publisher 10:01:58 8998bd30e6a1: Pulling fs layer 10:01:58 04944245beec: Pulling fs layer 10:01:58 699f458cf7ca: Pulling fs layer 10:01:58 765212b225bb: Pulling fs layer 10:01:58 f23df028b6ca: Pulling fs layer 10:01:58 d65c8cfc05b1: Pulling fs layer 10:01:58 2437ff75d9bd: Pulling fs layer 10:01:58 f23df028b6ca: Waiting 10:01:58 d65c8cfc05b1: Waiting 10:01:58 2437ff75d9bd: Waiting 10:01:58 765212b225bb: Waiting 10:01:58 04944245beec: Verifying Checksum 10:01:58 04944245beec: Download complete 10:01:58 765212b225bb: Verifying Checksum 10:01:58 765212b225bb: Download complete 10:01:58 f23df028b6ca: Download complete 10:01:58 d65c8cfc05b1: Verifying Checksum 10:01:58 d65c8cfc05b1: Download complete 10:01:58 699f458cf7ca: Verifying Checksum 10:01:58 699f458cf7ca: Download complete 10:01:59 8998bd30e6a1: Verifying Checksum 10:01:59 8998bd30e6a1: Download complete 10:02:01 2437ff75d9bd: Verifying Checksum 10:02:01 2437ff75d9bd: Download complete 10:02:04 8998bd30e6a1: Pull complete 10:02:04 04944245beec: Pull complete 10:02:06 699f458cf7ca: Pull complete 10:02:06 765212b225bb: Pull complete 10:02:07 f23df028b6ca: Pull complete 10:02:07 d65c8cfc05b1: Pull complete 10:02:25 2437ff75d9bd: Pull complete 10:02:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:02:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:02:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:26 prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container 10:02:26 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:02:29 $ docker top e21f288451964719eb429629f41da47f9ae8805c0969d778c8782a75219fdd9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:29 ---> job-cost.sh 10:02:29 lf-activate-venv: SKIPPING 10:02:29 INFO: No Stack... 10:02:30 INFO: Retrieving Pricing Info for: v3-standard-4 10:02:31 INFO: Archiving Costs [Pipeline] sh 10:02:32 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 10:02:32 + cut -d, -f6 [Pipeline] lock 10:02:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] 10:02:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] did not exist. Created. 10:02:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:32 /w/workspace/device-sdk-go/4@tmp/durable-d76a1b1d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:02:33 + echo total: 0.10999999940395355 [Pipeline] stash 10:02:33 Warning: overwriting stash ‘stack-cost’ 10:02:33 Stashed 1 file(s) [Pipeline] } 10:02:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [Pipeline] // lock [Pipeline] } 10:02:33 $ docker stop --time=1 e21f288451964719eb429629f41da47f9ae8805c0969d778c8782a75219fdd9a 10:02:35 $ docker rm -f --volumes e21f288451964719eb429629f41da47f9ae8805c0969d778c8782a75219fdd9a [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 10:02:35 provisioning config files... 10:02:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config7200435733497832596tmp [Pipeline] { [Pipeline] sh 10:02:36 + set +x 10:02:36 + curl -s https://codecov.io/bash 10:02:36 + bash -s -- 10:02:36 10:02:36 _____ _ 10:02:36 / ____| | | 10:02:36 | | ___ __| | ___ ___ _____ __ 10:02:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:02:36 | |___| (_) | (_| | __/ (_| (_) \ V / 10:02:36 \_____\___/ \__,_|\___|\___\___/ \_/ 10:02:36 Bash-1.0.6 10:02:36 10:02:36 10:02:36 ==> git version 2.25.1 found 10:02:36 ==> 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 10:02:36 Release-Date: 2020-01-08 10:02:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:02:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:02:36 ==> Jenkins CI detected. 10:02:36 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1632 10:02:36 project root: . 10:02:36 --> token set from env 10:02:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:02:36 ==> Running gcov in . (disable via -X gcov) 10:02:36 ==> Python coveragepy not found 10:02:36 ==> Searching for coverage reports in: 10:02:36 + . 10:02:36 -> Found 1 reports 10:02:36 ==> Detecting git/mercurial file structure 10:02:36 ==> Reading reports 10:02:36 + ./coverage.out bytes=466603 10:02:36 ==> Appending adjustments 10:02:36 https://docs.codecov.io/docs/fixing-reports 10:02:36 + Found adjustments 10:02:36 ==> Gzipping contents 10:02:36 44K /tmp/codecov.1VY3yX.gz 10:02:36 ==> Uploading reports 10:02:36 url: https://codecov.io 10:02:36 query: branch=PR-1632&commit=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= 10:02:36 -> Pinging Codecov 10:02:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1632&commit=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= 10:02:36 -> Uploading to 10:02:36 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4/c4ff4c94-dab4-4321-a8a8-1deec04eb8ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T100236Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e49718c31206542469b02d995c7f77426fcdb21337903c96a41a4ed439bf77cb 10:02:36 % Total % Received % Xferd Average Speed Time Time Time Current 10:02:36 Dload Upload Total Spent Left Speed 10:02:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44606 0 0 100 44606 0 174k --:--:-- --:--:-- --:--:-- 173k 100 44606 0 0 100 44606 0 174k --:--:-- --:--:-- --:--:-- 173k 10:02:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] } 10:02:36 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:02:37 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives ] 10:02:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 10:02:37 total 16 10:02:37 drwxr-xr-x 3 root root 4096 Oct 7 09:45 . 10:02:37 drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 09:45 .. 10:02:37 drwxr-xr-x 2 root root 4096 Oct 7 09:45 cost 10:02:37 -rw-r--r-- 1 root root 86 Oct 7 09:45 cost.csv 10:02:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 10:02:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 10:02:37 total 16 10:02:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:45 . 10:02:37 drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 09:45 .. 10:02:37 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 09:45 cost 10:02:37 -rw-r--r-- 1 jenkins jenkins 86 Oct 7 09:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:02:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:02:39 ---> package-listing.sh 10:02:39 ++ facter osfamily 10:02:39 ++ tr '[:upper:]' '[:lower:]' 10:02:39 + OS_FAMILY=debian 10:02:39 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1632 10:02:39 + START_PACKAGES=/tmp/packages_start.txt 10:02:39 + END_PACKAGES=/tmp/packages_end.txt 10:02:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:02:39 + PACKAGES=/tmp/packages_start.txt 10:02:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' 10:02:39 + PACKAGES=/tmp/packages_end.txt 10:02:39 + case "${OS_FAMILY}" in 10:02:39 + dpkg -l 10:02:39 + grep '^ii' 10:02:39 + '[' -f /tmp/packages_start.txt ']' 10:02:39 + '[' -f /tmp/packages_end.txt ']' 10:02:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:02:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' 10:02:39 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ 10:02:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [Pipeline] echo 10:02:39 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-1632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:02:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:40 prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container 10:02:40 $ 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-1632/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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:02:41 $ docker top 6564e1cedb9eeac2675b3627dc820efa9c42ae89a12532b91cc2e60da678d8b9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:42 + touch /tmp/pre-build-complete [Pipeline] sh 10:02:42 + mkdir -p /var/log/sysstat [Pipeline] sh 10:02:42 + ls /var/log/sa-host 10:02:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:42 provisioning config files... 10:02:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config9473286892368661170tmp [Pipeline] { [Pipeline] echo 10:02:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:02:43 ---> create-netrc.sh [Pipeline] } 10:02:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:02:43 ---> python-tools-install.sh [Pipeline] echo 10:02:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:02:43 ---> sudo-logs.sh 10:02:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:02:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:02:44 ---> job-cost.sh 10:02:44 lf-activate-venv: SKIPPING 10:02:44 DEBUG: total: 0.2199999988079071 10:02:44 INFO: Retrieving Stack Cost... 10:02:44 INFO: Retrieving Pricing Info for: v3-standard-8 10:02:44 INFO: Archiving Costs [Pipeline] echo 10:02:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:02:45 ---> logs-deploy.sh 10:02:45 lf-activate-venv: SKIPPING 10:02:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1632/4 10:02:45 INFO: archiving workspace using pattern(s): 10:02:46 Archives upload complete. 10:02:46 INFO: archiving logs to Nexus