Pull request #1631 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 258bca78eb25b04e773289848cc1a979c5bb6597+473fc5204b06f8a03d3e358a646b11d6e900bdaa (24f32d87571c56ce0fcab384ebc21fd9efd15477) 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-ssh9665426003629017799.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-ssh556556669146575663.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-1631/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-1631/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9016835908000316715.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-ssh15771141669770680923.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-1631/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-1631/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18397744634460934962.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-13199 in /w/workspace/gexfoundry_device-sdk-go_PR-1631 [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-1631 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 473fc5204b06f8a03d3e358a646b11d6e900bdaa into PR head commit 258bca78eb25b04e773289848cc1a979c5bb6597 Merge succeeded, producing 258bca78eb25b04e773289848cc1a979c5bb6597 Checking out Revision 258bca78eb25b04e773289848cc1a979c5bb6597 (PR-1631) > 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/1631/head:refs/remotes/origin/PR-1631 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 258bca78eb25b04e773289848cc1a979c5bb6597 # 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 473fc5204b06f8a03d3e358a646b11d6e900bdaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 258bca78eb25b04e773289848cc1a979c5bb6597 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:02:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:02:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:02:54 ========================================================= 06:02:54 EdgeX Global Pipelines Version Info 06:02:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:02:55 ------------------- 06:02:55 stable info: 06:02:55 ------------------- 06:02:55 Commited By: Ginny Guan ginny@iotechsys.com 06:02:55 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 06:02:55 Message: update stable to v1.0.265 06:02:55 ------------------- 06:02:55 experimental info: 06:02:55 ------------------- 06:02:55 Commited By: Cherry Wang cherry@iotechsys.com 06:02:55 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:02:55 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:02:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:02:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:02:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:02:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:02:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:02:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1631 [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1631 [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1631 [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 258bca7 [Pipeline] echo 06:02:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:56 provisioning config files... 06:02:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/config13195684259846392245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:57 ---> ****-login.sh 06:02:57 nexus3.edgexfoundry.org:10001 06:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:57 Configure a credential helper to remove this warning. See 06:02:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:57 06:02:57 Login Succeeded 06:02:57 nexus3.edgexfoundry.org:10002 06:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:57 Configure a credential helper to remove this warning. See 06:02:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:57 06:02:57 Login Succeeded 06:02:57 nexus3.edgexfoundry.org:10003 06:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:57 Configure a credential helper to remove this warning. See 06:02:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:57 06:02:57 Login Succeeded 06:02:57 nexus3.edgexfoundry.org:10004 06:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:57 Configure a credential helper to remove this warning. See 06:02:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:57 06:02:57 Login Succeeded 06:02:57 ****.io 06:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:57 Configure a credential helper to remove this warning. See 06:02:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:57 06:02:57 Login Succeeded 06:02:57 ---> ****-login.sh ends [Pipeline] } 06:02:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:02:58 + git rev-list -1 --merges 258bca78eb25b04e773289848cc1a979c5bb6597~1..258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] echo 06:02:58 -----------> git rev-list -1 --merges 258bca78eb25b04e773289848cc1a979c5bb6597~1..258bca78eb25b04e773289848cc1a979c5bb6597 258bca78eb25b04e773289848cc1a979c5bb6597 [false] [Pipeline] sh 06:02:58 + git log --format=format:%s -1 258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] echo 06:02:58 ========================================================= 06:02:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:02:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:58 + git log --format=format:%s -1 258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] echo 06:02:58 [semverPrep] GIT_COMMIT: 258bca78eb25b04e773289848cc1a979c5bb6597, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo 06:02:58 [semverPrep] This is not a build commit. [Pipeline] sh 06:02:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:02:59 + grep -v github /etc/ssh/ssh_known_hosts 06:02:59 + [ -e /tmp/ssh_known_hosts ] 06:02:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:02:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:02:59 + sudo tee -a /etc/ssh/ssh_known_hosts 06:02:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:59 06:02:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:59 0.1.4: Pulling from edgex-devops/py-git-semver 06:02:59 b85a868b505f: Pulling fs layer 06:02:59 e2be974225ed: Pulling fs layer 06:02:59 339a4e72a1f5: Pulling fs layer 06:02:59 988bab9f4d93: Pulling fs layer 06:02:59 1469e6f7b9e6: Pulling fs layer 06:02:59 eaf3925da568: Pulling fs layer 06:02:59 bab4dde63d76: Pulling fs layer 06:02:59 bde34c3a00c8: Pulling fs layer 06:02:59 b352a97aabf1: Pulling fs layer 06:02:59 4872d77fe225: Pulling fs layer 06:02:59 5851b861e8e6: Pulling fs layer 06:02:59 1469e6f7b9e6: Waiting 06:02:59 eaf3925da568: Waiting 06:02:59 bab4dde63d76: Waiting 06:02:59 bde34c3a00c8: Waiting 06:02:59 b352a97aabf1: Waiting 06:02:59 4872d77fe225: Waiting 06:02:59 5851b861e8e6: Waiting 06:02:59 988bab9f4d93: Waiting 06:02:59 e2be974225ed: Verifying Checksum 06:02:59 e2be974225ed: Download complete 06:02:59 988bab9f4d93: Verifying Checksum 06:02:59 988bab9f4d93: Download complete 06:02:59 1469e6f7b9e6: Verifying Checksum 06:02:59 1469e6f7b9e6: Download complete 06:02:59 eaf3925da568: Download complete 06:02:59 339a4e72a1f5: Verifying Checksum 06:02:59 339a4e72a1f5: Download complete 06:03:00 bde34c3a00c8: Download complete 06:03:00 b352a97aabf1: Verifying Checksum 06:03:00 b352a97aabf1: Download complete 06:03:00 4872d77fe225: Verifying Checksum 06:03:00 4872d77fe225: Download complete 06:03:00 5851b861e8e6: Verifying Checksum 06:03:00 5851b861e8e6: Download complete 06:03:00 b85a868b505f: Verifying Checksum 06:03:00 b85a868b505f: Download complete 06:03:00 bab4dde63d76: Verifying Checksum 06:03:00 bab4dde63d76: Download complete 06:03:01 b85a868b505f: Pull complete 06:03:01 e2be974225ed: Pull complete 06:03:01 339a4e72a1f5: Pull complete 06:03:01 988bab9f4d93: Pull complete 06:03:02 1469e6f7b9e6: Pull complete 06:03:02 eaf3925da568: Pull complete 06:03:04 bab4dde63d76: Pull complete 06:03:04 bde34c3a00c8: Pull complete 06:03:04 b352a97aabf1: Pull complete 06:03:04 4872d77fe225: Pull complete 06:03:04 5851b861e8e6: Pull complete 06:03:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:04 prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container 06:03:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@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 06:03:08 $ docker top 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 -eo pid,comm 06:03:08 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). 06:03:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:08 [ssh-agent] Looking for ssh-agent implementation... 06:03:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:08 $ docker exec 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 ssh-agent 06:03:08 SSH_AUTH_SOCK=/tmp/ssh-Lv6ICgpUBukB/agent.33 06:03:08 SSH_AGENT_PID=39 06:03:08 Running ssh-add (command line suppressed) 06:03:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/private_key_14919167410280673732.key (/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/private_key_14919167410280673732.key) 06:03:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:08 + git tag --points-at HEAD [Pipeline] } 06:03:08 $ docker exec --env ******** --env ******** 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 ssh-agent -k 06:03:08 unset SSH_AUTH_SOCK; 06:03:08 unset SSH_AGENT_PID; 06:03:08 echo Agent pid 39 killed; 06:03:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:03:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:08 [ssh-agent] Looking for ssh-agent implementation... 06:03:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:09 $ docker exec 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 ssh-agent 06:03:09 SSH_AUTH_SOCK=/tmp/ssh-SA14meNLdqSM/agent.72 06:03:09 SSH_AGENT_PID=78 06:03:09 Running ssh-add (command line suppressed) 06:03:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/private_key_9329990191663704555.key (/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/private_key_9329990191663704555.key) 06:03:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:09 + git semver init 06:03:09 2024-10-03 06:03:09,776 [run_init] DEBUG init version:0.0.0 force:False 06:03:09 2024-10-03 06:03:09,777 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver 06:03:09 2024-10-03 06:03:09,778 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver 06:03:09 2024-10-03 06:03:09,778 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1631, universal_newlines=False, shell=None, istream=None) 06:03:12 2024-10-03 06:03:11,826 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631/.git/info/exclude 06:03:12 2024-10-03 06:03:11,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver/PR-1631 with force:False 06:03:12 2024-10-03 06:03:11,827 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver/PR-1631 06:03:12 2024-10-03 06:03:11,831 [execute] INFO git cat-file --batch-check 06:03:12 2024-10-03 06:03:11,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver, universal_newlines=False, shell=None, istream=) 06:03:12 2024-10-03 06:03:11,838 [execute] INFO git cat-file --batch 06:03:12 2024-10-03 06:03:11,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver, universal_newlines=False, shell=None, istream=) 06:03:12 2024-10-03 06:03:11,843 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver/PR-1631 06:03:12 0.0.0 [Pipeline] } 06:03:12 $ docker exec --env ******** --env ******** 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 ssh-agent -k 06:03:12 unset SSH_AUTH_SOCK; 06:03:12 unset SSH_AGENT_PID; 06:03:12 echo Agent pid 78 killed; 06:03:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:12 + git semver [Pipeline] } 06:03:13 $ docker stop --time=1 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 06:03:14 $ docker rm -f --volumes 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 [Pipeline] // withDockerContainer [Pipeline] sh 06:03:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:03:14 Stashed 1 file(s) [Pipeline] echo 06:03:14 [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 06:03:15 provisioning config files... 06:03:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/config1374942044359765384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:15 ---> ****-login.sh 06:03:15 nexus3.edgexfoundry.org:10001 06:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:15 Configure a credential helper to remove this warning. See 06:03:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:15 06:03:15 Login Succeeded 06:03:15 nexus3.edgexfoundry.org:10002 06:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:15 Configure a credential helper to remove this warning. See 06:03:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:15 06:03:15 Login Succeeded 06:03:15 nexus3.edgexfoundry.org:10003 06:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:15 Configure a credential helper to remove this warning. See 06:03:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:15 06:03:15 Login Succeeded 06:03:15 nexus3.edgexfoundry.org:10004 06:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:15 Configure a credential helper to remove this warning. See 06:03:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:15 06:03:15 Login Succeeded 06:03:15 ****.io 06:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:16 Configure a credential helper to remove this warning. See 06:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:16 06:03:16 Login Succeeded 06:03:16 ---> ****-login.sh ends [Pipeline] } 06:03:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:16 ========================================================= 06:03:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:03:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:16 + 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 . 06:03:16 Sending build context to Docker daemon 25.45MB 06:03:16 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:03:16 Step 2/10 : FROM ${BASE} AS builder 06:03:16 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:03:16 43c4264eed91: Pulling fs layer 06:03:16 4cc291be95ef: Pulling fs layer 06:03:16 2ac1f1163629: Pulling fs layer 06:03:16 5c3c966382ef: Pulling fs layer 06:03:16 4f4fb700ef54: Pulling fs layer 06:03:16 5d5c8e513c77: Pulling fs layer 06:03:16 9f66e0745190: Pulling fs layer 06:03:16 f49a43e4bbc0: Pulling fs layer 06:03:16 561ebcabdf7f: Pulling fs layer 06:03:16 5c3c966382ef: Waiting 06:03:16 f49a43e4bbc0: Waiting 06:03:16 561ebcabdf7f: Waiting 06:03:16 4f4fb700ef54: Waiting 06:03:16 5d5c8e513c77: Waiting 06:03:16 9f66e0745190: Waiting 06:03:16 4cc291be95ef: Verifying Checksum 06:03:16 4cc291be95ef: Download complete 06:03:16 5c3c966382ef: Verifying Checksum 06:03:16 5c3c966382ef: Download complete 06:03:16 4f4fb700ef54: Verifying Checksum 06:03:16 4f4fb700ef54: Download complete 06:03:16 5d5c8e513c77: Verifying Checksum 06:03:16 5d5c8e513c77: Download complete 06:03:16 43c4264eed91: Verifying Checksum 06:03:16 43c4264eed91: Download complete 06:03:16 9f66e0745190: Verifying Checksum 06:03:16 9f66e0745190: Download complete 06:03:16 43c4264eed91: Pull complete 06:03:17 4cc291be95ef: Pull complete 06:03:17 561ebcabdf7f: Verifying Checksum 06:03:17 561ebcabdf7f: Download complete 06:03:17 2ac1f1163629: Verifying Checksum 06:03:17 2ac1f1163629: Download complete 06:03:17 f49a43e4bbc0: Verifying Checksum 06:03:17 f49a43e4bbc0: Download complete 06:03:20 2ac1f1163629: Pull complete 06:03:20 5c3c966382ef: Pull complete 06:03:20 4f4fb700ef54: Pull complete 06:03:20 5d5c8e513c77: Pull complete 06:03:20 9f66e0745190: Pull complete 06:03:23 f49a43e4bbc0: Pull complete 06:03:23 561ebcabdf7f: Pull complete 06:03:23 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 06:03:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:03:23 ---> 3a752c3f9dda 06:03:23 Step 3/10 : ARG MAKE=make build 06:03:28 ---> Running in 0a2ca5375537 06:03:28 Removing intermediate container 0a2ca5375537 06:03:28 ---> 652514d17b9c 06:03:28 Step 4/10 : WORKDIR /device-sdk-go 06:03:28 ---> Running in d947c71586ef 06:03:28 Removing intermediate container d947c71586ef 06:03:28 ---> 94bf589b2a8e 06:03:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:03:28 ---> Running in 6b932bbf42e2 06:03:28 Removing intermediate container 6b932bbf42e2 06:03:28 ---> 2c598cb7a8e6 06:03:28 Step 6/10 : RUN apk add --update --no-cache make git 06:03:28 ---> Running in 029f777f6aa5 06:03:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:03:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:03:29 OK: 246 MiB in 54 packages 06:03:29 Removing intermediate container 029f777f6aa5 06:03:29 ---> 655add3cee67 06:03:29 Step 7/10 : COPY go.mod vendor* ./ 06:03:29 ---> 1d9379e124a5 06:03:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:29 ---> Running in 2bb66bafd336 06:03:30 Still waiting to schedule task 06:03:30 ‘prd-ubuntu20.04-docker-arm64-4c-16g-13192’ is offline 06:04:26 Removing intermediate container 2bb66bafd336 06:04:26 ---> 349abf889e49 06:04:26 Step 9/10 : COPY . . 06:04:26 ---> 46986c3e3b22 06:04:26 Step 10/10 : RUN ${MAKE} 06:04:26 ---> Running in f70aa9e0bb5d 06:04:26 noop 06:04:26 Removing intermediate container f70aa9e0bb5d 06:04:26 ---> f319c94740f6 06:04:26 Successfully built f319c94740f6 06:04:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:26 + docker inspect -f . ci-base-image-x86_64 06:04:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:26 prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container 06:04:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@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 06:04:26 $ docker top 5b2956477282f30c415b97c65f6c9d275d16ccef00751831ff8d0e60ad24f2af -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:27 + go version 06:04:27 go version go1.23.2 linux/amd64 [Pipeline] } 06:04:27 $ docker stop --time=1 5b2956477282f30c415b97c65f6c9d275d16ccef00751831ff8d0e60ad24f2af 06:04:28 $ docker rm -f --volumes 5b2956477282f30c415b97c65f6c9d275d16ccef00751831ff8d0e60ad24f2af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:29 + docker inspect -f . ci-base-image-x86_64 06:04:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:29 prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container 06:04:29 $ 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-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@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 06:04:29 $ docker top 927a6ac4651100239b5c70f34f8df9581a9191be2c31766c5fe677d1c1fd0954 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1631 [Pipeline] fileExists [Pipeline] sh 06:04:30 + make test 06:04:30 go test -race -coverprofile=coverage.out ./... 06:04:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:05:04 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 06:05:04 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 06:05:04 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 06:05:04 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 06:05:04 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 06:05:04 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 06:05:04 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 06:05:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.049s coverage: 26.0% of statements 06:05:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.057s coverage: 79.4% of statements 06:05:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements 06:05:04 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 06:05:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:05:05 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 06:05:05 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 06:05:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.104s coverage: 45.2% of statements 06:05:06 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 06:05:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.1% of statements 06:05:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.551s coverage: 44.6% of statements 06:05:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements 06:05:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.097s coverage: 89.2% of statements 06:05:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.057s coverage: 5.3% of statements 06:05:41 GO111MODULE=on go vet ./... 06:05:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:42 ./bin/test-attribution-txt.sh 06:05:42 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 06:05:42 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 06:05:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:05:42 $ docker stop --time=1 927a6ac4651100239b5c70f34f8df9581a9191be2c31766c5fe677d1c1fd0954 06:05:48 $ docker rm -f --volumes 927a6ac4651100239b5c70f34f8df9581a9191be2c31766c5fe677d1c1fd0954 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:50 + ls -al . 06:05:50 total 712 06:05:50 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 06:04 . 06:05:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 06:02 .. 06:05:50 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 06:02 .dockerignore 06:05:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 06:05 .git 06:05:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 06:02 .github 06:05:50 -rw-rw-r-- 1 jenkins jenkins 137 Oct 3 06:02 .gitignore 06:05:50 -rw-rw-r-- 1 jenkins jenkins 199 Oct 3 06:02 .golangci.yml 06:05:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 06:03 .semver 06:05:50 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 3 06:02 CHANGELOG.md 06:05:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 06:02 GOVERNANCE.md 06:05:50 -rw-rw-r-- 1 jenkins jenkins 885 Oct 3 06:02 Jenkinsfile 06:05:50 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 06:02 LICENSE 06:05:50 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 3 06:02 Makefile 06:05:50 -rw-rw-r-- 1 jenkins jenkins 619 Oct 3 06:02 OWNERS.md 06:05:50 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 3 06:02 README.md 06:05:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 06:03 VERSION 06:05:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 06:02 bin 06:05:50 -rw-r--r-- 1 jenkins jenkins 465883 Oct 3 06:05 coverage.out 06:05:50 drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 06:02 example 06:05:50 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 3 06:02 go.mod 06:05:50 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 3 06:02 go.sum 06:05:50 drwxrwxr-x 13 jenkins jenkins 4096 Oct 3 06:02 internal 06:05:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 06:02 openapi 06:05:50 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 06:02 pkg 06:05:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 06:02 snap 06:05:50 -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:50 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=258bca78eb25b04e773289848cc1a979c5bb6597 --label arch=amd64 --label version=0.0.0 . 06:05:50 Sending build context to Docker daemon 25.92MB 06:05:50 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 06:05:50 Step 2/24 : FROM ${BASE} AS builder 06:05:50 ---> f319c94740f6 06:05:50 Step 3/24 : ARG MAKE=make build 06:05:51 ---> Running in e8dc9622631d 06:05:51 Removing intermediate container e8dc9622631d 06:05:51 ---> 0a5ef7cd8f86 06:05:51 Step 4/24 : WORKDIR /device-sdk-go 06:05:51 ---> Running in 681be1704fe6 06:05:51 Removing intermediate container 681be1704fe6 06:05:51 ---> 16d222ae8020 06:05:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:05:51 ---> Running in 6b5795801231 06:05:51 Removing intermediate container 6b5795801231 06:05:51 ---> 238195b46483 06:05:51 Step 6/24 : RUN apk add --update --no-cache make git 06:05:51 ---> Running in 6c0e0f08f05e 06:05:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:05:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:05:52 OK: 246 MiB in 54 packages 06:05:52 Removing intermediate container 6c0e0f08f05e 06:05:52 ---> 6821d89f27bf 06:05:52 Step 7/24 : COPY go.mod vendor* ./ 06:05:52 ---> ce3ed9abcfc0 06:05:52 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:52 ---> Running in d30393af6142 06:05:53 Removing intermediate container d30393af6142 06:05:53 ---> f09d22bc129f 06:05:53 Step 9/24 : COPY . . 06:05:54 ---> 362302ac3c90 06:05:54 Step 10/24 : RUN ${MAKE} 06:05:54 ---> Running in f18fe6501d85 06:05:54 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:06:27 Removing intermediate container f18fe6501d85 06:06:27 ---> 96d5214c3d27 06:06:27 Step 11/24 : FROM alpine:3.20 06:06:29 3.20: Pulling from library/alpine 06:06:29 43c4264eed91: Already exists 06:06:29 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:06:29 Status: Downloaded newer image for alpine:3.20 06:06:29 ---> 91ef0af61f39 06:06:29 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:06:29 ---> Running in 2e12b4f97afd 06:06:29 Removing intermediate container 2e12b4f97afd 06:06:29 ---> c60b686b278c 06:06:29 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:06:29 ---> Running in 8c20fb85e708 06:06:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:06:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:06:30 (1/1) Installing dumb-init (1.2.5-r3) 06:06:30 Executing busybox-1.36.1-r29.trigger 06:06:30 OK: 8 MiB in 15 packages 06:06:30 Removing intermediate container 8c20fb85e708 06:06:30 ---> 804264981671 06:06:30 Step 14/24 : RUN apk --no-cache upgrade 06:06:30 ---> Running in 6215d956e618 06:06:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:06:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:06:31 Upgrading critical system libraries and apk-tools: 06:06:31 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:06:31 Executing busybox-1.36.1-r29.trigger 06:06:31 Continuing the upgrade transaction with new apk-tools: 06:06:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:06:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:06:31 OK: 8 MiB in 15 packages 06:06:32 Removing intermediate container 6215d956e618 06:06:32 ---> b53282d94a9a 06:06:32 Step 15/24 : WORKDIR / 06:06:32 ---> Running in c28266a1f0b0 06:06:32 Removing intermediate container c28266a1f0b0 06:06:32 ---> af146efc87fd 06:06:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:06:32 ---> 81c41761760b 06:06:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:06:34 ---> 602bf773e04c 06:06:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:06:34 ---> b6a56f3d5180 06:06:34 Step 19/24 : EXPOSE 59999 06:06:34 ---> Running in 1200367b4c79 06:06:34 Removing intermediate container 1200367b4c79 06:06:34 ---> 5c3109bb4f93 06:06:34 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:06:34 ---> Running in 19fca9abfc41 06:06:34 Removing intermediate container 19fca9abfc41 06:06:34 ---> 309372d17873 06:06:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:06:34 ---> Running in 883e1f90226a 06:06:34 Removing intermediate container 883e1f90226a 06:06:34 ---> 2c5bff0fb56f 06:06:34 Step 22/24 : LABEL arch=amd64 06:06:34 ---> Running in de6db31ee16c 06:06:34 Removing intermediate container de6db31ee16c 06:06:34 ---> c36e949ef68e 06:06:34 Step 23/24 : LABEL git_sha=258bca78eb25b04e773289848cc1a979c5bb6597 06:06:34 ---> Running in b8211dcc92fa 06:06:34 Removing intermediate container b8211dcc92fa 06:06:34 ---> e7be476e704d 06:06:34 Step 24/24 : LABEL version=0.0.0 06:06:34 ---> Running in 843c9c5eb553 06:06:34 Removing intermediate container 843c9c5eb553 06:06:34 ---> 2ada80fc6f2a 06:06:34 [Warning] One or more build-args [ARCH] were not consumed 06:06:34 Successfully built 2ada80fc6f2a 06:06:34 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 06:06:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:35 06:06:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:35 latest: Pulling from edgex-lftools-log-publisher 06:06:35 5eb5b503b376: Pulling fs layer 06:06:35 5c69ac0246d0: Pulling fs layer 06:06:35 ec43610c2a17: Pulling fs layer 06:06:35 3a2ae6a8a46f: Pulling fs layer 06:06:35 33b1e0a273af: Pulling fs layer 06:06:35 5d3b04190fa2: Pulling fs layer 06:06:35 2f39f015ded8: Pulling fs layer 06:06:35 33b1e0a273af: Waiting 06:06:35 5d3b04190fa2: Waiting 06:06:35 2f39f015ded8: Waiting 06:06:35 3a2ae6a8a46f: Waiting 06:06:35 5c69ac0246d0: Verifying Checksum 06:06:35 5c69ac0246d0: Download complete 06:06:35 3a2ae6a8a46f: Download complete 06:06:35 33b1e0a273af: Verifying Checksum 06:06:35 33b1e0a273af: Download complete 06:06:35 5d3b04190fa2: Download complete 06:06:35 ec43610c2a17: Verifying Checksum 06:06:35 ec43610c2a17: Download complete 06:06:35 5eb5b503b376: Verifying Checksum 06:06:35 5eb5b503b376: Download complete 06:06:36 2f39f015ded8: Verifying Checksum 06:06:36 2f39f015ded8: Download complete 06:06:37 5eb5b503b376: Pull complete 06:06:37 5c69ac0246d0: Pull complete 06:06:37 ec43610c2a17: Pull complete 06:06:37 3a2ae6a8a46f: Pull complete 06:06:37 33b1e0a273af: Pull complete 06:06:37 5d3b04190fa2: Pull complete 06:06:42 2f39f015ded8: Pull complete 06:06:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:06:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:42 prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container 06:06:42 $ 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-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@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 06:06:47 $ docker top e802799ca45e279cd26ee3e713cbb170edf703b42e8c86f1cf05055cb2f2202e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:47 ---> job-cost.sh 06:06:47 lf-activate-venv: SKIPPING 06:06:47 INFO: No Stack... 06:06:48 INFO: Retrieving Pricing Info for: v3-standard-8 06:06:48 INFO: Archiving Costs [Pipeline] sh 06:06:48 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives/cost.csv 06:06:48 + cut -d, -f6 [Pipeline] lock 06:06:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] 06:06:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] did not exist. Created. 06:06:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:52 + echo total: 0.2199999988079071 [Pipeline] stash 06:06:52 Stashed 1 file(s) [Pipeline] } 06:06:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:52 $ docker stop --time=1 e802799ca45e279cd26ee3e713cbb170edf703b42e8c86f1cf05055cb2f2202e 06:06:53 $ docker rm -f --volumes e802799ca45e279cd26ee3e713cbb170edf703b42e8c86f1cf05055cb2f2202e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:09:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13206 in /w/workspace/gexfoundry_device-sdk-go_PR-1631 [Pipeline] { [Pipeline] ws 06:09:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:09:21 The recommended git tool is: git 06:09:29 using credential edgex-jenkins-ssh 06:09:29 Cloning the remote Git repository 06:09:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:09:29 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:09:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:09:30 > git --version # timeout=10 06:09:30 > git --version # 'git version 2.25.1' 06:09:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:09:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:36 Merging remotes/origin/main commit 473fc5204b06f8a03d3e358a646b11d6e900bdaa into PR head commit 258bca78eb25b04e773289848cc1a979c5bb6597 06:09:36 Merge succeeded, producing 258bca78eb25b04e773289848cc1a979c5bb6597 06:09:36 Checking out Revision 258bca78eb25b04e773289848cc1a979c5bb6597 (PR-1631) 06:09:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:09:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:09:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1631/head:refs/remotes/origin/PR-1631 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:09:36 > git config core.sparsecheckout # timeout=10 06:09:36 > git checkout -f 258bca78eb25b04e773289848cc1a979c5bb6597 # timeout=10 06:09:36 > git remote # timeout=10 06:09:36 > git config --get remote.origin.url # timeout=10 06:09:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:36 > git merge 473fc5204b06f8a03d3e358a646b11d6e900bdaa # timeout=10 06:09:36 > git rev-parse HEAD^{commit} # timeout=10 06:09:36 > git config core.sparsecheckout # timeout=10 06:09:36 > git checkout -f 258bca78eb25b04e773289848cc1a979c5bb6597 # timeout=10 06:09:39 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:09:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:41 Dload Upload Total Spent Left Speed 06:09:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh 06:09:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:09:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:09:42 + sudo tee /etc/docker/daemon.new 06:09:42 { 06:09:42 "registry-mirrors": [ 06:09:42 "https://nexus3.edgexfoundry.org:10001" 06:09:42 ], 06:09:42 "bip": "10.250.0.254/24", 06:09:42 "hosts": [ 06:09:42 "tcp://0.0.0.0:5555", 06:09:42 "unix:///var/run/docker.sock" 06:09:42 ], 06:09:42 "mtu": 1458, 06:09:42 "selinux-enabled": true, 06:09:42 "seccomp-profile": "/etc/docker/seccomp.json" 06:09:42 } [Pipeline] sh 06:09:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:09:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:01 provisioning config files... 06:10:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3399744637340611986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:01 ---> ****-login.sh 06:10:01 nexus3.edgexfoundry.org:10001 06:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:02 Configure a credential helper to remove this warning. See 06:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:02 06:10:02 Login Succeeded 06:10:02 nexus3.edgexfoundry.org:10002 06:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:02 Configure a credential helper to remove this warning. See 06:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:02 06:10:02 Login Succeeded 06:10:02 nexus3.edgexfoundry.org:10003 06:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:03 Configure a credential helper to remove this warning. See 06:10:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:03 06:10:03 Login Succeeded 06:10:03 nexus3.edgexfoundry.org:10004 06:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:03 Configure a credential helper to remove this warning. See 06:10:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:03 06:10:03 Login Succeeded 06:10:03 ****.io 06:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:03 Configure a credential helper to remove this warning. See 06:10:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:03 06:10:03 Login Succeeded 06:10:03 ---> ****-login.sh ends [Pipeline] } 06:10:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:10:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:10:04 ========================================================= 06:10:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:10:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:04 + 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 . 06:10:05 Sending build context to Docker daemon 13.21MB 06:10:05 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:10:05 Step 2/10 : FROM ${BASE} AS builder 06:10:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:10:05 cf04c63912e1: Pulling fs layer 06:10:05 55b35a11ae5e: Pulling fs layer 06:10:05 a37a00ec5f00: Pulling fs layer 06:10:05 50b3750afda1: Pulling fs layer 06:10:05 4f4fb700ef54: Pulling fs layer 06:10:05 80978eb59214: Pulling fs layer 06:10:05 c9f46d7d2bd2: Pulling fs layer 06:10:05 c5a475d317c9: Pulling fs layer 06:10:05 4f4fb700ef54: Waiting 06:10:05 80978eb59214: Waiting 06:10:05 c9f46d7d2bd2: Waiting 06:10:05 c5a475d317c9: Waiting 06:10:05 50b3750afda1: Waiting 06:10:05 55b35a11ae5e: Download complete 06:10:05 50b3750afda1: Verifying Checksum 06:10:05 50b3750afda1: Download complete 06:10:05 4f4fb700ef54: Verifying Checksum 06:10:05 4f4fb700ef54: Download complete 06:10:05 80978eb59214: Download complete 06:10:05 cf04c63912e1: Verifying Checksum 06:10:05 cf04c63912e1: Download complete 06:10:06 c5a475d317c9: Verifying Checksum 06:10:06 c5a475d317c9: Download complete 06:10:06 cf04c63912e1: Pull complete 06:10:07 55b35a11ae5e: Pull complete 06:10:07 a37a00ec5f00: Verifying Checksum 06:10:07 a37a00ec5f00: Download complete 06:10:08 c9f46d7d2bd2: Verifying Checksum 06:10:08 c9f46d7d2bd2: Download complete 06:10:20 a37a00ec5f00: Pull complete 06:10:20 50b3750afda1: Pull complete 06:10:21 4f4fb700ef54: Pull complete 06:10:21 80978eb59214: Pull complete 06:10:29 c9f46d7d2bd2: Pull complete 06:10:30 c5a475d317c9: Pull complete 06:10:30 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 06:10:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:10:30 ---> be29e6b0f0d4 06:10:30 Step 3/10 : ARG MAKE=make build 06:10:31 ---> Running in 33c0191c33e2 06:10:31 Removing intermediate container 33c0191c33e2 06:10:31 ---> 8c1268a65db0 06:10:31 Step 4/10 : WORKDIR /device-sdk-go 06:10:31 ---> Running in 4272c4a90356 06:10:32 Removing intermediate container 4272c4a90356 06:10:32 ---> 449fdafaa93e 06:10:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:10:32 ---> Running in 1a1c58e32b8c 06:10:32 Removing intermediate container 1a1c58e32b8c 06:10:32 ---> 39318e47e615 06:10:32 Step 6/10 : RUN apk add --update --no-cache make git 06:10:32 ---> Running in 848847f24647 06:10:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:10:35 OK: 238 MiB in 54 packages 06:10:37 Removing intermediate container 848847f24647 06:10:37 ---> 7e4825705fb7 06:10:37 Step 7/10 : COPY go.mod vendor* ./ 06:10:37 ---> 26463b54355e 06:10:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:37 ---> Running in 02c9eb8ecec5 06:12:29 Removing intermediate container 02c9eb8ecec5 06:12:29 ---> faeb68946148 06:12:29 Step 9/10 : COPY . . 06:12:29 ---> eac1a2646600 06:12:29 Step 10/10 : RUN ${MAKE} 06:12:29 ---> Running in 6863b7b624d4 06:12:29 noop 06:12:29 Removing intermediate container 6863b7b624d4 06:12:29 ---> cdc21ab1ec9a 06:12:29 Successfully built cdc21ab1ec9a 06:12:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:29 + docker inspect -f . ci-base-image-arm64 06:12:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:30 prd-ubuntu20.04-docker-arm64-4c-16g-13206 does not seem to be running inside a container 06:12:30 $ 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 06:12:31 $ docker top c93267a2af4eb94daf909ce4abeb6c7f5ea818cba4b789efd8a2bf2b7928ad33 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:32 + go version 06:12:32 go version go1.23.2 linux/arm64 [Pipeline] } 06:12:32 $ docker stop --time=1 c93267a2af4eb94daf909ce4abeb6c7f5ea818cba4b789efd8a2bf2b7928ad33 06:12:33 $ docker rm -f --volumes c93267a2af4eb94daf909ce4abeb6c7f5ea818cba4b789efd8a2bf2b7928ad33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:34 + docker inspect -f . ci-base-image-arm64 06:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:34 prd-ubuntu20.04-docker-arm64-4c-16g-13206 does not seem to be running inside a container 06:12:34 $ 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 06:12:35 $ docker top 0ed2452d8f2c531968ed7e7535f3f9dae03e0dc9c964f5cb79ec308d98698e1e -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:36 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 06:12:37 + make test 06:12:37 go test -race -coverprofile=coverage.out ./... 06:13:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:16:45 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 06:16:45 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 06:16:45 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 06:16:45 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 06:16:45 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 06:16:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.152s coverage: 26.0% of statements 06:16:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.192s coverage: 79.4% of statements 06:17:04 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 06:17:04 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 06:17:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.278s coverage: 86.0% of statements 06:17:17 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 06:17:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.550s coverage: 45.2% of statements 06:17:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.253s coverage: 14.1% of statements 06:17:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.125s coverage: 44.6% of statements 06:17:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:17:22 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 06:17:22 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 06:17:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.374s coverage: 68.5% of statements 06:17:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.363s coverage: 89.2% of statements 06:17:35 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 06:17:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.338s coverage: 5.3% of statements 06:17:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:17:36 GO111MODULE=on go vet ./... 06:21:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:21:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:21:29 ./bin/test-attribution-txt.sh 06:21:29 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 06:21:29 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 06:21:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:21:29 $ docker stop --time=1 0ed2452d8f2c531968ed7e7535f3f9dae03e0dc9c964f5cb79ec308d98698e1e 06:21:31 $ docker rm -f --volumes 0ed2452d8f2c531968ed7e7535f3f9dae03e0dc9c964f5cb79ec308d98698e1e [Pipeline] // withDockerContainer [Pipeline] sh 06:21:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:21:34 Warning: overwriting stash ‘coverage-report’ 06:21:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:21:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:21:35 + ls -al . 06:21:35 total 708 06:21:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 06:12 . 06:21:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 06:09 .. 06:21:35 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 06:09 .dockerignore 06:21:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 06:09 .git 06:21:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 06:09 .github 06:21:35 -rw-rw-r-- 1 jenkins jenkins 137 Oct 3 06:09 .gitignore 06:21:35 -rw-rw-r-- 1 jenkins jenkins 199 Oct 3 06:09 .golangci.yml 06:21:35 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 3 06:09 CHANGELOG.md 06:21:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 06:09 GOVERNANCE.md 06:21:35 -rw-rw-r-- 1 jenkins jenkins 885 Oct 3 06:09 Jenkinsfile 06:21:35 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 06:09 LICENSE 06:21:35 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 3 06:09 Makefile 06:21:35 -rw-rw-r-- 1 jenkins jenkins 619 Oct 3 06:09 OWNERS.md 06:21:35 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 3 06:09 README.md 06:21:35 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 06:03 VERSION 06:21:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 06:09 bin 06:21:35 -rw-r--r-- 1 jenkins jenkins 465881 Oct 3 06:17 coverage.out 06:21:35 drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 06:09 example 06:21:35 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 3 06:09 go.mod 06:21:35 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 3 06:09 go.sum 06:21:35 drwxrwxr-x 13 jenkins jenkins 4096 Oct 3 06:09 internal 06:21:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 06:09 openapi 06:21:35 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 06:09 pkg 06:21:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 06:09 snap 06:21:35 -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:35 + 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=258bca78eb25b04e773289848cc1a979c5bb6597 --label arch=arm64 --label version=0.0.0 . 06:21:36 Sending build context to Docker daemon 13.68MB 06:21:36 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 06:21:36 Step 2/24 : FROM ${BASE} AS builder 06:21:36 ---> cdc21ab1ec9a 06:21:36 Step 3/24 : ARG MAKE=make build 06:21:36 ---> Running in 20a788529357 06:21:37 Removing intermediate container 20a788529357 06:21:37 ---> 09fbb1297f44 06:21:37 Step 4/24 : WORKDIR /device-sdk-go 06:21:37 ---> Running in 806f7e63b367 06:21:37 Removing intermediate container 806f7e63b367 06:21:37 ---> 057d166af26e 06:21:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:21:37 ---> Running in 721cee9fa49c 06:21:38 Removing intermediate container 721cee9fa49c 06:21:38 ---> b59d62e24065 06:21:38 Step 6/24 : RUN apk add --update --no-cache make git 06:21:38 ---> Running in d852dbbe87ce 06:21:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:21:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:21:41 OK: 238 MiB in 54 packages 06:21:42 Removing intermediate container d852dbbe87ce 06:21:42 ---> 73ce34bc42e3 06:21:42 Step 7/24 : COPY go.mod vendor* ./ 06:21:42 ---> 3e0fa8ccc799 06:21:42 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:21:43 ---> Running in 40424afb81f5 06:21:45 Removing intermediate container 40424afb81f5 06:21:45 ---> fc8e45fdfd78 06:21:45 Step 9/24 : COPY . . 06:21:47 ---> 0d1e16c2f952 06:21:47 Step 10/24 : RUN ${MAKE} 06:21:47 ---> Running in c35958943b9f 06:21:48 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:25:55 Removing intermediate container c35958943b9f 06:25:55 ---> 811c58998caa 06:25:55 Step 11/24 : FROM alpine:3.20 06:25:55 3.20: Pulling from library/alpine 06:25:55 cf04c63912e1: Already exists 06:25:55 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:25:55 Status: Downloaded newer image for alpine:3.20 06:25:55 ---> c157a85ed455 06:25:55 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:25:55 ---> Running in 77eb8a05bbdd 06:25:55 Removing intermediate container 77eb8a05bbdd 06:25:55 ---> 5d6b2e0ead9c 06:25:55 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:25:55 ---> Running in 281e29f1579a 06:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:25:55 (1/1) Installing dumb-init (1.2.5-r3) 06:25:55 Executing busybox-1.36.1-r29.trigger 06:25:55 OK: 9 MiB in 15 packages 06:25:55 Removing intermediate container 281e29f1579a 06:25:55 ---> 3c07bfd2d47c 06:25:55 Step 14/24 : RUN apk --no-cache upgrade 06:25:55 ---> Running in 8ffd2d9bd111 06:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:25:55 Upgrading critical system libraries and apk-tools: 06:25:55 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:25:55 Executing busybox-1.36.1-r29.trigger 06:25:55 Continuing the upgrade transaction with new apk-tools: 06:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:25:55 OK: 9 MiB in 15 packages 06:25:56 Removing intermediate container 8ffd2d9bd111 06:25:56 ---> 7cb3adc3fcd8 06:25:56 Step 15/24 : WORKDIR / 06:25:56 ---> Running in 22a221dfb350 06:25:56 Removing intermediate container 22a221dfb350 06:25:56 ---> 7712c4bbdf51 06:25:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:25:56 ---> 466d9f2ed8e1 06:25:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:25:58 ---> 02570703edcc 06:25:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:25:59 ---> d2ee1936c2fe 06:25:59 Step 19/24 : EXPOSE 59999 06:25:59 ---> Running in 352715ff7bfa 06:25:59 Removing intermediate container 352715ff7bfa 06:25:59 ---> 6ec87234a711 06:25:59 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:25:59 ---> Running in b70b72ca2eca 06:25:59 Removing intermediate container b70b72ca2eca 06:25:59 ---> aa3605aec469 06:25:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:25:59 ---> Running in 5626c9b27f87 06:26:00 Removing intermediate container 5626c9b27f87 06:26:00 ---> af05f929543f 06:26:00 Step 22/24 : LABEL arch=arm64 06:26:00 ---> Running in d3ef551478e6 06:26:00 Removing intermediate container d3ef551478e6 06:26:00 ---> 5c3671421b2e 06:26:00 Step 23/24 : LABEL git_sha=258bca78eb25b04e773289848cc1a979c5bb6597 06:26:00 ---> Running in 263268a59359 06:26:01 Removing intermediate container 263268a59359 06:26:01 ---> 69be556d39cb 06:26:01 Step 24/24 : LABEL version=0.0.0 06:26:01 ---> Running in a157c4d8b5a4 06:26:01 Removing intermediate container a157c4d8b5a4 06:26:01 ---> 837258de0edd 06:26:01 [Warning] One or more build-args [ARCH] were not consumed 06:26:01 Successfully built 837258de0edd 06:26:01 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 06:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:02 06:26:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:02 arm64: Pulling from edgex-lftools-log-publisher 06:26:02 8998bd30e6a1: Pulling fs layer 06:26:02 04944245beec: Pulling fs layer 06:26:02 699f458cf7ca: Pulling fs layer 06:26:02 765212b225bb: Pulling fs layer 06:26:02 f23df028b6ca: Pulling fs layer 06:26:02 d65c8cfc05b1: Pulling fs layer 06:26:02 2437ff75d9bd: Pulling fs layer 06:26:02 765212b225bb: Waiting 06:26:02 f23df028b6ca: Waiting 06:26:02 d65c8cfc05b1: Waiting 06:26:02 2437ff75d9bd: Waiting 06:26:02 04944245beec: Verifying Checksum 06:26:02 04944245beec: Download complete 06:26:02 765212b225bb: Verifying Checksum 06:26:02 765212b225bb: Download complete 06:26:02 f23df028b6ca: Verifying Checksum 06:26:02 f23df028b6ca: Download complete 06:26:02 d65c8cfc05b1: Verifying Checksum 06:26:02 d65c8cfc05b1: Download complete 06:26:02 699f458cf7ca: Verifying Checksum 06:26:02 699f458cf7ca: Download complete 06:26:03 8998bd30e6a1: Verifying Checksum 06:26:03 8998bd30e6a1: Download complete 06:26:05 2437ff75d9bd: Verifying Checksum 06:26:05 2437ff75d9bd: Download complete 06:26:07 8998bd30e6a1: Pull complete 06:26:07 04944245beec: Pull complete 06:26:09 699f458cf7ca: Pull complete 06:26:09 765212b225bb: Pull complete 06:26:10 f23df028b6ca: Pull complete 06:26:10 d65c8cfc05b1: Pull complete 06:26:29 2437ff75d9bd: Pull complete 06:26:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:26:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:29 prd-ubuntu20.04-docker-arm64-4c-16g-13206 does not seem to be running inside a container 06:26:29 $ 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 06:26:32 $ docker top d68f45a889bef4bede0a918e7549bbfa3a08d449a4b6e37b3f97a91402d2dc36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:32 ---> job-cost.sh 06:26:32 lf-activate-venv: SKIPPING 06:26:32 INFO: No Stack... 06:26:33 INFO: Retrieving Pricing Info for: v3-standard-4 06:26:34 INFO: Archiving Costs [Pipeline] sh 06:26:34 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 06:26:34 + cut -d, -f6 [Pipeline] lock 06:26:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] 06:26:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] did not exist. Created. 06:26:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:26:35 /w/workspace/device-sdk-go/2@tmp/durable-bdbed77b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:26:36 + echo total: 0.10999999940395355 [Pipeline] stash 06:26:36 Warning: overwriting stash ‘stack-cost’ 06:26:36 Stashed 1 file(s) [Pipeline] } 06:26:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:26:36 $ docker stop --time=1 d68f45a889bef4bede0a918e7549bbfa3a08d449a4b6e37b3f97a91402d2dc36 06:26:37 $ docker rm -f --volumes d68f45a889bef4bede0a918e7549bbfa3a08d449a4b6e37b3f97a91402d2dc36 [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 06:26:38 provisioning config files... 06:26:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/config7107099958967814720tmp [Pipeline] { [Pipeline] sh 06:26:38 + set +x 06:26:38 + bash -s -- 06:26:38 + curl -s https://codecov.io/bash 06:26:38 06:26:38 _____ _ 06:26:38 / ____| | | 06:26:38 | | ___ __| | ___ ___ _____ __ 06:26:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:26:38 | |___| (_) | (_| | __/ (_| (_) \ V / 06:26:38 \_____\___/ \__,_|\___|\___\___/ \_/ 06:26:38 Bash-1.0.6 06:26:38 06:26:38 06:26:38 ==> git version 2.25.1 found 06:26:38 ==> 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 06:26:38 Release-Date: 2020-01-08 06:26:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:26:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:26:38 ==> Jenkins CI detected. 06:26:38 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1631 06:26:38 project root: . 06:26:38 --> token set from env 06:26:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:26:38 ==> Running gcov in . (disable via -X gcov) 06:26:38 ==> Python coveragepy not found 06:26:38 ==> Searching for coverage reports in: 06:26:38 + . 06:26:38 -> Found 1 reports 06:26:38 ==> Detecting git/mercurial file structure 06:26:38 ==> Reading reports 06:26:38 + ./coverage.out bytes=465881 06:26:38 ==> Appending adjustments 06:26:38 https://docs.codecov.io/docs/fixing-reports 06:26:39 + Found adjustments 06:26:39 ==> Gzipping contents 06:26:39 44K /tmp/codecov.2D1OXl.gz 06:26:39 ==> Uploading reports 06:26:39 url: https://codecov.io 06:26:39 query: branch=PR-1631&commit=258bca78eb25b04e773289848cc1a979c5bb6597&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1631%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1631&job=&cmd_args= 06:26:39 -> Pinging Codecov 06:26:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1631&commit=258bca78eb25b04e773289848cc1a979c5bb6597&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1631%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1631&job=&cmd_args= 06:26:39 -> Uploading to 06:26:39 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/258bca78eb25b04e773289848cc1a979c5bb6597/ae7d4024-045f-4265-98ea-65ec8d4f7c75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241003%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241003T062639Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9840b36d27d1a2abadee715b414e7bfb65bc9461de5f1a434e20795f23115c29 06:26:39 % Total % Received % Xferd Average Speed Time Time Time Current 06:26:39 Dload Upload Total Spent Left Speed 06:26:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44517 0 0 100 44517 0 153k --:--:-- --:--:-- --:--:-- 153k 06:26:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] } 06:26:39 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 06:26:40 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives ] 06:26:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives 06:26:40 total 16 06:26:40 drwxr-xr-x 3 root root 4096 Oct 3 06:06 . 06:26:40 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 06:06 .. 06:26:40 drwxr-xr-x 2 root root 4096 Oct 3 06:06 cost 06:26:40 -rw-r--r-- 1 root root 86 Oct 3 06:06 cost.csv 06:26:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives 06:26:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives 06:26:40 total 16 06:26:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 06:06 . 06:26:40 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 06:06 .. 06:26:40 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 06:06 cost 06:26:40 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:26:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:26:41 ---> package-listing.sh 06:26:41 ++ facter osfamily 06:26:41 ++ tr '[:upper:]' '[:lower:]' 06:26:42 + OS_FAMILY=debian 06:26:42 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1631 06:26:42 + START_PACKAGES=/tmp/packages_start.txt 06:26:42 + END_PACKAGES=/tmp/packages_end.txt 06:26:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:26:42 + PACKAGES=/tmp/packages_start.txt 06:26:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1631 ']' 06:26:42 + PACKAGES=/tmp/packages_end.txt 06:26:42 + case "${OS_FAMILY}" in 06:26:42 + dpkg -l 06:26:42 + grep '^ii' 06:26:42 + '[' -f /tmp/packages_start.txt ']' 06:26:42 + '[' -f /tmp/packages_end.txt ']' 06:26:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:26:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1631 ']' 06:26:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives/ 06:26:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives/ [Pipeline] echo 06:26:42 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-1631/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:26:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:42 prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container 06:26:42 $ 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-1631/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-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@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 06:26:43 $ docker top c66d34723713cc866b479eceb9927bbe49d9863a06d57cc11795a07941211c73 -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:43 + touch /tmp/pre-build-complete [Pipeline] sh 06:26:43 + mkdir -p /var/log/sysstat [Pipeline] sh 06:26:44 + ls /var/log/sa-host 06:26:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:44 provisioning config files... 06:26:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/config9806978226642988423tmp [Pipeline] { [Pipeline] echo 06:26:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:26:44 ---> create-netrc.sh [Pipeline] } 06:26:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:26:44 ---> python-tools-install.sh [Pipeline] echo 06:26:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:26:45 ---> sudo-logs.sh 06:26:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:26:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:26:45 ---> job-cost.sh 06:26:45 lf-activate-venv: SKIPPING 06:26:45 DEBUG: total: 0.2199999988079071 06:26:45 INFO: Retrieving Stack Cost... 06:26:45 INFO: Retrieving Pricing Info for: v3-standard-8 06:26:46 INFO: Archiving Costs [Pipeline] echo 06:26:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:26:46 ---> logs-deploy.sh 06:26:46 lf-activate-venv: SKIPPING 06:26:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1631/2 06:26:46 INFO: archiving workspace using pattern(s): 06:26:47 Archives upload complete. 06:26:47 INFO: archiving logs to Nexus