Pull request #1641 opened 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 cherrycl for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 8f827bd74a4c847a61608dcbc9d76980c13265ba+791e3808a6f22236528886c5f30bc95897a4d2de (25520c789dfe3715faac57806cd3d79f041724d8) 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-ssh13461391049165191806.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-ssh17881679168481564485.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10675674354114044087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4811349418846861314.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1146854660147733481.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9933451997030625572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-23469’ Running on prd-ubuntu20.04-docker-8c-8g-23472 in /w/workspace/gexfoundry_device-sdk-go_PR-1641 [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-1641 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1641/head:refs/remotes/origin/PR-1641 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 791e3808a6f22236528886c5f30bc95897a4d2de into PR head commit 8f827bd74a4c847a61608dcbc9d76980c13265ba Merge succeeded, producing 8f827bd74a4c847a61608dcbc9d76980c13265ba Checking out Revision 8f827bd74a4c847a61608dcbc9d76980c13265ba (PR-1641) > git config core.sparsecheckout # timeout=10 > git checkout -f 8f827bd74a4c847a61608dcbc9d76980c13265ba # 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 791e3808a6f22236528886c5f30bc95897a4d2de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f827bd74a4c847a61608dcbc9d76980c13265ba # timeout=10 Commit message: "fix: Move API document files from openapi/v3 to openapi" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:06:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:06:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:06:13 ========================================================= 06:06:13 EdgeX Global Pipelines Version Info 06:06:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:06:14 ------------------- 06:06:14 stable info: 06:06:14 ------------------- 06:06:14 Commited By: Ginny Guan ginny@iotechsys.com 06:06:14 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 06:06:14 Message: update stable to v1.0.265 06:06:14 ------------------- 06:06:14 experimental info: 06:06:14 ------------------- 06:06:14 Commited By: Cherry Wang cherry@iotechsys.com 06:06:14 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:06:14 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:06:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:06:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:06:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:06:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1641 [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1641 [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1641 [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f827bd [Pipeline] echo 06:06:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:16 provisioning config files... 06:06:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/config5021252020152234395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:17 ---> ****-login.sh 06:06:17 nexus3.edgexfoundry.org:10001 06:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:17 Configure a credential helper to remove this warning. See 06:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:17 06:06:17 Login Succeeded 06:06:17 nexus3.edgexfoundry.org:10002 06:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:17 Configure a credential helper to remove this warning. See 06:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:17 06:06:17 Login Succeeded 06:06:17 nexus3.edgexfoundry.org:10003 06:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:18 Configure a credential helper to remove this warning. See 06:06:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:18 06:06:18 Login Succeeded 06:06:18 nexus3.edgexfoundry.org:10004 06:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:18 Configure a credential helper to remove this warning. See 06:06:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:18 06:06:18 Login Succeeded 06:06:18 ****.io 06:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:18 Configure a credential helper to remove this warning. See 06:06:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:18 06:06:18 Login Succeeded 06:06:18 ---> ****-login.sh ends [Pipeline] } 06:06:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:06:19 + git rev-list -1 --merges 8f827bd74a4c847a61608dcbc9d76980c13265ba~1..8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] echo 06:06:19 -----------> git rev-list -1 --merges 8f827bd74a4c847a61608dcbc9d76980c13265ba~1..8f827bd74a4c847a61608dcbc9d76980c13265ba 8f827bd74a4c847a61608dcbc9d76980c13265ba [false] [Pipeline] sh 06:06:19 + git log --format=format:%s -1 8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] echo 06:06:19 ========================================================= 06:06:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:06:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:19 + git log --format=format:%s -1 8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] echo 06:06:19 [semverPrep] GIT_COMMIT: 8f827bd74a4c847a61608dcbc9d76980c13265ba, Commit Message: fix: Move API document files from openapi/v3 to openapi [Pipeline] echo 06:06:20 [semverPrep] This is not a build commit. [Pipeline] sh 06:06:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:06:20 + grep -v github /etc/ssh/ssh_known_hosts 06:06:20 + [ -e /tmp/ssh_known_hosts ] 06:06:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:06:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:06:20 + sudo tee -a /etc/ssh/ssh_known_hosts 06:06:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:21 06:06:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:21 0.1.4: Pulling from edgex-devops/py-git-semver 06:06:21 b85a868b505f: Pulling fs layer 06:06:21 e2be974225ed: Pulling fs layer 06:06:21 339a4e72a1f5: Pulling fs layer 06:06:21 988bab9f4d93: Pulling fs layer 06:06:21 1469e6f7b9e6: Pulling fs layer 06:06:21 eaf3925da568: Pulling fs layer 06:06:21 bab4dde63d76: Pulling fs layer 06:06:21 bde34c3a00c8: Pulling fs layer 06:06:21 b352a97aabf1: Pulling fs layer 06:06:21 4872d77fe225: Pulling fs layer 06:06:21 5851b861e8e6: Pulling fs layer 06:06:21 988bab9f4d93: Waiting 06:06:21 1469e6f7b9e6: Waiting 06:06:21 eaf3925da568: Waiting 06:06:21 bab4dde63d76: Waiting 06:06:21 bde34c3a00c8: Waiting 06:06:21 b352a97aabf1: Waiting 06:06:21 4872d77fe225: Waiting 06:06:21 5851b861e8e6: Waiting 06:06:21 e2be974225ed: Verifying Checksum 06:06:21 988bab9f4d93: Verifying Checksum 06:06:21 988bab9f4d93: Download complete 06:06:21 1469e6f7b9e6: Verifying Checksum 06:06:21 1469e6f7b9e6: Download complete 06:06:21 339a4e72a1f5: Verifying Checksum 06:06:21 eaf3925da568: Verifying Checksum 06:06:21 339a4e72a1f5: Download complete 06:06:21 eaf3925da568: Download complete 06:06:21 bde34c3a00c8: Verifying Checksum 06:06:21 bde34c3a00c8: Download complete 06:06:21 b352a97aabf1: Verifying Checksum 06:06:21 b352a97aabf1: Download complete 06:06:21 4872d77fe225: Verifying Checksum 06:06:21 4872d77fe225: Download complete 06:06:21 5851b861e8e6: Verifying Checksum 06:06:21 5851b861e8e6: Download complete 06:06:21 b85a868b505f: Verifying Checksum 06:06:21 b85a868b505f: Download complete 06:06:21 bab4dde63d76: Verifying Checksum 06:06:21 bab4dde63d76: Download complete 06:06:22 b85a868b505f: Pull complete 06:06:23 e2be974225ed: Pull complete 06:06:23 339a4e72a1f5: Pull complete 06:06:23 988bab9f4d93: Pull complete 06:06:23 1469e6f7b9e6: Pull complete 06:06:23 eaf3925da568: Pull complete 06:06:26 bab4dde63d76: Pull complete 06:06:26 bde34c3a00c8: Pull complete 06:06:26 b352a97aabf1: Pull complete 06:06:26 4872d77fe225: Pull complete 06:06:26 5851b861e8e6: Pull complete 06:06:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:06:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:26 prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container 06:06:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:06:29 $ docker top d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 -eo pid,comm 06:06:29 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:06:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:06:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:29 [ssh-agent] Looking for ssh-agent implementation... 06:06:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:30 $ docker exec d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 ssh-agent 06:06:30 SSH_AUTH_SOCK=/tmp/ssh-VYimfItzX5dD/agent.32 06:06:30 SSH_AGENT_PID=38 06:06:30 Running ssh-add (command line suppressed) 06:06:30 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/private_key_8408336640117504570.key (/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/private_key_8408336640117504570.key) 06:06:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:30 + git tag --points-at HEAD [Pipeline] } 06:06:30 $ docker exec --env ******** --env ******** d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 ssh-agent -k 06:06:30 unset SSH_AUTH_SOCK; 06:06:30 unset SSH_AGENT_PID; 06:06:30 echo Agent pid 38 killed; 06:06:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:06:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:30 [ssh-agent] Looking for ssh-agent implementation... 06:06:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:31 $ docker exec d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 ssh-agent 06:06:31 SSH_AUTH_SOCK=/tmp/ssh-olTLqmIEzwuG/agent.71 06:06:31 SSH_AGENT_PID=77 06:06:31 Running ssh-add (command line suppressed) 06:06:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/private_key_951121421202183464.key (/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/private_key_951121421202183464.key) 06:06:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:31 + git semver init 06:06:31 2024-10-22 06:06:31,852 [run_init] DEBUG init version:0.0.0 force:False 06:06:31 2024-10-22 06:06:31,853 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver 06:06:31 2024-10-22 06:06:31,853 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver 06:06:31 2024-10-22 06:06:31,853 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1641, universal_newlines=False, shell=None, istream=None) 06:06:34 2024-10-22 06:06:33,992 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641/.git/info/exclude 06:06:34 2024-10-22 06:06:33,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver/PR-1641 with force:False 06:06:34 2024-10-22 06:06:33,993 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver/PR-1641 06:06:34 2024-10-22 06:06:33,998 [execute] INFO git cat-file --batch-check 06:06:34 2024-10-22 06:06:33,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver, universal_newlines=False, shell=None, istream=) 06:06:34 2024-10-22 06:06:34,004 [execute] INFO git cat-file --batch 06:06:34 2024-10-22 06:06:34,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver, universal_newlines=False, shell=None, istream=) 06:06:34 2024-10-22 06:06:34,010 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver/PR-1641 06:06:34 0.0.0 [Pipeline] } 06:06:34 $ docker exec --env ******** --env ******** d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 ssh-agent -k 06:06:34 unset SSH_AUTH_SOCK; 06:06:34 unset SSH_AGENT_PID; 06:06:34 echo Agent pid 77 killed; 06:06:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:35 + git semver [Pipeline] } 06:06:35 $ docker stop --time=1 d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 06:06:36 $ docker rm -f --volumes d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 [Pipeline] // withDockerContainer [Pipeline] sh 06:06:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:06:37 Stashed 1 file(s) [Pipeline] echo 06:06:37 [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:06:38 provisioning config files... 06:06:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/config14471667887258937902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:38 ---> ****-login.sh 06:06:38 nexus3.edgexfoundry.org:10001 06:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:38 Configure a credential helper to remove this warning. See 06:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:38 06:06:38 Login Succeeded 06:06:38 nexus3.edgexfoundry.org:10002 06:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:38 Configure a credential helper to remove this warning. See 06:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:38 06:06:38 Login Succeeded 06:06:38 nexus3.edgexfoundry.org:10003 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:39 Configure a credential helper to remove this warning. See 06:06:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:39 06:06:39 Login Succeeded 06:06:39 nexus3.edgexfoundry.org:10004 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:39 Configure a credential helper to remove this warning. See 06:06:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:39 06:06:39 Login Succeeded 06:06:39 ****.io 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:39 Configure a credential helper to remove this warning. See 06:06:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:39 06:06:39 Login Succeeded 06:06:39 ---> ****-login.sh ends [Pipeline] } 06:06:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:06:39 ========================================================= 06:06:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:06:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:40 + 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:06:40 Sending build context to Docker daemon 25.49MB 06:06:40 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:06:40 Step 2/10 : FROM ${BASE} AS builder 06:06:40 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:06:40 43c4264eed91: Pulling fs layer 06:06:40 4cc291be95ef: Pulling fs layer 06:06:40 2ac1f1163629: Pulling fs layer 06:06:40 5c3c966382ef: Pulling fs layer 06:06:40 4f4fb700ef54: Pulling fs layer 06:06:40 5d5c8e513c77: Pulling fs layer 06:06:40 4f4fb700ef54: Waiting 06:06:40 5c3c966382ef: Waiting 06:06:40 9f66e0745190: Pulling fs layer 06:06:40 f49a43e4bbc0: Pulling fs layer 06:06:40 561ebcabdf7f: Pulling fs layer 06:06:40 9f66e0745190: Waiting 06:06:40 5d5c8e513c77: Waiting 06:06:40 f49a43e4bbc0: Waiting 06:06:40 561ebcabdf7f: Waiting 06:06:40 4cc291be95ef: Download complete 06:06:40 5c3c966382ef: Verifying Checksum 06:06:40 5c3c966382ef: Download complete 06:06:40 4f4fb700ef54: Verifying Checksum 06:06:40 5d5c8e513c77: Verifying Checksum 06:06:40 5d5c8e513c77: Download complete 06:06:40 43c4264eed91: Verifying Checksum 06:06:40 43c4264eed91: Download complete 06:06:40 9f66e0745190: Verifying Checksum 06:06:40 9f66e0745190: Download complete 06:06:40 43c4264eed91: Pull complete 06:06:40 561ebcabdf7f: Download complete 06:06:40 4cc291be95ef: Pull complete 06:06:40 2ac1f1163629: Verifying Checksum 06:06:40 2ac1f1163629: Download complete 06:06:41 f49a43e4bbc0: Verifying Checksum 06:06:41 f49a43e4bbc0: Download complete 06:06:44 2ac1f1163629: Pull complete 06:06:44 5c3c966382ef: Pull complete 06:06:44 4f4fb700ef54: Pull complete 06:06:44 5d5c8e513c77: Pull complete 06:06:44 9f66e0745190: Pull complete 06:06:47 f49a43e4bbc0: Pull complete 06:06:47 561ebcabdf7f: Pull complete 06:06:47 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 06:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:06:47 ---> 3a752c3f9dda 06:06:47 Step 3/10 : ARG MAKE=make build 06:06:51 ---> Running in d9954292d041 06:06:51 Removing intermediate container d9954292d041 06:06:51 ---> 67be5687ebb7 06:06:51 Step 4/10 : WORKDIR /device-sdk-go 06:06:51 ---> Running in f755616c7448 06:06:51 Removing intermediate container f755616c7448 06:06:51 ---> ef6124fae7ad 06:06:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:06:51 ---> Running in ff073ca63a91 06:06:52 Removing intermediate container ff073ca63a91 06:06:52 ---> 7e431a52fa12 06:06:52 Step 6/10 : RUN apk add --update --no-cache make git 06:06:52 ---> Running in 1dd01a71847a 06:06:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:06:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:06:52 OK: 246 MiB in 54 packages 06:06:53 Removing intermediate container 1dd01a71847a 06:06:53 ---> ece0a8c6f0d4 06:06:53 Step 7/10 : COPY go.mod vendor* ./ 06:06:53 ---> 22a64c089c8c 06:06:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:53 ---> Running in c4d4a674ca8f 06:06:53 Still waiting to schedule task 06:06:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23470’ 06:07:40 Removing intermediate container c4d4a674ca8f 06:07:40 ---> 754c8c6ac522 06:07:40 Step 9/10 : COPY . . 06:07:41 ---> 69ceb9ff127c 06:07:41 Step 10/10 : RUN ${MAKE} 06:07:41 ---> Running in 6eefd3565a2f 06:07:41 noop 06:07:41 Removing intermediate container 6eefd3565a2f 06:07:41 ---> 7557335cbc15 06:07:41 Successfully built 7557335cbc15 06:07:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:42 + docker inspect -f . ci-base-image-x86_64 06:07:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:42 prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container 06:07:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:07:42 $ docker top 0cf0cc9cb4c70dc0450cea1eb447d7dac87593aefb00df868da4eeba7f6360df -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:43 + go version 06:07:43 go version go1.23.2 linux/amd64 [Pipeline] } 06:07:43 $ docker stop --time=1 0cf0cc9cb4c70dc0450cea1eb447d7dac87593aefb00df868da4eeba7f6360df 06:07:44 $ docker rm -f --volumes 0cf0cc9cb4c70dc0450cea1eb447d7dac87593aefb00df868da4eeba7f6360df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:45 + docker inspect -f . ci-base-image-x86_64 06:07:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:45 prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container 06:07:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:07:45 $ docker top 2eb94a3cf4f2fc106599884817f6f72f0e24bf64442f55be933b82618ae5bad0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1641 [Pipeline] fileExists [Pipeline] sh 06:07:46 + make test 06:07:46 go test -race -coverprofile=coverage.out ./... 06:07:54 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 06:08:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements 06:08:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 06:08:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements 06:08:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 06:08:22 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 06:08:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.124s coverage: 45.2% of statements 06:08:23 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 06:08:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.041s coverage: 14.1% of statements 06:08:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.159s coverage: 44.6% of statements 06:08:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.058s coverage: 68.4% of statements 06:08:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.094s coverage: 88.3% of statements 06:08:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.3% of statements 06:08:57 GO111MODULE=on go vet ./... 06:09:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:01 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:09:01 $ docker stop --time=1 2eb94a3cf4f2fc106599884817f6f72f0e24bf64442f55be933b82618ae5bad0 06:09:05 $ docker rm -f --volumes 2eb94a3cf4f2fc106599884817f6f72f0e24bf64442f55be933b82618ae5bad0 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:09:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:09 + ls -al . 06:09:09 total 716 06:09:09 drwxrwxr-x 11 jenkins jenkins 4096 Oct 22 06:07 . 06:09:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:06 .. 06:09:09 -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 06:06 .dockerignore 06:09:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 06:08 .git 06:09:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 06:06 .github 06:09:09 -rw-rw-r-- 1 jenkins jenkins 137 Oct 22 06:06 .gitignore 06:09:09 -rw-rw-r-- 1 jenkins jenkins 199 Oct 22 06:06 .golangci.yml 06:09:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 06:06 .semver 06:09:09 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 22 06:06 CHANGELOG.md 06:09:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 06:06 GOVERNANCE.md 06:09:09 -rw-rw-r-- 1 jenkins jenkins 882 Oct 22 06:06 Jenkinsfile 06:09:09 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 06:06 LICENSE 06:09:09 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 22 06:06 Makefile 06:09:09 -rw-rw-r-- 1 jenkins jenkins 619 Oct 22 06:06 OWNERS.md 06:09:09 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 22 06:06 README.md 06:09:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 06:06 VERSION 06:09:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:06 bin 06:09:09 -rw-r--r-- 1 jenkins jenkins 467901 Oct 22 06:08 coverage.out 06:09:09 drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 06:06 example 06:09:09 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 22 06:06 go.mod 06:09:09 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 22 06:06 go.sum 06:09:09 drwxrwxr-x 13 jenkins jenkins 4096 Oct 22 06:06 internal 06:09:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:06 openapi 06:09:09 drwxrwxr-x 6 jenkins jenkins 4096 Oct 22 06:06 pkg 06:09:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:06 snap 06:09:09 -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 06:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:09 + 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=8f827bd74a4c847a61608dcbc9d76980c13265ba --label arch=amd64 --label version=0.0.0 . 06:09:09 Sending build context to Docker daemon 25.96MB 06:09:09 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 06:09:09 Step 2/24 : FROM ${BASE} AS builder 06:09:09 ---> 7557335cbc15 06:09:09 Step 3/24 : ARG MAKE=make build 06:09:10 ---> Running in a207c0901406 06:09:10 Removing intermediate container a207c0901406 06:09:10 ---> 4e1930ba3ca3 06:09:10 Step 4/24 : WORKDIR /device-sdk-go 06:09:10 ---> Running in 6edc869792e4 06:09:10 Removing intermediate container 6edc869792e4 06:09:10 ---> 38b63ef31382 06:09:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:09:10 ---> Running in c6a9c8355426 06:09:10 Removing intermediate container c6a9c8355426 06:09:10 ---> fbf607a2a839 06:09:10 Step 6/24 : RUN apk add --update --no-cache make git 06:09:10 ---> Running in 40eea709f5eb 06:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:09:10 OK: 246 MiB in 54 packages 06:09:11 Removing intermediate container 40eea709f5eb 06:09:11 ---> b62ce7806c28 06:09:11 Step 7/24 : COPY go.mod vendor* ./ 06:09:11 ---> 3aa7077e9f75 06:09:11 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:11 ---> Running in 0decae66c161 06:09:11 Removing intermediate container 0decae66c161 06:09:11 ---> 3abc24f68df4 06:09:11 Step 9/24 : COPY . . 06:09:12 ---> 16633b45c179 06:09:12 Step 10/24 : RUN ${MAKE} 06:09:12 ---> Running in b394e912b42e 06:09:13 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:09:46 Removing intermediate container b394e912b42e 06:09:46 ---> 4c09f42df9f5 06:09:46 Step 11/24 : FROM alpine:3.20 06:09:46 3.20: Pulling from library/alpine 06:09:46 43c4264eed91: Already exists 06:09:46 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:09:46 Status: Downloaded newer image for alpine:3.20 06:09:46 ---> 91ef0af61f39 06:09:46 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:09:46 ---> Running in 07cc8f16a9f3 06:09:46 Removing intermediate container 07cc8f16a9f3 06:09:46 ---> ef55f75c6fd6 06:09:46 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:09:46 ---> Running in d40c9e45d9fd 06:09:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:09:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:09:46 (1/1) Installing dumb-init (1.2.5-r3) 06:09:46 Executing busybox-1.36.1-r29.trigger 06:09:46 OK: 8 MiB in 15 packages 06:09:46 Removing intermediate container d40c9e45d9fd 06:09:46 ---> 898f2dd4e59e 06:09:46 Step 14/24 : RUN apk --no-cache upgrade 06:09:46 ---> Running in fe6afd1de369 06:09:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:09:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:09:46 Upgrading critical system libraries and apk-tools: 06:09:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:09:46 Executing busybox-1.36.1-r29.trigger 06:09:46 Continuing the upgrade transaction with new apk-tools: 06:09:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:09:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:09:46 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:09:46 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:09:46 OK: 8 MiB in 15 packages 06:09:47 Removing intermediate container fe6afd1de369 06:09:47 ---> d312c7ed14d2 06:09:47 Step 15/24 : WORKDIR / 06:09:47 ---> Running in 4fd2c1bbf909 06:09:47 Removing intermediate container 4fd2c1bbf909 06:09:47 ---> 75b506fb7800 06:09:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:09:47 ---> 51158f3c3107 06:09:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:09:48 ---> 2573e06b01c5 06:09:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:09:48 ---> d8db68dc5f35 06:09:48 Step 19/24 : EXPOSE 59999 06:09:48 ---> Running in 47bb8547444a 06:09:48 Removing intermediate container 47bb8547444a 06:09:48 ---> b904519502f4 06:09:48 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:09:48 ---> Running in a2c535833c5b 06:09:49 Removing intermediate container a2c535833c5b 06:09:49 ---> c0c83c74bb37 06:09:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:09:49 ---> Running in b98f6d541c62 06:09:49 Removing intermediate container b98f6d541c62 06:09:49 ---> ab7d301ae6d5 06:09:49 Step 22/24 : LABEL arch=amd64 06:09:49 ---> Running in e93a94580173 06:09:49 Removing intermediate container e93a94580173 06:09:49 ---> 25ffcbc4d190 06:09:49 Step 23/24 : LABEL git_sha=8f827bd74a4c847a61608dcbc9d76980c13265ba 06:09:49 ---> Running in 82304c7afd8b 06:09:49 Removing intermediate container 82304c7afd8b 06:09:49 ---> 8caf562de8bf 06:09:49 Step 24/24 : LABEL version=0.0.0 06:09:49 ---> Running in 61ecd000b18a 06:09:49 Removing intermediate container 61ecd000b18a 06:09:49 ---> 69a0f06f9062 06:09:49 [Warning] One or more build-args [ARCH] were not consumed 06:09:49 Successfully built 69a0f06f9062 06:09:49 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:09:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:09:50 06:09:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:09:50 latest: Pulling from edgex-lftools-log-publisher 06:09:50 5eb5b503b376: Pulling fs layer 06:09:50 5c69ac0246d0: Pulling fs layer 06:09:50 ec43610c2a17: Pulling fs layer 06:09:50 3a2ae6a8a46f: Pulling fs layer 06:09:50 33b1e0a273af: Pulling fs layer 06:09:50 5d3b04190fa2: Pulling fs layer 06:09:50 2f39f015ded8: Pulling fs layer 06:09:50 33b1e0a273af: Waiting 06:09:50 5d3b04190fa2: Waiting 06:09:50 3a2ae6a8a46f: Waiting 06:09:50 2f39f015ded8: Waiting 06:09:50 5c69ac0246d0: Download complete 06:09:50 3a2ae6a8a46f: Verifying Checksum 06:09:50 3a2ae6a8a46f: Download complete 06:09:50 33b1e0a273af: Verifying Checksum 06:09:50 33b1e0a273af: Download complete 06:09:50 5d3b04190fa2: Verifying Checksum 06:09:50 5d3b04190fa2: Download complete 06:09:50 ec43610c2a17: Download complete 06:09:50 5eb5b503b376: Verifying Checksum 06:09:50 5eb5b503b376: Download complete 06:09:51 2f39f015ded8: Download complete 06:09:52 5eb5b503b376: Pull complete 06:09:52 5c69ac0246d0: Pull complete 06:09:52 ec43610c2a17: Pull complete 06:09:52 3a2ae6a8a46f: Pull complete 06:09:52 33b1e0a273af: Pull complete 06:09:52 5d3b04190fa2: Pull complete 06:09:57 2f39f015ded8: Pull complete 06:09:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:09:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:09:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:57 prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container 06:09:57 $ 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-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@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:10:00 $ docker top 9ef1c1f887b3f1f25588114546674c800030b7e44b594d554c676b61b59a627c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:00 ---> job-cost.sh 06:10:00 lf-activate-venv: SKIPPING 06:10:00 INFO: No Stack... 06:10:00 INFO: Retrieving Pricing Info for: v3-standard-8 06:10:01 INFO: Archiving Costs [Pipeline] sh 06:10:01 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives/cost.csv 06:10:01 + cut -d, -f6 [Pipeline] lock 06:10:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] 06:10:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] did not exist. Created. 06:10:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:02 + echo total: 0.2199999988079071 [Pipeline] stash 06:10:02 Stashed 1 file(s) [Pipeline] } 06:10:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:02 $ docker stop --time=1 9ef1c1f887b3f1f25588114546674c800030b7e44b594d554c676b61b59a627c 06:10:03 $ docker rm -f --volumes 9ef1c1f887b3f1f25588114546674c800030b7e44b594d554c676b61b59a627c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:10:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23473 in /w/workspace/gexfoundry_device-sdk-go_PR-1641 [Pipeline] { [Pipeline] ws 06:10:47 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:10:50 The recommended git tool is: git 06:10:55 using credential edgex-jenkins-ssh 06:10:55 Cloning the remote Git repository 06:10:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:10:55 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:10:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:10:56 > git --version # timeout=10 06:10:56 > git --version # 'git version 2.25.1' 06:10:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:11:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:01 Merging remotes/origin/main commit 791e3808a6f22236528886c5f30bc95897a4d2de into PR head commit 8f827bd74a4c847a61608dcbc9d76980c13265ba 06:11:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:11:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:11:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1641/head:refs/remotes/origin/PR-1641 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:11:01 > git config core.sparsecheckout # timeout=10 06:11:01 > git checkout -f 8f827bd74a4c847a61608dcbc9d76980c13265ba # timeout=10 06:11:02 Merge succeeded, producing 8f827bd74a4c847a61608dcbc9d76980c13265ba 06:11:02 Checking out Revision 8f827bd74a4c847a61608dcbc9d76980c13265ba (PR-1641) 06:11:01 > git remote # timeout=10 06:11:01 > git config --get remote.origin.url # timeout=10 06:11:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:02 > git merge 791e3808a6f22236528886c5f30bc95897a4d2de # timeout=10 06:11:02 > git rev-parse HEAD^{commit} # timeout=10 06:11:02 > git config core.sparsecheckout # timeout=10 06:11:02 > git checkout -f 8f827bd74a4c847a61608dcbc9d76980c13265ba # timeout=10 06:11:05 Commit message: "fix: Move API document files from openapi/v3 to openapi" 06:11:05 > git --version # timeout=10 06:11:05 > git --version # 'git version 2.25.1' 06:11:06 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:11:08 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:08 Dload Upload Total Spent Left Speed 06:11:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh 06:11:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:11:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:11:08 + sudo tee /etc/docker/daemon.new 06:11:08 { 06:11:08 "registry-mirrors": [ 06:11:08 "https://nexus3.edgexfoundry.org:10001" 06:11:08 ], 06:11:08 "bip": "10.250.0.254/24", 06:11:08 "hosts": [ 06:11:08 "tcp://0.0.0.0:5555", 06:11:08 "unix:///var/run/docker.sock" 06:11:08 ], 06:11:08 "mtu": 1458, 06:11:08 "selinux-enabled": true, 06:11:08 "seccomp-profile": "/etc/docker/seccomp.json" 06:11:08 } [Pipeline] sh 06:11:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:11:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:28 provisioning config files... 06:11:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11820284295487796945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:28 ---> ****-login.sh 06:11:28 nexus3.edgexfoundry.org:10001 06:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:29 Configure a credential helper to remove this warning. See 06:11:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:29 06:11:29 Login Succeeded 06:11:29 nexus3.edgexfoundry.org:10002 06:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:29 Configure a credential helper to remove this warning. See 06:11:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:29 06:11:29 Login Succeeded 06:11:29 nexus3.edgexfoundry.org:10003 06:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:30 Configure a credential helper to remove this warning. See 06:11:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:30 06:11:30 Login Succeeded 06:11:30 nexus3.edgexfoundry.org:10004 06:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:30 Configure a credential helper to remove this warning. See 06:11:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:30 06:11:30 Login Succeeded 06:11:30 ****.io 06:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:11:32 Configure a credential helper to remove this warning. See 06:11:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:11:32 06:11:32 Login Succeeded 06:11:32 ---> ****-login.sh ends [Pipeline] } 06:11:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:11:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:11:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:11:33 ========================================================= 06:11:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:11:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:34 + 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:11:34 Sending build context to Docker daemon 13.21MB 06:11:34 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:11:34 Step 2/10 : FROM ${BASE} AS builder 06:11:35 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:11:35 cf04c63912e1: Pulling fs layer 06:11:35 55b35a11ae5e: Pulling fs layer 06:11:35 a37a00ec5f00: Pulling fs layer 06:11:35 50b3750afda1: Pulling fs layer 06:11:35 4f4fb700ef54: Pulling fs layer 06:11:35 80978eb59214: Pulling fs layer 06:11:35 c9f46d7d2bd2: Pulling fs layer 06:11:35 c5a475d317c9: Pulling fs layer 06:11:35 4f4fb700ef54: Waiting 06:11:35 c9f46d7d2bd2: Waiting 06:11:35 50b3750afda1: Waiting 06:11:35 55b35a11ae5e: Verifying Checksum 06:11:35 55b35a11ae5e: Download complete 06:11:35 50b3750afda1: Verifying Checksum 06:11:35 50b3750afda1: Download complete 06:11:35 4f4fb700ef54: Verifying Checksum 06:11:35 4f4fb700ef54: Download complete 06:11:35 80978eb59214: Verifying Checksum 06:11:35 80978eb59214: Download complete 06:11:35 cf04c63912e1: Verifying Checksum 06:11:35 cf04c63912e1: Download complete 06:11:35 c5a475d317c9: Verifying Checksum 06:11:35 c5a475d317c9: Download complete 06:11:36 cf04c63912e1: Pull complete 06:11:36 55b35a11ae5e: Pull complete 06:11:37 a37a00ec5f00: Verifying Checksum 06:11:37 a37a00ec5f00: Download complete 06:11:37 c9f46d7d2bd2: Verifying Checksum 06:11:37 c9f46d7d2bd2: Download complete 06:11:52 a37a00ec5f00: Pull complete 06:11:52 50b3750afda1: Pull complete 06:11:52 4f4fb700ef54: Pull complete 06:11:52 80978eb59214: Pull complete 06:12:01 c9f46d7d2bd2: Pull complete 06:12:02 c5a475d317c9: Pull complete 06:12:02 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 06:12:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:12:02 ---> be29e6b0f0d4 06:12:02 Step 3/10 : ARG MAKE=make build 06:12:04 ---> Running in 1481ad85e888 06:12:04 Removing intermediate container 1481ad85e888 06:12:04 ---> 573eeeaac9a8 06:12:04 Step 4/10 : WORKDIR /device-sdk-go 06:12:04 ---> Running in 6df1aa41bb70 06:12:05 Removing intermediate container 6df1aa41bb70 06:12:05 ---> 8f722c3bc2ef 06:12:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:12:05 ---> Running in 070bf73300f4 06:12:05 Removing intermediate container 070bf73300f4 06:12:05 ---> c49bfe60ecf3 06:12:05 Step 6/10 : RUN apk add --update --no-cache make git 06:12:05 ---> Running in 809af9f9e621 06:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:12:08 OK: 238 MiB in 54 packages 06:12:09 Removing intermediate container 809af9f9e621 06:12:09 ---> 70b3478e1677 06:12:09 Step 7/10 : COPY go.mod vendor* ./ 06:12:10 ---> 3420fe2caaf8 06:12:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:10 ---> Running in 2ca63fd73ca5 06:14:02 Removing intermediate container 2ca63fd73ca5 06:14:02 ---> aebf5aae4dca 06:14:02 Step 9/10 : COPY . . 06:14:02 ---> 8ad0d416c18d 06:14:02 Step 10/10 : RUN ${MAKE} 06:14:02 ---> Running in 33989929bec8 06:14:03 noop 06:14:03 Removing intermediate container 33989929bec8 06:14:03 ---> 64939fa32262 06:14:03 Successfully built 64939fa32262 06:14:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:04 + docker inspect -f . ci-base-image-arm64 06:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:04 prd-ubuntu20.04-docker-arm64-4c-16g-23473 does not seem to be running inside a container 06:14:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:05 $ docker top 0fb3fe2083466edf39a282364daf41bc944f255b0ea5d51e72673c27f3dc7827 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:06 + go version 06:14:06 go version go1.23.2 linux/arm64 [Pipeline] } 06:14:06 $ docker stop --time=1 0fb3fe2083466edf39a282364daf41bc944f255b0ea5d51e72673c27f3dc7827 06:14:08 $ docker rm -f --volumes 0fb3fe2083466edf39a282364daf41bc944f255b0ea5d51e72673c27f3dc7827 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:09 + docker inspect -f . ci-base-image-arm64 06:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:09 prd-ubuntu20.04-docker-arm64-4c-16g-23473 does not seem to be running inside a container 06:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:11 $ docker top 2b8f49b3529be1ceb80a7c90f9ac38c4367034096228f51a43e7fbbcc352aad3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:12 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 06:14:12 + make test 06:14:12 go test -race -coverprofile=coverage.out ./... 06:15:09 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:19:01 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 06:19:01 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 06:19:01 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 06:19:01 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 06:19:01 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 06:19:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.164s coverage: 26.0% of statements 06:19:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.192s coverage: 79.4% of statements 06:19:22 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 06:19:22 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 06:19:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.304s coverage: 86.0% of statements 06:19:28 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 06:19:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.932s coverage: 45.2% of statements 06:19:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.298s coverage: 14.1% of statements 06:19:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.169s coverage: 44.6% of statements 06:19:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:19:40 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 06:19:40 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 06:19:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.431s coverage: 68.4% of statements 06:19:48 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.389s coverage: 88.3% of statements 06:19:54 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 06:19:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.354s coverage: 5.3% of statements 06:19:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:19:57 GO111MODULE=on go vet ./... 06:24:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:24:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:24:19 ./bin/test-attribution-txt.sh [Pipeline] echo 06:24:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:24:19 $ docker stop --time=1 2b8f49b3529be1ceb80a7c90f9ac38c4367034096228f51a43e7fbbcc352aad3 06:24:21 $ docker rm -f --volumes 2b8f49b3529be1ceb80a7c90f9ac38c4367034096228f51a43e7fbbcc352aad3 [Pipeline] // withDockerContainer [Pipeline] sh 06:24:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:24:24 Warning: overwriting stash ‘coverage-report’ 06:24:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:24:26 + ls -al . 06:24:26 total 712 06:24:26 drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 06:14 . 06:24:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:10 .. 06:24:26 -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 06:11 .dockerignore 06:24:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 06:11 .git 06:24:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 06:11 .github 06:24:26 -rw-rw-r-- 1 jenkins jenkins 137 Oct 22 06:11 .gitignore 06:24:26 -rw-rw-r-- 1 jenkins jenkins 199 Oct 22 06:11 .golangci.yml 06:24:26 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 22 06:11 CHANGELOG.md 06:24:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 06:11 GOVERNANCE.md 06:24:26 -rw-rw-r-- 1 jenkins jenkins 882 Oct 22 06:11 Jenkinsfile 06:24:26 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 06:11 LICENSE 06:24:26 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 22 06:11 Makefile 06:24:26 -rw-rw-r-- 1 jenkins jenkins 619 Oct 22 06:11 OWNERS.md 06:24:26 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 22 06:11 README.md 06:24:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 06:06 VERSION 06:24:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:11 bin 06:24:26 -rw-r--r-- 1 jenkins jenkins 467900 Oct 22 06:19 coverage.out 06:24:26 drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 06:11 example 06:24:26 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 22 06:11 go.mod 06:24:26 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 22 06:11 go.sum 06:24:26 drwxrwxr-x 13 jenkins jenkins 4096 Oct 22 06:11 internal 06:24:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:11 openapi 06:24:26 drwxrwxr-x 6 jenkins jenkins 4096 Oct 22 06:11 pkg 06:24:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:11 snap 06:24:26 -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:27 + 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=8f827bd74a4c847a61608dcbc9d76980c13265ba --label arch=arm64 --label version=0.0.0 . 06:24:27 Sending build context to Docker daemon 13.68MB 06:24:27 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 06:24:27 Step 2/24 : FROM ${BASE} AS builder 06:24:27 ---> 64939fa32262 06:24:27 Step 3/24 : ARG MAKE=make build 06:24:28 ---> Running in 4b4d51339ca1 06:24:28 Removing intermediate container 4b4d51339ca1 06:24:28 ---> 834a92b85662 06:24:28 Step 4/24 : WORKDIR /device-sdk-go 06:24:28 ---> Running in f98c77cfff51 06:24:28 Removing intermediate container f98c77cfff51 06:24:28 ---> 8bec24408ab1 06:24:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:24:28 ---> Running in a1e5c7dc8668 06:24:29 Removing intermediate container a1e5c7dc8668 06:24:29 ---> 768a7f3f8fa1 06:24:29 Step 6/24 : RUN apk add --update --no-cache make git 06:24:29 ---> Running in 896a0f874f95 06:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:24:32 OK: 238 MiB in 54 packages 06:24:33 Removing intermediate container 896a0f874f95 06:24:33 ---> b1810f249449 06:24:33 Step 7/24 : COPY go.mod vendor* ./ 06:24:34 ---> 28ba46874f11 06:24:34 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:24:34 ---> Running in 039a27394111 06:24:37 Removing intermediate container 039a27394111 06:24:37 ---> d148c268aa78 06:24:37 Step 9/24 : COPY . . 06:24:39 ---> 020d6ba80e19 06:24:39 Step 10/24 : RUN ${MAKE} 06:24:39 ---> Running in d4079c0b10ec 06:24:40 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:28:47 Removing intermediate container d4079c0b10ec 06:28:47 ---> eeb8bc684d69 06:28:47 Step 11/24 : FROM alpine:3.20 06:28:47 3.20: Pulling from library/alpine 06:28:47 cf04c63912e1: Already exists 06:28:47 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:28:47 Status: Downloaded newer image for alpine:3.20 06:28:47 ---> c157a85ed455 06:28:47 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:28:47 ---> Running in e47143a2a5a1 06:28:47 Removing intermediate container e47143a2a5a1 06:28:47 ---> 5ffed3fc8af1 06:28:47 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:28:47 ---> Running in 813add48c92f 06:28:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:28:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:28:47 (1/1) Installing dumb-init (1.2.5-r3) 06:28:47 Executing busybox-1.36.1-r29.trigger 06:28:47 OK: 9 MiB in 15 packages 06:28:49 Removing intermediate container 813add48c92f 06:28:49 ---> 86dd499da521 06:28:49 Step 14/24 : RUN apk --no-cache upgrade 06:28:49 ---> Running in d8843be14087 06:28:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:28:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:28:52 Upgrading critical system libraries and apk-tools: 06:28:52 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:28:52 Executing busybox-1.36.1-r29.trigger 06:28:52 Continuing the upgrade transaction with new apk-tools: 06:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:28:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:28:55 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:28:55 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:28:55 OK: 9 MiB in 15 packages 06:28:56 Removing intermediate container d8843be14087 06:28:56 ---> bb42fb5e5119 06:28:56 Step 15/24 : WORKDIR / 06:28:56 ---> Running in 90551ed6beb4 06:28:56 Removing intermediate container 90551ed6beb4 06:28:56 ---> ab6bf1535aae 06:28:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:28:57 ---> b3c2f06e55d3 06:28:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:29:00 ---> 701de28f7cff 06:29:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:29:00 ---> 7832304b9dbd 06:29:00 Step 19/24 : EXPOSE 59999 06:29:01 ---> Running in 3b735880ffd1 06:29:01 Removing intermediate container 3b735880ffd1 06:29:01 ---> 52069dd617e6 06:29:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:29:01 ---> Running in 8b2bd345c780 06:29:01 Removing intermediate container 8b2bd345c780 06:29:01 ---> f1b838fbcd65 06:29:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:29:01 ---> Running in 1df635c612bb 06:29:02 Removing intermediate container 1df635c612bb 06:29:02 ---> d7ce87867768 06:29:02 Step 22/24 : LABEL arch=arm64 06:29:02 ---> Running in 30d70cb22c4b 06:29:02 Removing intermediate container 30d70cb22c4b 06:29:02 ---> 808ece9da615 06:29:02 Step 23/24 : LABEL git_sha=8f827bd74a4c847a61608dcbc9d76980c13265ba 06:29:02 ---> Running in 0f83e2a18d6b 06:29:03 Removing intermediate container 0f83e2a18d6b 06:29:03 ---> fa6048f97155 06:29:03 Step 24/24 : LABEL version=0.0.0 06:29:03 ---> Running in 980812a86059 06:29:03 Removing intermediate container 980812a86059 06:29:03 ---> 2d75754ec532 06:29:03 [Warning] One or more build-args [ARCH] were not consumed 06:29:03 Successfully built 2d75754ec532 06:29:03 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:29:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:29:04 06:29:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:29:05 arm64: Pulling from edgex-lftools-log-publisher 06:29:05 8998bd30e6a1: Pulling fs layer 06:29:05 04944245beec: Pulling fs layer 06:29:05 699f458cf7ca: Pulling fs layer 06:29:05 765212b225bb: Pulling fs layer 06:29:05 f23df028b6ca: Pulling fs layer 06:29:05 d65c8cfc05b1: Pulling fs layer 06:29:05 2437ff75d9bd: Pulling fs layer 06:29:05 765212b225bb: Waiting 06:29:05 f23df028b6ca: Waiting 06:29:05 d65c8cfc05b1: Waiting 06:29:05 2437ff75d9bd: Waiting 06:29:05 04944245beec: Verifying Checksum 06:29:05 04944245beec: Download complete 06:29:05 765212b225bb: Verifying Checksum 06:29:05 765212b225bb: Download complete 06:29:05 f23df028b6ca: Download complete 06:29:05 d65c8cfc05b1: Verifying Checksum 06:29:05 d65c8cfc05b1: Download complete 06:29:05 699f458cf7ca: Verifying Checksum 06:29:05 699f458cf7ca: Download complete 06:29:06 8998bd30e6a1: Download complete 06:29:08 2437ff75d9bd: Verifying Checksum 06:29:08 2437ff75d9bd: Download complete 06:29:10 8998bd30e6a1: Pull complete 06:29:11 04944245beec: Pull complete 06:29:13 699f458cf7ca: Pull complete 06:29:13 765212b225bb: Pull complete 06:29:14 f23df028b6ca: Pull complete 06:29:14 d65c8cfc05b1: Pull complete 06:29:32 2437ff75d9bd: Pull complete 06:29:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:29:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:29:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:33 prd-ubuntu20.04-docker-arm64-4c-16g-23473 does not seem to be running inside a container 06:29:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:29:36 $ docker top 77e7bbb0d3aa45154caca11f01000c6085cb62a2506596417665cc1709f1ca50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:29:37 ---> job-cost.sh 06:29:37 lf-activate-venv: SKIPPING 06:29:37 INFO: No Stack... 06:29:38 INFO: Retrieving Pricing Info for: v3-standard-4 06:29:38 INFO: Archiving Costs [Pipeline] sh 06:29:39 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:29:39 + cut -d, -f6 [Pipeline] lock 06:29:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] 06:29:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] did not exist. Created. 06:29:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:29:40 /w/workspace/device-sdk-go/1@tmp/durable-17be62e6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:29:41 + echo total: 0.10999999940395355 [Pipeline] stash 06:29:41 Warning: overwriting stash ‘stack-cost’ 06:29:41 Stashed 1 file(s) [Pipeline] } 06:29:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:29:41 $ docker stop --time=1 77e7bbb0d3aa45154caca11f01000c6085cb62a2506596417665cc1709f1ca50 06:29:43 $ docker rm -f --volumes 77e7bbb0d3aa45154caca11f01000c6085cb62a2506596417665cc1709f1ca50 [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:29:44 provisioning config files... 06:29:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/config14609386884293844205tmp [Pipeline] { [Pipeline] sh 06:29:44 + set +x 06:29:44 + + bash -s -- 06:29:44 curl -s https://codecov.io/bash 06:29:44 06:29:44 _____ _ 06:29:44 / ____| | | 06:29:44 | | ___ __| | ___ ___ _____ __ 06:29:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:29:44 | |___| (_) | (_| | __/ (_| (_) \ V / 06:29:44 \_____\___/ \__,_|\___|\___\___/ \_/ 06:29:44 Bash-1.0.6 06:29:44 06:29:44 06:29:44 ==> git version 2.25.1 found 06:29:44 ==> 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:29:44 Release-Date: 2020-01-08 06:29:44 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:29:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:29:44 ==> Jenkins CI detected. 06:29:44 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1641 06:29:44 project root: . 06:29:44 --> token set from env 06:29:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:29:44 ==> Running gcov in . (disable via -X gcov) 06:29:44 ==> Python coveragepy not found 06:29:44 ==> Searching for coverage reports in: 06:29:44 + . 06:29:44 -> Found 1 reports 06:29:44 ==> Detecting git/mercurial file structure 06:29:44 ==> Reading reports 06:29:44 + ./coverage.out bytes=467900 06:29:44 ==> Appending adjustments 06:29:44 https://docs.codecov.io/docs/fixing-reports 06:29:44 + Found adjustments 06:29:44 ==> Gzipping contents 06:29:45 44K /tmp/codecov.4l3gKs.gz 06:29:45 ==> Uploading reports 06:29:45 url: https://codecov.io 06:29:45 query: branch=PR-1641&commit=8f827bd74a4c847a61608dcbc9d76980c13265ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1641%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1641&job=&cmd_args= 06:29:45 -> Pinging Codecov 06:29:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1641&commit=8f827bd74a4c847a61608dcbc9d76980c13265ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1641%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1641&job=&cmd_args= 06:29:51 -> Uploading to 06:29:51 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/8f827bd74a4c847a61608dcbc9d76980c13265ba/501f46cb-278f-4c07-ad7a-1e88f8809aea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241022%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241022T062949Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b775aec8d12a6e4ccd20b1dd921abb60c75ac4d92d0b82bcaed108a81b08d5c7 06:29:51 % Total % Received % Xferd Average Speed Time Time Time Current 06:29:51 Dload Upload Total Spent Left Speed 06:29:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 42614 0 0 100 42614 0 203k --:--:-- --:--:-- --:--:-- 203k 100 42614 0 0 100 42614 0 154k --:--:-- --:--:-- --:--:-- 153k 06:29:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] } 06:29:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] 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:29:54 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives ] 06:29:54 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives 06:29:54 total 16 06:29:54 drwxr-xr-x 3 root root 4096 Oct 22 06:10 . 06:29:54 drwxrwxr-x 12 jenkins jenkins 4096 Oct 22 06:10 .. 06:29:54 drwxr-xr-x 2 root root 4096 Oct 22 06:10 cost 06:29:54 -rw-r--r-- 1 root root 86 Oct 22 06:10 cost.csv 06:29:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives 06:29:54 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives 06:29:54 total 16 06:29:54 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 06:10 . 06:29:54 drwxrwxr-x 12 jenkins jenkins 4096 Oct 22 06:10 .. 06:29:54 drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 06:10 cost 06:29:54 -rw-r--r-- 1 jenkins jenkins 86 Oct 22 06:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:29:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:29:55 ---> package-listing.sh 06:29:55 ++ facter osfamily 06:29:55 ++ tr '[:upper:]' '[:lower:]' 06:29:55 + OS_FAMILY=debian 06:29:55 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1641 06:29:55 + START_PACKAGES=/tmp/packages_start.txt 06:29:55 + END_PACKAGES=/tmp/packages_end.txt 06:29:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:29:55 + PACKAGES=/tmp/packages_start.txt 06:29:55 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1641 ']' 06:29:55 + PACKAGES=/tmp/packages_end.txt 06:29:55 + case "${OS_FAMILY}" in 06:29:55 + dpkg -l 06:29:55 + grep '^ii' 06:29:55 + '[' -f /tmp/packages_start.txt ']' 06:29:55 + '[' -f /tmp/packages_end.txt ']' 06:29:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:29:55 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1641 ']' 06:29:55 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives/ 06:29:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives/ [Pipeline] echo 06:29:55 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-1641/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:29:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:56 prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container 06:29:56 $ 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-1641/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-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:29:57 $ docker top 5189b066bc2dfe5bbc57abe6a4a99f0d01b89610415818f16380506fcc3fb652 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:57 + touch /tmp/pre-build-complete [Pipeline] sh 06:29:57 + mkdir -p /var/log/sysstat [Pipeline] sh 06:29:58 + ls /var/log/sa-host 06:29:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:29:58 provisioning config files... 06:29:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/config18053588223814894804tmp [Pipeline] { [Pipeline] echo 06:29:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:29:58 ---> create-netrc.sh [Pipeline] } 06:29:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:29:59 ---> python-tools-install.sh [Pipeline] echo 06:29:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:29:59 ---> sudo-logs.sh 06:29:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:29:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:30:00 ---> job-cost.sh 06:30:00 lf-activate-venv: SKIPPING 06:30:00 DEBUG: total: 0.2199999988079071 06:30:00 INFO: Retrieving Stack Cost... 06:30:00 INFO: Retrieving Pricing Info for: v3-standard-8 06:30:00 INFO: Archiving Costs [Pipeline] echo 06:30:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:30:01 ---> logs-deploy.sh 06:30:01 lf-activate-venv: SKIPPING 06:30:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1641/1 06:30:01 INFO: archiving workspace using pattern(s): 06:30:02 Archives upload complete. 06:30:02 INFO: archiving logs to Nexus 06:30:02 ---> uname -a: 06:30:02 Linux prd-ubuntu20-04-docker-8c-8g-23472 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:30:02 06:30:02 06:30:02 ---> lscpu: 06:30:02 Architecture: x86_64 06:30:02 CPU op-mode(s): 32-bit, 64-bit 06:30:02 Byte Order: Little Endian 06:30:02 Address sizes: 40 bits physical, 48 bits virtual 06:30:02 CPU(s): 8 06:30:02 On-line CPU(s) list: 0-7 06:30:02 Thread(s) per core: 1 06:30:02 Core(s) per socket: 1 06:30:02 Socket(s): 8 06:30:02 NUMA node(s): 1 06:30:02 Vendor ID: AuthenticAMD 06:30:02 CPU family: 23 06:30:02 Model: 49 06:30:02 Model name: AMD EPYC-Rome Processor 06:30:02 Stepping: 0 06:30:02 CPU MHz: 2800.000 06:30:02 BogoMIPS: 5600.00 06:30:02 Virtualization: AMD-V 06:30:02 Hypervisor vendor: KVM 06:30:02 Virtualization type: full 06:30:02 L1d cache: 256 KiB 06:30:02 L1i cache: 256 KiB 06:30:02 L2 cache: 4 MiB 06:30:02 L3 cache: 128 MiB 06:30:02 NUMA node0 CPU(s): 0-7 06:30:02 Vulnerability Itlb multihit: Not affected 06:30:02 Vulnerability L1tf: Not affected 06:30:02 Vulnerability Mds: Not affected 06:30:02 Vulnerability Meltdown: Not affected 06:30:02 Vulnerability Mmio stale data: Not affected 06:30:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:30:02 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:30:02 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:30:02 Vulnerability Srbds: Not affected 06:30:02 Vulnerability Tsx async abort: Not affected 06:30:02 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:30:02 06:30:02 06:30:02 ---> nproc: 06:30:02 8 06:30:02 06:30:02 06:30:02 ---> df -h: 06:30:02 Filesystem Size Used Avail Use% Mounted on 06:30:02 overlay 155G 12G 143G 8% / 06:30:02 tmpfs 64M 0 64M 0% /dev 06:30:02 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:30:02 shm 64M 0 64M 0% /dev/shm 06:30:02 /dev/vda1 155G 12G 143G 8% /facter-os 06:30:02 06:30:02