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 [2024-05-28T04:20:07.079Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-28T04:20:07.158Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-28T04:20:07.187Z] ========================================================= [2024-05-28T04:20:07.187Z] EdgeX Global Pipelines Version Info [2024-05-28T04:20:07.187Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:20:08.279Z] ------------------- [2024-05-28T04:20:08.280Z] stable info: [2024-05-28T04:20:08.280Z] ------------------- [2024-05-28T04:20:08.280Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-28T04:20:08.280Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-28T04:20:08.280Z] Message: update stable to v1.0.260 [2024-05-28T04:20:08.541Z] ------------------- [2024-05-28T04:20:08.541Z] experimental info: [2024-05-28T04:20:08.541Z] ------------------- [2024-05-28T04:20:08.541Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-28T04:20:08.541Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-28T04:20:08.541Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-28T04:20:08.613Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-28T04:20:08.632Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-28T04:20:08.652Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-28T04:20:08.676Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-28T04:20:08.697Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-28T04:20:08.719Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-28T04:20:08.740Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-28T04:20:08.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-28T04:20:08.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-28T04:20:08.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-28T04:20:08.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-28T04:20:08.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-28T04:20:08.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-28T04:20:08.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-28T04:20:08.883Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-28T04:20:08.912Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-28T04:20:08.934Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-28T04:20:08.959Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-28T04:20:08.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-28T04:20:08.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-28T04:20:09.022Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-28T04:20:09.043Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-28T04:20:09.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-28T04:20:09.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-28T04:20:09.099Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-28T04:20:09.119Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-28T04:20:09.140Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-28T04:20:09.156Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-05-28T04:20:09.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-05-28T04:20:09.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-05-28T04:20:09.213Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-28T04:20:09.236Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bf2505 [Pipeline] echo [2024-05-28T04:20:09.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-28T04:20:09.319Z] provisioning config files... [2024-05-28T04:20:09.333Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8110000078869065099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:20:09.662Z] ---> ****-login.sh [2024-05-28T04:20:09.662Z] nexus3.edgexfoundry.org:10001 [2024-05-28T04:20:09.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:09.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:09.928Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:09.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:09.928Z] [2024-05-28T04:20:09.928Z] Login Succeeded [2024-05-28T04:20:09.928Z] nexus3.edgexfoundry.org:10002 [2024-05-28T04:20:09.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:09.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:09.928Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:09.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:09.928Z] [2024-05-28T04:20:09.928Z] Login Succeeded [2024-05-28T04:20:09.928Z] nexus3.edgexfoundry.org:10003 [2024-05-28T04:20:09.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:10.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:10.193Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:10.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:10.193Z] [2024-05-28T04:20:10.193Z] Login Succeeded [2024-05-28T04:20:10.193Z] nexus3.edgexfoundry.org:10004 [2024-05-28T04:20:10.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:10.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:10.193Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:10.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:10.193Z] [2024-05-28T04:20:10.193Z] Login Succeeded [2024-05-28T04:20:10.193Z] ****.io [2024-05-28T04:20:10.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:10.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:10.454Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:10.454Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:10.454Z] [2024-05-28T04:20:10.454Z] Login Succeeded [2024-05-28T04:20:10.454Z] ---> ****-login.sh ends [Pipeline] } [2024-05-28T04:20:10.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-28T04:20:10.866Z] + git rev-list -1 --merges 2bf2505a0d4e1853de162ef985be1e016ba60c0f~1..2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-28T04:20:10.891Z] -----------> git rev-list -1 --merges 2bf2505a0d4e1853de162ef985be1e016ba60c0f~1..2bf2505a0d4e1853de162ef985be1e016ba60c0f 2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-28T04:20:10.891Z] 2bf2505a0d4e1853de162ef985be1e016ba60c0f [false] [Pipeline] sh [2024-05-28T04:20:11.188Z] + git log --format=format:%s -1 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-28T04:20:11.203Z] ========================================================= [2024-05-28T04:20:11.203Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-28T04:20:11.203Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-28T04:20:11.533Z] + git log --format=format:%s -1 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-28T04:20:11.542Z] [semverPrep] GIT_COMMIT: 2bf2505a0d4e1853de162ef985be1e016ba60c0f, Commit Message: Merge pull request #1540 from lenny-goodell/cve [Pipeline] echo [2024-05-28T04:20:11.554Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-28T04:20:11.896Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-28T04:20:11.897Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-28T04:20:11.897Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-28T04:20:11.897Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-28T04:20:11.897Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-28T04:20:11.897Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-28T04:20:11.897Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:20:12.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-28T04:20:12.237Z] [2024-05-28T04:20:12.237Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:20:12.538Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-28T04:20:12.538Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-28T04:20:12.538Z] b85a868b505f: Pulling fs layer [2024-05-28T04:20:12.538Z] e2be974225ed: Pulling fs layer [2024-05-28T04:20:12.538Z] 339a4e72a1f5: Pulling fs layer [2024-05-28T04:20:12.538Z] 988bab9f4d93: Pulling fs layer [2024-05-28T04:20:12.538Z] 1469e6f7b9e6: Pulling fs layer [2024-05-28T04:20:12.538Z] eaf3925da568: Pulling fs layer [2024-05-28T04:20:12.538Z] bab4dde63d76: Pulling fs layer [2024-05-28T04:20:12.538Z] bde34c3a00c8: Pulling fs layer [2024-05-28T04:20:12.538Z] b352a97aabf1: Pulling fs layer [2024-05-28T04:20:12.538Z] 4872d77fe225: Pulling fs layer [2024-05-28T04:20:12.538Z] 5851b861e8e6: Pulling fs layer [2024-05-28T04:20:12.538Z] bab4dde63d76: Waiting [2024-05-28T04:20:12.538Z] bde34c3a00c8: Waiting [2024-05-28T04:20:12.538Z] b352a97aabf1: Waiting [2024-05-28T04:20:12.538Z] 4872d77fe225: Waiting [2024-05-28T04:20:12.538Z] 5851b861e8e6: Waiting [2024-05-28T04:20:12.538Z] 988bab9f4d93: Waiting [2024-05-28T04:20:12.538Z] 1469e6f7b9e6: Waiting [2024-05-28T04:20:12.538Z] eaf3925da568: Waiting [2024-05-28T04:20:12.538Z] e2be974225ed: Download complete [2024-05-28T04:20:12.538Z] 988bab9f4d93: Verifying Checksum [2024-05-28T04:20:12.538Z] 988bab9f4d93: Download complete [2024-05-28T04:20:12.797Z] 1469e6f7b9e6: Verifying Checksum [2024-05-28T04:20:12.797Z] 1469e6f7b9e6: Download complete [2024-05-28T04:20:12.797Z] 339a4e72a1f5: Verifying Checksum [2024-05-28T04:20:12.797Z] 339a4e72a1f5: Download complete [2024-05-28T04:20:12.797Z] eaf3925da568: Verifying Checksum [2024-05-28T04:20:12.797Z] eaf3925da568: Download complete [2024-05-28T04:20:12.797Z] bde34c3a00c8: Verifying Checksum [2024-05-28T04:20:12.797Z] bde34c3a00c8: Download complete [2024-05-28T04:20:12.797Z] b352a97aabf1: Verifying Checksum [2024-05-28T04:20:12.797Z] b352a97aabf1: Download complete [2024-05-28T04:20:12.797Z] 4872d77fe225: Download complete [2024-05-28T04:20:12.797Z] 5851b861e8e6: Download complete [2024-05-28T04:20:12.797Z] b85a868b505f: Download complete [2024-05-28T04:20:13.057Z] bab4dde63d76: Verifying Checksum [2024-05-28T04:20:13.057Z] bab4dde63d76: Download complete [2024-05-28T04:20:13.996Z] b85a868b505f: Pull complete [2024-05-28T04:20:13.996Z] e2be974225ed: Pull complete [2024-05-28T04:20:14.562Z] 339a4e72a1f5: Pull complete [2024-05-28T04:20:14.562Z] 988bab9f4d93: Pull complete [2024-05-28T04:20:14.870Z] 1469e6f7b9e6: Pull complete [2024-05-28T04:20:14.870Z] eaf3925da568: Pull complete [2024-05-28T04:20:16.772Z] bab4dde63d76: Pull complete [2024-05-28T04:20:16.772Z] bde34c3a00c8: Pull complete [2024-05-28T04:20:16.772Z] b352a97aabf1: Pull complete [2024-05-28T04:20:16.772Z] 4872d77fe225: Pull complete [2024-05-28T04:20:16.772Z] 5851b861e8e6: Pull complete [2024-05-28T04:20:16.772Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-28T04:20:16.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-28T04:20:16.772Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:20:16.911Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2024-05-28T04:20:16.941Z] $ 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 [2024-05-28T04:20:19.775Z] $ docker top dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 -eo pid,comm [2024-05-28T04:20:19.834Z] 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). [2024-05-28T04:20:19.834Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-28T04:20:19.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-28T04:20:19.891Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-28T04:20:20.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-28T04:20:20.011Z] $ docker exec dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 ssh-agent [2024-05-28T04:20:20.110Z] SSH_AUTH_SOCK=/tmp/ssh-1HxydznpYz6u/agent.32 [2024-05-28T04:20:20.111Z] SSH_AGENT_PID=38 [2024-05-28T04:20:20.116Z] Running ssh-add (command line suppressed) [2024-05-28T04:20:20.218Z] 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) [2024-05-28T04:20:20.229Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-28T04:20:20.521Z] + git tag --points-at HEAD [Pipeline] } [2024-05-28T04:20:20.535Z] $ docker exec --env ******** --env ******** dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 ssh-agent -k [2024-05-28T04:20:20.634Z] unset SSH_AUTH_SOCK; [2024-05-28T04:20:20.635Z] unset SSH_AGENT_PID; [2024-05-28T04:20:20.635Z] echo Agent pid 38 killed; [2024-05-28T04:20:20.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-28T04:20:20.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-28T04:20:20.683Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-28T04:20:20.787Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-28T04:20:20.792Z] $ docker exec dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 ssh-agent [2024-05-28T04:20:20.894Z] SSH_AUTH_SOCK=/tmp/ssh-w4veMCj5dCvO/agent.73 [2024-05-28T04:20:20.894Z] SSH_AGENT_PID=79 [2024-05-28T04:20:20.898Z] Running ssh-add (command line suppressed) [2024-05-28T04:20:21.005Z] 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) [2024-05-28T04:20:21.015Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-28T04:20:21.307Z] + git semver init [2024-05-28T04:20:21.567Z] 2024-05-28 04:20:21,465 [run_init] DEBUG init version:0.0.0 force:False [2024-05-28T04:20:21.567Z] 2024-05-28 04:20:21,466 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-05-28T04:20:21.567Z] 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 [2024-05-28T04:20:21.567Z] 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) [2024-05-28T04:20:22.947Z] 2024-05-28 04:20:22,725 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-05-28T04:20:22.947Z] 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 [2024-05-28T04:20:22.947Z] 2024-05-28 04:20:22,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-05-28T04:20:22.947Z] 2024-05-28 04:20:22,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-05-28T04:20:22.947Z] 3.2.0-dev.14 [Pipeline] } [2024-05-28T04:20:22.961Z] $ docker exec --env ******** --env ******** dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 ssh-agent -k [2024-05-28T04:20:23.054Z] unset SSH_AUTH_SOCK; [2024-05-28T04:20:23.054Z] unset SSH_AGENT_PID; [2024-05-28T04:20:23.054Z] echo Agent pid 79 killed; [2024-05-28T04:20:23.061Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-28T04:20:23.384Z] + git semver [Pipeline] } [2024-05-28T04:20:23.660Z] $ docker stop --time=1 dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 [2024-05-28T04:20:24.961Z] $ docker rm -f --volumes dc9c9236a5f383b0576deb42ccd1ad12fb24ab6ae17f65212c543c52fdd09c36 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-28T04:20:25.306Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-28T04:20:25.528Z] Stashed 1 file(s) [Pipeline] echo [2024-05-28T04:20:25.531Z] [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 [2024-05-28T04:20:25.707Z] provisioning config files... [2024-05-28T04:20:25.717Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18267613665183798676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:20:26.017Z] ---> ****-login.sh [2024-05-28T04:20:26.017Z] nexus3.edgexfoundry.org:10001 [2024-05-28T04:20:26.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:26.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:26.018Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:26.018Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:26.018Z] [2024-05-28T04:20:26.018Z] Login Succeeded [2024-05-28T04:20:26.018Z] nexus3.edgexfoundry.org:10002 [2024-05-28T04:20:26.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:26.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:26.018Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:26.018Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:26.018Z] [2024-05-28T04:20:26.018Z] Login Succeeded [2024-05-28T04:20:26.018Z] nexus3.edgexfoundry.org:10003 [2024-05-28T04:20:26.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:26.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:26.276Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:26.276Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:26.276Z] [2024-05-28T04:20:26.276Z] Login Succeeded [2024-05-28T04:20:26.276Z] nexus3.edgexfoundry.org:10004 [2024-05-28T04:20:26.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:26.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:26.276Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:26.276Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:26.276Z] [2024-05-28T04:20:26.276Z] Login Succeeded [2024-05-28T04:20:26.276Z] ****.io [2024-05-28T04:20:26.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:20:26.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:20:26.536Z] Configure a credential helper to remove this warning. See [2024-05-28T04:20:26.536Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:20:26.536Z] [2024-05-28T04:20:26.536Z] Login Succeeded [2024-05-28T04:20:26.536Z] ---> ****-login.sh ends [Pipeline] } [2024-05-28T04:20:26.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-28T04:20:26.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T04:20:26.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T04:20:26.669Z] ========================================================= [2024-05-28T04:20:26.669Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-28T04:20:26.669Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:20:26.997Z] + 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 . [2024-05-28T04:20:26.997Z] Sending build context to Docker daemon 25.71MB [2024-05-28T04:20:26.997Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-28T04:20:26.997Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-28T04:20:27.257Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-28T04:20:27.257Z] 619be1103602: Pulling fs layer [2024-05-28T04:20:27.257Z] 7862e08f4a3e: Pulling fs layer [2024-05-28T04:20:27.257Z] 5df492c9dc93: Pulling fs layer [2024-05-28T04:20:27.257Z] 7629e6793208: Pulling fs layer [2024-05-28T04:20:27.257Z] 4f4fb700ef54: Pulling fs layer [2024-05-28T04:20:27.257Z] fb5054dd5b73: Pulling fs layer [2024-05-28T04:20:27.257Z] eeca6798cff9: Pulling fs layer [2024-05-28T04:20:27.257Z] aa269ceb94a6: Pulling fs layer [2024-05-28T04:20:27.257Z] ada007ff1a6a: Pulling fs layer [2024-05-28T04:20:27.257Z] aa269ceb94a6: Waiting [2024-05-28T04:20:27.257Z] eeca6798cff9: Waiting [2024-05-28T04:20:27.257Z] ada007ff1a6a: Waiting [2024-05-28T04:20:27.257Z] 7629e6793208: Waiting [2024-05-28T04:20:27.257Z] fb5054dd5b73: Waiting [2024-05-28T04:20:27.257Z] 4f4fb700ef54: Waiting [2024-05-28T04:20:27.257Z] 7862e08f4a3e: Verifying Checksum [2024-05-28T04:20:27.257Z] 7862e08f4a3e: Download complete [2024-05-28T04:20:27.257Z] 7629e6793208: Verifying Checksum [2024-05-28T04:20:27.257Z] 7629e6793208: Download complete [2024-05-28T04:20:27.257Z] 4f4fb700ef54: Verifying Checksum [2024-05-28T04:20:27.257Z] 4f4fb700ef54: Download complete [2024-05-28T04:20:27.257Z] fb5054dd5b73: Verifying Checksum [2024-05-28T04:20:27.257Z] fb5054dd5b73: Download complete [2024-05-28T04:20:27.257Z] 619be1103602: Verifying Checksum [2024-05-28T04:20:27.257Z] 619be1103602: Download complete [2024-05-28T04:20:27.257Z] eeca6798cff9: Verifying Checksum [2024-05-28T04:20:27.257Z] eeca6798cff9: Download complete [2024-05-28T04:20:27.257Z] 619be1103602: Pull complete [2024-05-28T04:20:27.515Z] 7862e08f4a3e: Pull complete [2024-05-28T04:20:27.515Z] ada007ff1a6a: Verifying Checksum [2024-05-28T04:20:27.515Z] ada007ff1a6a: Download complete [2024-05-28T04:20:27.772Z] 5df492c9dc93: Verifying Checksum [2024-05-28T04:20:27.772Z] 5df492c9dc93: Download complete [2024-05-28T04:20:28.029Z] aa269ceb94a6: Verifying Checksum [2024-05-28T04:20:28.029Z] aa269ceb94a6: Download complete [2024-05-28T04:20:30.556Z] 5df492c9dc93: Pull complete [2024-05-28T04:20:30.556Z] 7629e6793208: Pull complete [2024-05-28T04:20:30.556Z] 4f4fb700ef54: Pull complete [2024-05-28T04:20:30.556Z] fb5054dd5b73: Pull complete [2024-05-28T04:20:30.556Z] eeca6798cff9: Pull complete [2024-05-28T04:20:33.085Z] aa269ceb94a6: Pull complete [2024-05-28T04:20:33.086Z] ada007ff1a6a: Pull complete [2024-05-28T04:20:33.086Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-28T04:20:33.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-28T04:20:33.086Z] ---> f489d0715acc [2024-05-28T04:20:33.086Z] Step 3/10 : ARG MAKE=make build [2024-05-28T04:20:37.305Z] ---> Running in cb78cc70ee36 [2024-05-28T04:20:37.306Z] Removing intermediate container cb78cc70ee36 [2024-05-28T04:20:37.306Z] ---> fce438e2cb2e [2024-05-28T04:20:37.306Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-28T04:20:37.306Z] ---> Running in 5d645e97cf2e [2024-05-28T04:20:37.306Z] Removing intermediate container 5d645e97cf2e [2024-05-28T04:20:37.306Z] ---> a00c38db9779 [2024-05-28T04:20:37.306Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-28T04:20:37.306Z] ---> Running in 67ef1e5c0e15 [2024-05-28T04:20:37.306Z] Removing intermediate container 67ef1e5c0e15 [2024-05-28T04:20:37.306Z] ---> 68e01cff02b3 [2024-05-28T04:20:37.306Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-28T04:20:37.306Z] ---> Running in 655bf5f66ed3 [2024-05-28T04:20:37.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T04:20:37.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T04:20:38.080Z] OK: 264 MiB in 52 packages [2024-05-28T04:20:38.339Z] Removing intermediate container 655bf5f66ed3 [2024-05-28T04:20:38.339Z] ---> 6458ba27e7eb [2024-05-28T04:20:38.339Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-28T04:20:38.597Z] ---> c9ef5888dde2 [2024-05-28T04:20:38.597Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-28T04:20:38.598Z] ---> Running in c9dcebc03a5f [2024-05-28T04:20:40.654Z] Still waiting to schedule task [2024-05-28T04:20:40.654Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-912’ [2024-05-28T04:21:17.314Z] Removing intermediate container c9dcebc03a5f [2024-05-28T04:21:17.314Z] ---> 4372b0434571 [2024-05-28T04:21:17.314Z] Step 9/10 : COPY . . [2024-05-28T04:21:18.254Z] ---> 5217d95db104 [2024-05-28T04:21:18.254Z] Step 10/10 : RUN ${MAKE} [2024-05-28T04:21:18.514Z] ---> Running in 48afa3e3c006 [2024-05-28T04:21:18.773Z] noop [2024-05-28T04:21:19.032Z] Removing intermediate container 48afa3e3c006 [2024-05-28T04:21:19.032Z] ---> 67d485ab09ae [2024-05-28T04:21:19.032Z] Successfully built 67d485ab09ae [2024-05-28T04:21:19.032Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:21:19.354Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-28T04:21:19.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:21:19.429Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2024-05-28T04:21:19.456Z] $ 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 [2024-05-28T04:21:19.782Z] $ docker top 357e5bb710f02138b4bc36acde15080adf0b634178266ee8aed8408fff601447 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T04:21:20.128Z] + go version [2024-05-28T04:21:20.128Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-28T04:21:20.140Z] $ docker stop --time=1 357e5bb710f02138b4bc36acde15080adf0b634178266ee8aed8408fff601447 [2024-05-28T04:21:21.442Z] $ 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 [2024-05-28T04:21:21.865Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-28T04:21:21.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:21:21.943Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2024-05-28T04:21:21.975Z] $ 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 [2024-05-28T04:21:22.329Z] $ docker top 2a692d1df55d1e1070a87143b0cd1b5f0eb42394422a28e7f0056a54e7bd20e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T04:21:22.669Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-05-28T04:21:22.966Z] + make test [2024-05-28T04:21:22.966Z] go test -race -coverprofile=coverage.out ./... [2024-05-28T04:21:29.537Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-28T04:22:01.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-28T04:22:01.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-28T04:22:01.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-28T04:22:01.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-28T04:22:01.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-28T04:22:01.601Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.062s coverage: 27.6% of statements [2024-05-28T04:22:01.601Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements [2024-05-28T04:22:02.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-28T04:22:02.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-28T04:22:03.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.082s coverage: 86.0% of statements [2024-05-28T04:22:03.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-28T04:22:03.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-28T04:22:03.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-28T04:22:04.486Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.111s coverage: 71.8% of statements [2024-05-28T04:22:05.421Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-28T04:22:07.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.064s coverage: 14.4% of statements [2024-05-28T04:22:07.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.819s coverage: 45.9% of statements [2024-05-28T04:22:07.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.062s coverage: 68.5% of statements [2024-05-28T04:22:07.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.135s coverage: 89.2% of statements [2024-05-28T04:22:07.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.070s coverage: 5.5% of statements [2024-05-28T04:22:39.418Z] GO111MODULE=on go vet ./... [2024-05-28T04:22:42.705Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-28T04:22:42.705Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-28T04:22:42.705Z] ./bin/test-attribution-txt.sh [2024-05-28T04:22:42.705Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-28T04:22:42.705Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-28T04:22:42.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-28T04:22:42.739Z] $ docker stop --time=1 2a692d1df55d1e1070a87143b0cd1b5f0eb42394422a28e7f0056a54e7bd20e9 [2024-05-28T04:22:47.763Z] $ docker rm -f --volumes 2a692d1df55d1e1070a87143b0cd1b5f0eb42394422a28e7f0056a54e7bd20e9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-28T04:22:48.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-28T04:22:48.476Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-28T04:22:48.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-28T04:22:49.221Z] + ls -al . [2024-05-28T04:22:49.221Z] total 376 [2024-05-28T04:22:49.221Z] drwxrwxr-x 11 jenkins jenkins 4096 May 28 04:21 . [2024-05-28T04:22:49.221Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 04:20 .. [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 140 May 28 04:20 .dockerignore [2024-05-28T04:22:49.221Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 04:22 .git [2024-05-28T04:22:49.221Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 04:20 .github [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 137 May 28 04:20 .gitignore [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 42 May 28 04:20 .golangci.yml [2024-05-28T04:22:49.221Z] drwxr-xr-x 3 jenkins jenkins 4096 May 28 04:20 .semver [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 28 04:20 CHANGELOG.md [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 677 May 28 04:20 GOVERNANCE.md [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 885 May 28 04:20 Jenkinsfile [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 28 04:20 LICENSE [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 28 04:20 Makefile [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 619 May 28 04:20 OWNERS.md [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 28 04:20 README.md [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 12 May 28 04:20 VERSION [2024-05-28T04:22:49.221Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 04:20 bin [2024-05-28T04:22:49.221Z] -rw-r--r-- 1 jenkins jenkins 122153 May 28 04:22 coverage.out [2024-05-28T04:22:49.221Z] drwxrwxr-x 5 jenkins jenkins 4096 May 28 04:20 example [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 7064 May 28 04:20 go.mod [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 101331 May 28 04:20 go.sum [2024-05-28T04:22:49.221Z] drwxrwxr-x 12 jenkins jenkins 4096 May 28 04:20 internal [2024-05-28T04:22:49.221Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 04:20 openapi [2024-05-28T04:22:49.221Z] drwxrwxr-x 6 jenkins jenkins 4096 May 28 04:20 pkg [2024-05-28T04:22:49.221Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 04:20 snap [2024-05-28T04:22:49.221Z] -rw-rw-r-- 1 jenkins jenkins 222 May 28 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:22:49.604Z] + 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 . [2024-05-28T04:22:49.604Z] Sending build context to Docker daemon 25.84MB [2024-05-28T04:22:49.604Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-05-28T04:22:49.604Z] Step 2/24 : FROM ${BASE} AS builder [2024-05-28T04:22:49.604Z] ---> 67d485ab09ae [2024-05-28T04:22:49.604Z] Step 3/24 : ARG MAKE=make build [2024-05-28T04:22:50.542Z] ---> Running in 58eb173327b7 [2024-05-28T04:22:50.802Z] Removing intermediate container 58eb173327b7 [2024-05-28T04:22:50.802Z] ---> 43b5534886bf [2024-05-28T04:22:50.802Z] Step 4/24 : WORKDIR /device-sdk-go [2024-05-28T04:22:51.062Z] ---> Running in e8a32d5984bc [2024-05-28T04:22:51.322Z] Removing intermediate container e8a32d5984bc [2024-05-28T04:22:51.322Z] ---> f7ac27759092 [2024-05-28T04:22:51.322Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-28T04:22:51.580Z] ---> Running in dd1214baf9bd [2024-05-28T04:22:51.580Z] Removing intermediate container dd1214baf9bd [2024-05-28T04:22:51.580Z] ---> 420f4a821ff0 [2024-05-28T04:22:51.580Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-05-28T04:22:51.839Z] ---> Running in 262c36aa9a06 [2024-05-28T04:22:52.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T04:22:52.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T04:22:52.616Z] OK: 264 MiB in 52 packages [2024-05-28T04:22:53.190Z] Removing intermediate container 262c36aa9a06 [2024-05-28T04:22:53.190Z] ---> 0e2c191d57cf [2024-05-28T04:22:53.190Z] Step 7/24 : COPY go.mod vendor* ./ [2024-05-28T04:22:53.452Z] ---> 4dd68df299e6 [2024-05-28T04:22:53.452Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-28T04:22:53.711Z] ---> Running in bb9227a1a068 [2024-05-28T04:22:54.648Z] Removing intermediate container bb9227a1a068 [2024-05-28T04:22:54.648Z] ---> 0f69fff45572 [2024-05-28T04:22:54.648Z] Step 9/24 : COPY . . [2024-05-28T04:22:55.214Z] ---> 2f6233f41d52 [2024-05-28T04:22:55.214Z] Step 10/24 : RUN ${MAKE} [2024-05-28T04:22:55.472Z] ---> Running in e03c63addeda [2024-05-28T04:22:55.730Z] 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 [2024-05-28T04:23:21.316Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-914 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-05-28T04:23:21.333Z] Running in /w/workspace/device-sdk-go/288 [Pipeline] { [Pipeline] checkout [2024-05-28T04:23:24.390Z] The recommended git tool is: git [2024-05-28T04:23:27.803Z] Removing intermediate container e03c63addeda [2024-05-28T04:23:27.803Z] ---> fcc3466883b3 [2024-05-28T04:23:27.803Z] Step 11/24 : FROM alpine:3.18 [2024-05-28T04:23:27.803Z] 3.18: Pulling from library/alpine [2024-05-28T04:23:27.803Z] 619be1103602: Already exists [2024-05-28T04:23:27.803Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-28T04:23:27.803Z] Status: Downloaded newer image for alpine:3.18 [2024-05-28T04:23:27.803Z] ---> d3782b16ccc9 [2024-05-28T04:23:27.803Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-28T04:23:27.803Z] ---> Running in e3f401e89de3 [2024-05-28T04:23:27.803Z] Removing intermediate container e3f401e89de3 [2024-05-28T04:23:27.803Z] ---> b4b3a594cfb6 [2024-05-28T04:23:27.803Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-05-28T04:23:27.803Z] ---> Running in 999d5cf7160c [2024-05-28T04:23:27.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T04:23:27.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T04:23:28.062Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-28T04:23:28.062Z] Executing busybox-1.36.1-r5.trigger [2024-05-28T04:23:28.062Z] OK: 7 MiB in 16 packages [2024-05-28T04:23:28.320Z] Removing intermediate container 999d5cf7160c [2024-05-28T04:23:28.320Z] ---> 5d9b85ce7b29 [2024-05-28T04:23:28.320Z] Step 14/24 : RUN apk --no-cache upgrade [2024-05-28T04:23:28.320Z] ---> Running in 8929d4c0883f [2024-05-28T04:23:28.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T04:23:28.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T04:23:28.837Z] Upgrading critical system libraries and apk-tools: [2024-05-28T04:23:28.837Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-28T04:23:28.837Z] Executing busybox-1.36.1-r5.trigger [2024-05-28T04:23:29.095Z] Continuing the upgrade transaction with new apk-tools: [2024-05-28T04:23:29.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T04:23:29.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T04:23:29.353Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T04:23:29.353Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-28T04:23:29.353Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T04:23:29.353Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-28T04:23:29.353Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-28T04:23:29.353Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-28T04:23:29.353Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T04:23:29.353Z] Executing busybox-1.36.1-r6.trigger [2024-05-28T04:23:29.353Z] OK: 7 MiB in 16 packages [2024-05-28T04:23:29.920Z] Removing intermediate container 8929d4c0883f [2024-05-28T04:23:29.920Z] ---> 9ce37ed7d31d [2024-05-28T04:23:29.920Z] Step 15/24 : WORKDIR / [2024-05-28T04:23:29.920Z] ---> Running in c4e5dfb2247d [2024-05-28T04:23:29.920Z] Removing intermediate container c4e5dfb2247d [2024-05-28T04:23:29.920Z] ---> d5fd1cd87581 [2024-05-28T04:23:29.920Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-28T04:23:30.180Z] ---> 0c5f39afa3f5 [2024-05-28T04:23:30.180Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-28T04:23:31.555Z] ---> 5b00ccf1f0de [2024-05-28T04:23:31.555Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-28T04:23:31.555Z] ---> 636448100bdd [2024-05-28T04:23:31.555Z] Step 19/24 : EXPOSE 59999 [2024-05-28T04:23:31.555Z] ---> Running in bd743ef63af9 [2024-05-28T04:23:31.813Z] Removing intermediate container bd743ef63af9 [2024-05-28T04:23:31.813Z] ---> b5d420a6ccfc [2024-05-28T04:23:31.813Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-05-28T04:23:31.813Z] ---> Running in b6e6a0d4a602 [2024-05-28T04:23:31.814Z] Removing intermediate container b6e6a0d4a602 [2024-05-28T04:23:31.814Z] ---> 7bc6f8ab92c4 [2024-05-28T04:23:31.814Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-28T04:23:31.814Z] ---> Running in 24e58d5064e4 [2024-05-28T04:23:31.814Z] Removing intermediate container 24e58d5064e4 [2024-05-28T04:23:31.814Z] ---> 9087327e8c0f [2024-05-28T04:23:31.814Z] Step 22/24 : LABEL arch=amd64 [2024-05-28T04:23:31.814Z] ---> Running in c28d8781c9db [2024-05-28T04:23:32.072Z] Removing intermediate container c28d8781c9db [2024-05-28T04:23:32.072Z] ---> 4f6d3f070484 [2024-05-28T04:23:32.072Z] Step 23/24 : LABEL git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-28T04:23:32.072Z] ---> Running in d91577d4bd47 [2024-05-28T04:23:32.072Z] Removing intermediate container d91577d4bd47 [2024-05-28T04:23:32.072Z] ---> 918d45ae0348 [2024-05-28T04:23:32.072Z] Step 24/24 : LABEL version=3.2.0-dev.14 [2024-05-28T04:23:32.072Z] ---> Running in 60ff6985756a [2024-05-28T04:23:32.072Z] Removing intermediate container 60ff6985756a [2024-05-28T04:23:32.072Z] ---> 46acef8c561b [2024-05-28T04:23:32.072Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-28T04:23:32.072Z] Successfully built 46acef8c561b [2024-05-28T04:23:32.332Z] 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 [2024-05-28T04:23:32.512Z] using credential edgex-jenkins-ssh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-05-28T04:23:32.536Z] Cloning the remote Git repository [Pipeline] sh [2024-05-28T04:23:32.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-28T04:23:32.820Z] [2024-05-28T04:23:32.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:23:33.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-28T04:23:33.124Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-28T04:23:33.124Z] 5eb5b503b376: Pulling fs layer [2024-05-28T04:23:33.124Z] 5c69ac0246d0: Pulling fs layer [2024-05-28T04:23:33.124Z] ec43610c2a17: Pulling fs layer [2024-05-28T04:23:33.124Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-28T04:23:33.124Z] 33b1e0a273af: Pulling fs layer [2024-05-28T04:23:33.124Z] 5d3b04190fa2: Pulling fs layer [2024-05-28T04:23:33.124Z] 2f39f015ded8: Pulling fs layer [2024-05-28T04:23:33.124Z] 33b1e0a273af: Waiting [2024-05-28T04:23:33.124Z] 5d3b04190fa2: Waiting [2024-05-28T04:23:33.124Z] 2f39f015ded8: Waiting [2024-05-28T04:23:33.124Z] 3a2ae6a8a46f: Waiting [2024-05-28T04:23:33.124Z] 5c69ac0246d0: Verifying Checksum [2024-05-28T04:23:33.124Z] 5c69ac0246d0: Download complete [2024-05-28T04:23:33.124Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-28T04:23:33.124Z] 3a2ae6a8a46f: Download complete [2024-05-28T04:23:33.124Z] 33b1e0a273af: Verifying Checksum [2024-05-28T04:23:33.124Z] 33b1e0a273af: Download complete [2024-05-28T04:23:33.124Z] ec43610c2a17: Verifying Checksum [2024-05-28T04:23:33.124Z] ec43610c2a17: Download complete [2024-05-28T04:23:33.124Z] 5d3b04190fa2: Verifying Checksum [2024-05-28T04:23:33.124Z] 5d3b04190fa2: Download complete [2024-05-28T04:23:33.383Z] 5eb5b503b376: Verifying Checksum [2024-05-28T04:23:33.383Z] 5eb5b503b376: Download complete [2024-05-28T04:23:32.603Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-28T04:23:32.719Z] > git init /w/workspace/device-sdk-go/288 # timeout=10 [2024-05-28T04:23:32.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-28T04:23:32.909Z] > git --version # timeout=10 [2024-05-28T04:23:32.934Z] > git --version # 'git version 2.25.1' [2024-05-28T04:23:32.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-28T04:23:33.197Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-28T04:23:33.951Z] 2f39f015ded8: Download complete [2024-05-28T04:23:34.521Z] 5eb5b503b376: Pull complete [2024-05-28T04:23:34.521Z] 5c69ac0246d0: Pull complete [2024-05-28T04:23:35.098Z] ec43610c2a17: Pull complete [2024-05-28T04:23:35.098Z] 3a2ae6a8a46f: Pull complete [2024-05-28T04:23:35.358Z] 33b1e0a273af: Pull complete [2024-05-28T04:23:35.358Z] 5d3b04190fa2: Pull complete [2024-05-28T04:23:36.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-28T04:23:36.279Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-28T04:23:37.205Z] Avoid second fetch [2024-05-28T04:23:37.205Z] Checking out Revision 2bf2505a0d4e1853de162ef985be1e016ba60c0f (main) [2024-05-28T04:23:37.917Z] Commit message: "Merge pull request #1540 from lenny-goodell/cve" [2024-05-28T04:23:37.225Z] > git config core.sparsecheckout # timeout=10 [2024-05-28T04:23:37.303Z] > git checkout -f 2bf2505a0d4e1853de162ef985be1e016ba60c0f # timeout=10 [2024-05-28T04:23:39.535Z] 2f39f015ded8: Pull complete [2024-05-28T04:23:39.535Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-28T04:23:39.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-28T04:23:39.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:23:39.660Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2024-05-28T04:23:39.691Z] $ 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 [2024-05-28T04:23:41.936Z] [2024-05-28T04:23:41.936Z] GitHub has been notified of this commit’s build result [2024-05-28T04:23:41.936Z] [2024-05-28T04:23:43.330Z] $ 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 [2024-05-28T04:23:43.719Z] ---> job-cost.sh [2024-05-28T04:23:43.719Z] lf-activate-venv: SKIPPING [2024-05-28T04:23:43.719Z] INFO: No Stack... [2024-05-28T04:23:43.976Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-28T04:23:44.091Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-28T04:23:44.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-28T04:23:44.091Z] Dload Upload Total Spent Left Speed [2024-05-28T04:23:44.091Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2024-05-28T04:23:44.235Z] INFO: Archiving Costs [Pipeline] sh [2024-05-28T04:23:44.432Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-28T04:23:44.521Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2024-05-28T04:23:44.521Z] + cut -d, -f6 [Pipeline] lock [2024-05-28T04:23:44.533Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [2024-05-28T04:23:44.540Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] did not exist. Created. [2024-05-28T04:23:44.547Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-28T04:23:44.767Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-28T04:23:44.767Z] + sudo tee /etc/docker/daemon.new [2024-05-28T04:23:44.767Z] { [2024-05-28T04:23:44.767Z] "registry-mirrors": [ [2024-05-28T04:23:44.767Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-28T04:23:44.767Z] ], [2024-05-28T04:23:44.767Z] "bip": "10.250.0.254/24", [2024-05-28T04:23:44.767Z] "hosts": [ [2024-05-28T04:23:44.767Z] "tcp://0.0.0.0:5555", [2024-05-28T04:23:44.767Z] "unix:///var/run/docker.sock" [2024-05-28T04:23:44.767Z] ], [2024-05-28T04:23:44.767Z] "mtu": 1458, [2024-05-28T04:23:44.767Z] "selinux-enabled": true, [2024-05-28T04:23:44.767Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-28T04:23:44.767Z] } [Pipeline] sh [2024-05-28T04:23:44.862Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-28T04:23:44.918Z] Stashed 1 file(s) [Pipeline] } [2024-05-28T04:23:44.927Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-28T04:23:44.955Z] $ docker stop --time=1 0b39b8916fffc8753db4f577f0f6183e489be18ac876ac60f6c38a5bffb1b52b [2024-05-28T04:23:45.142Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-05-28T04:23:46.110Z] $ docker rm -f --volumes 0b39b8916fffc8753db4f577f0f6183e489be18ac876ac60f6c38a5bffb1b52b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-28T04:23:46.484Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-28T04:24:04.748Z] provisioning config files... [2024-05-28T04:24:04.773Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/288@tmp/config15295940488401020665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:24:05.244Z] ---> ****-login.sh [2024-05-28T04:24:05.244Z] nexus3.edgexfoundry.org:10001 [2024-05-28T04:24:05.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:24:05.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:24:05.783Z] Configure a credential helper to remove this warning. See [2024-05-28T04:24:05.783Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:24:05.783Z] [2024-05-28T04:24:05.783Z] Login Succeeded [2024-05-28T04:24:05.783Z] nexus3.edgexfoundry.org:10002 [2024-05-28T04:24:06.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:24:06.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:24:06.057Z] Configure a credential helper to remove this warning. See [2024-05-28T04:24:06.058Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:24:06.058Z] [2024-05-28T04:24:06.058Z] Login Succeeded [2024-05-28T04:24:06.058Z] nexus3.edgexfoundry.org:10003 [2024-05-28T04:24:06.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:24:06.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:24:06.596Z] Configure a credential helper to remove this warning. See [2024-05-28T04:24:06.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:24:06.596Z] [2024-05-28T04:24:06.596Z] Login Succeeded [2024-05-28T04:24:06.596Z] nexus3.edgexfoundry.org:10004 [2024-05-28T04:24:06.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:24:06.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:24:06.866Z] Configure a credential helper to remove this warning. See [2024-05-28T04:24:06.866Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:24:06.866Z] [2024-05-28T04:24:06.866Z] Login Succeeded [2024-05-28T04:24:06.866Z] ****.io [2024-05-28T04:24:07.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T04:24:07.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T04:24:07.399Z] Configure a credential helper to remove this warning. See [2024-05-28T04:24:07.399Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T04:24:07.399Z] [2024-05-28T04:24:07.399Z] Login Succeeded [2024-05-28T04:24:07.399Z] ---> ****-login.sh ends [Pipeline] } [2024-05-28T04:24:07.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-28T04:24:07.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T04:24:07.761Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T04:24:07.782Z] ========================================================= [2024-05-28T04:24:07.782Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-28T04:24:07.782Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:24:08.139Z] + 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 . [2024-05-28T04:24:08.723Z] Sending build context to Docker daemon 13.27MB [2024-05-28T04:24:08.723Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-28T04:24:08.723Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-28T04:24:08.991Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-28T04:24:08.991Z] c6b39de5b339: Pulling fs layer [2024-05-28T04:24:08.991Z] a69c41024577: Pulling fs layer [2024-05-28T04:24:08.991Z] d6de4b400683: Pulling fs layer [2024-05-28T04:24:08.991Z] 35cb2a7552d0: Pulling fs layer [2024-05-28T04:24:08.991Z] 4f4fb700ef54: Pulling fs layer [2024-05-28T04:24:08.991Z] 464afbd9ba4c: Pulling fs layer [2024-05-28T04:24:08.991Z] 00f215d4a9da: Pulling fs layer [2024-05-28T04:24:08.991Z] d496ad576159: Pulling fs layer [2024-05-28T04:24:08.991Z] 35cb2a7552d0: Waiting [2024-05-28T04:24:08.991Z] 4f4fb700ef54: Waiting [2024-05-28T04:24:08.991Z] 464afbd9ba4c: Waiting [2024-05-28T04:24:08.991Z] 00f215d4a9da: Waiting [2024-05-28T04:24:08.991Z] d496ad576159: Waiting [2024-05-28T04:24:08.991Z] a69c41024577: Download complete [2024-05-28T04:24:08.991Z] 35cb2a7552d0: Verifying Checksum [2024-05-28T04:24:08.991Z] 35cb2a7552d0: Download complete [2024-05-28T04:24:08.991Z] 4f4fb700ef54: Verifying Checksum [2024-05-28T04:24:08.991Z] 4f4fb700ef54: Download complete [2024-05-28T04:24:08.991Z] 464afbd9ba4c: Verifying Checksum [2024-05-28T04:24:08.991Z] 464afbd9ba4c: Download complete [2024-05-28T04:24:08.991Z] c6b39de5b339: Download complete [2024-05-28T04:24:09.574Z] d496ad576159: Verifying Checksum [2024-05-28T04:24:09.574Z] d496ad576159: Download complete [2024-05-28T04:24:09.851Z] c6b39de5b339: Pull complete [2024-05-28T04:24:10.444Z] a69c41024577: Pull complete [2024-05-28T04:24:11.033Z] d6de4b400683: Download complete [2024-05-28T04:24:11.999Z] 00f215d4a9da: Verifying Checksum [2024-05-28T04:24:11.999Z] 00f215d4a9da: Download complete [2024-05-28T04:24:24.360Z] d6de4b400683: Pull complete [2024-05-28T04:24:24.360Z] 35cb2a7552d0: Pull complete [2024-05-28T04:24:24.360Z] 4f4fb700ef54: Pull complete [2024-05-28T04:24:24.360Z] 464afbd9ba4c: Pull complete [2024-05-28T04:24:34.466Z] 00f215d4a9da: Pull complete [2024-05-28T04:24:34.735Z] d496ad576159: Pull complete [2024-05-28T04:24:34.735Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-28T04:24:34.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-28T04:24:34.735Z] ---> f246e2811388 [2024-05-28T04:24:34.735Z] Step 3/10 : ARG MAKE=make build [2024-05-28T04:24:36.692Z] ---> Running in 088eed329820 [2024-05-28T04:24:36.962Z] Removing intermediate container 088eed329820 [2024-05-28T04:24:36.962Z] ---> f125fc488610 [2024-05-28T04:24:36.962Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-28T04:24:37.230Z] ---> Running in e3dd94c3338c [2024-05-28T04:24:38.648Z] Removing intermediate container e3dd94c3338c [2024-05-28T04:24:38.648Z] ---> 1962dee9db7b [2024-05-28T04:24:38.648Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-28T04:24:38.648Z] ---> Running in 7cd870931135 [2024-05-28T04:24:38.916Z] Removing intermediate container 7cd870931135 [2024-05-28T04:24:38.916Z] ---> b25510dab5d5 [2024-05-28T04:24:38.916Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-28T04:24:38.916Z] ---> Running in 08da0e0cef05 [2024-05-28T04:24:40.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-28T04:24:40.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-28T04:24:41.564Z] OK: 266 MiB in 52 packages [2024-05-28T04:24:42.173Z] Removing intermediate container 08da0e0cef05 [2024-05-28T04:24:42.173Z] ---> 16bac980af5e [2024-05-28T04:24:42.173Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-28T04:24:43.156Z] ---> 39f6007fb36b [2024-05-28T04:24:43.156Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-28T04:24:43.156Z] ---> Running in d669c47ebae0 [2024-05-28T04:26:36.152Z] Removing intermediate container d669c47ebae0 [2024-05-28T04:26:36.152Z] ---> fd8d93fadf22 [2024-05-28T04:26:36.152Z] Step 9/10 : COPY . . [2024-05-28T04:26:36.152Z] ---> 24372997f392 [2024-05-28T04:26:36.152Z] Step 10/10 : RUN ${MAKE} [2024-05-28T04:26:36.152Z] ---> Running in 3bdbc74d6652 [2024-05-28T04:26:36.152Z] noop [2024-05-28T04:26:36.152Z] Removing intermediate container 3bdbc74d6652 [2024-05-28T04:26:36.152Z] ---> ecc08b656764 [2024-05-28T04:26:36.152Z] Successfully built ecc08b656764 [2024-05-28T04:26:36.152Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:26:36.525Z] + docker inspect -f . ci-base-image-arm64 [2024-05-28T04:26:36.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:26:36.745Z] prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container [2024-05-28T04:26:36.829Z] $ 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 [2024-05-28T04:26:38.119Z] $ docker top 0f3eddc19fec2cc066554f00b36c6b66743b387bbf3c2d5d462b0be4907864e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T04:26:38.978Z] + go version [2024-05-28T04:26:38.978Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-28T04:26:38.997Z] $ docker stop --time=1 0f3eddc19fec2cc066554f00b36c6b66743b387bbf3c2d5d462b0be4907864e3 [2024-05-28T04:26:40.610Z] $ 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 [2024-05-28T04:26:41.231Z] + docker inspect -f . ci-base-image-arm64 [2024-05-28T04:26:41.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:26:41.427Z] prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container [2024-05-28T04:26:41.493Z] $ 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 [2024-05-28T04:26:42.773Z] $ docker top 2d3ec441f5b5110538274307ea64c9be8ed07a423bd457c3c9145975a8073c20 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T04:26:43.603Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/288 [Pipeline] fileExists [Pipeline] sh [2024-05-28T04:26:43.939Z] + make test [2024-05-28T04:26:44.212Z] go test -race -coverprofile=coverage.out ./... [2024-05-28T04:27:31.122Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-28T04:31:08.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-28T04:31:08.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-28T04:31:08.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-28T04:31:08.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-28T04:31:08.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-28T04:31:17.046Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.274s coverage: 27.6% of statements [2024-05-28T04:31:21.315Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.343s coverage: 81.5% of statements [2024-05-28T04:31:27.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-28T04:31:27.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-28T04:31:28.954Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.406s coverage: 86.0% of statements [2024-05-28T04:31:33.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-28T04:31:35.206Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.879s coverage: 71.8% of statements [2024-05-28T04:31:39.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.308s coverage: 14.4% of statements [2024-05-28T04:31:39.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.693s coverage: 45.9% of statements [2024-05-28T04:31:40.452Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-28T04:31:40.452Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-28T04:31:42.408Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.491s coverage: 68.5% of statements [2024-05-28T04:31:45.010Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.612s coverage: 89.2% of statements [2024-05-28T04:31:49.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-28T04:31:50.260Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.363s coverage: 5.5% of statements [2024-05-28T04:31:52.202Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-28T04:31:52.202Z] GO111MODULE=on go vet ./... [2024-05-28T04:36:14.077Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-28T04:36:14.077Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-28T04:36:14.077Z] ./bin/test-attribution-txt.sh [2024-05-28T04:36:14.077Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-28T04:36:14.077Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-28T04:36:14.078Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-28T04:36:14.078Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-28T04:36:14.078Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-28T04:36:14.078Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-28T04:36:14.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-28T04:36:14.103Z] $ docker stop --time=1 2d3ec441f5b5110538274307ea64c9be8ed07a423bd457c3c9145975a8073c20 [2024-05-28T04:36:16.129Z] $ docker rm -f --volumes 2d3ec441f5b5110538274307ea64c9be8ed07a423bd457c3c9145975a8073c20 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-28T04:36:18.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-28T04:36:18.551Z] Warning: overwriting stash ‘coverage-report’ [2024-05-28T04:36:19.136Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-28T04:36:19.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-28T04:36:19.849Z] + ls -al . [2024-05-28T04:36:19.849Z] total 372 [2024-05-28T04:36:19.849Z] drwxrwxr-x 10 jenkins jenkins 4096 May 28 04:26 . [2024-05-28T04:36:19.849Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 04:23 .. [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 140 May 28 04:23 .dockerignore [2024-05-28T04:36:19.849Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 04:23 .git [2024-05-28T04:36:19.849Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 04:23 .github [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 137 May 28 04:23 .gitignore [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 42 May 28 04:23 .golangci.yml [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 28 04:23 CHANGELOG.md [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 677 May 28 04:23 GOVERNANCE.md [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 885 May 28 04:23 Jenkinsfile [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 28 04:23 LICENSE [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 28 04:23 Makefile [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 619 May 28 04:23 OWNERS.md [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 28 04:23 README.md [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 12 May 28 04:20 VERSION [2024-05-28T04:36:19.849Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 04:23 bin [2024-05-28T04:36:19.849Z] -rw-r--r-- 1 jenkins jenkins 122151 May 28 04:31 coverage.out [2024-05-28T04:36:19.849Z] drwxrwxr-x 5 jenkins jenkins 4096 May 28 04:23 example [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 7064 May 28 04:23 go.mod [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 101331 May 28 04:23 go.sum [2024-05-28T04:36:19.849Z] drwxrwxr-x 12 jenkins jenkins 4096 May 28 04:23 internal [2024-05-28T04:36:19.849Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 04:23 openapi [2024-05-28T04:36:19.849Z] drwxrwxr-x 6 jenkins jenkins 4096 May 28 04:23 pkg [2024-05-28T04:36:19.849Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 04:23 snap [2024-05-28T04:36:19.849Z] -rw-rw-r-- 1 jenkins jenkins 222 May 28 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:36:20.350Z] + 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 . [2024-05-28T04:36:20.947Z] Sending build context to Docker daemon 13.39MB [2024-05-28T04:36:20.947Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-05-28T04:36:20.947Z] Step 2/24 : FROM ${BASE} AS builder [2024-05-28T04:36:20.947Z] ---> ecc08b656764 [2024-05-28T04:36:20.947Z] Step 3/24 : ARG MAKE=make build [2024-05-28T04:36:20.947Z] ---> Running in f0b641fc0c61 [2024-05-28T04:36:21.241Z] Removing intermediate container f0b641fc0c61 [2024-05-28T04:36:21.241Z] ---> 777c73e04aef [2024-05-28T04:36:21.241Z] Step 4/24 : WORKDIR /device-sdk-go [2024-05-28T04:36:21.525Z] ---> Running in 022ae779edf6 [2024-05-28T04:36:21.798Z] Removing intermediate container 022ae779edf6 [2024-05-28T04:36:21.798Z] ---> b488fca8a32a [2024-05-28T04:36:21.798Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-28T04:36:21.798Z] ---> Running in ae02a3ba98c3 [2024-05-28T04:36:22.069Z] Removing intermediate container ae02a3ba98c3 [2024-05-28T04:36:22.069Z] ---> 5499769c6ab0 [2024-05-28T04:36:22.069Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-05-28T04:36:22.344Z] ---> Running in 43488fc3e1b5 [2024-05-28T04:36:23.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-28T04:36:23.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-28T04:36:24.850Z] OK: 266 MiB in 52 packages [2024-05-28T04:36:25.809Z] Removing intermediate container 43488fc3e1b5 [2024-05-28T04:36:25.809Z] ---> f1062bcd82dc [2024-05-28T04:36:25.809Z] Step 7/24 : COPY go.mod vendor* ./ [2024-05-28T04:36:26.078Z] ---> 00c50cb6d75f [2024-05-28T04:36:26.078Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-28T04:36:26.078Z] ---> Running in 10653a803e57 [2024-05-28T04:36:28.669Z] Removing intermediate container 10653a803e57 [2024-05-28T04:36:28.669Z] ---> 301d25d78c19 [2024-05-28T04:36:28.669Z] Step 9/24 : COPY . . [2024-05-28T04:36:30.076Z] ---> 60824e85756b [2024-05-28T04:36:30.076Z] Step 10/24 : RUN ${MAKE} [2024-05-28T04:36:30.076Z] ---> Running in af5006247efa [2024-05-28T04:36:31.038Z] 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 [2024-05-28T04:40:22.848Z] Removing intermediate container af5006247efa [2024-05-28T04:40:22.848Z] ---> 61d59cd66379 [2024-05-28T04:40:22.848Z] Step 11/24 : FROM alpine:3.18 [2024-05-28T04:40:22.848Z] 3.18: Pulling from library/alpine [2024-05-28T04:40:22.848Z] c6b39de5b339: Already exists [2024-05-28T04:40:22.848Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-28T04:40:22.848Z] Status: Downloaded newer image for alpine:3.18 [2024-05-28T04:40:22.848Z] ---> 33abbf032149 [2024-05-28T04:40:22.848Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-28T04:40:22.848Z] ---> Running in a8ea6f81f97e [2024-05-28T04:40:22.848Z] Removing intermediate container a8ea6f81f97e [2024-05-28T04:40:22.848Z] ---> 42a6057a6995 [2024-05-28T04:40:22.848Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-05-28T04:40:22.848Z] ---> Running in 8f5383eca51b [2024-05-28T04:40:22.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-28T04:40:22.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-28T04:40:22.848Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-28T04:40:22.848Z] Executing busybox-1.36.1-r5.trigger [2024-05-28T04:40:22.848Z] OK: 8 MiB in 16 packages [2024-05-28T04:40:22.848Z] Removing intermediate container 8f5383eca51b [2024-05-28T04:40:22.848Z] ---> db2868e9e98a [2024-05-28T04:40:22.848Z] Step 14/24 : RUN apk --no-cache upgrade [2024-05-28T04:40:22.848Z] ---> Running in a26da537325d [2024-05-28T04:40:22.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-28T04:40:22.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-28T04:40:22.848Z] Upgrading critical system libraries and apk-tools: [2024-05-28T04:40:22.848Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-28T04:40:22.848Z] Executing busybox-1.36.1-r5.trigger [2024-05-28T04:40:22.848Z] Continuing the upgrade transaction with new apk-tools: [2024-05-28T04:40:22.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-28T04:40:22.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-28T04:40:22.848Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T04:40:22.848Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-28T04:40:22.848Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T04:40:22.848Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-28T04:40:22.848Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-28T04:40:22.848Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-28T04:40:22.848Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T04:40:22.848Z] Executing busybox-1.36.1-r6.trigger [2024-05-28T04:40:22.848Z] OK: 8 MiB in 16 packages [2024-05-28T04:40:22.848Z] Removing intermediate container a26da537325d [2024-05-28T04:40:22.848Z] ---> b4028a093c63 [2024-05-28T04:40:22.848Z] Step 15/24 : WORKDIR / [2024-05-28T04:40:22.848Z] ---> Running in a846c3803a10 [2024-05-28T04:40:22.848Z] Removing intermediate container a846c3803a10 [2024-05-28T04:40:22.848Z] ---> fd3bff6c97dc [2024-05-28T04:40:22.848Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-28T04:40:22.848Z] ---> a3766e896fc5 [2024-05-28T04:40:22.848Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-28T04:40:24.278Z] ---> f89146f6530e [2024-05-28T04:40:24.278Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-28T04:40:24.864Z] ---> b9ccfb09c45e [2024-05-28T04:40:24.864Z] Step 19/24 : EXPOSE 59999 [2024-05-28T04:40:24.864Z] ---> Running in 523aea98cd45 [2024-05-28T04:40:25.131Z] Removing intermediate container 523aea98cd45 [2024-05-28T04:40:25.131Z] ---> 400806a3bad9 [2024-05-28T04:40:25.131Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-05-28T04:40:25.400Z] ---> Running in 671c8c506518 [2024-05-28T04:40:25.665Z] Removing intermediate container 671c8c506518 [2024-05-28T04:40:25.665Z] ---> 2e9e9f81263a [2024-05-28T04:40:25.665Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-28T04:40:25.665Z] ---> Running in e6a655c42597 [2024-05-28T04:40:25.936Z] Removing intermediate container e6a655c42597 [2024-05-28T04:40:25.936Z] ---> b098c2eb05a2 [2024-05-28T04:40:25.936Z] Step 22/24 : LABEL arch=arm64 [2024-05-28T04:40:26.204Z] ---> Running in 41309cad9967 [2024-05-28T04:40:26.470Z] Removing intermediate container 41309cad9967 [2024-05-28T04:40:26.470Z] ---> 9ae869912bbd [2024-05-28T04:40:26.470Z] Step 23/24 : LABEL git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-28T04:40:26.470Z] ---> Running in fd2223efb261 [2024-05-28T04:40:26.737Z] Removing intermediate container fd2223efb261 [2024-05-28T04:40:26.737Z] ---> ff5da7746661 [2024-05-28T04:40:26.737Z] Step 24/24 : LABEL version=3.2.0-dev.14 [2024-05-28T04:40:27.009Z] ---> Running in fc449b8d2f82 [2024-05-28T04:40:27.281Z] Removing intermediate container fc449b8d2f82 [2024-05-28T04:40:27.281Z] ---> 446deabef651 [2024-05-28T04:40:27.281Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-28T04:40:27.281Z] Successfully built 446deabef651 [2024-05-28T04:40:27.281Z] 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 [2024-05-28T04:40:27.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-28T04:40:27.755Z] [2024-05-28T04:40:27.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:40:28.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-28T04:40:28.359Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-28T04:40:28.359Z] 8998bd30e6a1: Pulling fs layer [2024-05-28T04:40:28.359Z] 04944245beec: Pulling fs layer [2024-05-28T04:40:28.359Z] 699f458cf7ca: Pulling fs layer [2024-05-28T04:40:28.359Z] 765212b225bb: Pulling fs layer [2024-05-28T04:40:28.359Z] f23df028b6ca: Pulling fs layer [2024-05-28T04:40:28.359Z] d65c8cfc05b1: Pulling fs layer [2024-05-28T04:40:28.359Z] 2437ff75d9bd: Pulling fs layer [2024-05-28T04:40:28.359Z] d65c8cfc05b1: Waiting [2024-05-28T04:40:28.359Z] 765212b225bb: Waiting [2024-05-28T04:40:28.359Z] 2437ff75d9bd: Waiting [2024-05-28T04:40:28.359Z] f23df028b6ca: Waiting [2024-05-28T04:40:28.359Z] 04944245beec: Verifying Checksum [2024-05-28T04:40:28.359Z] 04944245beec: Download complete [2024-05-28T04:40:28.359Z] 765212b225bb: Verifying Checksum [2024-05-28T04:40:28.359Z] 765212b225bb: Download complete [2024-05-28T04:40:28.359Z] f23df028b6ca: Verifying Checksum [2024-05-28T04:40:28.359Z] f23df028b6ca: Download complete [2024-05-28T04:40:28.359Z] d65c8cfc05b1: Verifying Checksum [2024-05-28T04:40:28.359Z] d65c8cfc05b1: Download complete [2024-05-28T04:40:28.626Z] 699f458cf7ca: Verifying Checksum [2024-05-28T04:40:28.626Z] 699f458cf7ca: Download complete [2024-05-28T04:40:29.211Z] 8998bd30e6a1: Verifying Checksum [2024-05-28T04:40:29.211Z] 8998bd30e6a1: Download complete [2024-05-28T04:40:31.793Z] 2437ff75d9bd: Verifying Checksum [2024-05-28T04:40:31.793Z] 2437ff75d9bd: Download complete [2024-05-28T04:40:34.377Z] 8998bd30e6a1: Pull complete [2024-05-28T04:40:34.377Z] 04944245beec: Pull complete [2024-05-28T04:40:36.326Z] 699f458cf7ca: Pull complete [2024-05-28T04:40:36.326Z] 765212b225bb: Pull complete [2024-05-28T04:40:37.290Z] f23df028b6ca: Pull complete [2024-05-28T04:40:37.558Z] d65c8cfc05b1: Pull complete [2024-05-28T04:40:55.780Z] 2437ff75d9bd: Pull complete [2024-05-28T04:40:55.780Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-28T04:40:55.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-28T04:40:55.780Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:40:56.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container [2024-05-28T04:40:56.048Z] $ 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 [2024-05-28T04:40:58.873Z] $ docker top 366f43d2d9c16b0494e8998e754e7eaeb45ca15e1c90bd38c22be76f6cb51e5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:40:59.745Z] ---> job-cost.sh [2024-05-28T04:40:59.745Z] lf-activate-venv: SKIPPING [2024-05-28T04:40:59.745Z] INFO: No Stack... [2024-05-28T04:41:00.324Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-28T04:41:01.279Z] INFO: Archiving Costs [Pipeline] sh [2024-05-28T04:41:01.683Z] + cat /w/workspace/device-sdk-go/288/archives/cost.csv [2024-05-28T04:41:01.683Z] + cut -d, -f6 [Pipeline] lock [2024-05-28T04:41:01.717Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [2024-05-28T04:41:01.725Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] did not exist. Created. [2024-05-28T04:41:01.731Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-28T04:41:02.386Z] /w/workspace/device-sdk-go/288@tmp/durable-63ddf719/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-28T04:41:03.023Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-28T04:41:03.048Z] Warning: overwriting stash ‘stack-cost’ [2024-05-28T04:41:03.129Z] Stashed 1 file(s) [Pipeline] } [2024-05-28T04:41:03.139Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-288-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-28T04:41:03.149Z] $ docker stop --time=1 366f43d2d9c16b0494e8998e754e7eaeb45ca15e1c90bd38c22be76f6cb51e5a [2024-05-28T04:41:04.649Z] $ 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 [2024-05-28T04:41:05.115Z] provisioning config files... [2024-05-28T04:41:05.123Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1732449933055350967tmp [Pipeline] { [Pipeline] sh [2024-05-28T04:41:05.472Z] + set +x [2024-05-28T04:41:05.472Z] + curl -s https://codecov.io/bash [2024-05-28T04:41:05.472Z] + bash -s -- [2024-05-28T04:41:05.472Z] [2024-05-28T04:41:05.472Z] _____ _ [2024-05-28T04:41:05.472Z] / ____| | | [2024-05-28T04:41:05.472Z] | | ___ __| | ___ ___ _____ __ [2024-05-28T04:41:05.472Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-28T04:41:05.472Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-28T04:41:05.472Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-28T04:41:05.472Z] Bash-1.0.6 [2024-05-28T04:41:05.472Z] [2024-05-28T04:41:05.472Z] [2024-05-28T04:41:05.472Z] ==> git version 2.25.1 found [2024-05-28T04:41:05.472Z] ==> 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 [2024-05-28T04:41:05.472Z] Release-Date: 2020-01-08 [2024-05-28T04:41:05.472Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-28T04:41:05.472Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-28T04:41:05.472Z] ==> Jenkins CI detected. [2024-05-28T04:41:05.472Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-05-28T04:41:05.472Z] project root: . [2024-05-28T04:41:05.472Z] --> token set from env [2024-05-28T04:41:05.472Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-28T04:41:05.472Z] ==> Running gcov in . (disable via -X gcov) [2024-05-28T04:41:05.472Z] ==> Python coveragepy not found [2024-05-28T04:41:05.472Z] ==> Searching for coverage reports in: [2024-05-28T04:41:05.472Z] + . [2024-05-28T04:41:05.472Z] -> Found 1 reports [2024-05-28T04:41:05.472Z] ==> Detecting git/mercurial file structure [2024-05-28T04:41:05.472Z] ==> Reading reports [2024-05-28T04:41:05.472Z] + ./coverage.out bytes=122151 [2024-05-28T04:41:05.472Z] ==> Appending adjustments [2024-05-28T04:41:05.472Z] https://docs.codecov.io/docs/fixing-reports [2024-05-28T04:41:05.777Z] + Found adjustments [2024-05-28T04:41:05.777Z] ==> Gzipping contents [2024-05-28T04:41:05.777Z] 20K /tmp/codecov.KV5ONK.gz [2024-05-28T04:41:05.777Z] ==> Uploading reports [2024-05-28T04:41:05.777Z] url: https://codecov.io [2024-05-28T04:41:05.777Z] 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= [2024-05-28T04:41:05.777Z] -> Pinging Codecov [2024-05-28T04:41:05.777Z] 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= [2024-05-28T04:41:06.059Z] -> Uploading to [2024-05-28T04:41:06.059Z] 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 [2024-05-28T04:41:06.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-28T04:41:06.059Z] Dload Upload Total Spent Left Speed [2024-05-28T04:41:06.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16717 0 0 100 16717 0 66337 --:--:-- --:--:-- --:--:-- 66337 [2024-05-28T04:41:06.330Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] } [2024-05-28T04:41:06.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-28T04:41:06.470Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-28T04:41:06.487Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:41:06.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-28T04:41:06.875Z] [2024-05-28T04:41:06.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:41:07.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-28T04:41:07.441Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-28T04:41:07.441Z] 619be1103602: Already exists [2024-05-28T04:41:07.441Z] f8ea3408117e: Pulling fs layer [2024-05-28T04:41:07.441Z] 91320369b822: Pulling fs layer [2024-05-28T04:41:07.441Z] 0406650e8295: Pulling fs layer [2024-05-28T04:41:07.441Z] 4f4fb700ef54: Pulling fs layer [2024-05-28T04:41:07.441Z] 96d80e3f36e1: Pulling fs layer [2024-05-28T04:41:07.441Z] bcf3aedb951c: Pulling fs layer [2024-05-28T04:41:07.441Z] 4f4fb700ef54: Waiting [2024-05-28T04:41:07.441Z] 96d80e3f36e1: Waiting [2024-05-28T04:41:07.441Z] bcf3aedb951c: Waiting [2024-05-28T04:41:07.441Z] 0406650e8295: Verifying Checksum [2024-05-28T04:41:07.441Z] 0406650e8295: Download complete [2024-05-28T04:41:07.441Z] 4f4fb700ef54: Verifying Checksum [2024-05-28T04:41:07.441Z] 4f4fb700ef54: Download complete [2024-05-28T04:41:07.441Z] f8ea3408117e: Verifying Checksum [2024-05-28T04:41:07.700Z] f8ea3408117e: Pull complete [2024-05-28T04:41:08.267Z] 96d80e3f36e1: Verifying Checksum [2024-05-28T04:41:08.267Z] 96d80e3f36e1: Download complete [2024-05-28T04:41:09.641Z] 91320369b822: Verifying Checksum [2024-05-28T04:41:09.641Z] 91320369b822: Download complete [2024-05-28T04:41:11.550Z] bcf3aedb951c: Verifying Checksum [2024-05-28T04:41:11.550Z] bcf3aedb951c: Download complete [2024-05-28T04:41:12.483Z] 91320369b822: Pull complete [2024-05-28T04:41:12.483Z] 0406650e8295: Pull complete [2024-05-28T04:41:12.483Z] 4f4fb700ef54: Pull complete [2024-05-28T04:41:12.743Z] 96d80e3f36e1: Pull complete [2024-05-28T04:41:16.030Z] bcf3aedb951c: Pull complete [2024-05-28T04:41:16.030Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-28T04:41:16.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-28T04:41:16.030Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:41:16.132Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2024-05-28T04:41:16.166Z] $ 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 [2024-05-28T04:41:19.664Z] $ docker top fc20583002b2f1d6141219a23c3253978c3f777fea6b1ec6b08ad619f3934d46 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-28T04:41:19.743Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-05-28T04:41:20.021Z] + set -o pipefail [2024-05-28T04:41:20.021Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-05-28T04:41:28.597Z] [2024-05-28T04:41:28.597Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main... [2024-05-28T04:41:28.597Z] [2024-05-28T04:41:28.597Z] 'go list -json -deps ./...' command failed with error: go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.32 [2024-05-28T04:41:28.597Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.20 [2024-05-28T04:41:28.597Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-05-28T04:41:28.597Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.20 [2024-05-28T04:41:28.597Z] go: downloading github.com/labstack/echo/v4 v4.11.4 [2024-05-28T04:41:28.597Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2024-05-28T04:41:28.597Z] go: downloading github.com/google/uuid v1.6.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-05-28T04:41:28.597Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-05-28T04:41:28.597Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.7 [2024-05-28T04:41:28.597Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.8 [2024-05-28T04:41:28.597Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.5 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-kit/log v0.2.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-playground/validator/v10 v10.20.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/fxamacker/cbor/v2 v2.6.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/openziti/sdk-golang v0.23.37 [2024-05-28T04:41:28.597Z] go: downloading github.com/sirupsen/logrus v1.9.3 [2024-05-28T04:41:28.597Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-05-28T04:41:28.597Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-05-28T04:41:28.597Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-05-28T04:41:28.597Z] go: downloading github.com/labstack/gommon v0.4.2 [2024-05-28T04:41:28.597Z] go: downloading golang.org/x/crypto v0.23.0 [2024-05-28T04:41:28.597Z] go: downloading golang.org/x/net v0.25.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.7 [2024-05-28T04:41:28.597Z] go: downloading github.com/gorilla/websocket v1.5.1 [2024-05-28T04:41:28.597Z] go: downloading golang.org/x/sync v0.7.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-05-28T04:41:28.597Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-05-28T04:41:28.597Z] go: downloading golang.org/x/time v0.5.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/x448/float16 v0.8.4 [2024-05-28T04:41:28.597Z] go: downloading golang.org/x/sys v0.20.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/leodido/go-urn v1.4.0 [2024-05-28T04:41:28.597Z] go: downloading golang.org/x/text v0.15.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-05-28T04:41:28.597Z] go: downloading github.com/hashicorp/consul/api v1.28.3 [2024-05-28T04:41:28.597Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2024-05-28T04:41:28.597Z] go: downloading github.com/spf13/cast v1.6.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-openapi/runtime v0.28.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-openapi/strfmt v0.23.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-resty/resty/v2 v2.13.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/michaelquigley/pfxlog v0.6.10 [2024-05-28T04:41:28.597Z] go: downloading github.com/openziti/edge-api v0.26.19 [2024-05-28T04:41:28.597Z] go: downloading github.com/openziti/foundation/v2 v2.0.45 [2024-05-28T04:41:28.597Z] go: downloading github.com/openziti/identity v1.0.77 [2024-05-28T04:41:28.597Z] go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/pkg/errors v0.9.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/zitadel/oidc/v2 v2.12.0 [2024-05-28T04:41:28.597Z] go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 [2024-05-28T04:41:28.597Z] go: downloading golang.org/x/oauth2 v0.20.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/cenkalti/backoff/v4 v4.3.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/kataras/go-events v0.0.3 [2024-05-28T04:41:28.597Z] go: downloading github.com/openziti/channel/v2 v2.0.130 [2024-05-28T04:41:28.597Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-05-28T04:41:28.597Z] go: downloading github.com/openziti/secretstream v0.1.20 [2024-05-28T04:41:28.597Z] go: downloading github.com/openziti/transport/v2 v2.0.133 [2024-05-28T04:41:28.597Z] go: downloading github.com/openziti/metrics v1.2.54 [2024-05-28T04:41:28.597Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-05-28T04:41:28.597Z] go: downloading github.com/mattn/go-isatty v0.0.20 [2024-05-28T04:41:28.597Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-05-28T04:41:28.597Z] go: downloading google.golang.org/grpc v1.60.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2024-05-28T04:41:28.597Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2024-05-28T04:41:28.597Z] go: downloading github.com/hashicorp/serf v0.10.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-openapi/errors v0.22.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/oklog/ulid v1.3.1 [2024-05-28T04:41:28.597Z] go: downloading go.mongodb.org/mongo-driver v1.15.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d [2024-05-28T04:41:28.597Z] go: downloading github.com/opentracing/opentracing-go v1.2.0 [2024-05-28T04:41:28.597Z] go: downloading go.opentelemetry.io/otel v1.25.0 [2024-05-28T04:41:28.597Z] go: downloading go.opentelemetry.io/otel/trace v1.25.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/go-openapi/swag v0.23.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa [2024-05-28T04:41:28.597Z] go: downloading github.com/go-openapi/validate v0.24.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/fsnotify/fsnotify v1.7.0 [2024-05-28T04:41:28.597Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/gorilla/securecookie v1.1.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/gorilla/schema v1.2.0 [2024-05-28T04:41:28.597Z] go: downloading github.com/muhlemmer/gu v0.3.1 [2024-05-28T04:41:28.597Z] go: downloading github.com/speps/go-hashids v2.0.0+incompatible [2024-05-28T04:41:28.598Z] go: downloading github.com/golang/protobuf v1.5.4 [2024-05-28T04:41:28.598Z] go: downloading google.golang.org/protobuf v1.34.1 [2024-05-28T04:41:28.598Z] go: downloading github.com/mitchellh/go-ps v1.0.0 [2024-05-28T04:41:28.598Z] go: downloading github.com/shirou/gopsutil/v3 v3.24.4 [2024-05-28T04:41:28.598Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.3 [2024-05-28T04:41:28.598Z] go: downloading github.com/fatih/color v1.16.0 [2024-05-28T04:41:28.598Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-05-28T04:41:28.598Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b [2024-05-28T04:41:28.598Z] go: downloading github.com/go-openapi/analysis v0.23.0 [2024-05-28T04:41:28.598Z] go: downloading golang.org/x/term v0.20.0 [2024-05-28T04:41:28.598Z] go: downloading github.com/go-openapi/loads v0.22.0 [2024-05-28T04:41:28.598Z] go: downloading github.com/go-openapi/spec v0.21.0 [2024-05-28T04:41:28.598Z] go: downloading github.com/go-logr/logr v1.4.1 [2024-05-28T04:41:28.598Z] go: downloading go.opentelemetry.io/otel/metric v1.25.0 [2024-05-28T04:41:28.598Z] go: downloading github.com/mailru/easyjson v0.7.7 [2024-05-28T04:41:28.598Z] go: downloading github.com/go-openapi/jsonpointer v0.21.0 [2024-05-28T04:41:28.598Z] go: downloading github.com/tklauser/go-sysconf v0.3.12 [2024-05-28T04:41:28.598Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2024-05-28T04:41:28.598Z] go: downloading github.com/go-logr/stdr v1.2.2 [2024-05-28T04:41:28.598Z] go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 [2024-05-28T04:41:28.598Z] go: downloading github.com/josharian/intern v1.0.0 [2024-05-28T04:41:28.598Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2024-05-28T04:41:28.598Z] go: downloading github.com/tklauser/numcpus v0.6.1 [2024-05-28T04:41:28.598Z] go: downloading github.com/go-openapi/jsonreference v0.21.0 [2024-05-28T04:41:28.598Z] error obtaining VCS status: exit status 128 [2024-05-28T04:41:28.598Z] Use -buildvcs=false to disable VCS stamping. [2024-05-28T04:41:28.598Z] [Pipeline] } [2024-05-28T04:41:28.867Z] $ docker stop --time=1 fc20583002b2f1d6141219a23c3253978c3f777fea6b1ec6b08ad619f3934d46 [2024-05-28T04:41:32.629Z] $ docker rm -f --volumes fc20583002b2f1d6141219a23c3253978c3f777fea6b1ec6b08ad619f3934d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-28T04:41:33.118Z] [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 [2024-05-28T04:41:33.879Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-05-28T04:41:33.879Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-28T04:41:33.879Z] total 16 [2024-05-28T04:41:33.879Z] drwxr-xr-x 3 root root 4096 May 28 04:23 . [2024-05-28T04:41:33.879Z] drwxrwxr-x 12 jenkins jenkins 4096 May 28 04:23 .. [2024-05-28T04:41:33.879Z] drwxr-xr-x 2 root root 4096 May 28 04:23 cost [2024-05-28T04:41:33.879Z] -rw-r--r-- 1 root root 85 May 28 04:23 cost.csv [2024-05-28T04:41:33.879Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-28T04:41:33.879Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-28T04:41:33.879Z] total 16 [2024-05-28T04:41:33.879Z] drwxr-xr-x 3 jenkins jenkins 4096 May 28 04:23 . [2024-05-28T04:41:33.879Z] drwxrwxr-x 12 jenkins jenkins 4096 May 28 04:23 .. [2024-05-28T04:41:33.879Z] drwxr-xr-x 2 jenkins jenkins 4096 May 28 04:23 cost [2024-05-28T04:41:33.879Z] -rw-r--r-- 1 jenkins jenkins 85 May 28 04:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:41:34.171Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:41:35.037Z] ---> package-listing.sh [2024-05-28T04:41:35.038Z] ++ facter osfamily [2024-05-28T04:41:35.038Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-28T04:41:35.298Z] + OS_FAMILY=debian [2024-05-28T04:41:35.298Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-05-28T04:41:35.298Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-28T04:41:35.298Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-28T04:41:35.298Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-28T04:41:35.298Z] + PACKAGES=/tmp/packages_start.txt [2024-05-28T04:41:35.298Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-05-28T04:41:35.298Z] + PACKAGES=/tmp/packages_end.txt [2024-05-28T04:41:35.298Z] + case "${OS_FAMILY}" in [2024-05-28T04:41:35.298Z] + dpkg -l [2024-05-28T04:41:35.298Z] + grep '^ii' [2024-05-28T04:41:35.298Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-28T04:41:35.298Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-28T04:41:35.298Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-28T04:41:35.298Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-05-28T04:41:35.298Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-05-28T04:41:35.298Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2024-05-28T04:41:35.309Z] 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 [2024-05-28T04:41:35.603Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T04:41:36.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-28T04:41:36.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T04:41:36.264Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2024-05-28T04:41:36.294Z] $ 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 [2024-05-28T04:41:36.673Z] $ docker top 06f183932a48d125db0f7fbbabcd084c16eae2f35244a047d7add5d65edb1f47 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T04:41:37.030Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-28T04:41:37.317Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-28T04:41:37.604Z] + ls /var/log/sa-host [2024-05-28T04:41:37.604Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-28T04:41:37.706Z] provisioning config files... [2024-05-28T04:41:37.715Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config978886437609279792tmp [Pipeline] { [Pipeline] echo [2024-05-28T04:41:37.735Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:41:38.021Z] ---> create-netrc.sh [Pipeline] } [2024-05-28T04:41:38.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:41:38.372Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-28T04:41:38.382Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:41:38.672Z] ---> sudo-logs.sh [2024-05-28T04:41:38.673Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-28T04:41:38.706Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:41:38.990Z] ---> job-cost.sh [2024-05-28T04:41:38.990Z] lf-activate-venv: SKIPPING [2024-05-28T04:41:38.990Z] DEBUG: total: 0.2199999988079071 [2024-05-28T04:41:38.990Z] INFO: Retrieving Stack Cost... [2024-05-28T04:41:39.250Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-28T04:41:39.509Z] INFO: Archiving Costs [Pipeline] echo [2024-05-28T04:41:39.520Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-28T04:41:39.803Z] ---> logs-deploy.sh [2024-05-28T04:41:39.803Z] lf-activate-venv: SKIPPING [2024-05-28T04:41:39.803Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/288 [2024-05-28T04:41:39.803Z] INFO: archiving workspace using pattern(s): [2024-05-28T04:41:40.739Z] Archives upload complete. [2024-05-28T04:41:40.739Z] INFO: archiving logs to Nexus