Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e7d219c81bb1a39276e759e1bfbf54ad13c5976a+1e80e475b0e97679140bd79592a828cf1f53df47 (360c759dcb42d0d99e8a800702110f819e93b68b) 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-ssh3350930050204747372.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9700067943210993852.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1640/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-1640/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11246336327258148801.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5223707521929502339.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-1640/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-1640/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14505618377028578065.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]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23538 in /w/workspace/gexfoundry_device-sdk-go_PR-1640 [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-1640 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1e80e475b0e97679140bd79592a828cf1f53df47 into PR head commit e7d219c81bb1a39276e759e1bfbf54ad13c5976a Merge succeeded, producing 917cfc341c17128e17f1974807d3be2cb615ad82 Checking out Revision 917cfc341c17128e17f1974807d3be2cb615ad82 (PR-1640) > 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/1640/head:refs/remotes/origin/PR-1640 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e7d219c81bb1a39276e759e1bfbf54ad13c5976a # 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 1e80e475b0e97679140bd79592a828cf1f53df47 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 917cfc341c17128e17f1974807d3be2cb615ad82 # timeout=10 Commit message: "Merge commit '1e80e475b0e97679140bd79592a828cf1f53df47' into HEAD" > git rev-list --no-walk e7d219c81bb1a39276e759e1bfbf54ad13c5976a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:25 ========================================================= 18:42:25 EdgeX Global Pipelines Version Info 18:42:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:26 ------------------- 18:42:26 stable info: 18:42:26 ------------------- 18:42:26 Commited By: Ginny Guan ginny@iotechsys.com 18:42:26 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 18:42:26 Message: update stable to v1.0.265 18:42:26 ------------------- 18:42:26 experimental info: 18:42:26 ------------------- 18:42:26 Commited By: Cherry Wang cherry@iotechsys.com 18:42:26 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 18:42:26 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1640 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1640 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1640 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 917cfc3 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:27 provisioning config files... 18:42:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/config10911174833781331919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:27 ---> ****-login.sh 18:42:27 nexus3.edgexfoundry.org:10001 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10002 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10003 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10004 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 ****.io 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 ---> ****-login.sh ends [Pipeline] } 18:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:29 + git rev-list -1 --merges 917cfc341c17128e17f1974807d3be2cb615ad82~1..917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] echo 18:42:29 -----------> git rev-list -1 --merges 917cfc341c17128e17f1974807d3be2cb615ad82~1..917cfc341c17128e17f1974807d3be2cb615ad82 917cfc341c17128e17f1974807d3be2cb615ad82 18:42:29 917cfc341c17128e17f1974807d3be2cb615ad82 [false] [Pipeline] sh 18:42:29 + git log --format=format:%s -1 917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] echo 18:42:29 ========================================================= 18:42:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:30 + git log --format=format:%s -1 917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] echo 18:42:30 [semverPrep] GIT_COMMIT: 917cfc341c17128e17f1974807d3be2cb615ad82, Commit Message: Merge commit '1e80e475b0e97679140bd79592a828cf1f53df47' into HEAD [Pipeline] echo 18:42:30 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:30 + grep -v github /etc/ssh/ssh_known_hosts 18:42:30 + [ -e /tmp/ssh_known_hosts ] 18:42:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:30 + sudo tee -a /etc/ssh/ssh_known_hosts 18:42:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:30 18:42:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:31 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:31 b85a868b505f: Pulling fs layer 18:42:31 e2be974225ed: Pulling fs layer 18:42:31 339a4e72a1f5: Pulling fs layer 18:42:31 988bab9f4d93: Pulling fs layer 18:42:31 1469e6f7b9e6: Pulling fs layer 18:42:31 eaf3925da568: Pulling fs layer 18:42:31 bab4dde63d76: Pulling fs layer 18:42:31 bde34c3a00c8: Pulling fs layer 18:42:31 b352a97aabf1: Pulling fs layer 18:42:31 4872d77fe225: Pulling fs layer 18:42:31 5851b861e8e6: Pulling fs layer 18:42:31 988bab9f4d93: Waiting 18:42:31 1469e6f7b9e6: Waiting 18:42:31 b352a97aabf1: Waiting 18:42:31 4872d77fe225: Waiting 18:42:31 eaf3925da568: Waiting 18:42:31 5851b861e8e6: Waiting 18:42:31 bab4dde63d76: Waiting 18:42:31 bde34c3a00c8: Waiting 18:42:31 e2be974225ed: Download complete 18:42:31 988bab9f4d93: Verifying Checksum 18:42:31 988bab9f4d93: Download complete 18:42:31 1469e6f7b9e6: Verifying Checksum 18:42:31 1469e6f7b9e6: Download complete 18:42:31 339a4e72a1f5: Verifying Checksum 18:42:31 339a4e72a1f5: Download complete 18:42:31 eaf3925da568: Download complete 18:42:31 bde34c3a00c8: Verifying Checksum 18:42:31 bde34c3a00c8: Download complete 18:42:31 b352a97aabf1: Download complete 18:42:31 4872d77fe225: Verifying Checksum 18:42:31 4872d77fe225: Download complete 18:42:31 5851b861e8e6: Verifying Checksum 18:42:31 5851b861e8e6: Download complete 18:42:31 b85a868b505f: Download complete 18:42:31 bab4dde63d76: Verifying Checksum 18:42:31 bab4dde63d76: Download complete 18:42:32 b85a868b505f: Pull complete 18:42:32 e2be974225ed: Pull complete 18:42:33 339a4e72a1f5: Pull complete 18:42:33 988bab9f4d93: Pull complete 18:42:33 1469e6f7b9e6: Pull complete 18:42:33 eaf3925da568: Pull complete 18:42:35 bab4dde63d76: Pull complete 18:42:35 bde34c3a00c8: Pull complete 18:42:35 b352a97aabf1: Pull complete 18:42:35 4872d77fe225: Pull complete 18:42:35 5851b861e8e6: Pull complete 18:42:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:35 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 18:42:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:42:41 $ docker top 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b -eo pid,comm 18:42:41 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). 18:42:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:41 [ssh-agent] Looking for ssh-agent implementation... 18:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:42 $ docker exec 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b ssh-agent 18:42:42 SSH_AUTH_SOCK=/tmp/ssh-4VK6tkoLI7ny/agent.32 18:42:42 SSH_AGENT_PID=38 18:42:42 Running ssh-add (command line suppressed) 18:42:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/private_key_3166602011455944097.key (/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/private_key_3166602011455944097.key) 18:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:42 + git tag --points-at HEAD [Pipeline] } 18:42:42 $ docker exec --env ******** --env ******** 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b ssh-agent -k 18:42:42 unset SSH_AUTH_SOCK; 18:42:42 unset SSH_AGENT_PID; 18:42:42 echo Agent pid 38 killed; 18:42:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:42 [ssh-agent] Looking for ssh-agent implementation... 18:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:42 $ docker exec 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b ssh-agent 18:42:42 SSH_AUTH_SOCK=/tmp/ssh-IAc3EpZqcOfr/agent.71 18:42:42 SSH_AGENT_PID=77 18:42:42 Running ssh-add (command line suppressed) 18:42:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/private_key_1880764422417578491.key (/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/private_key_1880764422417578491.key) 18:42:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:43 + git semver init 18:42:43 2024-10-22 18:42:43,500 [run_init] DEBUG init version:0.0.0 force:False 18:42:43 2024-10-22 18:42:43,501 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver 18:42:43 2024-10-22 18:42:43,501 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver 18:42:43 2024-10-22 18:42:43,501 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1640, universal_newlines=False, shell=None, istream=None) 18:42:46 2024-10-22 18:42:46,857 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640/.git/info/exclude 18:42:46 2024-10-22 18:42:46,858 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver/PR-1640 with force:False 18:42:46 2024-10-22 18:42:46,858 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver/PR-1640 18:42:46 2024-10-22 18:42:46,862 [execute] INFO git cat-file --batch-check 18:42:46 2024-10-22 18:42:46,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver, universal_newlines=False, shell=None, istream=) 18:42:46 2024-10-22 18:42:46,867 [execute] INFO git cat-file --batch 18:42:46 2024-10-22 18:42:46,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver, universal_newlines=False, shell=None, istream=) 18:42:46 2024-10-22 18:42:46,871 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver/PR-1640 18:42:46 0.0.0 [Pipeline] } 18:42:46 $ docker exec --env ******** --env ******** 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b ssh-agent -k 18:42:47 unset SSH_AUTH_SOCK; 18:42:47 unset SSH_AGENT_PID; 18:42:47 echo Agent pid 77 killed; 18:42:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:47 + git semver [Pipeline] } 18:42:47 $ docker stop --time=1 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b 18:42:48 $ docker rm -f --volumes 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b [Pipeline] // withDockerContainer [Pipeline] sh 18:42:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:49 Stashed 1 file(s) [Pipeline] echo 18:42:49 [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 18:42:49 provisioning config files... 18:42:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/config15725686645606615604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:50 ---> ****-login.sh 18:42:50 nexus3.edgexfoundry.org:10001 18:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:50 Configure a credential helper to remove this warning. See 18:42:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:50 18:42:50 Login Succeeded 18:42:50 nexus3.edgexfoundry.org:10002 18:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:50 Configure a credential helper to remove this warning. See 18:42:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:50 18:42:50 Login Succeeded 18:42:50 nexus3.edgexfoundry.org:10003 18:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:50 Configure a credential helper to remove this warning. See 18:42:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:50 18:42:50 Login Succeeded 18:42:50 nexus3.edgexfoundry.org:10004 18:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:50 Configure a credential helper to remove this warning. See 18:42:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:50 18:42:50 Login Succeeded 18:42:50 ****.io 18:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:50 Configure a credential helper to remove this warning. See 18:42:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:50 18:42:50 Login Succeeded 18:42:50 ---> ****-login.sh ends [Pipeline] } 18:42:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:50 ========================================================= 18:42:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 18:42:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:51 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 18:42:51 Sending build context to Docker daemon 25.5MB 18:42:51 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 18:42:51 Step 2/10 : FROM ${BASE} AS builder 18:42:51 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:51 43c4264eed91: Pulling fs layer 18:42:51 4cc291be95ef: Pulling fs layer 18:42:51 2ac1f1163629: Pulling fs layer 18:42:51 5c3c966382ef: Pulling fs layer 18:42:51 4f4fb700ef54: Pulling fs layer 18:42:51 5d5c8e513c77: Pulling fs layer 18:42:51 9f66e0745190: Pulling fs layer 18:42:51 f49a43e4bbc0: Pulling fs layer 18:42:51 561ebcabdf7f: Pulling fs layer 18:42:51 5c3c966382ef: Waiting 18:42:51 f49a43e4bbc0: Waiting 18:42:51 9f66e0745190: Waiting 18:42:51 561ebcabdf7f: Waiting 18:42:51 4f4fb700ef54: Waiting 18:42:51 4cc291be95ef: Download complete 18:42:51 5c3c966382ef: Verifying Checksum 18:42:51 5c3c966382ef: Download complete 18:42:51 4f4fb700ef54: Verifying Checksum 18:42:51 4f4fb700ef54: Download complete 18:42:51 5d5c8e513c77: Verifying Checksum 18:42:51 5d5c8e513c77: Download complete 18:42:51 43c4264eed91: Download complete 18:42:51 9f66e0745190: Verifying Checksum 18:42:51 9f66e0745190: Download complete 18:42:51 43c4264eed91: Pull complete 18:42:51 561ebcabdf7f: Verifying Checksum 18:42:51 561ebcabdf7f: Download complete 18:42:51 4cc291be95ef: Pull complete 18:42:51 2ac1f1163629: Verifying Checksum 18:42:51 2ac1f1163629: Download complete 18:42:52 f49a43e4bbc0: Verifying Checksum 18:42:52 f49a43e4bbc0: Download complete 18:42:54 2ac1f1163629: Pull complete 18:42:54 5c3c966382ef: Pull complete 18:42:54 4f4fb700ef54: Pull complete 18:42:54 5d5c8e513c77: Pull complete 18:42:54 9f66e0745190: Pull complete 18:42:57 f49a43e4bbc0: Pull complete 18:42:57 561ebcabdf7f: Pull complete 18:42:57 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 18:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 18:42:57 ---> 3a752c3f9dda 18:42:57 Step 3/10 : ARG MAKE=make build 18:43:01 ---> Running in ab22cae2149e 18:43:01 Removing intermediate container ab22cae2149e 18:43:01 ---> 23520c468859 18:43:01 Step 4/10 : WORKDIR /device-sdk-go 18:43:01 ---> Running in 90d668e85c22 18:43:01 Removing intermediate container 90d668e85c22 18:43:01 ---> ed0c89670102 18:43:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:01 ---> Running in 26c9daa0ac5e 18:43:01 Removing intermediate container 26c9daa0ac5e 18:43:01 ---> 1578bd17cb64 18:43:01 Step 6/10 : RUN apk add --update --no-cache make git 18:43:01 ---> Running in f080d86ce12a 18:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:43:02 OK: 246 MiB in 54 packages 18:43:02 Removing intermediate container f080d86ce12a 18:43:02 ---> 03f2ffbf3d69 18:43:02 Step 7/10 : COPY go.mod vendor* ./ 18:43:02 ---> 092ad7d41b47 18:43:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:02 ---> Running in 7f5c5469d616 18:43:04 Still waiting to schedule task 18:43:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:43:49 Removing intermediate container 7f5c5469d616 18:43:49 ---> 636a0b1fa8e8 18:43:49 Step 9/10 : COPY . . 18:43:50 ---> afb490be6a2b 18:43:50 Step 10/10 : RUN ${MAKE} 18:43:50 ---> Running in 9ac5eed0defa 18:43:50 noop 18:43:50 Removing intermediate container 9ac5eed0defa 18:43:50 ---> f61ac6ee0899 18:43:50 Successfully built f61ac6ee0899 18:43:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:51 + docker inspect -f . ci-base-image-x86_64 18:43:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:51 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 18:43:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:51 $ docker top a9e388072ccadf1d9076f95e7fca1477b982307ca843d80ec041ea97d6d1818e -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:51 + go version 18:43:51 go version go1.23.2 linux/amd64 [Pipeline] } 18:43:51 $ docker stop --time=1 a9e388072ccadf1d9076f95e7fca1477b982307ca843d80ec041ea97d6d1818e 18:43:53 $ docker rm -f --volumes a9e388072ccadf1d9076f95e7fca1477b982307ca843d80ec041ea97d6d1818e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:53 + docker inspect -f . ci-base-image-x86_64 18:43:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:53 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 18:43:53 $ 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-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:54 $ docker top 0472d69351545a1cce0ddead41efb3c4d4b75f55332e62d7c6405656b32f0a79 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1640 [Pipeline] fileExists [Pipeline] sh 18:43:54 + make test 18:43:54 go test -race -coverprofile=coverage.out ./... 18:44:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 18:44:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.030s coverage: 26.0% of statements 18:44:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.034s coverage: 79.4% of statements 18:44:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.045s coverage: 86.0% of statements 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 18:44:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 18:44:29 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 18:44:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 45.2% of statements 18:44:30 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 18:44:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.045s coverage: 14.1% of statements 18:44:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.253s coverage: 44.6% of statements 18:44:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.4% of statements 18:44:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 88.3% of statements 18:44:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.3% of statements 18:44:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23539 in /w/workspace/gexfoundry_device-sdk-go_PR-1640 [Pipeline] { [Pipeline] ws 18:44:44 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:44:47 The recommended git tool is: git 18:44:55 using credential edgex-jenkins-ssh 18:44:55 Cloning the remote Git repository 18:44:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:55 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:44:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:56 > git --version # timeout=10 18:44:56 > git --version # 'git version 2.25.1' 18:44:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:02 Merging remotes/origin/main commit 1e80e475b0e97679140bd79592a828cf1f53df47 into PR head commit e7d219c81bb1a39276e759e1bfbf54ad13c5976a 18:45:02 Merge succeeded, producing 1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 18:45:02 Checking out Revision 1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 (PR-1640) 18:45:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1640/head:refs/remotes/origin/PR-1640 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:45:02 > git config core.sparsecheckout # timeout=10 18:45:02 > git checkout -f e7d219c81bb1a39276e759e1bfbf54ad13c5976a # timeout=10 18:45:02 > git remote # timeout=10 18:45:02 > git config --get remote.origin.url # timeout=10 18:45:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:02 > git merge 1e80e475b0e97679140bd79592a828cf1f53df47 # timeout=10 18:45:02 > git rev-parse HEAD^{commit} # timeout=10 18:45:02 > git config core.sparsecheckout # timeout=10 18:45:02 > git checkout -f 1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 # timeout=10 18:45:04 GO111MODULE=on go vet ./... 18:45:06 Commit message: "Merge commit '1e80e475b0e97679140bd79592a828cf1f53df47' into HEAD" 18:45:06 > git rev-list --no-walk e7d219c81bb1a39276e759e1bfbf54ad13c5976a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:45:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:45:07 ./bin/test-attribution-txt.sh [Pipeline] echo 18:45:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:45:07 $ docker stop --time=1 0472d69351545a1cce0ddead41efb3c4d4b75f55332e62d7c6405656b32f0a79 18:45:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:45:07 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:07 Dload Upload Total Spent Left Speed 18:45:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 108k 18:45:12 $ docker rm -f --volumes 0472d69351545a1cce0ddead41efb3c4d4b75f55332e62d7c6405656b32f0a79 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 18:45:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:45:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:45:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 18:45:13 sudo tee /etc/docker/daemon.new 18:45:13 { 18:45:13 "registry-mirrors": [ 18:45:13 "https://nexus3.edgexfoundry.org:10001" 18:45:13 ], 18:45:13 "bip": "10.250.0.254/24", 18:45:13 "hosts": [ 18:45:13 "tcp://0.0.0.0:5555", 18:45:13 "unix:///var/run/docker.sock" 18:45:13 ], 18:45:13 "mtu": 1458, 18:45:13 "selinux-enabled": true, 18:45:13 "seccomp-profile": "/etc/docker/seccomp.json" 18:45:13 } [Pipeline] sh [Pipeline] sh 18:45:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:45:13 + ls -al . 18:45:13 total 716 18:45:13 drwxrwxr-x 11 jenkins jenkins 4096 Oct 22 18:43 . 18:45:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:42 .. 18:45:13 -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 18:42 .dockerignore 18:45:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:44 .git 18:45:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:42 .github 18:45:13 -rw-rw-r-- 1 jenkins jenkins 137 Oct 22 18:42 .gitignore 18:45:13 -rw-rw-r-- 1 jenkins jenkins 199 Oct 22 18:42 .golangci.yml 18:45:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:42 .semver 18:45:13 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 22 18:42 CHANGELOG.md 18:45:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:42 GOVERNANCE.md 18:45:13 -rw-rw-r-- 1 jenkins jenkins 882 Oct 22 18:42 Jenkinsfile 18:45:13 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 18:42 LICENSE 18:45:13 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 22 18:42 Makefile 18:45:13 -rw-rw-r-- 1 jenkins jenkins 619 Oct 22 18:42 OWNERS.md 18:45:13 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 22 18:42 README.md 18:45:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:42 VERSION 18:45:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:42 bin 18:45:13 -rw-r--r-- 1 jenkins jenkins 467900 Oct 22 18:44 coverage.out 18:45:13 drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 18:42 example 18:45:13 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 22 18:42 go.mod 18:45:13 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 22 18:42 go.sum 18:45:13 drwxrwxr-x 13 jenkins jenkins 4096 Oct 22 18:42 internal 18:45:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:42 openapi 18:45:13 drwxrwxr-x 6 jenkins jenkins 4096 Oct 22 18:42 pkg 18:45:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:42 snap 18:45:13 -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:13 + sudo service docker restart 18:45:14 + 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=917cfc341c17128e17f1974807d3be2cb615ad82 --label arch=amd64 --label version=0.0.0 . 18:45:14 Sending build context to Docker daemon 25.97MB 18:45:14 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 18:45:14 Step 2/24 : FROM ${BASE} AS builder 18:45:14 ---> f61ac6ee0899 18:45:14 Step 3/24 : ARG MAKE=make build 18:45:14 ---> Running in 8896bee3b068 18:45:14 Removing intermediate container 8896bee3b068 18:45:14 ---> 6377b81e400c 18:45:14 Step 4/24 : WORKDIR /device-sdk-go 18:45:14 ---> Running in 42af538825c7 18:45:14 Removing intermediate container 42af538825c7 18:45:14 ---> b95e7046964c 18:45:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:45:14 ---> Running in b9295f73feb9 18:45:14 Removing intermediate container b9295f73feb9 18:45:14 ---> f6fecbfab978 18:45:14 Step 6/24 : RUN apk add --update --no-cache make git 18:45:14 ---> Running in 06012b633a74 18:45:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:45:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:45:15 OK: 246 MiB in 54 packages 18:45:15 Removing intermediate container 06012b633a74 18:45:15 ---> 1e4cca40ec45 18:45:15 Step 7/24 : COPY go.mod vendor* ./ 18:45:15 ---> 5e197f6e9738 18:45:15 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:15 ---> Running in ef59c7945895 18:45:16 Removing intermediate container ef59c7945895 18:45:16 ---> 685a35c8e6a7 18:45:16 Step 9/24 : COPY . . 18:45:17 ---> 4f2116476915 18:45:17 Step 10/24 : RUN ${MAKE} 18:45:17 ---> Running in 5c4455fc6290 18:45:17 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 -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:32 provisioning config files... 18:45:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4022943561259463552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:32 ---> ****-login.sh 18:45:32 nexus3.edgexfoundry.org:10001 18:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:33 Configure a credential helper to remove this warning. See 18:45:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:33 18:45:33 Login Succeeded 18:45:33 nexus3.edgexfoundry.org:10002 18:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:33 Configure a credential helper to remove this warning. See 18:45:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:33 18:45:33 Login Succeeded 18:45:33 nexus3.edgexfoundry.org:10003 18:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:34 Configure a credential helper to remove this warning. See 18:45:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:34 18:45:34 Login Succeeded 18:45:34 nexus3.edgexfoundry.org:10004 18:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:34 Configure a credential helper to remove this warning. See 18:45:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:34 18:45:34 Login Succeeded 18:45:34 ****.io 18:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:34 Configure a credential helper to remove this warning. See 18:45:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:34 18:45:34 Login Succeeded 18:45:34 ---> ****-login.sh ends [Pipeline] } 18:45:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:45:35 ========================================================= 18:45:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 18:45:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:35 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 18:45:36 Sending build context to Docker daemon 13.21MB 18:45:36 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 18:45:36 Step 2/10 : FROM ${BASE} AS builder 18:45:36 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:36 cf04c63912e1: Pulling fs layer 18:45:36 55b35a11ae5e: Pulling fs layer 18:45:36 a37a00ec5f00: Pulling fs layer 18:45:36 50b3750afda1: Pulling fs layer 18:45:36 4f4fb700ef54: Pulling fs layer 18:45:36 80978eb59214: Pulling fs layer 18:45:36 c9f46d7d2bd2: Pulling fs layer 18:45:36 c5a475d317c9: Pulling fs layer 18:45:36 50b3750afda1: Waiting 18:45:36 80978eb59214: Waiting 18:45:36 c9f46d7d2bd2: Waiting 18:45:36 4f4fb700ef54: Waiting 18:45:36 c5a475d317c9: Waiting 18:45:36 55b35a11ae5e: Download complete 18:45:36 50b3750afda1: Verifying Checksum 18:45:36 50b3750afda1: Download complete 18:45:36 4f4fb700ef54: Verifying Checksum 18:45:36 4f4fb700ef54: Download complete 18:45:36 80978eb59214: Verifying Checksum 18:45:36 80978eb59214: Download complete 18:45:36 cf04c63912e1: Verifying Checksum 18:45:36 cf04c63912e1: Download complete 18:45:37 c5a475d317c9: Verifying Checksum 18:45:37 c5a475d317c9: Download complete 18:45:37 cf04c63912e1: Pull complete 18:45:38 55b35a11ae5e: Pull complete 18:45:39 a37a00ec5f00: Verifying Checksum 18:45:39 a37a00ec5f00: Download complete 18:45:39 c9f46d7d2bd2: Verifying Checksum 18:45:39 c9f46d7d2bd2: Download complete 18:45:49 Removing intermediate container 5c4455fc6290 18:45:49 ---> 92f4ab4e5056 18:45:49 Step 11/24 : FROM alpine:3.20 18:45:49 3.20: Pulling from library/alpine 18:45:49 43c4264eed91: Already exists 18:45:49 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 18:45:49 Status: Downloaded newer image for alpine:3.20 18:45:49 ---> 91ef0af61f39 18:45:49 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:45:49 ---> Running in f40b836f9f2e 18:45:49 Removing intermediate container f40b836f9f2e 18:45:49 ---> 07984f6295be 18:45:49 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:45:49 ---> Running in 83b2ceffb649 18:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:45:49 (1/1) Installing dumb-init (1.2.5-r3) 18:45:49 Executing busybox-1.36.1-r29.trigger 18:45:49 OK: 8 MiB in 15 packages 18:45:49 Removing intermediate container 83b2ceffb649 18:45:49 ---> 1f9ed865369a 18:45:49 Step 14/24 : RUN apk --no-cache upgrade 18:45:49 ---> Running in b745d82f7b54 18:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:45:50 Upgrading critical system libraries and apk-tools: 18:45:50 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 18:45:50 Executing busybox-1.36.1-r29.trigger 18:45:50 Continuing the upgrade transaction with new apk-tools: 18:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:45:50 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 18:45:50 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 18:45:50 OK: 8 MiB in 15 packages 18:45:50 Removing intermediate container b745d82f7b54 18:45:50 ---> a74fe9c13c00 18:45:50 Step 15/24 : WORKDIR / 18:45:50 ---> Running in c3bab82bae77 18:45:50 Removing intermediate container c3bab82bae77 18:45:50 ---> 59e1377ca225 18:45:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:45:51 ---> c944a1a54a61 18:45:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:45:52 ---> 5722ddaa4307 18:45:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:45:52 ---> b335b9dfcffa 18:45:52 Step 19/24 : EXPOSE 59999 18:45:52 ---> Running in 5315cda13ee5 18:45:52 Removing intermediate container 5315cda13ee5 18:45:52 ---> 916566a6701d 18:45:52 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:45:52 ---> Running in cb055c6d620f 18:45:52 Removing intermediate container cb055c6d620f 18:45:52 ---> a10702d8c541 18:45:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:45:52 ---> Running in ee07a2d27ae6 18:45:52 Removing intermediate container ee07a2d27ae6 18:45:52 ---> f7c2f0313575 18:45:52 Step 22/24 : LABEL arch=amd64 18:45:52 ---> Running in 170376e9e8a3 18:45:52 Removing intermediate container 170376e9e8a3 18:45:52 ---> 5109e7041c2d 18:45:52 Step 23/24 : LABEL git_sha=917cfc341c17128e17f1974807d3be2cb615ad82 18:45:52 ---> Running in fd02654be7db 18:45:52 Removing intermediate container fd02654be7db 18:45:52 ---> 4e6c685c4774 18:45:52 Step 24/24 : LABEL version=0.0.0 18:45:52 ---> Running in d178b79faf07 18:45:53 Removing intermediate container d178b79faf07 18:45:53 ---> 3811ca2bc4df 18:45:53 [Warning] One or more build-args [ARCH] were not consumed 18:45:53 Successfully built 3811ca2bc4df 18:45:53 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 18:45:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:53 18:45:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:53 latest: Pulling from edgex-lftools-log-publisher 18:45:53 5eb5b503b376: Pulling fs layer 18:45:53 5c69ac0246d0: Pulling fs layer 18:45:53 ec43610c2a17: Pulling fs layer 18:45:53 3a2ae6a8a46f: Pulling fs layer 18:45:53 33b1e0a273af: Pulling fs layer 18:45:53 5d3b04190fa2: Pulling fs layer 18:45:53 33b1e0a273af: Waiting 18:45:53 2f39f015ded8: Pulling fs layer 18:45:53 5d3b04190fa2: Waiting 18:45:53 3a2ae6a8a46f: Waiting 18:45:53 5c69ac0246d0: Download complete 18:45:53 3a2ae6a8a46f: Download complete 18:45:53 33b1e0a273af: Verifying Checksum 18:45:53 33b1e0a273af: Download complete 18:45:53 ec43610c2a17: Verifying Checksum 18:45:53 ec43610c2a17: Download complete 18:45:53 5d3b04190fa2: Verifying Checksum 18:45:53 5d3b04190fa2: Download complete 18:45:54 5eb5b503b376: Verifying Checksum 18:45:54 5eb5b503b376: Download complete 18:45:54 2f39f015ded8: Download complete 18:45:54 a37a00ec5f00: Pull complete 18:45:54 50b3750afda1: Pull complete 18:45:54 4f4fb700ef54: Pull complete 18:45:54 80978eb59214: Pull complete 18:45:54 5eb5b503b376: Pull complete 18:45:55 5c69ac0246d0: Pull complete 18:45:55 ec43610c2a17: Pull complete 18:45:55 3a2ae6a8a46f: Pull complete 18:45:55 33b1e0a273af: Pull complete 18:45:56 5d3b04190fa2: Pull complete 18:46:00 2f39f015ded8: Pull complete 18:46:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:46:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:00 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 18:46:00 $ 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-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:46:01 c9f46d7d2bd2: Pull complete 18:46:03 c5a475d317c9: Pull complete 18:46:03 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 18:46:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 18:46:03 ---> be29e6b0f0d4 18:46:03 Step 3/10 : ARG MAKE=make build 18:46:04 $ docker top 92917c332b812860da2ad50a933fe82b3a512660aa8021477e7cc0ca9a6a8ae3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:04 ---> job-cost.sh 18:46:04 lf-activate-venv: SKIPPING 18:46:04 INFO: No Stack... 18:46:04 ---> Running in 281b2c51a096 18:46:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:46:05 Removing intermediate container 281b2c51a096 18:46:05 ---> 84da88671d14 18:46:05 Step 4/10 : WORKDIR /device-sdk-go 18:46:05 INFO: Archiving Costs [Pipeline] sh 18:46:05 ---> Running in 96888708f5c4 18:46:05 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives/cost.csv 18:46:05 + cut -d, -f6 [Pipeline] lock 18:46:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] 18:46:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] did not exist. Created. 18:46:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:05 Removing intermediate container 96888708f5c4 18:46:05 ---> 60ad2e1236b6 18:46:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:46:05 ---> Running in c3173f2fe8f0 18:46:05 + echo total: 0.2199999988079071 [Pipeline] stash 18:46:05 Stashed 1 file(s) [Pipeline] } 18:46:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:05 $ docker stop --time=1 92917c332b812860da2ad50a933fe82b3a512660aa8021477e7cc0ca9a6a8ae3 18:46:06 Removing intermediate container c3173f2fe8f0 18:46:06 ---> 2fe869af7481 18:46:06 Step 6/10 : RUN apk add --update --no-cache make git 18:46:06 ---> Running in fae08a23f0dd 18:46:07 $ docker rm -f --volumes 92917c332b812860da2ad50a933fe82b3a512660aa8021477e7cc0ca9a6a8ae3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 18:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 18:46:08 OK: 238 MiB in 54 packages 18:46:09 Removing intermediate container fae08a23f0dd 18:46:09 ---> 431e4b4dd25e 18:46:09 Step 7/10 : COPY go.mod vendor* ./ 18:46:10 ---> 804c675939a2 18:46:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:10 ---> Running in 7578dcbb4174 18:48:01 Removing intermediate container 7578dcbb4174 18:48:01 ---> d76739c2fbb1 18:48:01 Step 9/10 : COPY . . 18:48:01 ---> 41df6d6734b2 18:48:01 Step 10/10 : RUN ${MAKE} 18:48:01 ---> Running in 60fc734669e7 18:48:01 noop 18:48:01 Removing intermediate container 60fc734669e7 18:48:01 ---> 234aef631be2 18:48:01 Successfully built 234aef631be2 18:48:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:02 + docker inspect -f . ci-base-image-arm64 18:48:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:02 prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container 18:48:02 $ 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 ******** ci-base-image-arm64 cat 18:48:03 $ docker top e42874d7ff915355d83e88b63e924cd44784d24435ab6d8ff6739d6d272af612 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:04 + go version 18:48:04 go version go1.23.2 linux/arm64 [Pipeline] } 18:48:04 $ docker stop --time=1 e42874d7ff915355d83e88b63e924cd44784d24435ab6d8ff6739d6d272af612 18:48:06 $ docker rm -f --volumes e42874d7ff915355d83e88b63e924cd44784d24435ab6d8ff6739d6d272af612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:07 + docker inspect -f . ci-base-image-arm64 18:48:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:07 prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container 18:48:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/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 ******** ci-base-image-arm64 cat 18:48:08 $ docker top 210d05e011ebd46635316e0b1c8a6045e511743a29091f31cbf35beefe29211d -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:09 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 18:48:09 + make test 18:48:09 go test -race -coverprofile=coverage.out ./... 18:48:56 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:52:18 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 18:52:18 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 18:52:18 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 18:52:18 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 18:52:18 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 18:52:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.154s coverage: 26.0% of statements 18:52:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.189s coverage: 79.4% of statements 18:52:45 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 18:52:45 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 18:52:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.265s coverage: 86.0% of statements 18:52:56 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 18:52:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.529s coverage: 45.2% of statements 18:53:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.250s coverage: 14.1% of statements 18:53:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.057s coverage: 44.6% of statements 18:53:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:53:04 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 18:53:04 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 18:53:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.386s coverage: 68.4% of statements 18:53:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.349s coverage: 88.3% of statements 18:53:16 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 18:53:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.274s coverage: 5.3% of statements 18:53:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:53:18 GO111MODULE=on go vet ./... 18:56:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:56:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:56:55 ./bin/test-attribution-txt.sh [Pipeline] echo 18:56:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:56:56 $ docker stop --time=1 210d05e011ebd46635316e0b1c8a6045e511743a29091f31cbf35beefe29211d 18:56:58 $ docker rm -f --volumes 210d05e011ebd46635316e0b1c8a6045e511743a29091f31cbf35beefe29211d [Pipeline] // withDockerContainer [Pipeline] sh 18:57:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:57:00 Warning: overwriting stash ‘coverage-report’ 18:57:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:57:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:57:01 + ls -al . 18:57:01 total 712 18:57:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:48 . 18:57:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:44 .. 18:57:01 -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 18:45 .dockerignore 18:57:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:45 .git 18:57:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:45 .github 18:57:01 -rw-rw-r-- 1 jenkins jenkins 137 Oct 22 18:45 .gitignore 18:57:01 -rw-rw-r-- 1 jenkins jenkins 199 Oct 22 18:45 .golangci.yml 18:57:01 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 22 18:45 CHANGELOG.md 18:57:01 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:45 GOVERNANCE.md 18:57:01 -rw-rw-r-- 1 jenkins jenkins 882 Oct 22 18:45 Jenkinsfile 18:57:01 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 18:45 LICENSE 18:57:01 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 22 18:45 Makefile 18:57:01 -rw-rw-r-- 1 jenkins jenkins 619 Oct 22 18:45 OWNERS.md 18:57:01 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 22 18:45 README.md 18:57:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:42 VERSION 18:57:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:45 bin 18:57:01 -rw-r--r-- 1 jenkins jenkins 467900 Oct 22 18:53 coverage.out 18:57:01 drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 18:45 example 18:57:01 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 22 18:45 go.mod 18:57:01 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 22 18:45 go.sum 18:57:01 drwxrwxr-x 13 jenkins jenkins 4096 Oct 22 18:45 internal 18:57:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:45 openapi 18:57:01 drwxrwxr-x 6 jenkins jenkins 4096 Oct 22 18:45 pkg 18:57:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:45 snap 18:57:01 -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:02 + 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=1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 --label arch=arm64 --label version=0.0.0 . 18:57:02 Sending build context to Docker daemon 13.68MB 18:57:02 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 18:57:02 Step 2/24 : FROM ${BASE} AS builder 18:57:02 ---> 234aef631be2 18:57:02 Step 3/24 : ARG MAKE=make build 18:57:03 ---> Running in b05546fefee4 18:57:03 Removing intermediate container b05546fefee4 18:57:03 ---> 6da92aec81a6 18:57:03 Step 4/24 : WORKDIR /device-sdk-go 18:57:03 ---> Running in c3089f558962 18:57:03 Removing intermediate container c3089f558962 18:57:03 ---> dfd3ceb65e7a 18:57:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:57:03 ---> Running in 6fc2935c2a98 18:57:04 Removing intermediate container 6fc2935c2a98 18:57:04 ---> fc93686cc21a 18:57:04 Step 6/24 : RUN apk add --update --no-cache make git 18:57:04 ---> Running in a28ced3195e3 18:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 18:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 18:57:06 OK: 238 MiB in 54 packages 18:57:07 Removing intermediate container a28ced3195e3 18:57:07 ---> b38f74d52fc8 18:57:07 Step 7/24 : COPY go.mod vendor* ./ 18:57:08 ---> b1ac31b0436c 18:57:08 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:09 ---> Running in 651f71aa77bf 18:57:11 Removing intermediate container 651f71aa77bf 18:57:11 ---> 7a4e4b4922d5 18:57:11 Step 9/24 : COPY . . 18:57:12 ---> dc0f5002ab2f 18:57:12 Step 10/24 : RUN ${MAKE} 18:57:12 ---> Running in f56ee608246b 18:57:13 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 -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:00:52 Removing intermediate container f56ee608246b 19:00:52 ---> 736860ccc125 19:00:52 Step 11/24 : FROM alpine:3.20 19:00:52 3.20: Pulling from library/alpine 19:00:52 cf04c63912e1: Already exists 19:00:52 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 19:00:52 Status: Downloaded newer image for alpine:3.20 19:00:52 ---> c157a85ed455 19:00:52 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:00:52 ---> Running in 2e5675a743df 19:00:52 Removing intermediate container 2e5675a743df 19:00:52 ---> 7d709424518a 19:00:52 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:00:52 ---> Running in b1704b47330a 19:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:00:52 (1/1) Installing dumb-init (1.2.5-r3) 19:00:52 Executing busybox-1.36.1-r29.trigger 19:00:52 OK: 9 MiB in 15 packages 19:00:52 Removing intermediate container b1704b47330a 19:00:52 ---> 9a3c23dad38b 19:00:52 Step 14/24 : RUN apk --no-cache upgrade 19:00:52 ---> Running in deaa974fdc53 19:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:00:52 Upgrading critical system libraries and apk-tools: 19:00:52 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:00:52 Executing busybox-1.36.1-r29.trigger 19:00:52 Continuing the upgrade transaction with new apk-tools: 19:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:00:52 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 19:00:52 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 19:00:52 OK: 9 MiB in 15 packages 19:00:52 Removing intermediate container deaa974fdc53 19:00:52 ---> 437cb506f735 19:00:52 Step 15/24 : WORKDIR / 19:00:52 ---> Running in 52b9fd5d66f7 19:00:52 Removing intermediate container 52b9fd5d66f7 19:00:52 ---> c89ba6327e10 19:00:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:00:52 ---> 2a010abffc6a 19:00:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:00:54 ---> 83a4b268e159 19:00:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:00:54 ---> f4f7878438e8 19:00:54 Step 19/24 : EXPOSE 59999 19:00:54 ---> Running in 38c0f1e7ad09 19:00:55 Removing intermediate container 38c0f1e7ad09 19:00:55 ---> 561546d1554c 19:00:55 Step 20/24 : ENTRYPOINT ["/device-simple"] 19:00:55 ---> Running in 71685987ae93 19:00:55 Removing intermediate container 71685987ae93 19:00:55 ---> 7af4228e78b1 19:00:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:00:55 ---> Running in c87e0cebdd71 19:00:55 Removing intermediate container c87e0cebdd71 19:00:55 ---> 1c7def2ec45e 19:00:55 Step 22/24 : LABEL arch=arm64 19:00:56 ---> Running in 9c6e2f714c65 19:00:56 Removing intermediate container 9c6e2f714c65 19:00:56 ---> 688937fc9854 19:00:56 Step 23/24 : LABEL git_sha=1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 19:00:56 ---> Running in 9de981457a45 19:00:56 Removing intermediate container 9de981457a45 19:00:56 ---> d66052b35699 19:00:56 Step 24/24 : LABEL version=0.0.0 19:00:56 ---> Running in 1e6cc4b89695 19:00:56 Removing intermediate container 1e6cc4b89695 19:00:56 ---> a877b9a5b246 19:00:56 [Warning] One or more build-args [ARCH] were not consumed 19:00:57 Successfully built a877b9a5b246 19:00:57 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:57 19:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:58 arm64: Pulling from edgex-lftools-log-publisher 19:00:58 8998bd30e6a1: Pulling fs layer 19:00:58 04944245beec: Pulling fs layer 19:00:58 699f458cf7ca: Pulling fs layer 19:00:58 765212b225bb: Pulling fs layer 19:00:58 f23df028b6ca: Pulling fs layer 19:00:58 d65c8cfc05b1: Pulling fs layer 19:00:58 765212b225bb: Waiting 19:00:58 f23df028b6ca: Waiting 19:00:58 2437ff75d9bd: Pulling fs layer 19:00:58 2437ff75d9bd: Waiting 19:00:58 d65c8cfc05b1: Waiting 19:00:58 04944245beec: Verifying Checksum 19:00:58 04944245beec: Download complete 19:00:58 765212b225bb: Verifying Checksum 19:00:58 765212b225bb: Download complete 19:00:58 f23df028b6ca: Verifying Checksum 19:00:58 f23df028b6ca: Download complete 19:00:58 d65c8cfc05b1: Verifying Checksum 19:00:58 d65c8cfc05b1: Download complete 19:00:58 699f458cf7ca: Verifying Checksum 19:00:58 699f458cf7ca: Download complete 19:00:59 8998bd30e6a1: Verifying Checksum 19:00:59 8998bd30e6a1: Download complete 19:01:01 2437ff75d9bd: Verifying Checksum 19:01:01 2437ff75d9bd: Download complete 19:01:03 8998bd30e6a1: Pull complete 19:01:04 04944245beec: Pull complete 19:01:05 699f458cf7ca: Pull complete 19:01:05 765212b225bb: Pull complete 19:01:06 f23df028b6ca: Pull complete 19:01:07 d65c8cfc05b1: Pull complete 19:01:25 2437ff75d9bd: Pull complete 19:01:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:01:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:01:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:25 prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container 19:01:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:01:28 $ docker top bb12b2ff3a05b46f85c80dcb8940612b9831275c0585db6ce0f58ed3b06230a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:28 ---> job-cost.sh 19:01:28 lf-activate-venv: SKIPPING 19:01:28 INFO: No Stack... 19:01:29 INFO: Retrieving Pricing Info for: v3-standard-4 19:01:30 INFO: Archiving Costs [Pipeline] sh 19:01:30 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 19:01:30 + cut -d, -f6 [Pipeline] lock 19:01:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] 19:01:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] did not exist. Created. 19:01:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:01:31 /w/workspace/device-sdk-go/2@tmp/durable-ba868fee/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:01:32 + echo total: 0.10999999940395355 [Pipeline] stash 19:01:32 Warning: overwriting stash ‘stack-cost’ 19:01:32 Stashed 1 file(s) [Pipeline] } 19:01:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:01:32 $ docker stop --time=1 bb12b2ff3a05b46f85c80dcb8940612b9831275c0585db6ce0f58ed3b06230a5 19:01:34 $ docker rm -f --volumes bb12b2ff3a05b46f85c80dcb8940612b9831275c0585db6ce0f58ed3b06230a5 [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 19:01:34 provisioning config files... 19:01:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/config9130200762510386964tmp [Pipeline] { [Pipeline] sh 19:01:35 + set +x 19:01:35 + curl -s https://codecov.io/bash 19:01:35 + bash -s -- 19:01:35 19:01:35 _____ _ 19:01:35 / ____| | | 19:01:35 | | ___ __| | ___ ___ _____ __ 19:01:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:01:35 | |___| (_) | (_| | __/ (_| (_) \ V / 19:01:35 \_____\___/ \__,_|\___|\___\___/ \_/ 19:01:35 Bash-1.0.6 19:01:35 19:01:35 19:01:35 ==> git version 2.25.1 found 19:01:35 ==> 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 19:01:35 Release-Date: 2020-01-08 19:01:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:01:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:01:35 ==> Jenkins CI detected. 19:01:35 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1640 19:01:35 project root: . 19:01:35 --> token set from env 19:01:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:01:35 ==> Running gcov in . (disable via -X gcov) 19:01:35 ==> Python coveragepy not found 19:01:35 ==> Searching for coverage reports in: 19:01:35 + . 19:01:35 -> Found 1 reports 19:01:35 ==> Detecting git/mercurial file structure 19:01:35 ==> Reading reports 19:01:35 + ./coverage.out bytes=467900 19:01:35 ==> Appending adjustments 19:01:35 https://docs.codecov.io/docs/fixing-reports 19:01:35 + Found adjustments 19:01:35 ==> Gzipping contents 19:01:35 44K /tmp/codecov.uwOwjI.gz 19:01:35 ==> Uploading reports 19:01:35 url: https://codecov.io 19:01:35 query: branch=PR-1640&commit=917cfc341c17128e17f1974807d3be2cb615ad82&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1640%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1640&job=&cmd_args= 19:01:35 -> Pinging Codecov 19:01:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1640&commit=917cfc341c17128e17f1974807d3be2cb615ad82&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1640%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1640&job=&cmd_args= 19:01:43 -> Uploading to 19:01:43 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/917cfc341c17128e17f1974807d3be2cb615ad82/883cfc68-3296-47e8-a6c6-12d591479ac1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241022%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241022T190140Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=1e05484e552fba91b4f3c611cdeca0133fb7b53fbd0edce78f704e731ade1319 19:01:43 % Total % Received % Xferd Average Speed Time Time Time Current 19:01:43 Dload Upload Total Spent Left Speed 19:01:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44720 0 0 100 44720 0 157k --:--:-- --:--:-- --:--:-- 157k 19:01:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] } 19:01:43 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 19:01:44 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives ] 19:01:44 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives 19:01:44 total 16 19:01:44 drwxr-xr-x 3 root root 4096 Oct 22 18:46 . 19:01:44 drwxrwxr-x 12 jenkins jenkins 4096 Oct 22 18:46 .. 19:01:44 drwxr-xr-x 2 root root 4096 Oct 22 18:46 cost 19:01:44 -rw-r--r-- 1 root root 86 Oct 22 18:46 cost.csv 19:01:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives 19:01:44 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives 19:01:44 total 16 19:01:44 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:46 . 19:01:44 drwxrwxr-x 12 jenkins jenkins 4096 Oct 22 18:46 .. 19:01:44 drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 18:46 cost 19:01:44 -rw-r--r-- 1 jenkins jenkins 86 Oct 22 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:01:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:01:45 ---> package-listing.sh 19:01:45 ++ facter osfamily 19:01:45 ++ tr '[:upper:]' '[:lower:]' 19:01:45 + OS_FAMILY=debian 19:01:45 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1640 19:01:45 + START_PACKAGES=/tmp/packages_start.txt 19:01:45 + END_PACKAGES=/tmp/packages_end.txt 19:01:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:01:45 + PACKAGES=/tmp/packages_start.txt 19:01:45 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1640 ']' 19:01:45 + PACKAGES=/tmp/packages_end.txt 19:01:45 + case "${OS_FAMILY}" in 19:01:45 + dpkg -l 19:01:45 + grep '^ii' 19:01:45 + '[' -f /tmp/packages_start.txt ']' 19:01:45 + '[' -f /tmp/packages_end.txt ']' 19:01:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:01:45 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1640 ']' 19:01:45 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives/ 19:01:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives/ [Pipeline] echo 19:01:45 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-1640/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:01:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:46 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 19:01:46 $ 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-1640/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-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:01:47 $ docker top 1f0efc9f3e2cd720e0d5b72d2e84019fb571c06f364b6455866ab7a7772f150b -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:47 + touch /tmp/pre-build-complete [Pipeline] sh 19:01:47 + mkdir -p /var/log/sysstat [Pipeline] sh 19:01:48 + ls /var/log/sa-host 19:01:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:48 provisioning config files... 19:01:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/config13930172587232395469tmp [Pipeline] { [Pipeline] echo 19:01:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:01:48 ---> create-netrc.sh [Pipeline] } 19:01:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:01:48 ---> python-tools-install.sh [Pipeline] echo 19:01:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:01:49 ---> sudo-logs.sh 19:01:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:01:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:01:49 ---> job-cost.sh 19:01:49 lf-activate-venv: SKIPPING 19:01:49 DEBUG: total: 0.2199999988079071 19:01:49 INFO: Retrieving Stack Cost... 19:01:49 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:50 INFO: Archiving Costs [Pipeline] echo 19:01:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:01:50 ---> logs-deploy.sh 19:01:50 lf-activate-venv: SKIPPING 19:01:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1640/2 19:01:50 INFO: archiving workspace using pattern(s): 19:01:51 Archives upload complete. 19:01:51 INFO: archiving logs to Nexus