Pull request #1628 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c48630ffad7173b30f018eacc4191c3b5514c038+224db1e0e192554ed613955b9810071aef8a346e (e32f21d4926ebdc349a32059e3a19f4f80c72f07) 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-ssh936755781948258145.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh16959330813428864219.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-1628/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-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8624919167746618341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh17888758973969579907.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-1628/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-1628/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13610902506752200142.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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-12164’ is offline Running on prd-ubuntu20.04-docker-8c-8g-12170 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [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-1628 # 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/1628/head:refs/remotes/origin/PR-1628 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit c48630ffad7173b30f018eacc4191c3b5514c038 Merge succeeded, producing c48630ffad7173b30f018eacc4191c3b5514c038 Checking out Revision c48630ffad7173b30f018eacc4191c3b5514c038 (PR-1628) > git config core.sparsecheckout # timeout=10 > git checkout -f c48630ffad7173b30f018eacc4191c3b5514c038 # 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 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c48630ffad7173b30f018eacc4191c3b5514c038 # timeout=10 Commit message: "fix: Remove device profile from the cache properly" First time build. Skipping changelog. > git rev-list --no-walk 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:20:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:20:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:20:43 ========================================================= 01:20:43 EdgeX Global Pipelines Version Info 01:20:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:20:43 ------------------- 01:20:43 stable info: 01:20:43 ------------------- 01:20:43 Commited By: Cherry Wang cherry@iotechsys.com 01:20:43 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:20:43 Message: update stable to v1.0.264 01:20:44 ------------------- 01:20:44 experimental info: 01:20:44 ------------------- 01:20:44 Commited By: Cherry Wang cherry@iotechsys.com 01:20:44 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:20:44 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:20:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1628 [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1628 [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1628 [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c48630f [Pipeline] echo 01:20:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:20:45 provisioning config files... 01:20:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config1342136695033636786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:45 ---> ****-login.sh 01:20:45 nexus3.edgexfoundry.org:10001 01:20:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:46 Configure a credential helper to remove this warning. See 01:20:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:46 01:20:46 Login Succeeded 01:20:46 nexus3.edgexfoundry.org:10002 01:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:46 Configure a credential helper to remove this warning. See 01:20:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:46 01:20:46 Login Succeeded 01:20:46 nexus3.edgexfoundry.org:10003 01:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:46 Configure a credential helper to remove this warning. See 01:20:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:46 01:20:46 Login Succeeded 01:20:46 nexus3.edgexfoundry.org:10004 01:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:46 Configure a credential helper to remove this warning. See 01:20:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:46 01:20:46 Login Succeeded 01:20:46 ****.io 01:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:20:46 Configure a credential helper to remove this warning. See 01:20:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:20:46 01:20:46 Login Succeeded 01:20:46 ---> ****-login.sh ends [Pipeline] } 01:20:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:20:47 + git rev-list -1 --merges c48630ffad7173b30f018eacc4191c3b5514c038~1..c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] echo 01:20:47 -----------> git rev-list -1 --merges c48630ffad7173b30f018eacc4191c3b5514c038~1..c48630ffad7173b30f018eacc4191c3b5514c038 c48630ffad7173b30f018eacc4191c3b5514c038 [false] [Pipeline] sh 01:20:47 + git log --format=format:%s -1 c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] echo 01:20:47 ========================================================= 01:20:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:20:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:20:47 + git log --format=format:%s -1 c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] echo 01:20:47 [semverPrep] GIT_COMMIT: c48630ffad7173b30f018eacc4191c3b5514c038, Commit Message: fix: Remove device profile from the cache properly [Pipeline] echo 01:20:47 [semverPrep] This is not a build commit. [Pipeline] sh 01:20:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:20:48 + grep -v github /etc/ssh/ssh_known_hosts 01:20:48 + [ -e /tmp/ssh_known_hosts ] 01:20:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:20:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:20:48 + sudo tee -a /etc/ssh/ssh_known_hosts 01:20:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:48 01:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:48 0.1.4: Pulling from edgex-devops/py-git-semver 01:20:48 b85a868b505f: Pulling fs layer 01:20:48 e2be974225ed: Pulling fs layer 01:20:48 339a4e72a1f5: Pulling fs layer 01:20:48 988bab9f4d93: Pulling fs layer 01:20:48 1469e6f7b9e6: Pulling fs layer 01:20:48 eaf3925da568: Pulling fs layer 01:20:48 bab4dde63d76: Pulling fs layer 01:20:48 bde34c3a00c8: Pulling fs layer 01:20:48 b352a97aabf1: Pulling fs layer 01:20:48 4872d77fe225: Pulling fs layer 01:20:48 5851b861e8e6: Pulling fs layer 01:20:48 eaf3925da568: Waiting 01:20:48 bde34c3a00c8: Waiting 01:20:48 988bab9f4d93: Waiting 01:20:48 1469e6f7b9e6: Waiting 01:20:48 4872d77fe225: Waiting 01:20:48 bab4dde63d76: Waiting 01:20:48 5851b861e8e6: Waiting 01:20:48 e2be974225ed: Download complete 01:20:48 988bab9f4d93: Verifying Checksum 01:20:48 988bab9f4d93: Download complete 01:20:48 1469e6f7b9e6: Verifying Checksum 01:20:48 1469e6f7b9e6: Download complete 01:20:49 eaf3925da568: Verifying Checksum 01:20:49 eaf3925da568: Download complete 01:20:49 339a4e72a1f5: Verifying Checksum 01:20:49 339a4e72a1f5: Download complete 01:20:49 bde34c3a00c8: Verifying Checksum 01:20:49 b352a97aabf1: Download complete 01:20:49 4872d77fe225: Download complete 01:20:49 5851b861e8e6: Verifying Checksum 01:20:49 5851b861e8e6: Download complete 01:20:49 b85a868b505f: Verifying Checksum 01:20:49 b85a868b505f: Download complete 01:20:49 bab4dde63d76: Verifying Checksum 01:20:49 bab4dde63d76: Download complete 01:20:50 b85a868b505f: Pull complete 01:20:50 e2be974225ed: Pull complete 01:20:51 339a4e72a1f5: Pull complete 01:20:51 988bab9f4d93: Pull complete 01:20:51 1469e6f7b9e6: Pull complete 01:20:51 eaf3925da568: Pull complete 01:20:53 bab4dde63d76: Pull complete 01:20:53 bde34c3a00c8: Pull complete 01:20:53 b352a97aabf1: Pull complete 01:20:53 4872d77fe225: Pull complete 01:20:53 5851b861e8e6: Pull complete 01:20:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:20:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:53 prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container 01:20:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@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-devops/py-git-semver:0.1.4 cat 01:20:57 $ docker top 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 -eo pid,comm 01:20:57 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). 01:20:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:20:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:57 [ssh-agent] Looking for ssh-agent implementation... 01:20:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:57 $ docker exec 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 ssh-agent 01:20:57 SSH_AUTH_SOCK=/tmp/ssh-FVOBrEkN15dw/agent.32 01:20:57 SSH_AGENT_PID=38 01:20:57 Running ssh-add (command line suppressed) 01:20:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_6261814888939775771.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_6261814888939775771.key) 01:20:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:58 + git tag --points-at HEAD [Pipeline] } 01:20:58 $ docker exec --env ******** --env ******** 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 ssh-agent -k 01:20:58 unset SSH_AUTH_SOCK; 01:20:58 unset SSH_AGENT_PID; 01:20:58 echo Agent pid 38 killed; 01:20:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:20:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:58 [ssh-agent] Looking for ssh-agent implementation... 01:20:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:58 $ docker exec 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 ssh-agent 01:20:58 SSH_AUTH_SOCK=/tmp/ssh-cPEsD2iHRjNQ/agent.71 01:20:58 SSH_AGENT_PID=77 01:20:58 Running ssh-add (command line suppressed) 01:20:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_3278980345773384478.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_3278980345773384478.key) 01:20:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:59 + git semver init 01:20:59 2024-10-01 01:20:59,377 [run_init] DEBUG init version:0.0.0 force:False 01:20:59 2024-10-01 01:20:59,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver 01:20:59 2024-10-01 01:20:59,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver 01:20:59 2024-10-01 01:20:59,379 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628, universal_newlines=False, shell=None, istream=None) 01:21:01 2024-10-01 01:21:01,368 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.git/info/exclude 01:21:01 2024-10-01 01:21:01,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 with force:False 01:21:01 2024-10-01 01:21:01,369 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 01:21:01 2024-10-01 01:21:01,373 [execute] INFO git cat-file --batch-check 01:21:01 2024-10-01 01:21:01,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) 01:21:01 2024-10-01 01:21:01,379 [execute] INFO git cat-file --batch 01:21:01 2024-10-01 01:21:01,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) 01:21:01 2024-10-01 01:21:01,384 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 01:21:01 0.0.0 [Pipeline] } 01:21:02 $ docker exec --env ******** --env ******** 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 ssh-agent -k 01:21:02 unset SSH_AUTH_SOCK; 01:21:02 unset SSH_AGENT_PID; 01:21:02 echo Agent pid 77 killed; 01:21:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:21:02 + git semver [Pipeline] } 01:21:02 $ docker stop --time=1 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 01:21:04 $ docker rm -f --volumes 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 [Pipeline] // withDockerContainer [Pipeline] sh 01:21:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:21:04 Stashed 1 file(s) [Pipeline] echo 01:21: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 01:21:04 provisioning config files... 01:21:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config15988891865732380815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:21:05 ---> ****-login.sh 01:21:05 nexus3.edgexfoundry.org:10001 01:21:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:21:05 Configure a credential helper to remove this warning. See 01:21:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:21:05 01:21:05 Login Succeeded 01:21:05 nexus3.edgexfoundry.org:10002 01:21:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:21:05 Configure a credential helper to remove this warning. See 01:21:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:21:05 01:21:05 Login Succeeded 01:21:05 nexus3.edgexfoundry.org:10003 01:21:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:21:05 Configure a credential helper to remove this warning. See 01:21:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:21:05 01:21:05 Login Succeeded 01:21:05 nexus3.edgexfoundry.org:10004 01:21:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:21:05 Configure a credential helper to remove this warning. See 01:21:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:21:05 01:21:05 Login Succeeded 01:21:05 ****.io 01:21:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:21:05 Configure a credential helper to remove this warning. See 01:21:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:21:05 01:21:05 Login Succeeded 01:21:05 ---> ****-login.sh ends [Pipeline] } 01:21:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:21:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:21:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:21:05 ========================================================= 01:21:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:21:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:06 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:21:06 Sending build context to Docker daemon 25.34MB 01:21:06 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:21:06 Step 2/10 : FROM ${BASE} AS builder 01:21:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:21:06 619be1103602: Pulling fs layer 01:21:06 7862e08f4a3e: Pulling fs layer 01:21:06 5df492c9dc93: Pulling fs layer 01:21:06 7629e6793208: Pulling fs layer 01:21:06 4f4fb700ef54: Pulling fs layer 01:21:06 fb5054dd5b73: Pulling fs layer 01:21:06 eeca6798cff9: Pulling fs layer 01:21:06 aa269ceb94a6: Pulling fs layer 01:21:06 ada007ff1a6a: Pulling fs layer 01:21:06 7629e6793208: Waiting 01:21:06 4f4fb700ef54: Waiting 01:21:06 fb5054dd5b73: Waiting 01:21:06 eeca6798cff9: Waiting 01:21:06 aa269ceb94a6: Waiting 01:21:06 ada007ff1a6a: Waiting 01:21:06 7862e08f4a3e: Verifying Checksum 01:21:06 7862e08f4a3e: Download complete 01:21:06 7629e6793208: Verifying Checksum 01:21:06 7629e6793208: Download complete 01:21:06 4f4fb700ef54: Verifying Checksum 01:21:06 4f4fb700ef54: Download complete 01:21:06 fb5054dd5b73: Download complete 01:21:06 619be1103602: Verifying Checksum 01:21:06 619be1103602: Download complete 01:21:06 eeca6798cff9: Verifying Checksum 01:21:06 eeca6798cff9: Download complete 01:21:06 619be1103602: Pull complete 01:21:06 ada007ff1a6a: Verifying Checksum 01:21:06 ada007ff1a6a: Download complete 01:21:06 7862e08f4a3e: Pull complete 01:21:06 5df492c9dc93: Verifying Checksum 01:21:06 5df492c9dc93: Download complete 01:21:07 aa269ceb94a6: Verifying Checksum 01:21:07 aa269ceb94a6: Download complete 01:21:10 5df492c9dc93: Pull complete 01:21:10 7629e6793208: Pull complete 01:21:10 4f4fb700ef54: Pull complete 01:21:10 fb5054dd5b73: Pull complete 01:21:10 eeca6798cff9: Pull complete 01:21:13 aa269ceb94a6: Pull complete 01:21:13 ada007ff1a6a: Pull complete 01:21:13 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:21:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:21:13 ---> f489d0715acc 01:21:13 Step 3/10 : ARG MAKE=make build 01:21:19 Still waiting to schedule task 01:21:19 ‘prd-ubuntu20.04-docker-arm64-4c-16g-12168’ is offline 01:21:21 ---> Running in 0561650ceebb 01:21:21 Removing intermediate container 0561650ceebb 01:21:21 ---> 77dfdc4aee06 01:21:21 Step 4/10 : WORKDIR /device-sdk-go 01:21:21 ---> Running in 0b6f1dc3759c 01:21:21 Removing intermediate container 0b6f1dc3759c 01:21:21 ---> 493ff3808195 01:21:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:21:22 ---> Running in 2b5c6f34b717 01:21:22 Removing intermediate container 2b5c6f34b717 01:21:22 ---> 48a46211dc77 01:21:22 Step 6/10 : RUN apk add --update --no-cache make git 01:21:22 ---> Running in 3a5982d0db1d 01:21:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:21:23 OK: 264 MiB in 52 packages 01:21:23 Removing intermediate container 3a5982d0db1d 01:21:23 ---> 6b65e3488bb6 01:21:23 Step 7/10 : COPY go.mod vendor* ./ 01:21:24 ---> 775a83244ce4 01:21:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:21:24 ---> Running in 8dd56750eb8b 01:22:31 Removing intermediate container 8dd56750eb8b 01:22:31 ---> f3f953afe391 01:22:31 Step 9/10 : COPY . . 01:22:31 ---> 648e4a702840 01:22:31 Step 10/10 : RUN ${MAKE} 01:22:31 ---> Running in f928cb9d393b 01:22:31 noop 01:22:31 Removing intermediate container f928cb9d393b 01:22:31 ---> 9824ea923490 01:22:31 Successfully built 9824ea923490 01:22:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:32 + docker inspect -f . ci-base-image-x86_64 01:22:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:32 prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container 01:22:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:22:32 $ docker top ce1902c9e3cd67813c17aa0861b71fa53e9dd42072226c6b677c9a4988d41e3d -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:32 + go version 01:22:32 go version go1.21.9 linux/amd64 [Pipeline] } 01:22:32 $ docker stop --time=1 ce1902c9e3cd67813c17aa0861b71fa53e9dd42072226c6b677c9a4988d41e3d 01:22:34 $ docker rm -f --volumes ce1902c9e3cd67813c17aa0861b71fa53e9dd42072226c6b677c9a4988d41e3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:34 + docker inspect -f . ci-base-image-x86_64 01:22:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:34 prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container 01:22:34 $ 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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:22:35 $ docker top 441fc2f5d1498f14b68b697ce342c78c32d920456daab207830facbccd59a4d8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] fileExists [Pipeline] sh 01:22:35 + make test 01:22:35 go test -race -coverprofile=coverage.out ./... 01:22:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:22:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12171 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] { [Pipeline] ws 01:22:46 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 01:22:49 The recommended git tool is: git 01:22:53 using credential edgex-jenkins-ssh 01:22:53 Cloning the remote Git repository 01:22:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:22:53 > git init /w/workspace/device-sdk-go/2 # timeout=10 01:22:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:22:53 > git --version # timeout=10 01:22:53 > git --version # 'git version 2.25.1' 01:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:22:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:58 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit c48630ffad7173b30f018eacc4191c3b5514c038 01:22:59 Merge succeeded, producing c48630ffad7173b30f018eacc4191c3b5514c038 01:22:59 Checking out Revision c48630ffad7173b30f018eacc4191c3b5514c038 (PR-1628) 01:22:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:22:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:22:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1628/head:refs/remotes/origin/PR-1628 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:22:58 > git config core.sparsecheckout # timeout=10 01:22:58 > git checkout -f c48630ffad7173b30f018eacc4191c3b5514c038 # timeout=10 01:22:59 > git remote # timeout=10 01:22:59 > git config --get remote.origin.url # timeout=10 01:22:59 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:59 > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 01:22:59 > git rev-parse HEAD^{commit} # timeout=10 01:22:59 > git config core.sparsecheckout # timeout=10 01:22:59 > git checkout -f c48630ffad7173b30f018eacc4191c3b5514c038 # timeout=10 01:23:02 Commit message: "fix: Remove device profile from the cache properly" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:23:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:23:05 % Total % Received % Xferd Average Speed Time Time Time Current 01:23:05 Dload Upload Total Spent Left Speed 01:23:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 68234 0 --:--:-- --:--:-- --:--:-- 68234 [Pipeline] sh 01:23:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:23:05 + + sudo tee /etc/docker/daemon.newsudo 01:23:05 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:23:05 { 01:23:05 "registry-mirrors": [ 01:23:05 "https://nexus3.edgexfoundry.org:10001" 01:23:05 ], 01:23:05 "bip": "10.250.0.254/24", 01:23:05 "hosts": [ 01:23:05 "tcp://0.0.0.0:5555", 01:23:05 "unix:///var/run/docker.sock" 01:23:05 ], 01:23:05 "mtu": 1458, 01:23:05 "selinux-enabled": true, 01:23:05 "seccomp-profile": "/etc/docker/seccomp.json" 01:23:05 } [Pipeline] sh 01:23:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:23:06 + sudo service docker restart 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:23:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.027s coverage: 26.0% of statements 01:23:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.036s coverage: 79.4% of statements 01:23:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:23:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:23:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.068s coverage: 45.2% of statements 01:23:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:23:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.1% of statements 01:23:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.325s coverage: 44.6% of statements 01:23:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.5% of statements 01:23:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.099s coverage: 89.2% of statements 01:23:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:23:24 provisioning config files... 01:23:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5733209554516913581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:25 ---> ****-login.sh 01:23:25 nexus3.edgexfoundry.org:10001 01:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:25 Configure a credential helper to remove this warning. See 01:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:25 01:23:25 Login Succeeded 01:23:25 nexus3.edgexfoundry.org:10002 01:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:25 Configure a credential helper to remove this warning. See 01:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:25 01:23:25 Login Succeeded 01:23:26 nexus3.edgexfoundry.org:10003 01:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:26 Configure a credential helper to remove this warning. See 01:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:26 01:23:26 Login Succeeded 01:23:26 nexus3.edgexfoundry.org:10004 01:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:26 Configure a credential helper to remove this warning. See 01:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:26 01:23:26 Login Succeeded 01:23:26 ****.io 01:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:23:27 Configure a credential helper to remove this warning. See 01:23:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:23:27 01:23:27 Login Succeeded 01:23:27 ---> ****-login.sh ends [Pipeline] } 01:23:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:23:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:23:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:23:27 ========================================================= 01:23:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:23:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:27 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:23:28 Sending build context to Docker daemon 13.13MB 01:23:28 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:23:28 Step 2/10 : FROM ${BASE} AS builder 01:23:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:23:28 c6b39de5b339: Pulling fs layer 01:23:28 a69c41024577: Pulling fs layer 01:23:28 d6de4b400683: Pulling fs layer 01:23:28 35cb2a7552d0: Pulling fs layer 01:23:28 4f4fb700ef54: Pulling fs layer 01:23:28 464afbd9ba4c: Pulling fs layer 01:23:28 00f215d4a9da: Pulling fs layer 01:23:28 d496ad576159: Pulling fs layer 01:23:28 35cb2a7552d0: Waiting 01:23:28 4f4fb700ef54: Waiting 01:23:28 00f215d4a9da: Waiting 01:23:28 d496ad576159: Waiting 01:23:28 a69c41024577: Verifying Checksum 01:23:28 a69c41024577: Download complete 01:23:28 35cb2a7552d0: Verifying Checksum 01:23:28 35cb2a7552d0: Download complete 01:23:28 4f4fb700ef54: Verifying Checksum 01:23:28 4f4fb700ef54: Download complete 01:23:28 464afbd9ba4c: Verifying Checksum 01:23:28 464afbd9ba4c: Download complete 01:23:28 c6b39de5b339: Verifying Checksum 01:23:28 c6b39de5b339: Download complete 01:23:29 d496ad576159: Verifying Checksum 01:23:29 d496ad576159: Download complete 01:23:29 c6b39de5b339: Pull complete 01:23:30 a69c41024577: Pull complete 01:23:30 d6de4b400683: Verifying Checksum 01:23:30 d6de4b400683: Download complete 01:23:31 00f215d4a9da: Verifying Checksum 01:23:31 00f215d4a9da: Download complete 01:23:44 d6de4b400683: Pull complete 01:23:44 35cb2a7552d0: Pull complete 01:23:44 4f4fb700ef54: Pull complete 01:23:44 464afbd9ba4c: Pull complete 01:23:44 GO111MODULE=on go vet ./... 01:23:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:23:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:23:47 ./bin/test-attribution-txt.sh [Pipeline] echo 01:23:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:23:47 $ docker stop --time=1 441fc2f5d1498f14b68b697ce342c78c32d920456daab207830facbccd59a4d8 01:23:52 00f215d4a9da: Pull complete 01:23:53 d496ad576159: Pull complete 01:23:53 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:23:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:23:53 ---> f246e2811388 01:23:53 Step 3/10 : ARG MAKE=make build 01:23:54 $ docker rm -f --volumes 441fc2f5d1498f14b68b697ce342c78c32d920456daab207830facbccd59a4d8 [Pipeline] // withDockerContainer [Pipeline] sh 01:23:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:23:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:23:55 ---> Running in d0d118757d23 01:23:55 Removing intermediate container d0d118757d23 01:23:55 ---> f193d8ea2ec4 01:23:55 Step 4/10 : WORKDIR /device-sdk-go 01:23:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:23:55 ---> Running in 81266922051e 01:23:56 + ls -al . 01:23:56 total 384 01:23:56 drwxrwxr-x 11 jenkins jenkins 4096 Oct 1 01:22 . 01:23:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:20 .. 01:23:56 -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 01:20 .dockerignore 01:23:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 01:23 .git 01:23:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:20 .github 01:23:56 -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 01:20 .gitignore 01:23:56 -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 01:20 .golangci.yml 01:23:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 01:21 .semver 01:23:56 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 01:20 CHANGELOG.md 01:23:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 01:20 GOVERNANCE.md 01:23:56 -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 01:20 Jenkinsfile 01:23:56 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 01:20 LICENSE 01:23:56 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 01:20 Makefile 01:23:56 -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 01:20 OWNERS.md 01:23:56 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 01:20 README.md 01:23:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 01:21 VERSION 01:23:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 01:20 bin 01:23:56 -rw-r--r-- 1 jenkins jenkins 128347 Oct 1 01:23 coverage.out 01:23:56 drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 01:20 example 01:23:56 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 1 01:20 go.mod 01:23:56 -rw-rw-r-- 1 jenkins jenkins 101462 Oct 1 01:20 go.sum 01:23:56 drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 01:20 internal 01:23:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:20 openapi 01:23:56 drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 01:20 pkg 01:23:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:20 snap 01:23:56 -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 01:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:56 Removing intermediate container 81266922051e 01:23:56 ---> fa33886a5ed6 01:23:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:23:56 ---> Running in fd986493269c 01:23:56 + 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=c48630ffad7173b30f018eacc4191c3b5514c038 --label arch=amd64 --label version=0.0.0 . 01:23:56 Sending build context to Docker daemon 25.47MB 01:23:56 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 01:23:56 Step 2/24 : FROM ${BASE} AS builder 01:23:56 ---> 9824ea923490 01:23:56 Step 3/24 : ARG MAKE=make build 01:23:56 Removing intermediate container fd986493269c 01:23:56 ---> ced30eaf3599 01:23:56 Step 6/10 : RUN apk add --update --no-cache make git 01:23:56 ---> Running in 416bbb090387 01:23:56 ---> Running in 567fbf15f90f 01:23:57 Removing intermediate container 567fbf15f90f 01:23:57 ---> 28c6cbe730f4 01:23:57 Step 4/24 : WORKDIR /device-sdk-go 01:23:57 ---> Running in 34e82a6071ab 01:23:57 Removing intermediate container 34e82a6071ab 01:23:57 ---> 3756e8c29292 01:23:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:23:57 ---> Running in 74fb77964743 01:23:57 Removing intermediate container 74fb77964743 01:23:57 ---> d30813c9d9c9 01:23:57 Step 6/24 : RUN apk add --update --no-cache make git 01:23:57 ---> Running in ebffc5565d50 01:23:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:23:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:23:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:23:57 OK: 264 MiB in 52 packages 01:23:58 Removing intermediate container ebffc5565d50 01:23:58 ---> 7dbb324afdeb 01:23:58 Step 7/24 : COPY go.mod vendor* ./ 01:23:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:23:58 ---> a7c797f819eb 01:23:58 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:23:58 ---> Running in 9e803749aa7f 01:23:59 Removing intermediate container 9e803749aa7f 01:23:59 ---> 0de256bd8d16 01:23:59 Step 9/24 : COPY . . 01:23:59 OK: 266 MiB in 52 packages 01:23:59 Removing intermediate container 416bbb090387 01:23:59 ---> 3241aca07300 01:23:59 Step 7/10 : COPY go.mod vendor* ./ 01:24:00 ---> e593138f2ee6 01:24:00 Step 10/24 : RUN ${MAKE} 01:24:00 ---> Running in c6468c02a41e 01:24:00 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 01:24:00 ---> 4e83072bcdc9 01:24:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:24:00 ---> Running in bfe5082c5a1a 01:24:32 Removing intermediate container c6468c02a41e 01:24:32 ---> e64d2ce12960 01:24:32 Step 11/24 : FROM alpine:3.18 01:24:32 3.18: Pulling from library/alpine 01:24:32 1cc3d825d8b2: Pulling fs layer 01:24:32 1cc3d825d8b2: Verifying Checksum 01:24:32 1cc3d825d8b2: Download complete 01:24:32 1cc3d825d8b2: Pull complete 01:24:32 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 01:24:32 Status: Downloaded newer image for alpine:3.18 01:24:32 ---> 2c64cf60f6f0 01:24:32 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:24:32 ---> Running in 530dd17edafb 01:24:32 Removing intermediate container 530dd17edafb 01:24:32 ---> 5e0eae80d2ad 01:24:32 Step 13/24 : RUN apk add --update --no-cache dumb-init 01:24:32 ---> Running in 056862b97519 01:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:24:33 (1/1) Installing dumb-init (1.2.5-r2) 01:24:33 Executing busybox-1.36.1-r7.trigger 01:24:33 OK: 7 MiB in 16 packages 01:24:33 Removing intermediate container 056862b97519 01:24:33 ---> 40f36458c4a0 01:24:33 Step 14/24 : RUN apk --no-cache upgrade 01:24:33 ---> Running in ace7ff48134b 01:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:24:34 OK: 7 MiB in 16 packages 01:24:34 Removing intermediate container ace7ff48134b 01:24:34 ---> 09f7b29721ae 01:24:34 Step 15/24 : WORKDIR / 01:24:34 ---> Running in d74c65605ac2 01:24:34 Removing intermediate container d74c65605ac2 01:24:34 ---> 89984e500396 01:24:34 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:24:34 ---> 9a0528fa04df 01:24:34 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:24:36 ---> 172af6dbdab3 01:24:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:24:36 ---> 12f07750dd36 01:24:36 Step 19/24 : EXPOSE 59999 01:24:36 ---> Running in 6078c758027c 01:24:36 Removing intermediate container 6078c758027c 01:24:36 ---> 48afe52c836b 01:24:36 Step 20/24 : ENTRYPOINT ["/device-simple"] 01:24:36 ---> Running in e6c110f628dc 01:24:37 Removing intermediate container e6c110f628dc 01:24:37 ---> 0728d9858eb9 01:24:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:24:37 ---> Running in befe7e5e2974 01:24:37 Removing intermediate container befe7e5e2974 01:24:37 ---> dcdfc5562e54 01:24:37 Step 22/24 : LABEL arch=amd64 01:24:37 ---> Running in 898189ca1734 01:24:37 Removing intermediate container 898189ca1734 01:24:37 ---> ff5e8694cf52 01:24:37 Step 23/24 : LABEL git_sha=c48630ffad7173b30f018eacc4191c3b5514c038 01:24:37 ---> Running in 792b6adc7402 01:24:37 Removing intermediate container 792b6adc7402 01:24:37 ---> fd8af78ed8be 01:24:37 Step 24/24 : LABEL version=0.0.0 01:24:37 ---> Running in f63d26d630c3 01:24:37 Removing intermediate container f63d26d630c3 01:24:37 ---> 3ac079b88b49 01:24:37 [Warning] One or more build-args [ARCH] were not consumed 01:24:37 Successfully built 3ac079b88b49 01:24:37 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] 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 01:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:24:37 01:24:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:24:38 latest: Pulling from edgex-lftools-log-publisher 01:24:38 5eb5b503b376: Pulling fs layer 01:24:38 5c69ac0246d0: Pulling fs layer 01:24:38 ec43610c2a17: Pulling fs layer 01:24:38 3a2ae6a8a46f: Pulling fs layer 01:24:38 33b1e0a273af: Pulling fs layer 01:24:38 5d3b04190fa2: Pulling fs layer 01:24:38 3a2ae6a8a46f: Waiting 01:24:38 33b1e0a273af: Waiting 01:24:38 2f39f015ded8: Pulling fs layer 01:24:38 5d3b04190fa2: Waiting 01:24:38 2f39f015ded8: Waiting 01:24:38 5c69ac0246d0: Download complete 01:24:38 3a2ae6a8a46f: Verifying Checksum 01:24:38 3a2ae6a8a46f: Download complete 01:24:38 33b1e0a273af: Verifying Checksum 01:24:38 33b1e0a273af: Download complete 01:24:38 5d3b04190fa2: Verifying Checksum 01:24:38 5d3b04190fa2: Download complete 01:24:38 ec43610c2a17: Verifying Checksum 01:24:38 ec43610c2a17: Download complete 01:24:38 5eb5b503b376: Verifying Checksum 01:24:38 5eb5b503b376: Download complete 01:24:39 2f39f015ded8: Download complete 01:24:39 5eb5b503b376: Pull complete 01:24:39 5c69ac0246d0: Pull complete 01:24:40 ec43610c2a17: Pull complete 01:24:40 3a2ae6a8a46f: Pull complete 01:24:40 33b1e0a273af: Pull complete 01:24:40 5d3b04190fa2: Pull complete 01:24:44 2f39f015ded8: Pull complete 01:24:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:24:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:24:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:44 prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container 01:24:44 $ 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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:24:50 $ docker top 6ab5e86f96b40d2b3e86bd0382ce0e8315240baafc5dec0a2ce6efbfae5827c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:50 ---> job-cost.sh 01:24:50 lf-activate-venv: SKIPPING 01:24:50 INFO: No Stack... 01:24:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:24:51 INFO: Archiving Costs [Pipeline] sh 01:24:51 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/cost.csv 01:24:51 + cut -d, -f6 [Pipeline] lock 01:24:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] 01:24:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] did not exist. Created. 01:24:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:24:51 + echo total: 0.2199999988079071 [Pipeline] stash 01:24:51 Stashed 1 file(s) [Pipeline] } 01:24:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:24:51 $ docker stop --time=1 6ab5e86f96b40d2b3e86bd0382ce0e8315240baafc5dec0a2ce6efbfae5827c9 01:24:52 $ docker rm -f --volumes 6ab5e86f96b40d2b3e86bd0382ce0e8315240baafc5dec0a2ce6efbfae5827c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:25:52 Removing intermediate container bfe5082c5a1a 01:25:52 ---> f77331da24e8 01:25:52 Step 9/10 : COPY . . 01:25:52 ---> 3be45da665e1 01:25:52 Step 10/10 : RUN ${MAKE} 01:25:52 ---> Running in 4838693ffa2d 01:25:52 noop 01:25:52 Removing intermediate container 4838693ffa2d 01:25:52 ---> b0d7df9d4080 01:25:52 Successfully built b0d7df9d4080 01:25:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:52 + docker inspect -f . ci-base-image-arm64 01:25:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:52 prd-ubuntu20.04-docker-arm64-4c-16g-12171 does not seem to be running inside a container 01:25:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:25:54 $ docker top 8fe53c1ec1121f892057f40e6f9e4f7aaedca784542c11ece4efd3ed32e2ebf6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:55 + go version 01:25:55 go version go1.21.9 linux/arm64 [Pipeline] } 01:25:55 $ docker stop --time=1 8fe53c1ec1121f892057f40e6f9e4f7aaedca784542c11ece4efd3ed32e2ebf6 01:25:56 $ docker rm -f --volumes 8fe53c1ec1121f892057f40e6f9e4f7aaedca784542c11ece4efd3ed32e2ebf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:57 + docker inspect -f . ci-base-image-arm64 01:25:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:57 prd-ubuntu20.04-docker-arm64-4c-16g-12171 does not seem to be running inside a container 01:25:57 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:25:58 $ docker top 41eb1b7415d1d6873f927c4e6e0386c3ab698d45677b4b8f88ddeb0f2aed9e5d -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 01:26:00 + make test 01:26:00 go test -race -coverprofile=coverage.out ./... 01:26:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:30:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:30:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:30:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:30:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:30:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:30:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.109s coverage: 26.0% of statements 01:30:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.160s coverage: 79.4% of statements 01:30:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:30:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:30:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.253s coverage: 86.0% of statements 01:30:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:30:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.429s coverage: 45.2% of statements 01:30:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.172s coverage: 14.1% of statements 01:30:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.923s coverage: 44.6% of statements 01:30:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 01:30:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:30:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:30:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.336s coverage: 68.5% of statements 01:31:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.380s coverage: 89.2% of statements 01:31:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:31:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.262s coverage: 5.3% of statements 01:31:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:31:08 GO111MODULE=on go vet ./... 01:35:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:35:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:35:14 ./bin/test-attribution-txt.sh [Pipeline] echo 01:35:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:35:15 $ docker stop --time=1 41eb1b7415d1d6873f927c4e6e0386c3ab698d45677b4b8f88ddeb0f2aed9e5d 01:35:16 $ docker rm -f --volumes 41eb1b7415d1d6873f927c4e6e0386c3ab698d45677b4b8f88ddeb0f2aed9e5d [Pipeline] // withDockerContainer [Pipeline] sh 01:35:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:35:19 Warning: overwriting stash ‘coverage-report’ 01:35:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:35:20 + ls -al . 01:35:20 total 380 01:35:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 01:26 . 01:35:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:22 .. 01:35:20 -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 01:22 .dockerignore 01:35:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 01:22 .git 01:35:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:22 .github 01:35:20 -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 01:22 .gitignore 01:35:20 -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 01:22 .golangci.yml 01:35:20 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 01:22 CHANGELOG.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 01:22 GOVERNANCE.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 01:22 Jenkinsfile 01:35:20 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 01:22 LICENSE 01:35:20 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 01:22 Makefile 01:35:20 -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 01:22 OWNERS.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 01:22 README.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 01:21 VERSION 01:35:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 01:22 bin 01:35:20 -rw-r--r-- 1 jenkins jenkins 128347 Oct 1 01:31 coverage.out 01:35:20 drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 01:22 example 01:35:20 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 1 01:22 go.mod 01:35:20 -rw-rw-r-- 1 jenkins jenkins 101462 Oct 1 01:22 go.sum 01:35:20 drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 01:22 internal 01:35:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:22 openapi 01:35:20 drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 01:22 pkg 01:35:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:22 snap 01:35:20 -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 01:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:20 + 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=c48630ffad7173b30f018eacc4191c3b5514c038 --label arch=arm64 --label version=0.0.0 . 01:35:21 Sending build context to Docker daemon 13.26MB 01:35:21 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 01:35:21 Step 2/24 : FROM ${BASE} AS builder 01:35:21 ---> b0d7df9d4080 01:35:21 Step 3/24 : ARG MAKE=make build 01:35:21 ---> Running in 4b54a135d6af 01:35:21 Removing intermediate container 4b54a135d6af 01:35:21 ---> a5297a761a79 01:35:21 Step 4/24 : WORKDIR /device-sdk-go 01:35:21 ---> Running in 92250f160cdb 01:35:22 Removing intermediate container 92250f160cdb 01:35:22 ---> 8b8398a23241 01:35:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:35:22 ---> Running in 27370a54d228 01:35:22 Removing intermediate container 27370a54d228 01:35:22 ---> c78cbd2c95fe 01:35:22 Step 6/24 : RUN apk add --update --no-cache make git 01:35:22 ---> Running in 9f31a8ee03b9 01:35:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:35:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:35:25 OK: 266 MiB in 52 packages 01:35:26 Removing intermediate container 9f31a8ee03b9 01:35:26 ---> e66477227e03 01:35:26 Step 7/24 : COPY go.mod vendor* ./ 01:35:26 ---> c63c8cf0a2a8 01:35:26 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:26 ---> Running in 74ef31f1857f 01:35:29 Removing intermediate container 74ef31f1857f 01:35:29 ---> 3ac81e4b01e1 01:35:29 Step 9/24 : COPY . . 01:35:31 ---> 6325433947e8 01:35:31 Step 10/24 : RUN ${MAKE} 01:35:31 ---> Running in 53242094c152 01:35:31 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 01:39:08 Removing intermediate container 53242094c152 01:39:08 ---> 3f555a7ac54c 01:39:08 Step 11/24 : FROM alpine:3.18 01:39:08 3.18: Pulling from library/alpine 01:39:08 720f3032cd11: Pulling fs layer 01:39:08 720f3032cd11: Verifying Checksum 01:39:08 720f3032cd11: Download complete 01:39:08 720f3032cd11: Pull complete 01:39:08 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 01:39:08 Status: Downloaded newer image for alpine:3.18 01:39:08 ---> 3e834921e367 01:39:08 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:39:08 ---> Running in 282614f7f548 01:39:08 Removing intermediate container 282614f7f548 01:39:08 ---> 567de5bcc841 01:39:08 Step 13/24 : RUN apk add --update --no-cache dumb-init 01:39:08 ---> Running in 74cd532a824a 01:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:39:08 (1/1) Installing dumb-init (1.2.5-r2) 01:39:08 Executing busybox-1.36.1-r7.trigger 01:39:08 OK: 8 MiB in 16 packages 01:39:08 Removing intermediate container 74cd532a824a 01:39:08 ---> cce1218c60a0 01:39:08 Step 14/24 : RUN apk --no-cache upgrade 01:39:08 ---> Running in e55ebb2b2997 01:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:39:08 OK: 8 MiB in 16 packages 01:39:08 Removing intermediate container e55ebb2b2997 01:39:08 ---> f70dce75dfe5 01:39:08 Step 15/24 : WORKDIR / 01:39:08 ---> Running in 1a140c5b2fd6 01:39:08 Removing intermediate container 1a140c5b2fd6 01:39:08 ---> fda02f9cec4d 01:39:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:39:08 ---> da82eaecd31e 01:39:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:39:09 ---> a46d1a5c19a9 01:39:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:39:10 ---> 35cfbd97749f 01:39:10 Step 19/24 : EXPOSE 59999 01:39:10 ---> Running in e793b0cc2acd 01:39:11 Removing intermediate container e793b0cc2acd 01:39:11 ---> 253da0ceb654 01:39:11 Step 20/24 : ENTRYPOINT ["/device-simple"] 01:39:11 ---> Running in 391003a2f276 01:39:11 Removing intermediate container 391003a2f276 01:39:11 ---> 4140e2fda2e5 01:39:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:39:11 ---> Running in f77104790212 01:39:11 Removing intermediate container f77104790212 01:39:11 ---> 2a096108131f 01:39:11 Step 22/24 : LABEL arch=arm64 01:39:11 ---> Running in 57c2cb884ae0 01:39:12 Removing intermediate container 57c2cb884ae0 01:39:12 ---> 443eaa6c8981 01:39:12 Step 23/24 : LABEL git_sha=c48630ffad7173b30f018eacc4191c3b5514c038 01:39:12 ---> Running in e678602b65a0 01:39:12 Removing intermediate container e678602b65a0 01:39:12 ---> 470cf72afedb 01:39:12 Step 24/24 : LABEL version=0.0.0 01:39:12 ---> Running in 17a382012ace 01:39:12 Removing intermediate container 17a382012ace 01:39:12 ---> 5b46c130e702 01:39:12 [Warning] One or more build-args [ARCH] were not consumed 01:39:12 Successfully built 5b46c130e702 01:39:12 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 01:39:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:13 01:39:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:13 arm64: Pulling from edgex-lftools-log-publisher 01:39:13 8998bd30e6a1: Pulling fs layer 01:39:13 04944245beec: Pulling fs layer 01:39:13 699f458cf7ca: Pulling fs layer 01:39:13 765212b225bb: Pulling fs layer 01:39:13 f23df028b6ca: Pulling fs layer 01:39:13 d65c8cfc05b1: Pulling fs layer 01:39:13 2437ff75d9bd: Pulling fs layer 01:39:13 765212b225bb: Waiting 01:39:13 f23df028b6ca: Waiting 01:39:13 d65c8cfc05b1: Waiting 01:39:14 04944245beec: Verifying Checksum 01:39:14 04944245beec: Download complete 01:39:14 765212b225bb: Verifying Checksum 01:39:14 765212b225bb: Download complete 01:39:14 f23df028b6ca: Verifying Checksum 01:39:14 f23df028b6ca: Download complete 01:39:14 d65c8cfc05b1: Verifying Checksum 01:39:14 d65c8cfc05b1: Download complete 01:39:14 699f458cf7ca: Verifying Checksum 01:39:14 699f458cf7ca: Download complete 01:39:14 8998bd30e6a1: Verifying Checksum 01:39:14 8998bd30e6a1: Download complete 01:39:17 2437ff75d9bd: Verifying Checksum 01:39:17 2437ff75d9bd: Download complete 01:39:19 8998bd30e6a1: Pull complete 01:39:19 04944245beec: Pull complete 01:39:21 699f458cf7ca: Pull complete 01:39:21 765212b225bb: Pull complete 01:39:22 f23df028b6ca: Pull complete 01:39:22 d65c8cfc05b1: Pull complete 01:39:41 2437ff75d9bd: Pull complete 01:39:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:41 prd-ubuntu20.04-docker-arm64-4c-16g-12171 does not seem to be running inside a container 01:39:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:39:44 $ docker top 92e8f03c5480651f6947cd37b9c6046bb4f9bae7c43ce41fd2d4e9420dd71edc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:44 ---> job-cost.sh 01:39:44 lf-activate-venv: SKIPPING 01:39:44 INFO: No Stack... 01:39:45 INFO: Retrieving Pricing Info for: v3-standard-4 01:39:46 INFO: Archiving Costs [Pipeline] sh 01:39:46 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 01:39:46 + cut -d, -f6 [Pipeline] lock 01:39:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] 01:39:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] did not exist. Created. 01:39:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:39:47 /w/workspace/device-sdk-go/2@tmp/durable-d0bc2950/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:39:48 + echo total: 0.10999999940395355 [Pipeline] stash 01:39:48 Warning: overwriting stash ‘stack-cost’ 01:39:48 Stashed 1 file(s) [Pipeline] } 01:39:48 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:39:48 $ docker stop --time=1 92e8f03c5480651f6947cd37b9c6046bb4f9bae7c43ce41fd2d4e9420dd71edc 01:39:50 $ docker rm -f --volumes 92e8f03c5480651f6947cd37b9c6046bb4f9bae7c43ce41fd2d4e9420dd71edc [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 01:39:50 provisioning config files... 01:39:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config16501419486557074455tmp [Pipeline] { [Pipeline] sh 01:39:50 + set +x 01:39:50 + curl -s https://codecov.io/bash 01:39:50 + bash -s -- 01:39:51 01:39:51 _____ _ 01:39:51 / ____| | | 01:39:51 | | ___ __| | ___ ___ _____ __ 01:39:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:39:51 | |___| (_) | (_| | __/ (_| (_) \ V / 01:39:51 \_____\___/ \__,_|\___|\___\___/ \_/ 01:39:51 Bash-1.0.6 01:39:51 01:39:51 01:39:51 ==> git version 2.25.1 found 01:39:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:39:51 Release-Date: 2020-01-08 01:39:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:39:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:39:51 ==> Jenkins CI detected. 01:39:51 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1628 01:39:51 project root: . 01:39:51 --> token set from env 01:39:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:39:51 ==> Running gcov in . (disable via -X gcov) 01:39:51 ==> Python coveragepy not found 01:39:51 ==> Searching for coverage reports in: 01:39:51 + . 01:39:51 -> Found 1 reports 01:39:51 ==> Detecting git/mercurial file structure 01:39:51 ==> Reading reports 01:39:51 + ./coverage.out bytes=128347 01:39:51 ==> Appending adjustments 01:39:51 https://docs.codecov.io/docs/fixing-reports 01:39:51 + Found adjustments 01:39:51 ==> Gzipping contents 01:39:51 20K /tmp/codecov.VzJxVj.gz 01:39:51 ==> Uploading reports 01:39:51 url: https://codecov.io 01:39:51 query: branch=PR-1628&commit=c48630ffad7173b30f018eacc4191c3b5514c038&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= 01:39:51 -> Pinging Codecov 01:39:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1628&commit=c48630ffad7173b30f018eacc4191c3b5514c038&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= 01:39:51 -> Uploading to 01:39:51 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/c48630ffad7173b30f018eacc4191c3b5514c038/fb0d8cbb-c2a8-4995-b7e8-168aa3abde04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241001%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241001T013951Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2731879b0c2f62066621a95afd48a373b7f59d725728e6f35261a8faa7b5ac45 01:39:51 % Total % Received % Xferd Average Speed Time Time Time Current 01:39:51 Dload Upload Total Spent Left Speed 01:39:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17713 0 0 100 17713 0 70569 --:--:-- --:--:-- --:--:-- 70569 01:39:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] } 01:39:52 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 01:39:52 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives ] 01:39:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives 01:39:52 total 16 01:39:52 drwxr-xr-x 3 root root 4096 Oct 1 01:24 . 01:39:52 drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 01:24 .. 01:39:52 drwxr-xr-x 2 root root 4096 Oct 1 01:24 cost 01:39:52 -rw-r--r-- 1 root root 86 Oct 1 01:24 cost.csv 01:39:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives 01:39:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives 01:39:52 total 16 01:39:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 01:24 . 01:39:52 drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 01:24 .. 01:39:52 drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 01:24 cost 01:39:52 -rw-r--r-- 1 jenkins jenkins 86 Oct 1 01:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:39:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:39:54 ---> package-listing.sh 01:39:54 ++ facter osfamily 01:39:54 ++ tr '[:upper:]' '[:lower:]' 01:39:54 + OS_FAMILY=debian 01:39:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1628 01:39:54 + START_PACKAGES=/tmp/packages_start.txt 01:39:54 + END_PACKAGES=/tmp/packages_end.txt 01:39:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:39:54 + PACKAGES=/tmp/packages_start.txt 01:39:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' 01:39:54 + PACKAGES=/tmp/packages_end.txt 01:39:54 + case "${OS_FAMILY}" in 01:39:54 + dpkg -l 01:39:54 + grep '^ii' 01:39:54 + '[' -f /tmp/packages_start.txt ']' 01:39:54 + '[' -f /tmp/packages_end.txt ']' 01:39:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:39:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' 01:39:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ 01:39:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ [Pipeline] echo 01:39:54 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-1628/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:39:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:55 prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container 01:39:55 $ 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-1628/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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:39:55 $ docker top e3b44ebaeac4fde53a53047d3e37986070554600f757aac921725a2f763fb0a4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:55 + touch /tmp/pre-build-complete [Pipeline] sh 01:39:56 + mkdir -p /var/log/sysstat [Pipeline] sh 01:39:56 + ls /var/log/sa-host 01:39:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:56 provisioning config files... 01:39:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config11299952304599253905tmp [Pipeline] { [Pipeline] echo 01:39:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:39:56 ---> create-netrc.sh [Pipeline] } 01:39:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:39:57 ---> python-tools-install.sh [Pipeline] echo 01:39:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:39:57 ---> sudo-logs.sh 01:39:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:39:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:39:58 ---> job-cost.sh 01:39:58 lf-activate-venv: SKIPPING 01:39:58 DEBUG: total: 0.2199999988079071 01:39:58 INFO: Retrieving Stack Cost... 01:39:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:39:58 INFO: Archiving Costs [Pipeline] echo 01:39:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:39:59 ---> logs-deploy.sh 01:39:59 lf-activate-venv: SKIPPING 01:39:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1628/2 01:39:59 INFO: archiving workspace using pattern(s): 01:40:00 Archives upload complete. 01:40:00 INFO: archiving logs to Nexus