Started by user Cloud Tsai Replayed #287 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2bf2505a0d4e1853de162ef985be1e016ba60c0f 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-ssh10462124994629074400.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5582528434655570099.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16792998095446991960.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Replacing contents of vars/edgeXBuildGoParallel.groovy Replacing contents of vars/edgeXBuildCApp.groovy Replacing contents of vars/edgeXRelease.groovy Replacing contents of vars/edgeXCodecov.groovy Replacing contents of vars/edgeXReleaseDockerImage.groovy Replacing contents of vars/edgeXBuildDocker.groovy Replacing contents of vars/edgeXEmail.groovy Replacing contents of vars/edgeXNexusPublish.groovy Replacing contents of vars/edgeXSwaggerPublish.groovy Replacing contents of vars/edgeXSnyk.groovy Replacing contents of vars/edgeXSnap.groovy Replacing contents of vars/edgeXReleaseGitTagUtil.groovy Replacing contents of vars/edgeXClair.groovy Replacing contents of vars/edgeXReleaseOpenApi.groovy Replacing contents of vars/edgex.groovy Replacing contents of vars/edgeXUpdateNamedTag.groovy Replacing contents of vars/edgeXReleaseGitHubAssets.groovy Replacing contents of vars/edgeXBuildGoMod.groovy Replacing contents of src/main/groovy/edgeXDocGenerator.groovy Replacing contents of vars/edgeXSemver.groovy Replacing contents of vars/edgeXLTS.groovy Replacing contents of vars/edgeXInfraPublish.groovy Replacing contents of vars/edgeXDockerLogin.groovy Replacing contents of vars/edgeXReleaseGitTag.groovy Replacing contents of vars/edgeXEmailUtil.groovy Replacing contents of vars/edgeXBuildGoApp.groovy Replacing contents of vars/edgeXReleaseSnap.groovy Replacing contents of vars/edgeXReleaseDocs.groovy Replacing contents of vars/edgeXSetupEnvironment.groovy Replacing contents of vars/edgeXInfraLFToolsSign.groovy Replacing contents of vars/edgeXGeneric.groovy Replacing contents of vars/edgeXGHPagesPublish.groovy Replacing contents of vars/edgeXDocker.groovy Replacing contents of vars/edgeXInfraShipLogs.groovy 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-ssh12285594380739482823.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15118948284807520965.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Replacing contents of vars/lfCommon.groovy Replacing contents of vars/lfNode.groovy Replacing contents of vars/lfJava.groovy Replacing contents of vars/lfDocker.groovy Replacing contents of vars/lfDefaults.groovy Replacing contents of vars/lfInfraShipLogs.groovy Replacing contents of vars/lfParallelCostCapture.groovy [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-911’ Running on prd-ubuntu20.04-docker-8c-8g-913 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision 2bf2505a0d4e1853de162ef985be1e016ba60c0f (main) Commit message: "Merge pull request #1540 from lenny-goodell/cve" > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf2505a0d4e1853de162ef985be1e016ba60c0f # timeout=10 > git rev-list --no-walk 2bf2505a0d4e1853de162ef985be1e016ba60c0f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:20:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:20:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:20:07 ========================================================= 04:20:07 EdgeX Global Pipelines Version Info 04:20:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:20:08 ------------------- 04:20:08 stable info: 04:20:08 ------------------- 04:20:08 Commited By: Ginny Guan ginny@iotechsys.com 04:20:08 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:20:08 Message: update stable to v1.0.260 04:20:08 ------------------- 04:20:08 experimental info: 04:20:08 ------------------- 04:20:08 Commited By: Ginny Guan ginny@iotechsys.com 04:20:08 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:20:08 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:20:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bf2505 [Pipeline] echo 04:20:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:09 provisioning config files... 04:20:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8110000078869065099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:09 ---> ****-login.sh 04:20:09 nexus3.edgexfoundry.org:10001 04:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:09 Configure a credential helper to remove this warning. See 04:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:09 04:20:09 Login Succeeded 04:20:09 nexus3.edgexfoundry.org:10002 04:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:09 Configure a credential helper to remove this warning. See 04:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:09 04:20:09 Login Succeeded 04:20:09 nexus3.edgexfoundry.org:10003 04:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:10 Configure a credential helper to remove this warning. See 04:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:10 04:20:10 Login Succeeded 04:20:10 nexus3.edgexfoundry.org:10004 04:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:10 Configure a credential helper to remove this warning. See 04:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:10 04:20:10 Login Succeeded 04:20:10 ****.io 04:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:10 Configure a credential helper to remove this warning. See 04:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:10 04:20:10 Login Succeeded 04:20:10 ---> ****-login.sh ends [Pipeline] } 04:20:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:20:10 + git rev-list -1 --merges 2bf2505a0d4e1853de162ef985be1e016ba60c0f~1..2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo 04:20:10 -----------> git rev-list -1 --merges 2bf2505a0d4e1853de162ef985be1e016ba60c0f~1..2bf2505a0d4e1853de162ef985be1e016ba60c0f 2bf2505a0d4e1853de162ef985be1e016ba60c0f 04:20:10 2bf2505a0d4e1853de162ef985be1e016ba60c0f [false] [Pipeline] sh 04:20:11 + git log --format=format:%s -1 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo 04:20:11 ========================================================= 04:20:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:20:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:11 + git log --format=format:%s -1 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo 04:20:11 [semverPrep] GIT_COMMIT: 2bf2505a0d4e1853de162ef985be1e016ba60c0f, Commit Message: Merge pull request #1540 from lenny-goodell/cve [Pipeline] echo 04:20:11 [semverPrep] This is not a build commit. [Pipeline] sh 04:20:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:20:11 + grep -v github /etc/ssh/ssh_known_hosts 04:20:11 + [ -e /tmp/ssh_known_hosts ] 04:20:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:20:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:20:11 + sudo tee -a /etc/ssh/ssh_known_hosts 04:20:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:12 04:20:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:12 0.1.4: Pulling from edgex-devops/py-git-semver 04:20:12 b85a868b505f: Pulling fs layer 04:20:12 e2be974225ed: Pulling fs layer 04:20:12 339a4e72a1f5: Pulling fs layer 04:20:12 988bab9f4d93: Pulling fs layer 04:20:12 1469e6f7b9e6: Pulling fs layer 04:20:12 eaf3925da568: Pulling fs layer 04:20:12 bab4dde63d76: Pulling fs layer 04:20:12 bde34c3a00c8: Pulling fs layer 04:20:12 b352a97aabf1: Pulling fs layer 04:20:12 4872d77fe225: Pulling fs layer 04:20:12 5851b861e8e6: Pulling fs layer 04:20:12 bab4dde63d76: Waiting 04:20:12 bde34c3a00c8: Waiting 04:20:12 b352a97aabf1: Waiting 04:20:12 4872d77fe225: Waiting 04:20:12 5851b861e8e6: Waiting 04:20:12 988bab9f4d93: Waiting 04:20:12 1469e6f7b9e6: Waiting 04:20:12 eaf3925da568: Waiting 04:20:12 e2be974225ed: Download complete 04:20:12 988bab9f4d93: Verifying Checksum 04:20:12 988bab9f4d93: Download complete 04:20:12 1469e6f7b9e6: Verifying Checksum 04:20:12 1469e6f7b9e6: Download complete 04:20:12 339a4e72a1f5: Verifying Checksum 04:20:12 339a4e72a1f5: Download complete 04:20:12 eaf3925da568: Verifying Checksum 04:20:12 eaf3925da568: Download complete 04:20:12 bde34c3a00c8: Verifying Checksum 04:20:12 bde34c3a00c8: Download complete 04:20:12 b352a97aabf1: Verifying Checksum 04:20:12 b352a97aabf1: Download complete 04:20:12 4872d77fe225: Download complete 04:20:12 5851b861e8e6: Download complete 04:20:12 b85a868b505f: Download complete 04:20:13 bab4dde63d76: Verifying Checksum 04:20:13 bab4dde63d76: Download complete 04:20:13 b85a868b505f: Pull complete 04:20:13 e2be974225ed: Pull complete 04:20:14 339a4e72a1f5: Pull complete 04:20:14 988bab9f4d93: Pull complete 04:20:14 1469e6f7b9e6: Pull complete 04:20:14 eaf3925da568: Pull complete 04:20:16 bab4dde63d76: Pull complete 04:20:16 bde34c3a00c8: Pull complete 04:20:16 b352a97aabf1: Pull complete 04:20:16 4872d77fe225: Pull complete 04:20:16 5851b861e8e6: Pull complete 04:20:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:20:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:16 prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container 04:20:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:20:19 $ docker top dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 -eo pid,comm 04:20:19 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). 04:20:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:20:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:19 [ssh-agent] Looking for ssh-agent implementation... 04:20:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:20 $ docker exec dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 ssh-agent 04:20:20 SSH_AUTH_SOCK=/tmp/ssh-1HxydznpYz6u/agent.32 04:20:20 SSH_AGENT_PID=38 04:20:20 Running ssh-add (command line suppressed) 04:20:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4889787458280472977.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4889787458280472977.key) 04:20:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:20 + git tag --points-at HEAD [Pipeline] } 04:20:20 $ docker exec --env ******** --env ******** dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 ssh-agent -k 04:20:20 unset SSH_AUTH_SOCK; 04:20:20 unset SSH_AGENT_PID; 04:20:20 echo Agent pid 38 killed; 04:20:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:20:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:20 [ssh-agent] Looking for ssh-agent implementation... 04:20:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:20 $ docker exec dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 ssh-agent 04:20:20 SSH_AUTH_SOCK=/tmp/ssh-w4veMCj5dCvO/agent.73 04:20:20 SSH_AGENT_PID=79 04:20:20 Running ssh-add (command line suppressed) 04:20:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15038684909742188503.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15038684909742188503.key) 04:20:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:21 + git semver init 04:20:21 2024-05-28 04:20:21,465 [run_init] DEBUG init version:0.0.0 force:False 04:20:21 2024-05-28 04:20:21,466 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:20:21 2024-05-28 04:20:21,466 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:20:21 2024-05-28 04:20:21,467 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:20:22 2024-05-28 04:20:22,725 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:20:22 2024-05-28 04:20:22,725 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:20:22 2024-05-28 04:20:22,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:20:22 2024-05-28 04:20:22,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:20:22 3.2.0-dev.14 [Pipeline] } 04:20:22 $ docker exec --env ******** --env ******** dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 ssh-agent -k 04:20:23 unset SSH_AUTH_SOCK; 04:20:23 unset SSH_AGENT_PID; 04:20:23 echo Agent pid 79 killed; 04:20:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:20:23 + git semver [Pipeline] } 04:20:23 $ docker stop --time=1 dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 04:20:24 $ docker rm -f --volumes dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 [Pipeline] // withDockerContainer [Pipeline] sh 04:20:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:20:25 Stashed 1 file(s) [Pipeline] echo 04:20:25 [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [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 04:20:25 provisioning config files... 04:20:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18267613665183798676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:26 ---> ****-login.sh 04:20:26 nexus3.edgexfoundry.org:10001 04:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:26 Configure a credential helper to remove this warning. See 04:20:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:26 04:20:26 Login Succeeded 04:20:26 nexus3.edgexfoundry.org:10002 04:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:26 Configure a credential helper to remove this warning. See 04:20:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:26 04:20:26 Login Succeeded 04:20:26 nexus3.edgexfoundry.org:10003 04:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:26 Configure a credential helper to remove this warning. See 04:20:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:26 04:20:26 Login Succeeded 04:20:26 nexus3.edgexfoundry.org:10004 04:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:26 Configure a credential helper to remove this warning. See 04:20:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:26 04:20:26 Login Succeeded 04:20:26 ****.io 04:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:26 Configure a credential helper to remove this warning. See 04:20:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:26 04:20:26 Login Succeeded 04:20:26 ---> ****-login.sh ends [Pipeline] } 04:20:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:20:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:20:26 ========================================================= 04:20:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:20:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:26 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:20:26 Sending build context to Docker daemon 25.71MB 04:20:26 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:20:26 Step 2/10 : FROM ${BASE} AS builder 04:20:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:27 619be1103602: Pulling fs layer 04:20:27 7862e08f4a3e: Pulling fs layer 04:20:27 5df492c9dc93: Pulling fs layer 04:20:27 7629e6793208: Pulling fs layer 04:20:27 4f4fb700ef54: Pulling fs layer 04:20:27 fb5054dd5b73: Pulling fs layer 04:20:27 eeca6798cff9: Pulling fs layer 04:20:27 aa269ceb94a6: Pulling fs layer 04:20:27 ada007ff1a6a: Pulling fs layer 04:20:27 aa269ceb94a6: Waiting 04:20:27 eeca6798cff9: Waiting 04:20:27 ada007ff1a6a: Waiting 04:20:27 7629e6793208: Waiting 04:20:27 fb5054dd5b73: Waiting 04:20:27 4f4fb700ef54: Waiting 04:20:27 7862e08f4a3e: Verifying Checksum 04:20:27 7862e08f4a3e: Download complete 04:20:27 7629e6793208: Verifying Checksum 04:20:27 7629e6793208: Download complete 04:20:27 4f4fb700ef54: Verifying Checksum 04:20:27 4f4fb700ef54: Download complete 04:20:27 fb5054dd5b73: Verifying Checksum 04:20:27 fb5054dd5b73: Download complete 04:20:27 619be1103602: Verifying Checksum 04:20:27 619be1103602: Download complete 04:20:27 eeca6798cff9: Verifying Checksum 04:20:27 eeca6798cff9: Download complete 04:20:27 619be1103602: Pull complete 04:20:27 7862e08f4a3e: Pull complete 04:20:27 ada007ff1a6a: Verifying Checksum 04:20:27 ada007ff1a6a: Download complete 04:20:27 5df492c9dc93: Verifying Checksum 04:20:27 5df492c9dc93: Download complete 04:20:28 aa269ceb94a6: Verifying Checksum 04:20:28 aa269ceb94a6: Download complete 04:20:30 5df492c9dc93: Pull complete 04:20:30 7629e6793208: Pull complete 04:20:30 4f4fb700ef54: Pull complete 04:20:30 fb5054dd5b73: Pull complete 04:20:30 eeca6798cff9: Pull complete 04:20:33 aa269ceb94a6: Pull complete 04:20:33 ada007ff1a6a: Pull complete 04:20:33 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:20:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:20:33 ---> f489d0715acc 04:20:33 Step 3/10 : ARG MAKE=make build 04:20:37 ---> Running in cb78cc70ee36 04:20:37 Removing intermediate container cb78cc70ee36 04:20:37 ---> fce438e2cb2e 04:20:37 Step 4/10 : WORKDIR /device-sdk-go 04:20:37 ---> Running in 5d645e97cf2e 04:20:37 Removing intermediate container 5d645e97cf2e 04:20:37 ---> a00c38db9779 04:20:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:37 ---> Running in 67ef1e5c0e15 04:20:37 Removing intermediate container 67ef1e5c0e15 04:20:37 ---> 68e01cff02b3 04:20:37 Step 6/10 : RUN apk add --update --no-cache make git 04:20:37 ---> Running in 655bf5f66ed3 04:20:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:20:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:20:38 OK: 264 MiB in 52 packages 04:20:38 Removing intermediate container 655bf5f66ed3 04:20:38 ---> 6458ba27e7eb 04:20:38 Step 7/10 : COPY go.mod vendor* ./ 04:20:38 ---> c9ef5888dde2 04:20:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:38 ---> Running in c9dcebc03a5f 04:20:40 Still waiting to schedule task 04:20:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-912’ 04:21:17 Removing intermediate container c9dcebc03a5f 04:21:17 ---> 4372b0434571 04:21:17 Step 9/10 : COPY . . 04:21:18 ---> 5217d95db104 04:21:18 Step 10/10 : RUN ${MAKE} 04:21:18 ---> Running in 48afa3e3c006 04:21:18 noop 04:21:19 Removing intermediate container 48afa3e3c006 04:21:19 ---> 67d485ab09ae 04:21:19 Successfully built 67d485ab09ae 04:21:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:19 + docker inspect -f . ci-base-image-x86_64 04:21:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:19 prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container 04:21:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 04:21:19 $ docker top 357e5bb710f02138b4bc36acde15080adf0b634178266ee8aed8408fff601447 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:20 + go version 04:21:20 go version go1.21.9 linux/amd64 [Pipeline] } 04:21:20 $ docker stop --time=1 357e5bb710f02138b4bc36acde15080adf0b634178266ee8aed8408fff601447 04:21:21 $ docker rm -f --volumes 357e5bb710f02138b4bc36acde15080adf0b634178266ee8aed8408fff601447 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:21 + docker inspect -f . ci-base-image-x86_64 04:21:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:21 prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container 04:21:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 04:21:22 $ docker top 2a692d1df55d1e1070a87143b0cd1b5f0eb42394422a28e7f0056a54e7bd20e9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:21:22 + make test 04:21:22 go test -race -coverprofile=coverage.out ./... 04:21:29 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:22:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:22:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:22:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:22:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:22:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:22:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.062s coverage: 27.6% of statements 04:22:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements 04:22:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:22:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:22:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.082s coverage: 86.0% of statements 04:22:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:22:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:22:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:22:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.111s coverage: 71.8% of statements 04:22:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:22:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.064s coverage: 14.4% of statements 04:22:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.819s coverage: 45.9% of statements 04:22:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.062s coverage: 68.5% of statements 04:22:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.135s coverage: 89.2% of statements 04:22:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.070s coverage: 5.5% of statements 04:22:39 GO111MODULE=on go vet ./... 04:22:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:22:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:22:42 ./bin/test-attribution-txt.sh 04:22:42 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:22:42 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:22:42 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:22:42 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:22:42 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:22:42 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:22:42 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:22:42 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:22:42 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:22:42 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:22:42 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:22:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:22:42 $ docker stop --time=1 2a692d1df55d1e1070a87143b0cd1b5f0eb42394422a28e7f0056a54e7bd20e9 04:22:47 $ docker rm -f --volumes 2a692d1df55d1e1070a87143b0cd1b5f0eb42394422a28e7f0056a54e7bd20e9 [Pipeline] // withDockerContainer [Pipeline] sh 04:22:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:22:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:22:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:22:49 + ls -al . 04:22:49 total 376 04:22:49 drwxrwxr-x 11 jenkins jenkins 4096 May 28 04:21 . 04:22:49 drwxrwxr-x 4 jenkins jenkins 4096 May 28 04:20 .. 04:22:49 -rw-rw-r-- 1 jenkins jenkins 140 May 28 04:20 .dockerignore 04:22:49 drwxrwxr-x 8 jenkins jenkins 4096 May 28 04:22 .git 04:22:49 drwxrwxr-x 3 jenkins jenkins 4096 May 28 04:20 .github 04:22:49 -rw-rw-r-- 1 jenkins jenkins 137 May 28 04:20 .gitignore 04:22:49 -rw-rw-r-- 1 jenkins jenkins 42 May 28 04:20 .golangci.yml 04:22:49 drwxr-xr-x 3 jenkins jenkins 4096 May 28 04:20 .semver 04:22:49 -rw-rw-r-- 1 jenkins jenkins 48109 May 28 04:20 CHANGELOG.md 04:22:49 -rw-rw-r-- 1 jenkins jenkins 677 May 28 04:20 GOVERNANCE.md 04:22:49 -rw-rw-r-- 1 jenkins jenkins 885 May 28 04:20 Jenkinsfile 04:22:49 -rw-rw-r-- 1 jenkins jenkins 11341 May 28 04:20 LICENSE 04:22:49 -rw-rw-r-- 1 jenkins jenkins 1842 May 28 04:20 Makefile 04:22:49 -rw-rw-r-- 1 jenkins jenkins 619 May 28 04:20 OWNERS.md 04:22:49 -rw-rw-r-- 1 jenkins jenkins 4933 May 28 04:20 README.md 04:22:49 -rw-rw-r-- 1 jenkins jenkins 12 May 28 04:20 VERSION 04:22:49 drwxrwxr-x 2 jenkins jenkins 4096 May 28 04:20 bin 04:22:49 -rw-r--r-- 1 jenkins jenkins 122153 May 28 04:22 coverage.out 04:22:49 drwxrwxr-x 5 jenkins jenkins 4096 May 28 04:20 example 04:22:49 -rw-rw-r-- 1 jenkins jenkins 7064 May 28 04:20 go.mod 04:22:49 -rw-rw-r-- 1 jenkins jenkins 101331 May 28 04:20 go.sum 04:22:49 drwxrwxr-x 12 jenkins jenkins 4096 May 28 04:20 internal 04:22:49 drwxrwxr-x 3 jenkins jenkins 4096 May 28 04:20 openapi 04:22:49 drwxrwxr-x 6 jenkins jenkins 4096 May 28 04:20 pkg 04:22:49 drwxrwxr-x 4 jenkins jenkins 4096 May 28 04:20 snap 04:22:49 -rw-rw-r-- 1 jenkins jenkins 222 May 28 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:49 + 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=2bf2505a0d4e1853de162ef985be1e016ba60c0f --label arch=amd64 --label version=3.2.0-dev.14 . 04:22:49 Sending build context to Docker daemon 25.84MB 04:22:49 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:22:49 Step 2/24 : FROM ${BASE} AS builder 04:22:49 ---> 67d485ab09ae 04:22:49 Step 3/24 : ARG MAKE=make build 04:22:50 ---> Running in 58eb173327b7 04:22:50 Removing intermediate container 58eb173327b7 04:22:50 ---> 43b5534886bf 04:22:50 Step 4/24 : WORKDIR /device-sdk-go 04:22:51 ---> Running in e8a32d5984bc 04:22:51 Removing intermediate container e8a32d5984bc 04:22:51 ---> f7ac27759092 04:22:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:22:51 ---> Running in dd1214baf9bd 04:22:51 Removing intermediate container dd1214baf9bd 04:22:51 ---> 420f4a821ff0 04:22:51 Step 6/24 : RUN apk add --update --no-cache make git 04:22:51 ---> Running in 262c36aa9a06 04:22:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:22:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:22:52 OK: 264 MiB in 52 packages 04:22:53 Removing intermediate container 262c36aa9a06 04:22:53 ---> 0e2c191d57cf 04:22:53 Step 7/24 : COPY go.mod vendor* ./ 04:22:53 ---> 4dd68df299e6 04:22:53 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:53 ---> Running in bb9227a1a068 04:22:54 Removing intermediate container bb9227a1a068 04:22:54 ---> 0f69fff45572 04:22:54 Step 9/24 : COPY . . 04:22:55 ---> 2f6233f41d52 04:22:55 Step 10/24 : RUN ${MAKE} 04:22:55 ---> Running in e03c63addeda 04:22:55 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:23:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-914 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:23:21 Running in /w/workspace/device-sdk-go/288 [Pipeline] { [Pipeline] checkout 04:23:24 The recommended git tool is: git 04:23:27 Removing intermediate container e03c63addeda 04:23:27 ---> fcc3466883b3 04:23:27 Step 11/24 : FROM alpine:3.18 04:23:27 3.18: Pulling from library/alpine 04:23:27 619be1103602: Already exists 04:23:27 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:23:27 Status: Downloaded newer image for alpine:3.18 04:23:27 ---> d3782b16ccc9 04:23:27 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:23:27 ---> Running in e3f401e89de3 04:23:27 Removing intermediate container e3f401e89de3 04:23:27 ---> b4b3a594cfb6 04:23:27 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:23:27 ---> Running in 999d5cf7160c 04:23:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:28 (1/1) Installing dumb-init (1.2.5-r2) 04:23:28 Executing busybox-1.36.1-r5.trigger 04:23:28 OK: 7 MiB in 16 packages 04:23:28 Removing intermediate container 999d5cf7160c 04:23:28 ---> 5d9b85ce7b29 04:23:28 Step 14/24 : RUN apk --no-cache upgrade 04:23:28 ---> Running in 8929d4c0883f 04:23:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:28 Upgrading critical system libraries and apk-tools: 04:23:28 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 04:23:28 Executing busybox-1.36.1-r5.trigger 04:23:29 Continuing the upgrade transaction with new apk-tools: 04:23:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:29 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 04:23:29 Executing busybox-1.36.1-r6.post-upgrade 04:23:29 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 04:23:29 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 04:23:29 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 04:23:29 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 04:23:29 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 04:23:29 Executing busybox-1.36.1-r6.trigger 04:23:29 OK: 7 MiB in 16 packages 04:23:29 Removing intermediate container 8929d4c0883f 04:23:29 ---> 9ce37ed7d31d 04:23:29 Step 15/24 : WORKDIR / 04:23:29 ---> Running in c4e5dfb2247d 04:23:29 Removing intermediate container c4e5dfb2247d 04:23:29 ---> d5fd1cd87581 04:23:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:23:30 ---> 0c5f39afa3f5 04:23:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:23:31 ---> 5b00ccf1f0de 04:23:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:23:31 ---> 636448100bdd 04:23:31 Step 19/24 : EXPOSE 59999 04:23:31 ---> Running in bd743ef63af9 04:23:31 Removing intermediate container bd743ef63af9 04:23:31 ---> b5d420a6ccfc 04:23:31 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:23:31 ---> Running in b6e6a0d4a602 04:23:31 Removing intermediate container b6e6a0d4a602 04:23:31 ---> 7bc6f8ab92c4 04:23:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:23:31 ---> Running in 24e58d5064e4 04:23:31 Removing intermediate container 24e58d5064e4 04:23:31 ---> 9087327e8c0f 04:23:31 Step 22/24 : LABEL arch=amd64 04:23:31 ---> Running in c28d8781c9db 04:23:32 Removing intermediate container c28d8781c9db 04:23:32 ---> 4f6d3f070484 04:23:32 Step 23/24 : LABEL git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f 04:23:32 ---> Running in d91577d4bd47 04:23:32 Removing intermediate container d91577d4bd47 04:23:32 ---> 918d45ae0348 04:23:32 Step 24/24 : LABEL version=3.2.0-dev.14 04:23:32 ---> Running in 60ff6985756a 04:23:32 Removing intermediate container 60ff6985756a 04:23:32 ---> 46acef8c561b 04:23:32 [Warning] One or more build-args [ARCH] were not consumed 04:23:32 Successfully built 46acef8c561b 04:23:32 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 04:23:32 using credential edgex-jenkins-ssh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 04:23:32 Cloning the remote Git repository [Pipeline] sh 04:23:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:32 04:23:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:33 latest: Pulling from edgex-lftools-log-publisher 04:23:33 5eb5b503b376: Pulling fs layer 04:23:33 5c69ac0246d0: Pulling fs layer 04:23:33 ec43610c2a17: Pulling fs layer 04:23:33 3a2ae6a8a46f: Pulling fs layer 04:23:33 33b1e0a273af: Pulling fs layer 04:23:33 5d3b04190fa2: Pulling fs layer 04:23:33 2f39f015ded8: Pulling fs layer 04:23:33 33b1e0a273af: Waiting 04:23:33 5d3b04190fa2: Waiting 04:23:33 2f39f015ded8: Waiting 04:23:33 3a2ae6a8a46f: Waiting 04:23:33 5c69ac0246d0: Verifying Checksum 04:23:33 5c69ac0246d0: Download complete 04:23:33 3a2ae6a8a46f: Verifying Checksum 04:23:33 3a2ae6a8a46f: Download complete 04:23:33 33b1e0a273af: Verifying Checksum 04:23:33 33b1e0a273af: Download complete 04:23:33 ec43610c2a17: Verifying Checksum 04:23:33 ec43610c2a17: Download complete 04:23:33 5d3b04190fa2: Verifying Checksum 04:23:33 5d3b04190fa2: Download complete 04:23:33 5eb5b503b376: Verifying Checksum 04:23:33 5eb5b503b376: Download complete 04:23:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:23:32 > git init /w/workspace/device-sdk-go/288 # timeout=10 04:23:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:23:32 > git --version # timeout=10 04:23:32 > git --version # 'git version 2.25.1' 04:23:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:33 2f39f015ded8: Download complete 04:23:34 5eb5b503b376: Pull complete 04:23:34 5c69ac0246d0: Pull complete 04:23:35 ec43610c2a17: Pull complete 04:23:35 3a2ae6a8a46f: Pull complete 04:23:35 33b1e0a273af: Pull complete 04:23:35 5d3b04190fa2: Pull complete 04:23:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:23:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:37 Avoid second fetch 04:23:37 Checking out Revision 2bf2505a0d4e1853de162ef985be1e016ba60c0f (main) 04:23:37 Commit message: "Merge pull request #1540 from lenny-goodell/cve" 04:23:37 > git config core.sparsecheckout # timeout=10 04:23:37 > git checkout -f 2bf2505a0d4e1853de162ef985be1e016ba60c0f # timeout=10 04:23:39 2f39f015ded8: Pull complete 04:23:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:39 prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container 04:23:39 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:23:41 04:23:41 GitHub has been notified of this commit’s build result 04:23:41 04:23:43 $ docker top 0b39b8916fffc8753db4f577f0f6183e489be18ac876ac60f6c38a5bffb1b52b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:43 ---> job-cost.sh 04:23:43 lf-activate-venv: SKIPPING 04:23:43 INFO: No Stack... 04:23:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:23:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:23:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:44 Dload Upload Total Spent Left Speed 04:23:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh 04:23:44 INFO: Archiving Costs [Pipeline] sh 04:23:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:23:44 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:23:44 + cut -d, -f6 [Pipeline] lock 04:23:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] 04:23:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] did not exist. Created. 04:23:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:23:44 + sudo tee /etc/docker/daemon.new 04:23:44 { 04:23:44 "registry-mirrors": [ 04:23:44 "https://nexus3.edgexfoundry.org:10001" 04:23:44 ], 04:23:44 "bip": "10.250.0.254/24", 04:23:44 "hosts": [ 04:23:44 "tcp://0.0.0.0:5555", 04:23:44 "unix:///var/run/docker.sock" 04:23:44 ], 04:23:44 "mtu": 1458, 04:23:44 "selinux-enabled": true, 04:23:44 "seccomp-profile": "/etc/docker/seccomp.json" 04:23:44 } [Pipeline] sh 04:23:44 + echo total: 0.2199999988079071 [Pipeline] stash 04:23:44 Stashed 1 file(s) [Pipeline] } 04:23:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:44 $ docker stop --time=1 0b39b8916fffc8753db4f577f0f6183e489be18ac876ac60f6c38a5bffb1b52b 04:23:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 04:23:46 $ docker rm -f --volumes 0b39b8916fffc8753db4f577f0f6183e489be18ac876ac60f6c38a5bffb1b52b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:23:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:04 provisioning config files... 04:24:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/288@tmp/config15295940488401020665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:05 ---> ****-login.sh 04:24:05 nexus3.edgexfoundry.org:10001 04:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:05 Configure a credential helper to remove this warning. See 04:24:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:05 04:24:05 Login Succeeded 04:24:05 nexus3.edgexfoundry.org:10002 04:24:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:06 Configure a credential helper to remove this warning. See 04:24:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:06 04:24:06 Login Succeeded 04:24:06 nexus3.edgexfoundry.org:10003 04:24:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:06 Configure a credential helper to remove this warning. See 04:24:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:06 04:24:06 Login Succeeded 04:24:06 nexus3.edgexfoundry.org:10004 04:24:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:06 Configure a credential helper to remove this warning. See 04:24:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:06 04:24:06 Login Succeeded 04:24:06 ****.io 04:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:07 Configure a credential helper to remove this warning. See 04:24:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:07 04:24:07 Login Succeeded 04:24:07 ---> ****-login.sh ends [Pipeline] } 04:24:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:24:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:24:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:24:07 ========================================================= 04:24:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:24:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:08 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:24:08 Sending build context to Docker daemon 13.27MB 04:24:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:24:08 Step 2/10 : FROM ${BASE} AS builder 04:24:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:24:08 c6b39de5b339: Pulling fs layer 04:24:08 a69c41024577: Pulling fs layer 04:24:08 d6de4b400683: Pulling fs layer 04:24:08 35cb2a7552d0: Pulling fs layer 04:24:08 4f4fb700ef54: Pulling fs layer 04:24:08 464afbd9ba4c: Pulling fs layer 04:24:08 00f215d4a9da: Pulling fs layer 04:24:08 d496ad576159: Pulling fs layer 04:24:08 35cb2a7552d0: Waiting 04:24:08 4f4fb700ef54: Waiting 04:24:08 464afbd9ba4c: Waiting 04:24:08 00f215d4a9da: Waiting 04:24:08 d496ad576159: Waiting 04:24:08 a69c41024577: Download complete 04:24:08 35cb2a7552d0: Verifying Checksum 04:24:08 35cb2a7552d0: Download complete 04:24:08 4f4fb700ef54: Verifying Checksum 04:24:08 4f4fb700ef54: Download complete 04:24:08 464afbd9ba4c: Verifying Checksum 04:24:08 464afbd9ba4c: Download complete 04:24:08 c6b39de5b339: Download complete 04:24:09 d496ad576159: Verifying Checksum 04:24:09 d496ad576159: Download complete 04:24:09 c6b39de5b339: Pull complete 04:24:10 a69c41024577: Pull complete 04:24:11 d6de4b400683: Download complete 04:24:11 00f215d4a9da: Verifying Checksum 04:24:11 00f215d4a9da: Download complete 04:24:24 d6de4b400683: Pull complete 04:24:24 35cb2a7552d0: Pull complete 04:24:24 4f4fb700ef54: Pull complete 04:24:24 464afbd9ba4c: Pull complete 04:24:34 00f215d4a9da: Pull complete 04:24:34 d496ad576159: Pull complete 04:24:34 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:24:34 ---> f246e2811388 04:24:34 Step 3/10 : ARG MAKE=make build 04:24:36 ---> Running in 088eed329820 04:24:36 Removing intermediate container 088eed329820 04:24:36 ---> f125fc488610 04:24:36 Step 4/10 : WORKDIR /device-sdk-go 04:24:37 ---> Running in e3dd94c3338c 04:24:38 Removing intermediate container e3dd94c3338c 04:24:38 ---> 1962dee9db7b 04:24:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:24:38 ---> Running in 7cd870931135 04:24:38 Removing intermediate container 7cd870931135 04:24:38 ---> b25510dab5d5 04:24:38 Step 6/10 : RUN apk add --update --no-cache make git 04:24:38 ---> Running in 08da0e0cef05 04:24:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:24:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:24:41 OK: 266 MiB in 52 packages 04:24:42 Removing intermediate container 08da0e0cef05 04:24:42 ---> 16bac980af5e 04:24:42 Step 7/10 : COPY go.mod vendor* ./ 04:24:43 ---> 39f6007fb36b 04:24:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:43 ---> Running in d669c47ebae0 04:26:36 Removing intermediate container d669c47ebae0 04:26:36 ---> fd8d93fadf22 04:26:36 Step 9/10 : COPY . . 04:26:36 ---> 24372997f392 04:26:36 Step 10/10 : RUN ${MAKE} 04:26:36 ---> Running in 3bdbc74d6652 04:26:36 noop 04:26:36 Removing intermediate container 3bdbc74d6652 04:26:36 ---> ecc08b656764 04:26:36 Successfully built ecc08b656764 04:26:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:36 + docker inspect -f . ci-base-image-arm64 04:26:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:36 prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container 04:26:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/288 -v /w/workspace/device-sdk-go/288:/w/workspace/device-sdk-go/288:rw,z -v /w/workspace/device-sdk-go/288@tmp:/w/workspace/device-sdk-go/288@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 ******** ci-base-image-arm64 cat 04:26:38 $ docker top 0f3eddc19fec2cc066554f00b36c6b66743b387bbf3c2d5d462b0be4907864e3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:38 + go version 04:26:38 go version go1.21.9 linux/arm64 [Pipeline] } 04:26:38 $ docker stop --time=1 0f3eddc19fec2cc066554f00b36c6b66743b387bbf3c2d5d462b0be4907864e3 04:26:40 $ docker rm -f --volumes 0f3eddc19fec2cc066554f00b36c6b66743b387bbf3c2d5d462b0be4907864e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:41 + docker inspect -f . ci-base-image-arm64 04:26:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:41 prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container 04:26:41 $ 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/288 -v /w/workspace/device-sdk-go/288:/w/workspace/device-sdk-go/288:rw,z -v /w/workspace/device-sdk-go/288@tmp:/w/workspace/device-sdk-go/288@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 ******** ci-base-image-arm64 cat 04:26:42 $ docker top 2d3ec441f5b5110538274307ea64c9be8ed07a423bd457c3c9145975a8073c20 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:43 + git config --global --add safe.directory /w/workspace/device-sdk-go/288 [Pipeline] fileExists [Pipeline] sh 04:26:43 + make test 04:26:44 go test -race -coverprofile=coverage.out ./... 04:27:31 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:31:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:31:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:31:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:31:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:31:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:31:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.274s coverage: 27.6% of statements 04:31:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.343s coverage: 81.5% of statements 04:31:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:31:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:31:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.406s coverage: 86.0% of statements 04:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:31:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.879s coverage: 71.8% of statements 04:31:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.308s coverage: 14.4% of statements 04:31:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.693s coverage: 45.9% of statements 04:31:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:31:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:31:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.491s coverage: 68.5% of statements 04:31:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.612s coverage: 89.2% of statements 04:31:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:31:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.363s coverage: 5.5% of statements 04:31:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:31:52 GO111MODULE=on go vet ./... 04:36:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:36:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:36:14 ./bin/test-attribution-txt.sh 04:36:14 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:36:14 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:36:14 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:36:14 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:36:14 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:36:14 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:36:14 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:36:14 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:36:14 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:36:14 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:36:14 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:36:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:36:14 $ docker stop --time=1 2d3ec441f5b5110538274307ea64c9be8ed07a423bd457c3c9145975a8073c20 04:36:16 $ docker rm -f --volumes 2d3ec441f5b5110538274307ea64c9be8ed07a423bd457c3c9145975a8073c20 [Pipeline] // withDockerContainer [Pipeline] sh 04:36:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:36:18 Warning: overwriting stash ‘coverage-report’ 04:36:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:36:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:36:19 + ls -al . 04:36:19 total 372 04:36:19 drwxrwxr-x 10 jenkins jenkins 4096 May 28 04:26 . 04:36:19 drwxrwxr-x 4 jenkins jenkins 4096 May 28 04:23 .. 04:36:19 -rw-rw-r-- 1 jenkins jenkins 140 May 28 04:23 .dockerignore 04:36:19 drwxrwxr-x 8 jenkins jenkins 4096 May 28 04:23 .git 04:36:19 drwxrwxr-x 3 jenkins jenkins 4096 May 28 04:23 .github 04:36:19 -rw-rw-r-- 1 jenkins jenkins 137 May 28 04:23 .gitignore 04:36:19 -rw-rw-r-- 1 jenkins jenkins 42 May 28 04:23 .golangci.yml 04:36:19 -rw-rw-r-- 1 jenkins jenkins 48109 May 28 04:23 CHANGELOG.md 04:36:19 -rw-rw-r-- 1 jenkins jenkins 677 May 28 04:23 GOVERNANCE.md 04:36:19 -rw-rw-r-- 1 jenkins jenkins 885 May 28 04:23 Jenkinsfile 04:36:19 -rw-rw-r-- 1 jenkins jenkins 11341 May 28 04:23 LICENSE 04:36:19 -rw-rw-r-- 1 jenkins jenkins 1842 May 28 04:23 Makefile 04:36:19 -rw-rw-r-- 1 jenkins jenkins 619 May 28 04:23 OWNERS.md 04:36:19 -rw-rw-r-- 1 jenkins jenkins 4933 May 28 04:23 README.md 04:36:19 -rw-rw-r-- 1 jenkins jenkins 12 May 28 04:20 VERSION 04:36:19 drwxrwxr-x 2 jenkins jenkins 4096 May 28 04:23 bin 04:36:19 -rw-r--r-- 1 jenkins jenkins 122151 May 28 04:31 coverage.out 04:36:19 drwxrwxr-x 5 jenkins jenkins 4096 May 28 04:23 example 04:36:19 -rw-rw-r-- 1 jenkins jenkins 7064 May 28 04:23 go.mod 04:36:19 -rw-rw-r-- 1 jenkins jenkins 101331 May 28 04:23 go.sum 04:36:19 drwxrwxr-x 12 jenkins jenkins 4096 May 28 04:23 internal 04:36:19 drwxrwxr-x 3 jenkins jenkins 4096 May 28 04:23 openapi 04:36:19 drwxrwxr-x 6 jenkins jenkins 4096 May 28 04:23 pkg 04:36:19 drwxrwxr-x 4 jenkins jenkins 4096 May 28 04:23 snap 04:36:19 -rw-rw-r-- 1 jenkins jenkins 222 May 28 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:20 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f --label arch=arm64 --label version=3.2.0-dev.14 . 04:36:20 Sending build context to Docker daemon 13.39MB 04:36:20 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:36:20 Step 2/24 : FROM ${BASE} AS builder 04:36:20 ---> ecc08b656764 04:36:20 Step 3/24 : ARG MAKE=make build 04:36:20 ---> Running in f0b641fc0c61 04:36:21 Removing intermediate container f0b641fc0c61 04:36:21 ---> 777c73e04aef 04:36:21 Step 4/24 : WORKDIR /device-sdk-go 04:36:21 ---> Running in 022ae779edf6 04:36:21 Removing intermediate container 022ae779edf6 04:36:21 ---> b488fca8a32a 04:36:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:36:21 ---> Running in ae02a3ba98c3 04:36:22 Removing intermediate container ae02a3ba98c3 04:36:22 ---> 5499769c6ab0 04:36:22 Step 6/24 : RUN apk add --update --no-cache make git 04:36:22 ---> Running in 43488fc3e1b5 04:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:36:24 OK: 266 MiB in 52 packages 04:36:25 Removing intermediate container 43488fc3e1b5 04:36:25 ---> f1062bcd82dc 04:36:25 Step 7/24 : COPY go.mod vendor* ./ 04:36:26 ---> 00c50cb6d75f 04:36:26 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:26 ---> Running in 10653a803e57 04:36:28 Removing intermediate container 10653a803e57 04:36:28 ---> 301d25d78c19 04:36:28 Step 9/24 : COPY . . 04:36:30 ---> 60824e85756b 04:36:30 Step 10/24 : RUN ${MAKE} 04:36:30 ---> Running in af5006247efa 04:36:31 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:40:22 Removing intermediate container af5006247efa 04:40:22 ---> 61d59cd66379 04:40:22 Step 11/24 : FROM alpine:3.18 04:40:22 3.18: Pulling from library/alpine 04:40:22 c6b39de5b339: Already exists 04:40:22 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:40:22 Status: Downloaded newer image for alpine:3.18 04:40:22 ---> 33abbf032149 04:40:22 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:40:22 ---> Running in a8ea6f81f97e 04:40:22 Removing intermediate container a8ea6f81f97e 04:40:22 ---> 42a6057a6995 04:40:22 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:40:22 ---> Running in 8f5383eca51b 04:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:40:22 (1/1) Installing dumb-init (1.2.5-r2) 04:40:22 Executing busybox-1.36.1-r5.trigger 04:40:22 OK: 8 MiB in 16 packages 04:40:22 Removing intermediate container 8f5383eca51b 04:40:22 ---> db2868e9e98a 04:40:22 Step 14/24 : RUN apk --no-cache upgrade 04:40:22 ---> Running in a26da537325d 04:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:40:22 Upgrading critical system libraries and apk-tools: 04:40:22 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 04:40:22 Executing busybox-1.36.1-r5.trigger 04:40:22 Continuing the upgrade transaction with new apk-tools: 04:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:40:22 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 04:40:22 Executing busybox-1.36.1-r6.post-upgrade 04:40:22 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 04:40:22 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 04:40:22 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 04:40:22 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 04:40:22 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 04:40:22 Executing busybox-1.36.1-r6.trigger 04:40:22 OK: 8 MiB in 16 packages 04:40:22 Removing intermediate container a26da537325d 04:40:22 ---> b4028a093c63 04:40:22 Step 15/24 : WORKDIR / 04:40:22 ---> Running in a846c3803a10 04:40:22 Removing intermediate container a846c3803a10 04:40:22 ---> fd3bff6c97dc 04:40:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:40:22 ---> a3766e896fc5 04:40:22 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:40:24 ---> f89146f6530e 04:40:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:40:24 ---> b9ccfb09c45e 04:40:24 Step 19/24 : EXPOSE 59999 04:40:24 ---> Running in 523aea98cd45 04:40:25 Removing intermediate container 523aea98cd45 04:40:25 ---> 400806a3bad9 04:40:25 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:40:25 ---> Running in 671c8c506518 04:40:25 Removing intermediate container 671c8c506518 04:40:25 ---> 2e9e9f81263a 04:40:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:40:25 ---> Running in e6a655c42597 04:40:25 Removing intermediate container e6a655c42597 04:40:25 ---> b098c2eb05a2 04:40:25 Step 22/24 : LABEL arch=arm64 04:40:26 ---> Running in 41309cad9967 04:40:26 Removing intermediate container 41309cad9967 04:40:26 ---> 9ae869912bbd 04:40:26 Step 23/24 : LABEL git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f 04:40:26 ---> Running in fd2223efb261 04:40:26 Removing intermediate container fd2223efb261 04:40:26 ---> ff5da7746661 04:40:26 Step 24/24 : LABEL version=3.2.0-dev.14 04:40:27 ---> Running in fc449b8d2f82 04:40:27 Removing intermediate container fc449b8d2f82 04:40:27 ---> 446deabef651 04:40:27 [Warning] One or more build-args [ARCH] were not consumed 04:40:27 Successfully built 446deabef651 04:40:27 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 04:40:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:27 04:40:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:28 arm64: Pulling from edgex-lftools-log-publisher 04:40:28 8998bd30e6a1: Pulling fs layer 04:40:28 04944245beec: Pulling fs layer 04:40:28 699f458cf7ca: Pulling fs layer 04:40:28 765212b225bb: Pulling fs layer 04:40:28 f23df028b6ca: Pulling fs layer 04:40:28 d65c8cfc05b1: Pulling fs layer 04:40:28 2437ff75d9bd: Pulling fs layer 04:40:28 d65c8cfc05b1: Waiting 04:40:28 765212b225bb: Waiting 04:40:28 2437ff75d9bd: Waiting 04:40:28 f23df028b6ca: Waiting 04:40:28 04944245beec: Verifying Checksum 04:40:28 04944245beec: Download complete 04:40:28 765212b225bb: Verifying Checksum 04:40:28 765212b225bb: Download complete 04:40:28 f23df028b6ca: Verifying Checksum 04:40:28 f23df028b6ca: Download complete 04:40:28 d65c8cfc05b1: Verifying Checksum 04:40:28 d65c8cfc05b1: Download complete 04:40:28 699f458cf7ca: Verifying Checksum 04:40:28 699f458cf7ca: Download complete 04:40:29 8998bd30e6a1: Verifying Checksum 04:40:29 8998bd30e6a1: Download complete 04:40:31 2437ff75d9bd: Verifying Checksum 04:40:31 2437ff75d9bd: Download complete 04:40:34 8998bd30e6a1: Pull complete 04:40:34 04944245beec: Pull complete 04:40:36 699f458cf7ca: Pull complete 04:40:36 765212b225bb: Pull complete 04:40:37 f23df028b6ca: Pull complete 04:40:37 d65c8cfc05b1: Pull complete 04:40:55 2437ff75d9bd: Pull complete 04:40:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:40:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:56 prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container 04:40:56 $ 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/288 -v /w/workspace/device-sdk-go/288:/w/workspace/device-sdk-go/288:rw,z -v /w/workspace/device-sdk-go/288@tmp:/w/workspace/device-sdk-go/288@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:40:58 $ docker top 366f43d2d9c16b0494e8998e754e7eaeb45ca15e1c90bd38c22be76f6cb51e5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:59 ---> job-cost.sh 04:40:59 lf-activate-venv: SKIPPING 04:40:59 INFO: No Stack... 04:41:00 INFO: Retrieving Pricing Info for: v3-standard-4 04:41:01 INFO: Archiving Costs [Pipeline] sh 04:41:01 + cat /w/workspace/device-sdk-go/288/archives/cost.csv 04:41:01 + cut -d, -f6 [Pipeline] lock 04:41:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] 04:41:01 Resource [jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] did not exist. Created. 04:41:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:41:02 /w/workspace/device-sdk-go/288@tmp/durable-63ddf719/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:41:03 + echo total: 0.10999999940395355 [Pipeline] stash 04:41:03 Warning: overwriting stash ‘stack-cost’ 04:41:03 Stashed 1 file(s) [Pipeline] } 04:41:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [Pipeline] // lock [Pipeline] } 04:41:03 $ docker stop --time=1 366f43d2d9c16b0494e8998e754e7eaeb45ca15e1c90bd38c22be76f6cb51e5a 04:41:04 $ docker rm -f --volumes 366f43d2d9c16b0494e8998e754e7eaeb45ca15e1c90bd38c22be76f6cb51e5a [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 04:41:05 provisioning config files... 04:41:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1732449933055350967tmp [Pipeline] { [Pipeline] sh 04:41:05 + set +x 04:41:05 + curl -s https://codecov.io/bash 04:41:05 + bash -s -- 04:41:05 04:41:05 _____ _ 04:41:05 / ____| | | 04:41:05 | | ___ __| | ___ ___ _____ __ 04:41:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:41:05 | |___| (_) | (_| | __/ (_| (_) \ V / 04:41:05 \_____\___/ \__,_|\___|\___\___/ \_/ 04:41:05 Bash-1.0.6 04:41:05 04:41:05 04:41:05 ==> git version 2.25.1 found 04:41:05 ==> 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 04:41:05 Release-Date: 2020-01-08 04:41:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:41:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:41:05 ==> Jenkins CI detected. 04:41:05 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:41:05 project root: . 04:41:05 --> token set from env 04:41:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:41:05 ==> Running gcov in . (disable via -X gcov) 04:41:05 ==> Python coveragepy not found 04:41:05 ==> Searching for coverage reports in: 04:41:05 + . 04:41:05 -> Found 1 reports 04:41:05 ==> Detecting git/mercurial file structure 04:41:05 ==> Reading reports 04:41:05 + ./coverage.out bytes=122151 04:41:05 ==> Appending adjustments 04:41:05 https://docs.codecov.io/docs/fixing-reports 04:41:05 + Found adjustments 04:41:05 ==> Gzipping contents 04:41:05 20K /tmp/codecov.KV5ONK.gz 04:41:05 ==> Uploading reports 04:41:05 url: https://codecov.io 04:41:05 query: branch=main&commit=2bf2505a0d4e1853de162ef985be1e016ba60c0f&build=288&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F288%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:41:05 -> Pinging Codecov 04:41:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2bf2505a0d4e1853de162ef985be1e016ba60c0f&build=288&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F288%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:41:06 -> Uploading to 04:41:06 https://storage.googleapis.com/codecov/v4/raw/2024-05-28/7E55EF52A471D76F132DFD9A03CDDE97/2bf2505a0d4e1853de162ef985be1e016ba60c0f/b410bf6a-5202-473e-8e7b-794a4e73d505.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240528%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240528T044105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b12f5619a0e41b85885608e4c0b13cf7e600660ccc3d5d72288e0091b643b33 04:41:06 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:06 Dload Upload Total Spent Left Speed 04:41:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16717 0 0 100 16717 0 66337 --:--:-- --:--:-- --:--:-- 66337 04:41:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] } 04:41:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:41:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:41:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:41:06 04:41:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:41:07 latest: Pulling from edgex-devops/edgex-snyk-go 04:41:07 619be1103602: Already exists 04:41:07 f8ea3408117e: Pulling fs layer 04:41:07 91320369b822: Pulling fs layer 04:41:07 0406650e8295: Pulling fs layer 04:41:07 4f4fb700ef54: Pulling fs layer 04:41:07 96d80e3f36e1: Pulling fs layer 04:41:07 bcf3aedb951c: Pulling fs layer 04:41:07 4f4fb700ef54: Waiting 04:41:07 96d80e3f36e1: Waiting 04:41:07 bcf3aedb951c: Waiting 04:41:07 0406650e8295: Verifying Checksum 04:41:07 0406650e8295: Download complete 04:41:07 4f4fb700ef54: Verifying Checksum 04:41:07 4f4fb700ef54: Download complete 04:41:07 f8ea3408117e: Verifying Checksum 04:41:07 f8ea3408117e: Pull complete 04:41:08 96d80e3f36e1: Verifying Checksum 04:41:08 96d80e3f36e1: Download complete 04:41:09 91320369b822: Verifying Checksum 04:41:09 91320369b822: Download complete 04:41:11 bcf3aedb951c: Verifying Checksum 04:41:11 bcf3aedb951c: Download complete 04:41:12 91320369b822: Pull complete 04:41:12 0406650e8295: Pull complete 04:41:12 4f4fb700ef54: Pull complete 04:41:12 96d80e3f36e1: Pull complete 04:41:16 bcf3aedb951c: Pull complete 04:41:16 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:41:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:41:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:16 prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container 04:41:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 04:41:19 $ docker top fc20583002b2f1d6141219a23c3253978c3f777fea6b1ec6b08ad619f3934d46 -eo pid,comm [Pipeline] { [Pipeline] echo 04:41:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:41:20 + set -o pipefail 04:41:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:41:28 04:41:28 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main... 04:41:28 04:41:28 'go list -json -deps ./...' command failed with error: go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.32 04:41:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.20 04:41:28 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 04:41:28 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.20 04:41:28 go: downloading github.com/labstack/echo/v4 v4.11.4 04:41:28 go: downloading github.com/stretchr/testify v1.9.0 04:41:28 go: downloading github.com/OneOfOne/xxhash v1.2.8 04:41:28 go: downloading github.com/google/uuid v1.6.0 04:41:28 go: downloading github.com/hashicorp/go-multierror v1.1.1 04:41:28 go: downloading gopkg.in/yaml.v3 v3.0.1 04:41:28 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 04:41:28 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.7 04:41:28 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.8 04:41:28 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.5 04:41:28 go: downloading github.com/go-kit/log v0.2.1 04:41:28 go: downloading github.com/go-playground/validator/v10 v10.20.0 04:41:28 go: downloading github.com/fxamacker/cbor/v2 v2.6.0 04:41:28 go: downloading github.com/openziti/sdk-golang v0.23.37 04:41:28 go: downloading github.com/sirupsen/logrus v1.9.3 04:41:28 go: downloading github.com/mitchellh/copystructure v1.2.0 04:41:28 go: downloading github.com/mitchellh/mapstructure v1.5.0 04:41:28 go: downloading github.com/hashicorp/errwrap v1.1.0 04:41:28 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 04:41:28 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 04:41:28 go: downloading github.com/stretchr/objx v0.5.2 04:41:28 go: downloading github.com/labstack/gommon v0.4.2 04:41:28 go: downloading golang.org/x/crypto v0.23.0 04:41:28 go: downloading golang.org/x/net v0.25.0 04:41:28 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.7 04:41:28 go: downloading github.com/gorilla/websocket v1.5.1 04:41:28 go: downloading golang.org/x/sync v0.7.0 04:41:28 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 04:41:28 go: downloading github.com/valyala/fasttemplate v1.2.2 04:41:28 go: downloading golang.org/x/time v0.5.0 04:41:28 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:41:28 go: downloading github.com/x448/float16 v0.8.4 04:41:28 go: downloading golang.org/x/sys v0.20.0 04:41:28 go: downloading github.com/go-redis/redis/v7 v7.3.0 04:41:28 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 04:41:28 go: downloading github.com/go-playground/universal-translator v0.18.1 04:41:28 go: downloading github.com/leodido/go-urn v1.4.0 04:41:28 go: downloading golang.org/x/text v0.15.0 04:41:28 go: downloading github.com/mitchellh/reflectwalk v1.0.2 04:41:28 go: downloading github.com/hashicorp/consul/api v1.28.3 04:41:28 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:41:28 go: downloading github.com/spf13/cast v1.6.0 04:41:28 go: downloading github.com/go-openapi/runtime v0.28.0 04:41:28 go: downloading github.com/go-openapi/strfmt v0.23.0 04:41:28 go: downloading github.com/go-resty/resty/v2 v2.13.1 04:41:28 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 04:41:28 go: downloading github.com/michaelquigley/pfxlog v0.6.10 04:41:28 go: downloading github.com/openziti/edge-api v0.26.19 04:41:28 go: downloading github.com/openziti/foundation/v2 v2.0.45 04:41:28 go: downloading github.com/openziti/identity v1.0.77 04:41:28 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 04:41:28 go: downloading github.com/pkg/errors v0.9.1 04:41:28 go: downloading github.com/zitadel/oidc/v2 v2.12.0 04:41:28 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 04:41:28 go: downloading golang.org/x/oauth2 v0.20.0 04:41:28 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 04:41:28 go: downloading github.com/kataras/go-events v0.0.3 04:41:28 go: downloading github.com/openziti/channel/v2 v2.0.130 04:41:28 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:41:28 go: downloading github.com/openziti/secretstream v0.1.20 04:41:28 go: downloading github.com/openziti/transport/v2 v2.0.133 04:41:28 go: downloading github.com/openziti/metrics v1.2.54 04:41:28 go: downloading github.com/mattn/go-colorable v0.1.13 04:41:28 go: downloading github.com/mattn/go-isatty v0.0.20 04:41:28 go: downloading github.com/zeebo/errs v1.3.0 04:41:28 go: downloading google.golang.org/grpc v1.60.1 04:41:28 go: downloading github.com/valyala/bytebufferpool v1.0.0 04:41:28 go: downloading github.com/go-playground/locales v0.14.1 04:41:28 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 04:41:28 go: downloading github.com/hashicorp/go-hclog v1.5.0 04:41:28 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 04:41:28 go: downloading github.com/hashicorp/serf v0.10.1 04:41:28 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 04:41:28 go: downloading github.com/go-openapi/errors v0.22.0 04:41:28 go: downloading github.com/oklog/ulid v1.3.1 04:41:28 go: downloading go.mongodb.org/mongo-driver v1.15.0 04:41:28 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 04:41:28 go: downloading github.com/opentracing/opentracing-go v1.2.0 04:41:28 go: downloading go.opentelemetry.io/otel v1.25.0 04:41:28 go: downloading go.opentelemetry.io/otel/trace v1.25.0 04:41:28 go: downloading github.com/go-openapi/swag v0.23.0 04:41:28 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 04:41:28 go: downloading github.com/go-openapi/validate v0.24.0 04:41:28 go: downloading github.com/fsnotify/fsnotify v1.7.0 04:41:28 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 04:41:28 go: downloading github.com/gorilla/securecookie v1.1.1 04:41:28 go: downloading github.com/gorilla/schema v1.2.0 04:41:28 go: downloading github.com/muhlemmer/gu v0.3.1 04:41:28 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 04:41:28 go: downloading github.com/golang/protobuf v1.5.4 04:41:28 go: downloading google.golang.org/protobuf v1.34.1 04:41:28 go: downloading github.com/mitchellh/go-ps v1.0.0 04:41:28 go: downloading github.com/shirou/gopsutil/v3 v3.24.4 04:41:28 go: downloading github.com/go-jose/go-jose/v3 v3.0.3 04:41:28 go: downloading github.com/fatih/color v1.16.0 04:41:28 go: downloading github.com/armon/go-metrics v0.4.1 04:41:28 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b 04:41:28 go: downloading github.com/go-openapi/analysis v0.23.0 04:41:28 go: downloading golang.org/x/term v0.20.0 04:41:28 go: downloading github.com/go-openapi/loads v0.22.0 04:41:28 go: downloading github.com/go-openapi/spec v0.21.0 04:41:28 go: downloading github.com/go-logr/logr v1.4.1 04:41:28 go: downloading go.opentelemetry.io/otel/metric v1.25.0 04:41:28 go: downloading github.com/mailru/easyjson v0.7.7 04:41:28 go: downloading github.com/go-openapi/jsonpointer v0.21.0 04:41:28 go: downloading github.com/tklauser/go-sysconf v0.3.12 04:41:28 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 04:41:28 go: downloading github.com/go-logr/stdr v1.2.2 04:41:28 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 04:41:28 go: downloading github.com/josharian/intern v1.0.0 04:41:28 go: downloading github.com/hashicorp/golang-lru v0.5.4 04:41:28 go: downloading github.com/tklauser/numcpus v0.6.1 04:41:28 go: downloading github.com/go-openapi/jsonreference v0.21.0 04:41:28 error obtaining VCS status: exit status 128 04:41:28 Use -buildvcs=false to disable VCS stamping. 04:41:28 [Pipeline] } 04:41:28 $ docker stop --time=1 fc20583002b2f1d6141219a23c3253978c3f777fea6b1ec6b08ad619f3934d46 04:41:32 $ docker rm -f --volumes fc20583002b2f1d6141219a23c3253978c3f777fea6b1ec6b08ad619f3934d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:41:33 [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 04:41:33 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:41:33 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:41:33 total 16 04:41:33 drwxr-xr-x 3 root root 4096 May 28 04:23 . 04:41:33 drwxrwxr-x 12 jenkins jenkins 4096 May 28 04:23 .. 04:41:33 drwxr-xr-x 2 root root 4096 May 28 04:23 cost 04:41:33 -rw-r--r-- 1 root root 85 May 28 04:23 cost.csv 04:41:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:41:33 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:41:33 total 16 04:41:33 drwxr-xr-x 3 jenkins jenkins 4096 May 28 04:23 . 04:41:33 drwxrwxr-x 12 jenkins jenkins 4096 May 28 04:23 .. 04:41:33 drwxr-xr-x 2 jenkins jenkins 4096 May 28 04:23 cost 04:41:33 -rw-r--r-- 1 jenkins jenkins 85 May 28 04:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:41:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:41:35 ---> package-listing.sh 04:41:35 ++ facter osfamily 04:41:35 ++ tr '[:upper:]' '[:lower:]' 04:41:35 + OS_FAMILY=debian 04:41:35 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:41:35 + START_PACKAGES=/tmp/packages_start.txt 04:41:35 + END_PACKAGES=/tmp/packages_end.txt 04:41:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:41:35 + PACKAGES=/tmp/packages_start.txt 04:41:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:41:35 + PACKAGES=/tmp/packages_end.txt 04:41:35 + case "${OS_FAMILY}" in 04:41:35 + dpkg -l 04:41:35 + grep '^ii' 04:41:35 + '[' -f /tmp/packages_start.txt ']' 04:41:35 + '[' -f /tmp/packages_end.txt ']' 04:41:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:41:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:41:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:41:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:41:35 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:41:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:36 prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container 04:41:36 $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:41:36 $ docker top 06f183932a48d125db0f7fbbabcd084c16eae2f35244a047d7add5d65edb1f47 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:37 + touch /tmp/pre-build-complete [Pipeline] sh 04:41:37 + mkdir -p /var/log/sysstat [Pipeline] sh 04:41:37 + ls /var/log/sa-host 04:41:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:37 provisioning config files... 04:41:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config978886437609279792tmp [Pipeline] { [Pipeline] echo 04:41:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:41:38 ---> create-netrc.sh [Pipeline] } 04:41:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:41:38 ---> python-tools-install.sh [Pipeline] echo 04:41:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:41:38 ---> sudo-logs.sh 04:41:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:41:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:41:38 ---> job-cost.sh 04:41:38 lf-activate-venv: SKIPPING 04:41:38 DEBUG: total: 0.2199999988079071 04:41:38 INFO: Retrieving Stack Cost... 04:41:39 INFO: Retrieving Pricing Info for: v3-standard-8 04:41:39 INFO: Archiving Costs [Pipeline] echo 04:41:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:41:39 ---> logs-deploy.sh 04:41:39 lf-activate-venv: SKIPPING 04:41:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/288 04:41:39 INFO: archiving workspace using pattern(s): 04:41:40 Archives upload complete. 04:41:40 INFO: archiving logs to Nexus